/*
 *             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(_0x44d1f9,_0x2885ff){'object'==typeof exports&&'undefined'!=typeof module?_0x2885ff(exports,require('ckeditor5')):'function'==typeof define&&define['amd']?define(['exports','ckeditor5'],_0x2885ff):_0x2885ff((_0x44d1f9='undefined'!=typeof globalThis?globalThis:_0x44d1f9||self)['CKEDITOR_PREMIUM_FEATURES']={},_0x44d1f9['CKEDITOR']);}(this,function(exports,ckeditor5){'use strict';const _0x549543='_ungrouppedCommands';function _0x4993de(_0x288490,_0x1b8e6c){const _0x3efd7c=(0x0,_0x1b8e6c['t'])('Other');return _0x288490['length']?'groupId'in _0x288490[0x0]?_0x288490:[{'groupId':_0x549543,'groupLabel':_0x3efd7c,'order':0x1/0x0,'commands':_0x288490}]:[{'groupId':_0x549543,'groupLabel':_0x3efd7c,'order':0x1/0x0,'commands':[]}];}const DomDataTransfer$1=globalThis['DataTransfer'],_0x4ccd65='ai-ui';class AIAssistantEditing extends ckeditor5['Plugin']{static get['pluginName'](){return'AIAssistantEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x247ba4}=this,_0x798adc=['ck-fake-ai-selection'];_0x247ba4['config']['get']('ai.assistant.useTheme')&&_0x798adc['push']('ck-ai-assistant-ui_theme'),_0x247ba4['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x4ccd65,'view':{'classes':_0x798adc,'priority':0xc}}),_0x247ba4['conversion']['for']('editingDowncast')['markerToElement']({'model':_0x4ccd65,'view':(_0x28e2b0,{writer:_0x393585})=>{if(!_0x28e2b0['markerRange']['isCollapsed'])return null;const _0x5d8859=_0x393585['createUIElement']('span');return _0x393585['addClass'](['ck-fake-ai-selection','ck-fake-ai-selection_collapsed'],_0x5d8859),_0x5d8859;}});}['afterInit'](){_0x31718d(this);}['showFakeVisualSelection'](){const _0x46dd59=this['editor']['model'];_0x46dd59['change'](_0x5d772a=>{const _0x340222=_0x46dd59['document']['selection']['getRanges']();let _0x518b75=0x0;for(const _0x31e83c of _0x340222){const _0x5c15cc=_0x4ccd65+':'+_0x518b75;if(_0x46dd59['markers']['has'](_0x5c15cc))_0x5d772a['updateMarker'](_0x5c15cc,{'range':_0x31e83c});else{if(_0x31e83c['start']['isAtEnd']){const _0x4ea69d=_0x31e83c['start']['getLastMatchingPosition'](({item:_0x55b7cb})=>!_0x46dd59['schema']['isContent'](_0x55b7cb),{'boundaries':_0x31e83c});_0x5d772a['addMarker'](_0x5c15cc,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x5d772a['createRange'](_0x4ea69d,_0x31e83c['end'])});}else _0x5d772a['addMarker'](_0x5c15cc,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x31e83c});}_0x518b75++;}});}['hideFakeVisualSelection'](){const _0x14939a=this['editor']['model'],_0x401571=Array['from'](this['editor']['model']['markers']['getMarkersGroup'](_0x4ccd65));_0x401571['length']&&_0x14939a['change'](_0x5d8b8f=>{_0x401571['forEach'](_0x4de389=>{_0x5d8b8f['removeMarker'](_0x4de389);});});}['insertContent'](_0x501156,_0x4eb1d4){const _0x52952e=this['_getAISelection'](),_0x4169c7=_0x4eb1d4||_0x52952e['getFirstRange']();this['editor']['model']['canEditAt'](_0x4169c7)&&this['editor']['model']['change'](_0x484ac2=>{this['hideFakeVisualSelection'](),_0x4eb1d4||this['_resetContentOfSelectedTableCells'](_0x484ac2,_0x52952e),this['_pasteHTMLUsingClipboard']({'insertAt':_0x4169c7,'writer':_0x484ac2,'html':_0x501156});});}['insertContentBelow'](_0x327af9){const {model:_0x3ec534}=this['editor'],_0x29bf27=this['_getAISelection']();_0x3ec534['change'](()=>{const _0x5524b6=this['_prepareTableInsertBelowPosition'](_0x327af9,_0x29bf27)||this['_getDefaultInsertBelowPosition'](_0x29bf27);this['insertContent'](_0x327af9,_0x5524b6);});}['_getAISelection'](){const _0x52b7be=this['editor']['model'],_0x1d012b=Array['from'](_0x52b7be['markers']['getMarkersGroup'](_0x4ccd65))['map'](_0x5ed07c=>_0x5ed07c['getRange']());return _0x52b7be['createSelection'](_0x1d012b);}['_pasteHTMLUsingClipboard']({writer:_0x35a2e8,html:_0xce338e,insertAt:_0x5e95f7}){const {view:_0x53ef36}=this['editor']['editing'],_0x5cd8d0=this['editor']['plugins']['get'](ckeditor5['ClipboardPipeline']),_0x21ef96=new DomDataTransfer$1();_0x21ef96['setData']('text/html',_0xce338e);const _0x31efed=new ClipboardEvent('paste',{'clipboardData':_0x21ef96}),_0x1e1b54=new ckeditor5['ViewDocumentDomEventData'](_0x53ef36,_0x31efed,{'dataTransfer':new ckeditor5['ViewDataTransfer'](_0x21ef96)});_0x35a2e8['setSelection'](_0x5e95f7);const _0x442cc7=(_0xa83277,_0x621d38)=>{_0x621d38['resultRange']&&_0x35a2e8['setSelection'](_0x621d38['resultRange']);};_0x5cd8d0['once']('contentInsertion',_0x442cc7,{'priority':'lowest'}),_0x53ef36['document']['fire']('paste',_0x1e1b54),_0x5cd8d0['off']('contentInsertion',_0x442cc7);}['_getDefaultInsertBelowPosition'](_0x4bbfed){const {model:_0x11a583}=this['editor'],_0x388cec=Array['from'](_0x4bbfed['getSelectedBlocks']());return _0x388cec['length']?_0x11a583['createPositionAfter'](_0x388cec['pop']()):_0x4bbfed['getLastPosition']();}['_prepareTableInsertBelowPosition'](_0x494634,_0x4c1674){const {model:_0xdab162,plugins:_0x239d7f}=this['editor'];if(_0x239d7f['has']('TableUtils')){const _0x2f19e1=_0x239d7f['get']('TableUtils')['getSelectedTableCells'](_0x4c1674);if(_0x2f19e1['length']){const _0x2f227b=this['_getTableRowCountFromContent'](_0x494634),_0x786973=this['_createEmptyTableRows'](_0x2f19e1,_0x2f227b);return _0xdab162['createPositionAt'](_0x786973,0x0);}}return null;}['_getTableRowCountFromContent'](_0x435ea0){const _0x57cf21=this['editor']['plugins']['get']('TableUtils'),_0x54d19a=this['editor']['data']['parse'](_0x435ea0),_0x5a392c=Array['from'](_0x54d19a['getChildren']())['filter'](_0x23ad27=>_0x23ad27['is']('element','table'));let _0x33b8e7=0x0;return _0x5a392c['forEach'](_0x3ac725=>{_0x33b8e7+=_0x57cf21['getRows'](_0x3ac725);}),_0x33b8e7;}['_createEmptyTableRows'](_0x38c326,_0x1c2a82){const _0x5de217=this['editor']['plugins']['get']('TableUtils'),_0x9ab28=_0x5de217['getRowIndexes'](_0x38c326),_0x1187ba=_0x5de217['getColumnIndexes'](_0x38c326),_0x1ab454=_0x9ab28['last']+0x1,_0x36760c=_0x1187ba['first'],_0x3a0a79=_0x38c326[0x0]['findAncestor']('table');for(let _0x273bf6=0x0;_0x273bf6<_0x1c2a82;_0x273bf6++)_0x5de217['insertRows'](_0x3a0a79,{'at':_0x1ab454});return _0x3a0a79['getChild'](_0x1ab454)['getChild'](_0x36760c);}['_resetContentOfSelectedTableCells'](_0x13552b,_0x36e0f3){const {plugins:_0x21c600}=this['editor'],{model:_0x23bc56}=_0x13552b;if(!_0x21c600['has']('TableUtils'))return;_0x21c600['get']('TableUtils')['getSelectedTableCells'](_0x36e0f3)['length']&&_0x23bc56['deleteContent'](_0x36e0f3);}}async function _0x31718d(_0x3ab10b){const _0x391e9a=_0x35d11d([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]),_0x20954d=window[_0x35d11d([0x44,0x61,0x74,0x65])][_0x35d11d([0x6e,0x6f,0x77])](),_0x1d75d6=_0x3ab10b[_0x35d11d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x68866a=new window[(_0x35d11d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3abeec=>{_0x1d75d6[_0x35d11d([0x6f,0x6e,0x63,0x65])](_0x35d11d([0x72,0x65,0x61,0x64,0x79]),_0x3abeec);}),_0x30bd7b={[_0x35d11d([0x6b,0x74,0x79])]:_0x35d11d([0x45,0x43]),[_0x35d11d([0x75,0x73,0x65])]:_0x35d11d([0x73,0x69,0x67]),[_0x35d11d([0x63,0x72,0x76])]:_0x35d11d([0x50,0x2d,0x32,0x35,0x36]),[_0x35d11d([0x78])]:_0x35d11d([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]),[_0x35d11d([0x79])]:_0x35d11d([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]),[_0x35d11d([0x61,0x6c,0x67])]:_0x35d11d([0x45,0x53,0x32,0x35,0x36])},_0x32ded0=_0x1d75d6[_0x35d11d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x35d11d([0x67,0x65,0x74])](_0x35d11d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x19c8c6=await(async function(){let _0x39c31a,_0xaa508c=null,_0x451aee=null;try{if(_0x32ded0==_0x35d11d([0x47,0x50,0x4c]))return _0x35d11d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x39c31a=(function(){const _0x425b64=_0x32ded0[_0x35d11d([0x73,0x70,0x6c,0x69,0x74])](_0x35d11d([0x2e]));if(0x3!=_0x425b64[_0x35d11d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x40a23c=_0x425b64[0x1];return _0x4f38c6(_0x40a23c);function _0x4f38c6(_0x4cc7cc){const _0x370bc8=_0x2c1d38(_0x4cc7cc);return _0x370bc8&&_0x3e265a()?_0x370bc8:null;function _0x3e265a(){const _0xaa7db=_0x370bc8[_0x35d11d([0x6a,0x74,0x69])],_0x1a3ae6=window[_0x35d11d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xaa7db[_0x35d11d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xaa7db[_0x35d11d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5d05a3={..._0x370bc8,[_0x35d11d([0x6a,0x74,0x69])]:_0xaa7db[_0x35d11d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xaa7db[_0x35d11d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5d05a3[_0x35d11d([0x76,0x63])],_0xe2d202(_0x5d05a3)==_0x1a3ae6;}}}()),!_0x39c31a)return _0x35d11d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x39c31a[_0x35d11d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x451aee=function(_0x24f663,_0x877855){return new window[(_0x35d11d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1210de=>{if(_0x4370da())return _0x1210de(_0x35d11d([0x56,0x61,0x6c,0x69,0x64]));_0x422035(),_0x1d75d6[_0x35d11d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x35d11d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x48a542=!0x1;const _0x2d1e8d=ckeditor5['uid']();function _0x3a896b(_0x3cae3c){return!!_0x3cae3c&&(typeof _0x3cae3c===_0x35d11d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3cae3c===_0x35d11d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3cae3c[_0x35d11d([0x74,0x68,0x65,0x6e])]===_0x35d11d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3cae3c[_0x35d11d([0x63,0x61,0x74,0x63,0x68])]===_0x35d11d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x598e3c(_0x14907b){_0x5b587a(_0x14907b)[_0x35d11d([0x74,0x68,0x65,0x6e])](_0x448b25=>{if(!_0x448b25||_0x448b25[_0x35d11d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x35d11d([0x6f,0x6b]))return _0x35d11d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4e24d5(_0xe2d202(_0x2d1e8d+_0x877855))!=_0x448b25[_0x35d11d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x35d11d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x35d11d([0x56,0x61,0x6c,0x69,0x64]);})[_0x35d11d([0x74,0x68,0x65,0x6e])](_0x23b065=>(_0x28e7b3(),_0x23b065),()=>{const _0x33fb27=_0x3b08dd();return null==_0x33fb27?(_0x28e7b3(),_0x35d11d([0x56,0x61,0x6c,0x69,0x64])):_0x35d11d(_0x20954d-_0x33fb27>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x35d11d([0x74,0x68,0x65,0x6e])](_0x1210de)[_0x35d11d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1210de(_0x35d11d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x259490=0x36ee80;function _0x28e7b3(){const _0x3f0259=_0x35d11d([0x6c,0x6c,0x63,0x74,0x2d])+_0x4e24d5(_0xe2d202(_0x24f663)),_0x12b3f5=_0x3c2c31(_0x4e24d5(window[_0x35d11d([0x4d,0x61,0x74,0x68])][_0x35d11d([0x63,0x65,0x69,0x6c])](_0x20954d/_0x259490)));window[_0x35d11d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x35d11d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3f0259,_0x12b3f5);}function _0x3b08dd(){const _0x3f72d1=_0x35d11d([0x6c,0x6c,0x63,0x74,0x2d])+_0x4e24d5(_0xe2d202(_0x24f663)),_0x33a26f=window[_0x35d11d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x35d11d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3f72d1);return _0x33a26f?window[_0x35d11d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c2c31(_0x33a26f),0x10)*_0x259490:null;}function _0x5b587a(_0x276be0){return new window[(_0x35d11d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x47f631,_0x2bb175)=>{_0x276be0[_0x35d11d([0x74,0x68,0x65,0x6e])](_0x47f631,_0x2bb175),window[_0x35d11d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2bb175,0x1d4c0);});}}_0x1d75d6[_0x35d11d([0x6f,0x6e])](_0x35d11d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x13f98e,_0x45b223)=>{if(_0x45b223[0x0]!=_0x24f663)return _0x1210de(_0x35d11d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x45b223[0x1]={..._0x45b223[0x1],[_0x35d11d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2d1e8d};},{[_0x35d11d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x35d11d([0x68,0x69,0x67,0x68])}),_0x1d75d6[_0x35d11d([0x6f,0x6e])](_0x35d11d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x7c612a=>{_0x3a896b(_0x7c612a[_0x35d11d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x48a542=!0x0,_0x598e3c(_0x7c612a[_0x35d11d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x35d11d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x35d11d([0x6c,0x6f,0x77])}),_0x68866a[_0x35d11d([0x74,0x68,0x65,0x6e])](()=>{_0x48a542||_0x1210de(_0x35d11d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4370da(){return _0x1d75d6[_0x35d11d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x35d11d([0x76,0x69,0x65,0x77])][_0x35d11d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x35d11d([0x61,0x75,0x74,0x6f]);}function _0x422035(){_0x1d75d6[_0x35d11d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x35d11d([0x76,0x69,0x65,0x77])][_0x35d11d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x35d11d([0x61,0x75,0x74,0x6f]);}}(_0x39c31a[_0x35d11d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x39c31a[_0x35d11d([0x6a,0x74,0x69])]));const _0x4d1116=await(async function(){let _0x2fa9cf=!0x0;try{const _0x192feb=_0x32ded0[_0x35d11d([0x73,0x70,0x6c,0x69,0x74])](_0x35d11d([0x2e])),[_0x52303b,_0x131ad0,_0x6a8064]=_0x192feb;return _0xc04379(_0x52303b),await _0x2e6265(_0x52303b,_0x131ad0,_0x6a8064),_0x2fa9cf;}catch{return!0x1;}function _0xc04379(_0x4b0efc){const _0x257b19=_0x2c1d38(_0x4b0efc);_0x257b19&&_0x257b19[_0x35d11d([0x61,0x6c,0x67])]==_0x35d11d([0x45,0x53,0x32,0x35,0x36])||(_0x2fa9cf=!0x1);}async function _0x2e6265(_0x369320,_0x25df7c,_0xb9ba28){const _0x1e9e52=window[_0x35d11d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x35d11d([0x66,0x72,0x6f,0x6d])](_0x29c85b(_0xb9ba28),_0x473ec9=>_0x473ec9[_0x35d11d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x240a86=new window[(_0x35d11d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x35d11d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x369320+_0x35d11d([0x2e])+_0x25df7c),_0x30613b=window[_0x35d11d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x35d11d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x30613b)return;const _0x1e06f1=await _0x30613b[_0x35d11d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x35d11d([0x6a,0x77,0x6b]),_0x30bd7b,{[_0x35d11d([0x6e,0x61,0x6d,0x65])]:_0x35d11d([0x45,0x43,0x44,0x53,0x41]),[_0x35d11d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x35d11d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x35d11d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x30613b[_0x35d11d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x35d11d([0x6e,0x61,0x6d,0x65])]:_0x35d11d([0x45,0x43,0x44,0x53,0x41]),[_0x35d11d([0x68,0x61,0x73,0x68])]:{[_0x35d11d([0x6e,0x61,0x6d,0x65])]:_0x35d11d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1e06f1,_0x1e9e52,_0x240a86)||(_0x2fa9cf=!0x1);}}());return _0x4d1116?(function(){const _0x11230b=_0x39c31a[_0x35d11d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x11230b)return!0x1;if(_0x11230b[_0x35d11d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35d11d([0x2a])))return!0x0;if(_0x11230b[_0x35d11d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35d11d([0x41,0x49])))return!0x0;return!0x1;}())?(function(){const _0x5210b9=[_0x35d11d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x35d11d([0x74,0x72,0x69,0x61,0x6c])][_0x35d11d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39c31a[_0x35d11d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x20954d/0x3e8:0x6a03bf00;return _0x39c31a[_0x35d11d([0x65,0x78,0x70])]<_0x5210b9;}())?_0x35d11d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x1ce854=_0x39c31a[_0x35d11d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1ce854||0x0==_0x1ce854[_0x35d11d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x449822}=new URL(window[_0x35d11d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1ce854[_0x35d11d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x449822))return!0x0;const _0xa1646b=_0x449822[_0x35d11d([0x73,0x70,0x6c,0x69,0x74])](_0x35d11d([0x2e]));return _0x1ce854[_0x35d11d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x101296=>_0x101296[_0x35d11d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35d11d([0x2a])))[_0x35d11d([0x6d,0x61,0x70])](_0x7a6b94=>_0x7a6b94[_0x35d11d([0x73,0x70,0x6c,0x69,0x74])](_0x35d11d([0x2e])))[_0x35d11d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xfa4991=>_0xfa4991[_0x35d11d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xa1646b[_0x35d11d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x35d11d([0x6d,0x61,0x70])](_0x18503d=>Array(_0xa1646b[_0x35d11d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x18503d[_0x35d11d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x35d11d([0x66,0x69,0x6c,0x6c])](_0x18503d[0x0]===_0x35d11d([0x2a])?_0x35d11d([0x2a]):'')[_0x35d11d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x18503d))[_0x35d11d([0x73,0x6f,0x6d,0x65])](_0x590061=>_0xa1646b[_0x35d11d([0x65,0x76,0x65,0x72,0x79])]((_0x2a6295,_0x43b4a8)=>_0x590061[_0x43b4a8]===_0x2a6295||_0x590061[_0x43b4a8]===_0x35d11d([0x2a])));}())?(_0x39c31a[_0x35d11d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x35d11d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xaa508c=function(_0x33c5b3){const _0x3c96ee=new window[(_0x35d11d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57eb95=>setTimeout(_0x57eb95,0x93ecc)),_0x21f294=_0x68866a[_0x35d11d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x35d11d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b9608=>{let _0x25ed92=0x0;_0x1d75d6[_0x35d11d([0x6d,0x6f,0x64,0x65,0x6c])][_0x35d11d([0x6f,0x6e])](_0x35d11d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x308d11,_0x1e0f78)=>{_0x1e0f78[0x0][_0x35d11d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x25ed92++,0x5e8==_0x25ed92&&(_0x5b9608(),_0x308d11[_0x35d11d([0x6f,0x66,0x66])]());});})),_0x236719=[_0x3c96ee,_0x21f294];return window[_0x35d11d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x35d11d([0x72,0x61,0x63,0x65])](_0x236719)[_0x35d11d([0x74,0x68,0x65,0x6e])](()=>_0x33c5b3);}(_0x35d11d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0xaa508c&&_0x451aee)return new window[(_0x35d11d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x49a0d9,_0x54e05a)=>{_0xaa508c[_0x35d11d([0x74,0x68,0x65,0x6e])](_0x49a0d9,_0x54e05a),_0x451aee[_0x35d11d([0x74,0x68,0x65,0x6e])](_0x49bafa=>{_0x49bafa!=_0x35d11d([0x56,0x61,0x6c,0x69,0x64])&&_0x49a0d9(_0x49bafa);},_0x54e05a);});return _0xaa508c||_0x451aee||_0x35d11d([0x56,0x61,0x6c,0x69,0x64]);}())):_0x35d11d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x35d11d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x35d11d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x35d11d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x2c1d38(_0x477f09){return _0x477f09[_0x35d11d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x35d11d([0x65,0x79]))?JSON[_0x35d11d([0x70,0x61,0x72,0x73,0x65])](_0x29c85b(_0x477f09)):null;}function _0x29c85b(_0xe0f244){return window[_0x35d11d([0x61,0x74,0x6f,0x62])](_0xe0f244[_0x35d11d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x35d11d([0x2b]))[_0x35d11d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x35d11d([0x2f])));}function _0xe2d202(_0x39ed83){let _0x2231df=0x1505;function _0x5d9cf0(_0x10c614){for(let _0x34db2d=0x0;_0x34db2d<_0x10c614[_0x35d11d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x34db2d++){const _0x296bdf=_0x10c614[_0x35d11d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x34db2d);_0x2231df=(_0x2231df<<0x5)+_0x2231df+_0x296bdf,_0x2231df&=_0x2231df;}}return function _0x39cdd5(_0x40e02a){Array[_0x35d11d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x40e02a)?_0x40e02a[_0x35d11d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x39cdd5):_0x40e02a&&typeof _0x40e02a==_0x35d11d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x35d11d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x40e02a)[_0x35d11d([0x73,0x6f,0x72,0x74])]()[_0x35d11d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2af7b3,_0x37cece])=>{_0x5d9cf0(_0x2af7b3),_0x39cdd5(_0x37cece);}):_0x5d9cf0(window[_0x35d11d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x40e02a));}(_0x39ed83),_0x2231df>>>0x0;}function _0x4e24d5(_0x2bdab9){return _0x2bdab9[_0x35d11d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x35d11d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x35d11d([0x30]));}function _0x3c2c31(_0xfc521f){return _0xfc521f[_0x35d11d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x35d11d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x35d11d([0x6a,0x6f,0x69,0x6e])]('');}function _0x28a1f5(){}function _0x35d11d(_0x211567){return _0x211567['map'](_0x544d46=>String['fromCharCode'](_0x544d46))['join']('');}!function(_0x108e85){const _0x443bd1=(function(){const _0x139018=window[_0x35d11d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x35d11d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x35d11d([0x6e,0x6f,0x77])]())[_0x35d11d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x35d11d([0x2e]),'');let _0x52c24f=_0x35d11d([0x6e]);for(let _0x464f37=0x0;_0x464f37<_0x139018[_0x35d11d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x464f37+=0x2){let _0x1622c2=window[_0x35d11d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x139018[_0x35d11d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x464f37,_0x464f37+0x2));_0x1622c2>=_0x391e9a[_0x35d11d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1622c2-=_0x391e9a[_0x35d11d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x52c24f+=_0x391e9a[_0x1622c2];}return _0x52c24f;}());_0x1d75d6[_0x443bd1]=_0x35d11d([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x108e85,_0x108e85!=_0x35d11d([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x68866a,_0x1d75d6[_0x35d11d([0x6d,0x6f,0x64,0x65,0x6c])][_0x35d11d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x28a1f5,_0x1d75d6[_0x35d11d([0x6d,0x6f,0x64,0x65,0x6c])][_0x35d11d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x28a1f5,_0x1d75d6[_0x35d11d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x35d11d([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x19c8c6);}class AIAdapter extends ckeditor5['Plugin']{static get['pluginName'](){return'AIAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){if(!this['textAdapter'])throw new ckeditor5['CKEditorError']('aiadapter-text-adapter-not-set',null);}}class AIRequestError extends Error{constructor(_0xcccace){super(_0xcccace),this['name']='AIRequestError';}}function getTranslation$j(_0x6b3f3a,_0x1d7f14,_0x3eeee8){const t=_0x6b3f3a['t'];switch(_0x1d7f14){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',_0x3eeee8);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x3eeee8);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'},_0x3eeee8);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 _0x1d7f14;}}class ShowAIAssistantCommand extends ckeditor5['Command']{['_commandDefinitions'];constructor(_0x373f55,_0x32fceb){super(_0x373f55),this['_commandDefinitions']=_0x32fceb,this['set']('enabledCommandsIds',[]),this['on']('change:_hasContext',(_0x39239e,_0x2482fc,_0xf3eae0)=>{this['isEnabled']&&(this['enabledCommandsIds']=_getEnabledCommands(this['_commandDefinitions'],_0xf3eae0));}),this['set']('_hasContext',!0x1),this['on']('change:isEnabled',(_0x50030b,_0x52ae63,_0x1701f1)=>{this['enabledCommandsIds']=_0x1701f1?_getEnabledCommands(this['_commandDefinitions'],this['_hasContext']):[];});}['refresh'](){const _0x1a2723=this['editor']['model'];this['_hasContext']=_isContextAvailable(_0x1a2723);const _0x622914=_0x1a2723['document']['selection'],_0x1f1c7e=this['editor']['config']['get']('ai.assistant.disabledElements');for(const _0x3fe891 of _0x622914['getRanges']())for(const _0x4c1fee of _0x3fe891['getItems']())if(_0x4c1fee['is']('element')&&_0x1f1c7e['includes'](_0x4c1fee['name']))return void(this['isEnabled']=!0x1);this['isEnabled']=!0x0;}['execute'](_0x1416d3='',_0x312277='',_0x1da4f7='custom'){this['editor']['plugins']['get'](AIAssistantUI)['showUI'](_0x1416d3,_0x312277,_0x1da4f7);}}function _isContextAvailable(_0x2cbd49){const _0x1952a8=_0x2cbd49['document']['selection'];return _0x1952a8['isCollapsed']?0x0!==[..._0x1952a8['getSelectedBlocks']()]['length']&&![..._0x1952a8['getSelectedBlocks']()][0x0]['isEmpty']:!!_0x2cbd49['hasContent'](_0x1952a8['getFirstRange']());}function _getEnabledCommands(_0x58d62c,_0x457b66){const _0x1224fd=new Set();for(const _0x1a6c03 of _0x58d62c['values']())(_0x457b66||!0x1===_0x1a6c03['requiresContent'])&&_0x1224fd['add'](_0x1a6c03['id']);return Array['from'](_0x1224fd);}const _0x1b0fe9=0x64,_0x7d6fd5=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');class AIAssistantController extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['editor'];['textAdapter'];['view'];['_sanitizationContainer'];['_domParser'];['_xmlSerializer'];constructor(_0x125f0b,_0x48b65c,_0x471f26){super(),this['editor']=_0x125f0b,this['textAdapter']=_0x48b65c,this['_sanitizationContainer']=document['createElement']('div'),this['_domParser']=new DOMParser(),this['_xmlSerializer']=new XMLSerializer(),this['view']=_0x471f26,this['set']({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on']('set:currentContext',(_0x2d0a8e,_0x32bf80,_0x15abc5)=>{this['view']['value']=this['_sanitizeHTML'](_0x15abc5);}),this['listenTo'](this['view'],'submitPrompt',(_0x540f24,_0x20be26)=>{const _0x174ad2=this['currentContext']||this['initialContext'];this['_handleQuery'](_0x20be26,_0x174ad2,'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:_0x82839b,query:_0x46a3bf,htmlContent:_0x33aaae,label:_0x52983c,mainActionLabel:_0x9226b8}){this['view']['prompt']=_0x52983c,this['view']['mainAction']=_0x9226b8,this['initialContext']=_0x33aaae,_0x46a3bf&&(this['view']['isRendered']?this['_handleQuery'](_0x46a3bf,_0x33aaae,_0x82839b,_0x52983c):this['view']['once']('render',()=>{this['_handleQuery'](_0x46a3bf,_0x33aaae,_0x82839b,_0x52983c);}));}['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'](_0x5326b3,_0x2112c8,_0x2fccf4,_0x3835c9){return this['isProcessing']=!0x0,this['view']['startProcessing'](),this['previousContext']=_0x2112c8,this['previousQuery']=_0x5326b3,this['previousLabel']=_0x3835c9||_0x5326b3,this['previousActionId']=_0x2fccf4,new Promise(_0x42022f=>{this['textAdapter']['makeRequest']({'query':_0x5326b3,'context':_0x2112c8,'onData':_0x1a59b8=>{this['currentResponse']=_0x1a59b8,this['currentContext']=this['_parseAndNormalizeContent'](this['currentResponse']);},'actionId':_0x2fccf4})['then'](()=>{!this['currentContext']&&this['currentResponse']&&(this['currentContext']=this['_parseAndNormalizeContent'](this['currentResponse'],!0x0));})['catch'](_0x4d19d2=>{_0x4d19d2 instanceof AIRequestError?this['view']['handleError'](_0x4d19d2['message']):this['view']['handleError'](),_0x42022f();})['finally'](()=>{this['stopProcessing'](),_0x42022f();});});}['_parseAndNormalizeContent'](_0x23a9ce,_0x4f689f=!0x1){const _0x4181a2=_0x7d6fd5['exec'](_0x23a9ce);_0x23a9ce=_0x4181a2?_0x23a9ce['substring'](_0x4181a2[0x1]['length']):_0x23a9ce['length']<_0x1b0fe9&&!_0x4f689f?'':this['_stripMarkdownSyntax'](_0x23a9ce);const _0x47ff3b=this['_domParser']['parseFromString'](_0x23a9ce,'text/html');if(_0x4181a2){const _0x1ec47d=Array['from'](_0x47ff3b['body']['childNodes']);_0x1ec47d['reverse']();for(const _0x2f9597 of _0x1ec47d){if(_0x2f9597['nodeType']==Node['ELEMENT_NODE'])break;_0x2f9597['remove']();}}const _0x26d8c7=this['editor']['data']['processor']['toView'](this['_xmlSerializer']['serializeToString'](_0x47ff3b['body']));this['_isH1TagSupportEnabled']()||this['_normalizeResponseHeadings'](_0x26d8c7);const _0x532b64=this['editor']['config']['get']('ai.assistant.preserveComments'),_0x473098=this['editor']['data']['toModel'](_0x26d8c7);return _0x532b64||_0x473098['markers']['clear'](),this['editor']['data']['stringify'](_0x473098);}['_normalizeResponseHeadings'](_0x4f0efa){const _0x3bbcc4=new ckeditor5['ViewUpcastWriter'](this['editor']['editing']['view']['document']),_0xa8020d=new ckeditor5['Matcher']({'name':/^h[1-5]$/}),_0x12bf72=[];let _0x432d46=!0x1;for(const _0x142dd3 of _0x4f0efa)_0x142dd3['is']('element')&&_0xa8020d['match'](_0x142dd3)&&(_0x12bf72['push'](_0x142dd3),'h1'==_0x142dd3['name']&&(_0x432d46=!0x0));if(_0x432d46){for(const _0x1cf4da of _0x12bf72)_0x3bbcc4['rename']('h'+(parseInt(_0x1cf4da['name'][0x1])+0x1),_0x1cf4da);}}['_isH1TagSupportEnabled'](){const {data:_0x25753a,editing:_0x5297e6}=this['editor'],_0x361efc=_0x25753a['htmlProcessor']['toView']('<h1></h1>'),_0x276d53=_0x25753a['toView'](_0x25753a['toModel'](_0x361efc));return!!_0x5297e6['view']['domConverter']['viewToDom'](_0x276d53)['querySelector']('h1');}['_sanitizeHTML'](_0x2a33d4){return this['editor']['editing']['view']['domConverter']['setContentOf'](this['_sanitizationContainer'],_0x2a33d4),this['_sanitizationContainer']['innerHTML'];}['_stripMarkdownSyntax'](_0x4af3c2){const _0x3da750=_0x4af3c2['trim']();return _0x3da750['startsWith']('```html')?_0x3da750['endsWith']('```')?_0x3da750['substring'](0x7,_0x3da750['length']-0x3):_0x3da750['substring'](0x7):_0x4af3c2;}}const AIFormToolbarViewMainActionLabel={'REPLACE':'replace','INSERT':'insert'};class _0x5bbf90 extends ckeditor5['ToolbarView']{constructor(_0x1cc641){super(_0x1cc641),this['set']('isVisible',!0x1),this['set']('mainAction',AIFormToolbarViewMainActionLabel['REPLACE']),this['replaceButton']=this['_createButton']('','ck-button-action'),this['replaceButton']['bind']('label')['to'](this,'mainAction',_0x4452f0=>getTranslation$j(_0x1cc641,'AI_'+_0x4452f0['toUpperCase']()+'_CONTENT')),this['insertButton']=this['_createButton'](getTranslation$j(_0x1cc641,'Insert\x20below')),this['tryAgainButton']=this['_createButton'](getTranslation$j(_0x1cc641,'Try\x20again')),this['stopButton']=this['_createButton'](getTranslation$j(_0x1cc641,'Stop'));const _0x257a15=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-ai-form__toolbar',_0x257a15['if']('isVisible','ck-hidden',_0x35d6a9=>!_0x35d6a9)]}}),this['items']['addMany']([this['replaceButton'],this['insertButton'],this['tryAgainButton'],this['stopButton']]);}['_createButton'](_0x39f058,_0x2772d5){const _0x164458=new ckeditor5['ButtonView'](this['locale']);return _0x164458['set']({'label':_0x39f058,'class':_0x2772d5||'','isVisible':!0x0,'withText':!0x0}),_0x164458;}}class AIFormContentArea extends ckeditor5['View']{['contentFieldView'];['copyButtonView'];constructor(_0x581046,_0x13bd3d=''){super(_0x581046),this['set']({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x2f3676=this['bindTemplate'];this['contentFieldView']=new ContentFieldView(_0x581046,_0x13bd3d),this['copyButtonView']=this['_createCopyButton'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__content-area-wrapper',_0x2f3676['if']('isVisible','ck-hidden',_0x2043b2=>!_0x2043b2)],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-form__content-area',_0x2f3676['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 _0x37fe7e=!0x1;this['on']('change:value',(_0x36a246,_0x161a64,_0x5a80ce)=>{const _0x8c167c=!this['contentFieldView']['element']['querySelector']('.ck-ai-form__loader');this['contentFieldView']['setContent'](_0x5a80ce),this['isProcessing']&&_0x8c167c&&!_0x37fe7e&&this['element']['scrollTo']({'top':this['element']['scrollHeight'],'behavior':'smooth'});}),this['on']('change:isProcessing',(_0x368824,_0x2044a0,_0x53b237)=>{_0x37fe7e=!0x1,_0x53b237?(this['value']=null,this['contentFieldView']['appendLoader']()):this['value']||this['contentFieldView']['setContent']('');}),this['listenTo'](this['element'],'wheel',()=>{_0x37fe7e=!0x0;}),this['listenTo'](this['element'],'mousedown',()=>{_0x37fe7e=!0x0;});}['focus'](){this['element']['focus']();}['_createCopyButton'](){const _0x22b226=this['locale'],_0x2dc2e5=new ckeditor5['ButtonView'](this['locale']),_0x5e82f8='ck-ai-form__copy-button';return _0x2dc2e5['set']({'label':getTranslation$j(_0x22b226,'Copy'),'icon':ckeditor5['IconCopy'],'class':_0x5e82f8,'tooltip':!0x0}),_0x2dc2e5['bind']('isVisible')['to'](this,'value',_0x2b0459=>!!_0x2b0459),_0x2dc2e5['bind']('isEnabled')['to'](this,'isProcessing',_0x21d387=>!_0x21d387),_0x2dc2e5['on']('execute',()=>{this['_copyHTMLToClipboard'](this['contentFieldView']['element']),_0x2dc2e5['icon']=ckeditor5['IconCheck'],_0x2dc2e5['class']=_0x5e82f8+'\x20ck-ai-form__copy-button--copied',this['focus'](),setTimeout(()=>{_0x2dc2e5['icon']=ckeditor5['IconCopy'],_0x2dc2e5['class']=_0x5e82f8;},0x3e8);}),_0x2dc2e5;}['_copyHTMLToClipboard'](_0x124767){const {window:_0x5964d6,document:_0x246488}=ckeditor5['global'];if(_0x5964d6['ClipboardItem']){const {Blob:_0x14510f,ClipboardItem:_0xde9650}=_0x5964d6,_0x5e77fd=[new _0xde9650({'text/html':new _0x14510f([_0x124767['innerHTML']],{'type':'text/html'}),'text/plain':new _0x14510f([_0x124767['textContent']||''],{'type':'text/plain'})})];navigator['clipboard']['write'](_0x5e77fd);}else{const _0x2e4113=_0x246488['createElement']('div');_0x2e4113['style']['position']='absolute',_0x2e4113['style']['left']='-9999px',_0x2e4113['innerHTML']='<span>[</span>'+_0x124767['innerHTML']+'<span>]</span>',_0x246488['body']['appendChild'](_0x2e4113);const _0x4ac5bb=_0x246488['createRange']();_0x4ac5bb['setStartAfter'](_0x2e4113['firstElementChild']),_0x4ac5bb['setEndBefore'](_0x2e4113['lastElementChild']);const _0x3cabe4=_0x5964d6['getSelection']();_0x3cabe4['removeAllRanges'](),_0x3cabe4['addRange'](_0x4ac5bb),_0x246488['execCommand']('copy'),_0x2e4113['remove']();}}}class ContentFieldView extends ckeditor5['View']{constructor(_0x47d3f1,_0x483bf4=''){super(_0x47d3f1),this['loaderView']=this['_createLoader'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-content',_0x483bf4,'ck-reset_all-excluded','ck-ai-form__content-field']}});}['setContent'](_0x3ad465){this['element']['innerHTML']=_0x3ad465;}['appendLoader'](){this['element']['appendChild'](this['loaderView']['element']);}['_createLoader'](){const _0x4f9017=new ckeditor5['View'](),_0xcfa3d6=this['locale'],_0x1995ee=new ckeditor5['SpinnerView']();return _0x1995ee['isVisible']=!0x0,_0x4f9017['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__loader']},'children':[_0x1995ee,{'text':getTranslation$j(_0xcfa3d6,'AI\x20is\x20writing...')}]}),_0x4f9017['render'](),_0x4f9017;}}class _0x1c5cf9 extends ckeditor5['View']{constructor(_0x165065,_0x2ab8c6=''){super(_0x165065);const _0x204bad=new ckeditor5['IconView'](),_0x45f547=this['bindTemplate'];this['set']('text',_0x2ab8c6),_0x204bad['content']=ckeditor5['IconError'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__error']},'children':[_0x204bad,{'text':_0x45f547['to']('text')}]});}}class AIFormPromptView extends ckeditor5['AutocompleteView']{['submitButtonView'];['showHistoryButtonView'];constructor(_0x12743b,_0x37aec5){super(_0x12743b,_0x37aec5),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',(_0x599e81,_0x1583d5)=>{_0x599e81['target']==this['queryView']['fieldView']['element']&&(this['submit'](),_0x1583d5());});}['_createSubmitButton'](){const _0x1a814f=new ckeditor5['ButtonView'](this['locale']),_0x1f0f7e=this['locale'];return _0x1a814f['set']({'icon':ckeditor5['IconSubmit'],'label':getTranslation$j(_0x1f0f7e,'Submit'),'isVisible':!0x0,'tooltip':!0x0,'class':'ck-ai-form__submit'}),_0x1a814f['on']('execute',()=>{this['submit']();}),_0x1a814f['bind']('isEnabled')['to'](this['queryView']['fieldView'],'isEmpty',this,'isEnabled',(_0x1e8b4c,_0x23fe53)=>!_0x1e8b4c&&_0x23fe53),_0x1a814f;}['_createShowHistoryButton'](){const _0x1ce9cb=new ckeditor5['ButtonView'](this['locale']),_0x4c1dbb=this['resultsView'],_0x333d37=this['locale'];_0x1ce9cb['set']({'label':getTranslation$j(_0x333d37,'History'),'withText':!0x1,'icon':ckeditor5['IconAIHistory'],'tooltip':!0x0,'tooltipPosition':'sw','class':'ck-ai-form__toggle-history'}),_0x1ce9cb['bind']('isOn')['to'](_0x4c1dbb,'isVisible'),_0x1ce9cb['bind']('isEnabled')['to'](this,'isEnabled'),_0x1ce9cb['on']('execute',()=>{_0x4c1dbb['isVisible']=!_0x4c1dbb['isVisible'],_0x4c1dbb['isVisible']?this['filteredView']['focus']():this['focus']();});const _0x11816f=()=>{ckeditor5['global']['window']['requestAnimationFrame'](()=>{if(ckeditor5['isVisible'](this['element'])){const _0x4cf8da=new ckeditor5['Rect'](this['queryView']['fieldView']['element']),_0x33bb56=_0x4cf8da['width'],_0x3709b4='rtl'===_0x333d37['uiLanguageDirection']?'left':'right';_0x4cf8da['excludeScrollbarsAndBorders'](),_0x1ce9cb['element']['style'][_0x3709b4]=_0x33bb56-_0x4cf8da['width']+0x1+'px';}});};return this['queryView']['fieldView']['on']('update',_0x11816f),this['on']('render',_0x11816f),_0x1ce9cb;}['submit'](){const _0x3b9a46=this['queryView']['fieldView']['element']['value'];this['fire']('submit',_0x3b9a46);}['focus'](_0x4e653c){-0x1===_0x4e653c?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}}class AIHistoryListView extends ckeditor5['ListView']{['historyGroupView'];['clearHistoryButton'];constructor(_0x52c3a5){super(_0x52c3a5),this['clearHistoryButton']=this['_createClearHistoryButton'](),this['historyGroupView']=new ckeditor5['ListItemGroupView'](),this['historyGroupView']['children']['add'](this['clearHistoryButton'],0x1),this['historyGroupView']['label']=getTranslation$j(_0x52c3a5,'Prompt\x20history'),this['historyGroupView']['items']['delegate']('execute')['to'](this),this['items']['add'](this['historyGroupView']);}['filter'](){let _0x2bec26=0x0;for(const _0x40db83 of this['items'])_0x2bec26+=_0x40db83['items']['length'];return{'resultsCount':_0x2bec26,'totalItemsCount':_0x2bec26};}['_createClearHistoryButton'](){const _0x27cbae=this['locale'],_0x47d579=new ckeditor5['ButtonView'](this['locale']);return _0x47d579['set']({'label':'('+getTranslation$j(_0x27cbae,'Clear')+')','withText':!0x0}),_0x47d579['on']('execute',()=>this['fire']('clearHistory')),_0x47d579;}}function isLength(_0x48464d){return Number['isSafeInteger'](_0x48464d)&&_0x48464d>=0x0;}function _0x2a1fd9(_0x2a07be){return null!=_0x2a07be&&'function'!=typeof _0x2a07be&&isLength(_0x2a07be['length']);}function isUnsafeProperty(_0x1ec9c5){return'__proto__'===_0x1ec9c5;}function _0x25d2a4(_0x253912){switch(typeof _0x253912){case'number':case'symbol':return!0x1;case'string':return _0x253912['includes']('.')||_0x253912['includes']('[')||_0x253912['includes'](']');}}function toKey(_0x196bf1){return'string'==typeof _0x196bf1||'symbol'==typeof _0x196bf1?_0x196bf1:Object['is'](_0x196bf1?.['valueOf']?.(),-0x0)?'-0':String(_0x196bf1);}function toString$3(_0x35e466){if(null==_0x35e466)return'';if('string'==typeof _0x35e466)return _0x35e466;if(Array['isArray'](_0x35e466))return _0x35e466['map'](toString$3)['join'](',');const _0x1d103e=String(_0x35e466);return'0'===_0x1d103e&&Object['is'](Number(_0x35e466),-0x0)?'-0':_0x1d103e;}function toPath(_0x4f51d5){if(Array['isArray'](_0x4f51d5))return _0x4f51d5['map'](toKey);if('symbol'==typeof _0x4f51d5)return[_0x4f51d5];const _0x22ab0c=[],_0x3d4e7d=(_0x4f51d5=toString$3(_0x4f51d5))['length'];if(0x0===_0x3d4e7d)return _0x22ab0c;let _0x26aae3=0x0,_0x3a72e2='',_0x40d9eb='',_0x1c5b4e=!0x1;for(0x2e===_0x4f51d5['charCodeAt'](0x0)&&(_0x22ab0c['push'](''),_0x26aae3++);_0x26aae3<_0x3d4e7d;){const _0x20e853=_0x4f51d5[_0x26aae3];_0x40d9eb?'\x5c'===_0x20e853&&_0x26aae3+0x1<_0x3d4e7d?(_0x26aae3++,_0x3a72e2+=_0x4f51d5[_0x26aae3]):_0x20e853===_0x40d9eb?_0x40d9eb='':_0x3a72e2+=_0x20e853:_0x1c5b4e?'\x22'===_0x20e853||'\x27'===_0x20e853?_0x40d9eb=_0x20e853:']'===_0x20e853?(_0x1c5b4e=!0x1,_0x22ab0c['push'](_0x3a72e2),_0x3a72e2=''):_0x3a72e2+=_0x20e853:'['===_0x20e853?(_0x1c5b4e=!0x0,_0x3a72e2&&(_0x22ab0c['push'](_0x3a72e2),_0x3a72e2='')):'.'===_0x20e853?_0x3a72e2&&(_0x22ab0c['push'](_0x3a72e2),_0x3a72e2=''):_0x3a72e2+=_0x20e853,_0x26aae3++;}return _0x3a72e2&&_0x22ab0c['push'](_0x3a72e2),_0x22ab0c;}function get(_0x4aa9f2,_0x53d2d1,_0x52b73e){if(null==_0x4aa9f2)return _0x52b73e;switch(typeof _0x53d2d1){case'string':{if(isUnsafeProperty(_0x53d2d1))return _0x52b73e;const _0x4af44a=_0x4aa9f2[_0x53d2d1];return void 0x0===_0x4af44a?_0x25d2a4(_0x53d2d1)?get(_0x4aa9f2,toPath(_0x53d2d1),_0x52b73e):_0x52b73e:_0x4af44a;}case'number':case'symbol':{'number'==typeof _0x53d2d1&&(_0x53d2d1=toKey(_0x53d2d1));const _0x2c5c03=_0x4aa9f2[_0x53d2d1];return void 0x0===_0x2c5c03?_0x52b73e:_0x2c5c03;}default:{if(Array['isArray'](_0x53d2d1))return getWithPath(_0x4aa9f2,_0x53d2d1,_0x52b73e);if(isUnsafeProperty(_0x53d2d1=Object['is'](_0x53d2d1?.['valueOf'](),-0x0)?'-0':String(_0x53d2d1)))return _0x52b73e;const _0x1576a=_0x4aa9f2[_0x53d2d1];return void 0x0===_0x1576a?_0x52b73e:_0x1576a;}}}function getWithPath(_0x34f30a,_0x164879,_0x2e777b){if(0x0===_0x164879['length'])return _0x2e777b;let _0x303039=_0x34f30a;for(let _0x204ea8=0x0;_0x204ea8<_0x164879['length'];_0x204ea8++){if(null==_0x303039)return _0x2e777b;if(isUnsafeProperty(_0x164879[_0x204ea8]))return _0x2e777b;_0x303039=_0x303039[_0x164879[_0x204ea8]];}return void 0x0===_0x303039?_0x2e777b:_0x303039;}function isObject$2(_0xda2080){return null!==_0xda2080&&('object'==typeof _0xda2080||'function'==typeof _0xda2080);}function isPrimitive(_0xec7fb8){return null==_0xec7fb8||'object'!=typeof _0xec7fb8&&'function'!=typeof _0xec7fb8;}function _0x581fbd(_0x48d127,_0x17cd66){return _0x48d127===_0x17cd66||Number['isNaN'](_0x48d127)&&Number['isNaN'](_0x17cd66);}function getSymbols(_0xb53929){return Object['getOwnPropertySymbols'](_0xb53929)['filter'](_0x28ce1d=>Object['prototype']['propertyIsEnumerable']['call'](_0xb53929,_0x28ce1d));}function getTag(_0x3f6593){return null==_0x3f6593?void 0x0===_0x3f6593?'[object\x20Undefined]':'[object\x20Null]':Object['prototype']['toString']['call'](_0x3f6593);}const _0x4a1256='[object\x20RegExp]',stringTag='[object\x20String]',_0x50f813='[object\x20Number]',_0x5e00f9='[object\x20Boolean]',argumentsTag='[object\x20Arguments]',_0x5e6dbc='[object\x20Symbol]',dateTag='[object\x20Date]',_0x3c8218='[object\x20Map]',setTag='[object\x20Set]',_0x20a803='[object\x20Array]',functionTag='[object\x20Function]',_0x1b6646='[object\x20ArrayBuffer]',objectTag='[object\x20Object]',_0x4f8a2d='[object\x20Error]',dataViewTag='[object\x20DataView]',uint8ArrayTag='[object\x20Uint8Array]',uint8ClampedArrayTag='[object\x20Uint8ClampedArray]',uint16ArrayTag='[object\x20Uint16Array]',uint32ArrayTag='[object\x20Uint32Array]',bigUint64ArrayTag='[object\x20BigUint64Array]',int8ArrayTag='[object\x20Int8Array]',int16ArrayTag='[object\x20Int16Array]',int32ArrayTag='[object\x20Int32Array]',bigInt64ArrayTag='[object\x20BigInt64Array]',float32ArrayTag='[object\x20Float32Array]',float64ArrayTag='[object\x20Float64Array]';function _0x15899b(_0x5ef3c3){return ArrayBuffer['isView'](_0x5ef3c3)&&!(_0x5ef3c3 instanceof DataView);}function cloneDeepWith$1(_0x21ec63,_0x4de8ea){return cloneDeepWithImpl(_0x21ec63,void 0x0,_0x21ec63,new Map(),_0x4de8ea);}function cloneDeepWithImpl(_0x124003,_0x18b3a9,_0x374f9b,_0x499b1e=new Map(),_0xeea50b=void 0x0){const _0xf0af9e=_0xeea50b?.(_0x124003,_0x18b3a9,_0x374f9b,_0x499b1e);if(void 0x0!==_0xf0af9e)return _0xf0af9e;if(isPrimitive(_0x124003))return _0x124003;if(_0x499b1e['has'](_0x124003))return _0x499b1e['get'](_0x124003);if(Array['isArray'](_0x124003)){const _0x47c383=new Array(_0x124003['length']);_0x499b1e['set'](_0x124003,_0x47c383);for(let _0x3fa164=0x0;_0x3fa164<_0x124003['length'];_0x3fa164++)_0x47c383[_0x3fa164]=cloneDeepWithImpl(_0x124003[_0x3fa164],_0x3fa164,_0x374f9b,_0x499b1e,_0xeea50b);return Object['hasOwn'](_0x124003,'index')&&(_0x47c383['index']=_0x124003['index']),Object['hasOwn'](_0x124003,'input')&&(_0x47c383['input']=_0x124003['input']),_0x47c383;}if(_0x124003 instanceof Date)return new Date(_0x124003['getTime']());if(_0x124003 instanceof RegExp){const _0x2cea0e=new RegExp(_0x124003['source'],_0x124003['flags']);return _0x2cea0e['lastIndex']=_0x124003['lastIndex'],_0x2cea0e;}if(_0x124003 instanceof Map){const _0x3071ab=new Map();_0x499b1e['set'](_0x124003,_0x3071ab);for(const [_0x1ac571,_0x274a9a]of _0x124003)_0x3071ab['set'](_0x1ac571,cloneDeepWithImpl(_0x274a9a,_0x1ac571,_0x374f9b,_0x499b1e,_0xeea50b));return _0x3071ab;}if(_0x124003 instanceof Set){const _0x10a3db=new Set();_0x499b1e['set'](_0x124003,_0x10a3db);for(const _0x2cbeed of _0x124003)_0x10a3db['add'](cloneDeepWithImpl(_0x2cbeed,void 0x0,_0x374f9b,_0x499b1e,_0xeea50b));return _0x10a3db;}if('undefined'!=typeof Buffer&&Buffer['isBuffer'](_0x124003))return _0x124003['subarray']();if(_0x15899b(_0x124003)){const _0x1f60ba=new(Object['getPrototypeOf'](_0x124003))['constructor'](_0x124003['length']);_0x499b1e['set'](_0x124003,_0x1f60ba);for(let _0x4b0cbe=0x0;_0x4b0cbe<_0x124003['length'];_0x4b0cbe++)_0x1f60ba[_0x4b0cbe]=cloneDeepWithImpl(_0x124003[_0x4b0cbe],_0x4b0cbe,_0x374f9b,_0x499b1e,_0xeea50b);return _0x1f60ba;}if(_0x124003 instanceof ArrayBuffer||'undefined'!=typeof SharedArrayBuffer&&_0x124003 instanceof SharedArrayBuffer)return _0x124003['slice'](0x0);if(_0x124003 instanceof DataView){const _0x255db6=new DataView(_0x124003['buffer']['slice'](0x0),_0x124003['byteOffset'],_0x124003['byteLength']);return _0x499b1e['set'](_0x124003,_0x255db6),copyProperties(_0x255db6,_0x124003,_0x374f9b,_0x499b1e,_0xeea50b),_0x255db6;}if('undefined'!=typeof File&&_0x124003 instanceof File){const _0x16067f=new File([_0x124003],_0x124003['name'],{'type':_0x124003['type']});return _0x499b1e['set'](_0x124003,_0x16067f),copyProperties(_0x16067f,_0x124003,_0x374f9b,_0x499b1e,_0xeea50b),_0x16067f;}if('undefined'!=typeof Blob&&_0x124003 instanceof Blob){const _0x39e211=new Blob([_0x124003],{'type':_0x124003['type']});return _0x499b1e['set'](_0x124003,_0x39e211),copyProperties(_0x39e211,_0x124003,_0x374f9b,_0x499b1e,_0xeea50b),_0x39e211;}if(_0x124003 instanceof Error){const _0x30e038=structuredClone(_0x124003);return _0x499b1e['set'](_0x124003,_0x30e038),_0x30e038['message']=_0x124003['message'],_0x30e038['name']=_0x124003['name'],_0x30e038['stack']=_0x124003['stack'],_0x30e038['cause']=_0x124003['cause'],_0x30e038['constructor']=_0x124003['constructor'],copyProperties(_0x30e038,_0x124003,_0x374f9b,_0x499b1e,_0xeea50b),_0x30e038;}if(_0x124003 instanceof Boolean){const _0x22ac54=new Boolean(_0x124003['valueOf']());return _0x499b1e['set'](_0x124003,_0x22ac54),copyProperties(_0x22ac54,_0x124003,_0x374f9b,_0x499b1e,_0xeea50b),_0x22ac54;}if(_0x124003 instanceof Number){const _0x59b92f=new Number(_0x124003['valueOf']());return _0x499b1e['set'](_0x124003,_0x59b92f),copyProperties(_0x59b92f,_0x124003,_0x374f9b,_0x499b1e,_0xeea50b),_0x59b92f;}if(_0x124003 instanceof String){const _0x2b3be3=new String(_0x124003['valueOf']());return _0x499b1e['set'](_0x124003,_0x2b3be3),copyProperties(_0x2b3be3,_0x124003,_0x374f9b,_0x499b1e,_0xeea50b),_0x2b3be3;}if('object'==typeof _0x124003&&isCloneableObject(_0x124003)){const _0x445070=Object['create'](Object['getPrototypeOf'](_0x124003));return _0x499b1e['set'](_0x124003,_0x445070),copyProperties(_0x445070,_0x124003,_0x374f9b,_0x499b1e,_0xeea50b),_0x445070;}return _0x124003;}function copyProperties(_0x44f3b4,_0x39f717,_0x50d895=_0x44f3b4,_0xb7cc19,_0x40f98a){const _0x10622c=[...Object['keys'](_0x39f717),...getSymbols(_0x39f717)];for(let _0x1d7d3d=0x0;_0x1d7d3d<_0x10622c['length'];_0x1d7d3d++){const _0x2d8ab1=_0x10622c[_0x1d7d3d],_0x46dc8f=Object['getOwnPropertyDescriptor'](_0x44f3b4,_0x2d8ab1);(null==_0x46dc8f||_0x46dc8f['writable'])&&(_0x44f3b4[_0x2d8ab1]=cloneDeepWithImpl(_0x39f717[_0x2d8ab1],_0x2d8ab1,_0x50d895,_0xb7cc19,_0x40f98a));}}function isCloneableObject(_0x3fb7f6){switch(getTag(_0x3fb7f6)){case argumentsTag:case _0x20a803:case _0x1b6646:case dataViewTag:case _0x5e00f9:case dateTag:case float32ArrayTag:case float64ArrayTag:case int8ArrayTag:case int16ArrayTag:case int32ArrayTag:case _0x3c8218:case _0x50f813:case objectTag:case _0x4a1256:case setTag:case stringTag:case _0x5e6dbc:case uint8ArrayTag:case uint8ClampedArrayTag:case uint16ArrayTag:case uint32ArrayTag:return!0x0;default:return!0x1;}}function cloneDeepWith(_0x7f00c4,_0x185748){return cloneDeepWith$1(_0x7f00c4,(_0x1ff285,_0xd0e710,_0x4fb8a3,_0x379f34)=>{const _0x52d74b=_0x185748?.(_0x1ff285,_0xd0e710,_0x4fb8a3,_0x379f34);if(void 0x0!==_0x52d74b)return _0x52d74b;if('object'==typeof _0x7f00c4){if(getTag(_0x7f00c4)===objectTag&&'function'!=typeof _0x7f00c4['constructor']){const _0x2edb16={};return _0x379f34['set'](_0x7f00c4,_0x2edb16),copyProperties(_0x2edb16,_0x7f00c4,_0x4fb8a3,_0x379f34),_0x2edb16;}switch(Object['prototype']['toString']['call'](_0x7f00c4)){case _0x50f813:case stringTag:case _0x5e00f9:{const _0xbce54a=new _0x7f00c4['constructor'](_0x7f00c4?.['valueOf']());return copyProperties(_0xbce54a,_0x7f00c4),_0xbce54a;}case argumentsTag:{const _0x503075={};return copyProperties(_0x503075,_0x7f00c4),_0x503075['length']=_0x7f00c4['length'],_0x503075[Symbol['iterator']]=_0x7f00c4[Symbol['iterator']],_0x503075;}default:return;}}});}function _0x564b70(_0x118e0f){return cloneDeepWith(_0x118e0f);}const _0xdcbbb9=/^(?:0|[1-9]\d*)$/;function _0x1dbc7f(_0x5db248,_0x500e65=Number['MAX_SAFE_INTEGER']){switch(typeof _0x5db248){case'number':return Number['isInteger'](_0x5db248)&&_0x5db248>=0x0&&_0x5db248<_0x500e65;case'symbol':return!0x1;case'string':return _0xdcbbb9['test'](_0x5db248);}}function isObjectLike(_0x12f195){return'object'==typeof _0x12f195&&null!==_0x12f195;}function _0xbe5079(_0x1c7642){return'symbol'==typeof _0x1c7642||_0x1c7642 instanceof Symbol;}function toNumber(_0x571612){return _0xbe5079(_0x571612)?NaN:Number(_0x571612);}function toFinite(_0x2729ab){if(!_0x2729ab)return 0x0===_0x2729ab?_0x2729ab:0x0;if((_0x2729ab=toNumber(_0x2729ab))===0x1/0x0||_0x2729ab===-0x1/0x0)return(_0x2729ab<0x0?-0x1:0x1)*Number['MAX_VALUE'];return _0x2729ab==_0x2729ab?_0x2729ab:0x0;}function toInteger(_0x50aa97){const _0x1b6f56=toFinite(_0x50aa97),_0x4c8421=_0x1b6f56%0x1;return _0x4c8421?_0x1b6f56-_0x4c8421:_0x1b6f56;}function flatten$1(_0x2fdbfc,_0xe9680d=0x1){const _0x49674e=[],_0x48b32e=Math['floor'](_0xe9680d);if(!_0x2a1fd9(_0x2fdbfc))return _0x49674e;const _0x1210d9=(_0x1db387,_0x5f29b0)=>{for(let _0x3efabb=0x0;_0x3efabb<_0x1db387['length'];_0x3efabb++){const _0xd48db1=_0x1db387[_0x3efabb];_0x5f29b0<_0x48b32e&&(Array['isArray'](_0xd48db1)||Boolean(_0xd48db1?.[Symbol['isConcatSpreadable']])||null!==_0xd48db1&&'object'==typeof _0xd48db1&&'[object\x20Arguments]'===Object['prototype']['toString']['call'](_0xd48db1))?Array['isArray'](_0xd48db1)?_0x1210d9(_0xd48db1,_0x5f29b0+0x1):_0x1210d9(Array['from'](_0xd48db1),_0x5f29b0+0x1):_0x49674e['push'](_0xd48db1);}};return _0x1210d9(Array['from'](_0x2fdbfc),0x0),_0x49674e;}const _0x300a1e=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,_0x582b4d=/^\w*$/;function _0x3817fe(_0x7aa2c9,_0x2c8d89){return!Array['isArray'](_0x7aa2c9)&&(!('number'!=typeof _0x7aa2c9&&'boolean'!=typeof _0x7aa2c9&&null!=_0x7aa2c9&&!_0xbe5079(_0x7aa2c9))||('string'==typeof _0x7aa2c9&&(_0x582b4d['test'](_0x7aa2c9)||!_0x300a1e['test'](_0x7aa2c9))||null!=_0x2c8d89&&Object['hasOwn'](_0x2c8d89,_0x7aa2c9)));}function unset(_0x4f690b,_0x13723d){if(null==_0x4f690b)return!0x0;switch(typeof _0x13723d){case'symbol':case'number':case'object':if(Array['isArray'](_0x13723d))return unsetWithPath(_0x4f690b,_0x13723d);if('number'==typeof _0x13723d?_0x13723d=toKey(_0x13723d):'object'==typeof _0x13723d&&(_0x13723d=Object['is'](_0x13723d?.['valueOf'](),-0x0)?'-0':String(_0x13723d)),isUnsafeProperty(_0x13723d))return!0x1;if(void 0x0===_0x4f690b?.[_0x13723d])return!0x0;try{return delete _0x4f690b[_0x13723d],!0x0;}catch{return!0x1;}case'string':if(void 0x0===_0x4f690b?.[_0x13723d]&&_0x25d2a4(_0x13723d))return unsetWithPath(_0x4f690b,toPath(_0x13723d));if(isUnsafeProperty(_0x13723d))return!0x1;try{return delete _0x4f690b[_0x13723d],!0x0;}catch{return!0x1;}}}function unsetWithPath(_0x7a4c5a,_0x124df7){const _0x24f00e=0x1===_0x124df7['length']?_0x7a4c5a:get(_0x7a4c5a,_0x124df7['slice'](0x0,-0x1)),_0x24b2e5=_0x124df7[_0x124df7['length']-0x1];if(void 0x0===_0x24f00e?.[_0x24b2e5])return!0x0;if(isUnsafeProperty(_0x24b2e5))return!0x1;try{return delete _0x24f00e[_0x24b2e5],!0x0;}catch{return!0x1;}}const _0x2963ca=(_0xbb4463,_0xd902cc,_0x3c9f43)=>{const _0x541dd6=_0xbb4463[_0xd902cc];Object['hasOwn'](_0xbb4463,_0xd902cc)&&_0x581fbd(_0x541dd6,_0x3c9f43)&&(void 0x0!==_0x3c9f43||_0xd902cc in _0xbb4463)||(_0xbb4463[_0xd902cc]=_0x3c9f43);};function updateWith(_0xbc6480,_0x2fa7d7,_0x593bfe,_0x423096){if(null==_0xbc6480&&!isObject$2(_0xbc6480))return _0xbc6480;let _0x123e0f;_0x123e0f=_0x3817fe(_0x2fa7d7,_0xbc6480)?[_0x2fa7d7]:Array['isArray'](_0x2fa7d7)?_0x2fa7d7:toPath(_0x2fa7d7);const _0x57f683=_0x593bfe(get(_0xbc6480,_0x123e0f));let _0x312c40=_0xbc6480;for(let _0x3a18cf=0x0;_0x3a18cf<_0x123e0f['length']&&null!=_0x312c40;_0x3a18cf++){const _0x114492=toKey(_0x123e0f[_0x3a18cf]);if(isUnsafeProperty(_0x114492))continue;let _0x3871f1;if(_0x3a18cf===_0x123e0f['length']-0x1)_0x3871f1=_0x57f683;else{const _0x30290c=_0x312c40[_0x114492],_0x4c9b33=_0x423096?.(_0x30290c,_0x114492,_0xbc6480);_0x3871f1=void 0x0!==_0x4c9b33?_0x4c9b33:isObject$2(_0x30290c)?_0x30290c:_0x1dbc7f(_0x123e0f[_0x3a18cf+0x1])?[]:{};}_0x2963ca(_0x312c40,_0x114492,_0x3871f1),_0x312c40=_0x312c40[_0x114492];}return _0xbc6480;}function set(_0x23ab7c,_0x12b0dd,_0x2be66d){return updateWith(_0x23ab7c,_0x12b0dd,()=>_0x2be66d,()=>{});}function _0x16fad7(_0x3f80cd,_0x1f0bb4,{signal:_0x2bf626,edges:_0xd1e86}={}){let _0x1df6b7,_0x2ad022=null;const _0x3b39df=null!=_0xd1e86&&_0xd1e86['includes']('leading'),_0x15d3a3=null==_0xd1e86||_0xd1e86['includes']('trailing'),_0x1a4ce6=()=>{null!==_0x2ad022&&(_0x3f80cd['apply'](_0x1df6b7,_0x2ad022),_0x1df6b7=void 0x0,_0x2ad022=null);};let _0x5627b0=null;const _0x38d617=()=>{null!=_0x5627b0&&clearTimeout(_0x5627b0),_0x5627b0=setTimeout(()=>{_0x5627b0=null,_0x15d3a3&&_0x1a4ce6(),_0x25a6d7();},_0x1f0bb4);},_0x25a6d7=()=>{null!==_0x5627b0&&(clearTimeout(_0x5627b0),_0x5627b0=null),_0x1df6b7=void 0x0,_0x2ad022=null;},_0x4a8afc=function(..._0x560dce){if(_0x2bf626?.['aborted'])return;_0x1df6b7=this,_0x2ad022=_0x560dce;const _0x875598=null==_0x5627b0;_0x38d617(),_0x3b39df&&_0x875598&&_0x1a4ce6();};return _0x4a8afc['schedule']=_0x38d617,_0x4a8afc['cancel']=_0x25a6d7,_0x4a8afc['flush']=()=>{_0x1a4ce6();},_0x2bf626?.['addEventListener']('abort',_0x25a6d7,{'once':!0x0}),_0x4a8afc;}function _0x3aca90(_0x14199a,_0x40f8c0=0x0,_0x5443ac={}){'object'!=typeof _0x5443ac&&(_0x5443ac={});const {leading:_0xc2ff3d=!0x1,trailing:_0x5a65a3=!0x0,maxWait:_0x4da80b}=_0x5443ac,_0x49fb5e=Array(0x2);let _0x470d77;_0xc2ff3d&&(_0x49fb5e[0x0]='leading'),_0x5a65a3&&(_0x49fb5e[0x1]='trailing');let _0x527944=null;const _0x4719bc=_0x16fad7(function(..._0xa35044){_0x470d77=_0x14199a['apply'](this,_0xa35044),_0x527944=null;},_0x40f8c0,{'edges':_0x49fb5e}),_0x2849a3=function(..._0x243e29){return null!=_0x4da80b&&(null===_0x527944&&(_0x527944=Date['now']()),Date['now']()-_0x527944>=_0x4da80b)?(_0x470d77=_0x14199a['apply'](this,_0x243e29),_0x527944=Date['now'](),_0x4719bc['cancel'](),_0x4719bc['schedule'](),_0x470d77):(_0x4719bc['apply'](this,_0x243e29),_0x470d77);};return _0x2849a3['cancel']=_0x4719bc['cancel'],_0x2849a3['flush']=()=>(_0x4719bc['flush'](),_0x470d77),_0x2849a3;}function throttle(_0x168c12,_0x11c043=0x0,_0x28926b={}){const {leading:_0x11fe43=!0x0,trailing:_0x29836d=!0x0}=_0x28926b;return _0x3aca90(_0x168c12,_0x11c043,{'leading':_0x11fe43,'maxWait':_0x11c043,'trailing':_0x29836d});}function isPlainObject$1(_0x1e6d86){if(!_0x1e6d86||'object'!=typeof _0x1e6d86)return!0x1;const _0x138257=Object['getPrototypeOf'](_0x1e6d86);return!(null!==_0x138257&&_0x138257!==Object['prototype']&&null!==Object['getPrototypeOf'](_0x138257))&&'[object\x20Object]'===Object['prototype']['toString']['call'](_0x1e6d86);}function isEqualWith(_0x4b9b1b,_0x1d2cfb,_0x4d14b2){return isEqualWithImpl(_0x4b9b1b,_0x1d2cfb,void 0x0,void 0x0,void 0x0,void 0x0,_0x4d14b2);}function isEqualWithImpl(_0x273aee,_0x34ecc7,_0x2590c5,_0x539423,_0x55a0ff,_0x34009c,_0xd3c110){const _0x15fb43=_0xd3c110(_0x273aee,_0x34ecc7,_0x2590c5,_0x539423,_0x55a0ff,_0x34009c);if(void 0x0!==_0x15fb43)return _0x15fb43;if(typeof _0x273aee==typeof _0x34ecc7)switch(typeof _0x273aee){case'bigint':case'string':case'boolean':case'symbol':case'undefined':case'function':return _0x273aee===_0x34ecc7;case'number':return _0x273aee===_0x34ecc7||Object['is'](_0x273aee,_0x34ecc7);case'object':return areObjectsEqual(_0x273aee,_0x34ecc7,_0x34009c,_0xd3c110);}return areObjectsEqual(_0x273aee,_0x34ecc7,_0x34009c,_0xd3c110);}function areObjectsEqual(_0x580b29,_0x5a9e04,_0x21ba25,_0x27d360){if(Object['is'](_0x580b29,_0x5a9e04))return!0x0;let _0x3fd76b=getTag(_0x580b29),_0x3834b5=getTag(_0x5a9e04);if(_0x3fd76b===argumentsTag&&(_0x3fd76b=objectTag),_0x3834b5===argumentsTag&&(_0x3834b5=objectTag),_0x3fd76b!==_0x3834b5)return!0x1;switch(_0x3fd76b){case stringTag:return _0x580b29['toString']()===_0x5a9e04['toString']();case _0x50f813:return _0x581fbd(_0x580b29['valueOf'](),_0x5a9e04['valueOf']());case _0x5e00f9:case dateTag:case _0x5e6dbc:return Object['is'](_0x580b29['valueOf'](),_0x5a9e04['valueOf']());case _0x4a1256:return _0x580b29['source']===_0x5a9e04['source']&&_0x580b29['flags']===_0x5a9e04['flags'];case functionTag:return _0x580b29===_0x5a9e04;}const _0x2d4ceb=(_0x21ba25=_0x21ba25??new Map())['get'](_0x580b29),_0x53c61a=_0x21ba25['get'](_0x5a9e04);if(null!=_0x2d4ceb&&null!=_0x53c61a)return _0x2d4ceb===_0x5a9e04;_0x21ba25['set'](_0x580b29,_0x5a9e04),_0x21ba25['set'](_0x5a9e04,_0x580b29);try{switch(_0x3fd76b){case _0x3c8218:if(_0x580b29['size']!==_0x5a9e04['size'])return!0x1;for(const [_0x36f261,_0x3735e3]of _0x580b29['entries']())if(!_0x5a9e04['has'](_0x36f261)||!isEqualWithImpl(_0x3735e3,_0x5a9e04['get'](_0x36f261),_0x36f261,_0x580b29,_0x5a9e04,_0x21ba25,_0x27d360))return!0x1;return!0x0;case setTag:{if(_0x580b29['size']!==_0x5a9e04['size'])return!0x1;const _0x161f6b=Array['from'](_0x580b29['values']()),_0x24902a=Array['from'](_0x5a9e04['values']());for(let _0xcd30cb=0x0;_0xcd30cb<_0x161f6b['length'];_0xcd30cb++){const _0x4899e8=_0x161f6b[_0xcd30cb],_0x4ae93a=_0x24902a['findIndex'](_0x4b4238=>isEqualWithImpl(_0x4899e8,_0x4b4238,void 0x0,_0x580b29,_0x5a9e04,_0x21ba25,_0x27d360));if(-0x1===_0x4ae93a)return!0x1;_0x24902a['splice'](_0x4ae93a,0x1);}return!0x0;}case _0x20a803:case uint8ArrayTag:case uint8ClampedArrayTag:case uint16ArrayTag:case uint32ArrayTag:case bigUint64ArrayTag:case int8ArrayTag:case int16ArrayTag:case int32ArrayTag:case bigInt64ArrayTag:case float32ArrayTag:case float64ArrayTag:if('undefined'!=typeof Buffer&&Buffer['isBuffer'](_0x580b29)!==Buffer['isBuffer'](_0x5a9e04))return!0x1;if(_0x580b29['length']!==_0x5a9e04['length'])return!0x1;for(let _0x4e71e1=0x0;_0x4e71e1<_0x580b29['length'];_0x4e71e1++)if(!isEqualWithImpl(_0x580b29[_0x4e71e1],_0x5a9e04[_0x4e71e1],_0x4e71e1,_0x580b29,_0x5a9e04,_0x21ba25,_0x27d360))return!0x1;return!0x0;case _0x1b6646:return _0x580b29['byteLength']===_0x5a9e04['byteLength']&&areObjectsEqual(new Uint8Array(_0x580b29),new Uint8Array(_0x5a9e04),_0x21ba25,_0x27d360);case dataViewTag:return _0x580b29['byteLength']===_0x5a9e04['byteLength']&&_0x580b29['byteOffset']===_0x5a9e04['byteOffset']&&areObjectsEqual(new Uint8Array(_0x580b29),new Uint8Array(_0x5a9e04),_0x21ba25,_0x27d360);case _0x4f8a2d:return _0x580b29['name']===_0x5a9e04['name']&&_0x580b29['message']===_0x5a9e04['message'];case objectTag:{if(!(areObjectsEqual(_0x580b29['constructor'],_0x5a9e04['constructor'],_0x21ba25,_0x27d360)||isPlainObject$1(_0x580b29)&&isPlainObject$1(_0x5a9e04)))return!0x1;const _0x77cb7e=[...Object['keys'](_0x580b29),...getSymbols(_0x580b29)],_0xa6279d=[...Object['keys'](_0x5a9e04),...getSymbols(_0x5a9e04)];if(_0x77cb7e['length']!==_0xa6279d['length'])return!0x1;for(let _0x1c1a69=0x0;_0x1c1a69<_0x77cb7e['length'];_0x1c1a69++){const _0x286503=_0x77cb7e[_0x1c1a69],_0x39ace0=_0x580b29[_0x286503];if(!Object['hasOwn'](_0x5a9e04,_0x286503))return!0x1;if(!isEqualWithImpl(_0x39ace0,_0x5a9e04[_0x286503],_0x286503,_0x580b29,_0x5a9e04,_0x21ba25,_0x27d360))return!0x1;}return!0x0;}default:return!0x1;}}finally{_0x21ba25['delete'](_0x580b29),_0x21ba25['delete'](_0x5a9e04);}}function _0x29fc73(){}function _0x3cd9dc(_0x35d904,_0x48eb24){return isEqualWith(_0x35d904,_0x48eb24,_0x29fc73);}function _0x2df638(_0x14e0e4){return'undefined'!=typeof Buffer&&Buffer['isBuffer'](_0x14e0e4);}function isPrototype(_0x1a3aa6){const _0x36a452=_0x1a3aa6?.['constructor'];return _0x1a3aa6===('function'==typeof _0x36a452?_0x36a452['prototype']:Object['prototype']);}function _0x116ab7(_0x2bf290){return _0x15899b(_0x2bf290);}function times(_0x267758,_0x2fcda6){if((_0x267758=toInteger(_0x267758))<0x1||!Number['isSafeInteger'](_0x267758))return[];const _0xed38a1=new Array(_0x267758);for(let _0x4b4a6e=0x0;_0x4b4a6e<_0x267758;_0x4b4a6e++)_0xed38a1[_0x4b4a6e]='function'==typeof _0x2fcda6?_0x2fcda6(_0x4b4a6e):_0x4b4a6e;return _0xed38a1;}function _0x237774(_0x356bb3){if(null==_0x356bb3)return[];switch(typeof _0x356bb3){case'object':case'function':return _0x2a1fd9(_0x356bb3)?_0x15395b(_0x356bb3):isPrototype(_0x356bb3)?prototypeKeysIn(_0x356bb3):_0xe6c65d(_0x356bb3);default:return _0xe6c65d(Object(_0x356bb3));}}function _0xe6c65d(_0x44f616){const _0x4ccb78=[];for(const _0x1ef43d in _0x44f616)_0x4ccb78['push'](_0x1ef43d);return _0x4ccb78;}function prototypeKeysIn(_0x304daa){return _0xe6c65d(_0x304daa)['filter'](_0x4548e0=>'constructor'!==_0x4548e0);}function _0x15395b(_0x495dce){const _0x2ef06b=times(_0x495dce['length'],_0xd9fd42=>''+_0xd9fd42),_0x351a34=new Set(_0x2ef06b);_0x2df638(_0x495dce)&&(_0x351a34['add']('offset'),_0x351a34['add']('parent')),_0x116ab7(_0x495dce)&&(_0x351a34['add']('buffer'),_0x351a34['add']('byteLength'),_0x351a34['add']('byteOffset'));const _0x70f03f=_0xe6c65d(_0x495dce)['filter'](_0x4e5dec=>!_0x351a34['has'](_0x4e5dec));return Array['isArray'](_0x495dce)?[..._0x2ef06b,..._0x70f03f]:[..._0x2ef06b['filter'](_0x20a3ad=>Object['hasOwn'](_0x495dce,_0x20a3ad)),..._0x70f03f];}function isPlainObject(_0x564403){if('object'!=typeof _0x564403)return!0x1;if(null==_0x564403)return!0x1;if(null===Object['getPrototypeOf'](_0x564403))return!0x0;if('[object\x20Object]'!==Object['prototype']['toString']['call'](_0x564403)){const _0x2bcd8e=_0x564403[Symbol['toStringTag']];if(null==_0x2bcd8e)return!0x1;return!!Object['getOwnPropertyDescriptor'](_0x564403,Symbol['toStringTag'])?.['writable']&&_0x564403['toString']()==='[object\x20'+_0x2bcd8e+']';}let _0x784dbf=_0x564403;for(;null!==Object['getPrototypeOf'](_0x784dbf);)_0x784dbf=Object['getPrototypeOf'](_0x784dbf);return Object['getPrototypeOf'](_0x564403)===_0x784dbf;}function getSymbolsIn(_0x5df38e){const _0x379607=[];for(;_0x5df38e;)_0x379607['push'](...getSymbols(_0x5df38e)),_0x5df38e=Object['getPrototypeOf'](_0x5df38e);return _0x379607;}function omit(_0x1e3cf4,..._0x5d3f34){if(null==_0x1e3cf4)return{};const _0xd5372b=cloneInOmit(_0x1e3cf4,_0x5d3f34=flatten$1(_0x5d3f34));for(let _0x118d3b=0x0;_0x118d3b<_0x5d3f34['length'];_0x118d3b++){let _0x3a48e8=_0x5d3f34[_0x118d3b];switch(typeof _0x3a48e8){case'object':Array['isArray'](_0x3a48e8)||(_0x3a48e8=Array['from'](_0x3a48e8));for(let _0x4ab043=0x0;_0x4ab043<_0x3a48e8['length'];_0x4ab043++){unset(_0xd5372b,_0x3a48e8[_0x4ab043]);}break;case'string':case'symbol':case'number':unset(_0xd5372b,_0x3a48e8);}}return _0xd5372b;}function cloneInOmit(_0x3cec5f,_0x29cd39){return _0x29cd39['some'](_0x5c1ddb=>Array['isArray'](_0x5c1ddb)||_0x25d2a4(_0x5c1ddb))?deepCloneInOmit(_0x3cec5f):shallowCloneInOmit(_0x3cec5f);}function shallowCloneInOmit(_0x1d3fbc){const _0x253285={},_0x5dfa9c=[..._0x237774(_0x1d3fbc),...getSymbolsIn(_0x1d3fbc)];for(let _0x3521ae=0x0;_0x3521ae<_0x5dfa9c['length'];_0x3521ae++){const _0x124ec=_0x5dfa9c[_0x3521ae];_0x253285[_0x124ec]=_0x1d3fbc[_0x124ec];}return _0x253285;}function deepCloneInOmit(_0x1343e3){const _0x547e18={},_0x53bc66=[..._0x237774(_0x1343e3),...getSymbolsIn(_0x1343e3)];for(let _0x462ec1=0x0;_0x462ec1<_0x53bc66['length'];_0x462ec1++){const _0x5944e2=_0x53bc66[_0x462ec1];_0x547e18[_0x5944e2]=cloneDeepWith(_0x1343e3[_0x5944e2],_0x44a4e5=>{if(!isPlainObject(_0x44a4e5))return _0x44a4e5;});}return _0x547e18;}function isElement$2(_0x3f76d4){return isObjectLike(_0x3f76d4)&&0x1===_0x3f76d4['nodeType']&&!isPlainObject(_0x3f76d4);}const htmlEscapes={'&':'&amp;','<':'&lt;','>':'&gt;','\x22':'&quot;','\x27':'&#39;'};function _0x144c4f(_0x2c31b9){return _0x2c31b9['replace'](/[&<>"']/g,_0xd1ca1f=>htmlEscapes[_0xd1ca1f]);}function _0x5c261b(_0x491f06){return _0x144c4f(toString$3(_0x491f06));}function _0x3f6f2e(_0x55b7a7){return _0x55b7a7['replace'](/[\\^$.*+?()[\]{}|]/g,'\x5c$&');}function _0x205a41(_0x29b449){return _0x3f6f2e(toString$3(_0x29b449));}const htmlUnescapes={'&amp;':'&','&lt;':'<','&gt;':'>','&quot;':'\x22','&#39;':'\x27'};function _0x424e0c(_0x5d4eca){return _0x5d4eca['replace'](/&(?:amp|lt|gt|quot|#(0+)?39);/g,_0x39665d=>htmlUnescapes[_0x39665d]||'\x27');}function _0x8adbe4(_0x5c985e){return _0x424e0c(toString$3(_0x5c985e));}class AIHistoryListItemView extends ckeditor5['ListItemView']{constructor(_0x4df383){super();const _0x2de3e5=new ckeditor5['ButtonLabelView'](),_0x34c8fd=new ckeditor5['ButtonView'](this['locale'],_0x2de3e5);this['children']['add'](_0x34c8fd),_0x34c8fd['set']({'label':_0x4df383['prompt'],'withText':!0x0}),_0x34c8fd['on']('execute',()=>{this['fire']('execute',{'value':_0x8adbe4(_0x4df383['prompt'])});});}}const _0x19b9c0='CKEditor/AIFormView/PromptHistory',_0x47513a=0x14;class PromptHistory extends ckeditor5['Collection']{constructor(){super(),this['_loadFromSessionStorage'](),this['on']('add',(_0xd7f164,_0x43c8e2)=>{const _0x43cf9f=normalizePromptText(_0x43c8e2['prompt']);for(const _0x9742c2 of this)if(_0x9742c2!=_0x43c8e2&&normalizePromptText(_0x9742c2['prompt'])===_0x43cf9f){this['remove'](_0x9742c2);break;}this['length']>_0x47513a&&this['remove'](this['last']),this['_saveToSessionStorage']();}),this['on']('remove',()=>{this['_saveToSessionStorage']();});}['_loadFromSessionStorage'](){const _0x1d0126=sessionStorage['getItem'](_0x19b9c0)||'[]';this['addMany'](JSON['parse'](_0x1d0126));}['_saveToSessionStorage'](){sessionStorage['setItem'](_0x19b9c0,JSON['stringify'](this['map'](_0xafc121=>_0xafc121)));}}function normalizePromptText(_0x266d49){return _0x266d49['toLowerCase']()['trim']();}class _0x200743 extends ckeditor5['View']{['focusTracker'];['keystrokes'];['contentArea'];['toolbar'];['promptView'];['errorView'];['_focusables'];['focusCycler'];['_promptHistory'];constructor(_0x35b2f2,_0x293655,_0xa679dd=''){super(_0x35b2f2),this['set']('isEnabled',!0x0),this['set']('isProcessing',!0x1),this['set']('prompt',''),this['set']('value',''),this['set']('isError',!0x1),this['set']('mainAction',AIFormToolbarViewMainActionLabel['REPLACE']),this['_promptHistory']=new PromptHistory(),this['errorView']=new _0x1c5cf9(_0x35b2f2),this['contentArea']=new AIFormContentArea(_0x35b2f2,_0xa679dd),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 ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['_focusables']=this['createCollection']([this['contentArea'],this['contentArea']['copyButtonView'],this['toolbar'],this['promptView']]),this['focusCycler']=new ckeditor5['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 _0x4960e8=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form',_0x293655],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-form-content']},'children':[{'tag':'div','attributes':{'class':[_0x4960e8['if']('isError','ck-hidden',_0xa0bcf0=>!_0xa0bcf0)]},'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'](_0x46aed9=0x1){-0x1===_0x46aed9?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 _0x3881b3=this['locale'],_0x39cac3=new AIFormPromptView(_0x3881b3,{'queryView':{'label':getTranslation$j(_0x3881b3,'Ask\x20AI\x20to\x20edit\x20or\x20generate'),'creator':ckeditor5['createLabeledTextarea'],'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':getTranslation$j(_0x3881b3,'Empty\x20history'),'secondary':getTranslation$j(_0x3881b3,'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.')}}},'filteredView':this['_createHistoryView'](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x39cac3['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',(_0x59b029,_0x2199c1)=>_0x59b029&&!_0x2199c1),this['listenTo'](_0x39cac3,'submit',(_0x9a6b5b,_0x578c11)=>{this['prompt']=_0x578c11;const _0x1a2ff1=_0x5c261b(_0x578c11);this['fire']('submitPrompt',_0x1a2ff1),_0x578c11['trim']()&&this['_promptHistory']['add']({'prompt':_0x1a2ff1},0x0);},{'priority':'high'}),_0x39cac3;}['_createHistoryView'](){const _0x4a4ffd=new AIHistoryListView(this['locale']);return _0x4a4ffd['historyGroupView']['items']['bindTo'](this['_promptHistory'])['as'](AIHistoryListItemView),_0x4a4ffd['on']('clearHistory',()=>{this['_promptHistory']['clear'](),this['promptView']['search'](''),this['promptView']['focus']();}),_0x4a4ffd;}['_createToolbar'](){const _0x303885=new _0x5bbf90(this['locale']);return _0x303885['replaceButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',this,'value',(_0x37cd69,_0x2cb1d6,_0x4d64f5)=>_0x37cd69&&!_0x2cb1d6&&!!_0x4d64f5),_0x303885['replaceButton']['delegate']('execute')['to'](this,'replaceContent'),_0x303885['insertButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',this,'value',(_0x512d1e,_0x1281f0,_0x392f87)=>_0x512d1e&&!_0x1281f0&&!!_0x392f87),_0x303885['insertButton']['delegate']('execute')['to'](this,'insertContentBelow'),_0x303885['tryAgainButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',(_0x1e7ad8,_0x1e7678)=>_0x1e7ad8&&!_0x1e7678),_0x303885['tryAgainButton']['delegate']('execute')['to'](this,'tryAgainEvent'),_0x303885['stopButton']['bind']('isEnabled')['to'](this,'isProcessing'),_0x303885['stopButton']['delegate']('execute')['to'](this,'stopProcessing'),_0x303885;}['startProcessing'](){this['value']='',this['isError']=!0x1,this['isProcessing']=!0x0,this['contentArea']['isVisible']=!0x0,this['toolbar']['isVisible']=!0x0,this['contentArea']['focus']();}['finishProcessing'](){const _0x4f478c=this['locale'];this['isProcessing']=!0x1,this['prompt']='',this['promptView']['reset'](),this['value']&&(this['promptView']['queryView']['label']=getTranslation$j(_0x4f478c,'Ask\x20AI\x20to\x20improve\x20generated\x20text'));}['handleError'](_0x94aa31){const _0x598bca=this['locale'];this['finishProcessing'](),this['isError']=!0x0,this['errorView']['text']=_0x94aa31||getTranslation$j(_0x598bca,'AI_ERROR_FAILED'),this['value']||(this['contentArea']['isVisible']=!0x1);}}const DomDataTransfer=globalThis['DataTransfer'];class AIAssistantUI extends ckeditor5['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[ckeditor5['ClipboardMarkersUtils'],AIAssistantEditing,AIAdapter,ckeditor5['Dialog']];}constructor(_0x41af26){super(_0x41af26),_0x41af26['config']['define']('ai.assistant.disabledElements',['media','rawHtml','tableOfContents']),_0x41af26['config']['define']('ai.assistant.contentAreaCssClass',''),_0x41af26['config']['define']('ai.assistant.useTheme',!0x0),this['_uiCssClasses']='ck-ai-assistant-ui'+(_0x41af26['config']['get']('ai.assistant.useTheme')?'\x20ck-ai-assistant-ui_theme':'');}['init'](){const {editor:_0x1becf7}=this;this['_aiAdapter']=_0x1becf7['plugins']['get'](AIAdapter),this['_dialog']=_0x1becf7['plugins']['get'](ckeditor5['Dialog']),this['_formView']=null,this['_commandDefinitions']=this['_getResolvedCommandsDefinitions']();const _0x45eabe=new ShowAIAssistantCommand(_0x1becf7,Array['from'](this['_commandDefinitions']['values']()));_0x1becf7['commands']['add']('showAIAssistant',_0x45eabe),_0x1becf7['ui']['componentFactory']['add']('aiCommands',_0x1ec8f8=>{const _0xac80ea=ckeditor5['createDropdown'](_0x1ec8f8);return _0xac80ea['set']({'class':'ck-ai-commands-dropdown\x20'+this['_uiCssClasses']}),_0xac80ea['buttonView']['set']({'label':getTranslation$j(_0x1ec8f8,'AI\x20Commands'),'icon':ckeditor5['IconMagicWand'],'tooltip':!0x0}),_0xac80ea['on']('execute',_0x3cc469=>this['_onExecute'](_0x3cc469['source']['id'])),ckeditor5['addMenuToDropdown'](_0xac80ea,_0x1becf7['ui']['view']['body'],getMenuDropdownDefinition(_0x1becf7),{'ariaLabel':getTranslation$j(_0x1ec8f8,'AI\x20Commands')}),_0xac80ea['menuView']['menuPanelClass']='ck-ai-commands-dropdown\x20'+this['_uiCssClasses'],_0x45eabe['on']('change:enabledCommandsIds',_0x3de38e),_0xac80ea['menuView']['once']('render',_0x3de38e),_0xac80ea;function _0x3de38e(){_0xac80ea['isEnabled']=_0x45eabe['enabledCommandsIds']['length']>0x0;for(const _0x479071 of _0xac80ea['menuView']['buttons'])_0x479071['isEnabled']=_0x45eabe['enabledCommandsIds']['includes'](_0x479071['id']);}}),_0x1becf7['ui']['componentFactory']['add']('menuBar:aiCommands',_0x355d68=>{const _0x1a33e6=new ckeditor5['MenuBarMenuView'](_0x355d68);_0x1a33e6['buttonView']['set']({'label':getTranslation$j(_0x355d68,'AI\x20Commands'),'icon':ckeditor5['IconMagicWand']}),_0x1a33e6['bind']('isEnabled')['to'](_0x45eabe,'enabledCommandsIds',_0x561286=>_0x561286['length']>0x0);const _0x299328=_0x4993de(_0x1becf7['config']['get']('ai.assistant.commands'),_0x355d68);return this['_populateMenuBarMenu'](_0x45eabe,_0x1a33e6,_0x299328,_0x3073f0=>this['_onExecute'](_0x3073f0)),_0x1a33e6;}),_0x1becf7['ui']['componentFactory']['add']('aiAssistant',()=>{const _0x4be199=this['_createAIAssistantUIButton'](ckeditor5['ButtonView']);return _0x4be199['set']({'tooltip':!0x0,'class':'ck-ai-assistant-button\x20'+this['_uiCssClasses']}),_0x4be199;}),_0x1becf7['ui']['componentFactory']['add']('menuBar:aiAssistant',()=>{const _0x2e42d8=this['_createAIAssistantUIButton'](ckeditor5['MenuBarMenuListItemButtonView']);return _0x2e42d8['set']({'role':'menuitemcheckbox'}),_0x2e42d8;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3107d0=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x59ec9b;for(const _0x460032 in _0x3107d0){const _0x434c11=_0x460032,_0x43a6aa=_0x3107d0[_0x434c11];if('aiLicenseKeyValid'==_0x43a6aa||'aiLicenseKeyInvalid'==_0x43a6aa||'aiLicenseKeyExpired'==_0x43a6aa||'aiLicenseKeyDomainLimit'==_0x43a6aa||'aiLicenseKeyNotAllowed'==_0x43a6aa||'aiLicenseKeyEvaluationLimit'==_0x43a6aa||'aiLicenseKeyUsageLimit'==_0x43a6aa){delete _0x3107d0[_0x434c11],_0x59ec9b=_0x43a6aa,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'aiLicenseKeyInvalid'==_0x59ec9b&&_0x3107d0['_showLicenseError']('invalid'),'aiLicenseKeyExpired'==_0x59ec9b&&_0x3107d0['_showLicenseError']('expired'),'aiLicenseKeyDomainLimit'==_0x59ec9b&&_0x3107d0['_showLicenseError']('domainLimit'),'aiLicenseKeyNotAllowed'==_0x59ec9b&&_0x3107d0['_showLicenseError']('featureNotAllowed','AIAssistant'),'aiLicenseKeyEvaluationLimit'==_0x59ec9b&&_0x3107d0['_showLicenseError']('evaluationLimit'),'aiLicenseKeyUsageLimit'==_0x59ec9b&&_0x3107d0['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['showUI'](_0x33295e='',_0x3e475f='',_0x48a584='custom'){const _0x2e2f5d=this['editor'],_0xe532d7=_0x2e2f5d['editing']['view'],_0x5bb8f1=_0x2e2f5d['plugins']['get'](AIAssistantEditing),_0x373260=_0x2e2f5d['plugins']['get'](ckeditor5['ClipboardMarkersUtils']);_0x5bb8f1['showFakeVisualSelection']();const _0x264a42=new DomDataTransfer(),_0x2152d7=new ClipboardEvent('copy',{'clipboardData':_0x264a42}),_0x341786=new ckeditor5['ViewDataTransfer'](_0x264a42),_0x4aa036=new ckeditor5['ViewDocumentDomEventData'](_0xe532d7,_0x2152d7,{'dataTransfer':_0x341786});_0x373260['_forceMarkersCopy']('comment',()=>{_0xe532d7['document']['fire']('copy',_0x4aa036);}),this['_formView']||(this['_initView'](),this['_aiAssistantController']=new AIAssistantController(_0x2e2f5d,this['_aiAdapter']['textAdapter'],this['_formView']));let _0xeb602a=_0x341786['getData']('text/html');const _0x52243b=_0x2e2f5d['model']['document']['selection'],_0x5125cd=Array['from'](_0x52243b['getRanges']());0x1===_0x5125cd['length']&&_0x5125cd[0x0]['isFlat']&&!_0x52243b['getSelectedElement']()&&''!==_0xeb602a['replace'](/&nbsp;/g,'')['trim']()&&(_0xeb602a='<p>'+_0xeb602a+'</p>'),this['_aiAssistantController']['updateView']({'actionId':_0x48a584,'query':_0x33295e,'htmlContent':_0xeb602a,'label':_0x3e475f,'mainActionLabel':AIFormToolbarViewMainActionLabel[_0x2e2f5d['model']['document']['selection']['isCollapsed']?'INSERT':'REPLACE']}),'aiAssistant'!==this['_dialog']['id']?this['_dialog']['show']({'id':'aiAssistant','icon':ckeditor5['IconRobotPencil'],'title':getTranslation$j(this['editor']['locale'],'AI\x20Assistant'),'content':this['_formView'],'position':ckeditor5['DialogViewPosition']['EDITOR_TOP_SIDE'],'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_aiAssistantController']['reset'](),_0x5bb8f1['hideFakeVisualSelection']();}}):this['_dialog']['view']['wasMoved']||this['_dialog']['view']['updatePosition']();}['hideUI'](){this['_dialog']['hide']();}['_getResolvedCommandsDefinitions'](){const _0x21b21f=new Map(),_0x4240bd=_0x4993de(this['editor']['config']['get']('ai.assistant.commands'),this['editor']['locale']);for(const _0x3e377c of _0x4240bd)for(const _0x55ee45 of _0x3e377c['commands'])_0x21b21f['set'](_0x55ee45['id'],{..._0x55ee45,'groupId':_0x3e377c['groupId'],'groupLabel':_0x3e377c['groupLabel']||_0x3e377c['groupId']});return _0x21b21f;}['_createAIAssistantUIButton'](_0x2f86b6){const _0x46bc5e=this['editor'],_0x593fae=_0x46bc5e['commands']['get']('showAIAssistant'),_0x1884b1=new _0x2f86b6(_0x46bc5e['locale']);return _0x1884b1['set']({'label':getTranslation$j(_0x46bc5e['locale'],'AI\x20Assistant'),'icon':ckeditor5['IconRobotPencil'],'isToggleable':!0x0}),_0x1884b1['bind']('isEnabled')['to'](_0x593fae),_0x1884b1['bind']('isOn')['to'](this['_dialog'],'id',_0x33f6d8=>'aiAssistant'===_0x33f6d8),this['listenTo'](_0x1884b1,'execute',()=>{_0x1884b1['isOn']?this['hideUI']():_0x593fae['execute']();}),_0x1884b1;}['_initView'](){const _0x13b011=this['editor']['plugins']['get'](AIAssistantEditing);this['_formView']=new _0x200743(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',()=>{_0x13b011['insertContent'](this['_aiAssistantController']['currentContext']),this['hideUI']();}),this['listenTo'](this['_formView'],'insertContentBelow',()=>{_0x13b011['insertContentBelow'](this['_aiAssistantController']['currentContext']),this['hideUI']();}),this['_initAriaAiStatusChangeAnnouncements']();}['_initAriaAiStatusChangeAnnouncements'](){const {locale:_0x2f72ff,ui:{ariaLiveAnnouncer:_0x151e57}}=this['editor'];this['_formView']['contentArea']['on']('change:isProcessing',(_0x387533,_0x30015a,_0x2d83ef)=>{const _0x3e4560=this['_aiAssistantController']['currentContext'];_0x2d83ef?_0x151e57['announce'](getTranslation$j(_0x2f72ff,'AI\x20is\x20writing')):_0x3e4560&&_0x151e57['announce'](getTranslation$j(_0x2f72ff,'Generated\x20content:\x20%0',_0x3e4560),{'politeness':'polite','isUnsafeHTML':!0x0});}),this['_formView']['on']('change:isError',(_0x45c2b8,_0xab124a,_0x1817b5)=>{if(_0x1817b5){const _0x3ec2e8=this['_formView']['errorView']['text'];_0x151e57['announce'](getTranslation$j(_0x2f72ff,'Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x3ec2e8));}});}['_onExecute'](_0x3d8a18){const _0x3e6a29=this['_commandDefinitions']['get'](_0x3d8a18),_0x24969b=this['editor'],_0x5e147a=_0x24969b['model']['document']['selection'],_0x199a36=_0x24969b['commands']['get']('showAIAssistant'),_0x568120=_0x24969b['plugins']['get'](AIAssistantEditing),_0x12ca59=''+(_0x3e6a29['groupId']!==_0x549543?_0x3e6a29['groupLabel']+':\x20':'')+_0x3e6a29['label'];if(!0x1!==_0x3e6a29['requiresContent']&&_0x5e147a['isCollapsed']){const _0x40a159=ckeditor5['first'](_0x5e147a['getSelectedBlocks']())||_0x24969b['model']['schema']['getLimitElement'](_0x5e147a);_0x24969b['model']['change'](_0x5d5674=>{_0x5d5674['setSelection'](_0x40a159,'in');});}_0x568120['showFakeVisualSelection'](),_0x199a36['execute'](_0x3e6a29['prompt'],_0x12ca59,'command:'+_0x3d8a18);}['_populateMenuBarMenu'](_0x42567a,_0x450f21,_0xbc4128,_0x14782f){const _0x47af53=this['editor'],_0x4df7fc=_0x47af53['locale'],_0x377ed4=new ckeditor5['MenuBarMenuListView'](_0x4df7fc),_0x131fdb=sortDefinitionsByOrder(_0x47af53,_0xbc4128)['filter'](_0x22f9d2=>_0x22f9d2['commands']['length']);0x1===_0x131fdb['length']?this['_getMenuBarGroupButtons']({'command':_0x42567a,'commands':_0x131fdb[0x0]['commands'],'parentMenuView':_0x450f21,'onExecute':_0x14782f})['forEach'](_0x4d8c0f=>_0x377ed4['items']['add'](_0x4d8c0f)):_0x131fdb['forEach'](({groupId:_0x51a1c1,groupLabel:_0x425503,commands:_0x1d3a0e})=>{const _0x37f213=new ckeditor5['MenuBarMenuListItemView'](_0x4df7fc,_0x450f21),_0x14b6fb=new ckeditor5['MenuBarMenuView'](_0x4df7fc),_0x224d04=new ckeditor5['MenuBarMenuListView'](_0x4df7fc),_0x3c9ebc=this['_getMenuBarGroupButtons']({'command':_0x42567a,'commands':_0x1d3a0e,'parentMenuView':_0x14b6fb,'onExecute':_0x14782f});_0x14b6fb['buttonView']['set']({'label':_0x425503||_0x51a1c1}),_0x14b6fb['delegate']('execute')['to'](_0x450f21),_0x224d04['items']['addMany'](_0x3c9ebc),_0x14b6fb['panelView']['children']['add'](_0x224d04),_0x37f213['children']['add'](_0x14b6fb),_0x377ed4['items']['add'](_0x37f213);}),_0x450f21['panelView']['children']['add'](_0x377ed4);}['_getMenuBarGroupButtons']({command:_0x1965c3,commands:_0x6d3e4b,parentMenuView:_0x13c181,onExecute:_0x202482}){const _0x225a6c=this['editor'],_0x5a9c86=_0x225a6c['locale'];return sortDefinitionsByOrder(_0x225a6c,_0x6d3e4b)['map'](_0x22a3ff=>{const _0x3de6cb=new ckeditor5['MenuBarMenuListItemView'](_0x5a9c86,_0x13c181),_0x55505e=new ckeditor5['MenuBarMenuListItemButtonView'](_0x5a9c86);return _0x55505e['set']({'label':_0x22a3ff['label']}),_0x55505e['delegate']('execute')['to'](_0x13c181),_0x55505e['on']('execute',()=>_0x202482(_0x22a3ff['id'])),_0x55505e['bind']('isEnabled')['to'](_0x1965c3,'enabledCommandsIds',_0x487936=>_0x487936['includes'](_0x22a3ff['id'])),_0x3de6cb['children']['add'](_0x55505e),_0x3de6cb;});}}function getMenuDropdownDefinition(_0x163594){const _0x555ee0=_0x4993de(_0x163594['config']['get']('ai.assistant.commands'),_0x163594['locale']),_0x2fc01b=sortDefinitionsByOrder(_0x163594,_0x555ee0)['filter'](_0xfe20f9=>_0xfe20f9['commands']['length']);return 0x1===_0x2fc01b['length']?sortDefinitionsByOrder(_0x163594,_0x2fc01b[0x0]['commands'])['map'](_0x77b84c=>({'id':_0x77b84c['id'],'label':_0x77b84c['label']})):_0x2fc01b['map'](_0x48f36a=>{const {groupId:_0x3d085b,groupLabel:_0x4d41d2,commands:_0x11a765}=_0x48f36a,_0x2af4f7=sortDefinitionsByOrder(_0x163594,_0x11a765)['map'](_0x575582=>({'id':_0x575582['id'],'label':_0x575582['label']}));return{'id':_0x3d085b,'menu':_0x4d41d2||_0x3d085b,'children':_0x2af4f7};});}function sortDefinitionsCallback(_0x3469b1,_0x5c2a7b){return void 0x0!==_0x3469b1['order']&&void 0x0===_0x5c2a7b['order']?0x1:void 0x0===_0x3469b1['order']&&void 0x0!==_0x5c2a7b['order']?-0x1:void 0x0!==_0x3469b1['order']&&void 0x0!==_0x5c2a7b['order']?_0x3469b1['order']-_0x5c2a7b['order']:0x0;}function sortDefinitionsByOrder(_0x5ced41,_0x4322a3){_0x4322a3['sort'](sortDefinitionsCallback);const _0x1dfe12={},_0x4588f9=[];for(const _0x1f15b7 of _0x4322a3)if(void 0x0!==_0x1f15b7['order']){if(_0x1f15b7['order']in _0x1dfe12)throw new ckeditor5['CKEditorError']('ai-commands-config-order-collision',_0x5ced41,{'conflictingDefinitions':[_0x1f15b7,_0x1dfe12[_0x1f15b7['order']]]});_0x1dfe12[_0x1f15b7['order']]=_0x1f15b7,_0x4588f9['splice'](_0x1f15b7['order'],0x0,_0x1f15b7);}else _0x4588f9['push'](_0x1f15b7);return _0x4588f9;}class AIAssistant extends ckeditor5['Plugin']{static get['requires'](){return[AIAssistantUI,AIAssistantEditing];}static get['pluginName'](){return'AIAssistant';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x47c9c7){super(_0x47c9c7);const _0x43a22b=_0x47c9c7['config'],_0x2d9ecb=_0x47c9c7['locale'];_0x43a22b['define']('ai.assistant.preserveComments',!0x0),_0x43a22b['define']('ai.assistant.commands',getDefaultAICommands(_0x2d9ecb)),_0x43a22b['define']('ai.assistant.extraCommandGroups',[]),_0x43a22b['define']('ai.assistant.removeCommands',[]);let _0x53ddd7=_0x4993de(_0x43a22b['get']('ai.assistant.commands'),_0x2d9ecb);const _0x45df84=_0x43a22b['get']('ai.assistant.extraCommandGroups'),_0x5e1067=_0x43a22b['get']('ai.assistant.removeCommands');_0x45df84['forEach'](_0x4254f9=>{const _0x2546fc=_0x53ddd7['find'](_0x4ef95b=>_0x4ef95b['groupId']===_0x4254f9['groupId']);_0x2546fc?_0x2546fc['commands']=_0x2546fc['commands']['concat'](_0x4254f9['commands']):_0x53ddd7['push'](_0x4254f9);}),_0x53ddd7=_0x53ddd7['filter'](_0x327a98=>!_0x5e1067['includes'](_0x327a98['groupId'])),_0x53ddd7['forEach'](_0x255e3d=>{_0x255e3d['commands']=_0x255e3d['commands']['filter'](_0x432f12=>!_0x5e1067['includes'](_0x432f12['id']));}),_0x43a22b['set']('ai.assistant.commands',_0x53ddd7);}}function getDefaultAICommands(_0x32eecb){return[{'groupId':'editOrReview','groupLabel':getTranslation$j(_0x32eecb,'Edit\x20or\x20review'),'commands':[{'id':'improveWriting','label':getTranslation$j(_0x32eecb,'Improve\x20writing'),'prompt':'Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.'},{'id':'makeShorter','label':getTranslation$j(_0x32eecb,'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':getTranslation$j(_0x32eecb,'Make\x20longer'),'prompt':'Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.'},{'id':'simplifyLanguage','label':getTranslation$j(_0x32eecb,'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':getTranslation$j(_0x32eecb,'Generate\x20from\x20selection'),'commands':[{'id':'summarize','label':getTranslation$j(_0x32eecb,'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':getTranslation$j(_0x32eecb,'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':getTranslation$j(_0x32eecb,'Change\x20tone'),'commands':[{'id':'professional','label':getTranslation$j(_0x32eecb,'Professional'),'prompt':'Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.'},{'id':'casual','label':getTranslation$j(_0x32eecb,'Casual'),'prompt':'Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.'},{'id':'direct','label':getTranslation$j(_0x32eecb,'Direct'),'prompt':'Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.'},{'id':'confident','label':getTranslation$j(_0x32eecb,'Confident'),'prompt':'Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.'},{'id':'friendly','label':getTranslation$j(_0x32eecb,'Friendly'),'prompt':'Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.'}]},{'groupId':'changeStyle','groupLabel':getTranslation$j(_0x32eecb,'Change\x20style'),'commands':[{'id':'business','label':getTranslation$j(_0x32eecb,'Business'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.'},{'id':'legal','label':getTranslation$j(_0x32eecb,'Legal'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.'},{'id':'journalism','label':getTranslation$j(_0x32eecb,'Journalism'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.'},{'id':'poetic','label':getTranslation$j(_0x32eecb,'Poetic'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.'}]},{'groupId':'translate','groupLabel':getTranslation$j(_0x32eecb,'Translate'),'commands':[{'id':'translateEnglish','label':getTranslation$j(_0x32eecb,'English'),'prompt':'Translate\x20the\x20content\x20to\x20English\x20language.'},{'id':'translateSpanish','label':getTranslation$j(_0x32eecb,'Spanish'),'prompt':'Translate\x20the\x20content\x20to\x20Spanish\x20language.'},{'id':'translatePortuguese','label':getTranslation$j(_0x32eecb,'Portuguese'),'prompt':'Translate\x20the\x20content\x20to\x20Portuguese\x20language.'},{'id':'translateGerman','label':getTranslation$j(_0x32eecb,'German'),'prompt':'Translate\x20the\x20content\x20to\x20German\x20language.'},{'id':'translateFrench','label':getTranslation$j(_0x32eecb,'French'),'prompt':'Translate\x20the\x20content\x20to\x20French\x20language.'},{'id':'translateChinese','label':getTranslation$j(_0x32eecb,'Simplified\x20Chinese'),'prompt':'Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.'},{'id':'translateHindi','label':getTranslation$j(_0x32eecb,'Hindi'),'prompt':'Translate\x20the\x20content\x20to\x20Hindi\x20language.'},{'id':'translateArabic','label':getTranslation$j(_0x32eecb,'Arabic'),'prompt':'Translate\x20the\x20content\x20to\x20Arabic\x20language.'}]}];}class AITextAdapter extends ckeditor5['Plugin']{['abortController'];static get['requires'](){return[AIAdapter];}constructor(_0x2d592e){super(_0x2d592e),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'](_0x3b179b){return this['sendRequest'](_0x3b179b)['catch'](_0x55ab01=>{if(_0x55ab01 instanceof AIRequestError)return Promise['reject'](_0x55ab01);if('AbortError'==_0x55ab01['name'])return Promise['resolve']();throw console['error'](_0x55ab01),new ckeditor5['CKEditorError']('aitextadapter-send-request-failed',null);});}async['_prepareRequestHeaders'](_0x1a500d,_0x581151){const _0x2ebeb0=this['editor']['locale'],_0x370262={'Content-Type':'application/json'};if('object'==typeof _0x1a500d)Object['assign'](_0x370262,_0x1a500d);else{if(_0x1a500d)try{const _0x4e5a2a=await _0x1a500d(_0x581151);Object['assign'](_0x370262,_0x4e5a2a);}catch{return Promise['reject'](new AIRequestError(getTranslation$j(_0x2ebeb0,'AI_ERROR_GET_HEADERS')));}}return _0x370262;}async['_prepareRequestParameters'](_0x3a31ec,_0x52599e){const _0x16c6a2=this['editor']['locale'];if('object'==typeof _0x3a31ec)return _0x3a31ec;try{return await _0x3a31ec(_0x52599e);}catch{return Promise['reject'](new AIRequestError(getTranslation$j(_0x16c6a2,'AI_ERROR_GET_PARAMETERS')));}}}class OpenAITextAdapter extends AITextAdapter{['_apiUrl'];['_requestHeaders'];['_requestParameters'];static get['pluginName'](){return'OpenAITextAdapter';}constructor(_0x33d531){super(_0x33d531),_0x33d531['config']['define']('ai.assistant.adapter.openAI.apiUrl','https://api.openai.com/v1/chat/completions'),_0x33d531['config']['get']('ai.assistant.adapter.openAI.requestParameters')||_0x33d531['config']['define']('ai.assistant.adapter.openAI.requestParameters',{'model':'gpt-4o','temperature':0x1,'top_p':0x1,'stream':!0x0}),this['_apiUrl']=_0x33d531['config']['get']('ai.assistant.adapter.openAI.apiUrl'),this['_requestHeaders']=_0x33d531['config']['get']('ai.assistant.adapter.openAI.requestHeaders')||{},this['_requestParameters']=_0x33d531['config']['get']('ai.assistant.adapter.openAI.requestParameters');}async['sendRequest']({query:_0x3d85fd,context:_0x30fb4a,onData:_0x31a6ae,actionId:_0x84f950}){const _0x249659=this['editor']['locale'],_0xe3b4c9=await this['prepareMessages'](_0x3d85fd,_0x30fb4a,_0x84f950),_0x53f0ac=await this['_prepareRequestHeaders'](this['_requestHeaders'],_0x84f950),_0x5975dd=await this['_prepareRequestParameters'](this['_requestParameters'],_0x84f950),_0x23cf3d={'messages':_0xe3b4c9,..._0x5975dd},_0x26b15f={'method':'POST','headers':_0x53f0ac,'body':JSON['stringify'](_0x23cf3d),'signal':this['abortController']['signal']},_0x3a84f4=await fetch(this['_apiUrl'],_0x26b15f);if(_0x3a84f4['ok'])return _0x5975dd['stream']?await this['_readStreamableResponse'](_0x3a84f4,_0x31a6ae):await this['_readStaticResponse'](_0x3a84f4,_0x31a6ae),Promise['resolve']();{const _0xa86661=await _0x3a84f4['text']();return _0xa86661['includes']('context_length_exceeded')?Promise['reject'](new AIRequestError(getTranslation$j(_0x249659,'AI_ERROR_CONTEXT_LENGTH'))):_0xa86661['includes']('Moderation')?Promise['reject'](new AIRequestError(getTranslation$j(_0x249659,'AI_ERROR_MODERATION'))):Promise['reject'](new Error(_0xa86661));}}async['prepareMessages'](_0x391e1c,_0x386fa1,_0x79c63){let _0x5d369b,_0x2e0df3;return _0x386fa1?(_0x5d369b='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.',_0x2e0df3='Instruction:\x0a'+_0x391e1c+'\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a'+_0x386fa1):(_0x5d369b='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.',_0x2e0df3=_0x391e1c),[{'role':'system','content':_0x5d369b},{'role':'user','content':_0x2e0df3}];}async['_readStreamableResponse'](_0x2d6450,_0x89c26){const _0xd1760=_0x2d6450['body']['getReader'](),_0x3466c0=new TextDecoder();let _0x3fbfc5='',_0x4cd343='',_0x39cf69='',_0x40e2d5=!0x1;for(;!_0x40e2d5;){const {done:_0x55666c,value:_0x3ab417}=await _0xd1760['read'](),_0xad1a30=_0x3fbfc5+_0x3466c0['decode'](_0x3ab417);let _0x32df21='';_0x40e2d5=_0x55666c;try{_0x32df21=this['_cleanUpData'](_0xad1a30),_0x3fbfc5='';}catch{_0x3fbfc5=_0xad1a30;continue;}_0x4cd343+=_0x32df21,!_0x40e2d5&&this['_isBufferIncomplete'](_0x4cd343)||_0x4cd343&&(_0x39cf69+=_0x4cd343,_0x4cd343='',_0x89c26(_0x39cf69));}return Promise['resolve']();}async['_readStaticResponse'](_0x443e3a,_0x2f9fee){return _0x2f9fee((await _0x443e3a['json']())['choices'][0x0]['message']['content']),Promise['resolve']();}['_isBufferIncomplete'](_0xc5e49d){const _0x763a9e=_0xc5e49d['split']('<')['length']!==_0xc5e49d['split']('>')['length'],_0x16e788=_0xc5e49d['length']<0x1e;return _0x763a9e&&_0x16e788;}['_cleanUpData'](_0x53453b){return _0x53453b['split'](/\n(?![^{]*\})/g)['map'](_0x23d6e3=>_0x23d6e3['replace']('data:\x20',''))['filter'](_0xec879d=>_0xec879d&&_0xec879d['length']>0x0&&'[DONE]'!==_0xec879d)['map'](_0x2d2666=>{const {choices:_0x149f8a}=JSON['parse'](_0x2d2666);if(_0x149f8a[0x0]?.['delta']?.['content'])return _0x149f8a[0x0]['delta']['content'];})['filter'](_0x3fc083=>_0x3fc083)['join']('');}}class AWSTextAdapter extends AITextAdapter{static get['pluginName'](){return'AWSTextAdapter';}['init'](){super['init'](),ckeditor5['logWarning']('ai-aws-adapter-not-supported');}async['sendRequest'](_0x308528){throw ckeditor5['logError']('ai-aws-adapter-not-supported'),new AIRequestError(getTranslation$j(this['editor']['locale'],'AI_ERROR_AWS_NOT_SUPPORTED'));}}class TabButtonView extends ckeditor5['ButtonView']{constructor(_0x2450ed,_0x11fa60={}){super(_0x2450ed),this['isToggleable']=!0x0,this['set']('side',_0x11fa60['side']||'top');const _0x1f2858=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-tab-button',...ckeditor5['toArray'](_0x11fa60['class']||[]),_0x1f2858['to']('side',_0x143b8a=>'ck-tab-button_'+_0x143b8a),_0x1f2858['to']('class')]}});}['show'](){this['set']('isVisible',!0x0);}['hide'](){this['set']('isVisible',!0x1);}}class _0x32463e extends ckeditor5['View']{['children'];constructor(_0x22f7b9,_0x2b2e47={}){super(_0x22f7b9);const _0x4b1981=this['bindTemplate'];this['set']('isVisible',!0x1),this['set']('class',''),this['children']=this['createCollection'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-tab-panel',...ckeditor5['toArray'](_0x2b2e47['class']||[]),_0x4b1981['to']('class'),_0x4b1981['if']('isVisible','ck-hidden',_0x1ffe74=>!_0x1ffe74)]},'children':this['children']});}['show'](){this['set']('isVisible',!0x0);}['hide'](){this['set']('isVisible',!0x1);}}class _0x403f66 extends ckeditor5['View']{['buttonViews']=this['createCollection']();['panelViews']=this['createCollection']();['_tabs']=new Map();constructor(_0x363655,_0x5d22b3={}){super(_0x363655),this['set']('class',void 0x0),this['set']('activeTab',null),this['set']('side',_0x5d22b3['side']||'top'),this['set']('isMaximized',!0x1),this['set']('collapsible',_0x5d22b3['collapsible']||!0x1),this['set']('_isMaximizedActive',!0x1),this['bind']('_isMaximizedActive')['to'](this,'isMaximized',this,'activeTab',(_0xd62a10,_0x31a134)=>_0xd62a10&&null!==_0x31a134);const _0x34a438=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-tabs',...ckeditor5['toArray'](_0x5d22b3['class']||[]),_0x34a438['to']('side',_0x1717b4=>'ck-tabs_'+_0x1717b4),_0x34a438['to']('class'),_0x34a438['if']('_isMaximizedActive','ck-ai-tabs_maximized'),_0x34a438['to']('activeTab',_0x181ed0=>null===_0x181ed0?'ck-ai-tabs_collapsed':'')],'tabindex':'0'},'children':[{'tag':'div','attributes':{'class':['ck','ck-tabs__buttons-container',_0x34a438['to']('side',_0x478b91=>'ck-tabs__buttons-container_'+_0x478b91)]},'children':this['buttonViews']},{'tag':'div','attributes':{'class':['ck','ck-tabs__panels-container',_0x34a438['to']('side',_0x12c590=>'ck-tabs__panels-container_'+_0x12c590)]},'children':this['panelViews']},...ckeditor5['toArray'](_0x5d22b3['children']||[])]});}['getTabIds'](){return[...this['_tabs']['keys']()];}['getTab'](_0x591656){const _0x5f0dca=this['_tabs']['get'](_0x591656);return _0x5f0dca||null;}['addTab'](_0x461cc4){const _0x29c093=this['_setupButton']({'id':_0x461cc4['id'],'label':_0x461cc4['buttonLabel'],'icon':_0x461cc4['buttonIcon'],'order':_0x461cc4['order']}),_0x55c69b=new _0x32463e(this['locale']);return _0x55c69b['render'](),_0x461cc4['content']&&_0x55c69b['children']['add'](_0x461cc4['content']),this['panelViews']['add'](_0x55c69b),this['_tabs']['set'](_0x461cc4['id'],{'button':_0x29c093,'panel':_0x55c69b,'order':void 0x0!==_0x461cc4['order']?_0x461cc4['order']:null}),this['fire']('addTab:'+_0x461cc4['id'],{'id':_0x461cc4['id'],'button':_0x29c093,'panel':_0x55c69b}),null===this['activeTab']?this['activateTab'](_0x461cc4['id']):this['_hidePanel'](_0x461cc4['id']),{'button':_0x29c093,'panel':_0x55c69b};}['activateTab'](_0x23b6a7){if(null!==_0x23b6a7&&!this['getTab'](_0x23b6a7))throw new ckeditor5['CKEditorError']('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x23b6a7});if(this['activeTab']===_0x23b6a7)return;const _0x3bad63=this['activeTab'];this['activeTab']&&this['_hidePanel'](this['activeTab']),this['activeTab']=_0x23b6a7,_0x23b6a7&&this['_showPanel'](_0x23b6a7),this['fire']('activateTab:'+_0x23b6a7,{'newTab':_0x23b6a7,'oldTab':_0x3bad63});}['toggleTabPanel'](_0x32051c){if(!this['getTab'](_0x32051c))throw new ckeditor5['CKEditorError']('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x32051c});this['activeTab']===_0x32051c?this['collapsible']&&(this['activeTab']=null):this['activateTab'](_0x32051c);}['showTab'](_0x357d8b){if(!this['getTab'](_0x357d8b))throw new ckeditor5['CKEditorError']('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x357d8b});this['_showPanel'](_0x357d8b),this['_showButton'](_0x357d8b),this['fire']('show:'+_0x357d8b,_0x357d8b);}['hideTab'](_0x2d2fb5){if(!this['getTab'](_0x2d2fb5))throw new ckeditor5['CKEditorError']('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x2d2fb5});const _0x595656=this['activeTab'];this['_hidePanel'](_0x2d2fb5),this['_hideButton'](_0x2d2fb5);const _0x33d492=this['getTabIds']();_0x595656===_0x2d2fb5&&_0x33d492['length']>0x1&&this['activateTab'](_0x33d492['find'](_0x8c76fa=>_0x8c76fa!==_0x2d2fb5)),this['fire']('hide:'+_0x2d2fb5,_0x2d2fb5);}['_getPanel'](_0x474b78){const _0x4d9d5b=this['_tabs']['get'](_0x474b78);return _0x4d9d5b?_0x4d9d5b['panel']:null;}['_showPanel'](_0x17943e){null!==this['activeTab']&&this['activeTab']!==_0x17943e||this['_getPanel'](_0x17943e)['show']();}['_hidePanel'](_0x5705e3){const _0x22baeb=this['_getPanel'](_0x5705e3);_0x22baeb['isVisible']&&(this['activeTab']===_0x5705e3&&(this['activeTab']=null),_0x22baeb['hide']());}['_getButton'](_0x42e83f){const _0x350d74=this['_tabs']['get'](_0x42e83f);return _0x350d74?_0x350d74['button']:null;}['_showButton'](_0xfae17d){this['_getButton'](_0xfae17d)['show']();}['_hideButton'](_0xb44f34){this['_getButton'](_0xb44f34)['hide']();}['_setupButton'](_0x43fba1){const _0x3212b6=new TabButtonView(this['locale'],{'side':this['side']}),_0x17cda0=this['buttonViews'];if(_0x3212b6['set']({'label':_0x43fba1['label'],'icon':_0x43fba1['icon'],'tooltip':!0x0,'withText':!0x0}),_0x3212b6['bind']('isOn')['to'](this,'activeTab',_0x3f2652=>_0x3f2652===_0x43fba1['id']),_0x3212b6['bind']('side')['to'](this,'side'),_0x43fba1['order']){const _0x2d8547=[...this['_tabs']]['reduce']((_0xb13993,_0x18972e)=>{const _0x3a0626=_0x18972e[0x0],{order:_0x1e0db3}=_0x18972e[0x1];return!_0x1e0db3||_0x1e0db3>_0x43fba1['order']?_0xb13993:_0x1e0db3>=_0xb13993['order']?{'id':_0x3a0626,'order':_0x1e0db3}:_0xb13993;},{'id':'','order':0x0}),_0x2f4721=_0x17cda0['getIndex'](this['_getButton'](_0x2d8547['id']));_0x17cda0['add'](_0x3212b6,_0x2f4721+0x1);}else _0x17cda0['add'](_0x3212b6);return _0x3212b6['on']('execute',()=>{this['toggleTabPanel'](_0x43fba1['id']);}),_0x3212b6;}}const _0x32c021=['overlay','sidebar','custom'],_0x39ebe0=['left','right'];class _0x52c000 extends _0x403f66{constructor(_0x5c6e78,_0x14c007={}){super(_0x5c6e78,_0x14c007),this['set']('type',_0x14c007['type']||'sidebar'),this['set']('side',_0x14c007['side']||'right'),this['set']('isVisible',_0x14c007['visibleByDefault']??!0x0);const _0x39518a=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-ai-tabs',_0x39518a['if']('type','ck-ai-tabs__overlay',_0x3efc7a=>'overlay'===_0x3efc7a),_0x39518a['if']('type','ck-ai-tabs__sidebar',_0x4ae971=>'sidebar'===_0x4ae971),_0x39518a['if']('isVisible','ck-hidden',_0x3ce116=>!_0x3ce116)]}}),this['buttonViews']['on']('add',(_0x33f82f,_0x15c0ae)=>{_0x15c0ae['set']('withText',!0x1);});}}class _0x13bfd3 extends ckeditor5['ContextPlugin']{['view'];['container']=null;['showResizeButton']=!0x0;static get['pluginName'](){return'AITabs';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x590a7c){if(super(_0x590a7c),!this['context']['config']['get']('ai.container'))throw new ckeditor5['CKEditorError']('ai-tabs-configuration-not-found');this['context']['config']['define']('ai.container.visibleByDefault',!0x0),this['context']['config']['define']('ai.container.collapsible',!0x1);const _0x3dee3a=this['context']['config']['get']('ai.container');if(this['set']('side','right'),void 0x0!==_0x3dee3a['showResizeButton']&&(this['showResizeButton']=_0x3dee3a['showResizeButton']),'sidebar'!==_0x3dee3a['type']&&'overlay'!==_0x3dee3a['type']||_0x3dee3a['side']&&(this['side']=_0x3dee3a['side']),'sidebar'===_0x3dee3a['type']){if(this['container']=_0x3dee3a['element'],this['set']('type','sidebar'),!this['container'])throw new ckeditor5['CKEditorError']('ai-tabs-sidebar-container-element-not-found');}else'overlay'===_0x3dee3a['type']?(this['container']=document['body'],this['set']('type','overlay')):(this['container']=null,this['set']('type','custom'));this['view']=new _0x52c000(this['context']['locale'],{'side':this['side'],'type':this['type'],'visibleByDefault':_0x3dee3a['visibleByDefault'],'collapsible':_0x3dee3a['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 ckeditor5['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'](_0x52db55){if(_0x52db55&&this['type']!==_0x52db55){if(!_0x32c021['includes'](_0x52db55))throw new ckeditor5['CKEditorError']('ai-tabs-unsupported-ui-type');this['type']=_0x52db55;}}['switchSide'](_0xbd5e5){if(_0xbd5e5&&this['side']!==_0xbd5e5){if(!_0x39ebe0['includes'](_0xbd5e5))throw new ckeditor5['CKEditorError']('ai-tabs-unsupported-ui-side');this['side']=_0xbd5e5;}}['destroy'](){super['destroy'](),this['view']['destroy'](),this['view']['element']&&this['view']['element']['remove']();}}class _0x1e73b0 extends Error{constructor(_0x28d4a7,_0x376073){super(_0x28d4a7),this['name']='ParseError',this['type']=_0x376073['type'],this['field']=_0x376073['field'],this['value']=_0x376073['value'],this['line']=_0x376073['line'];}}function _0x42045a(_0x360c74){}function createParser(_0x1ea1cb){if('function'==typeof _0x1ea1cb)throw new TypeError('`callbacks`\x20must\x20be\x20an\x20object,\x20got\x20a\x20function\x20instead.\x20Did\x20you\x20mean\x20`{onEvent:\x20fn}`?');const {onEvent:_0x27b54e=_0x42045a,onError:_0x492e91=_0x42045a,onRetry:_0x4ff1f5=_0x42045a,onComment:_0x3b4b3d}=_0x1ea1cb;let _0x7d171e,_0x39c0c2='',_0x517f35=!0x0,_0x2e97b9='',_0x3db2df='';function _0x3bf857(_0x243e0d){if(''===_0x243e0d)return _0x2e97b9['length']>0x0&&_0x27b54e({'id':_0x7d171e,'event':_0x3db2df||void 0x0,'data':_0x2e97b9['endsWith']('\x0a')?_0x2e97b9['slice'](0x0,-0x1):_0x2e97b9}),_0x7d171e=void 0x0,_0x2e97b9='',void(_0x3db2df='');if(_0x243e0d['startsWith'](':'))return void(_0x3b4b3d&&_0x3b4b3d(_0x243e0d['slice'](_0x243e0d['startsWith'](':\x20')?0x2:0x1)));const _0x2f84e9=_0x243e0d['indexOf'](':');if(-0x1!==_0x2f84e9){const _0xf1130=_0x243e0d['slice'](0x0,_0x2f84e9),_0x146656='\x20'===_0x243e0d[_0x2f84e9+0x1]?0x2:0x1;return void _0x564ccd(_0xf1130,_0x243e0d['slice'](_0x2f84e9+_0x146656),_0x243e0d);}_0x564ccd(_0x243e0d,'',_0x243e0d);}function _0x564ccd(_0x3b1e33,_0x76f43f,_0xa89530){switch(_0x3b1e33){case'event':_0x3db2df=_0x76f43f;break;case'data':_0x2e97b9=''+_0x2e97b9+_0x76f43f+'\x0a';break;case'id':_0x7d171e=_0x76f43f['includes']('\x00')?void 0x0:_0x76f43f;break;case'retry':/^\d+$/['test'](_0x76f43f)?_0x4ff1f5(parseInt(_0x76f43f,0xa)):_0x492e91(new _0x1e73b0('Invalid\x20`retry`\x20value:\x20\x22'+_0x76f43f+'\x22',{'type':'invalid-retry','value':_0x76f43f,'line':_0xa89530}));break;default:_0x492e91(new _0x1e73b0('Unknown\x20field\x20\x22'+(_0x3b1e33['length']>0x14?_0x3b1e33['slice'](0x0,0x14)+'…':_0x3b1e33)+'\x22',{'type':'unknown-field','field':_0x3b1e33,'value':_0x76f43f,'line':_0xa89530}));}}return{'feed':function(_0x19668f){const _0x3bbee2=_0x517f35?_0x19668f['replace'](/^\xEF\xBB\xBF/,''):_0x19668f,[_0x815fc,_0x3ff518]=splitLines(''+_0x39c0c2+_0x3bbee2);for(const _0x3b1547 of _0x815fc)_0x3bf857(_0x3b1547);_0x39c0c2=_0x3ff518,_0x517f35=!0x1;},'reset':function(_0x22f70c={}){_0x39c0c2&&_0x22f70c['consume']&&_0x3bf857(_0x39c0c2),_0x517f35=!0x0,_0x7d171e=void 0x0,_0x2e97b9='',_0x3db2df='',_0x39c0c2='';}};}function splitLines(_0x1ef846){const _0x173aee=[];let _0x70b65c='',_0x2f9201=0x0;for(;_0x2f9201<_0x1ef846['length'];){const _0xe1160c=_0x1ef846['indexOf']('\x0d',_0x2f9201),_0x1418a9=_0x1ef846['indexOf']('\x0a',_0x2f9201);let _0x2fee32=-0x1;if(-0x1!==_0xe1160c&&-0x1!==_0x1418a9?_0x2fee32=Math['min'](_0xe1160c,_0x1418a9):-0x1!==_0xe1160c?_0x2fee32=_0xe1160c:-0x1!==_0x1418a9&&(_0x2fee32=_0x1418a9),-0x1===_0x2fee32){_0x70b65c=_0x1ef846['slice'](_0x2f9201);break;}{const _0x240d30=_0x1ef846['slice'](_0x2f9201,_0x2fee32);_0x173aee['push'](_0x240d30),_0x2f9201=_0x2fee32+0x1,'\x0d'===_0x1ef846[_0x2f9201-0x1]&&'\x0a'===_0x1ef846[_0x2f9201]&&_0x2f9201++;}}return[_0x173aee,_0x70b65c];}const _0x4f5dc0='1';class AIConnector extends ckeditor5['ContextPlugin']{['_apiUrl'];['_token'];['_decoder'];['_responseCache'];static get['requires'](){return[ckeditor5['CloudServices']];}static get['pluginName'](){return'AIConnector';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x39b66b){super(_0x39b66b),this['context']['config']['define']('ai.serviceUrl','https://ai.cke-cs.com/v1'),this['_apiUrl']=this['context']['config']['get']('ai.serviceUrl'),this['_token']=null,this['_decoder']=new TextDecoder(),this['_responseCache']=new Map();}['init'](){const _0x468cfc=this['context']['plugins']['get'](ckeditor5['CloudServices']);if(!_0x468cfc['token'])throw new ckeditor5['CKEditorError']('ai-missing-token',this);this['_token']=_0x468cfc['token'];}['startConversation'](_0x47d90b,_0xe58cc2){const _0x5b7654=this['_sendApiRequest']('/conversations','POST',{'id':_0x47d90b,'group':_0xe58cc2});return{'getConversation':async()=>(await _0x5b7654['request'])['json'](),'abortController':_0x5b7654['abortController']};}['queryAssistant']({message:_0x1cdf50,conversationId:_0x588daf,parts:_0x58d181,capabilities:_0x317f0c,model:_0x4e6529,attributes:_0x1fa739}){const _0x352efb={'prompt':_0x1cdf50,'content':_0x58d181,'model':_0x4e6529,..._0x317f0c&&{'capabilities':_0x317f0c},..._0x1fa739&&{'attributes':_0x1fa739}},_0x21551e=this['_sendApiRequest']('/conversations/'+_0x588daf+'/messages','POST',_0x352efb);return{'getStream':async()=>{const _0x5d70b0=(await _0x21551e['request'])['body'];return this['_getStreamReader'](_0x5d70b0);},'abortController':_0x21551e['abortController']};}['executeCustomAction']({content:_0x653dbf,message:_0xe147a8,model:_0x3b1b05,outputFormat:_0x45bbbc}){const _0x3edd3a={'content':[{'type':'text','content':_0x653dbf}],'prompt':_0xe147a8,'model':_0x3b1b05,'outputFormat':_0x45bbbc},_0x17c55c=this['_sendApiRequest']('/actions/custom/calls','POST',_0x3edd3a);return{'getStream':async()=>{const _0x1ad1e1=(await _0x17c55c['request'])['body'];return this['_getStreamReader'](_0x1ad1e1);},'abortController':_0x17c55c['abortController']};}['executeAction']({actionName:_0x135e3c,content:_0x449872,args:_0x432da5}){const _0x5caef0={'content':[{'type':'text','content':_0x449872}],'args':_0x432da5},_0x50d200=this['_sendApiRequest']('/actions/system/'+_0x135e3c+'/calls','POST',_0x5caef0);return{'getStream':async()=>{const _0x31b4fc=(await _0x50d200['request'])['body'];return this['_getStreamReader'](_0x31b4fc);},'abortController':_0x50d200['abortController']};}['uploadFile'](_0x3cd9bd,_0x1c35b5,_0x133431){const _0x3bddbf=new FormData();_0x3bddbf['append']('file',_0x1c35b5,_0x1c35b5['name']),_0x133431&&_0x3bddbf['append']('attributes',JSON['stringify'](_0x133431));const _0x5d8982=this['_sendApiRequest']('/conversations/'+_0x3cd9bd+'/files','POST',_0x3bddbf);return{'getId':async()=>(await _0x5d8982['request'])['json'](),'abortController':_0x5d8982['abortController']};}['fetchDocument'](_0x51524a,_0x14bc4a){const _0x7dc22d=this['_sendApiRequest']('/conversations/'+_0x51524a+'/documents/'+_0x14bc4a,'GET');return{'getDocument':async()=>(await _0x7dc22d['request'])['json'](),'abortController':_0x7dc22d['abortController']};}['uploadDocument'](_0xb991b2,_0x11b21d,_0x4eb37d){const _0x164821={'content':_0x11b21d};_0x4eb37d&&(_0x164821['attributes']=_0x4eb37d);const _0x51f0d2=this['_sendApiRequest']('/conversations/'+_0xb991b2+'/documents','POST',_0x164821);return{'getId':async()=>(await _0x51f0d2['request'])['json'](),'abortController':_0x51f0d2['abortController']};}['uploadDocuments'](_0x5ce5e5,_0x20bb28){const _0x3ebc57={'documents':_0x20bb28['map'](_0x497554=>({'content':_0x497554['content'],'attributes':{'version':_0x497554['version'],'sessionId':_0x497554['sessionId'],'channelId':_0x497554['channelId'],'rootName':_0x497554['rootName'],'selections':_0x497554['selections']},...void 0x0!==_0x497554['name']?{'name':_0x497554['name']}:{},...void 0x0!==_0x497554['description']?{'description':_0x497554['description']}:{}}))},_0x44cc04=this['_sendApiRequest']('/conversations/'+_0x5ce5e5+'/documents/batch','POST',_0x3ebc57);return{'getIds':async()=>(await _0x44cc04['request'])['json'](),'abortController':_0x44cc04['abortController']};}['fetchDocuments'](_0x2875d6,_0xb9540f){const _0xd195f5=new URLSearchParams();_0xd195f5['append']('documentIds',_0xb9540f['join'](','));const _0xb5e496=this['_sendApiRequest']('/conversations/'+_0x2875d6+'/documents/batch?'+_0xd195f5['toString'](),'GET');return{'getDocuments':async()=>(await _0xb5e496['request'])['json'](),'abortController':_0xb5e496['abortController']};}['fetchConversations'](_0xcd8de7,_0x50a0c7={}){const _0x10b6cf=new URLSearchParams();_0x10b6cf['append']('group',_0xcd8de7),_0x10b6cf['append']('excludeEmpty',!0x1!==_0x50a0c7['excludeEmpty']?'true':'false'),_0x10b6cf['append']('limit',_0x50a0c7['limit']?_0x50a0c7['limit']['toString']():'100'),_0x10b6cf['append']('sortBy',_0x50a0c7['sortBy']?_0x50a0c7['sortBy']:'createdAt'),_0x10b6cf['append']('order',_0x50a0c7['order']?_0x50a0c7['order']:'desc');const _0x3754b2=this['_sendApiRequest']('/conversations?'+_0x10b6cf['toString'](),'GET');return{'getConversations':async()=>{const _0x1d90cd=await _0x3754b2['request'];return(await _0x1d90cd['json']())['items'];},'abortController':_0x3754b2['abortController']};}['deleteConversation'](_0x476388){const _0x45029e=this['_sendApiRequest']('/conversations/'+_0x476388,'DELETE');return{'execute':async()=>{await _0x45029e['request'];},'abortController':_0x45029e['abortController']};}['updateConversation'](_0x6c470f,_0x49aa9d){const _0x2348b3=this['_sendApiRequest']('/conversations/'+_0x6c470f,'PATCH',_0x49aa9d);return{'getResult':async()=>(await _0x2348b3['request'],_0x49aa9d),'abortController':_0x2348b3['abortController']};}['fetchConversation'](_0x16d9a2){const _0x1c0a51=this['_sendApiRequest']('/conversations/'+_0x16d9a2,'GET');return{'getConversation':async()=>(await _0x1c0a51['request'])['json'](),'abortController':_0x1c0a51['abortController']};}['fetchConversationMessages'](_0x36031f){const _0x4b2d6d=this['_sendApiRequest']('/conversations/'+_0x36031f+'/messages','GET');return{'getMessages':async()=>{const _0x36b17e=await _0x4b2d6d['request'];return(await _0x36b17e['json']())['items'];},'abortController':_0x4b2d6d['abortController']};}['uploadUrl'](_0x17cc6d,_0x4e007d,_0x2bbab0){const _0xa3e913=this['_sendApiRequest']('/conversations/'+_0x17cc6d+'/web-resources','POST',{'url':_0x4e007d,'attributes':_0x2bbab0});return{'getId':async()=>(await _0xa3e913['request'])['json'](),'abortController':_0xa3e913['abortController']};}['getModels'](_0x4d9490='en'){const _0x2a0407=new URLSearchParams();_0x2a0407['append']('language',_0x4d9490);const _0x5e8a71='/models/'+_0x4f5dc0+'?'+_0x2a0407['toString'](),_0x3a8d74=this['_sendApiRequest'](_0x5e8a71,'GET',void 0x0,!0x0);return{'list':async()=>await(await _0x3a8d74['request'])['json'](),'abortController':_0x3a8d74['abortController']};}['deleteFile'](_0x212814,_0x4690b4){const _0x4d9ba6=this['_sendApiRequest']('/conversations/'+_0x212814+'/files/'+_0x4690b4,'DELETE');return{'execute':async()=>{await _0x4d9ba6['request'];},'abortController':_0x4d9ba6['abortController']};}['deleteDocument'](_0x27aa46,_0x552a1f){const _0x5c14ca=this['_sendApiRequest']('/conversations/'+_0x27aa46+'/documents/'+_0x552a1f,'DELETE');return{'execute':async()=>{await _0x5c14ca['request'];},'abortController':_0x5c14ca['abortController']};}['deleteWebResource'](_0x164745,_0x336377){const _0x3b4e28=this['_sendApiRequest']('/conversations/'+_0x164745+'/web-resources/'+_0x336377,'DELETE');return{'execute':async()=>{await _0x3b4e28['request'];},'abortController':_0x3b4e28['abortController']};}['callSystemReview']({reviewName:_0x4bb625,content:_0x3edb16,args:_0x65153d}){const _0x1d9cb2=this['_sendApiRequest']('/reviews/system/'+_0x4bb625+'/calls','POST',{'content':[{'type':'text','content':_0x3edb16}],'args':_0x65153d});return{'getStream':async()=>{const _0x49d1ce=(await _0x1d9cb2['request'])['body'];return this['_getStreamReader'](_0x49d1ce);},'abortController':_0x1d9cb2['abortController']};}['callCustomReview']({content:_0x565bc,prompt:_0x16ae97,model:_0x11ef34}){const _0x4ad505=this['_sendApiRequest']('/reviews/custom/calls','POST',{'content':[{'type':'text','content':_0x565bc}],'prompt':_0x16ae97,'model':_0x11ef34});return{'getStream':async()=>{const _0x523950=(await _0x4ad505['request'])['body'];return this['_getStreamReader'](_0x523950);},'abortController':_0x4ad505['abortController']};}['upsertAIChatRating'](_0x4bfe98,_0xe4fa80,_0x4df2f5){const _0x19b850=this['_sendApiRequest']('/conversations/'+_0x4bfe98+'/messages/'+_0xe4fa80+'/ratings','PUT',{'positiveCount':_0x4df2f5['positiveCount'],'totalCount':_0x4df2f5['totalCount'],'modificationId':_0x4df2f5['modificationId']});return{'execute':async()=>{await _0x19b850['request'];},'abortController':_0x19b850['abortController']};}['upsertAIActionRating'](_0x404a16,_0x5ebc75,_0x27c7b2){const _0xf43541=this['_sendApiRequest']('/actions/system/'+_0x404a16+'/calls/'+_0x5ebc75+'/ratings','PUT',{'positiveCount':_0x27c7b2['positiveCount'],'totalCount':_0x27c7b2['totalCount']});return{'execute':async()=>{await _0xf43541['request'];},'abortController':_0xf43541['abortController']};}['upsertCustomAIActionRating'](_0x1fa326,_0x1311ad){const _0x369eb5=this['_sendApiRequest']('/actions/custom/calls/'+_0x1fa326+'/ratings','PUT',{'positiveCount':_0x1311ad['positiveCount'],'totalCount':_0x1311ad['totalCount']});return{'execute':async()=>{await _0x369eb5['request'];},'abortController':_0x369eb5['abortController']};}['upsertAIReviewRating'](_0x177e94,_0x37ad6d,_0x3c0b90,_0x4650f6){const _0x2469c4=this['_sendApiRequest']('/reviews/system/'+_0x177e94+'/calls/'+_0x37ad6d+'/ratings','PUT',{'positiveCount':_0x3c0b90['positiveCount'],'totalCount':_0x3c0b90['totalCount'],'dataId':_0x4650f6});return{'execute':async()=>{await _0x2469c4['request'];},'abortController':_0x2469c4['abortController']};}['upsertCustomAIReviewRating'](_0x68a9d0,_0x3b9ac5,_0x384da1){const _0x3d6ef0=this['_sendApiRequest']('/reviews/custom/calls/'+_0x68a9d0+'/ratings','PUT',{'positiveCount':_0x3b9ac5['positiveCount'],'totalCount':_0x3b9ac5['totalCount'],'dataId':_0x384da1});return{'execute':async()=>{await _0x3d6ef0['request'];},'abortController':_0x3d6ef0['abortController']};}['_sendApiRequest'](_0x31bdbf,_0x233273,_0x17838d,_0x5ec117=!0x1){const _0x5ee8f0=new AbortController(),_0x55f999=_0x5ec117?_0x233273+':'+_0x31bdbf:null;if(_0x55f999){const _0x50b2fc=this['_responseCache']['get'](_0x55f999);if(_0x50b2fc)return{'request':_0x50b2fc['then'](_0x1c16f8=>_0x1c16f8['clone']()),'abortController':_0x5ee8f0};}const _0x4c87a1=_0x17838d instanceof FormData,_0x5438ca={'Authorization':'Bearer\x20'+this['_token']?.['value'],'X-Editor-Version':ckeditor5['version']};_0x17838d&&!_0x4c87a1&&(_0x5438ca['Content-Type']='application/json');const _0x3038e6={'method':_0x233273,'headers':_0x5438ca,'signal':_0x5ee8f0['signal']};_0x17838d&&(_0x3038e6['body']=_0x4c87a1?_0x17838d:JSON['stringify'](_0x17838d));const _0x18c3e4=fetch(''+this['_apiUrl']+_0x31bdbf,_0x3038e6)['catch'](_0x4af119=>{_0x55f999&&this['_responseCache']['delete'](_0x55f999),this['_handleError'](_0x4af119);})['then'](_0x2c1719=>_0x2c1719['ok']?_0x2c1719:_0x2c1719['json']()['then'](_0x3960a9=>{throw _0x55f999&&this['_responseCache']['delete'](_0x55f999),{'url':this['_apiUrl'],'path':_0x31bdbf,'method':_0x233273,'body':_0x17838d,'status':(_0x2c1719||{})['status'],'statusText':(_0x2c1719||{})['statusText'],'code':_0x3960a9['code'],'message':_0x3960a9['message'],'traceId':_0x3960a9['traceId']};}));return _0x55f999&&this['_responseCache']['set'](_0x55f999,_0x18c3e4['then'](_0x3faf9d=>_0x3faf9d['clone']())),{'request':_0x18c3e4,'abortController':_0x5ee8f0};}async*['_getStreamReader'](_0x1425f5){const _0x508322=[],_0x4d0025=_0x1425f5['getReader'](),_0x143cdb=createParser({'onError':_0x10219d=>{this['_handleError'](_0x10219d);},'onEvent':_0xfaefe6=>{_0xfaefe6['data']=JSON['parse'](_0xfaefe6['data']),_0x508322['push'](_0xfaefe6);}});try{let _0x1f2e4a=!0x1;for(;!_0x1f2e4a;){const {done:_0x25983c,value:_0x165471}=await _0x4d0025['read']();_0x25983c&&(_0x1f2e4a=!0x0),_0x143cdb['feed'](this['_decoder']['decode'](_0x165471,{'stream':!0x0})),yield*_0x508322,_0x508322['length']=0x0;}}catch(_0x6f523){this['_handleError'](_0x6f523);}finally{_0x4d0025['releaseLock'](),_0x143cdb['reset']();}}['_handleError'](_0x6a0c00){if(_0x6a0c00 instanceof ckeditor5['CKEditorError'])throw _0x6a0c00;if(_0x6a0c00 instanceof Error&&'AbortError'===_0x6a0c00['name'])throw new ckeditor5['CKEditorError']('ai-request-aborted',this,{'originalError':_0x6a0c00});throw new ckeditor5['CKEditorError']('ai-request-failed',this,{'originalError':_0x6a0c00});}}function getTranslation$i(_0x827eef,_0x4b6f64,_0x5149ab){const t=_0x827eef['t'];switch(_0x4b6f64){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'},_0x5149ab);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.'},_0x5149ab);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.'},_0x5149ab);case'AI_CHAT_RESOURCE_LOAD_FAILED':return t({'id':'AI_CHAT_RESOURCE_LOAD_FAILED','string':'Failed\x20to\x20load\x20resource.\x20Please\x20try\x20again.'});case'AI_CHAT_CONTEXT_CURRENT_DOCUMENT':return t({'id':'AI_CHAT_CONTEXT_CURRENT_DOCUMENT','string':'Current\x20document'});case'AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT':return t({'id':'AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT','string':'Remove\x20from\x20context'});case'AI_CHAT_CONTEXT_ADD_CONTEXT':return t({'id':'AI_CHAT_CONTEXT_ADD_CONTEXT','string':'Add\x20context'});case'AI_CHAT_CONTEXT_URL_LABEL':return t({'id':'AI_CHAT_CONTEXT_URL_LABEL','string':'URL'});case'AI_CHAT_CONTEXT_FILE_LABEL':return t({'id':'AI_CHAT_CONTEXT_FILE_LABEL','string':'File'});case'AI_CHAT_CONTEXT_CURRENT_CONTEXT_LABEL':return t({'id':'AI_CHAT_CONTEXT_CURRENT_CONTEXT_LABEL','string':'Current\x20context'});case'AI_CHAT_CONTEXT_DOCUMENT_SELECTION_LABEL':return t({'id':'AI_CHAT_CONTEXT_DOCUMENT_SELECTION_LABEL','string':'Selected\x20content'});case'AI_CHAT_SEARCH_WEB':return t({'id':'AI_CHAT_SEARCH_WEB','string':'Web\x20search'});case'AI_CHAT_ENABLE_WEB_SEARCH':return t({'id':'AI_CHAT_ENABLE_WEB_SEARCH','string':'Enable\x20web\x20search'});case'AI_CHAT_DISABLE_WEB_SEARCH':return t({'id':'AI_CHAT_DISABLE_WEB_SEARCH','string':'Disable\x20web\x20search'});case'AI_CHAT_REASONING':return t({'id':'AI_CHAT_REASONING','string':'Reasoning'});case'AI_CHAT_ENABLE_REASONING':return t({'id':'AI_CHAT_ENABLE_REASONING','string':'Enable\x20reasoning'});case'AI_CHAT_DISABLE_REASONING':return t({'id':'AI_CHAT_DISABLE_REASONING','string':'Disable\x20reasoning'});case'AI_CHAT_COMMANDS':return t({'id':'AI_CHAT_COMMANDS','string':'Commands'});case'AI_CHAT_SEARCH_RESOURCES':return t({'id':'AI_CHAT_SEARCH_RESOURCES','string':'Search\x20resources'});case'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT':return t({'id':'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','string':'Back\x20to\x20context\x20options'});case'AI_CHAT_CONTEXT_URL_ADD_URL':return t({'id':'AI_CHAT_CONTEXT_URL_ADD_URL','string':'Add\x20URL'});case'AI_CHAT_CONTEXT_URL_PLACEHOLDER':return t({'id':'AI_CHAT_CONTEXT_URL_PLACEHOLDER','string':'Add\x20URL...'});case'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL':return t({'id':'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL','string':'Failed\x20to\x20upload\x20URL:\x20%0.\x20Please\x20try\x20again.'},_0x5149ab);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'},_0x5149ab);case'AI_CHAT_SUGGESTION_ACTION_SUGGEST':return t({'id':'AI_CHAT_SUGGESTION_ACTION_SUGGEST','string':'Suggest'},_0x5149ab);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'},_0x5149ab);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.'},_0x5149ab);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.'},_0x5149ab);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.'},_0x5149ab);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.'},_0x5149ab);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'},_0x5149ab);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.'},_0x5149ab);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 _0x4b6f64;}}const _0x1f417a={'PRIMARY':'ck-ai-button-primary','SECONDARY':'ck-ai-button-secondary','TERTIARY':'ck-ai-button-tertiary'};function createResizeButton(_0x314e47,_0x3be7dc){const _0x8606b6=new ckeditor5['ButtonView'](_0x314e47),_0x1db2b5=getTranslation$i(_0x314e47,'AI_TABS_LABEL_MINIMIZE'),_0x3eba36=getTranslation$i(_0x314e47,'AI_TABS_LABEL_MAXIMIZE');return _0x8606b6['set']({'withText':!0x1,'icon':ckeditor5['IconMaximize'],'tooltip':!0x0,'class':'ck-ai-tabs__resize\x20'+_0x1f417a['TERTIARY']}),_0x8606b6['bind']('label')['to'](_0x3be7dc,'isMaximized',_0x27834d=>_0x27834d?_0x1db2b5:_0x3eba36),_0x8606b6['bind']('icon')['to'](_0x3be7dc,'isMaximized',_0x53fc77=>_0x53fc77?ckeditor5['IconMinimize']:ckeditor5['IconMaximize']),_0x8606b6['bind']('isOn')['to'](_0x3be7dc,'isMaximized'),_0x8606b6['on']('execute',()=>{_0x3be7dc['fire']('resizeTabs');}),_0x8606b6;}const htmlDecodeTree=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'](_0x5409f1=>_0x5409f1['charCodeAt'](0x0))),_0x409bb8=new Uint16Array('Ȁaglq\x09\x15\x18\x1bɭ\x0f\x00\x00\x12p;䀦os;䀧t;䀾t;䀼uot;䀢'['split']('')['map'](_0x1c9511=>_0x1c9511['charCodeAt'](0x0)));var _0x293d86;const _0x44318d=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]]),fromCodePoint$1=null!==(_0x293d86=String['fromCodePoint'])&&void 0x0!==_0x293d86?_0x293d86:function(_0x4eaba6){let _0xdba51e='';return _0x4eaba6>0xffff&&(_0x4eaba6-=0x10000,_0xdba51e+=String['fromCharCode'](_0x4eaba6>>>0xa&0x3ff|0xd800),_0x4eaba6=0xdc00|0x3ff&_0x4eaba6),_0xdba51e+=String['fromCharCode'](_0x4eaba6),_0xdba51e;};function replaceCodePoint(_0x431408){var _0x264e19;return _0x431408>=0xd800&&_0x431408<=0xdfff||_0x431408>0x10ffff?0xfffd:null!==(_0x264e19=_0x44318d['get'](_0x431408))&&void 0x0!==_0x264e19?_0x264e19:_0x431408;}var _0x2bc7a9;!function(_0x50920c){_0x50920c[_0x50920c['NUM']=0x23]='NUM',_0x50920c[_0x50920c['SEMI']=0x3b]='SEMI',_0x50920c[_0x50920c['EQUALS']=0x3d]='EQUALS',_0x50920c[_0x50920c['ZERO']=0x30]='ZERO',_0x50920c[_0x50920c['NINE']=0x39]='NINE',_0x50920c[_0x50920c['LOWER_A']=0x61]='LOWER_A',_0x50920c[_0x50920c['LOWER_F']=0x66]='LOWER_F',_0x50920c[_0x50920c['LOWER_X']=0x78]='LOWER_X',_0x50920c[_0x50920c['LOWER_Z']=0x7a]='LOWER_Z',_0x50920c[_0x50920c['UPPER_A']=0x41]='UPPER_A',_0x50920c[_0x50920c['UPPER_F']=0x46]='UPPER_F',_0x50920c[_0x50920c['UPPER_Z']=0x5a]='UPPER_Z';}(_0x2bc7a9||(_0x2bc7a9={}));const _0x3de99b=0x20;var _0x2cc49f,EntityDecoderState,_0x4ee9c4,_0x586345,State,QuoteType;function _0xf33b39(_0x228ec4){return _0x228ec4>=_0x2bc7a9['ZERO']&&_0x228ec4<=_0x2bc7a9['NINE'];}function isHexadecimalCharacter(_0x23b824){return _0x23b824>=_0x2bc7a9['UPPER_A']&&_0x23b824<=_0x2bc7a9['UPPER_F']||_0x23b824>=_0x2bc7a9['LOWER_A']&&_0x23b824<=_0x2bc7a9['LOWER_F'];}function _0x2be1d8(_0x28fe82){return _0x28fe82>=_0x2bc7a9['UPPER_A']&&_0x28fe82<=_0x2bc7a9['UPPER_Z']||_0x28fe82>=_0x2bc7a9['LOWER_A']&&_0x28fe82<=_0x2bc7a9['LOWER_Z']||_0xf33b39(_0x28fe82);}function isEntityInAttributeInvalidEnd(_0x11df87){return _0x11df87===_0x2bc7a9['EQUALS']||_0x2be1d8(_0x11df87);}!function(_0xcb5c25){_0xcb5c25[_0xcb5c25['VALUE_LENGTH']=0xc000]='VALUE_LENGTH',_0xcb5c25[_0xcb5c25['BRANCH_LENGTH']=0x3f80]='BRANCH_LENGTH',_0xcb5c25[_0xcb5c25['JUMP_TABLE']=0x7f]='JUMP_TABLE';}(_0x2cc49f||(_0x2cc49f={})),function(_0x3397fd){_0x3397fd[_0x3397fd['EntityStart']=0x0]='EntityStart',_0x3397fd[_0x3397fd['NumericStart']=0x1]='NumericStart',_0x3397fd[_0x3397fd['NumericDecimal']=0x2]='NumericDecimal',_0x3397fd[_0x3397fd['NumericHex']=0x3]='NumericHex',_0x3397fd[_0x3397fd['NamedEntity']=0x4]='NamedEntity';}(EntityDecoderState||(EntityDecoderState={})),function(_0x2c1819){_0x2c1819[_0x2c1819['Legacy']=0x0]='Legacy',_0x2c1819[_0x2c1819['Strict']=0x1]='Strict',_0x2c1819[_0x2c1819['Attribute']=0x2]='Attribute';}(_0x4ee9c4||(_0x4ee9c4={}));class EntityDecoder{constructor(_0x32bfeb,_0x31b440,_0x512740){this['decodeTree']=_0x32bfeb,this['emitCodePoint']=_0x31b440,this['errors']=_0x512740,this['state']=EntityDecoderState['EntityStart'],this['consumed']=0x1,this['result']=0x0,this['treeIndex']=0x0,this['excess']=0x1,this['decodeMode']=_0x4ee9c4['Strict'];}['startEntity'](_0x3b029b){this['decodeMode']=_0x3b029b,this['state']=EntityDecoderState['EntityStart'],this['result']=0x0,this['treeIndex']=0x0,this['excess']=0x1,this['consumed']=0x1;}['write'](_0x1ca311,_0x4eed23){switch(this['state']){case EntityDecoderState['EntityStart']:return _0x1ca311['charCodeAt'](_0x4eed23)===_0x2bc7a9['NUM']?(this['state']=EntityDecoderState['NumericStart'],this['consumed']+=0x1,this['stateNumericStart'](_0x1ca311,_0x4eed23+0x1)):(this['state']=EntityDecoderState['NamedEntity'],this['stateNamedEntity'](_0x1ca311,_0x4eed23));case EntityDecoderState['NumericStart']:return this['stateNumericStart'](_0x1ca311,_0x4eed23);case EntityDecoderState['NumericDecimal']:return this['stateNumericDecimal'](_0x1ca311,_0x4eed23);case EntityDecoderState['NumericHex']:return this['stateNumericHex'](_0x1ca311,_0x4eed23);case EntityDecoderState['NamedEntity']:return this['stateNamedEntity'](_0x1ca311,_0x4eed23);}}['stateNumericStart'](_0x288044,_0xf5676f){return _0xf5676f>=_0x288044['length']?-0x1:(_0x288044['charCodeAt'](_0xf5676f)|_0x3de99b)===_0x2bc7a9['LOWER_X']?(this['state']=EntityDecoderState['NumericHex'],this['consumed']+=0x1,this['stateNumericHex'](_0x288044,_0xf5676f+0x1)):(this['state']=EntityDecoderState['NumericDecimal'],this['stateNumericDecimal'](_0x288044,_0xf5676f));}['addToNumericResult'](_0x4999fa,_0x35eb7c,_0x3a256f,_0x3be128){if(_0x35eb7c!==_0x3a256f){const _0x2a08fb=_0x3a256f-_0x35eb7c;this['result']=this['result']*Math['pow'](_0x3be128,_0x2a08fb)+Number['parseInt'](_0x4999fa['substr'](_0x35eb7c,_0x2a08fb),_0x3be128),this['consumed']+=_0x2a08fb;}}['stateNumericHex'](_0x49b07a,_0x13f640){const _0x14aee2=_0x13f640;for(;_0x13f640<_0x49b07a['length'];){const _0x539a91=_0x49b07a['charCodeAt'](_0x13f640);if(!_0xf33b39(_0x539a91)&&!isHexadecimalCharacter(_0x539a91))return this['addToNumericResult'](_0x49b07a,_0x14aee2,_0x13f640,0x10),this['emitNumericEntity'](_0x539a91,0x3);_0x13f640+=0x1;}return this['addToNumericResult'](_0x49b07a,_0x14aee2,_0x13f640,0x10),-0x1;}['stateNumericDecimal'](_0x5b3b94,_0x5e9b35){const _0xd503d2=_0x5e9b35;for(;_0x5e9b35<_0x5b3b94['length'];){const _0x938a32=_0x5b3b94['charCodeAt'](_0x5e9b35);if(!_0xf33b39(_0x938a32))return this['addToNumericResult'](_0x5b3b94,_0xd503d2,_0x5e9b35,0xa),this['emitNumericEntity'](_0x938a32,0x2);_0x5e9b35+=0x1;}return this['addToNumericResult'](_0x5b3b94,_0xd503d2,_0x5e9b35,0xa),-0x1;}['emitNumericEntity'](_0x562b75,_0x31f71b){var _0x1c5f7d;if(this['consumed']<=_0x31f71b)return null===(_0x1c5f7d=this['errors'])||void 0x0===_0x1c5f7d||_0x1c5f7d['absenceOfDigitsInNumericCharacterReference'](this['consumed']),0x0;if(_0x562b75===_0x2bc7a9['SEMI'])this['consumed']+=0x1;else{if(this['decodeMode']===_0x4ee9c4['Strict'])return 0x0;}return this['emitCodePoint'](replaceCodePoint(this['result']),this['consumed']),this['errors']&&(_0x562b75!==_0x2bc7a9['SEMI']&&this['errors']['missingSemicolonAfterCharacterReference'](),this['errors']['validateNumericCharacterReference'](this['result'])),this['consumed'];}['stateNamedEntity'](_0x53bf73,_0x1cd0b6){const {decodeTree:_0x5149a8}=this;let _0x5a59fb=_0x5149a8[this['treeIndex']],_0x477c84=(_0x5a59fb&_0x2cc49f['VALUE_LENGTH'])>>0xe;for(;_0x1cd0b6<_0x53bf73['length'];_0x1cd0b6++,this['excess']++){const _0x3484ec=_0x53bf73['charCodeAt'](_0x1cd0b6);if(this['treeIndex']=determineBranch(_0x5149a8,_0x5a59fb,this['treeIndex']+Math['max'](0x1,_0x477c84),_0x3484ec),this['treeIndex']<0x0)return 0x0===this['result']||this['decodeMode']===_0x4ee9c4['Attribute']&&(0x0===_0x477c84||isEntityInAttributeInvalidEnd(_0x3484ec))?0x0:this['emitNotTerminatedNamedEntity']();if(_0x5a59fb=_0x5149a8[this['treeIndex']],_0x477c84=(_0x5a59fb&_0x2cc49f['VALUE_LENGTH'])>>0xe,0x0!==_0x477c84){if(_0x3484ec===_0x2bc7a9['SEMI'])return this['emitNamedEntityData'](this['treeIndex'],_0x477c84,this['consumed']+this['excess']);this['decodeMode']!==_0x4ee9c4['Strict']&&(this['result']=this['treeIndex'],this['consumed']+=this['excess'],this['excess']=0x0);}}return-0x1;}['emitNotTerminatedNamedEntity'](){var _0x1cb88b;const {result:_0x4496e5,decodeTree:_0x22b47b}=this,_0x54e09e=(_0x22b47b[_0x4496e5]&_0x2cc49f['VALUE_LENGTH'])>>0xe;return this['emitNamedEntityData'](_0x4496e5,_0x54e09e,this['consumed']),null===(_0x1cb88b=this['errors'])||void 0x0===_0x1cb88b||_0x1cb88b['missingSemicolonAfterCharacterReference'](),this['consumed'];}['emitNamedEntityData'](_0x3b5b5f,_0x5c0bdc,_0x3508f0){const {decodeTree:_0x1d6fc2}=this;return this['emitCodePoint'](0x1===_0x5c0bdc?_0x1d6fc2[_0x3b5b5f]&~_0x2cc49f['VALUE_LENGTH']:_0x1d6fc2[_0x3b5b5f+0x1],_0x3508f0),0x3===_0x5c0bdc&&this['emitCodePoint'](_0x1d6fc2[_0x3b5b5f+0x2],_0x3508f0),_0x3508f0;}['end'](){var _0x3d76d1;switch(this['state']){case EntityDecoderState['NamedEntity']:return 0x0===this['result']||this['decodeMode']===_0x4ee9c4['Attribute']&&this['result']!==this['treeIndex']?0x0:this['emitNotTerminatedNamedEntity']();case EntityDecoderState['NumericDecimal']:return this['emitNumericEntity'](0x0,0x2);case EntityDecoderState['NumericHex']:return this['emitNumericEntity'](0x0,0x3);case EntityDecoderState['NumericStart']:return null===(_0x3d76d1=this['errors'])||void 0x0===_0x3d76d1||_0x3d76d1['absenceOfDigitsInNumericCharacterReference'](this['consumed']),0x0;case EntityDecoderState['EntityStart']:return 0x0;}}}function determineBranch(_0x23ac7a,_0x387569,_0xebfb9d,_0x1d0f76){const _0x9454d1=(_0x387569&_0x2cc49f['BRANCH_LENGTH'])>>0x7,_0x31e258=_0x387569&_0x2cc49f['JUMP_TABLE'];if(0x0===_0x9454d1)return 0x0!==_0x31e258&&_0x1d0f76===_0x31e258?_0xebfb9d:-0x1;if(_0x31e258){const _0x481784=_0x1d0f76-_0x31e258;return _0x481784<0x0||_0x481784>=_0x9454d1?-0x1:_0x23ac7a[_0xebfb9d+_0x481784]-0x1;}let _0x39d62e=_0xebfb9d,_0x23da40=_0x39d62e+_0x9454d1-0x1;for(;_0x39d62e<=_0x23da40;){const _0x423865=_0x39d62e+_0x23da40>>>0x1,_0x41debd=_0x23ac7a[_0x423865];if(_0x41debd<_0x1d0f76)_0x39d62e=_0x423865+0x1;else{if(!(_0x41debd>_0x1d0f76))return _0x23ac7a[_0x423865+_0x9454d1];_0x23da40=_0x423865-0x1;}}return-0x1;}function isWhitespace(_0x49ec5a){return _0x49ec5a===_0x586345['Space']||_0x49ec5a===_0x586345['NewLine']||_0x49ec5a===_0x586345['Tab']||_0x49ec5a===_0x586345['FormFeed']||_0x49ec5a===_0x586345['CarriageReturn'];}function isEndOfTagSection(_0x4661ae){return _0x4661ae===_0x586345['Slash']||_0x4661ae===_0x586345['Gt']||isWhitespace(_0x4661ae);}function _0x365901(_0xf3b2c){return _0xf3b2c>=_0x586345['LowerA']&&_0xf3b2c<=_0x586345['LowerZ']||_0xf3b2c>=_0x586345['UpperA']&&_0xf3b2c<=_0x586345['UpperZ'];}!function(_0x495850){_0x495850[_0x495850['Tab']=0x9]='Tab',_0x495850[_0x495850['NewLine']=0xa]='NewLine',_0x495850[_0x495850['FormFeed']=0xc]='FormFeed',_0x495850[_0x495850['CarriageReturn']=0xd]='CarriageReturn',_0x495850[_0x495850['Space']=0x20]='Space',_0x495850[_0x495850['ExclamationMark']=0x21]='ExclamationMark',_0x495850[_0x495850['Number']=0x23]='Number',_0x495850[_0x495850['Amp']=0x26]='Amp',_0x495850[_0x495850['SingleQuote']=0x27]='SingleQuote',_0x495850[_0x495850['DoubleQuote']=0x22]='DoubleQuote',_0x495850[_0x495850['Dash']=0x2d]='Dash',_0x495850[_0x495850['Slash']=0x2f]='Slash',_0x495850[_0x495850['Zero']=0x30]='Zero',_0x495850[_0x495850['Nine']=0x39]='Nine',_0x495850[_0x495850['Semi']=0x3b]='Semi',_0x495850[_0x495850['Lt']=0x3c]='Lt',_0x495850[_0x495850['Eq']=0x3d]='Eq',_0x495850[_0x495850['Gt']=0x3e]='Gt',_0x495850[_0x495850['Questionmark']=0x3f]='Questionmark',_0x495850[_0x495850['UpperA']=0x41]='UpperA',_0x495850[_0x495850['LowerA']=0x61]='LowerA',_0x495850[_0x495850['UpperF']=0x46]='UpperF',_0x495850[_0x495850['LowerF']=0x66]='LowerF',_0x495850[_0x495850['UpperZ']=0x5a]='UpperZ',_0x495850[_0x495850['LowerZ']=0x7a]='LowerZ',_0x495850[_0x495850['LowerX']=0x78]='LowerX',_0x495850[_0x495850['OpeningSquareBracket']=0x5b]='OpeningSquareBracket';}(_0x586345||(_0x586345={})),function(_0x34e9bb){_0x34e9bb[_0x34e9bb['Text']=0x1]='Text',_0x34e9bb[_0x34e9bb['BeforeTagName']=0x2]='BeforeTagName',_0x34e9bb[_0x34e9bb['InTagName']=0x3]='InTagName',_0x34e9bb[_0x34e9bb['InSelfClosingTag']=0x4]='InSelfClosingTag',_0x34e9bb[_0x34e9bb['BeforeClosingTagName']=0x5]='BeforeClosingTagName',_0x34e9bb[_0x34e9bb['InClosingTagName']=0x6]='InClosingTagName',_0x34e9bb[_0x34e9bb['AfterClosingTagName']=0x7]='AfterClosingTagName',_0x34e9bb[_0x34e9bb['BeforeAttributeName']=0x8]='BeforeAttributeName',_0x34e9bb[_0x34e9bb['InAttributeName']=0x9]='InAttributeName',_0x34e9bb[_0x34e9bb['AfterAttributeName']=0xa]='AfterAttributeName',_0x34e9bb[_0x34e9bb['BeforeAttributeValue']=0xb]='BeforeAttributeValue',_0x34e9bb[_0x34e9bb['InAttributeValueDq']=0xc]='InAttributeValueDq',_0x34e9bb[_0x34e9bb['InAttributeValueSq']=0xd]='InAttributeValueSq',_0x34e9bb[_0x34e9bb['InAttributeValueNq']=0xe]='InAttributeValueNq',_0x34e9bb[_0x34e9bb['BeforeDeclaration']=0xf]='BeforeDeclaration',_0x34e9bb[_0x34e9bb['InDeclaration']=0x10]='InDeclaration',_0x34e9bb[_0x34e9bb['InProcessingInstruction']=0x11]='InProcessingInstruction',_0x34e9bb[_0x34e9bb['BeforeComment']=0x12]='BeforeComment',_0x34e9bb[_0x34e9bb['CDATASequence']=0x13]='CDATASequence',_0x34e9bb[_0x34e9bb['InSpecialComment']=0x14]='InSpecialComment',_0x34e9bb[_0x34e9bb['InCommentLike']=0x15]='InCommentLike',_0x34e9bb[_0x34e9bb['BeforeSpecialS']=0x16]='BeforeSpecialS',_0x34e9bb[_0x34e9bb['BeforeSpecialT']=0x17]='BeforeSpecialT',_0x34e9bb[_0x34e9bb['SpecialStartSequence']=0x18]='SpecialStartSequence',_0x34e9bb[_0x34e9bb['InSpecialTag']=0x19]='InSpecialTag',_0x34e9bb[_0x34e9bb['InEntity']=0x1a]='InEntity';}(State||(State={})),function(_0x9a0dd5){_0x9a0dd5[_0x9a0dd5['NoValue']=0x0]='NoValue',_0x9a0dd5[_0x9a0dd5['Unquoted']=0x1]='Unquoted',_0x9a0dd5[_0x9a0dd5['Single']=0x2]='Single',_0x9a0dd5[_0x9a0dd5['Double']=0x3]='Double';}(QuoteType||(QuoteType={}));const _0x52ccb5={'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 _0x2aa914{constructor({xmlMode:_0x5ed672=!0x1,decodeEntities:_0x5be64f=!0x0},_0x50f7ce){this['cbs']=_0x50f7ce,this['state']=State['Text'],this['buffer']='',this['sectionStart']=0x0,this['index']=0x0,this['entityStart']=0x0,this['baseState']=State['Text'],this['isSpecial']=!0x1,this['running']=!0x0,this['offset']=0x0,this['currentSequence']=void 0x0,this['sequenceIndex']=0x0,this['xmlMode']=_0x5ed672,this['decodeEntities']=_0x5be64f,this['entityDecoder']=new EntityDecoder(_0x5ed672?_0x409bb8:htmlDecodeTree,(_0x307da2,_0x257e13)=>this['emitCodePoint'](_0x307da2,_0x257e13));}['reset'](){this['state']=State['Text'],this['buffer']='',this['sectionStart']=0x0,this['index']=0x0,this['baseState']=State['Text'],this['currentSequence']=void 0x0,this['running']=!0x0,this['offset']=0x0;}['write'](_0x544de7){this['offset']+=this['buffer']['length'],this['buffer']=_0x544de7,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'](_0x45c246){_0x45c246===_0x586345['Lt']||!this['decodeEntities']&&this['fastForwardTo'](_0x586345['Lt'])?(this['index']>this['sectionStart']&&this['cbs']['ontext'](this['sectionStart'],this['index']),this['state']=State['BeforeTagName'],this['sectionStart']=this['index']):this['decodeEntities']&&_0x45c246===_0x586345['Amp']&&this['startEntity']();}['stateSpecialStartSequence'](_0x3e2c43){const _0x2bb53d=this['sequenceIndex']===this['currentSequence']['length'];if(_0x2bb53d?isEndOfTagSection(_0x3e2c43):(0x20|_0x3e2c43)===this['currentSequence'][this['sequenceIndex']]){if(!_0x2bb53d)return void this['sequenceIndex']++;}else this['isSpecial']=!0x1;this['sequenceIndex']=0x0,this['state']=State['InTagName'],this['stateInTagName'](_0x3e2c43);}['stateInSpecialTag'](_0x5f1f16){if(this['sequenceIndex']===this['currentSequence']['length']){if(_0x5f1f16===_0x586345['Gt']||isWhitespace(_0x5f1f16)){const _0xf19037=this['index']-this['currentSequence']['length'];if(this['sectionStart']<_0xf19037){const _0x5361c7=this['index'];this['index']=_0xf19037,this['cbs']['ontext'](this['sectionStart'],_0xf19037),this['index']=_0x5361c7;}return this['isSpecial']=!0x1,this['sectionStart']=_0xf19037+0x2,void this['stateInClosingTagName'](_0x5f1f16);}this['sequenceIndex']=0x0;}(0x20|_0x5f1f16)===this['currentSequence'][this['sequenceIndex']]?this['sequenceIndex']+=0x1:0x0===this['sequenceIndex']?this['currentSequence']===_0x52ccb5['TitleEnd']?this['decodeEntities']&&_0x5f1f16===_0x586345['Amp']&&this['startEntity']():this['fastForwardTo'](_0x586345['Lt'])&&(this['sequenceIndex']=0x1):this['sequenceIndex']=Number(_0x5f1f16===_0x586345['Lt']);}['stateCDATASequence'](_0x45e05c){_0x45e05c===_0x52ccb5['Cdata'][this['sequenceIndex']]?++this['sequenceIndex']===_0x52ccb5['Cdata']['length']&&(this['state']=State['InCommentLike'],this['currentSequence']=_0x52ccb5['CdataEnd'],this['sequenceIndex']=0x0,this['sectionStart']=this['index']+0x1):(this['sequenceIndex']=0x0,this['state']=State['InDeclaration'],this['stateInDeclaration'](_0x45e05c));}['fastForwardTo'](_0x4a3f18){for(;++this['index']<this['buffer']['length']+this['offset'];)if(this['buffer']['charCodeAt'](this['index']-this['offset'])===_0x4a3f18)return!0x0;return this['index']=this['buffer']['length']+this['offset']-0x1,!0x1;}['stateInCommentLike'](_0x4a096b){_0x4a096b===this['currentSequence'][this['sequenceIndex']]?++this['sequenceIndex']===this['currentSequence']['length']&&(this['currentSequence']===_0x52ccb5['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']=State['Text']):0x0===this['sequenceIndex']?this['fastForwardTo'](this['currentSequence'][0x0])&&(this['sequenceIndex']=0x1):_0x4a096b!==this['currentSequence'][this['sequenceIndex']-0x1]&&(this['sequenceIndex']=0x0);}['isTagStartChar'](_0x2bae66){return this['xmlMode']?!isEndOfTagSection(_0x2bae66):_0x365901(_0x2bae66);}['startSpecial'](_0x1c0f2d,_0x35bff6){this['isSpecial']=!0x0,this['currentSequence']=_0x1c0f2d,this['sequenceIndex']=_0x35bff6,this['state']=State['SpecialStartSequence'];}['stateBeforeTagName'](_0x57d028){if(_0x57d028===_0x586345['ExclamationMark'])this['state']=State['BeforeDeclaration'],this['sectionStart']=this['index']+0x1;else{if(_0x57d028===_0x586345['Questionmark'])this['state']=State['InProcessingInstruction'],this['sectionStart']=this['index']+0x1;else{if(this['isTagStartChar'](_0x57d028)){const _0x45f447=0x20|_0x57d028;this['sectionStart']=this['index'],this['xmlMode']?this['state']=State['InTagName']:_0x45f447===_0x52ccb5['ScriptEnd'][0x2]?this['state']=State['BeforeSpecialS']:_0x45f447===_0x52ccb5['TitleEnd'][0x2]||_0x45f447===_0x52ccb5['XmpEnd'][0x2]?this['state']=State['BeforeSpecialT']:this['state']=State['InTagName'];}else _0x57d028===_0x586345['Slash']?this['state']=State['BeforeClosingTagName']:(this['state']=State['Text'],this['stateText'](_0x57d028));}}}['stateInTagName'](_0xc1a69a){isEndOfTagSection(_0xc1a69a)&&(this['cbs']['onopentagname'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['state']=State['BeforeAttributeName'],this['stateBeforeAttributeName'](_0xc1a69a));}['stateBeforeClosingTagName'](_0x423101){isWhitespace(_0x423101)||(_0x423101===_0x586345['Gt']?this['state']=State['Text']:(this['state']=this['isTagStartChar'](_0x423101)?State['InClosingTagName']:State['InSpecialComment'],this['sectionStart']=this['index']));}['stateInClosingTagName'](_0x4d8748){(_0x4d8748===_0x586345['Gt']||isWhitespace(_0x4d8748))&&(this['cbs']['onclosetag'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['state']=State['AfterClosingTagName'],this['stateAfterClosingTagName'](_0x4d8748));}['stateAfterClosingTagName'](_0x7e7134){(_0x7e7134===_0x586345['Gt']||this['fastForwardTo'](_0x586345['Gt']))&&(this['state']=State['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeAttributeName'](_0x4c2166){_0x4c2166===_0x586345['Gt']?(this['cbs']['onopentagend'](this['index']),this['isSpecial']?(this['state']=State['InSpecialTag'],this['sequenceIndex']=0x0):this['state']=State['Text'],this['sectionStart']=this['index']+0x1):_0x4c2166===_0x586345['Slash']?this['state']=State['InSelfClosingTag']:isWhitespace(_0x4c2166)||(this['state']=State['InAttributeName'],this['sectionStart']=this['index']);}['stateInSelfClosingTag'](_0x4bd6a5){_0x4bd6a5===_0x586345['Gt']?(this['cbs']['onselfclosingtag'](this['index']),this['state']=State['Text'],this['sectionStart']=this['index']+0x1,this['isSpecial']=!0x1):isWhitespace(_0x4bd6a5)||(this['state']=State['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x4bd6a5));}['stateInAttributeName'](_0x23fcd3){(_0x23fcd3===_0x586345['Eq']||isEndOfTagSection(_0x23fcd3))&&(this['cbs']['onattribname'](this['sectionStart'],this['index']),this['sectionStart']=this['index'],this['state']=State['AfterAttributeName'],this['stateAfterAttributeName'](_0x23fcd3));}['stateAfterAttributeName'](_0x359a8a){_0x359a8a===_0x586345['Eq']?this['state']=State['BeforeAttributeValue']:_0x359a8a===_0x586345['Slash']||_0x359a8a===_0x586345['Gt']?(this['cbs']['onattribend'](QuoteType['NoValue'],this['sectionStart']),this['sectionStart']=-0x1,this['state']=State['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x359a8a)):isWhitespace(_0x359a8a)||(this['cbs']['onattribend'](QuoteType['NoValue'],this['sectionStart']),this['state']=State['InAttributeName'],this['sectionStart']=this['index']);}['stateBeforeAttributeValue'](_0x2dd73a){_0x2dd73a===_0x586345['DoubleQuote']?(this['state']=State['InAttributeValueDq'],this['sectionStart']=this['index']+0x1):_0x2dd73a===_0x586345['SingleQuote']?(this['state']=State['InAttributeValueSq'],this['sectionStart']=this['index']+0x1):isWhitespace(_0x2dd73a)||(this['sectionStart']=this['index'],this['state']=State['InAttributeValueNq'],this['stateInAttributeValueNoQuotes'](_0x2dd73a));}['handleInAttributeValue'](_0x1c05ac,_0x17c590){_0x1c05ac===_0x17c590||!this['decodeEntities']&&this['fastForwardTo'](_0x17c590)?(this['cbs']['onattribdata'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['cbs']['onattribend'](_0x17c590===_0x586345['DoubleQuote']?QuoteType['Double']:QuoteType['Single'],this['index']+0x1),this['state']=State['BeforeAttributeName']):this['decodeEntities']&&_0x1c05ac===_0x586345['Amp']&&this['startEntity']();}['stateInAttributeValueDoubleQuotes'](_0x72928c){this['handleInAttributeValue'](_0x72928c,_0x586345['DoubleQuote']);}['stateInAttributeValueSingleQuotes'](_0x13cfa0){this['handleInAttributeValue'](_0x13cfa0,_0x586345['SingleQuote']);}['stateInAttributeValueNoQuotes'](_0x20492a){isWhitespace(_0x20492a)||_0x20492a===_0x586345['Gt']?(this['cbs']['onattribdata'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['cbs']['onattribend'](QuoteType['Unquoted'],this['index']),this['state']=State['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x20492a)):this['decodeEntities']&&_0x20492a===_0x586345['Amp']&&this['startEntity']();}['stateBeforeDeclaration'](_0x2964ba){_0x2964ba===_0x586345['OpeningSquareBracket']?(this['state']=State['CDATASequence'],this['sequenceIndex']=0x0):this['state']=_0x2964ba===_0x586345['Dash']?State['BeforeComment']:State['InDeclaration'];}['stateInDeclaration'](_0x3171e7){(_0x3171e7===_0x586345['Gt']||this['fastForwardTo'](_0x586345['Gt']))&&(this['cbs']['ondeclaration'](this['sectionStart'],this['index']),this['state']=State['Text'],this['sectionStart']=this['index']+0x1);}['stateInProcessingInstruction'](_0xe95b0d){(_0xe95b0d===_0x586345['Gt']||this['fastForwardTo'](_0x586345['Gt']))&&(this['cbs']['onprocessinginstruction'](this['sectionStart'],this['index']),this['state']=State['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeComment'](_0x21f3d1){_0x21f3d1===_0x586345['Dash']?(this['state']=State['InCommentLike'],this['currentSequence']=_0x52ccb5['CommentEnd'],this['sequenceIndex']=0x2,this['sectionStart']=this['index']+0x1):this['state']=State['InDeclaration'];}['stateInSpecialComment'](_0x59438a){(_0x59438a===_0x586345['Gt']||this['fastForwardTo'](_0x586345['Gt']))&&(this['cbs']['oncomment'](this['sectionStart'],this['index'],0x0),this['state']=State['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeSpecialS'](_0x4d8f81){const _0x131c4d=0x20|_0x4d8f81;_0x131c4d===_0x52ccb5['ScriptEnd'][0x3]?this['startSpecial'](_0x52ccb5['ScriptEnd'],0x4):_0x131c4d===_0x52ccb5['StyleEnd'][0x3]?this['startSpecial'](_0x52ccb5['StyleEnd'],0x4):(this['state']=State['InTagName'],this['stateInTagName'](_0x4d8f81));}['stateBeforeSpecialT'](_0x212418){switch(0x20|_0x212418){case _0x52ccb5['TitleEnd'][0x3]:this['startSpecial'](_0x52ccb5['TitleEnd'],0x4);break;case _0x52ccb5['TextareaEnd'][0x3]:this['startSpecial'](_0x52ccb5['TextareaEnd'],0x4);break;case _0x52ccb5['XmpEnd'][0x3]:this['startSpecial'](_0x52ccb5['XmpEnd'],0x4);break;default:this['state']=State['InTagName'],this['stateInTagName'](_0x212418);}}['startEntity'](){this['baseState']=this['state'],this['state']=State['InEntity'],this['entityStart']=this['index'],this['entityDecoder']['startEntity'](this['xmlMode']?_0x4ee9c4['Strict']:this['baseState']===State['Text']||this['baseState']===State['InSpecialTag']?_0x4ee9c4['Legacy']:_0x4ee9c4['Attribute']);}['stateInEntity'](){const _0x456227=this['entityDecoder']['write'](this['buffer'],this['index']-this['offset']);_0x456227>=0x0?(this['state']=this['baseState'],0x0===_0x456227&&(this['index']=this['entityStart'])):this['index']=this['offset']+this['buffer']['length']-0x1;}['cleanup'](){this['running']&&this['sectionStart']!==this['index']&&(this['state']===State['Text']||this['state']===State['InSpecialTag']&&0x0===this['sequenceIndex']?(this['cbs']['ontext'](this['sectionStart'],this['index']),this['sectionStart']=this['index']):this['state']!==State['InAttributeValueDq']&&this['state']!==State['InAttributeValueSq']&&this['state']!==State['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 _0x5eb46b=this['buffer']['charCodeAt'](this['index']-this['offset']);switch(this['state']){case State['Text']:this['stateText'](_0x5eb46b);break;case State['SpecialStartSequence']:this['stateSpecialStartSequence'](_0x5eb46b);break;case State['InSpecialTag']:this['stateInSpecialTag'](_0x5eb46b);break;case State['CDATASequence']:this['stateCDATASequence'](_0x5eb46b);break;case State['InAttributeValueDq']:this['stateInAttributeValueDoubleQuotes'](_0x5eb46b);break;case State['InAttributeName']:this['stateInAttributeName'](_0x5eb46b);break;case State['InCommentLike']:this['stateInCommentLike'](_0x5eb46b);break;case State['InSpecialComment']:this['stateInSpecialComment'](_0x5eb46b);break;case State['BeforeAttributeName']:this['stateBeforeAttributeName'](_0x5eb46b);break;case State['InTagName']:this['stateInTagName'](_0x5eb46b);break;case State['InClosingTagName']:this['stateInClosingTagName'](_0x5eb46b);break;case State['BeforeTagName']:this['stateBeforeTagName'](_0x5eb46b);break;case State['AfterAttributeName']:this['stateAfterAttributeName'](_0x5eb46b);break;case State['InAttributeValueSq']:this['stateInAttributeValueSingleQuotes'](_0x5eb46b);break;case State['BeforeAttributeValue']:this['stateBeforeAttributeValue'](_0x5eb46b);break;case State['BeforeClosingTagName']:this['stateBeforeClosingTagName'](_0x5eb46b);break;case State['AfterClosingTagName']:this['stateAfterClosingTagName'](_0x5eb46b);break;case State['BeforeSpecialS']:this['stateBeforeSpecialS'](_0x5eb46b);break;case State['BeforeSpecialT']:this['stateBeforeSpecialT'](_0x5eb46b);break;case State['InAttributeValueNq']:this['stateInAttributeValueNoQuotes'](_0x5eb46b);break;case State['InSelfClosingTag']:this['stateInSelfClosingTag'](_0x5eb46b);break;case State['InDeclaration']:this['stateInDeclaration'](_0x5eb46b);break;case State['BeforeDeclaration']:this['stateBeforeDeclaration'](_0x5eb46b);break;case State['BeforeComment']:this['stateBeforeComment'](_0x5eb46b);break;case State['InProcessingInstruction']:this['stateInProcessingInstruction'](_0x5eb46b);break;case State['InEntity']:this['stateInEntity']();}this['index']++;}this['cleanup']();}['finish'](){this['state']===State['InEntity']&&(this['entityDecoder']['end'](),this['state']=this['baseState']),this['handleTrailingData'](),this['cbs']['onend']();}['handleTrailingData'](){const _0x4135db=this['buffer']['length']+this['offset'];this['sectionStart']>=_0x4135db||(this['state']===State['InCommentLike']?this['currentSequence']===_0x52ccb5['CdataEnd']?this['cbs']['oncdata'](this['sectionStart'],_0x4135db,0x0):this['cbs']['oncomment'](this['sectionStart'],_0x4135db,0x0):this['state']===State['InTagName']||this['state']===State['BeforeAttributeName']||this['state']===State['BeforeAttributeValue']||this['state']===State['AfterAttributeName']||this['state']===State['InAttributeName']||this['state']===State['InAttributeValueSq']||this['state']===State['InAttributeValueDq']||this['state']===State['InAttributeValueNq']||this['state']===State['InClosingTagName']||this['cbs']['ontext'](this['sectionStart'],_0x4135db));}['emitCodePoint'](_0xfa4445,_0x1e8dbf){this['baseState']!==State['Text']&&this['baseState']!==State['InSpecialTag']?(this['sectionStart']<this['entityStart']&&this['cbs']['onattribdata'](this['sectionStart'],this['entityStart']),this['sectionStart']=this['entityStart']+_0x1e8dbf,this['index']=this['sectionStart']-0x1,this['cbs']['onattribentity'](_0xfa4445)):(this['sectionStart']<this['entityStart']&&this['cbs']['ontext'](this['sectionStart'],this['entityStart']),this['sectionStart']=this['entityStart']+_0x1e8dbf,this['index']=this['sectionStart']-0x1,this['cbs']['ontextentity'](_0xfa4445,this['sectionStart']));}}const _0x4fc7a0=new Set(['input','option','optgroup','select','button','datalist','textarea']),_0x2a87d5=new Set(['p']),tableSectionTags=new Set(['thead','tbody']),ddtTags=new Set(['dd','dt']),rtpTags=new Set(['rt','rp']),_0x727b6f=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',_0x2a87d5],['h1',_0x2a87d5],['h2',_0x2a87d5],['h3',_0x2a87d5],['h4',_0x2a87d5],['h5',_0x2a87d5],['h6',_0x2a87d5],['select',_0x4fc7a0],['input',_0x4fc7a0],['output',_0x4fc7a0],['button',_0x4fc7a0],['datalist',_0x4fc7a0],['textarea',_0x4fc7a0],['option',new Set(['option'])],['optgroup',new Set(['optgroup','option'])],['dd',ddtTags],['dt',ddtTags],['address',_0x2a87d5],['article',_0x2a87d5],['aside',_0x2a87d5],['blockquote',_0x2a87d5],['details',_0x2a87d5],['div',_0x2a87d5],['dl',_0x2a87d5],['fieldset',_0x2a87d5],['figcaption',_0x2a87d5],['figure',_0x2a87d5],['footer',_0x2a87d5],['form',_0x2a87d5],['header',_0x2a87d5],['hr',_0x2a87d5],['main',_0x2a87d5],['nav',_0x2a87d5],['ol',_0x2a87d5],['pre',_0x2a87d5],['section',_0x2a87d5],['table',_0x2a87d5],['ul',_0x2a87d5],['rt',rtpTags],['rp',rtpTags],['tbody',tableSectionTags],['tfoot',tableSectionTags]]),voidElements=new Set(['area','base','basefont','br','col','command','embed','frame','hr','img','input','isindex','keygen','link','meta','param','source','track','wbr']),foreignContextElements=new Set(['math','svg']),htmlIntegrationElements=new Set(['mi','mo','mn','ms','mtext','annotation-xml','foreignobject','desc','title']),_0x190928=/\s|\//;let _0x4193d3=class{constructor(_0x576d50,_0x36b1a2={}){var _0x32a08a,_0x1761c1,_0xa680d,_0x2f34d9,_0x436141,_0x2fd605;this['options']=_0x36b1a2,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!=_0x576d50?_0x576d50:{},this['htmlMode']=!this['options']['xmlMode'],this['lowerCaseTagNames']=null!==(_0x32a08a=_0x36b1a2['lowerCaseTags'])&&void 0x0!==_0x32a08a?_0x32a08a:this['htmlMode'],this['lowerCaseAttributeNames']=null!==(_0x1761c1=_0x36b1a2['lowerCaseAttributeNames'])&&void 0x0!==_0x1761c1?_0x1761c1:this['htmlMode'],this['recognizeSelfClosing']=null!==(_0xa680d=_0x36b1a2['recognizeSelfClosing'])&&void 0x0!==_0xa680d?_0xa680d:!this['htmlMode'],this['tokenizer']=new(null!==(_0x2f34d9=_0x36b1a2['Tokenizer'])&&void 0x0!==_0x2f34d9?_0x2f34d9:_0x2aa914)(this['options'],this),this['foreignContext']=[!this['htmlMode']],null===(_0x2fd605=(_0x436141=this['cbs'])['onparserinit'])||void 0x0===_0x2fd605||_0x2fd605['call'](_0x436141,this);}['ontext'](_0x152a65,_0x23edb7){var _0xa9cf45,_0x50b43a;const _0x4db340=this['getSlice'](_0x152a65,_0x23edb7);this['endIndex']=_0x23edb7-0x1,null===(_0x50b43a=(_0xa9cf45=this['cbs'])['ontext'])||void 0x0===_0x50b43a||_0x50b43a['call'](_0xa9cf45,_0x4db340),this['startIndex']=_0x23edb7;}['ontextentity'](_0xdce9dd,_0x4ab4b5){var _0x1506b1,_0x555c43;this['endIndex']=_0x4ab4b5-0x1,null===(_0x555c43=(_0x1506b1=this['cbs'])['ontext'])||void 0x0===_0x555c43||_0x555c43['call'](_0x1506b1,fromCodePoint$1(_0xdce9dd)),this['startIndex']=_0x4ab4b5;}['isVoidElement'](_0xbfbb83){return this['htmlMode']&&voidElements['has'](_0xbfbb83);}['onopentagname'](_0xffd7b4,_0x193108){this['endIndex']=_0x193108;let _0x40e8e7=this['getSlice'](_0xffd7b4,_0x193108);this['lowerCaseTagNames']&&(_0x40e8e7=_0x40e8e7['toLowerCase']()),this['emitOpenTag'](_0x40e8e7);}['emitOpenTag'](_0x4d1d98){var _0x27dd2a,_0x2963e8,_0xc30086,_0x3b8ad6;this['openTagStart']=this['startIndex'],this['tagname']=_0x4d1d98;const _0x3d12c0=this['htmlMode']&&_0x727b6f['get'](_0x4d1d98);if(_0x3d12c0)for(;this['stack']['length']>0x0&&_0x3d12c0['has'](this['stack'][0x0]);){const _0x278415=this['stack']['shift']();null===(_0x2963e8=(_0x27dd2a=this['cbs'])['onclosetag'])||void 0x0===_0x2963e8||_0x2963e8['call'](_0x27dd2a,_0x278415,!0x0);}this['isVoidElement'](_0x4d1d98)||(this['stack']['unshift'](_0x4d1d98),this['htmlMode']&&(foreignContextElements['has'](_0x4d1d98)?this['foreignContext']['unshift'](!0x0):htmlIntegrationElements['has'](_0x4d1d98)&&this['foreignContext']['unshift'](!0x1))),null===(_0x3b8ad6=(_0xc30086=this['cbs'])['onopentagname'])||void 0x0===_0x3b8ad6||_0x3b8ad6['call'](_0xc30086,_0x4d1d98),this['cbs']['onopentag']&&(this['attribs']={});}['endOpenTag'](_0x174888){var _0x12ba02,_0x2b83ae;this['startIndex']=this['openTagStart'],this['attribs']&&(null===(_0x2b83ae=(_0x12ba02=this['cbs'])['onopentag'])||void 0x0===_0x2b83ae||_0x2b83ae['call'](_0x12ba02,this['tagname'],this['attribs'],_0x174888),this['attribs']=null),this['cbs']['onclosetag']&&this['isVoidElement'](this['tagname'])&&this['cbs']['onclosetag'](this['tagname'],!0x0),this['tagname']='';}['onopentagend'](_0x4a0b5e){this['endIndex']=_0x4a0b5e,this['endOpenTag'](!0x1),this['startIndex']=_0x4a0b5e+0x1;}['onclosetag'](_0x109254,_0x49d74d){var _0x39c0e2,_0x32c87d,_0x2e84ce,_0x506eb8,_0x33f213,_0x3823cb,_0x2a2e9a,_0x248bfa;this['endIndex']=_0x49d74d;let _0x20ba9a=this['getSlice'](_0x109254,_0x49d74d);if(this['lowerCaseTagNames']&&(_0x20ba9a=_0x20ba9a['toLowerCase']()),this['htmlMode']&&(foreignContextElements['has'](_0x20ba9a)||htmlIntegrationElements['has'](_0x20ba9a))&&this['foreignContext']['shift'](),this['isVoidElement'](_0x20ba9a))this['htmlMode']&&'br'===_0x20ba9a&&(null===(_0x506eb8=(_0x2e84ce=this['cbs'])['onopentagname'])||void 0x0===_0x506eb8||_0x506eb8['call'](_0x2e84ce,'br'),null===(_0x3823cb=(_0x33f213=this['cbs'])['onopentag'])||void 0x0===_0x3823cb||_0x3823cb['call'](_0x33f213,'br',{},!0x0),null===(_0x248bfa=(_0x2a2e9a=this['cbs'])['onclosetag'])||void 0x0===_0x248bfa||_0x248bfa['call'](_0x2a2e9a,'br',!0x1));else{const _0x25e7bc=this['stack']['indexOf'](_0x20ba9a);if(-0x1!==_0x25e7bc)for(let _0x480dfa=0x0;_0x480dfa<=_0x25e7bc;_0x480dfa++){const _0x640cc0=this['stack']['shift']();null===(_0x32c87d=(_0x39c0e2=this['cbs'])['onclosetag'])||void 0x0===_0x32c87d||_0x32c87d['call'](_0x39c0e2,_0x640cc0,_0x480dfa!==_0x25e7bc);}else this['htmlMode']&&'p'===_0x20ba9a&&(this['emitOpenTag']('p'),this['closeCurrentTag'](!0x0));}this['startIndex']=_0x49d74d+0x1;}['onselfclosingtag'](_0x3b2330){this['endIndex']=_0x3b2330,this['recognizeSelfClosing']||this['foreignContext'][0x0]?(this['closeCurrentTag'](!0x1),this['startIndex']=_0x3b2330+0x1):this['onopentagend'](_0x3b2330);}['closeCurrentTag'](_0x3b87d6){var _0x2ab0d8,_0x488bf4;const _0x45d6fc=this['tagname'];this['endOpenTag'](_0x3b87d6),this['stack'][0x0]===_0x45d6fc&&(null===(_0x488bf4=(_0x2ab0d8=this['cbs'])['onclosetag'])||void 0x0===_0x488bf4||_0x488bf4['call'](_0x2ab0d8,_0x45d6fc,!_0x3b87d6),this['stack']['shift']());}['onattribname'](_0x538a9c,_0xbcaf14){this['startIndex']=_0x538a9c;const _0x2244be=this['getSlice'](_0x538a9c,_0xbcaf14);this['attribname']=this['lowerCaseAttributeNames']?_0x2244be['toLowerCase']():_0x2244be;}['onattribdata'](_0x300e60,_0x13771b){this['attribvalue']+=this['getSlice'](_0x300e60,_0x13771b);}['onattribentity'](_0x1f60c4){this['attribvalue']+=fromCodePoint$1(_0x1f60c4);}['onattribend'](_0x31ed67,_0x121f61){var _0x2e7380,_0x598b2b;this['endIndex']=_0x121f61,null===(_0x598b2b=(_0x2e7380=this['cbs'])['onattribute'])||void 0x0===_0x598b2b||_0x598b2b['call'](_0x2e7380,this['attribname'],this['attribvalue'],_0x31ed67===QuoteType['Double']?'\x22':_0x31ed67===QuoteType['Single']?'\x27':_0x31ed67===QuoteType['NoValue']?void 0x0:null),this['attribs']&&!Object['prototype']['hasOwnProperty']['call'](this['attribs'],this['attribname'])&&(this['attribs'][this['attribname']]=this['attribvalue']),this['attribvalue']='';}['getInstructionName'](_0x5b759b){const _0x350d04=_0x5b759b['search'](_0x190928);let _0x412b0c=_0x350d04<0x0?_0x5b759b:_0x5b759b['substr'](0x0,_0x350d04);return this['lowerCaseTagNames']&&(_0x412b0c=_0x412b0c['toLowerCase']()),_0x412b0c;}['ondeclaration'](_0x20db17,_0x5d1578){this['endIndex']=_0x5d1578;const _0xf58ca1=this['getSlice'](_0x20db17,_0x5d1578);if(this['cbs']['onprocessinginstruction']){const _0x561fff=this['getInstructionName'](_0xf58ca1);this['cbs']['onprocessinginstruction']('!'+_0x561fff,'!'+_0xf58ca1);}this['startIndex']=_0x5d1578+0x1;}['onprocessinginstruction'](_0x86fb16,_0x3fecab){this['endIndex']=_0x3fecab;const _0x4156f7=this['getSlice'](_0x86fb16,_0x3fecab);if(this['cbs']['onprocessinginstruction']){const _0x59a58c=this['getInstructionName'](_0x4156f7);this['cbs']['onprocessinginstruction']('?'+_0x59a58c,'?'+_0x4156f7);}this['startIndex']=_0x3fecab+0x1;}['oncomment'](_0x5857e7,_0x2da263,_0x1939f9){var _0x1a0ac0,_0x3dd241,_0x568926,_0x4ccbd7;this['endIndex']=_0x2da263,null===(_0x3dd241=(_0x1a0ac0=this['cbs'])['oncomment'])||void 0x0===_0x3dd241||_0x3dd241['call'](_0x1a0ac0,this['getSlice'](_0x5857e7,_0x2da263-_0x1939f9)),null===(_0x4ccbd7=(_0x568926=this['cbs'])['oncommentend'])||void 0x0===_0x4ccbd7||_0x4ccbd7['call'](_0x568926),this['startIndex']=_0x2da263+0x1;}['oncdata'](_0x432b85,_0x3a34c2,_0x2a7c41){var _0x2cc36c,_0xbcd35,_0x1ff339,_0x4cfb17,_0x25fc5e,_0x41d209,_0x267025,_0x52d156,_0x17dda6,_0x3a146d;this['endIndex']=_0x3a34c2;const _0x20a3e2=this['getSlice'](_0x432b85,_0x3a34c2-_0x2a7c41);!this['htmlMode']||this['options']['recognizeCDATA']?(null===(_0xbcd35=(_0x2cc36c=this['cbs'])['oncdatastart'])||void 0x0===_0xbcd35||_0xbcd35['call'](_0x2cc36c),null===(_0x4cfb17=(_0x1ff339=this['cbs'])['ontext'])||void 0x0===_0x4cfb17||_0x4cfb17['call'](_0x1ff339,_0x20a3e2),null===(_0x41d209=(_0x25fc5e=this['cbs'])['oncdataend'])||void 0x0===_0x41d209||_0x41d209['call'](_0x25fc5e)):(null===(_0x52d156=(_0x267025=this['cbs'])['oncomment'])||void 0x0===_0x52d156||_0x52d156['call'](_0x267025,'[CDATA['+_0x20a3e2+']]'),null===(_0x3a146d=(_0x17dda6=this['cbs'])['oncommentend'])||void 0x0===_0x3a146d||_0x3a146d['call'](_0x17dda6)),this['startIndex']=_0x3a34c2+0x1;}['onend'](){var _0x4ea23b,_0x4bb235;if(this['cbs']['onclosetag']){this['endIndex']=this['startIndex'];for(let _0x4a559f=0x0;_0x4a559f<this['stack']['length'];_0x4a559f++)this['cbs']['onclosetag'](this['stack'][_0x4a559f],!0x0);}null===(_0x4bb235=(_0x4ea23b=this['cbs'])['onend'])||void 0x0===_0x4bb235||_0x4bb235['call'](_0x4ea23b);}['reset'](){var _0x94b2c2,_0x4fe4d7,_0x18da82,_0x12decc;null===(_0x4fe4d7=(_0x94b2c2=this['cbs'])['onreset'])||void 0x0===_0x4fe4d7||_0x4fe4d7['call'](_0x94b2c2),this['tokenizer']['reset'](),this['tagname']='',this['attribname']='',this['attribs']=null,this['stack']['length']=0x0,this['startIndex']=0x0,this['endIndex']=0x0,null===(_0x12decc=(_0x18da82=this['cbs'])['onparserinit'])||void 0x0===_0x12decc||_0x12decc['call'](_0x18da82,this),this['buffers']['length']=0x0,this['foreignContext']['length']=0x0,this['foreignContext']['unshift'](!this['htmlMode']),this['bufferOffset']=0x0,this['writeIndex']=0x0,this['ended']=!0x1;}['parseComplete'](_0xefb43f){this['reset'](),this['end'](_0xefb43f);}['getSlice'](_0x1e0b89,_0x20de67){for(;_0x1e0b89-this['bufferOffset']>=this['buffers'][0x0]['length'];)this['shiftBuffer']();let _0x2c1716=this['buffers'][0x0]['slice'](_0x1e0b89-this['bufferOffset'],_0x20de67-this['bufferOffset']);for(;_0x20de67-this['bufferOffset']>this['buffers'][0x0]['length'];)this['shiftBuffer'](),_0x2c1716+=this['buffers'][0x0]['slice'](0x0,_0x20de67-this['bufferOffset']);return _0x2c1716;}['shiftBuffer'](){this['bufferOffset']+=this['buffers'][0x0]['length'],this['writeIndex']--,this['buffers']['shift']();}['write'](_0x378be5){var _0x1755b9,_0x53b636;this['ended']?null===(_0x53b636=(_0x1755b9=this['cbs'])['onerror'])||void 0x0===_0x53b636||_0x53b636['call'](_0x1755b9,new Error('.write()\x20after\x20done!')):(this['buffers']['push'](_0x378be5),this['tokenizer']['running']&&(this['tokenizer']['write'](_0x378be5),this['writeIndex']++));}['end'](_0x12909c){var _0x4e6c27,_0x1bcb98;this['ended']?null===(_0x1bcb98=(_0x4e6c27=this['cbs'])['onerror'])||void 0x0===_0x1bcb98||_0x1bcb98['call'](_0x4e6c27,new Error('.end()\x20after\x20done!')):(_0x12909c&&this['write'](_0x12909c),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'](_0x236453){this['write'](_0x236453);}['done'](_0x34f402){this['end'](_0x34f402);}};var ElementType;function _0x3ddd40(_0x211286){return _0x211286['type']===ElementType['Tag']||_0x211286['type']===ElementType['Script']||_0x211286['type']===ElementType['Style'];}!function(_0x2fbf53){_0x2fbf53['Root']='root',_0x2fbf53['Text']='text',_0x2fbf53['Directive']='directive',_0x2fbf53['Comment']='comment',_0x2fbf53['Script']='script',_0x2fbf53['Style']='style',_0x2fbf53['Tag']='tag',_0x2fbf53['CDATA']='cdata',_0x2fbf53['Doctype']='doctype';}(ElementType||(ElementType={}));const Root=ElementType['Root'],Text$3=ElementType['Text'],Directive=ElementType['Directive'],Comment$3=ElementType['Comment'],Script=ElementType['Script'],Style=ElementType['Style'],_0x242a20=ElementType['Tag'],_0x57f89a=ElementType['CDATA'],Doctype=ElementType['Doctype'];let _0x257e2e=class{constructor(){this['parent']=null,this['prev']=null,this['next']=null,this['startIndex']=null,this['endIndex']=null;}get['parentNode'](){return this['parent'];}set['parentNode'](_0x5303ad){this['parent']=_0x5303ad;}get['previousSibling'](){return this['prev'];}set['previousSibling'](_0x38b4c1){this['prev']=_0x38b4c1;}get['nextSibling'](){return this['next'];}set['nextSibling'](_0x225b55){this['next']=_0x225b55;}['cloneNode'](_0x376571=!0x1){return _0x3fab74(this,_0x376571);}};class DataNode extends _0x257e2e{constructor(_0x4a7131){super(),this['data']=_0x4a7131;}get['nodeValue'](){return this['data'];}set['nodeValue'](_0x261fb9){this['data']=_0x261fb9;}}let Text$2=class extends DataNode{constructor(){super(...arguments),this['type']=ElementType['Text'];}get['nodeType'](){return 0x3;}},Comment$2=class extends DataNode{constructor(){super(...arguments),this['type']=ElementType['Comment'];}get['nodeType'](){return 0x8;}};class ProcessingInstruction extends DataNode{constructor(_0x5563a7,_0x578d58){super(_0x578d58),this['name']=_0x5563a7,this['type']=ElementType['Directive'];}get['nodeType'](){return 0x1;}}class NodeWithChildren extends _0x257e2e{constructor(_0x54240a){super(),this['children']=_0x54240a;}get['firstChild'](){var _0x4f0e83;return null!==(_0x4f0e83=this['children'][0x0])&&void 0x0!==_0x4f0e83?_0x4f0e83:null;}get['lastChild'](){return this['children']['length']>0x0?this['children'][this['children']['length']-0x1]:null;}get['childNodes'](){return this['children'];}set['childNodes'](_0x5c197b){this['children']=_0x5c197b;}}class _0x1f1f0f extends NodeWithChildren{constructor(){super(...arguments),this['type']=ElementType['CDATA'];}get['nodeType'](){return 0x4;}}let Document$1=class extends NodeWithChildren{constructor(){super(...arguments),this['type']=ElementType['Root'];}get['nodeType'](){return 0x9;}},Element$3=class extends NodeWithChildren{constructor(_0x343b6a,_0x3b3065,_0x3b3c25=[],_0x55d399='script'===_0x343b6a?ElementType['Script']:'style'===_0x343b6a?ElementType['Style']:ElementType['Tag']){super(_0x3b3c25),this['name']=_0x343b6a,this['attribs']=_0x3b3065,this['type']=_0x55d399;}get['nodeType'](){return 0x1;}get['tagName'](){return this['name'];}set['tagName'](_0x3fcaa7){this['name']=_0x3fcaa7;}get['attributes'](){return Object['keys'](this['attribs'])['map'](_0x1b238d=>{var _0xd452ad,_0x14ac1f;return{'name':_0x1b238d,'value':this['attribs'][_0x1b238d],'namespace':null===(_0xd452ad=this['x-attribsNamespace'])||void 0x0===_0xd452ad?void 0x0:_0xd452ad[_0x1b238d],'prefix':null===(_0x14ac1f=this['x-attribsPrefix'])||void 0x0===_0x14ac1f?void 0x0:_0x14ac1f[_0x1b238d]};});}};function _0x2b41d4(_0x236713){return _0x3ddd40(_0x236713);}function _0x555909(_0x1514f1){return _0x1514f1['type']===ElementType['CDATA'];}function isText$1(_0x818499){return _0x818499['type']===ElementType['Text'];}function isComment(_0x20e486){return _0x20e486['type']===ElementType['Comment'];}function isDirective(_0xafc1b6){return _0xafc1b6['type']===ElementType['Directive'];}function isDocument(_0x2a1d33){return _0x2a1d33['type']===ElementType['Root'];}function _0xc08af0(_0x91cfc2){return Object['prototype']['hasOwnProperty']['call'](_0x91cfc2,'children');}function _0x3fab74(_0x49297c,_0x594431=!0x1){let _0x3f06ea;if(isText$1(_0x49297c))_0x3f06ea=new Text$2(_0x49297c['data']);else{if(isComment(_0x49297c))_0x3f06ea=new Comment$2(_0x49297c['data']);else{if(_0x2b41d4(_0x49297c)){const _0x55803b=_0x594431?_0x3c7094(_0x49297c['children']):[],_0x2f0ce6=new Element$3(_0x49297c['name'],{..._0x49297c['attribs']},_0x55803b);_0x55803b['forEach'](_0x16c852=>_0x16c852['parent']=_0x2f0ce6),null!=_0x49297c['namespace']&&(_0x2f0ce6['namespace']=_0x49297c['namespace']),_0x49297c['x-attribsNamespace']&&(_0x2f0ce6['x-attribsNamespace']={..._0x49297c['x-attribsNamespace']}),_0x49297c['x-attribsPrefix']&&(_0x2f0ce6['x-attribsPrefix']={..._0x49297c['x-attribsPrefix']}),_0x3f06ea=_0x2f0ce6;}else{if(_0x555909(_0x49297c)){const _0x258ae7=_0x594431?_0x3c7094(_0x49297c['children']):[],_0x12b80f=new _0x1f1f0f(_0x258ae7);_0x258ae7['forEach'](_0x37a0a5=>_0x37a0a5['parent']=_0x12b80f),_0x3f06ea=_0x12b80f;}else{if(isDocument(_0x49297c)){const _0x1d8430=_0x594431?_0x3c7094(_0x49297c['children']):[],_0x561c84=new Document$1(_0x1d8430);_0x1d8430['forEach'](_0x15034=>_0x15034['parent']=_0x561c84),_0x49297c['x-mode']&&(_0x561c84['x-mode']=_0x49297c['x-mode']),_0x3f06ea=_0x561c84;}else{if(!isDirective(_0x49297c))throw new Error('Not\x20implemented\x20yet:\x20'+_0x49297c['type']);{const _0x123219=new ProcessingInstruction(_0x49297c['name'],_0x49297c['data']);null!=_0x49297c['x-name']&&(_0x123219['x-name']=_0x49297c['x-name'],_0x123219['x-publicId']=_0x49297c['x-publicId'],_0x123219['x-systemId']=_0x49297c['x-systemId']),_0x3f06ea=_0x123219;}}}}}}return _0x3f06ea['startIndex']=_0x49297c['startIndex'],_0x3f06ea['endIndex']=_0x49297c['endIndex'],null!=_0x49297c['sourceCodeLocation']&&(_0x3f06ea['sourceCodeLocation']=_0x49297c['sourceCodeLocation']),_0x3f06ea;}function _0x3c7094(_0x185cfc){const _0x2750c5=_0x185cfc['map'](_0x577fe3=>_0x3fab74(_0x577fe3,!0x0));for(let _0x53faa2=0x1;_0x53faa2<_0x2750c5['length'];_0x53faa2++)_0x2750c5[_0x53faa2]['prev']=_0x2750c5[_0x53faa2-0x1],_0x2750c5[_0x53faa2-0x1]['next']=_0x2750c5[_0x53faa2];return _0x2750c5;}const defaultOpts={'withStartIndices':!0x1,'withEndIndices':!0x1,'xmlMode':!0x1};class _0x449a61{constructor(_0x1b8173,_0x3ccadf,_0x2c30dd){this['dom']=[],this['root']=new Document$1(this['dom']),this['done']=!0x1,this['tagStack']=[this['root']],this['lastNode']=null,this['parser']=null,'function'==typeof _0x3ccadf&&(_0x2c30dd=_0x3ccadf,_0x3ccadf=defaultOpts),'object'==typeof _0x1b8173&&(_0x3ccadf=_0x1b8173,_0x1b8173=void 0x0),this['callback']=null!=_0x1b8173?_0x1b8173:null,this['options']=null!=_0x3ccadf?_0x3ccadf:defaultOpts,this['elementCB']=null!=_0x2c30dd?_0x2c30dd:null;}['onparserinit'](_0x3164d2){this['parser']=_0x3164d2;}['onreset'](){this['dom']=[],this['root']=new Document$1(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'](_0x3039e6){this['handleCallback'](_0x3039e6);}['onclosetag'](){this['lastNode']=null;const _0x3baa9f=this['tagStack']['pop']();this['options']['withEndIndices']&&(_0x3baa9f['endIndex']=this['parser']['endIndex']),this['elementCB']&&this['elementCB'](_0x3baa9f);}['onopentag'](_0x1049f5,_0x219a01){const _0x4cd67c=this['options']['xmlMode']?ElementType['Tag']:void 0x0,_0x20ca57=new Element$3(_0x1049f5,_0x219a01,void 0x0,_0x4cd67c);this['addNode'](_0x20ca57),this['tagStack']['push'](_0x20ca57);}['ontext'](_0x23548a){const {lastNode:_0x485fbb}=this;if(_0x485fbb&&_0x485fbb['type']===ElementType['Text'])_0x485fbb['data']+=_0x23548a,this['options']['withEndIndices']&&(_0x485fbb['endIndex']=this['parser']['endIndex']);else{const _0x368470=new Text$2(_0x23548a);this['addNode'](_0x368470),this['lastNode']=_0x368470;}}['oncomment'](_0x280104){if(this['lastNode']&&this['lastNode']['type']===ElementType['Comment'])return void(this['lastNode']['data']+=_0x280104);const _0x16a64c=new Comment$2(_0x280104);this['addNode'](_0x16a64c),this['lastNode']=_0x16a64c;}['oncommentend'](){this['lastNode']=null;}['oncdatastart'](){const _0x7c5e28=new Text$2(''),_0x22512d=new _0x1f1f0f([_0x7c5e28]);this['addNode'](_0x22512d),_0x7c5e28['parent']=_0x22512d,this['lastNode']=_0x7c5e28;}['oncdataend'](){this['lastNode']=null;}['onprocessinginstruction'](_0x5c2ff8,_0xbe56d4){const _0x571bc7=new ProcessingInstruction(_0x5c2ff8,_0xbe56d4);this['addNode'](_0x571bc7);}['handleCallback'](_0x4e3e82){if('function'==typeof this['callback'])this['callback'](_0x4e3e82,this['dom']);else{if(_0x4e3e82)throw _0x4e3e82;}}['addNode'](_0x2d0fa8){const _0xb784cc=this['tagStack'][this['tagStack']['length']-0x1],_0x2f5fb4=_0xb784cc['children'][_0xb784cc['children']['length']-0x1];this['options']['withStartIndices']&&(_0x2d0fa8['startIndex']=this['parser']['startIndex']),this['options']['withEndIndices']&&(_0x2d0fa8['endIndex']=this['parser']['endIndex']),_0xb784cc['children']['push'](_0x2d0fa8),_0x2f5fb4&&(_0x2d0fa8['prev']=_0x2f5fb4,_0x2f5fb4['next']=_0x2d0fa8),_0x2d0fa8['parent']=_0xb784cc,this['lastNode']=null;}}const _0x4ef1ee=/["&'<>$\x80-\uFFFF]/g,_0x16ac25=new Map([[0x22,'&quot;'],[0x26,'&amp;'],[0x27,'&apos;'],[0x3c,'&lt;'],[0x3e,'&gt;']]),getCodePoint=null!=String['prototype']['codePointAt']?(_0x1690b8,_0x4b87fc)=>_0x1690b8['codePointAt'](_0x4b87fc):(_0x5d951f,_0x1f8672)=>0xd800==(0xfc00&_0x5d951f['charCodeAt'](_0x1f8672))?0x400*(_0x5d951f['charCodeAt'](_0x1f8672)-0xd800)+_0x5d951f['charCodeAt'](_0x1f8672+0x1)-0xdc00+0x10000:_0x5d951f['charCodeAt'](_0x1f8672);function _0x39ce5d(_0x44b81a){let _0x53a5cf,_0x5bce69='',_0xa61f4=0x0;for(;null!==(_0x53a5cf=_0x4ef1ee['exec'](_0x44b81a));){const _0x4978d4=_0x53a5cf['index'],_0x1737ee=_0x44b81a['charCodeAt'](_0x4978d4),_0x36641e=_0x16ac25['get'](_0x1737ee);void 0x0!==_0x36641e?(_0x5bce69+=_0x44b81a['substring'](_0xa61f4,_0x4978d4)+_0x36641e,_0xa61f4=_0x4978d4+0x1):(_0x5bce69+=_0x44b81a['substring'](_0xa61f4,_0x4978d4)+'&#x'+getCodePoint(_0x44b81a,_0x4978d4)['toString'](0x10)+';',_0xa61f4=_0x4ef1ee['lastIndex']+=Number(0xd800==(0xfc00&_0x1737ee)));}return _0x5bce69+_0x44b81a['substr'](_0xa61f4);}function getEscaper(_0x3116b8,_0x2a94ac){return function(_0x1de536){let _0x2cf3f1,_0xca1659=0x0,_0x3409fa='';for(;_0x2cf3f1=_0x3116b8['exec'](_0x1de536);)_0xca1659!==_0x2cf3f1['index']&&(_0x3409fa+=_0x1de536['substring'](_0xca1659,_0x2cf3f1['index'])),_0x3409fa+=_0x2a94ac['get'](_0x2cf3f1[0x0]['charCodeAt'](0x0)),_0xca1659=_0x2cf3f1['index']+0x1;return _0x3409fa+_0x1de536['substring'](_0xca1659);};}const escapeAttribute=getEscaper(/["&\u00A0]/g,new Map([[0x22,'&quot;'],[0x26,'&amp;'],[0xa0,'&nbsp;']])),escapeText=getEscaper(/[&<>\u00A0]/g,new Map([[0x26,'&amp;'],[0x3c,'&lt;'],[0x3e,'&gt;'],[0xa0,'&nbsp;']])),elementNames=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'](_0x2064ac=>[_0x2064ac['toLowerCase'](),_0x2064ac])),attributeNames=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'](_0x422069=>[_0x422069['toLowerCase'](),_0x422069])),unencodedElements=new Set(['style','script','xmp','iframe','noembed','noframes','plaintext','noscript']);function replaceQuotes(_0x1520ed){return _0x1520ed['replace'](/"/g,'&quot;');}function formatAttributes(_0x331fa4,_0x66c55e){var _0x181e5c;if(!_0x331fa4)return;const _0x35da18=!0x1===(null!==(_0x181e5c=_0x66c55e['encodeEntities'])&&void 0x0!==_0x181e5c?_0x181e5c:_0x66c55e['decodeEntities'])?replaceQuotes:_0x66c55e['xmlMode']||'utf8'!==_0x66c55e['encodeEntities']?_0x39ce5d:escapeAttribute;return Object['keys'](_0x331fa4)['map'](_0x522ead=>{var _0x421f14,_0x1059de;const _0x16659c=null!==(_0x421f14=_0x331fa4[_0x522ead])&&void 0x0!==_0x421f14?_0x421f14:'';return'foreign'===_0x66c55e['xmlMode']&&(_0x522ead=null!==(_0x1059de=attributeNames['get'](_0x522ead))&&void 0x0!==_0x1059de?_0x1059de:_0x522ead),_0x66c55e['emptyAttrs']||_0x66c55e['xmlMode']||''!==_0x16659c?_0x522ead+'=\x22'+_0x35da18(_0x16659c)+'\x22':_0x522ead;})['join']('\x20');}const _0x4058b9=new Set(['area','base','basefont','br','col','command','embed','frame','hr','img','input','isindex','keygen','link','meta','param','source','track','wbr']);function _0x3c72ec(_0x3197be,_0x1c352c={}){const _0xa9bb22='length'in _0x3197be?_0x3197be:[_0x3197be];let _0x2c1f77='';for(let _0x1e9790=0x0;_0x1e9790<_0xa9bb22['length'];_0x1e9790++)_0x2c1f77+=_0x36f627(_0xa9bb22[_0x1e9790],_0x1c352c);return _0x2c1f77;}function _0x36f627(_0x9c44b,_0x83c463){switch(_0x9c44b['type']){case Root:return _0x3c72ec(_0x9c44b['children'],_0x83c463);case Doctype:case Directive:return renderDirective(_0x9c44b);case Comment$3:return renderComment(_0x9c44b);case _0x57f89a:return renderCdata(_0x9c44b);case Script:case Style:case _0x242a20:return _0x5527b8(_0x9c44b,_0x83c463);case Text$3:return renderText(_0x9c44b,_0x83c463);}}const foreignModeIntegrationPoints=new Set(['mi','mo','mn','ms','mtext','annotation-xml','foreignObject','desc','title']),foreignElements=new Set(['svg','math']);function _0x5527b8(_0x34966c,_0x9515a0){var _0x35538d;'foreign'===_0x9515a0['xmlMode']&&(_0x34966c['name']=null!==(_0x35538d=elementNames['get'](_0x34966c['name']))&&void 0x0!==_0x35538d?_0x35538d:_0x34966c['name'],_0x34966c['parent']&&foreignModeIntegrationPoints['has'](_0x34966c['parent']['name'])&&(_0x9515a0={..._0x9515a0,'xmlMode':!0x1})),!_0x9515a0['xmlMode']&&foreignElements['has'](_0x34966c['name'])&&(_0x9515a0={..._0x9515a0,'xmlMode':'foreign'});let _0x4f9f45='<'+_0x34966c['name'];const _0x198e5a=formatAttributes(_0x34966c['attribs'],_0x9515a0);return _0x198e5a&&(_0x4f9f45+='\x20'+_0x198e5a),0x0===_0x34966c['children']['length']&&(_0x9515a0['xmlMode']?!0x1!==_0x9515a0['selfClosingTags']:_0x9515a0['selfClosingTags']&&_0x4058b9['has'](_0x34966c['name']))?(_0x9515a0['xmlMode']||(_0x4f9f45+='\x20'),_0x4f9f45+='/>'):(_0x4f9f45+='>',_0x34966c['children']['length']>0x0&&(_0x4f9f45+=_0x3c72ec(_0x34966c['children'],_0x9515a0)),!_0x9515a0['xmlMode']&&_0x4058b9['has'](_0x34966c['name'])||(_0x4f9f45+='</'+_0x34966c['name']+'>')),_0x4f9f45;}function renderDirective(_0x19ec17){return'<'+_0x19ec17['data']+'>';}function renderText(_0x122551,_0x402d6a){var _0x585790;let _0x383162=_0x122551['data']||'';return!0x1===(null!==(_0x585790=_0x402d6a['encodeEntities'])&&void 0x0!==_0x585790?_0x585790:_0x402d6a['decodeEntities'])||!_0x402d6a['xmlMode']&&_0x122551['parent']&&unencodedElements['has'](_0x122551['parent']['name'])||(_0x383162=_0x402d6a['xmlMode']||'utf8'!==_0x402d6a['encodeEntities']?_0x39ce5d(_0x383162):escapeText(_0x383162)),_0x383162;}function renderCdata(_0x797e4b){return'<![CDATA['+_0x797e4b['children'][0x0]['data']+']]>';}function renderComment(_0x1fda2d){return'<!--'+_0x1fda2d['data']+'-->';}function textContent(_0x1f07b9){return Array['isArray'](_0x1f07b9)?_0x1f07b9['map'](textContent)['join'](''):_0xc08af0(_0x1f07b9)&&!isComment(_0x1f07b9)?textContent(_0x1f07b9['children']):isText$1(_0x1f07b9)?_0x1f07b9['data']:'';}function getChildren$1(_0x4b4e2f){return _0xc08af0(_0x4b4e2f)?_0x4b4e2f['children']:[];}function getParent(_0x1d6748){return _0x1d6748['parent']||null;}function removeElement(_0x5aa4c1){if(_0x5aa4c1['prev']&&(_0x5aa4c1['prev']['next']=_0x5aa4c1['next']),_0x5aa4c1['next']&&(_0x5aa4c1['next']['prev']=_0x5aa4c1['prev']),_0x5aa4c1['parent']){const _0x2a1f51=_0x5aa4c1['parent']['children'],_0x4c7942=_0x2a1f51['lastIndexOf'](_0x5aa4c1);_0x4c7942>=0x0&&_0x2a1f51['splice'](_0x4c7942,0x1);}_0x5aa4c1['next']=null,_0x5aa4c1['prev']=null,_0x5aa4c1['parent']=null;}function replaceElement(_0x360d1e,_0x9bc360){const _0x1c4469=_0x9bc360['prev']=_0x360d1e['prev'];_0x1c4469&&(_0x1c4469['next']=_0x9bc360);const _0x333091=_0x9bc360['next']=_0x360d1e['next'];_0x333091&&(_0x333091['prev']=_0x9bc360);const _0x5b1fc7=_0x9bc360['parent']=_0x360d1e['parent'];if(_0x5b1fc7){const _0x11e9bc=_0x5b1fc7['children'];_0x11e9bc[_0x11e9bc['lastIndexOf'](_0x360d1e)]=_0x9bc360,_0x360d1e['parent']=null;}}function _0x420e9a(_0x6fe3a7,_0x14e035){if(removeElement(_0x14e035),_0x14e035['next']=null,_0x14e035['parent']=_0x6fe3a7,_0x6fe3a7['children']['push'](_0x14e035)>0x1){const _0x167ad4=_0x6fe3a7['children'][_0x6fe3a7['children']['length']-0x2];_0x167ad4['next']=_0x14e035,_0x14e035['prev']=_0x167ad4;}else _0x14e035['prev']=null;}function _0x9f621b(_0x74266,_0x47a808){removeElement(_0x47a808);const {parent:_0x4ac436}=_0x74266,_0xb721f0=_0x74266['next'];if(_0x47a808['next']=_0xb721f0,_0x47a808['prev']=_0x74266,_0x74266['next']=_0x47a808,_0x47a808['parent']=_0x4ac436,_0xb721f0){if(_0xb721f0['prev']=_0x47a808,_0x4ac436){const _0xbf0af8=_0x4ac436['children'];_0xbf0af8['splice'](_0xbf0af8['lastIndexOf'](_0xb721f0),0x0,_0x47a808);}}else _0x4ac436&&_0x4ac436['children']['push'](_0x47a808);}function _0x3cd4ba(_0x1b1198,_0x106163){if(removeElement(_0x106163),_0x106163['parent']=_0x1b1198,_0x106163['prev']=null,0x1!==_0x1b1198['children']['unshift'](_0x106163)){const _0x30c46a=_0x1b1198['children'][0x1];_0x30c46a['prev']=_0x106163,_0x106163['next']=_0x30c46a;}else _0x106163['next']=null;}function _0x8fa0df(_0x3d872b,_0x3aa4b3){removeElement(_0x3aa4b3);const {parent:_0x84c4c7}=_0x3d872b;if(_0x84c4c7){const _0x3d98e8=_0x84c4c7['children'];_0x3d98e8['splice'](_0x3d98e8['indexOf'](_0x3d872b),0x0,_0x3aa4b3);}_0x3d872b['prev']&&(_0x3d872b['prev']['next']=_0x3aa4b3),_0x3aa4b3['parent']=_0x84c4c7,_0x3aa4b3['prev']=_0x3d872b['prev'],_0x3aa4b3['next']=_0x3d872b,_0x3d872b['prev']=_0x3aa4b3;}function _0x18f6b2(_0x25421e,_0x289901,_0x594ee0,_0x38d0da){const _0x3c40a1=[],_0x1bb825=[Array['isArray'](_0x289901)?_0x289901:[_0x289901]],_0x288019=[0x0];for(;;){if(_0x288019[0x0]>=_0x1bb825[0x0]['length']){if(0x1===_0x288019['length'])return _0x3c40a1;_0x1bb825['shift'](),_0x288019['shift']();continue;}const _0x3956e7=_0x1bb825[0x0][_0x288019[0x0]++];if(_0x25421e(_0x3956e7)&&(_0x3c40a1['push'](_0x3956e7),--_0x38d0da<=0x0))return _0x3c40a1;_0xc08af0(_0x3956e7)&&_0x3956e7['children']['length']>0x0&&(_0x288019['unshift'](0x0),_0x1bb825['unshift'](_0x3956e7['children']));}}function _0xc3f1b1(_0x248f54,_0x510e3d,_0x4f5c2b=!0x0){const _0x2de1f0=Array['isArray'](_0x510e3d)?_0x510e3d:[_0x510e3d];for(let _0x333daf=0x0;_0x333daf<_0x2de1f0['length'];_0x333daf++){const _0x492435=_0x2de1f0[_0x333daf];if(_0x2b41d4(_0x492435)&&_0x248f54(_0x492435))return _0x492435;if(_0x4f5c2b&&_0xc08af0(_0x492435)&&_0x492435['children']['length']>0x0){const _0x41cd2b=_0xc3f1b1(_0x248f54,_0x492435['children'],!0x0);if(_0x41cd2b)return _0x41cd2b;}}return null;}function _0x1a44c6(_0xc6cf0e,_0xac0e84){const _0x25b3cd=[],_0xdb5777=[Array['isArray'](_0xac0e84)?_0xac0e84:[_0xac0e84]],_0x427a34=[0x0];for(;;){if(_0x427a34[0x0]>=_0xdb5777[0x0]['length']){if(0x1===_0xdb5777['length'])return _0x25b3cd;_0xdb5777['shift'](),_0x427a34['shift']();continue;}const _0x336c97=_0xdb5777[0x0][_0x427a34[0x0]++];_0x2b41d4(_0x336c97)&&_0xc6cf0e(_0x336c97)&&_0x25b3cd['push'](_0x336c97),_0xc08af0(_0x336c97)&&_0x336c97['children']['length']>0x0&&(_0x427a34['unshift'](0x0),_0xdb5777['unshift'](_0x336c97['children']));}}function parseDocument(_0x3a77ae,_0x328cc7){const _0x34a69d=new _0x449a61(void 0x0,_0x328cc7);return new _0x4193d3(_0x34a69d,_0x328cc7)['end'](_0x3a77ae),_0x34a69d['root'];}function _0x306b12(_0x3e17d9){return parseDocument(_0x3e17d9);}function _0x332c25(_0x10f7ad){return _0x3c72ec(_0x10f7ad);}function findByAttribute(_0x556687,_0x166266,_0x5ec400){const _0x1cc4e0=null!==_0x166266?_0x1efac9=>_0x1efac9['attribs'][_0x556687]===_0x166266:_0x4ee800=>Boolean(_0x4ee800['attribs'][_0x556687]);return _0xc3f1b1(_0x232ebd=>_0x2b41d4(_0x232ebd)&&_0x1cc4e0(_0x232ebd),_0x5ec400);}function findAllByAttribute(_0x21b815,_0x39f5e1,_0x534a63){const _0x25b76f=null!==_0x39f5e1?_0x366078=>_0x366078['attribs'][_0x21b815]===_0x39f5e1:_0x2d0a9a=>Boolean(_0x2d0a9a['attribs'][_0x21b815]);return _0x1a44c6(_0x30a9a9=>_0x2b41d4(_0x30a9a9)&&_0x25b76f(_0x30a9a9),_0x534a63);}function findAllComments(_0x53ec60){return _0x18f6b2(_0x26c734=>isComment(_0x26c734),_0x53ec60,!0x0,0x1/0x0);}function getAttribute(_0x53bda3,_0x1008bc){return _0x53bda3&&_0x2b41d4(_0x53bda3)?_0x53bda3['attribs'][_0x1008bc]:null;}function setAttribute(_0x366887,_0x1a47b1,_0x395eb1){_0x2b41d4(_0x366887)&&(null===_0x395eb1?delete _0x366887['attribs'][_0x1a47b1]:_0x366887['attribs'][_0x1a47b1]=_0x395eb1);}function insertElement(_0x39fdd0,_0x19f2c2,_0x59134a){const _0x402b2b=_0x19f2c2['cloneNode'](!0x0);'beforebegin'===_0x59134a?_0x8fa0df(_0x39fdd0,_0x402b2b):'afterbegin'===_0x59134a?_0x3cd4ba(_0x39fdd0,_0x402b2b):'beforeend'===_0x59134a?_0x420e9a(_0x39fdd0,_0x402b2b):'afterend'===_0x59134a&&_0x9f621b(_0x39fdd0,_0x402b2b);}function _0x2c727d(_0x9784f0){return _0x9784f0['cloneNode'](!0x0);}function getParents(_0x5d9329){const _0x4e18bc=[];let _0x5803e7=_0x5d9329;for(;_0x5803e7;)_0x5803e7=getParent(_0x5803e7),_0x5803e7&&_0x4e18bc['push'](_0x5803e7);return _0x4e18bc;}function _0x3726db(_0xdf4e1d){return _0xdf4e1d['replace'](/^\s+/gm,'')['replace'](/\s+$/gm,'')['replace'](/\n*/g,'')['replace'](/\s+/g,'\x20')['replace'](/>\s*</g,'><');}function _0x8b519e(_0x3b9e6f,_0x20086e){return _0x3726db(_0x332c25(_0x3b9e6f))===_0x3726db(_0x332c25(_0x20086e));}function getNodeNestingLevel(_0x4e3d9d){let _0x3953a4=0x0;for(;_0x4e3d9d['parentNode'];)_0x4e3d9d=_0x4e3d9d['parentNode'],_0x3953a4++;return _0x3953a4;}function removeElementsAfter(_0x463af3){const _0x40e578=[];let _0x33f627=_0x463af3['nextSibling'];for(;_0x33f627;)_0x40e578['push'](_0x33f627),_0x33f627=_0x33f627['nextSibling'];_0x40e578['forEach'](_0x11364e=>{removeElement(_0x11364e);});}const _0x3ff59d=-0x1,_0x3fd2c0=0x0,_0x3ae093=0x1,_0x62f930=0x2,_0x4f16f5=0x3,_0x3a4d92=0x4,_0x56c980=0x5,_0x47edd6=0x6,_0x38fb54=0x7,_0x4b94ba=0x8,_0x357f59='object'==typeof self?self:globalThis,_0x2de682=(_0x303a97,_0x40a83f)=>{const _0x2d38bf=(_0x9d8b8a,_0x2114b5)=>(_0x303a97['set'](_0x2114b5,_0x9d8b8a),_0x9d8b8a),_0x261b67=_0x27c01f=>{if(_0x303a97['has'](_0x27c01f))return _0x303a97['get'](_0x27c01f);const [_0x35cef1,_0x445744]=_0x40a83f[_0x27c01f];switch(_0x35cef1){case _0x3fd2c0:case _0x3ff59d:return _0x2d38bf(_0x445744,_0x27c01f);case _0x3ae093:{const _0x2d1b4b=_0x2d38bf([],_0x27c01f);for(const _0x4f0a5c of _0x445744)_0x2d1b4b['push'](_0x261b67(_0x4f0a5c));return _0x2d1b4b;}case _0x62f930:{const _0x425c0a=_0x2d38bf({},_0x27c01f);for(const [_0x2138bb,_0x405227]of _0x445744)_0x425c0a[_0x261b67(_0x2138bb)]=_0x261b67(_0x405227);return _0x425c0a;}case _0x4f16f5:return _0x2d38bf(new Date(_0x445744),_0x27c01f);case _0x3a4d92:{const {source:_0x2f4c8e,flags:_0x218f80}=_0x445744;return _0x2d38bf(new RegExp(_0x2f4c8e,_0x218f80),_0x27c01f);}case _0x56c980:{const _0x1a07ab=_0x2d38bf(new Map(),_0x27c01f);for(const [_0x1bb134,_0x42ff22]of _0x445744)_0x1a07ab['set'](_0x261b67(_0x1bb134),_0x261b67(_0x42ff22));return _0x1a07ab;}case _0x47edd6:{const _0x424e75=_0x2d38bf(new Set(),_0x27c01f);for(const _0x2a71b4 of _0x445744)_0x424e75['add'](_0x261b67(_0x2a71b4));return _0x424e75;}case _0x38fb54:{const {name:_0x400461,message:_0x5c0728}=_0x445744;return _0x2d38bf(new _0x357f59[_0x400461](_0x5c0728),_0x27c01f);}case _0x4b94ba:return _0x2d38bf(BigInt(_0x445744),_0x27c01f);case'BigInt':return _0x2d38bf(Object(BigInt(_0x445744)),_0x27c01f);case'ArrayBuffer':return _0x2d38bf(new Uint8Array(_0x445744)['buffer'],_0x445744);case'DataView':{const {buffer:_0x23e49d}=new Uint8Array(_0x445744);return _0x2d38bf(new DataView(_0x23e49d),_0x445744);}}return _0x2d38bf(new _0x357f59[_0x35cef1](_0x445744),_0x27c01f);};return _0x261b67;},_0x1b5f56=_0x303080=>_0x2de682(new Map(),_0x303080)(0x0),_0x2a24c8='',{toString:toString$2}={},{keys:_0x3b063b}=Object,typeOf=_0x5e983d=>{const _0x3010b2=typeof _0x5e983d;if('object'!==_0x3010b2||!_0x5e983d)return[_0x3fd2c0,_0x3010b2];const _0x39c8aa=toString$2['call'](_0x5e983d)['slice'](0x8,-0x1);switch(_0x39c8aa){case'Array':return[_0x3ae093,_0x2a24c8];case'Object':return[_0x62f930,_0x2a24c8];case'Date':return[_0x4f16f5,_0x2a24c8];case'RegExp':return[_0x3a4d92,_0x2a24c8];case'Map':return[_0x56c980,_0x2a24c8];case'Set':return[_0x47edd6,_0x2a24c8];case'DataView':return[_0x3ae093,_0x39c8aa];}return _0x39c8aa['includes']('Array')?[_0x3ae093,_0x39c8aa]:_0x39c8aa['includes']('Error')?[_0x38fb54,_0x39c8aa]:[_0x62f930,_0x39c8aa];},_0x79b79a=([_0x13f944,_0x101b4f])=>_0x13f944===_0x3fd2c0&&('function'===_0x101b4f||'symbol'===_0x101b4f),_0x5ffc4=(_0x5b9232,_0xd1c1b9,_0x3ec3fb,_0x13c543)=>{const _0x445003=(_0x460701,_0x18f719)=>{const _0x17736a=_0x13c543['push'](_0x460701)-0x1;return _0x3ec3fb['set'](_0x18f719,_0x17736a),_0x17736a;},_0x386a6f=_0x220bb7=>{if(_0x3ec3fb['has'](_0x220bb7))return _0x3ec3fb['get'](_0x220bb7);let [_0x32d95c,_0x252395]=typeOf(_0x220bb7);switch(_0x32d95c){case _0x3fd2c0:{let _0x329c41=_0x220bb7;switch(_0x252395){case'bigint':_0x32d95c=_0x4b94ba,_0x329c41=_0x220bb7['toString']();break;case'function':case'symbol':if(_0x5b9232)throw new TypeError('unable\x20to\x20serialize\x20'+_0x252395);_0x329c41=null;break;case'undefined':return _0x445003([_0x3ff59d],_0x220bb7);}return _0x445003([_0x32d95c,_0x329c41],_0x220bb7);}case _0x3ae093:{if(_0x252395){let _0x16078f=_0x220bb7;return'DataView'===_0x252395?_0x16078f=new Uint8Array(_0x220bb7['buffer']):'ArrayBuffer'===_0x252395&&(_0x16078f=new Uint8Array(_0x220bb7)),_0x445003([_0x252395,[..._0x16078f]],_0x220bb7);}const _0x586c20=[],_0x41a875=_0x445003([_0x32d95c,_0x586c20],_0x220bb7);for(const _0x4d36e4 of _0x220bb7)_0x586c20['push'](_0x386a6f(_0x4d36e4));return _0x41a875;}case _0x62f930:{if(_0x252395)switch(_0x252395){case'BigInt':return _0x445003([_0x252395,_0x220bb7['toString']()],_0x220bb7);case'Boolean':case'Number':case'String':return _0x445003([_0x252395,_0x220bb7['valueOf']()],_0x220bb7);}if(_0xd1c1b9&&'toJSON'in _0x220bb7)return _0x386a6f(_0x220bb7['toJSON']());const _0xf1068d=[],_0x13b76e=_0x445003([_0x32d95c,_0xf1068d],_0x220bb7);for(const _0x8db94c of _0x3b063b(_0x220bb7))!_0x5b9232&&_0x79b79a(typeOf(_0x220bb7[_0x8db94c]))||_0xf1068d['push']([_0x386a6f(_0x8db94c),_0x386a6f(_0x220bb7[_0x8db94c])]);return _0x13b76e;}case _0x4f16f5:return _0x445003([_0x32d95c,_0x220bb7['toISOString']()],_0x220bb7);case _0x3a4d92:{const {source:_0xce5a22,flags:_0x128c98}=_0x220bb7;return _0x445003([_0x32d95c,{'source':_0xce5a22,'flags':_0x128c98}],_0x220bb7);}case _0x56c980:{const _0x3c335c=[],_0x3bbadc=_0x445003([_0x32d95c,_0x3c335c],_0x220bb7);for(const [_0x3bf933,_0x213440]of _0x220bb7)(_0x5b9232||!_0x79b79a(typeOf(_0x3bf933))&&!_0x79b79a(typeOf(_0x213440)))&&_0x3c335c['push']([_0x386a6f(_0x3bf933),_0x386a6f(_0x213440)]);return _0x3bbadc;}case _0x47edd6:{const _0x138139=[],_0x1b2586=_0x445003([_0x32d95c,_0x138139],_0x220bb7);for(const _0x3fb773 of _0x220bb7)!_0x5b9232&&_0x79b79a(typeOf(_0x3fb773))||_0x138139['push'](_0x386a6f(_0x3fb773));return _0x1b2586;}}const {message:_0x2c86ce}=_0x220bb7;return _0x445003([_0x32d95c,{'name':_0x252395,'message':_0x2c86ce}],_0x220bb7);};return _0x386a6f;},_0x10dadd=(_0x159c8a,{json:_0x4a7f1d,lossy:_0x51d843}={})=>{const _0x148953=[];return _0x5ffc4(!(_0x4a7f1d||_0x51d843),!!_0x4a7f1d,new Map(),_0x148953)(_0x159c8a),_0x148953;};var structuredClone$1='function'==typeof structuredClone?(_0x30da7d,_0x1fa3dd)=>_0x1fa3dd&&('json'in _0x1fa3dd||'lossy'in _0x1fa3dd)?_0x1b5f56(_0x10dadd(_0x30da7d,_0x1fa3dd)):structuredClone(_0x30da7d):(_0x90fb0d,_0x42b502)=>_0x1b5f56(_0x10dadd(_0x90fb0d,_0x42b502));const pointEnd=point('end'),pointStart=point('start');function point(_0x15f136){return function(_0x349b5c){const _0x5771a1=_0x349b5c&&_0x349b5c['position']&&_0x349b5c['position'][_0x15f136]||{};if('number'==typeof _0x5771a1['line']&&_0x5771a1['line']>0x0&&'number'==typeof _0x5771a1['column']&&_0x5771a1['column']>0x0)return{'line':_0x5771a1['line'],'column':_0x5771a1['column'],'offset':'number'==typeof _0x5771a1['offset']&&_0x5771a1['offset']>-0x1?_0x5771a1['offset']:void 0x0};};}function position(_0x5b4e6e){const _0xc092e7=pointStart(_0x5b4e6e),_0x4871cd=pointEnd(_0x5b4e6e);if(_0xc092e7&&_0x4871cd)return{'start':_0xc092e7,'end':_0x4871cd};}const _0x11e4d9=['ariaDescribedBy','ariaLabel','ariaLabelledBy'],defaultSchema={'ancestors':{'tbody':['table'],'td':['table'],'th':['table'],'thead':['table'],'tfoot':['table'],'tr':['table']},'attributes':{'a':[..._0x11e4d9,'dataFootnoteBackref','dataFootnoteRef',['className','data-footnote-backref'],'href'],'blockquote':['cite'],'code':[['className',/^language-./]],'del':['cite'],'div':['itemScope','itemType'],'dl':[..._0x11e4d9],'h2':[['className','sr-only']],'img':[..._0x11e4d9,'longDesc','src'],'input':[['disabled',!0x0],['type','checkbox']],'ins':['cite'],'li':[['className','task-list-item']],'ol':[..._0x11e4d9,['className','contains-task-list']],'q':['cite'],'section':['dataFootnotes',['className','footnotes']],'source':['srcSet'],'summary':[..._0x11e4d9],'table':[..._0x11e4d9],'ul':[..._0x11e4d9,['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']},_0x4147f1={}['hasOwnProperty'];function sanitize$1(_0x5f5d6a,_0x4fb07d){let _0x495321={'type':'root','children':[]};const _0x3cbc65=transform({'schema':_0x4fb07d?{...defaultSchema,..._0x4fb07d}:defaultSchema,'stack':[]},_0x5f5d6a);return _0x3cbc65&&(Array['isArray'](_0x3cbc65)?0x1===_0x3cbc65['length']?_0x495321=_0x3cbc65[0x0]:_0x495321['children']=_0x3cbc65:_0x495321=_0x3cbc65),_0x495321;}function transform(_0x40ba7c,_0x34af88){if(_0x34af88&&'object'==typeof _0x34af88){const _0x3efcde=_0x34af88;switch('string'==typeof _0x3efcde['type']?_0x3efcde['type']:''){case'comment':return comment$1(_0x40ba7c,_0x3efcde);case'doctype':return doctype(_0x40ba7c,_0x3efcde);case'element':return element(_0x40ba7c,_0x3efcde);case'root':return root(_0x40ba7c,_0x3efcde);case'text':return text(_0x40ba7c,_0x3efcde);}}}function comment$1(_0x176ede,_0x5394a7){if(_0x176ede['schema']['allowComments']){const _0x339ab1='string'==typeof _0x5394a7['value']?_0x5394a7['value']:'',_0x12c11e=_0x339ab1['indexOf']('-->'),_0x22338f={'type':'comment','value':_0x12c11e<0x0?_0x339ab1:_0x339ab1['slice'](0x0,_0x12c11e)};return patch(_0x22338f,_0x5394a7),_0x22338f;}}function doctype(_0x302f71,_0x594db4){if(_0x302f71['schema']['allowDoctypes']){const _0x5af51c={'type':'doctype'};return patch(_0x5af51c,_0x594db4),_0x5af51c;}}function element(_0x6ab6e9,_0x1b9138){const _0x5a2c68='string'==typeof _0x1b9138['tagName']?_0x1b9138['tagName']:'';_0x6ab6e9['stack']['push'](_0x5a2c68);const _0x357ca7=_0x47fef3(_0x6ab6e9,_0x1b9138['children']),_0x3fa77a=properties$1(_0x6ab6e9,_0x1b9138['properties']);_0x6ab6e9['stack']['pop']();let _0x39cff8=!0x1;if(_0x5a2c68&&'*'!==_0x5a2c68&&(!_0x6ab6e9['schema']['tagNames']||_0x6ab6e9['schema']['tagNames']['includes'](_0x5a2c68))&&(_0x39cff8=!0x0,_0x6ab6e9['schema']['ancestors']&&_0x4147f1['call'](_0x6ab6e9['schema']['ancestors'],_0x5a2c68))){const _0x2f1705=_0x6ab6e9['schema']['ancestors'][_0x5a2c68];let _0xa03b9e=-0x1;for(_0x39cff8=!0x1;++_0xa03b9e<_0x2f1705['length'];)_0x6ab6e9['stack']['includes'](_0x2f1705[_0xa03b9e])&&(_0x39cff8=!0x0);}if(!_0x39cff8)return _0x6ab6e9['schema']['strip']&&!_0x6ab6e9['schema']['strip']['includes'](_0x5a2c68)?_0x357ca7:void 0x0;const _0x446256={'type':'element','tagName':_0x5a2c68,'properties':_0x3fa77a,'children':_0x357ca7};return patch(_0x446256,_0x1b9138),_0x446256;}function root(_0x447e75,_0x29bbb1){const _0x37ac96={'type':'root','children':_0x47fef3(_0x447e75,_0x29bbb1['children'])};return patch(_0x37ac96,_0x29bbb1),_0x37ac96;}function text(_0x4959b9,_0x335556){const _0x5b3685={'type':'text','value':'string'==typeof _0x335556['value']?_0x335556['value']:''};return patch(_0x5b3685,_0x335556),_0x5b3685;}function _0x47fef3(_0x5ce724,_0x40f97b){const _0x5aa312=[];if(Array['isArray'](_0x40f97b)){const _0x128e42=_0x40f97b;let _0xb90940=-0x1;for(;++_0xb90940<_0x128e42['length'];){const _0x36d527=transform(_0x5ce724,_0x128e42[_0xb90940]);_0x36d527&&(Array['isArray'](_0x36d527)?_0x5aa312['push'](..._0x36d527):_0x5aa312['push'](_0x36d527));}}return _0x5aa312;}function properties$1(_0x229105,_0x45e904){const _0x1567a0=_0x229105['stack'][_0x229105['stack']['length']-0x1],_0xf06a27=_0x229105['schema']['attributes'],_0x2f69ce=_0x229105['schema']['required'],_0x463821=_0xf06a27&&_0x4147f1['call'](_0xf06a27,_0x1567a0)?_0xf06a27[_0x1567a0]:void 0x0,_0x3371d5=_0xf06a27&&_0x4147f1['call'](_0xf06a27,'*')?_0xf06a27['*']:void 0x0,_0x2cd341=_0x45e904&&'object'==typeof _0x45e904?_0x45e904:{},_0x4e0797={};let _0x26457e;for(_0x26457e in _0x2cd341)if(_0x4147f1['call'](_0x2cd341,_0x26457e)){const _0x2c24f4=_0x2cd341[_0x26457e];let _0x270d56=propertyValue(_0x229105,findDefinition(_0x463821,_0x26457e),_0x26457e,_0x2c24f4);null==_0x270d56&&(_0x270d56=propertyValue(_0x229105,findDefinition(_0x3371d5,_0x26457e),_0x26457e,_0x2c24f4)),null!=_0x270d56&&(_0x4e0797[_0x26457e]=_0x270d56);}if(_0x2f69ce&&_0x4147f1['call'](_0x2f69ce,_0x1567a0)){const _0x4b0e9a=_0x2f69ce[_0x1567a0];for(_0x26457e in _0x4b0e9a)_0x4147f1['call'](_0x4b0e9a,_0x26457e)&&!_0x4147f1['call'](_0x4e0797,_0x26457e)&&(_0x4e0797[_0x26457e]=_0x4b0e9a[_0x26457e]);}return _0x4e0797;}function propertyValue(_0x13493f,_0x354e34,_0x475e8d,_0x1a1fb1){return _0x354e34?Array['isArray'](_0x1a1fb1)?propertyValueMany(_0x13493f,_0x354e34,_0x475e8d,_0x1a1fb1):propertyValuePrimitive(_0x13493f,_0x354e34,_0x475e8d,_0x1a1fb1):void 0x0;}function propertyValueMany(_0x418266,_0xf08fa2,_0x3bb6cc,_0x7f5445){let _0x4e1e64=-0x1;const _0x59956f=[];for(;++_0x4e1e64<_0x7f5445['length'];){const _0x57a808=propertyValuePrimitive(_0x418266,_0xf08fa2,_0x3bb6cc,_0x7f5445[_0x4e1e64]);'number'!=typeof _0x57a808&&'string'!=typeof _0x57a808||_0x59956f['push'](_0x57a808);}return _0x59956f;}function propertyValuePrimitive(_0x457c56,_0x10e4ce,_0x25fe8e,_0x515303){if(('boolean'==typeof _0x515303||'number'==typeof _0x515303||'string'==typeof _0x515303)&&safeProtocol(_0x457c56,_0x25fe8e,_0x515303)){if('object'==typeof _0x10e4ce&&_0x10e4ce['length']>0x1){let _0xb141c3=!0x1,_0x400cbd=0x0;for(;++_0x400cbd<_0x10e4ce['length'];){const _0x1295db=_0x10e4ce[_0x400cbd];if(_0x1295db&&'object'==typeof _0x1295db&&'flags'in _0x1295db){if(_0x1295db['test'](String(_0x515303))){_0xb141c3=!0x0;break;}}else{if(_0x1295db===_0x515303){_0xb141c3=!0x0;break;}}}if(!_0xb141c3)return;}return _0x457c56['schema']['clobber']&&_0x457c56['schema']['clobberPrefix']&&_0x457c56['schema']['clobber']['includes'](_0x25fe8e)?_0x457c56['schema']['clobberPrefix']+_0x515303:_0x515303;}}function safeProtocol(_0x38a173,_0xafba86,_0x556d90){const _0x5e35fb=_0x38a173['schema']['protocols']&&_0x4147f1['call'](_0x38a173['schema']['protocols'],_0xafba86)?_0x38a173['schema']['protocols'][_0xafba86]:void 0x0;if(!_0x5e35fb||0x0===_0x5e35fb['length'])return!0x0;const _0x5b1c64=String(_0x556d90),_0xc0208a=_0x5b1c64['indexOf'](':'),_0x52f5b6=_0x5b1c64['indexOf']('?'),_0x43b0fa=_0x5b1c64['indexOf']('#'),_0x1833d3=_0x5b1c64['indexOf']('/');if(_0xc0208a<0x0||_0x1833d3>-0x1&&_0xc0208a>_0x1833d3||_0x52f5b6>-0x1&&_0xc0208a>_0x52f5b6||_0x43b0fa>-0x1&&_0xc0208a>_0x43b0fa)return!0x0;let _0x2e7174=-0x1;for(;++_0x2e7174<_0x5e35fb['length'];){const _0xadf86a=_0x5e35fb[_0x2e7174];if(_0xc0208a===_0xadf86a['length']&&_0x5b1c64['slice'](0x0,_0xadf86a['length'])===_0xadf86a)return!0x0;}return!0x1;}function patch(_0x69b302,_0x385a0c){const _0x4837ba=position(_0x385a0c);_0x385a0c['data']&&(_0x69b302['data']=structuredClone$1(_0x385a0c['data'])),_0x4837ba&&(_0x69b302['position']=_0x4837ba);}function findDefinition(_0x208a95,_0xb62845){let _0x1f340a,_0x5602af=-0x1;if(_0x208a95)for(;++_0x5602af<_0x208a95['length'];){const _0x4226e8=_0x208a95[_0x5602af],_0x39090a='string'==typeof _0x4226e8?_0x4226e8:_0x4226e8[0x0];if(_0x39090a===_0xb62845)return _0x4226e8;'data*'===_0x39090a&&(_0x1f340a=_0x4226e8);}if(_0xb62845['length']>0x4&&'data'===_0xb62845['slice'](0x0,0x4)['toLowerCase']())return _0x1f340a;}function rehypeSanitize(_0x3b35a3){return function(_0x5c13f9){return sanitize$1(_0x5c13f9,_0x3b35a3);};}class _0x11fb3a extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['_m2html'];constructor(){super();const _0x22f3bb=Object['entries'](ckeditor5['MarkdownGfmMdToHtmlDefaultPlugins']),_0xdaaa0b=_0x22f3bb['findIndex'](([_0x1f463e])=>'rehypeDomRaw'===_0x1f463e);if(-0x1===_0xdaaa0b)throw new ckeditor5['CKEditorError']('ai-response-parser-unable-to-set-up-parser');_0x22f3bb['splice'](_0xdaaa0b+0x1,0x0,['rehypeSanitize',rehypeSanitize]),this['_m2html']=new ckeditor5['MarkdownGfmMdToHtml']({'plugins':Object['fromEntries'](_0x22f3bb)});}['convertMarkdownToHTML'](_0x30ea44){const _0x98a43d=this['_m2html']['parse'](_0x30ea44);return this['parseAndNormalizeHTML'](_0x98a43d);}['parseAndNormalizeHTML'](_0x3c6af4){return this['_parseHTML'](_0x3c6af4);}['_parseHTML'](_0x5d408f){const _0x208249=_0x306b12('<dummy>'+_0x5d408f['replace'](/^\t+/gm,'\x20')['replace'](/\n*/g,'')['replace'](/\s+/g,'\x20')['replace'](/<[^>]*?$/g,'')+'</dummy>');return _0x208249['children']=_0x208249['children'][0x0]['children'],_0x208249;}}class _0x3a54c9 extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['_generateUid'];['_uidCounter']=0x0;['_touchedNodesState']={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null};['_existingDataIds']=new Set();constructor(_0x3356f3){super(),this['_generateUid']=_0x3356f3||(()=>'e'+String(this['_uidCounter']++));}['merge'](_0x30ee38,_0x2a3651,_0x45ea52){this['_uidCounter']=0x0;const _0x2a3b10=_0x2c727d(_0x30ee38),_0x2e40b7=_0x2a3b10['childNodes'],_0x4a108a=Array['from'](_0x2e40b7)['filter'](_0x582af9=>!(0x3===_0x582af9['nodeType']&&''===_0x332c25(_0x582af9)['trim']())),_0x581c91=_0x4a108a['length'],_0x38cf8b=new Map();for(const _0xa9206 of _0x4a108a)_0xa9206&&_0x2b41d4(_0xa9206)&&void 0x0===_0xa9206['attribs']['data-id']&&setAttribute(_0xa9206,'data-id','new-element');if(0x0===_0x2a3651['childNodes']['length']){const _0x17ca16=[];return findAllByAttribute('data-id','new-element',_0x2a3b10)['forEach'](_0x395423=>{const _0x7e6076=this['_generateUid']();setAttribute(_0x395423,'data-id',_0x7e6076),_0x17ca16['push'](_0x7e6076);}),this['_removeSpecialComments'](_0x2a3b10),{'parsedContent':_0x2a3b10,'newNodeIds':_0x17ca16,'modifiedNodeIds':[],'removedNodeIds':[],'newAnchorIds':_0x38cf8b};}_0x45ea52&&_0x45ea52['markUnstableElements']&&this['_markLastTagElementUnstable'](_0x2a3b10),this['_touchedNodesState']['newIds']=[],this['_touchedNodesState']['modifiedIds']=[],this['_touchedNodesState']['removedIds']=[],this['_touchedNodesState']['invalidIds']=[],this['_touchedNodesState']['lastTouchedId']=null,this['_existingDataIds']=new Set(findAllByAttribute('data-id',null,_0x2a3651)['map'](_0x2fb1e3=>getAttribute(_0x2fb1e3,'data-id'))['filter'](_0x10f4d9=>!!_0x10f4d9));let _0x82c3d4=-0x1,_0x4e3800=!0x1;for(let _0x355095=0x0;_0x355095<_0x581c91;_0x355095++){const _0x3b2cf2=_0x4a108a[_0x355095],_0x5232c2=_0x4a108a[_0x355095+0x1];if(this['_isNewNode'](_0x3b2cf2)){if(-0x1===_0x82c3d4&&(_0x82c3d4=_0x355095),this['_markWrappedElements'](_0x3b2cf2),!this['_isNewNode'](_0x5232c2)){const [_0x3ca321,_0x3ca6e5]=this['_findReferenceNode'](_0x3b2cf2,_0x4e3800,_0x2a3651);if(_0x3ca321){const _0xa45f97=Array['from'](_0x4a108a)['slice'](_0x82c3d4,_0x355095+0x1),_0x522b83=getAttribute(_0x3ca321,'data-id');if(this['_insertNodes'](_0x3ca321,_0xa45f97,_0x3ca6e5),_0x522b83)for(const _0x1c43b3 of _0xa45f97){const _0x32c896=getAttribute(_0x1c43b3,'data-id');_0x32c896&&_0x38cf8b['set'](_0x32c896,_0x522b83);}_0x82c3d4=-0x1;}}}else{if(this['_isExistingContentComment'](_0x3b2cf2))_0x4e3800=!0x0;else{if(this['_isExistingNode'](_0x3b2cf2)){const _0x51c0a2=getAttribute(_0x3b2cf2,'data-id');if(_0x51c0a2&&this['_existingDataIds']['has'](_0x51c0a2)){const _0x13b1a0=findByAttribute('data-id',_0x51c0a2,_0x2a3651);this['_replaceNode'](_0x13b1a0,_0x3b2cf2);}}else{if(this['_isDelNode'](_0x3b2cf2)){const _0x1639cb=this['_getNodeDataId'](_0x3b2cf2);!!findByAttribute('data-id',_0x1639cb,_0x2a3b10)||this['_touchedNodesState']['removedIds']['push'](_0x1639cb);}}}}}for(const _0x3433a9 of this['_touchedNodesState']['removedIds']){const _0x8ad167=findByAttribute('data-id',_0x3433a9,_0x2a3651);_0x8ad167&&this['_removeNode'](_0x8ad167,_0x3433a9,_0x45ea52);}if(findAllByAttribute('data-id','new-element',_0x2a3651)['forEach'](_0x15e4f9=>{const _0x14d0ee=this['_getUid'](_0x15e4f9);setAttribute(_0x15e4f9,'data-id',_0x14d0ee),this['_touchedNodesState']['newIds']['push'](_0x14d0ee);}),this['_removeSpecialComments'](_0x2a3651),_0x45ea52&&_0x45ea52['markUnstableElements']&&this['_markUnstableElements'](_0x2a3651,_0x45ea52['markUnstableElementsDepth']||0x0),this['_processWrappedElements'](_0x2a3651,_0x45ea52),_0x45ea52&&_0x45ea52['cutAfterLastChange']&&this['_touchedNodesState']['lastTouchedId']){const _0x2f2efb=findAllByAttribute('data-id',this['_touchedNodesState']['lastTouchedId'],_0x2a3651);let _0x3326b0=_0x2f2efb[_0x2f2efb['length']-0x1];for(;_0x3326b0;)removeElementsAfter(_0x3326b0),_0x3326b0=_0x3326b0['parentNode'];}return{'parsedContent':_0x2a3651,'newNodeIds':this['_touchedNodesState']['newIds'],'modifiedNodeIds':this['_touchedNodesState']['modifiedIds'],'removedNodeIds':this['_touchedNodesState']['removedIds'],'newAnchorIds':_0x38cf8b};}['_insertNodes'](_0x263b5d,_0x23214f,_0x2ae72c){for(const _0x4ffbb0 of _0x23214f){const _0x1095d0=this['_getUid'](_0x4ffbb0);setAttribute(_0x4ffbb0,'data-id',_0x1095d0),this['_touchedNodesState']['newIds']['push'](_0x1095d0),this['_touchedNodesState']['lastTouchedId']=_0x1095d0;}const _0x581086='afterbegin'===_0x2ae72c||'afterend'===_0x2ae72c?_0x23214f['reverse']():_0x23214f;for(const _0xc39ac5 of _0x581086)insertElement(_0x263b5d,_0xc39ac5,_0x2ae72c);}['_replaceNode'](_0x16cc00,_0x225148){if(!_0x16cc00)return;if(_0x8b519e(_0x16cc00,_0x225148))return;const _0x19efd2=this['_getUid'](_0x16cc00);setAttribute(_0x225148,'data-id',_0x19efd2),this['_touchedNodesState']['modifiedIds']['push'](_0x19efd2),this['_touchedNodesState']['lastTouchedId']=_0x19efd2,replaceElement(_0x16cc00,_0x225148['cloneNode'](!0x0));}['_removeNode'](_0x58e311,_0x231d80,_0xe8e320){if(_0xe8e320&&_0xe8e320['replaceRemovedWith']){this['_touchedNodesState']['lastTouchedId']=_0x231d80;const _0x4bf2cf=_0xe8e320['replaceRemovedWith']['cloneNode'](!0x0);setAttribute(_0x4bf2cf,'data-id',_0x231d80),setAttribute(_0x4bf2cf,'data-removed','true'),replaceElement(_0x58e311,_0x4bf2cf);}else removeElement(_0x58e311);}['_findReferenceNode'](_0x2ca75e,_0x46ffb7,_0x3cc1f5){const _0x1e8afa=this['_findPrevElementWithDataId'](_0x2ca75e,!0x1);if(_0x1e8afa){const _0x320f9b=this['_getNodeDataId'](_0x1e8afa),_0x3c6d7e=findByAttribute('data-id',_0x320f9b,_0x3cc1f5);if(_0x3c6d7e)return[_0x3c6d7e,'afterend'];this['_touchedNodesState']['invalidIds']['push'](_0x320f9b);}const _0x517029=this['_findNextElementWithDataId'](_0x2ca75e,!0x1);if(_0x517029){const _0x1c6160=this['_getNodeDataId'](_0x517029),_0x5b2fa8=findByAttribute('data-id',_0x1c6160,_0x3cc1f5);if(_0x5b2fa8)return[_0x5b2fa8,'beforebegin'];this['_touchedNodesState']['invalidIds']['push'](_0x1c6160);}return _0x46ffb7?_0x2ca75e['nextSibling']?this['_findFallbackReferenceNode'](_0x2ca75e,_0x3cc1f5):[_0x3cc1f5['childNodes'][_0x3cc1f5['childNodes']['length']-0x1],'afterend']:[_0x3cc1f5['childNodes'][0x0],'beforebegin'];}['_findFallbackReferenceNode'](_0x298387,_0xdaf559){const _0x7d612=[],_0x2c4beb=this['_findPrevElementWithDataId'](_0x298387,!0x0);if(_0x2c4beb){const _0x45049c=findByAttribute('data-id',this['_getNodeDataId'](_0x2c4beb),_0xdaf559);_0x45049c&&_0x7d612['push']([_0x45049c,'afterend']);}const _0xac2e44=this['_findNextElementWithDataId'](_0x298387,!0x0);if(_0xac2e44){const _0x5f5175=findByAttribute('data-id',this['_getNodeDataId'](_0xac2e44),_0xdaf559);_0x5f5175&&_0x7d612['push']([_0x5f5175,'beforebegin']);}if(_0x7d612['length']>0x1)return getNodeNestingLevel(_0x7d612[0x0][0x0])<=getNodeNestingLevel(_0x7d612[0x1][0x0])?_0x7d612[0x0]:_0x7d612[0x1];return 0x1===_0x7d612['length']?_0x7d612[0x0]:[_0xdaf559['lastChild'],'afterend'];}['_findNextElementWithDataId'](_0x52a1a5,_0x51831e){let _0x44f342=_0x52a1a5['nextSibling'],_0x1b01af=null,_0x727c4b=!0x1;for(;_0x44f342;){if(isComment(_0x44f342)){if(this['_isDelNode'](_0x44f342)&&(_0x1b01af=_0x44f342),this['_isExistingContentComment'](_0x44f342)&&_0x51831e&&!_0x727c4b){_0x727c4b=!0x0,_0x44f342=_0x44f342['nextSibling'];continue;}break;}const _0x1d7f0c=getAttribute(_0x44f342,'data-id');if(_0x1d7f0c&&'new-element'!==_0x1d7f0c&&this['_existingDataIds']['has'](_0x1d7f0c)){_0x1b01af=_0x44f342;break;}_0x44f342=_0x44f342['nextSibling'];}return _0x1b01af;}['_findPrevElementWithDataId'](_0x5bfd00,_0x4f8ed1){let _0xd98e27=_0x5bfd00['previousSibling'],_0x439904=null,_0x3d2687=!0x1;for(;_0xd98e27;){if(isComment(_0xd98e27)){if(this['_isDelNode'](_0xd98e27)&&(_0x439904=_0xd98e27),this['_isExistingContentComment'](_0xd98e27)&&_0x4f8ed1&&!_0x3d2687){_0x3d2687=!0x0,_0xd98e27=_0xd98e27['previousSibling'];continue;}break;}const _0x157236=getAttribute(_0xd98e27,'data-id');if(_0x157236&&'new-element'!==_0x157236&&this['_existingDataIds']['has'](_0x157236)){_0x439904=_0xd98e27;break;}_0xd98e27=_0xd98e27['previousSibling'];}return _0x439904;}['_markWrappedElements'](_0x17ef59){_0x2b41d4(_0x17ef59)&&findAllByAttribute('data-id',null,_0x17ef59)['forEach'](_0x137d6b=>{this['_isExistingNode'](_0x137d6b)&&(setAttribute(_0x137d6b,'data-wrapped-id',getAttribute(_0x137d6b,'data-id')),setAttribute(_0x137d6b,'data-id',null));});}['_processWrappedElements'](_0x113a7c,_0x56d409){findAllByAttribute('data-wrapped-id',null,_0x113a7c)['forEach'](_0x320a70=>{const _0x8ebd95=getAttribute(_0x320a70,'data-wrapped-id');if(getAttribute(_0x320a70,'data-unstable')||this['_hasUnstableParent'](_0x320a70))return;const _0x1bd954=findByAttribute('data-id',_0x8ebd95,_0x113a7c);setAttribute(_0x320a70,'data-id',_0x8ebd95),setAttribute(_0x320a70,'data-wrapped-id',null),_0x1bd954&&(this['_removeNode'](_0x1bd954,_0x8ebd95,_0x56d409),this['_touchedNodesState']['removedIds']['push'](_0x8ebd95),this['_touchedNodesState']['lastTouchedId']=_0x8ebd95);});}['_hasUnstableParent'](_0xc77bc){let _0x27c219=_0xc77bc['parentNode'];for(;_0x27c219;){if(getAttribute(_0x27c219,'data-unstable'))return!0x0;_0x27c219=_0x27c219['parentNode'];}return!0x1;}['_getNodeDataId'](_0x916727){if(!_0x916727)return null;if(_0x2b41d4(_0x916727))return getAttribute(_0x916727,'data-id');if(isComment(_0x916727)){const _0x43d0a8=_0x332c25(_0x916727)['match'](/removed[\s*-]data-id="([^"]+)"/);if(_0x43d0a8&&_0x43d0a8[0x1])return _0x43d0a8[0x1];}return null;}['_getUid'](_0x20828a){return this['_isExistingNode'](_0x20828a)?getAttribute(_0x20828a,'data-id'):this['_generateUid']();}['_removeSpecialComments'](_0x23b995){findAllComments(_0x23b995)['filter'](_0x14fc3b=>this['_isDelNode'](_0x14fc3b)||this['_isExistingContentComment'](_0x14fc3b))['forEach'](_0x3bd10a=>{removeElement(_0x3bd10a);});}['_markLastTagElementUnstable'](_0x576c8c){const _0x15bf0d=_0x576c8c['childNodes'],_0x1e21f1=_0x15bf0d[_0x15bf0d['length']-0x1];_0x1e21f1&&_0x2b41d4(_0x1e21f1)&&setAttribute(_0x1e21f1,'data-unstable','true');}['_markUnstableElements'](_0x190e0d,_0x4c4578){const _0x6a049f=findByAttribute('data-unstable','true',_0x190e0d);if(!_0x6a049f)return;const _0x20d2ad=getParents(_0x6a049f)['slice'](0x0,-0x1),_0xdecd06=_0x20d2ad['length'];let _0x5184bc=_0x6a049f;if(_0xdecd06>_0x4c4578){let _0x238ec2=_0xdecd06,_0x234523=null;for(;_0x238ec2>_0x4c4578&&_0x238ec2>=0x0;)_0x238ec2--,_0x234523=_0x20d2ad[_0x238ec2];_0x234523&&(_0x5184bc=_0x234523,setAttribute(_0x6a049f,'data-unstable',null),setAttribute(_0x234523,'data-unstable','true'));}else{if(_0xdecd06<_0x4c4578){let _0x3a64a0=_0xdecd06,_0x3fee67=_0x6a049f;for(;_0x3a64a0<_0x4c4578;){const _0x392225=_0x3fee67['childNodes']['filter'](_0x5398fb=>_0x2b41d4(_0x5398fb));if(0x0===_0x392225['length'])break;_0x3a64a0++,_0x3fee67=_0x392225[_0x392225['length']-0x1];}_0x3fee67&&(_0x5184bc=_0x3fee67,setAttribute(_0x6a049f,'data-unstable',null),setAttribute(_0x3fee67,'data-unstable','true'));}}let _0x5b02b1=_0x5184bc;for(;_0x5b02b1;){for(;_0x5b02b1['nextSibling'];)_0x5b02b1=_0x5b02b1['nextSibling'],_0x2b41d4(_0x5b02b1)&&setAttribute(_0x5b02b1,'data-unstable','true');_0x5b02b1=_0x5b02b1['parentNode'];}}['_isNewNode'](_0x2bb35a){return Boolean('new-element'===getAttribute(_0x2bb35a,'data-id'));}['_isExistingNode'](_0x2bd5b0){return Boolean((getAttribute(_0x2bd5b0,'data-id')||'')['length']>0x0&&'new-element'!==getAttribute(_0x2bd5b0,'data-id'));}['_isDelNode'](_0x2dafb6){return!!_0x2dafb6&&Boolean(isComment(_0x2dafb6)&&_0x332c25(_0x2dafb6)['match'](/removed[\s*-]data-id="[^"]+"/));}['_isExistingContentComment'](_0x37cf8f){return Boolean(isComment(_0x37cf8f)&&_0x332c25(_0x37cf8f)['match'](/\s*existing[\s*-](content|document)\s*/g));}}class _0x1beff7 extends ckeditor5['ContextPlugin']{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x5282d9,_0x32b322){let _0x11e841;if(_0x32b322||(_0x32b322=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x32b322?_0x11e841=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x11e841=this['context']['editors']['find'](_0x3dd031=>_0x3dd031['config']['get']('collaboration.channelId')==_0x32b322)),!_0x11e841)throw new ckeditor5['CKEditorError']('permissions-set-permissions-invalid-channel-id',null);const _0x5a7333=_0x11e841['plugins'],_0x32ace3=_0x5a7333['has']('CommentsRepository')?_0x5a7333['get']('CommentsRepository'):void 0x0,_0x29dab3=_0x5a7333['has']('CommentsOnly')&&_0x5a7333['get']('CommentsOnly'),_0x5cdaa9=_0x5282d9['includes']('document:write'),_0x4a257d=_0x5282d9['includes']('comment:modify_all'),_0x3598e2=_0x5282d9['includes']('comment:admin'),_0x4a6c4e=_0x5282d9['includes']('comment:write'),_0x39e42c=_0x4a6c4e||_0x3598e2,_0x3c4b21=_0x39e42c||_0x4a257d,_0x541e0e=_0x5cdaa9||_0x39e42c;(_0x29dab3&&(_0x29dab3['isEnabled']=!_0x5cdaa9&&_0x3c4b21),_0x11e841 instanceof ckeditor5['Editor'])&&(!(_0x5cdaa9||_0x3c4b21&&_0x32ace3)?_0x11e841['enableReadOnlyMode']('no-permissions'):_0x11e841['disableReadOnlyMode']('no-permissions'));if(_0x32ace3){_0x32ace3['setPermissions']({'admin':_0x3598e2,'modifyAll':_0x4a257d,'write':_0x4a6c4e,'resolve':_0x541e0e},_0x32b322);const _0x50293e=_0x11e841 instanceof ckeditor5['Editor']&&_0x11e841['commands']['get']('addCommentThread');_0x50293e&&(_0x39e42c?_0x50293e['clearForceDisabled']('noPermissions'):_0x50293e['forceDisabled']('noPermissions'));}}}function getTranslation$h(_0x3b855e,_0x568523){const t=_0x3b855e['t'];switch(_0x568523){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 _0x4a3f8f extends ckeditor5['ContextPlugin']{['users'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x1beff7];}constructor(_0x3d5d67){super(_0x3d5d67),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new ckeditor5['Collection'](),this['_locale']=_0x3d5d67['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:_0x70ae6e,name:_0x4ab6aa,..._0x98d68e}){if(!_0x70ae6e||'string'!=typeof _0x70ae6e)throw new ckeditor5['CKEditorError']('users-add-invalid-id');if(this['users']['has'](_0x70ae6e))throw new ckeditor5['CKEditorError']('users-add-duplicated-id',null,{'id':_0x70ae6e});const _0x55849c=this['context']['config']['get']('users.getInitialsCallback'),_0x35c58d={..._0x98d68e,'id':_0x70ae6e,'name':_0x353cf6(this['_locale'],_0x4ab6aa),'color':this['_getNextColor']()};_0x35c58d['name']=_0x353cf6(this['_locale'],_0x35c58d['name']);const _0x52422a=new _0x1045d1(_0x35c58d,_0x55849c);return this['users']['add'](_0x52422a),_0x52422a;}['getUser'](_0x55e37b){return this['users']['get'](_0x55e37b);}['useAnonymousUser'](){const _0x1c4f3c=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x1c4f3c);}['defineMe'](_0x28ff52){if(this['_myId'])throw new ckeditor5['CKEditorError']('users-me-already-defined',null);const _0x1875bb=this['getUser'](_0x28ff52);if(!_0x1875bb)throw new ckeditor5['CKEditorError']('users-me-missing-user',null);this['_myId']=_0x28ff52,_0x1875bb['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x2c7c85=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x2c7c85&&(this['_lastColor']=0x0),new CollaborationUserColor(this['_lastColor']++);}['_addAnonymousUser'](){const _0x2189b3=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x2189b3,'name':getTranslation$h(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}let _0x1045d1=class{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x166b9d,_0x144672){this['id']=_0x166b9d['id'],this['color']=_0x166b9d['color'],this['name']=_0x166b9d['name'],this['initials']=_0x144672?_0x144672(this['name']):this['_computeInitials'](),this['avatar']=_0x166b9d['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x43cc4e=this['name']['split']('\x20')['filter'](_0x585566=>/^[\p{Letter}]/u['test'](_0x585566));return 0x1===_0x43cc4e['length']?this['_getInitial'](_0x43cc4e[0x0]):0x0===_0x43cc4e['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x43cc4e[0x0])+this['_getInitial'](_0x43cc4e[_0x43cc4e['length']-0x1]);}['_getInitial'](_0x15a2cc){return String['fromCodePoint'](_0x15a2cc['codePointAt'](0x0))['toUpperCase']();}};function _0x353cf6(_0x5b6868,_0x1dd1d4=''){return''==(_0x1dd1d4=_0x1dd1d4['trim']())?getTranslation$h(_0x5b6868,'Anonymous'):_0x1dd1d4;}class CollaborationUserColor{['_id'];constructor(_0x5aa7f3){this['_id']=_0x5aa7f3;}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 _0xcb4734 extends ckeditor5['View']{['name'];['notificationView'];constructor(_0x2b5761,_0x39c8f5,_0xb8c0ba){super(_0x2b5761),this['name']=_0x39c8f5['name'],this['notificationView']=null;const _0x4c47d5=['ck','ck-user'],_0x2efe31=['ck','ck-user__img'];if(_0x39c8f5['isAnonymous']&&_0x2efe31['push']('ck-user__anonymous'),!_0x39c8f5['isAnonymous']&&_0x39c8f5['isMe']&&_0x4c47d5['push']('ck-user_me'),_0x39c8f5['avatar']&&_0x2efe31['push']('ck-user__avatar'),_0xb8c0ba){const _0x2aa564=new ckeditor5['IconView']();_0x2aa564['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x2aa564['content']=ckeditor5['IconNotification'],this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0xb8c0ba},'children':[_0x2aa564]};}const _0x20a5d8=[{'tag':'div','attributes':{'class':_0x2efe31,'style':{'background-image':_0x39c8f5['avatar']?'url(\x27'+_0x39c8f5['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x39c8f5['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x39c8f5['name']},'children':[{'text':_0x39c8f5['initials']}]}];this['notificationView']&&_0x20a5d8['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x4c47d5,'data-user-id':_0x39c8f5['id']},'children':_0x20a5d8});}}class AriaDescriptionView extends ckeditor5['View']{['id'];constructor(_0x277b89,_0x17cec9){super(_0x277b89),this['id']='ck-aria-description-'+ckeditor5['uid'](),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x17cec9}]});}}class LateFocusButtonView extends ckeditor5['ButtonView']{['render'](){super['render'](),delayFocusUntilMouseup(this);}}class LateFocusDropdownButtonView extends ckeditor5['DropdownButtonView']{['render'](){super['render'](),delayFocusUntilMouseup(this);}}function delayFocusUntilMouseup(_0x3cdf86){_0x3cdf86['listenTo'](_0x3cdf86['element'],'mousedown',(_0x1a25a6,_0x16d1df)=>{_0x16d1df['stopPropagation'](),_0x16d1df['preventDefault']();}),_0x3cdf86['listenTo'](_0x3cdf86['element'],'mouseup',()=>{_0x3cdf86['element']['focus']();});}function splitSuggestionMarkerName(_0x9aabd9){const _0x24e694=_0x9aabd9['split'](':');return{'group':_0x24e694[0x0],'type':_0x24e694[0x1],'subType':_0x24e694['length']>=0x5?_0x24e694[0x2]:null,'id':_0x24e694['length']<0x5?_0x24e694[0x2]:_0x24e694[0x3],'authorId':_0x24e694['length']<0x5?_0x24e694[0x3]:_0x24e694[0x4],'markerCount':0x6==_0x24e694['length']?_0x24e694[0x5]:null};}function fixElementSuggestionRange(_0xb312b3,_0x39bd10){const _0x116f19=_0xb312b3['end']['nodeBefore'];if(_0x116f19&&_0x116f19['is']('element')&&_0x39bd10['schema']['isBlock'](_0x116f19)&&!_0x39bd10['schema']['isObject'](_0x116f19)){const _0x255296=_0x39bd10['createPositionAt'](_0x116f19,'end');return _0x39bd10['createRange'](_0xb312b3['start'],_0x255296);}return _0xb312b3;}class SuggestionsConversionAlignment extends ckeditor5['Plugin']{['afterInit'](){const _0x444bc6=this['editor'];if(!_0x444bc6['plugins']['has']('AlignmentEditing'))return;_0x444bc6['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}}const basicStylesPlugins$1=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class SuggestionsConversionBasicStyles extends ckeditor5['Plugin']{['afterInit'](){const _0xa92c9d=this['editor'],_0x29e806=_0xa92c9d['plugins']['get']('SuggestionsConversion');for(const _0x462260 of basicStylesPlugins$1){if(!_0xa92c9d['plugins']['has'](_0x462260))continue;const _0x13c16e=_0x462260['slice'](0x0,-0x7)['toLowerCase']();_0x29e806['registerInlineAttribute'](_0x13c16e);}}}class SuggestionsConversionBookmark extends ckeditor5['Plugin']{['afterInit'](){const _0x3e6f88=this['editor'],_0x328fb4=_0x3e6f88['plugins']['get']('SuggestionsConversion');_0x3e6f88['plugins']['has']('BookmarkEditing')&&_0x328fb4['registerBlockAttribute']('bookmarkId');}}const fontPlugins$1=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class SuggestionsConversionFont extends ckeditor5['Plugin']{['afterInit'](){const _0x5317ac=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x33053c,commandName:_0x3b64d4}of fontPlugins$1)this['editor']['plugins']['has'](_0x33053c)&&_0x5317ac['registerInlineAttribute'](_0x3b64d4);}}class SuggestionsConversionFootnotes extends ckeditor5['Plugin']{['afterInit'](){const {editor:_0x23f8a7}=this;if(!_0x23f8a7['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x40d0dc=_0x23f8a7['plugins']['get']('SuggestionsConversion');_0x40d0dc['registerBlockAttribute']('footnotesListStyle'),_0x40d0dc['registerBlockAttribute']('footnotesListStart');}}class SuggestionsConversionHighlight extends ckeditor5['Plugin']{['afterInit'](){const _0x43fadf=this['editor'];if(!_0x43fadf['plugins']['has']('HighlightEditing'))return;_0x43fadf['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}}class SuggestionsConversionHtmlEmbed extends ckeditor5['Plugin']{['afterInit'](){const _0x1586c3=this['editor'];if(!_0x1586c3['plugins']['has']('HtmlEmbed'))return;_0x1586c3['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}}class SuggestionsConversionImage extends ckeditor5['Plugin']{['afterInit'](){const _0x4169d1=this['editor'];if(!_0x4169d1['plugins']['has']('ImageEditing'))return;const _0x424001=_0x4169d1['plugins']['get']('SuggestionsConversion');_0x424001['registerBlockAttribute']('src'),_0x4169d1['plugins']['has']('ImageResize')&&_0x424001['registerBlockAttribute']('resizedWidth'),_0x4169d1['plugins']['has']('ImageTextAlternativeEditing')&&_0x424001['registerBlockAttribute']('alt'),_0x4169d1['plugins']['has']('PictureEditing')&&_0x424001['registerBlockAttribute']('sources'),_0x4169d1['plugins']['has']('ImageSizeAttributes')&&(_0x424001['registerBlockAttribute']('width'),_0x424001['registerBlockAttribute']('height'));}}class SuggestionsConversionIndent extends ckeditor5['Plugin']{['afterInit'](){const _0x31e519=this['editor'],_0x3b6e79=_0x31e519['plugins']['get']('SuggestionsConversion');_0x31e519['plugins']['has']('IndentBlock')&&(_0x3b6e79['registerBlockAttribute']('blockIndent'),_0x31e519['plugins']['has']('ListEditing')&&(_0x3b6e79['registerBlockAttribute']('blockIndentList'),_0x3b6e79['registerBlockAttribute']('blockIndentListItem')));}}class SuggestionsConversionLineHeight extends ckeditor5['Plugin']{['afterInit'](){const _0x217c49=this['editor'];if(!_0x217c49['plugins']['has']('LineHeight'))return;_0x217c49['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}}class SuggestionsConversionLink extends ckeditor5['Plugin']{['afterInit'](){const _0x3938ca=this['editor'];if(!_0x3938ca['plugins']['has']('LinkEditing'))return;const _0x369536=_0x3938ca['plugins']['get']('SuggestionsConversion'),_0x4cb823=_0x3938ca['commands']['get']('link');_0x369536['registerInlineAttribute']('linkHref');for(const _0x48adaf of _0x4cb823['manualDecorators'])_0x369536['registerInlineAttribute'](_0x48adaf['id']);}}class SuggestionsConversionList extends ckeditor5['Plugin']{['afterInit'](){const _0x4658b4=this['editor'];if(!_0x4658b4['plugins']['has']('ListEditing'))return;const _0x3a412b=_0x4658b4['plugins']['get']('SuggestionsConversion'),_0x9fcae8=_0x4658b4['plugins']['has']('TodoListEditing');_0x3a412b['registerBlockAttribute']('listItemId'),_0x3a412b['registerBlockAttribute']('listType'),_0x3a412b['registerBlockAttribute']('listIndent'),_0x9fcae8&&_0x3a412b['registerBlockAttribute']('todoListChecked');}}class SuggestionsConversionListProperties extends ckeditor5['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x3537e=this['editor']['config']['get']('list.properties'),_0x420aa9=this['editor']['plugins']['get']('SuggestionsConversion');_0x3537e['styles']&&_0x420aa9['registerBlockAttribute']('listStyle'),_0x3537e['reversed']&&_0x420aa9['registerBlockAttribute']('listReversed'),_0x3537e['startIndex']&&_0x420aa9['registerBlockAttribute']('listStart');}}class SuggestionsConversionMultiLevelList extends ckeditor5['Plugin']{['afterInit'](){const _0x3501e0=this['editor'],_0x4d907a=_0x3501e0['plugins']['get']('SuggestionsConversion');_0x3501e0['plugins']['has']('MultiLevelList')&&_0x4d907a['registerBlockAttribute']('listMarkerStyle');}}class SuggestionsConversionStylesDropdown extends ckeditor5['Plugin']{['afterInit'](){const _0x93fb53=this['editor'];if(!_0x93fb53['plugins']['has']('Style')||!_0x93fb53['plugins']['has']('DataSchema')||!_0x93fb53['config']['get']('style.definitions'))return;const _0x17fe50=_0x93fb53['plugins']['get']('SuggestionsConversion'),_0x8be9ef=_0x93fb53['config']['get']('style.definitions'),_0x208026=_0x93fb53['plugins']['get']('GeneralHtmlSupport'),_0x1f62ab=_0x93fb53['plugins']['get']('StyleUtils')['normalizeConfig'](_0x93fb53['plugins']['get']('DataSchema'),_0x8be9ef),_0x17d2c5=new Set();for(const _0xd91b0c of _0x1f62ab['block']){const _0x2db42b=_0x208026['getGhsAttributeNameForElement'](_0xd91b0c['element']);_0x17d2c5['add'](_0x2db42b);}const _0x5bbf80=new Set();for(const _0x15fd26 of _0x1f62ab['inline']){const _0x1c2826=_0x208026['getGhsAttributeNameForElement'](_0x15fd26['element']);_0x5bbf80['add'](_0x1c2826);for(const _0x5afbc3 of _0x15fd26['ghsAttributes'])_0x5bbf80['add'](_0x5afbc3);}for(const _0x3b8acd of _0x17d2c5)_0x17fe50['registerBlockAttribute'](_0x3b8acd);for(const _0x2d74a6 of _0x5bbf80)_0x17fe50['registerInlineAttribute'](_0x2d74a6);}}class SuggestionsConversionTableHeadings extends ckeditor5['Plugin']{['afterInit'](){const _0x8dc0dd=this['editor'];if(!_0x8dc0dd['plugins']['has']('TableEditing'))return;const _0x5ee1ba=_0x8dc0dd['plugins']['get']('SuggestionsConversion');_0x5ee1ba['registerBlockAttribute']('headingRows'),_0x5ee1ba['registerBlockAttribute']('headingColumns');}}class SuggestionsConversionTableProperties extends ckeditor5['Plugin']{['afterInit'](){const {plugins:_0x13866d}=this['editor'];if(!_0x13866d['has']('TablePropertiesEditing'))return;const _0x420ebf=_0x13866d['get']('SuggestionsConversion'),_0x5e8743=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'];for(const _0x3e9c4a of _0x5e8743)_0x420ebf['registerBlockAttribute'](_0x3e9c4a);}}class SuggestionsConversionTableLayout extends ckeditor5['Plugin']{['afterInit'](){const _0x13b0e7=this['editor'],_0x2b6dc4=_0x13b0e7['plugins']['get']('SuggestionsConversion');_0x13b0e7['plugins']['has']('TableLayout')&&_0x2b6dc4['registerBlockAttribute']('tableType');}}class SuggestionsConversionUploadcare extends ckeditor5['Plugin']{['afterInit'](){const _0x4e9d6a=this['editor'],_0x53a39b=this['editor']['plugins']['get']('SuggestionsConversion');_0x4e9d6a['plugins']['has']('Uploadcare')&&_0x4e9d6a['plugins']['has']('UploadcareImageEdit')&&_0x53a39b['registerBlockAttribute']('uploadcareImageId');}}class SuggestionsConversionShiftEnter extends ckeditor5['Plugin']{['afterInit'](){const _0x584c13=this['editor'];if(!_0x584c13['plugins']['has']('ShiftEnter'))return;const _0x55f2ef=_0x584c13['plugins']['get']('SuggestionsConversion'),_0x9fd8d=(_0x42a799,_0x44e6b1,_0x5af2b5,_0x4fa601)=>{if(_0x4fa601&&!_0x5af2b5['options']['showSuggestionHighlights'])return;if(!_0x5af2b5['consumable']['test'](_0x44e6b1['markerRange'],_0x42a799['name']))return;const _0x6cf5f=_0x584c13['model'];for(const _0x1363da of _0x44e6b1['markerRange']['getItems']()){if(!_0x1363da['is']('element','softBreak'))continue;const _0x4af37b='deletion'==_0x44e6b1['markerName']['split'](':')[0x1]?'merge':'split',{id:_0xcd1443,authorId:_0xa6607a}=splitSuggestionMarkerName(_0x44e6b1['markerName']),_0x3e6f18=_0x5af2b5['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x4af37b,'data-suggestion':_0xcd1443,'data-author-id':_0xa6607a}),_0x1abcd0=_0x5af2b5['mapper']['toViewPosition'](_0x6cf5f['createPositionBefore'](_0x1363da));!_0x4fa601&&_0x55f2ef['_activeMarkers']['includes'](_0x44e6b1['markerName'])&&_0x5af2b5['writer']['addClass']('ck-suggestion-marker--active',_0x3e6f18),_0x5af2b5['writer']['insert'](_0x1abcd0,_0x3e6f18),_0x5af2b5['mapper']['bindElementToMarker'](_0x3e6f18,_0x44e6b1['markerName']);}};_0x584c13['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x558a36,_0x4546a1,_0x2e6072)=>{_0x9fd8d(_0x558a36,_0x4546a1,_0x2e6072,!0x1);},{'priority':'high'}),_0x584c13['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x33f433,_0x53357c,_0xb77de5)=>{_0x9fd8d(_0x33f433,_0x53357c,_0xb77de5,!0x1);},{'priority':'high'}),_0x584c13['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x9e4ca3,_0x3b2f33,_0x2110df)=>{_0x9fd8d(_0x9e4ca3,_0x3b2f33,_0x2110df,!0x0);},{'priority':'high'}),_0x584c13['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x2dd197,_0x2424b6,_0x2c65b3)=>{_0x9fd8d(_0x2dd197,_0x2424b6,_0x2c65b3,!0x0);},{'priority':'high'});}}class SuggestionsConversionMediaEmbed extends ckeditor5['Plugin']{['afterInit'](){const _0x48a604=this['editor'];_0x48a604['plugins']['has']('MediaEmbedEditing')&&(_0x48a604['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x4fd4e9,{writer:_0x4c0652,options:_0x33d0e0})=>{if(_0x33d0e0['showSuggestionHighlights'])return _0x4c0652['createEmptyElement']('div');},'converterPriority':'high'}),_0x48a604['data']['downcastDispatcher']['on']('attribute:url:media',(_0x187a40,_0x4e2179,_0x636afa)=>{_0x636afa['options']['showSuggestionHighlights']&&_0x187a40['stop']();},{'priority':'high'}));}}class SuggestionsConversionTable extends ckeditor5['Plugin']{['afterInit'](){const _0x1f3a9b=this['editor'];if(!_0x1f3a9b['plugins']['has']('Table'))return;_0x1f3a9b['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x2d0caf,_0x2f124d,_0x540a81)=>{((_0x16ed73,_0x236d87,_0x55620b)=>{if(!_0x55620b['options']['showSuggestionHighlights'])return;const _0x57d432=_0x236d87['item'];if(!_0x57d432||!_0x57d432['is']('element','tableCell'))return;const _0x33ca0b=_0x55620b['mapper']['toViewElement'](_0x57d432);if(_0x33ca0b){const {id:_0x17e280,authorId:_0x1f6e2a}=splitSuggestionMarkerName(_0x236d87['markerName']);ckeditor5['setHighlightHandling'](_0x33ca0b,_0x55620b['writer'],(_0x137c22,_0x5f335e,_0x2e360a)=>{_0x2e360a['addClass'](ckeditor5['toArray'](_0x5f335e['classes']),_0x137c22),_0x2e360a['setAttribute']('data-suggestion',_0x17e280,_0x137c22),_0x2e360a['setAttribute']('data-author-id',_0x1f6e2a,_0x137c22);});}})(0x0,_0x2f124d,_0x540a81);},{'priority':'highest'});}}class SuggestionsConversionHorizontalLine extends ckeditor5['Plugin']{['afterInit'](){const _0x164d0c=this['editor'];_0x164d0c['plugins']['has']('HorizontalLineEditing')&&_0x164d0c['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0xbd4ca0,{writer:_0x964a83,options:_0x225501})=>{if(!_0x225501['showSuggestionHighlights'])return null;const _0x45b1ae=_0x964a83['createContainerElement']('div'),_0x5503b0=_0x964a83['createEmptyElement']('hr');return _0x964a83['addClass']('ck-horizontal-line',_0x45b1ae),_0x964a83['insert'](_0x964a83['createPositionAt'](_0x45b1ae,0x0),_0x5503b0),_0x45b1ae;},'converterPriority':'high'});}}class SuggestionsConversionTableCellProperties extends ckeditor5['Plugin']{['afterInit'](){const {plugins:_0x150893,model:_0x40ee54}=this['editor'];if(!_0x150893['has']('TableCellPropertiesEditing'))return;const _0x466d50=_0x150893['get']('SuggestionsConversion'),_0x8de5b2=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'];for(const _0x5e058c of _0x8de5b2)_0x466d50['registerBlockAttribute'](_0x5e058c);_0x40ee54['schema']['checkAttribute']('tableCell','tableCellType')&&_0x466d50['registerBlockAttribute']('tableCellType');}}class SuggestionsConversionTableFooters extends ckeditor5['Plugin']{['afterInit'](){const _0x93394f=this['editor'];if(!_0x93394f['plugins']['has']('TableEditing')||!_0x93394f['config']['get']('table.enableFooters'))return;_0x93394f['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('footerRows');}}class SuggestionsConversion extends ckeditor5['Plugin']{['_activeMarkers']=[];['_blockAttributeKeys']=new Set(['$elementName']);['_inlineAttributeKeys']=new Set();static get['pluginName'](){return'SuggestionsConversion';}static get['requires'](){return[SuggestionsConversionAlignment,SuggestionsConversionBasicStyles,SuggestionsConversionBookmark,SuggestionsConversionFont,SuggestionsConversionFootnotes,SuggestionsConversionHighlight,SuggestionsConversionHorizontalLine,SuggestionsConversionHtmlEmbed,SuggestionsConversionImage,SuggestionsConversionIndent,SuggestionsConversionLineHeight,SuggestionsConversionLink,SuggestionsConversionList,SuggestionsConversionListProperties,SuggestionsConversionMediaEmbed,SuggestionsConversionMultiLevelList,SuggestionsConversionShiftEnter,SuggestionsConversionStylesDropdown,SuggestionsConversionTable,SuggestionsConversionTableHeadings,SuggestionsConversionTableFooters,SuggestionsConversionTableLayout,SuggestionsConversionTableCellProperties,SuggestionsConversionTableProperties,SuggestionsConversionUploadcare];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1a8db3=this['editor'],_0x1a469f=(_0x494bf2,_0x1498e5,_0xaec600)=>{const {id:_0x1757a,authorId:_0x4b6e65,type:_0x370e92,subType:_0x5aaece}=splitSuggestionMarkerName(_0x494bf2['markerName']),_0x5ce6dc=['ck-suggestion-marker',this['_getClassName'](_0x370e92,_0x5aaece)];let _0x136a50=0xbb8;return!_0xaec600&&(this['_activeMarkers']['includes'](_0x494bf2['markerName'])&&(_0x5ce6dc['push']('ck-suggestion-marker--active'),_0x136a50=0xbc2)),('deletion'==_0x370e92&&(_0x136a50+=0x5),{'classes':_0x5ce6dc,'attributes':{'data-suggestion':_0x1757a,'data-author-id':_0x4b6e65},'priority':_0x136a50});};_0x1a8db3['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x1dfcc5,_0x4ac410)=>_0x1a469f(_0x1dfcc5,0x0,!0x1)}),_0x1a8db3['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x202412,_0x1dcc78)=>_0x1a469f(_0x202412,0x0,!0x0)}),_0x1a8db3['conversion']['for']('dataDowncast')['add'](_0x584042=>{_0x584042['on']('addMarker:suggestion',(_0x406f30,_0x1d86b4,_0x129961)=>{if(!_0x129961['options']['showSuggestionHighlights'])return;const _0x370b90=_0x1d86b4['item'];if(!_0x370b90)return;const _0x505ed7=_0x129961['mapper']['toViewElement'](_0x370b90);_0x1a8db3['model']['schema']['isObject'](_0x370b90)&&_0x505ed7&&!_0x505ed7['getCustomProperty']('widget')&&_0x505ed7['is']('containerElement')&&ckeditor5['toWidget'](_0x505ed7,_0x129961['writer']);},{'priority':'high'});});const _0x1b0db5=(_0x2d7372,_0x4a7b8a,_0x2ab681,_0x1e219a,_0x38fa92)=>{if(_0x1e219a&&!_0x2ab681['options']['showSuggestionHighlights'])return;if(!_0x4a7b8a['item'])return;const {id:_0x325afe,authorId:_0x595227,subType:_0x5cb292}=splitSuggestionMarkerName(_0x4a7b8a['markerName']);if(_0x38fa92){const _0x217648=_0x5cb292['split']('|')[0x0];if(!this['isBlockAttribute'](_0x217648))return;}if(_0x4a7b8a['item']['is']('selection'))return void _0x2ab681['consumable']['consume'](_0x4a7b8a['item'],_0x2d7372['name']);const _0x35a614=_0x2ab681['mapper']['toViewElement'](_0x4a7b8a['item']);if(_0x4a7b8a['item']['is']('element')&&_0x1a8db3['model']['schema']['isBlock'](_0x4a7b8a['item'])&&!_0x35a614['getCustomProperty']('addHighlight')){_0x2ab681['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x35a614),_0x2ab681['writer']['setAttribute']('data-suggestion',_0x325afe,_0x35a614),_0x2ab681['writer']['setAttribute']('data-author-id',_0x595227,_0x35a614),_0x2ab681['mapper']['bindElementToMarker'](_0x35a614,_0x4a7b8a['markerName']),_0x1e219a||(this['_activeMarkers']['includes'](_0x4a7b8a['markerName'])?_0x2ab681['writer']['addClass']('ck-suggestion-marker--active',_0x35a614):_0x2ab681['writer']['removeClass']('ck-suggestion-marker--active',_0x35a614));for(const _0xcd77a2 of _0x1a8db3['model']['createRangeIn'](_0x4a7b8a['item'])['getItems']())_0x2ab681['consumable']['consume'](_0xcd77a2,_0x2d7372['name']);_0x2ab681['consumable']['consume'](_0x4a7b8a['item'],_0x2d7372['name']);}},_0x536b36=(_0x5015dd,_0x405f37,_0x56ce12,_0x1ddbca)=>{const _0x505c68=_0x56ce12['mapper']['markerNameToElements'](_0x405f37['markerName']);if(_0x505c68){if(_0x1ddbca){const {subType:_0x76fbb0}=splitSuggestionMarkerName(_0x405f37['markerName']),_0xb90f3c=_0x76fbb0['split']('|')[0x0];if(!this['isBlockAttribute'](_0xb90f3c))return;}for(const _0xfe0252 of _0x505c68)_0xfe0252['getCustomProperty']('addHighlight')||(_0x56ce12['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0xfe0252),_0x56ce12['writer']['removeAttribute']('data-suggestion',_0xfe0252),_0x56ce12['writer']['removeAttribute']('data-author-id',_0xfe0252),_0x56ce12['mapper']['unbindElementFromMarkerName'](_0xfe0252,_0x405f37['markerName']));}};_0x1a8db3['conversion']['for']('editingDowncast')['add'](_0x4495d1=>{_0x4495d1['on']('addMarker:suggestion:formatBlock',(_0x3f175d,_0x240912,_0x40f9c9)=>{_0x1b0db5(_0x3f175d,_0x240912,_0x40f9c9,!0x1,!0x1);},{'priority':'high'});}),_0x1a8db3['conversion']['for']('editingDowncast')['add'](_0x4b0bb9=>{_0x4b0bb9['on']('addMarker:suggestion:attribute',(_0x1c7956,_0x27164d,_0x39356f)=>{_0x1b0db5(_0x1c7956,_0x27164d,_0x39356f,!0x1,!0x0);},{'priority':'high'});}),_0x1a8db3['conversion']['for']('editingDowncast')['add'](_0x5d5855=>{_0x5d5855['on']('removeMarker:suggestion:formatBlock',(_0x5bfe6b,_0x33bffc,_0x9c0fc6)=>{_0x536b36(0x0,_0x33bffc,_0x9c0fc6,!0x1);},{'priority':'high'});}),_0x1a8db3['conversion']['for']('editingDowncast')['add'](_0x1f8b55=>{_0x1f8b55['on']('removeMarker:suggestion:attribute',(_0x396053,_0x49a983,_0x1bfdd4)=>{_0x536b36(0x0,_0x49a983,_0x1bfdd4,!0x0);},{'priority':'high'});}),_0x1a8db3['conversion']['for']('dataDowncast')['add'](_0x5c0f35=>{_0x5c0f35['on']('addMarker:suggestion:formatBlock',(_0x5a8126,_0x574561,_0x223ecf)=>{_0x1b0db5(_0x5a8126,_0x574561,_0x223ecf,!0x0,!0x1);},{'priority':'highest'});}),_0x1a8db3['conversion']['for']('dataDowncast')['add'](_0x46baf8=>{_0x46baf8['on']('addMarker:suggestion:attribute',(_0x26f5e1,_0x397dfe,_0x123d34)=>{_0x1b0db5(_0x26f5e1,_0x397dfe,_0x123d34,!0x0,!0x0);},{'priority':'highest'});}),_0x1a8db3['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0xde6ea8,_0x394e59)=>_0x394e59['options']['showSuggestionHighlights']?null:{'group':'suggestion','name':_0xde6ea8['substr'](0xb)}});const _0x48672a=(_0x101a82,_0x8de74a,_0xf31141,_0x31ed55,_0x4bb843)=>{if(_0x31ed55&&!_0xf31141['options']['showSuggestionHighlights'])return;if(!_0xf31141['consumable']['test'](_0x8de74a['markerRange'],_0x101a82['name']))return;const _0x37ba22=this['_activeMarkers'],_0xf93897=_0x8de74a['markerRange']['getWalker'](),_0x26ea01=_0x8de74a['markerRange']['start'],_0x59097a=_0x1a8db3['model']['schema'];let _0x4c4796=null,_0x11446e=null,_0x557f1c=!0x1,_0x2f26ba=!0x1;for(const _0x435f56 of _0xf93897){const _0x29dc04=_0x435f56['item'];_0x557f1c=_0x557f1c||_0x59097a['isContent'](_0x29dc04);const _0xc2d91b=_0xf31141['mapper']['toViewElement'](_0x29dc04);if(_0xc2d91b&&_0xc2d91b['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x435f56['type']&&(_0x59097a['isBlock'](_0x29dc04)&&!_0x59097a['isLimit'](_0x29dc04)&&(_0x29dc04['nextSibling']||_0x26ea01['isAtEnd']?_0x4c4796&&_0x4c4796['parent']==_0x29dc04||(_0x4c4796=_0x29dc04,_0x44092c(_0x435f56['previousPosition']),_0x2f26ba=!0x0):_0x11446e=_0x11446e||_0x435f56['previousPosition']));}function _0x44092c(_0x4568f6){const {id:_0x19f1a7,authorId:_0x446c69}=splitSuggestionMarkerName(_0x8de74a['markerName']),_0x31fe01=_0xf31141['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x4bb843,'data-suggestion':_0x19f1a7,'data-author-id':_0x446c69}),_0xa24075=_0xf31141['mapper']['toViewPosition'](_0x4568f6);!_0x31ed55&&_0x37ba22['includes'](_0x8de74a['markerName'])&&_0xf31141['writer']['addClass']('ck-suggestion-marker--active',_0x31fe01),_0xf31141['writer']['insert'](_0xa24075,_0x31fe01),_0xf31141['mapper']['bindElementToMarker'](_0x31fe01,_0x8de74a['markerName']);}_0x557f1c||_0x2f26ba||!_0x11446e||_0x44092c(_0x11446e);};_0x1a8db3['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x5a4a8f,_0x5f5dac,_0x14d3e8)=>{_0x48672a(_0x5a4a8f,_0x5f5dac,_0x14d3e8,!0x1,'merge');},{'priority':'high'}),_0x1a8db3['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x920e8e,_0x38eb00,_0x155a7b)=>{_0x48672a(_0x920e8e,_0x38eb00,_0x155a7b,!0x0,'merge');},{'priority':'high'}),_0x1a8db3['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x1a1993,_0x59e61d,_0x34c6b0)=>{_0x48672a(_0x1a1993,_0x59e61d,_0x34c6b0,!0x1,'split');},{'priority':'high'}),_0x1a8db3['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x430fb4,_0x40d681,_0x1941d3)=>{_0x48672a(_0x430fb4,_0x40d681,_0x1941d3,!0x0,'split');},{'priority':'high'}),_0x1a8db3['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x1e9eae,_0x3f94c1,_0x34d704)=>{((_0x382826,_0x581d27,_0x57c481)=>{const _0xc34448=_0x57c481['mapper']['markerNameToElements'](_0x581d27['markerName']);if(_0xc34448){for(const _0x1ebc8d of _0xc34448)(_0x1ebc8d['hasClass']('ck-suggestion-marker-split')||_0x1ebc8d['hasClass']('ck-suggestion-marker-merge'))&&(_0x57c481['mapper']['unbindElementFromMarkerName'](_0x1ebc8d,_0x581d27['markerName']),_0x57c481['writer']['remove'](_0x1ebc8d));}})(0x0,_0x3f94c1,_0x34d704);},{'priority':'high'});const _0x42b883=(_0x4d99b6,_0x2a6d36,_0x1b5640,_0x3f0100)=>{if(_0x3f0100&&!_0x1b5640['options']['showSuggestionHighlights'])return;const _0x327a0b=_0x2a6d36['markerRange']['start'],_0x40c82f=_0x2a6d36['markerRange']['end'],_0x24f2b4=_0x1a8db3['model']['schema'];if(!_0x327a0b['isTouching'](_0x40c82f)||!_0x327a0b['nodeAfter'])return;const _0x184ea2=_0x327a0b['nodeAfter'];if(_0x24f2b4['isBlock'](_0x184ea2)&&!_0x24f2b4['isLimit'](_0x184ea2)&&_0x24f2b4['checkChild'](_0x184ea2,'$text')){if(!_0x1b5640['consumable']['consume'](_0x2a6d36['markerRange'],_0x4d99b6['name']))return;const {id:_0x13505f,authorId:_0x43127c}=splitSuggestionMarkerName(_0x2a6d36['markerName']),_0x335885=_0x1b5640['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x13505f,'data-author-id':_0x43127c}),_0x4f0c93=_0x1b5640['mapper']['toViewPosition'](_0x40c82f);!_0x3f0100&&this['_activeMarkers']['includes'](_0x2a6d36['markerName'])&&_0x1b5640['writer']['addClass']('ck-suggestion-marker--active',_0x335885),_0x1b5640['writer']['insert'](_0x4f0c93,_0x335885),_0x1b5640['mapper']['bindElementToMarker'](_0x335885,_0x2a6d36['markerName']);}};_0x1a8db3['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x4ab08c,_0x5b6682,_0x38b6ca)=>{_0x42b883(_0x4ab08c,_0x5b6682,_0x38b6ca,!0x1);},{'priority':'high'}),_0x1a8db3['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x4b4541,_0x4d7a7f,_0x530aa3)=>{_0x42b883(_0x4b4541,_0x4d7a7f,_0x530aa3,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x4a9d09,_0x5b8466,_0x24357a)=>{this['_activeMarkers']=_0x24357a['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0x364f30){this['_blockAttributeKeys']['add'](_0x364f30);}['registerInlineAttribute'](_0x4ccf02){this['_inlineAttributeKeys']['add'](_0x4ccf02);}['isBlockAttribute'](_0x4070cf){return this['_blockAttributeKeys']['has'](_0x4070cf);}['isInlineAttribute'](_0x1a9aef){return this['_inlineAttributeKeys']['has'](_0x1a9aef);}['isRegisteredAttribute'](_0x18ff2e){return this['isInlineAttribute'](_0x18ff2e)||this['isBlockAttribute'](_0x18ff2e);}['_getClassName'](_0x432d72,_0x6ccd43){if('attribute'!=_0x432d72)return'ck-suggestion-marker-'+_0x432d72;const _0x4bdc4f=_0x6ccd43['split']('|')[0x0];return this['isBlockAttribute'](_0x4bdc4f)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}}class _0x8cb602 extends Error{}class InvalidDateTimeError extends _0x8cb602{constructor(_0x22323f){super('Invalid\x20DateTime:\x20'+_0x22323f['toMessage']());}}class InvalidIntervalError extends _0x8cb602{constructor(_0x4a3c1f){super('Invalid\x20Interval:\x20'+_0x4a3c1f['toMessage']());}}class InvalidDurationError extends _0x8cb602{constructor(_0x75f9a6){super('Invalid\x20Duration:\x20'+_0x75f9a6['toMessage']());}}class ConflictingSpecificationError extends _0x8cb602{}class InvalidUnitError extends _0x8cb602{constructor(_0x30dd8f){super('Invalid\x20unit\x20'+_0x30dd8f);}}class InvalidArgumentError extends _0x8cb602{}class ZoneIsAbstractError extends _0x8cb602{constructor(){super('Zone\x20is\x20an\x20abstract\x20class');}}const _0x40ef42='numeric',_0x364713='short',_0x2ef53c='long',_0x50e5c0={'year':_0x40ef42,'month':_0x40ef42,'day':_0x40ef42},_0x33707c={'year':_0x40ef42,'month':_0x364713,'day':_0x40ef42},_0x31692b={'year':_0x40ef42,'month':_0x364713,'day':_0x40ef42,'weekday':_0x364713},_0x293996={'year':_0x40ef42,'month':_0x2ef53c,'day':_0x40ef42},_0x3cf38e={'year':_0x40ef42,'month':_0x2ef53c,'day':_0x40ef42,'weekday':_0x2ef53c},_0x296165={'hour':_0x40ef42,'minute':_0x40ef42},_0xcfb537={'hour':_0x40ef42,'minute':_0x40ef42,'second':_0x40ef42},_0x4bcb77={'hour':_0x40ef42,'minute':_0x40ef42,'second':_0x40ef42,'timeZoneName':_0x364713},_0x49364f={'hour':_0x40ef42,'minute':_0x40ef42,'second':_0x40ef42,'timeZoneName':_0x2ef53c},_0x208169={'hour':_0x40ef42,'minute':_0x40ef42,'hourCycle':'h23'},_0x498867={'hour':_0x40ef42,'minute':_0x40ef42,'second':_0x40ef42,'hourCycle':'h23'},_0x4083ba={'hour':_0x40ef42,'minute':_0x40ef42,'second':_0x40ef42,'hourCycle':'h23','timeZoneName':_0x364713},_0x362046={'hour':_0x40ef42,'minute':_0x40ef42,'second':_0x40ef42,'hourCycle':'h23','timeZoneName':_0x2ef53c},_0x25ee82={'year':_0x40ef42,'month':_0x40ef42,'day':_0x40ef42,'hour':_0x40ef42,'minute':_0x40ef42},_0x4b47cc={'year':_0x40ef42,'month':_0x40ef42,'day':_0x40ef42,'hour':_0x40ef42,'minute':_0x40ef42,'second':_0x40ef42},_0x1f3a5e={'year':_0x40ef42,'month':_0x364713,'day':_0x40ef42,'hour':_0x40ef42,'minute':_0x40ef42},_0x2930fe={'year':_0x40ef42,'month':_0x364713,'day':_0x40ef42,'hour':_0x40ef42,'minute':_0x40ef42,'second':_0x40ef42},_0x2059bb={'year':_0x40ef42,'month':_0x364713,'day':_0x40ef42,'weekday':_0x364713,'hour':_0x40ef42,'minute':_0x40ef42},_0x169688={'year':_0x40ef42,'month':_0x2ef53c,'day':_0x40ef42,'hour':_0x40ef42,'minute':_0x40ef42,'timeZoneName':_0x364713},_0x2a2446={'year':_0x40ef42,'month':_0x2ef53c,'day':_0x40ef42,'hour':_0x40ef42,'minute':_0x40ef42,'second':_0x40ef42,'timeZoneName':_0x364713},_0x5cce1a={'year':_0x40ef42,'month':_0x2ef53c,'day':_0x40ef42,'weekday':_0x2ef53c,'hour':_0x40ef42,'minute':_0x40ef42,'timeZoneName':_0x2ef53c},_0x597a6e={'year':_0x40ef42,'month':_0x2ef53c,'day':_0x40ef42,'weekday':_0x2ef53c,'hour':_0x40ef42,'minute':_0x40ef42,'second':_0x40ef42,'timeZoneName':_0x2ef53c};class _0x205296{get['type'](){throw new ZoneIsAbstractError();}get['name'](){throw new ZoneIsAbstractError();}get['ianaName'](){return this['name'];}get['isUniversal'](){throw new ZoneIsAbstractError();}['offsetName'](_0x324595,_0x57bed1){throw new ZoneIsAbstractError();}['formatOffset'](_0xada09,_0x1b79f6){throw new ZoneIsAbstractError();}['offset'](_0x3d0283){throw new ZoneIsAbstractError();}['equals'](_0x524972){throw new ZoneIsAbstractError();}get['isValid'](){throw new ZoneIsAbstractError();}}let singleton$1=null;class SystemZone extends _0x205296{static get['instance'](){return null===singleton$1&&(singleton$1=new SystemZone()),singleton$1;}get['type'](){return'system';}get['name'](){return new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone'];}get['isUniversal'](){return!0x1;}['offsetName'](_0x1b1a78,{format:_0x2d6ec,locale:_0x15199e}){return _0x5c18db(_0x1b1a78,_0x2d6ec,_0x15199e);}['formatOffset'](_0x1e7337,_0x316d23){return formatOffset(this['offset'](_0x1e7337),_0x316d23);}['offset'](_0x14294d){return-new Date(_0x14294d)['getTimezoneOffset']();}['equals'](_0xa22c8b){return'system'===_0xa22c8b['type'];}get['isValid'](){return!0x0;}}const dtfCache=new Map();function _0x56ca43(_0x392874){let _0x3b743f=dtfCache['get'](_0x392874);return void 0x0===_0x3b743f&&(_0x3b743f=new Intl['DateTimeFormat']('en-US',{'hour12':!0x1,'timeZone':_0x392874,'year':'numeric','month':'2-digit','day':'2-digit','hour':'2-digit','minute':'2-digit','second':'2-digit','era':'short'}),dtfCache['set'](_0x392874,_0x3b743f)),_0x3b743f;}const typeToPos={'year':0x0,'month':0x1,'day':0x2,'era':0x3,'hour':0x4,'minute':0x5,'second':0x6};function hackyOffset(_0x518a4c,_0x5dcc1e){const _0x9671f3=_0x518a4c['format'](_0x5dcc1e)['replace'](/\u200E/g,''),_0x54331b=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/['exec'](_0x9671f3),[,_0x5ca919,_0x44f3a0,_0x3fb341,_0x189121,_0x1ca5c6,_0x44f8a7,_0x368791]=_0x54331b;return[_0x3fb341,_0x5ca919,_0x44f3a0,_0x189121,_0x1ca5c6,_0x44f8a7,_0x368791];}function partsOffset(_0x2a83b3,_0x154d4e){const _0x23036b=_0x2a83b3['formatToParts'](_0x154d4e),_0x37e2ed=[];for(let _0x53ab4d=0x0;_0x53ab4d<_0x23036b['length'];_0x53ab4d++){const {type:_0x290c29,value:_0x33f7ee}=_0x23036b[_0x53ab4d],_0x5280ac=typeToPos[_0x290c29];'era'===_0x290c29?_0x37e2ed[_0x5280ac]=_0x33f7ee:_0x1f9e37(_0x5280ac)||(_0x37e2ed[_0x5280ac]=parseInt(_0x33f7ee,0xa));}return _0x37e2ed;}const _0xaa22fa=new Map();class _0xf46b7 extends _0x205296{static['create'](_0x29e61d){let _0xde77f=_0xaa22fa['get'](_0x29e61d);return void 0x0===_0xde77f&&_0xaa22fa['set'](_0x29e61d,_0xde77f=new _0xf46b7(_0x29e61d)),_0xde77f;}static['resetCache'](){_0xaa22fa['clear'](),dtfCache['clear']();}static['isValidSpecifier'](_0x3fa4a0){return this['isValidZone'](_0x3fa4a0);}static['isValidZone'](_0x4ef871){if(!_0x4ef871)return!0x1;try{return new Intl['DateTimeFormat']('en-US',{'timeZone':_0x4ef871})['format'](),!0x0;}catch(_0x3c9243){return!0x1;}}constructor(_0x445dfc){super(),this['zoneName']=_0x445dfc,this['valid']=_0xf46b7['isValidZone'](_0x445dfc);}get['type'](){return'iana';}get['name'](){return this['zoneName'];}get['isUniversal'](){return!0x1;}['offsetName'](_0x34b854,{format:_0x5218e4,locale:_0x5acd0d}){return _0x5c18db(_0x34b854,_0x5218e4,_0x5acd0d,this['name']);}['formatOffset'](_0x4056c1,_0x4f83a0){return formatOffset(this['offset'](_0x4056c1),_0x4f83a0);}['offset'](_0x243c90){if(!this['valid'])return NaN;const _0x4ec934=new Date(_0x243c90);if(isNaN(_0x4ec934))return NaN;const _0x39f138=_0x56ca43(this['name']);let [_0x74b30b,_0x175360,_0x241700,_0x133bc8,_0x2a2b60,_0x2cade0,_0x569ceb]=_0x39f138['formatToParts']?partsOffset(_0x39f138,_0x4ec934):hackyOffset(_0x39f138,_0x4ec934);'BC'===_0x133bc8&&(_0x74b30b=0x1-Math['abs'](_0x74b30b));let _0x2d217a=+_0x4ec934;const _0x242cf0=_0x2d217a%0x3e8;return _0x2d217a-=_0x242cf0>=0x0?_0x242cf0:0x3e8+_0x242cf0,(_0x5d868a({'year':_0x74b30b,'month':_0x175360,'day':_0x241700,'hour':0x18===_0x2a2b60?0x0:_0x2a2b60,'minute':_0x2cade0,'second':_0x569ceb,'millisecond':0x0})-_0x2d217a)/0xea60;}['equals'](_0x5068cd){return'iana'===_0x5068cd['type']&&_0x5068cd['name']===this['name'];}get['isValid'](){return this['valid'];}}let intlLFCache={};function getCachedLF(_0x46885e,_0x30c71d={}){const _0x58cc8f=JSON['stringify']([_0x46885e,_0x30c71d]);let _0x3bb697=intlLFCache[_0x58cc8f];return _0x3bb697||(_0x3bb697=new Intl['ListFormat'](_0x46885e,_0x30c71d),intlLFCache[_0x58cc8f]=_0x3bb697),_0x3bb697;}const intlDTCache=new Map();function getCachedDTF(_0x468316,_0xb1f613={}){const _0x4e6ae2=JSON['stringify']([_0x468316,_0xb1f613]);let _0x45346b=intlDTCache['get'](_0x4e6ae2);return void 0x0===_0x45346b&&(_0x45346b=new Intl['DateTimeFormat'](_0x468316,_0xb1f613),intlDTCache['set'](_0x4e6ae2,_0x45346b)),_0x45346b;}const intlNumCache=new Map();function getCachedINF(_0x469d82,_0x25463b={}){const _0x2e3585=JSON['stringify']([_0x469d82,_0x25463b]);let _0x552cd9=intlNumCache['get'](_0x2e3585);return void 0x0===_0x552cd9&&(_0x552cd9=new Intl['NumberFormat'](_0x469d82,_0x25463b),intlNumCache['set'](_0x2e3585,_0x552cd9)),_0x552cd9;}const intlRelCache=new Map();function getCachedRTF(_0x4793d3,_0x268352={}){const {base:_0x4f3c64,..._0x2b3199}=_0x268352,_0x28ef4e=JSON['stringify']([_0x4793d3,_0x2b3199]);let _0x163351=intlRelCache['get'](_0x28ef4e);return void 0x0===_0x163351&&(_0x163351=new Intl['RelativeTimeFormat'](_0x4793d3,_0x268352),intlRelCache['set'](_0x28ef4e,_0x163351)),_0x163351;}let _0x48a91f=null;function systemLocale(){return _0x48a91f||(_0x48a91f=new Intl['DateTimeFormat']()['resolvedOptions']()['locale'],_0x48a91f);}const intlResolvedOptionsCache=new Map();function getCachedIntResolvedOptions(_0x327e95){let _0x4dd1b2=intlResolvedOptionsCache['get'](_0x327e95);return void 0x0===_0x4dd1b2&&(_0x4dd1b2=new Intl['DateTimeFormat'](_0x327e95)['resolvedOptions'](),intlResolvedOptionsCache['set'](_0x327e95,_0x4dd1b2)),_0x4dd1b2;}const _0x20da98=new Map();function getCachedWeekInfo(_0x2deb3a){let _0x4f4e2d=_0x20da98['get'](_0x2deb3a);if(!_0x4f4e2d){const _0xdbe9=new Intl['Locale'](_0x2deb3a);_0x4f4e2d='getWeekInfo'in _0xdbe9?_0xdbe9['getWeekInfo']():_0xdbe9['weekInfo'],'minimalDays'in _0x4f4e2d||(_0x4f4e2d={...fallbackWeekSettings,..._0x4f4e2d}),_0x20da98['set'](_0x2deb3a,_0x4f4e2d);}return _0x4f4e2d;}function parseLocaleString(_0x34595e){const _0x2448c6=_0x34595e['indexOf']('-x-');-0x1!==_0x2448c6&&(_0x34595e=_0x34595e['substring'](0x0,_0x2448c6));const _0x57b601=_0x34595e['indexOf']('-u-');if(-0x1===_0x57b601)return[_0x34595e];{let _0x5ba355,_0x443ab6;try{_0x5ba355=getCachedDTF(_0x34595e)['resolvedOptions'](),_0x443ab6=_0x34595e;}catch(_0x4e534f){const _0x32e248=_0x34595e['substring'](0x0,_0x57b601);_0x5ba355=getCachedDTF(_0x32e248)['resolvedOptions'](),_0x443ab6=_0x32e248;}const {numberingSystem:_0x3b2365,calendar:_0x55f16b}=_0x5ba355;return[_0x443ab6,_0x3b2365,_0x55f16b];}}function intlConfigString(_0x292a79,_0x971708,_0x1fbced){return _0x1fbced||_0x971708?(_0x292a79['includes']('-u-')||(_0x292a79+='-u'),_0x1fbced&&(_0x292a79+='-ca-'+_0x1fbced),_0x971708&&(_0x292a79+='-nu-'+_0x971708),_0x292a79):_0x292a79;}function mapMonths(_0x300705){const _0xdfae54=[];for(let _0x596f4a=0x1;_0x596f4a<=0xc;_0x596f4a++){const _0x54c228=DateTime['utc'](0x7d9,_0x596f4a,0x1);_0xdfae54['push'](_0x300705(_0x54c228));}return _0xdfae54;}function _0x522772(_0x2d23c6){const _0x3d9769=[];for(let _0x4df824=0x1;_0x4df824<=0x7;_0x4df824++){const _0x818e3c=DateTime['utc'](0x7e0,0xb,0xd+_0x4df824);_0x3d9769['push'](_0x2d23c6(_0x818e3c));}return _0x3d9769;}function listStuff(_0x3ce8b7,_0x31f948,_0x489f0a,_0x3b7646){const _0x466b78=_0x3ce8b7['listingMode']();return'error'===_0x466b78?null:'en'===_0x466b78?_0x489f0a(_0x31f948):_0x3b7646(_0x31f948);}function supportsFastNumbers(_0x4ac9bd){return(!_0x4ac9bd['numberingSystem']||'latn'===_0x4ac9bd['numberingSystem'])&&('latn'===_0x4ac9bd['numberingSystem']||!_0x4ac9bd['locale']||_0x4ac9bd['locale']['startsWith']('en')||'latn'===getCachedIntResolvedOptions(_0x4ac9bd['locale'])['numberingSystem']);}class PolyNumberFormatter{constructor(_0xf40711,_0x3b455d,_0x9f353){this['padTo']=_0x9f353['padTo']||0x0,this['floor']=_0x9f353['floor']||!0x1;const {padTo:_0x38b3de,floor:_0x2b1edf,..._0x4d5a8a}=_0x9f353;if(!_0x3b455d||Object['keys'](_0x4d5a8a)['length']>0x0){const _0x5184a1={'useGrouping':!0x1,..._0x9f353};_0x9f353['padTo']>0x0&&(_0x5184a1['minimumIntegerDigits']=_0x9f353['padTo']),this['inf']=getCachedINF(_0xf40711,_0x5184a1);}}['format'](_0x2ac4e2){if(this['inf']){const _0x59468d=this['floor']?Math['floor'](_0x2ac4e2):_0x2ac4e2;return this['inf']['format'](_0x59468d);}return padStart(this['floor']?Math['floor'](_0x2ac4e2):_0x78588f(_0x2ac4e2,0x3),this['padTo']);}}class PolyDateFormatter{constructor(_0x1e0ace,_0x35de31,_0x11b34c){let _0x5a75dc;if(this['opts']=_0x11b34c,this['originalZone']=void 0x0,this['opts']['timeZone'])this['dt']=_0x1e0ace;else{if('fixed'===_0x1e0ace['zone']['type']){const _0x1769e8=_0x1e0ace['offset']/0x3c*-0x1,_0x3f9efd=_0x1769e8>=0x0?'Etc/GMT+'+_0x1769e8:'Etc/GMT'+_0x1769e8;0x0!==_0x1e0ace['offset']&&_0xf46b7['create'](_0x3f9efd)['valid']?(_0x5a75dc=_0x3f9efd,this['dt']=_0x1e0ace):(_0x5a75dc='UTC',this['dt']=0x0===_0x1e0ace['offset']?_0x1e0ace:_0x1e0ace['setZone']('UTC')['plus']({'minutes':_0x1e0ace['offset']}),this['originalZone']=_0x1e0ace['zone']);}else'system'===_0x1e0ace['zone']['type']?this['dt']=_0x1e0ace:'iana'===_0x1e0ace['zone']['type']?(this['dt']=_0x1e0ace,_0x5a75dc=_0x1e0ace['zone']['name']):(_0x5a75dc='UTC',this['dt']=_0x1e0ace['setZone']('UTC')['plus']({'minutes':_0x1e0ace['offset']}),this['originalZone']=_0x1e0ace['zone']);}const _0xd727bb={...this['opts']};_0xd727bb['timeZone']=_0xd727bb['timeZone']||_0x5a75dc,this['dtf']=getCachedDTF(_0x35de31,_0xd727bb);}['format'](){return this['originalZone']?this['formatToParts']()['map'](({value:_0xfa4927})=>_0xfa4927)['join'](''):this['dtf']['format'](this['dt']['toJSDate']());}['formatToParts'](){const _0x1c06dc=this['dtf']['formatToParts'](this['dt']['toJSDate']());return this['originalZone']?_0x1c06dc['map'](_0x2b8f55=>{if('timeZoneName'===_0x2b8f55['type']){const _0x12b05e=this['originalZone']['offsetName'](this['dt']['ts'],{'locale':this['dt']['locale'],'format':this['opts']['timeZoneName']});return{..._0x2b8f55,'value':_0x12b05e};}return _0x2b8f55;}):_0x1c06dc;}['resolvedOptions'](){return this['dtf']['resolvedOptions']();}}class PolyRelFormatter{constructor(_0x3e7dec,_0x4836b0,_0x40f600){this['opts']={'style':'long',..._0x40f600},!_0x4836b0&&hasRelative()&&(this['rtf']=getCachedRTF(_0x3e7dec,_0x40f600));}['format'](_0x5a4f42,_0x8551dc){return this['rtf']?this['rtf']['format'](_0x5a4f42,_0x8551dc):formatRelativeTime(_0x8551dc,_0x5a4f42,this['opts']['numeric'],'long'!==this['opts']['style']);}['formatToParts'](_0xe3e8a6,_0x2f3ca9){return this['rtf']?this['rtf']['formatToParts'](_0xe3e8a6,_0x2f3ca9):[];}}const fallbackWeekSettings={'firstDay':0x1,'minimalDays':0x4,'weekend':[0x6,0x7]};class _0x32ccac{static['fromOpts'](_0x1f4279){return _0x32ccac['create'](_0x1f4279['locale'],_0x1f4279['numberingSystem'],_0x1f4279['outputCalendar'],_0x1f4279['weekSettings'],_0x1f4279['defaultToEN']);}static['create'](_0x16f192,_0x4e48c2,_0x272448,_0x27be71,_0x5a7714=!0x1){const _0x4cbf00=_0x16f192||Settings['defaultLocale'],_0x24f750=_0x4cbf00||(_0x5a7714?'en-US':systemLocale()),_0x3442e2=_0x4e48c2||Settings['defaultNumberingSystem'],_0x42a691=_0x272448||Settings['defaultOutputCalendar'],_0x3354ac=validateWeekSettings(_0x27be71)||Settings['defaultWeekSettings'];return new _0x32ccac(_0x24f750,_0x3442e2,_0x42a691,_0x3354ac,_0x4cbf00);}static['resetCache'](){_0x48a91f=null,intlDTCache['clear'](),intlNumCache['clear'](),intlRelCache['clear'](),intlResolvedOptionsCache['clear'](),_0x20da98['clear']();}static['fromObject']({locale:_0x3410d0,numberingSystem:_0x28a5b7,outputCalendar:_0x162021,weekSettings:_0x4786be}={}){return _0x32ccac['create'](_0x3410d0,_0x28a5b7,_0x162021,_0x4786be);}constructor(_0x153d2b,_0x43d4e2,_0x445f2c,_0x328743,_0x48772b){const [_0x4b7731,_0x4164c8,_0x377112]=parseLocaleString(_0x153d2b);this['locale']=_0x4b7731,this['numberingSystem']=_0x43d4e2||_0x4164c8||null,this['outputCalendar']=_0x445f2c||_0x377112||null,this['weekSettings']=_0x328743,this['intl']=intlConfigString(this['locale'],this['numberingSystem'],this['outputCalendar']),this['weekdaysCache']={'format':{},'standalone':{}},this['monthsCache']={'format':{},'standalone':{}},this['meridiemCache']=null,this['eraCache']={},this['specifiedLocale']=_0x48772b,this['fastNumbersCached']=null;}get['fastNumbers'](){return null==this['fastNumbersCached']&&(this['fastNumbersCached']=supportsFastNumbers(this)),this['fastNumbersCached'];}['listingMode'](){const _0x5951b3=this['isEnglish'](),_0x326829=!(null!==this['numberingSystem']&&'latn'!==this['numberingSystem']||null!==this['outputCalendar']&&'gregory'!==this['outputCalendar']);return _0x5951b3&&_0x326829?'en':'intl';}['clone'](_0x13fd93){return _0x13fd93&&0x0!==Object['getOwnPropertyNames'](_0x13fd93)['length']?_0x32ccac['create'](_0x13fd93['locale']||this['specifiedLocale'],_0x13fd93['numberingSystem']||this['numberingSystem'],_0x13fd93['outputCalendar']||this['outputCalendar'],validateWeekSettings(_0x13fd93['weekSettings'])||this['weekSettings'],_0x13fd93['defaultToEN']||!0x1):this;}['redefaultToEN'](_0x456488={}){return this['clone']({..._0x456488,'defaultToEN':!0x0});}['redefaultToSystem'](_0x543027={}){return this['clone']({..._0x543027,'defaultToEN':!0x1});}['months'](_0xe58360,_0x355e92=!0x1){return listStuff(this,_0xe58360,months,()=>{const _0x4d83f0=_0x355e92?{'month':_0xe58360,'day':'numeric'}:{'month':_0xe58360},_0x5d4e59=_0x355e92?'format':'standalone';return this['monthsCache'][_0x5d4e59][_0xe58360]||(this['monthsCache'][_0x5d4e59][_0xe58360]=mapMonths(_0x418331=>this['extract'](_0x418331,_0x4d83f0,'month'))),this['monthsCache'][_0x5d4e59][_0xe58360];});}['weekdays'](_0x2c3434,_0x5db47a=!0x1){return listStuff(this,_0x2c3434,_0x2b1911,()=>{const _0x4334b8=_0x5db47a?{'weekday':_0x2c3434,'year':'numeric','month':'long','day':'numeric'}:{'weekday':_0x2c3434},_0x5befcc=_0x5db47a?'format':'standalone';return this['weekdaysCache'][_0x5befcc][_0x2c3434]||(this['weekdaysCache'][_0x5befcc][_0x2c3434]=_0x522772(_0x5b3c8c=>this['extract'](_0x5b3c8c,_0x4334b8,'weekday'))),this['weekdaysCache'][_0x5befcc][_0x2c3434];});}['meridiems'](){return listStuff(this,void 0x0,()=>_0x5c90c5,()=>{if(!this['meridiemCache']){const _0x26688c={'hour':'numeric','hourCycle':'h12'};this['meridiemCache']=[DateTime['utc'](0x7e0,0xb,0xd,0x9),DateTime['utc'](0x7e0,0xb,0xd,0x13)]['map'](_0x5b98c7=>this['extract'](_0x5b98c7,_0x26688c,'dayperiod'));}return this['meridiemCache'];});}['eras'](_0x516f80){return listStuff(this,_0x516f80,_0x15bcd4,()=>{const _0x18201c={'era':_0x516f80};return this['eraCache'][_0x516f80]||(this['eraCache'][_0x516f80]=[DateTime['utc'](-0x28,0x1,0x1),DateTime['utc'](0x7e1,0x1,0x1)]['map'](_0x541b8e=>this['extract'](_0x541b8e,_0x18201c,'era'))),this['eraCache'][_0x516f80];});}['extract'](_0x61d267,_0x159e2d,_0x436a87){const _0x320fe1=this['dtFormatter'](_0x61d267,_0x159e2d)['formatToParts']()['find'](_0x341510=>_0x341510['type']['toLowerCase']()===_0x436a87);return _0x320fe1?_0x320fe1['value']:null;}['numberFormatter'](_0x4f7501={}){return new PolyNumberFormatter(this['intl'],_0x4f7501['forceSimple']||this['fastNumbers'],_0x4f7501);}['dtFormatter'](_0x51ebf6,_0x2bf634={}){return new PolyDateFormatter(_0x51ebf6,this['intl'],_0x2bf634);}['relFormatter'](_0x45e0e0={}){return new PolyRelFormatter(this['intl'],this['isEnglish'](),_0x45e0e0);}['listFormatter'](_0x5555aa={}){return getCachedLF(this['intl'],_0x5555aa);}['isEnglish'](){return'en'===this['locale']||'en-us'===this['locale']['toLowerCase']()||getCachedIntResolvedOptions(this['intl'])['locale']['startsWith']('en-us');}['getWeekSettings'](){return this['weekSettings']?this['weekSettings']:_0x376a33()?getCachedWeekInfo(this['locale']):fallbackWeekSettings;}['getStartOfWeek'](){return this['getWeekSettings']()['firstDay'];}['getMinDaysInFirstWeek'](){return this['getWeekSettings']()['minimalDays'];}['getWeekendDays'](){return this['getWeekSettings']()['weekend'];}['equals'](_0x28a395){return this['locale']===_0x28a395['locale']&&this['numberingSystem']===_0x28a395['numberingSystem']&&this['outputCalendar']===_0x28a395['outputCalendar'];}['toString'](){return'Locale('+this['locale']+',\x20'+this['numberingSystem']+',\x20'+this['outputCalendar']+')';}}let singleton=null;class FixedOffsetZone extends _0x205296{static get['utcInstance'](){return null===singleton&&(singleton=new FixedOffsetZone(0x0)),singleton;}static['instance'](_0x30334b){return 0x0===_0x30334b?FixedOffsetZone['utcInstance']:new FixedOffsetZone(_0x30334b);}static['parseSpecifier'](_0x36357a){if(_0x36357a){const _0x3e0118=_0x36357a['match'](/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(_0x3e0118)return new FixedOffsetZone(signedOffset(_0x3e0118[0x1],_0x3e0118[0x2]));}return null;}constructor(_0x3b2772){super(),this['fixed']=_0x3b2772;}get['type'](){return'fixed';}get['name'](){return 0x0===this['fixed']?'UTC':'UTC'+formatOffset(this['fixed'],'narrow');}get['ianaName'](){return 0x0===this['fixed']?'Etc/UTC':'Etc/GMT'+formatOffset(-this['fixed'],'narrow');}['offsetName'](){return this['name'];}['formatOffset'](_0x7af9d3,_0x552fd6){return formatOffset(this['fixed'],_0x552fd6);}get['isUniversal'](){return!0x0;}['offset'](){return this['fixed'];}['equals'](_0x1109e5){return'fixed'===_0x1109e5['type']&&_0x1109e5['fixed']===this['fixed'];}get['isValid'](){return!0x0;}}class _0x309637 extends _0x205296{constructor(_0x2e979d){super(),this['zoneName']=_0x2e979d;}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 _0x163936(_0x170a29,_0x536423){if(_0x1f9e37(_0x170a29)||null===_0x170a29)return _0x536423;if(_0x170a29 instanceof _0x205296)return _0x170a29;if(isString(_0x170a29)){const _0x6a3ec1=_0x170a29['toLowerCase']();return'default'===_0x6a3ec1?_0x536423:'local'===_0x6a3ec1||'system'===_0x6a3ec1?SystemZone['instance']:'utc'===_0x6a3ec1||'gmt'===_0x6a3ec1?FixedOffsetZone['utcInstance']:FixedOffsetZone['parseSpecifier'](_0x6a3ec1)||_0xf46b7['create'](_0x170a29);}return _0x14a4c7(_0x170a29)?FixedOffsetZone['instance'](_0x170a29):'object'==typeof _0x170a29&&'offset'in _0x170a29&&'function'==typeof _0x170a29['offset']?_0x170a29:new _0x309637(_0x170a29);}const numberingSystems={'arab':'[٠-٩]','arabext':'[۰-۹]','bali':'[᭐-᭙]','beng':'[০-৯]','deva':'[०-९]','fullwide':'[０-９]','gujr':'[૦-૯]','hanidec':'[〇|一|二|三|四|五|六|七|八|九]','khmr':'[០-៩]','knda':'[೦-೯]','laoo':'[໐-໙]','limb':'[᥆-᥏]','mlym':'[൦-൯]','mong':'[᠐-᠙]','mymr':'[၀-၉]','orya':'[୦-୯]','tamldec':'[௦-௯]','telu':'[౦-౯]','thai':'[๐-๙]','tibt':'[༠-༩]','latn':'\x5cd'},numberingSystemsUTF16={'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]},_0x347403=numberingSystems['hanidec']['replace'](/[\[|\]]/g,'')['split']('');function parseDigits(_0x4f4237){let _0x480b3c=parseInt(_0x4f4237,0xa);if(isNaN(_0x480b3c)){_0x480b3c='';for(let _0x192e0f=0x0;_0x192e0f<_0x4f4237['length'];_0x192e0f++){const _0x576b44=_0x4f4237['charCodeAt'](_0x192e0f);if(-0x1!==_0x4f4237[_0x192e0f]['search'](numberingSystems['hanidec']))_0x480b3c+=_0x347403['indexOf'](_0x4f4237[_0x192e0f]);else for(const _0x575e69 in numberingSystemsUTF16){const [_0x117436,_0x1d3786]=numberingSystemsUTF16[_0x575e69];_0x576b44>=_0x117436&&_0x576b44<=_0x1d3786&&(_0x480b3c+=_0x576b44-_0x117436);}}return parseInt(_0x480b3c,0xa);}return _0x480b3c;}const digitRegexCache=new Map();function resetDigitRegexCache(){digitRegexCache['clear']();}function digitRegex({numberingSystem:_0x2f9bed},_0x445dfa=''){const _0x50d867=_0x2f9bed||'latn';let _0x5d8b46=digitRegexCache['get'](_0x50d867);void 0x0===_0x5d8b46&&(_0x5d8b46=new Map(),digitRegexCache['set'](_0x50d867,_0x5d8b46));let _0x3d9a2d=_0x5d8b46['get'](_0x445dfa);return void 0x0===_0x3d9a2d&&(_0x3d9a2d=new RegExp(''+numberingSystems[_0x50d867]+_0x445dfa),_0x5d8b46['set'](_0x445dfa,_0x3d9a2d)),_0x3d9a2d;}let _0x115d07=()=>Date['now'](),defaultZone='system',defaultLocale=null,defaultNumberingSystem=null,defaultOutputCalendar=null,twoDigitCutoffYear=0x3c,throwOnInvalid,defaultWeekSettings=null;class Settings{static get['now'](){return _0x115d07;}static set['now'](_0x328c17){_0x115d07=_0x328c17;}static set['defaultZone'](_0x3802c6){defaultZone=_0x3802c6;}static get['defaultZone'](){return _0x163936(defaultZone,SystemZone['instance']);}static get['defaultLocale'](){return defaultLocale;}static set['defaultLocale'](_0x402247){defaultLocale=_0x402247;}static get['defaultNumberingSystem'](){return defaultNumberingSystem;}static set['defaultNumberingSystem'](_0x40adad){defaultNumberingSystem=_0x40adad;}static get['defaultOutputCalendar'](){return defaultOutputCalendar;}static set['defaultOutputCalendar'](_0x217461){defaultOutputCalendar=_0x217461;}static get['defaultWeekSettings'](){return defaultWeekSettings;}static set['defaultWeekSettings'](_0x529f31){defaultWeekSettings=validateWeekSettings(_0x529f31);}static get['twoDigitCutoffYear'](){return twoDigitCutoffYear;}static set['twoDigitCutoffYear'](_0x1bedfb){twoDigitCutoffYear=_0x1bedfb%0x64;}static get['throwOnInvalid'](){return throwOnInvalid;}static set['throwOnInvalid'](t){throwOnInvalid=t;}static['resetCaches'](){_0x32ccac['resetCache'](),_0xf46b7['resetCache'](),DateTime['resetCache'](),resetDigitRegexCache();}}class _0x350484{constructor(_0x25f295,_0x458fb3){this['reason']=_0x25f295,this['explanation']=_0x458fb3;}['toMessage'](){return this['explanation']?this['reason']+':\x20'+this['explanation']:this['reason'];}}const _0x1a063b=[0x0,0x1f,0x3b,0x5a,0x78,0x97,0xb5,0xd4,0xf3,0x111,0x130,0x14e],_0x53de08=[0x0,0x1f,0x3c,0x5b,0x79,0x98,0xb6,0xd5,0xf4,0x112,0x131,0x14f];function unitOutOfRange(_0x3fec97,_0x4875af){return new _0x350484('unit\x20out\x20of\x20range','you\x20specified\x20'+_0x4875af+'\x20(of\x20type\x20'+typeof _0x4875af+')\x20as\x20a\x20'+_0x3fec97+',\x20which\x20is\x20invalid');}function _0x827867(_0x44a451,_0x3a06e9,_0x238fc8){const _0x404a78=new Date(Date['UTC'](_0x44a451,_0x3a06e9-0x1,_0x238fc8));_0x44a451<0x64&&_0x44a451>=0x0&&_0x404a78['setUTCFullYear'](_0x404a78['getUTCFullYear']()-0x76c);const _0x19c8d5=_0x404a78['getUTCDay']();return 0x0===_0x19c8d5?0x7:_0x19c8d5;}function computeOrdinal(_0x1cabb5,_0x286dd6,_0x5adfba){return _0x5adfba+(_0x3820b3(_0x1cabb5)?_0x53de08:_0x1a063b)[_0x286dd6-0x1];}function uncomputeOrdinal(_0xbe4344,_0x416494){const _0x413e82=_0x3820b3(_0xbe4344)?_0x53de08:_0x1a063b,_0x312a7d=_0x413e82['findIndex'](_0x566919=>_0x566919<_0x416494);return{'month':_0x312a7d+0x1,'day':_0x416494-_0x413e82[_0x312a7d]};}function _0x3ec780(_0x5bbbad,_0x15b3df){return(_0x5bbbad-_0x15b3df+0x7)%0x7+0x1;}function _0x4690a0(_0x161250,_0x58ff51=0x4,_0x1d1456=0x1){const {year:_0xcabcf,month:_0x5571a6,day:_0x3f9dc8}=_0x161250,_0x3703d8=computeOrdinal(_0xcabcf,_0x5571a6,_0x3f9dc8),_0x6cbde4=_0x3ec780(_0x827867(_0xcabcf,_0x5571a6,_0x3f9dc8),_0x1d1456);let _0x23b78e,_0x43d825=Math['floor']((_0x3703d8-_0x6cbde4+0xe-_0x58ff51)/0x7);return _0x43d825<0x1?(_0x23b78e=_0xcabcf-0x1,_0x43d825=_0x5c349a(_0x23b78e,_0x58ff51,_0x1d1456)):_0x43d825>_0x5c349a(_0xcabcf,_0x58ff51,_0x1d1456)?(_0x23b78e=_0xcabcf+0x1,_0x43d825=0x1):_0x23b78e=_0xcabcf,{'weekYear':_0x23b78e,'weekNumber':_0x43d825,'weekday':_0x6cbde4,...timeObject(_0x161250)};}function _0x2c6499(_0x2d32a7,_0x170b5d=0x4,_0x22ba26=0x1){const {weekYear:_0x3a27e7,weekNumber:_0x3cc20c,weekday:_0x525c92}=_0x2d32a7,_0x54f65f=_0x3ec780(_0x827867(_0x3a27e7,0x1,_0x170b5d),_0x22ba26),_0x5137f2=_0x4c122c(_0x3a27e7);let _0xc435e1,_0x3bfb4c=0x7*_0x3cc20c+_0x525c92-_0x54f65f-0x7+_0x170b5d;_0x3bfb4c<0x1?(_0xc435e1=_0x3a27e7-0x1,_0x3bfb4c+=_0x4c122c(_0xc435e1)):_0x3bfb4c>_0x5137f2?(_0xc435e1=_0x3a27e7+0x1,_0x3bfb4c-=_0x4c122c(_0x3a27e7)):_0xc435e1=_0x3a27e7;const {month:_0xa7a246,day:_0x2235b9}=uncomputeOrdinal(_0xc435e1,_0x3bfb4c);return{'year':_0xc435e1,'month':_0xa7a246,'day':_0x2235b9,...timeObject(_0x2d32a7)};}function _0x30bbc0(_0x3b2d29){const {year:_0x4d575e,month:_0x8e7ae2,day:_0x29f18c}=_0x3b2d29;return{'year':_0x4d575e,'ordinal':computeOrdinal(_0x4d575e,_0x8e7ae2,_0x29f18c),...timeObject(_0x3b2d29)};}function _0x4c96f9(_0x2b3a48){const {year:_0x2b5dd2,ordinal:_0xfaf92b}=_0x2b3a48,{month:_0x36ae93,day:_0x4b9864}=uncomputeOrdinal(_0x2b5dd2,_0xfaf92b);return{'year':_0x2b5dd2,'month':_0x36ae93,'day':_0x4b9864,...timeObject(_0x2b3a48)};}function _0x1d378e(_0xdb617a,_0x5c7463){if(!_0x1f9e37(_0xdb617a['localWeekday'])||!_0x1f9e37(_0xdb617a['localWeekNumber'])||!_0x1f9e37(_0xdb617a['localWeekYear'])){if(!_0x1f9e37(_0xdb617a['weekday'])||!_0x1f9e37(_0xdb617a['weekNumber'])||!_0x1f9e37(_0xdb617a['weekYear']))throw new ConflictingSpecificationError('Cannot\x20mix\x20locale-based\x20week\x20fields\x20with\x20ISO-based\x20week\x20fields');return _0x1f9e37(_0xdb617a['localWeekday'])||(_0xdb617a['weekday']=_0xdb617a['localWeekday']),_0x1f9e37(_0xdb617a['localWeekNumber'])||(_0xdb617a['weekNumber']=_0xdb617a['localWeekNumber']),_0x1f9e37(_0xdb617a['localWeekYear'])||(_0xdb617a['weekYear']=_0xdb617a['localWeekYear']),delete _0xdb617a['localWeekday'],delete _0xdb617a['localWeekNumber'],delete _0xdb617a['localWeekYear'],{'minDaysInFirstWeek':_0x5c7463['getMinDaysInFirstWeek'](),'startOfWeek':_0x5c7463['getStartOfWeek']()};}return{'minDaysInFirstWeek':0x4,'startOfWeek':0x1};}function hasInvalidWeekData(_0x2e386d,_0x282cb7=0x4,_0x189ea4=0x1){const _0x5821b6=isInteger$1(_0x2e386d['weekYear']),_0x437584=integerBetween(_0x2e386d['weekNumber'],0x1,_0x5c349a(_0x2e386d['weekYear'],_0x282cb7,_0x189ea4)),_0x24b02d=integerBetween(_0x2e386d['weekday'],0x1,0x7);return _0x5821b6?_0x437584?!_0x24b02d&&unitOutOfRange('weekday',_0x2e386d['weekday']):unitOutOfRange('week',_0x2e386d['weekNumber']):unitOutOfRange('weekYear',_0x2e386d['weekYear']);}function hasInvalidOrdinalData(_0x420a21){const _0x1016d0=isInteger$1(_0x420a21['year']),_0x77a9cc=integerBetween(_0x420a21['ordinal'],0x1,_0x4c122c(_0x420a21['year']));return _0x1016d0?!_0x77a9cc&&unitOutOfRange('ordinal',_0x420a21['ordinal']):unitOutOfRange('year',_0x420a21['year']);}function hasInvalidGregorianData(_0x51cce1){const _0x503120=isInteger$1(_0x51cce1['year']),_0x5098ac=integerBetween(_0x51cce1['month'],0x1,0xc),_0x1cfae8=integerBetween(_0x51cce1['day'],0x1,daysInMonth(_0x51cce1['year'],_0x51cce1['month']));return _0x503120?_0x5098ac?!_0x1cfae8&&unitOutOfRange('day',_0x51cce1['day']):unitOutOfRange('month',_0x51cce1['month']):unitOutOfRange('year',_0x51cce1['year']);}function hasInvalidTimeData(_0x384cea){const {hour:_0x5bd3d1,minute:_0xb97fe9,second:_0x56f838,millisecond:_0x4d3f0b}=_0x384cea,_0x2c2cf1=integerBetween(_0x5bd3d1,0x0,0x17)||0x18===_0x5bd3d1&&0x0===_0xb97fe9&&0x0===_0x56f838&&0x0===_0x4d3f0b,_0x1fd0f1=integerBetween(_0xb97fe9,0x0,0x3b),_0xc2a1f=integerBetween(_0x56f838,0x0,0x3b),_0x11efad=integerBetween(_0x4d3f0b,0x0,0x3e7);return _0x2c2cf1?_0x1fd0f1?_0xc2a1f?!_0x11efad&&unitOutOfRange('millisecond',_0x4d3f0b):unitOutOfRange('second',_0x56f838):unitOutOfRange('minute',_0xb97fe9):unitOutOfRange('hour',_0x5bd3d1);}function _0x1f9e37(_0x2711d8){return void 0x0===_0x2711d8;}function _0x14a4c7(_0x6fd9ee){return'number'==typeof _0x6fd9ee;}function isInteger$1(_0x411f52){return'number'==typeof _0x411f52&&_0x411f52%0x1==0x0;}function isString(_0x2fc30b){return'string'==typeof _0x2fc30b;}function isDate(_0x40ed47){return'[object\x20Date]'===Object['prototype']['toString']['call'](_0x40ed47);}function hasRelative(){try{return'undefined'!=typeof Intl&&!!Intl['RelativeTimeFormat'];}catch(_0x599248){return!0x1;}}function _0x376a33(){try{return'undefined'!=typeof Intl&&!!Intl['Locale']&&('weekInfo'in Intl['Locale']['prototype']||'getWeekInfo'in Intl['Locale']['prototype']);}catch(_0x1bf0ef){return!0x1;}}function _0x36e8b8(_0x28d700){return Array['isArray'](_0x28d700)?_0x28d700:[_0x28d700];}function bestBy(_0x13f431,_0x2531dd,_0x4ff845){if(0x0!==_0x13f431['length'])return _0x13f431['reduce']((_0x115dca,_0x565ec8)=>{const _0x511fbb=[_0x2531dd(_0x565ec8),_0x565ec8];return _0x115dca&&_0x4ff845(_0x115dca[0x0],_0x511fbb[0x0])===_0x115dca[0x0]?_0x115dca:_0x511fbb;},null)[0x1];}function _0x3b8fc8(_0x46ebda,_0x24f845){return _0x24f845['reduce']((_0xcd10e7,_0x53728f)=>(_0xcd10e7[_0x53728f]=_0x46ebda[_0x53728f],_0xcd10e7),{});}function hasOwnProperty(_0x4a06a5,_0x5e275e){return Object['prototype']['hasOwnProperty']['call'](_0x4a06a5,_0x5e275e);}function validateWeekSettings(_0x127432){if(null==_0x127432)return null;if('object'!=typeof _0x127432)throw new InvalidArgumentError('Week\x20settings\x20must\x20be\x20an\x20object');if(!integerBetween(_0x127432['firstDay'],0x1,0x7)||!integerBetween(_0x127432['minimalDays'],0x1,0x7)||!Array['isArray'](_0x127432['weekend'])||_0x127432['weekend']['some'](_0x15fd2a=>!integerBetween(_0x15fd2a,0x1,0x7)))throw new InvalidArgumentError('Invalid\x20week\x20settings');return{'firstDay':_0x127432['firstDay'],'minimalDays':_0x127432['minimalDays'],'weekend':Array['from'](_0x127432['weekend'])};}function integerBetween(_0xd948ff,_0x303bf5,_0x53950e){return isInteger$1(_0xd948ff)&&_0xd948ff>=_0x303bf5&&_0xd948ff<=_0x53950e;}function _0x3d8a32(_0xa155e8,_0x422f92){return _0xa155e8-_0x422f92*Math['floor'](_0xa155e8/_0x422f92);}function padStart(_0x7d8126,_0x2ad7d3=0x2){let _0x2fa3d7;return _0x2fa3d7=_0x7d8126<0x0?'-'+(''+-_0x7d8126)['padStart'](_0x2ad7d3,'0'):(''+_0x7d8126)['padStart'](_0x2ad7d3,'0'),_0x2fa3d7;}function parseInteger(_0x3d2aba){return _0x1f9e37(_0x3d2aba)||null===_0x3d2aba||''===_0x3d2aba?void 0x0:parseInt(_0x3d2aba,0xa);}function parseFloating(_0x27456b){return _0x1f9e37(_0x27456b)||null===_0x27456b||''===_0x27456b?void 0x0:parseFloat(_0x27456b);}function _0x5ee93c(_0x43d1f5){if(!_0x1f9e37(_0x43d1f5)&&null!==_0x43d1f5&&''!==_0x43d1f5){const _0x1465a1=0x3e8*parseFloat('0.'+_0x43d1f5);return Math['floor'](_0x1465a1);}}function _0x78588f(_0x544fb4,_0x517c8a,_0x2d0246=!0x1){const _0x1e85e7=0xa**_0x517c8a;return(_0x2d0246?Math['trunc']:Math['round'])(_0x544fb4*_0x1e85e7)/_0x1e85e7;}function _0x3820b3(_0x23ab51){return _0x23ab51%0x4==0x0&&(_0x23ab51%0x64!=0x0||_0x23ab51%0x190==0x0);}function _0x4c122c(_0x587722){return _0x3820b3(_0x587722)?0x16e:0x16d;}function daysInMonth(_0x1a2685,_0x9529a5){const _0x43621c=_0x3d8a32(_0x9529a5-0x1,0xc)+0x1;return 0x2===_0x43621c?_0x3820b3(_0x1a2685+(_0x9529a5-_0x43621c)/0xc)?0x1d:0x1c:[0x1f,null,0x1f,0x1e,0x1f,0x1e,0x1f,0x1f,0x1e,0x1f,0x1e,0x1f][_0x43621c-0x1];}function _0x5d868a(_0x16d3c0){let _0xc43445=Date['UTC'](_0x16d3c0['year'],_0x16d3c0['month']-0x1,_0x16d3c0['day'],_0x16d3c0['hour'],_0x16d3c0['minute'],_0x16d3c0['second'],_0x16d3c0['millisecond']);return _0x16d3c0['year']<0x64&&_0x16d3c0['year']>=0x0&&(_0xc43445=new Date(_0xc43445),_0xc43445['setUTCFullYear'](_0x16d3c0['year'],_0x16d3c0['month']-0x1,_0x16d3c0['day'])),+_0xc43445;}function firstWeekOffset(_0x1bd685,_0x4ac1cf,_0x3dd9f9){return-_0x3ec780(_0x827867(_0x1bd685,0x1,_0x4ac1cf),_0x3dd9f9)+_0x4ac1cf-0x1;}function _0x5c349a(_0x1af1aa,_0x4672e8=0x4,_0x3b141d=0x1){const _0x1367a5=firstWeekOffset(_0x1af1aa,_0x4672e8,_0x3b141d),_0x1818a7=firstWeekOffset(_0x1af1aa+0x1,_0x4672e8,_0x3b141d);return(_0x4c122c(_0x1af1aa)-_0x1367a5+_0x1818a7)/0x7;}function untruncateYear(_0x3212ec){return _0x3212ec>0x63?_0x3212ec:_0x3212ec>Settings['twoDigitCutoffYear']?0x76c+_0x3212ec:0x7d0+_0x3212ec;}function _0x5c18db(_0x4a57cc,_0x92e7c3,_0x3c778e,_0xa023fa=null){const _0x5afb21=new Date(_0x4a57cc),_0x5ed515={'hourCycle':'h23','year':'numeric','month':'2-digit','day':'2-digit','hour':'2-digit','minute':'2-digit'};_0xa023fa&&(_0x5ed515['timeZone']=_0xa023fa);const _0x257a9e={'timeZoneName':_0x92e7c3,..._0x5ed515},_0x52f50f=new Intl['DateTimeFormat'](_0x3c778e,_0x257a9e)['formatToParts'](_0x5afb21)['find'](_0x50de8c=>'timezonename'===_0x50de8c['type']['toLowerCase']());return _0x52f50f?_0x52f50f['value']:null;}function signedOffset(_0x5a8ba2,_0xfbe6c5){let _0x39ccaf=parseInt(_0x5a8ba2,0xa);Number['isNaN'](_0x39ccaf)&&(_0x39ccaf=0x0);const _0x2ba9f0=parseInt(_0xfbe6c5,0xa)||0x0;return 0x3c*_0x39ccaf+(_0x39ccaf<0x0||Object['is'](_0x39ccaf,-0x0)?-_0x2ba9f0:_0x2ba9f0);}function _0x5dbdf7(_0x50ebc4){const _0x5284ef=Number(_0x50ebc4);if('boolean'==typeof _0x50ebc4||''===_0x50ebc4||Number['isNaN'](_0x5284ef))throw new InvalidArgumentError('Invalid\x20unit\x20value\x20'+_0x50ebc4);return _0x5284ef;}function normalizeObject(_0x48481f,_0x198391){const _0x4ed44f={};for(const _0x595f43 in _0x48481f)if(hasOwnProperty(_0x48481f,_0x595f43)){const _0x3fcf01=_0x48481f[_0x595f43];if(null==_0x3fcf01)continue;_0x4ed44f[_0x198391(_0x595f43)]=_0x5dbdf7(_0x3fcf01);}return _0x4ed44f;}function formatOffset(_0x229274,_0x30b0af){const _0x503227=Math['trunc'](Math['abs'](_0x229274/0x3c)),_0x185373=Math['trunc'](Math['abs'](_0x229274%0x3c)),_0x3a3281=_0x229274>=0x0?'+':'-';switch(_0x30b0af){case'short':return''+_0x3a3281+padStart(_0x503227,0x2)+':'+padStart(_0x185373,0x2);case'narrow':return''+_0x3a3281+_0x503227+(_0x185373>0x0?':'+_0x185373:'');case'techie':return''+_0x3a3281+padStart(_0x503227,0x2)+padStart(_0x185373,0x2);default:throw new RangeError('Value\x20format\x20'+_0x30b0af+'\x20is\x20out\x20of\x20range\x20for\x20property\x20format');}}function timeObject(_0x2b4c0e){return _0x3b8fc8(_0x2b4c0e,['hour','minute','second','millisecond']);}const monthsLong=['January','February','March','April','May','June','July','August','September','October','November','December'],monthsShort=['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'],monthsNarrow=['J','F','M','A','M','J','J','A','S','O','N','D'];function months(_0x2c1008){switch(_0x2c1008){case'narrow':return[...monthsNarrow];case'short':return[...monthsShort];case'long':return[...monthsLong];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 _0xc8f3da=['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday'],weekdaysShort=['Mon','Tue','Wed','Thu','Fri','Sat','Sun'],_0x1656c9=['M','T','W','T','F','S','S'];function _0x2b1911(_0x450c9d){switch(_0x450c9d){case'narrow':return[..._0x1656c9];case'short':return[...weekdaysShort];case'long':return[..._0xc8f3da];case'numeric':return['1','2','3','4','5','6','7'];default:return null;}}const _0x5c90c5=['AM','PM'],_0x3698d1=['Before\x20Christ','Anno\x20Domini'],erasShort=['BC','AD'],_0x1faf7e=['B','A'];function _0x15bcd4(_0x2bf008){switch(_0x2bf008){case'narrow':return[..._0x1faf7e];case'short':return[...erasShort];case'long':return[..._0x3698d1];default:return null;}}function meridiemForDateTime(_0x1f8a9f){return _0x5c90c5[_0x1f8a9f['hour']<0xc?0x0:0x1];}function weekdayForDateTime(_0x365303,_0xe9c200){return _0x2b1911(_0xe9c200)[_0x365303['weekday']-0x1];}function monthForDateTime(_0x292805,_0x362bc0){return months(_0x362bc0)[_0x292805['month']-0x1];}function eraForDateTime(_0x37adb0,_0xf1b000){return _0x15bcd4(_0xf1b000)[_0x37adb0['year']<0x0?0x0:0x1];}function formatRelativeTime(_0x37cb17,_0x3f3609,_0x3221eb='always',_0x498446=!0x1){const _0x958768={'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.']},_0x485f1e=-0x1===['hours','minutes','seconds']['indexOf'](_0x37cb17);if('auto'===_0x3221eb&&_0x485f1e){const _0x1a44dc='days'===_0x37cb17;switch(_0x3f3609){case 0x1:return _0x1a44dc?'tomorrow':'next\x20'+_0x958768[_0x37cb17][0x0];case-0x1:return _0x1a44dc?'yesterday':'last\x20'+_0x958768[_0x37cb17][0x0];case 0x0:return _0x1a44dc?'today':'this\x20'+_0x958768[_0x37cb17][0x0];}}const _0x2d5b7f=Object['is'](_0x3f3609,-0x0)||_0x3f3609<0x0,_0x1cb11c=Math['abs'](_0x3f3609),_0x1c0e31=0x1===_0x1cb11c,_0xb5f5e4=_0x958768[_0x37cb17],_0x109a6d=_0x498446?_0x1c0e31?_0xb5f5e4[0x1]:_0xb5f5e4[0x2]||_0xb5f5e4[0x1]:_0x1c0e31?_0x958768[_0x37cb17][0x0]:_0x37cb17;return _0x2d5b7f?_0x1cb11c+'\x20'+_0x109a6d+'\x20ago':'in\x20'+_0x1cb11c+'\x20'+_0x109a6d;}function stringifyTokens(_0x4fa157,_0x248a9e){let _0xda6a5f='';for(const _0x415b78 of _0x4fa157)_0x415b78['literal']?_0xda6a5f+=_0x415b78['val']:_0xda6a5f+=_0x248a9e(_0x415b78['val']);return _0xda6a5f;}const macroTokenToFormatOpts={'D':_0x50e5c0,'DD':_0x33707c,'DDD':_0x293996,'DDDD':_0x3cf38e,'t':_0x296165,'tt':_0xcfb537,'ttt':_0x4bcb77,'tttt':_0x49364f,'T':_0x208169,'TT':_0x498867,'TTT':_0x4083ba,'TTTT':_0x362046,'f':_0x25ee82,'ff':_0x1f3a5e,'fff':_0x169688,'ffff':_0x5cce1a,'F':_0x4b47cc,'FF':_0x2930fe,'FFF':_0x2a2446,'FFFF':_0x597a6e};class Formatter{static['create'](_0x535450,_0x2d45cb={}){return new Formatter(_0x535450,_0x2d45cb);}static['parseFormat'](_0x3e0325){let _0x2ec910=null,_0x3ac717='',_0x1941e0=!0x1;const _0x3b2397=[];for(let _0x47834f=0x0;_0x47834f<_0x3e0325['length'];_0x47834f++){const _0x4196f1=_0x3e0325['charAt'](_0x47834f);'\x27'===_0x4196f1?(_0x3ac717['length']>0x0&&_0x3b2397['push']({'literal':_0x1941e0||/^\s+$/['test'](_0x3ac717),'val':_0x3ac717}),_0x2ec910=null,_0x3ac717='',_0x1941e0=!_0x1941e0):_0x1941e0||_0x4196f1===_0x2ec910?_0x3ac717+=_0x4196f1:(_0x3ac717['length']>0x0&&_0x3b2397['push']({'literal':/^\s+$/['test'](_0x3ac717),'val':_0x3ac717}),_0x3ac717=_0x4196f1,_0x2ec910=_0x4196f1);}return _0x3ac717['length']>0x0&&_0x3b2397['push']({'literal':_0x1941e0||/^\s+$/['test'](_0x3ac717),'val':_0x3ac717}),_0x3b2397;}static['macroTokenToFormatOpts'](_0x1a46bc){return macroTokenToFormatOpts[_0x1a46bc];}constructor(_0x3c22c3,_0x46d938){this['opts']=_0x46d938,this['loc']=_0x3c22c3,this['systemLoc']=null;}['formatWithSystemDefault'](_0x2d69a7,_0x45ca0b){return null===this['systemLoc']&&(this['systemLoc']=this['loc']['redefaultToSystem']()),this['systemLoc']['dtFormatter'](_0x2d69a7,{...this['opts'],..._0x45ca0b})['format']();}['dtFormatter'](_0xff59bd,_0x385085={}){return this['loc']['dtFormatter'](_0xff59bd,{...this['opts'],..._0x385085});}['formatDateTime'](_0x3a1f86,_0x2209a8){return this['dtFormatter'](_0x3a1f86,_0x2209a8)['format']();}['formatDateTimeParts'](_0x48f9f7,_0x2d8bd1){return this['dtFormatter'](_0x48f9f7,_0x2d8bd1)['formatToParts']();}['formatInterval'](_0xe5e76b,_0x35fd56){return this['dtFormatter'](_0xe5e76b['start'],_0x35fd56)['dtf']['formatRange'](_0xe5e76b['start']['toJSDate'](),_0xe5e76b['end']['toJSDate']());}['resolvedOptions'](_0x90ccbd,_0x150b50){return this['dtFormatter'](_0x90ccbd,_0x150b50)['resolvedOptions']();}['num'](_0x3392e4,_0x3ca78b=0x0){if(this['opts']['forceSimple'])return padStart(_0x3392e4,_0x3ca78b);const _0x1aa647={...this['opts']};return _0x3ca78b>0x0&&(_0x1aa647['padTo']=_0x3ca78b),this['loc']['numberFormatter'](_0x1aa647)['format'](_0x3392e4);}['formatDateTimeFromString'](_0x891a2b,_0x3dc603){const _0x5cfbfe='en'===this['loc']['listingMode'](),_0x46645c=this['loc']['outputCalendar']&&'gregory'!==this['loc']['outputCalendar'],_0x33a1f1=(_0x2fc901,_0x10e370)=>this['loc']['extract'](_0x891a2b,_0x2fc901,_0x10e370),_0x1341c5=_0x5af37a=>_0x891a2b['isOffsetFixed']&&0x0===_0x891a2b['offset']&&_0x5af37a['allowZ']?'Z':_0x891a2b['isValid']?_0x891a2b['zone']['formatOffset'](_0x891a2b['ts'],_0x5af37a['format']):'',_0x34be5c=(_0x442871,_0x1b440b)=>_0x5cfbfe?monthForDateTime(_0x891a2b,_0x442871):_0x33a1f1(_0x1b440b?{'month':_0x442871}:{'month':_0x442871,'day':'numeric'},'month'),_0x22d2d7=(_0x412ee8,_0x1df874)=>_0x5cfbfe?weekdayForDateTime(_0x891a2b,_0x412ee8):_0x33a1f1(_0x1df874?{'weekday':_0x412ee8}:{'weekday':_0x412ee8,'month':'long','day':'numeric'},'weekday'),_0x1a8df=_0x3367a1=>{const _0x546b3d=Formatter['macroTokenToFormatOpts'](_0x3367a1);return _0x546b3d?this['formatWithSystemDefault'](_0x891a2b,_0x546b3d):_0x3367a1;},_0x552e4e=_0x115ce5=>_0x5cfbfe?eraForDateTime(_0x891a2b,_0x115ce5):_0x33a1f1({'era':_0x115ce5},'era');return stringifyTokens(Formatter['parseFormat'](_0x3dc603),_0x3c2d68=>{switch(_0x3c2d68){case'S':return this['num'](_0x891a2b['millisecond']);case'u':case'SSS':return this['num'](_0x891a2b['millisecond'],0x3);case's':return this['num'](_0x891a2b['second']);case'ss':return this['num'](_0x891a2b['second'],0x2);case'uu':return this['num'](Math['floor'](_0x891a2b['millisecond']/0xa),0x2);case'uuu':return this['num'](Math['floor'](_0x891a2b['millisecond']/0x64));case'm':return this['num'](_0x891a2b['minute']);case'mm':return this['num'](_0x891a2b['minute'],0x2);case'h':return this['num'](_0x891a2b['hour']%0xc==0x0?0xc:_0x891a2b['hour']%0xc);case'hh':return this['num'](_0x891a2b['hour']%0xc==0x0?0xc:_0x891a2b['hour']%0xc,0x2);case'H':return this['num'](_0x891a2b['hour']);case'HH':return this['num'](_0x891a2b['hour'],0x2);case'Z':return _0x1341c5({'format':'narrow','allowZ':this['opts']['allowZ']});case'ZZ':return _0x1341c5({'format':'short','allowZ':this['opts']['allowZ']});case'ZZZ':return _0x1341c5({'format':'techie','allowZ':this['opts']['allowZ']});case'ZZZZ':return _0x891a2b['zone']['offsetName'](_0x891a2b['ts'],{'format':'short','locale':this['loc']['locale']});case'ZZZZZ':return _0x891a2b['zone']['offsetName'](_0x891a2b['ts'],{'format':'long','locale':this['loc']['locale']});case'z':return _0x891a2b['zoneName'];case'a':return _0x5cfbfe?meridiemForDateTime(_0x891a2b):_0x33a1f1({'hour':'numeric','hourCycle':'h12'},'dayperiod');case'd':return _0x46645c?_0x33a1f1({'day':'numeric'},'day'):this['num'](_0x891a2b['day']);case'dd':return _0x46645c?_0x33a1f1({'day':'2-digit'},'day'):this['num'](_0x891a2b['day'],0x2);case'c':case'E':return this['num'](_0x891a2b['weekday']);case'ccc':return _0x22d2d7('short',!0x0);case'cccc':return _0x22d2d7('long',!0x0);case'ccccc':return _0x22d2d7('narrow',!0x0);case'EEE':return _0x22d2d7('short',!0x1);case'EEEE':return _0x22d2d7('long',!0x1);case'EEEEE':return _0x22d2d7('narrow',!0x1);case'L':return _0x46645c?_0x33a1f1({'month':'numeric','day':'numeric'},'month'):this['num'](_0x891a2b['month']);case'LL':return _0x46645c?_0x33a1f1({'month':'2-digit','day':'numeric'},'month'):this['num'](_0x891a2b['month'],0x2);case'LLL':return _0x34be5c('short',!0x0);case'LLLL':return _0x34be5c('long',!0x0);case'LLLLL':return _0x34be5c('narrow',!0x0);case'M':return _0x46645c?_0x33a1f1({'month':'numeric'},'month'):this['num'](_0x891a2b['month']);case'MM':return _0x46645c?_0x33a1f1({'month':'2-digit'},'month'):this['num'](_0x891a2b['month'],0x2);case'MMM':return _0x34be5c('short',!0x1);case'MMMM':return _0x34be5c('long',!0x1);case'MMMMM':return _0x34be5c('narrow',!0x1);case'y':return _0x46645c?_0x33a1f1({'year':'numeric'},'year'):this['num'](_0x891a2b['year']);case'yy':return _0x46645c?_0x33a1f1({'year':'2-digit'},'year'):this['num'](_0x891a2b['year']['toString']()['slice'](-0x2),0x2);case'yyyy':return _0x46645c?_0x33a1f1({'year':'numeric'},'year'):this['num'](_0x891a2b['year'],0x4);case'yyyyyy':return _0x46645c?_0x33a1f1({'year':'numeric'},'year'):this['num'](_0x891a2b['year'],0x6);case'G':return _0x552e4e('short');case'GG':return _0x552e4e('long');case'GGGGG':return _0x552e4e('narrow');case'kk':return this['num'](_0x891a2b['weekYear']['toString']()['slice'](-0x2),0x2);case'kkkk':return this['num'](_0x891a2b['weekYear'],0x4);case'W':return this['num'](_0x891a2b['weekNumber']);case'WW':return this['num'](_0x891a2b['weekNumber'],0x2);case'n':return this['num'](_0x891a2b['localWeekNumber']);case'nn':return this['num'](_0x891a2b['localWeekNumber'],0x2);case'ii':return this['num'](_0x891a2b['localWeekYear']['toString']()['slice'](-0x2),0x2);case'iiii':return this['num'](_0x891a2b['localWeekYear'],0x4);case'o':return this['num'](_0x891a2b['ordinal']);case'ooo':return this['num'](_0x891a2b['ordinal'],0x3);case'q':return this['num'](_0x891a2b['quarter']);case'qq':return this['num'](_0x891a2b['quarter'],0x2);case'X':return this['num'](Math['floor'](_0x891a2b['ts']/0x3e8));case'x':return this['num'](_0x891a2b['ts']);default:return _0x1a8df(_0x3c2d68);}});}['formatDurationFromString'](_0xa59368,_0x3592df){const _0x47b777=_0x8fbc10=>{switch(_0x8fbc10[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;}},_0x10bad0=Formatter['parseFormat'](_0x3592df),_0x599121=_0x10bad0['reduce']((_0x2199b9,{literal:_0x22b026,val:_0x886557})=>_0x22b026?_0x2199b9:_0x2199b9['concat'](_0x886557),[]),_0x5ba3ac=_0xa59368['shiftTo'](..._0x599121['map'](_0x47b777)['filter'](t=>t));return stringifyTokens(_0x10bad0,(_0x2fe59b=>_0x45a209=>{const _0x5bf600=_0x47b777(_0x45a209);return _0x5bf600?this['num'](_0x2fe59b['get'](_0x5bf600),_0x45a209['length']):_0x45a209;})(_0x5ba3ac));}}const _0x46729a=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function _0x518891(..._0x3c6e73){const _0x497b59=_0x3c6e73['reduce']((_0x161b66,_0x3c4e90)=>_0x161b66+_0x3c4e90['source'],'');return RegExp('^'+_0x497b59+'$');}function combineExtractors(..._0x417701){return _0xfd2b7f=>_0x417701['reduce'](([_0x1232f8,_0x39e37f,_0x45e1c1],_0x2f731c)=>{const [_0x5e2915,_0xea463,_0x568a9b]=_0x2f731c(_0xfd2b7f,_0x45e1c1);return[{..._0x1232f8,..._0x5e2915},_0xea463||_0x39e37f,_0x568a9b];},[{},null,0x1])['slice'](0x0,0x2);}function _0x15db9f(_0x109a3d,..._0x2522e3){if(null==_0x109a3d)return[null,null];for(const [_0x2ecea6,_0x5085a0]of _0x2522e3){const _0x478df6=_0x2ecea6['exec'](_0x109a3d);if(_0x478df6)return _0x5085a0(_0x478df6);}return[null,null];}function _0x3ac859(..._0x1ca7ff){return(_0x1792ff,_0x1fdb8c)=>{const _0x78af9f={};let _0x5c3435;for(_0x5c3435=0x0;_0x5c3435<_0x1ca7ff['length'];_0x5c3435++)_0x78af9f[_0x1ca7ff[_0x5c3435]]=parseInteger(_0x1792ff[_0x1fdb8c+_0x5c3435]);return[_0x78af9f,null,_0x1fdb8c+_0x5c3435];};}const offsetRegex=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,isoExtendedZone='(?:'+offsetRegex['source']+'?(?:\x5c[('+_0x46729a['source']+')\x5c])?)?',_0x5d8e51=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,_0x2e582c=RegExp(''+_0x5d8e51['source']+isoExtendedZone),isoTimeExtensionRegex=RegExp('(?:T'+_0x2e582c['source']+')?'),_0x2caed2=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,_0x418ef1=/(\d{4})-?W(\d\d)(?:-?(\d))?/,_0x3c0dd2=/(\d{4})-?(\d{3})/,extractISOWeekData=_0x3ac859('weekYear','weekNumber','weekDay'),extractISOOrdinalData=_0x3ac859('year','ordinal'),_0x3ca743=/(\d{4})-(\d\d)-(\d\d)/,_0x14a51c=RegExp(_0x5d8e51['source']+'\x20?(?:'+offsetRegex['source']+'|('+_0x46729a['source']+'))?'),sqlTimeExtensionRegex=RegExp('(?:\x20'+_0x14a51c['source']+')?');function int(_0x5be3a0,_0x3e960a,_0x5597b5){const _0x139472=_0x5be3a0[_0x3e960a];return _0x1f9e37(_0x139472)?_0x5597b5:parseInteger(_0x139472);}function extractISOYmd(_0x53eb17,_0xd99634){return[{'year':int(_0x53eb17,_0xd99634),'month':int(_0x53eb17,_0xd99634+0x1,0x1),'day':int(_0x53eb17,_0xd99634+0x2,0x1)},null,_0xd99634+0x3];}function extractISOTime(_0x3e8415,_0x4cd23b){return[{'hours':int(_0x3e8415,_0x4cd23b,0x0),'minutes':int(_0x3e8415,_0x4cd23b+0x1,0x0),'seconds':int(_0x3e8415,_0x4cd23b+0x2,0x0),'milliseconds':_0x5ee93c(_0x3e8415[_0x4cd23b+0x3])},null,_0x4cd23b+0x4];}function extractISOOffset(_0x36b061,_0x387f5d){const _0x84fb82=!_0x36b061[_0x387f5d]&&!_0x36b061[_0x387f5d+0x1],_0x3aa77c=signedOffset(_0x36b061[_0x387f5d+0x1],_0x36b061[_0x387f5d+0x2]);return[{},_0x84fb82?null:FixedOffsetZone['instance'](_0x3aa77c),_0x387f5d+0x3];}function extractIANAZone(_0x2fea92,_0x36f3b5){return[{},_0x2fea92[_0x36f3b5]?_0xf46b7['create'](_0x2fea92[_0x36f3b5]):null,_0x36f3b5+0x1];}const _0x17b118=RegExp('^T?'+_0x5d8e51['source']+'$'),isoDuration=/^-?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 extractISODuration(_0x159262){const [_0x451b4f,_0x5cb013,_0x301b60,_0x3edc80,_0x11b917,_0x128d8a,_0x3ae9b4,_0x37b06e,_0x45eabf]=_0x159262,_0x3945fc='-'===_0x451b4f[0x0],_0x2792f9=_0x37b06e&&'-'===_0x37b06e[0x0],_0x586924=(_0x20e168,_0x4a5ff7=!0x1)=>void 0x0!==_0x20e168&&(_0x4a5ff7||_0x20e168&&_0x3945fc)?-_0x20e168:_0x20e168;return[{'years':_0x586924(parseFloating(_0x5cb013)),'months':_0x586924(parseFloating(_0x301b60)),'weeks':_0x586924(parseFloating(_0x3edc80)),'days':_0x586924(parseFloating(_0x11b917)),'hours':_0x586924(parseFloating(_0x128d8a)),'minutes':_0x586924(parseFloating(_0x3ae9b4)),'seconds':_0x586924(parseFloating(_0x37b06e),'-0'===_0x37b06e),'milliseconds':_0x586924(_0x5ee93c(_0x45eabf),_0x2792f9)}];}const obsOffsets={'GMT':0x0,'EDT':-0xf0,'EST':-0x12c,'CDT':-0x12c,'CST':-0x168,'MDT':-0x168,'MST':-0x1a4,'PDT':-0x1a4,'PST':-0x1e0};function fromStrings(_0x20e421,_0x40d565,_0x54582d,_0x4a424a,_0x55dcef,_0x2c64f2,_0x331c70){const _0x286f4c={'year':0x2===_0x40d565['length']?untruncateYear(parseInteger(_0x40d565)):parseInteger(_0x40d565),'month':monthsShort['indexOf'](_0x54582d)+0x1,'day':parseInteger(_0x4a424a),'hour':parseInteger(_0x55dcef),'minute':parseInteger(_0x2c64f2)};return _0x331c70&&(_0x286f4c['second']=parseInteger(_0x331c70)),_0x20e421&&(_0x286f4c['weekday']=_0x20e421['length']>0x3?_0xc8f3da['indexOf'](_0x20e421)+0x1:weekdaysShort['indexOf'](_0x20e421)+0x1),_0x286f4c;}const _0xe15765=/^(?:(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 extractRFC2822(_0x5653ea){const [,_0x8aae69,_0x4581f5,_0x307cf1,_0xf8ebdc,_0x424b16,_0x2f1483,_0x573ae7,_0x5af573,_0x509703,_0x5c7dcc,_0x4dbb7a]=_0x5653ea,_0x5f0971=fromStrings(_0x8aae69,_0xf8ebdc,_0x307cf1,_0x4581f5,_0x424b16,_0x2f1483,_0x573ae7);let _0x366813;return _0x366813=_0x5af573?obsOffsets[_0x5af573]:_0x509703?0x0:signedOffset(_0x5c7dcc,_0x4dbb7a),[_0x5f0971,new FixedOffsetZone(_0x366813)];}function _0x5b94a3(_0x11f9b8){return _0x11f9b8['replace'](/\([^()]*\)|[\n\t]/g,'\x20')['replace'](/(\s\s+)/g,'\x20')['trim']();}const _0x5a217f=/^(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$/,_0x919450=/^(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$/,_0x53a2c3=/^(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 extractRFC1123Or850(_0x3a6d17){const [,_0x5a44dc,_0x504437,_0xa4cf56,_0x42520d,_0x7be08b,_0x556a8a,_0x3fce95]=_0x3a6d17;return[fromStrings(_0x5a44dc,_0x42520d,_0xa4cf56,_0x504437,_0x7be08b,_0x556a8a,_0x3fce95),FixedOffsetZone['utcInstance']];}function extractASCII(_0x1af3b0){const [,_0x1146ba,_0x17d475,_0x190f77,_0x376b37,_0x14cb38,_0x2e1ecf,_0x3642fb]=_0x1af3b0;return[fromStrings(_0x1146ba,_0x3642fb,_0x17d475,_0x190f77,_0x376b37,_0x14cb38,_0x2e1ecf),FixedOffsetZone['utcInstance']];}const isoYmdWithTimeExtensionRegex=_0x518891(_0x2caed2,isoTimeExtensionRegex),isoWeekWithTimeExtensionRegex=_0x518891(_0x418ef1,isoTimeExtensionRegex),isoOrdinalWithTimeExtensionRegex=_0x518891(_0x3c0dd2,isoTimeExtensionRegex),_0x57a7e0=_0x518891(_0x2e582c),extractISOYmdTimeAndOffset=combineExtractors(extractISOYmd,extractISOTime,extractISOOffset,extractIANAZone),extractISOWeekTimeAndOffset=combineExtractors(extractISOWeekData,extractISOTime,extractISOOffset,extractIANAZone),extractISOOrdinalDateAndTime=combineExtractors(extractISOOrdinalData,extractISOTime,extractISOOffset,extractIANAZone),extractISOTimeAndOffset=combineExtractors(extractISOTime,extractISOOffset,extractIANAZone);function parseISODate(_0x4fb932){return _0x15db9f(_0x4fb932,[isoYmdWithTimeExtensionRegex,extractISOYmdTimeAndOffset],[isoWeekWithTimeExtensionRegex,extractISOWeekTimeAndOffset],[isoOrdinalWithTimeExtensionRegex,extractISOOrdinalDateAndTime],[_0x57a7e0,extractISOTimeAndOffset]);}function parseRFC2822Date(_0x4ca3d3){return _0x15db9f(_0x5b94a3(_0x4ca3d3),[_0xe15765,extractRFC2822]);}function parseHTTPDate(_0x19b12f){return _0x15db9f(_0x19b12f,[_0x5a217f,extractRFC1123Or850],[_0x919450,extractRFC1123Or850],[_0x53a2c3,extractASCII]);}function parseISODuration(_0x1c32e9){return _0x15db9f(_0x1c32e9,[isoDuration,extractISODuration]);}const extractISOTimeOnly=combineExtractors(extractISOTime);function _0x5eaa3e(_0x10830d){return _0x15db9f(_0x10830d,[_0x17b118,extractISOTimeOnly]);}const sqlYmdWithTimeExtensionRegex=_0x518891(_0x3ca743,sqlTimeExtensionRegex),_0x23e835=_0x518891(_0x14a51c),extractISOTimeOffsetAndIANAZone=combineExtractors(extractISOTime,extractISOOffset,extractIANAZone);function _0x274075(_0x4bb41d){return _0x15db9f(_0x4bb41d,[sqlYmdWithTimeExtensionRegex,extractISOYmdTimeAndOffset],[_0x23e835,extractISOTimeOffsetAndIANAZone]);}const _0x4b6728='Invalid\x20Duration',lowOrderMatrix={'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}},casualMatrix={'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},...lowOrderMatrix},daysInYearAccurate=365.2425,daysInMonthAccurate=30.436875,accurateMatrix={'years':{'quarters':0x4,'months':0xc,'weeks':daysInYearAccurate/0x7,'days':daysInYearAccurate,'hours':0x18*daysInYearAccurate,'minutes':0x18*daysInYearAccurate*0x3c,'seconds':0x18*daysInYearAccurate*0x3c*0x3c,'milliseconds':0x18*daysInYearAccurate*0x3c*0x3c*0x3e8},'quarters':{'months':0x3,'weeks':daysInYearAccurate/0x1c,'days':daysInYearAccurate/0x4,'hours':0x18*daysInYearAccurate/0x4,'minutes':0x18*daysInYearAccurate*0x3c/0x4,'seconds':0x18*daysInYearAccurate*0x3c*0x3c/0x4,'milliseconds':0x18*daysInYearAccurate*0x3c*0x3c*0x3e8/0x4},'months':{'weeks':daysInMonthAccurate/0x7,'days':daysInMonthAccurate,'hours':0x18*daysInMonthAccurate,'minutes':0x18*daysInMonthAccurate*0x3c,'seconds':0x18*daysInMonthAccurate*0x3c*0x3c,'milliseconds':0x18*daysInMonthAccurate*0x3c*0x3c*0x3e8},...lowOrderMatrix},orderedUnits$1=['years','quarters','months','weeks','days','hours','minutes','seconds','milliseconds'],reverseUnits=orderedUnits$1['slice'](0x0)['reverse']();function _0x15387c(_0x380984,_0x1c4555,_0x3d51a0=!0x1){const _0x1b2490={'values':_0x3d51a0?_0x1c4555['values']:{..._0x380984['values'],..._0x1c4555['values']||{}},'loc':_0x380984['loc']['clone'](_0x1c4555['loc']),'conversionAccuracy':_0x1c4555['conversionAccuracy']||_0x380984['conversionAccuracy'],'matrix':_0x1c4555['matrix']||_0x380984['matrix']};return new Duration(_0x1b2490);}function durationToMillis(_0x53b085,_0x4a8d2e){let _0x48f06b=_0x4a8d2e['milliseconds']??0x0;for(const _0x12c8e0 of reverseUnits['slice'](0x1))_0x4a8d2e[_0x12c8e0]&&(_0x48f06b+=_0x4a8d2e[_0x12c8e0]*_0x53b085[_0x12c8e0]['milliseconds']);return _0x48f06b;}function _0x36b2ec(_0x5e2950,_0x195f81){const _0x35087f=durationToMillis(_0x5e2950,_0x195f81)<0x0?-0x1:0x1;orderedUnits$1['reduceRight']((_0x1a2b1d,_0x1350b1)=>{if(_0x1f9e37(_0x195f81[_0x1350b1]))return _0x1a2b1d;if(_0x1a2b1d){const _0x20dbad=_0x195f81[_0x1a2b1d]*_0x35087f,_0x419414=_0x5e2950[_0x1350b1][_0x1a2b1d],_0x434c7d=Math['floor'](_0x20dbad/_0x419414);_0x195f81[_0x1350b1]+=_0x434c7d*_0x35087f,_0x195f81[_0x1a2b1d]-=_0x434c7d*_0x419414*_0x35087f;}return _0x1350b1;},null),orderedUnits$1['reduce']((_0x5abef8,_0x583684)=>{if(_0x1f9e37(_0x195f81[_0x583684]))return _0x5abef8;if(_0x5abef8){const _0x406ea2=_0x195f81[_0x5abef8]%0x1;_0x195f81[_0x5abef8]-=_0x406ea2,_0x195f81[_0x583684]+=_0x406ea2*_0x5e2950[_0x5abef8][_0x583684];}return _0x583684;},null);}function _0x4004a8(_0x1f8d89){const _0x54c231={};for(const [_0x2296aa,_0xbc81ec]of Object['entries'](_0x1f8d89))0x0!==_0xbc81ec&&(_0x54c231[_0x2296aa]=_0xbc81ec);return _0x54c231;}class Duration{constructor(_0x32f438){const _0x4d8479='longterm'===_0x32f438['conversionAccuracy']||!0x1;let _0x31e97b=_0x4d8479?accurateMatrix:casualMatrix;_0x32f438['matrix']&&(_0x31e97b=_0x32f438['matrix']),this['values']=_0x32f438['values'],this['loc']=_0x32f438['loc']||_0x32ccac['create'](),this['conversionAccuracy']=_0x4d8479?'longterm':'casual',this['invalid']=_0x32f438['invalid']||null,this['matrix']=_0x31e97b,this['isLuxonDuration']=!0x0;}static['fromMillis'](_0x1be942,_0x1af0ae){return Duration['fromObject']({'milliseconds':_0x1be942},_0x1af0ae);}static['fromObject'](_0x13472a,_0x9c4545={}){if(null==_0x13472a||'object'!=typeof _0x13472a)throw new InvalidArgumentError('Duration.fromObject:\x20argument\x20expected\x20to\x20be\x20an\x20object,\x20got\x20'+(null===_0x13472a?'null':typeof _0x13472a));return new Duration({'values':normalizeObject(_0x13472a,Duration['normalizeUnit']),'loc':_0x32ccac['fromObject'](_0x9c4545),'conversionAccuracy':_0x9c4545['conversionAccuracy'],'matrix':_0x9c4545['matrix']});}static['fromDurationLike'](_0x320e14){if(_0x14a4c7(_0x320e14))return Duration['fromMillis'](_0x320e14);if(Duration['isDuration'](_0x320e14))return _0x320e14;if('object'==typeof _0x320e14)return Duration['fromObject'](_0x320e14);throw new InvalidArgumentError('Unknown\x20duration\x20argument\x20'+_0x320e14+'\x20of\x20type\x20'+typeof _0x320e14);}static['fromISO'](_0x211ff5,_0x55af0f){const [_0xad784b]=parseISODuration(_0x211ff5);return _0xad784b?Duration['fromObject'](_0xad784b,_0x55af0f):Duration['invalid']('unparsable','the\x20input\x20\x22'+_0x211ff5+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['fromISOTime'](_0x359e4c,_0x49750b){const [_0x94ba7d]=_0x5eaa3e(_0x359e4c);return _0x94ba7d?Duration['fromObject'](_0x94ba7d,_0x49750b):Duration['invalid']('unparsable','the\x20input\x20\x22'+_0x359e4c+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['invalid'](_0x50c28b,_0x1ef079=null){if(!_0x50c28b)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20Duration\x20is\x20invalid');const _0xb04d26=_0x50c28b instanceof _0x350484?_0x50c28b:new _0x350484(_0x50c28b,_0x1ef079);if(Settings['throwOnInvalid'])throw new InvalidDurationError(_0xb04d26);return new Duration({'invalid':_0xb04d26});}static['normalizeUnit'](_0x5d3499){const _0x5a2731={'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'}[_0x5d3499?_0x5d3499['toLowerCase']():_0x5d3499];if(!_0x5a2731)throw new InvalidUnitError(_0x5d3499);return _0x5a2731;}static['isDuration'](_0x304010){return _0x304010&&_0x304010['isLuxonDuration']||!0x1;}get['locale'](){return this['isValid']?this['loc']['locale']:null;}get['numberingSystem'](){return this['isValid']?this['loc']['numberingSystem']:null;}['toFormat'](_0x34d7fb,_0x1aa310={}){const _0xa12b57={..._0x1aa310,'floor':!0x1!==_0x1aa310['round']&&!0x1!==_0x1aa310['floor']};return this['isValid']?Formatter['create'](this['loc'],_0xa12b57)['formatDurationFromString'](this,_0x34d7fb):_0x4b6728;}['toHuman'](_0x4811fb={}){if(!this['isValid'])return _0x4b6728;const _0x1d2c4a=orderedUnits$1['map'](_0x22c522=>{const _0x5bf54d=this['values'][_0x22c522];return _0x1f9e37(_0x5bf54d)?null:this['loc']['numberFormatter']({'style':'unit','unitDisplay':'long',..._0x4811fb,'unit':_0x22c522['slice'](0x0,-0x1)})['format'](_0x5bf54d);})['filter'](_0x3e159c=>_0x3e159c);return this['loc']['listFormatter']({'type':'conjunction','style':_0x4811fb['listStyle']||'narrow',..._0x4811fb})['format'](_0x1d2c4a);}['toObject'](){return this['isValid']?{...this['values']}:{};}['toISO'](){if(!this['isValid'])return null;let _0x3cbfdb='P';return 0x0!==this['years']&&(_0x3cbfdb+=this['years']+'Y'),0x0===this['months']&&0x0===this['quarters']||(_0x3cbfdb+=this['months']+0x3*this['quarters']+'M'),0x0!==this['weeks']&&(_0x3cbfdb+=this['weeks']+'W'),0x0!==this['days']&&(_0x3cbfdb+=this['days']+'D'),0x0===this['hours']&&0x0===this['minutes']&&0x0===this['seconds']&&0x0===this['milliseconds']||(_0x3cbfdb+='T'),0x0!==this['hours']&&(_0x3cbfdb+=this['hours']+'H'),0x0!==this['minutes']&&(_0x3cbfdb+=this['minutes']+'M'),0x0===this['seconds']&&0x0===this['milliseconds']||(_0x3cbfdb+=_0x78588f(this['seconds']+this['milliseconds']/0x3e8,0x3)+'S'),'P'===_0x3cbfdb&&(_0x3cbfdb+='T0S'),_0x3cbfdb;}['toISOTime'](_0x4637ae={}){if(!this['isValid'])return null;const _0x5bd6f0=this['toMillis']();if(_0x5bd6f0<0x0||_0x5bd6f0>=0x5265c00)return null;return _0x4637ae={'suppressMilliseconds':!0x1,'suppressSeconds':!0x1,'includePrefix':!0x1,'format':'extended',..._0x4637ae,'includeOffset':!0x1},DateTime['fromMillis'](_0x5bd6f0,{'zone':'UTC'})['toISOTime'](_0x4637ae);}['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']?durationToMillis(this['matrix'],this['values']):NaN;}['valueOf'](){return this['toMillis']();}['plus'](_0x54721a){if(!this['isValid'])return this;const _0x3b4846=Duration['fromDurationLike'](_0x54721a),_0x290387={};for(const _0x3de236 of orderedUnits$1)(hasOwnProperty(_0x3b4846['values'],_0x3de236)||hasOwnProperty(this['values'],_0x3de236))&&(_0x290387[_0x3de236]=_0x3b4846['get'](_0x3de236)+this['get'](_0x3de236));return _0x15387c(this,{'values':_0x290387},!0x0);}['minus'](_0x10679a){if(!this['isValid'])return this;const _0x422972=Duration['fromDurationLike'](_0x10679a);return this['plus'](_0x422972['negate']());}['mapUnits'](_0x487f11){if(!this['isValid'])return this;const _0x58aaef={};for(const _0x5db7aa of Object['keys'](this['values']))_0x58aaef[_0x5db7aa]=_0x5dbdf7(_0x487f11(this['values'][_0x5db7aa],_0x5db7aa));return _0x15387c(this,{'values':_0x58aaef},!0x0);}['get'](_0x2d68f9){return this[Duration['normalizeUnit'](_0x2d68f9)];}['set'](_0x4d9888){if(!this['isValid'])return this;return _0x15387c(this,{'values':{...this['values'],...normalizeObject(_0x4d9888,Duration['normalizeUnit'])}});}['reconfigure']({locale:_0xe410ea,numberingSystem:_0xfd4272,conversionAccuracy:_0x1f83f5,matrix:_0x80444}={}){return _0x15387c(this,{'loc':this['loc']['clone']({'locale':_0xe410ea,'numberingSystem':_0xfd4272}),'matrix':_0x80444,'conversionAccuracy':_0x1f83f5});}['as'](_0x1c218d){return this['isValid']?this['shiftTo'](_0x1c218d)['get'](_0x1c218d):NaN;}['normalize'](){if(!this['isValid'])return this;const _0x3a3a7f=this['toObject']();return _0x36b2ec(this['matrix'],_0x3a3a7f),_0x15387c(this,{'values':_0x3a3a7f},!0x0);}['rescale'](){if(!this['isValid'])return this;return _0x15387c(this,{'values':_0x4004a8(this['normalize']()['shiftToAll']()['toObject']())},!0x0);}['shiftTo'](..._0x120769){if(!this['isValid'])return this;if(0x0===_0x120769['length'])return this;_0x120769=_0x120769['map'](_0x9d22de=>Duration['normalizeUnit'](_0x9d22de));const _0x50db13={},_0x307e0c={},_0x21aa23=this['toObject']();let _0x25f3f1;for(const _0x1195a0 of orderedUnits$1)if(_0x120769['indexOf'](_0x1195a0)>=0x0){_0x25f3f1=_0x1195a0;let _0x50abd2=0x0;for(const _0x3309a5 in _0x307e0c)_0x50abd2+=this['matrix'][_0x3309a5][_0x1195a0]*_0x307e0c[_0x3309a5],_0x307e0c[_0x3309a5]=0x0;_0x14a4c7(_0x21aa23[_0x1195a0])&&(_0x50abd2+=_0x21aa23[_0x1195a0]);const _0x1d2172=Math['trunc'](_0x50abd2);_0x50db13[_0x1195a0]=_0x1d2172,_0x307e0c[_0x1195a0]=(0x3e8*_0x50abd2-0x3e8*_0x1d2172)/0x3e8;}else _0x14a4c7(_0x21aa23[_0x1195a0])&&(_0x307e0c[_0x1195a0]=_0x21aa23[_0x1195a0]);for(const _0x4351a7 in _0x307e0c)0x0!==_0x307e0c[_0x4351a7]&&(_0x50db13[_0x25f3f1]+=_0x4351a7===_0x25f3f1?_0x307e0c[_0x4351a7]:_0x307e0c[_0x4351a7]/this['matrix'][_0x25f3f1][_0x4351a7]);return _0x36b2ec(this['matrix'],_0x50db13),_0x15387c(this,{'values':_0x50db13},!0x0);}['shiftToAll'](){return this['isValid']?this['shiftTo']('years','months','weeks','days','hours','minutes','seconds','milliseconds'):this;}['negate'](){if(!this['isValid'])return this;const _0x656d84={};for(const _0x327e0b of Object['keys'](this['values']))_0x656d84[_0x327e0b]=0x0===this['values'][_0x327e0b]?0x0:-this['values'][_0x327e0b];return _0x15387c(this,{'values':_0x656d84},!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'](_0x28a745){if(!this['isValid']||!_0x28a745['isValid'])return!0x1;if(!this['loc']['equals'](_0x28a745['loc']))return!0x1;function _0x5bdc32(_0xab6363,_0x4d7538){return void 0x0===_0xab6363||0x0===_0xab6363?void 0x0===_0x4d7538||0x0===_0x4d7538:_0xab6363===_0x4d7538;}for(const _0x5efa99 of orderedUnits$1)if(!_0x5bdc32(this['values'][_0x5efa99],_0x28a745['values'][_0x5efa99]))return!0x1;return!0x0;}}const _0x51fecb='Invalid\x20Interval';function validateStartEnd(_0x4cfe81,_0x4c78ab){return _0x4cfe81&&_0x4cfe81['isValid']?_0x4c78ab&&_0x4c78ab['isValid']?_0x4c78ab<_0x4cfe81?Interval['invalid']('end\x20before\x20start','The\x20end\x20of\x20an\x20interval\x20must\x20be\x20after\x20its\x20start,\x20but\x20you\x20had\x20start='+_0x4cfe81['toISO']()+'\x20and\x20end='+_0x4c78ab['toISO']()):null:Interval['invalid']('missing\x20or\x20invalid\x20end'):Interval['invalid']('missing\x20or\x20invalid\x20start');}class Interval{constructor(_0x36f5d1){this['s']=_0x36f5d1['start'],this['e']=_0x36f5d1['end'],this['invalid']=_0x36f5d1['invalid']||null,this['isLuxonInterval']=!0x0;}static['invalid'](_0x4c1ffb,_0x1dc6f7=null){if(!_0x4c1ffb)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20Interval\x20is\x20invalid');const _0x37a473=_0x4c1ffb instanceof _0x350484?_0x4c1ffb:new _0x350484(_0x4c1ffb,_0x1dc6f7);if(Settings['throwOnInvalid'])throw new InvalidIntervalError(_0x37a473);return new Interval({'invalid':_0x37a473});}static['fromDateTimes'](_0x556962,_0x316d15){const _0x4d127d=friendlyDateTime(_0x556962),_0x5401a4=friendlyDateTime(_0x316d15),_0x522088=validateStartEnd(_0x4d127d,_0x5401a4);return null==_0x522088?new Interval({'start':_0x4d127d,'end':_0x5401a4}):_0x522088;}static['after'](_0x401336,_0x6d357c){const _0x5cc11e=Duration['fromDurationLike'](_0x6d357c),_0x359eef=friendlyDateTime(_0x401336);return Interval['fromDateTimes'](_0x359eef,_0x359eef['plus'](_0x5cc11e));}static['before'](_0x5a80be,_0x50c7d0){const _0xfa414e=Duration['fromDurationLike'](_0x50c7d0),_0x3f892e=friendlyDateTime(_0x5a80be);return Interval['fromDateTimes'](_0x3f892e['minus'](_0xfa414e),_0x3f892e);}static['fromISO'](_0x3b15d9,_0x464d72){const [_0x4d1926,_0x5896f8]=(_0x3b15d9||'')['split']('/',0x2);if(_0x4d1926&&_0x5896f8){let _0x3bcba9,_0x546385,_0x42ce5f,_0x26ccfa;try{_0x3bcba9=DateTime['fromISO'](_0x4d1926,_0x464d72),_0x546385=_0x3bcba9['isValid'];}catch(_0x4eeb45){_0x546385=!0x1;}try{_0x42ce5f=DateTime['fromISO'](_0x5896f8,_0x464d72),_0x26ccfa=_0x42ce5f['isValid'];}catch(_0x5a9404){_0x26ccfa=!0x1;}if(_0x546385&&_0x26ccfa)return Interval['fromDateTimes'](_0x3bcba9,_0x42ce5f);if(_0x546385){const _0x45d848=Duration['fromISO'](_0x5896f8,_0x464d72);if(_0x45d848['isValid'])return Interval['after'](_0x3bcba9,_0x45d848);}else{if(_0x26ccfa){const _0x51f101=Duration['fromISO'](_0x4d1926,_0x464d72);if(_0x51f101['isValid'])return Interval['before'](_0x42ce5f,_0x51f101);}}}return Interval['invalid']('unparsable','the\x20input\x20\x22'+_0x3b15d9+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['isInterval'](_0x446c0d){return _0x446c0d&&_0x446c0d['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'](_0x23dee0='milliseconds'){return this['isValid']?this['toDuration'](_0x23dee0)['get'](_0x23dee0):NaN;}['count'](_0x4740fd='milliseconds',_0x386621){if(!this['isValid'])return NaN;const _0x1aba92=this['start']['startOf'](_0x4740fd,_0x386621);let _0x234cfa;return _0x234cfa=_0x386621?.['useLocaleWeeks']?this['end']['reconfigure']({'locale':_0x1aba92['locale']}):this['end'],_0x234cfa=_0x234cfa['startOf'](_0x4740fd,_0x386621),Math['floor'](_0x234cfa['diff'](_0x1aba92,_0x4740fd)['get'](_0x4740fd))+(_0x234cfa['valueOf']()!==this['end']['valueOf']());}['hasSame'](_0x4ea981){return!!this['isValid']&&(this['isEmpty']()||this['e']['minus'](0x1)['hasSame'](this['s'],_0x4ea981));}['isEmpty'](){return this['s']['valueOf']()===this['e']['valueOf']();}['isAfter'](_0x51c4ec){return!!this['isValid']&&this['s']>_0x51c4ec;}['isBefore'](_0x495f10){return!!this['isValid']&&this['e']<=_0x495f10;}['contains'](_0x228554){return!!this['isValid']&&(this['s']<=_0x228554&&this['e']>_0x228554);}['set']({start:_0x40b220,end:_0x322534}={}){return this['isValid']?Interval['fromDateTimes'](_0x40b220||this['s'],_0x322534||this['e']):this;}['splitAt'](..._0x3dff82){if(!this['isValid'])return[];const _0x557d99=_0x3dff82['map'](friendlyDateTime)['filter'](_0x1c3ff6=>this['contains'](_0x1c3ff6))['sort']((_0x18dec4,_0x280b38)=>_0x18dec4['toMillis']()-_0x280b38['toMillis']()),_0x34a971=[];let {s:_0x3204da}=this,_0x2994eb=0x0;for(;_0x3204da<this['e'];){const _0x56f52c=_0x557d99[_0x2994eb]||this['e'],_0x63dec0=+_0x56f52c>+this['e']?this['e']:_0x56f52c;_0x34a971['push'](Interval['fromDateTimes'](_0x3204da,_0x63dec0)),_0x3204da=_0x63dec0,_0x2994eb+=0x1;}return _0x34a971;}['splitBy'](_0x5a6d1b){const _0x337e36=Duration['fromDurationLike'](_0x5a6d1b);if(!this['isValid']||!_0x337e36['isValid']||0x0===_0x337e36['as']('milliseconds'))return[];let _0x572d18,{s:_0x3346d1}=this,_0x3653ad=0x1;const _0x47d076=[];for(;_0x3346d1<this['e'];){const _0xb7565f=this['start']['plus'](_0x337e36['mapUnits'](_0x58f0e7=>_0x58f0e7*_0x3653ad));_0x572d18=+_0xb7565f>+this['e']?this['e']:_0xb7565f,_0x47d076['push'](Interval['fromDateTimes'](_0x3346d1,_0x572d18)),_0x3346d1=_0x572d18,_0x3653ad+=0x1;}return _0x47d076;}['divideEqually'](_0x37cb8a){return this['isValid']?this['splitBy'](this['length']()/_0x37cb8a)['slice'](0x0,_0x37cb8a):[];}['overlaps'](_0x54ac7c){return this['e']>_0x54ac7c['s']&&this['s']<_0x54ac7c['e'];}['abutsStart'](_0x535726){return!!this['isValid']&&+this['e']===+_0x535726['s'];}['abutsEnd'](_0x5ad335){return!!this['isValid']&&+_0x5ad335['e']===+this['s'];}['engulfs'](_0x487042){return!!this['isValid']&&(this['s']<=_0x487042['s']&&this['e']>=_0x487042['e']);}['equals'](_0xfa22e5){return!(!this['isValid']||!_0xfa22e5['isValid'])&&(this['s']['equals'](_0xfa22e5['s'])&&this['e']['equals'](_0xfa22e5['e']));}['intersection'](_0x584e8f){if(!this['isValid'])return this;const _0xe43c75=this['s']>_0x584e8f['s']?this['s']:_0x584e8f['s'],_0x15636b=this['e']<_0x584e8f['e']?this['e']:_0x584e8f['e'];return _0xe43c75>=_0x15636b?null:Interval['fromDateTimes'](_0xe43c75,_0x15636b);}['union'](_0x35e3c){if(!this['isValid'])return this;const _0x4613b3=this['s']<_0x35e3c['s']?this['s']:_0x35e3c['s'],_0x148f44=this['e']>_0x35e3c['e']?this['e']:_0x35e3c['e'];return Interval['fromDateTimes'](_0x4613b3,_0x148f44);}static['merge'](_0x17107f){const [_0x465927,_0xe48844]=_0x17107f['sort']((_0x279fde,_0x1a7ad5)=>_0x279fde['s']-_0x1a7ad5['s'])['reduce'](([_0xf91aa9,_0x55b707],_0x8597ff)=>_0x55b707?_0x55b707['overlaps'](_0x8597ff)||_0x55b707['abutsStart'](_0x8597ff)?[_0xf91aa9,_0x55b707['union'](_0x8597ff)]:[_0xf91aa9['concat']([_0x55b707]),_0x8597ff]:[_0xf91aa9,_0x8597ff],[[],null]);return _0xe48844&&_0x465927['push'](_0xe48844),_0x465927;}static['xor'](_0x4c8a5b){let _0x1cc2e8=null,_0x1988e0=0x0;const _0x5cd343=[],_0x5b2a42=_0x4c8a5b['map'](_0x20b6ae=>[{'time':_0x20b6ae['s'],'type':'s'},{'time':_0x20b6ae['e'],'type':'e'}]),_0x3e1d32=Array['prototype']['concat'](..._0x5b2a42)['sort']((_0x35d8b7,_0x2d02d2)=>_0x35d8b7['time']-_0x2d02d2['time']);for(const _0x2f5149 of _0x3e1d32)_0x1988e0+='s'===_0x2f5149['type']?0x1:-0x1,0x1===_0x1988e0?_0x1cc2e8=_0x2f5149['time']:(_0x1cc2e8&&+_0x1cc2e8!==+_0x2f5149['time']&&_0x5cd343['push'](Interval['fromDateTimes'](_0x1cc2e8,_0x2f5149['time'])),_0x1cc2e8=null);return Interval['merge'](_0x5cd343);}['difference'](..._0x3465fa){return Interval['xor']([this]['concat'](_0x3465fa))['map'](_0x5900b7=>this['intersection'](_0x5900b7))['filter'](_0x36483d=>_0x36483d&&!_0x36483d['isEmpty']());}['toString'](){return this['isValid']?'['+this['s']['toISO']()+'\x20–\x20'+this['e']['toISO']()+')':_0x51fecb;}[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'](_0x121845=_0x50e5c0,_0xdd2c42={}){return this['isValid']?Formatter['create'](this['s']['loc']['clone'](_0xdd2c42),_0x121845)['formatInterval'](this):_0x51fecb;}['toISO'](_0x17e6c2){return this['isValid']?this['s']['toISO'](_0x17e6c2)+'/'+this['e']['toISO'](_0x17e6c2):_0x51fecb;}['toISODate'](){return this['isValid']?this['s']['toISODate']()+'/'+this['e']['toISODate']():_0x51fecb;}['toISOTime'](_0xf8c865){return this['isValid']?this['s']['toISOTime'](_0xf8c865)+'/'+this['e']['toISOTime'](_0xf8c865):_0x51fecb;}['toFormat'](_0x44c052,{separator:_0x392ebc='\x20–\x20'}={}){return this['isValid']?''+this['s']['toFormat'](_0x44c052)+_0x392ebc+this['e']['toFormat'](_0x44c052):_0x51fecb;}['toDuration'](_0x2796b6,_0x463955){return this['isValid']?this['e']['diff'](this['s'],_0x2796b6,_0x463955):Duration['invalid'](this['invalidReason']);}['mapEndpoints'](_0x5ccb5a){return Interval['fromDateTimes'](_0x5ccb5a(this['s']),_0x5ccb5a(this['e']));}}class _0x3c09de{static['hasDST'](_0x23d8f8=Settings['defaultZone']){const _0x589ebe=DateTime['now']()['setZone'](_0x23d8f8)['set']({'month':0xc});return!_0x23d8f8['isUniversal']&&_0x589ebe['offset']!==_0x589ebe['set']({'month':0x6})['offset'];}static['isValidIANAZone'](_0x4b8fad){return _0xf46b7['isValidZone'](_0x4b8fad);}static['normalizeZone'](_0x289c83){return _0x163936(_0x289c83,Settings['defaultZone']);}static['getStartOfWeek']({locale:_0x10d274=null,locObj:_0x44b4ea=null}={}){return(_0x44b4ea||_0x32ccac['create'](_0x10d274))['getStartOfWeek']();}static['getMinimumDaysInFirstWeek']({locale:_0x43c4b3=null,locObj:_0x1139ba=null}={}){return(_0x1139ba||_0x32ccac['create'](_0x43c4b3))['getMinDaysInFirstWeek']();}static['getWeekendWeekdays']({locale:_0x478b40=null,locObj:_0x2cd0e=null}={}){return(_0x2cd0e||_0x32ccac['create'](_0x478b40))['getWeekendDays']()['slice']();}static['months'](_0x212743='long',{locale:_0x2466b1=null,numberingSystem:_0x2e226c=null,locObj:_0x58e55a=null,outputCalendar:_0x48e1a1='gregory'}={}){return(_0x58e55a||_0x32ccac['create'](_0x2466b1,_0x2e226c,_0x48e1a1))['months'](_0x212743);}static['monthsFormat'](_0x18040e='long',{locale:_0x491a88=null,numberingSystem:_0x968291=null,locObj:_0x15b1bf=null,outputCalendar:_0x3de142='gregory'}={}){return(_0x15b1bf||_0x32ccac['create'](_0x491a88,_0x968291,_0x3de142))['months'](_0x18040e,!0x0);}static['weekdays'](_0x2aa387='long',{locale:_0xd77023=null,numberingSystem:_0x2311f7=null,locObj:_0x31b4b7=null}={}){return(_0x31b4b7||_0x32ccac['create'](_0xd77023,_0x2311f7,null))['weekdays'](_0x2aa387);}static['weekdaysFormat'](_0x3e2c04='long',{locale:_0x378d98=null,numberingSystem:_0x4e66fe=null,locObj:_0x2ecee9=null}={}){return(_0x2ecee9||_0x32ccac['create'](_0x378d98,_0x4e66fe,null))['weekdays'](_0x3e2c04,!0x0);}static['meridiems']({locale:_0x5a7294=null}={}){return _0x32ccac['create'](_0x5a7294)['meridiems']();}static['eras'](_0x508f98='short',{locale:_0x2cd1f5=null}={}){return _0x32ccac['create'](_0x2cd1f5,null,'gregory')['eras'](_0x508f98);}static['features'](){return{'relative':hasRelative(),'localeWeek':_0x376a33()};}}function _0x167db8(_0x261198,_0x8b9dec){const _0x8a3f61=_0x4322bb=>_0x4322bb['toUTC'](0x0,{'keepLocalTime':!0x0})['startOf']('day')['valueOf'](),_0x579f3c=_0x8a3f61(_0x8b9dec)-_0x8a3f61(_0x261198);return Math['floor'](Duration['fromMillis'](_0x579f3c)['as']('days'));}function _0x4fcf09(_0x4c4f62,_0x2af0b4,_0x140813){const _0x273491=[['years',(_0x1834b0,_0x85109c)=>_0x85109c['year']-_0x1834b0['year']],['quarters',(_0x2aa2a5,_0x8399fd)=>_0x8399fd['quarter']-_0x2aa2a5['quarter']+0x4*(_0x8399fd['year']-_0x2aa2a5['year'])],['months',(_0x1dac00,_0x4f1988)=>_0x4f1988['month']-_0x1dac00['month']+0xc*(_0x4f1988['year']-_0x1dac00['year'])],['weeks',(_0x1efdbb,_0x22f593)=>{const _0x290261=_0x167db8(_0x1efdbb,_0x22f593);return(_0x290261-_0x290261%0x7)/0x7;}],['days',_0x167db8]],_0x5cd232={},_0x41c622=_0x4c4f62;let _0x236648,_0x2dc604;for(const [_0x4ece3c,_0x19dd46]of _0x273491)_0x140813['indexOf'](_0x4ece3c)>=0x0&&(_0x236648=_0x4ece3c,_0x5cd232[_0x4ece3c]=_0x19dd46(_0x4c4f62,_0x2af0b4),_0x2dc604=_0x41c622['plus'](_0x5cd232),_0x2dc604>_0x2af0b4?(_0x5cd232[_0x4ece3c]--,(_0x4c4f62=_0x41c622['plus'](_0x5cd232))>_0x2af0b4&&(_0x2dc604=_0x4c4f62,_0x5cd232[_0x4ece3c]--,_0x4c4f62=_0x41c622['plus'](_0x5cd232))):_0x4c4f62=_0x2dc604);return[_0x4c4f62,_0x5cd232,_0x2dc604,_0x236648];}function _0xe7921d(_0xd76b82,_0x1fdbc7,_0x2b50c8,_0x5c581b){let [_0x27b5bd,_0x27e4e9,_0x538a71,_0x22671c]=_0x4fcf09(_0xd76b82,_0x1fdbc7,_0x2b50c8);const _0x1d8c9d=_0x1fdbc7-_0x27b5bd,_0x117664=_0x2b50c8['filter'](_0x11bafe=>['hours','minutes','seconds','milliseconds']['indexOf'](_0x11bafe)>=0x0);0x0===_0x117664['length']&&(_0x538a71<_0x1fdbc7&&(_0x538a71=_0x27b5bd['plus']({[_0x22671c]:0x1})),_0x538a71!==_0x27b5bd&&(_0x27e4e9[_0x22671c]=(_0x27e4e9[_0x22671c]||0x0)+_0x1d8c9d/(_0x538a71-_0x27b5bd)));const _0x8330a6=Duration['fromObject'](_0x27e4e9,_0x5c581b);return _0x117664['length']>0x0?Duration['fromMillis'](_0x1d8c9d,_0x5c581b)['shiftTo'](..._0x117664)['plus'](_0x8330a6):_0x8330a6;}const _0xec22d9='missing\x20Intl.DateTimeFormat.formatToParts\x20support';function intUnit(_0x288b68,_0x50df5e=_0x51bd99=>_0x51bd99){return{'regex':_0x288b68,'deser':([_0x570c73])=>_0x50df5e(parseDigits(_0x570c73))};}const _0xfe1513=String['fromCharCode'](0xa0),_0x530ce7='[\x20'+_0xfe1513+']',_0x540050=new RegExp(_0x530ce7,'g');function fixListRegex(_0x1f2845){return _0x1f2845['replace'](/\./g,'\x5c.?')['replace'](_0x540050,_0x530ce7);}function stripInsensitivities(_0x26926a){return _0x26926a['replace'](/\./g,'')['replace'](_0x540050,'\x20')['toLowerCase']();}function _0xd5429c(_0x87b567,_0x290972){return null===_0x87b567?null:{'regex':RegExp(_0x87b567['map'](fixListRegex)['join']('|')),'deser':([_0x6996cd])=>_0x87b567['findIndex'](_0x18d136=>stripInsensitivities(_0x6996cd)===stripInsensitivities(_0x18d136))+_0x290972};}function offset(_0x228807,_0x59efa3){return{'regex':_0x228807,'deser':([,_0x472e5c,_0x118ed2])=>signedOffset(_0x472e5c,_0x118ed2),'groups':_0x59efa3};}function _0x3b1f04(_0x9114c5){return{'regex':_0x9114c5,'deser':([_0x50b7af])=>_0x50b7af};}function _0x4ec582(_0x168cde){return _0x168cde['replace'](/[\-\[\]{}()*+?.,\\\^$|#\s]/g,'\x5c$&');}function unitForToken(_0x5dd3ed,_0x1a1f8a){const _0x10e070=digitRegex(_0x1a1f8a),_0x993a72=digitRegex(_0x1a1f8a,'{2}'),_0x5ae4ec=digitRegex(_0x1a1f8a,'{3}'),_0x3b071a=digitRegex(_0x1a1f8a,'{4}'),_0x13d462=digitRegex(_0x1a1f8a,'{6}'),_0x21e0f7=digitRegex(_0x1a1f8a,'{1,2}'),_0x48c353=digitRegex(_0x1a1f8a,'{1,3}'),_0x35668c=digitRegex(_0x1a1f8a,'{1,6}'),_0x428c1c=digitRegex(_0x1a1f8a,'{1,9}'),_0x23cb25=digitRegex(_0x1a1f8a,'{2,4}'),_0x51e25a=digitRegex(_0x1a1f8a,'{4,6}'),_0x3b529f=t=>({'regex':RegExp(_0x4ec582(t['val'])),'deser':([_0x339ab8])=>_0x339ab8,'literal':!0x0}),_0xbdf9b8=(t=>{if(_0x5dd3ed['literal'])return _0x3b529f(t);switch(t['val']){case'G':return _0xd5429c(_0x1a1f8a['eras']('short'),0x0);case'GG':return _0xd5429c(_0x1a1f8a['eras']('long'),0x0);case'y':return intUnit(_0x35668c);case'yy':case'kk':return intUnit(_0x23cb25,untruncateYear);case'yyyy':case'kkkk':return intUnit(_0x3b071a);case'yyyyy':return intUnit(_0x51e25a);case'yyyyyy':return intUnit(_0x13d462);case'M':case'L':case'd':case'H':case'h':case'm':case'q':case's':case'W':return intUnit(_0x21e0f7);case'MM':case'LL':case'dd':case'HH':case'hh':case'mm':case'qq':case'ss':case'WW':return intUnit(_0x993a72);case'MMM':return _0xd5429c(_0x1a1f8a['months']('short',!0x0),0x1);case'MMMM':return _0xd5429c(_0x1a1f8a['months']('long',!0x0),0x1);case'LLL':return _0xd5429c(_0x1a1f8a['months']('short',!0x1),0x1);case'LLLL':return _0xd5429c(_0x1a1f8a['months']('long',!0x1),0x1);case'o':case'S':return intUnit(_0x48c353);case'ooo':case'SSS':return intUnit(_0x5ae4ec);case'u':return _0x3b1f04(_0x428c1c);case'uu':return _0x3b1f04(_0x21e0f7);case'uuu':case'E':case'c':return intUnit(_0x10e070);case'a':return _0xd5429c(_0x1a1f8a['meridiems'](),0x0);case'EEE':return _0xd5429c(_0x1a1f8a['weekdays']('short',!0x1),0x1);case'EEEE':return _0xd5429c(_0x1a1f8a['weekdays']('long',!0x1),0x1);case'ccc':return _0xd5429c(_0x1a1f8a['weekdays']('short',!0x0),0x1);case'cccc':return _0xd5429c(_0x1a1f8a['weekdays']('long',!0x0),0x1);case'Z':case'ZZ':return offset(new RegExp('([+-]'+_0x21e0f7['source']+')(?::('+_0x993a72['source']+'))?'),0x2);case'ZZZ':return offset(new RegExp('([+-]'+_0x21e0f7['source']+')('+_0x993a72['source']+')?'),0x2);case'z':return _0x3b1f04(/[a-z_+-/]{1,256}?/i);case'\x20':return _0x3b1f04(/[^\S\n\r]/);default:return _0x3b529f(t);}})(_0x5dd3ed)||{'invalidReason':_0xec22d9};return _0xbdf9b8['token']=_0x5dd3ed,_0xbdf9b8;}const partTypeStyleToTokenVal={'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'}};function tokenForPart(_0x15dcfb,_0xf9e26,_0x209ca2){const {type:_0x23ac15,value:_0x5eef3b}=_0x15dcfb;if('literal'===_0x23ac15){const _0xffe0c1=/^\s+$/['test'](_0x5eef3b);return{'literal':!_0xffe0c1,'val':_0xffe0c1?'\x20':_0x5eef3b};}const _0x448c65=_0xf9e26[_0x23ac15];let _0x2bfde7=_0x23ac15;'hour'===_0x23ac15&&(_0x2bfde7=null!=_0xf9e26['hour12']?_0xf9e26['hour12']?'hour12':'hour24':null!=_0xf9e26['hourCycle']?'h11'===_0xf9e26['hourCycle']||'h12'===_0xf9e26['hourCycle']?'hour12':'hour24':_0x209ca2['hour12']?'hour12':'hour24');let _0x2e03d0=partTypeStyleToTokenVal[_0x2bfde7];if('object'==typeof _0x2e03d0&&(_0x2e03d0=_0x2e03d0[_0x448c65]),_0x2e03d0)return{'literal':!0x1,'val':_0x2e03d0};}function _0x470b47(_0x5b76f3){return['^'+_0x5b76f3['map'](_0x164c6d=>_0x164c6d['regex'])['reduce']((_0x15252c,_0x4355fb)=>_0x15252c+'('+_0x4355fb['source']+')','')+'$',_0x5b76f3];}function match(_0x577faf,_0x1858c7,_0x5bf5dd){const _0x59de13=_0x577faf['match'](_0x1858c7);if(_0x59de13){const _0x4beddd={};let _0x34696d=0x1;for(const _0x132f1e in _0x5bf5dd)if(hasOwnProperty(_0x5bf5dd,_0x132f1e)){const _0x5cad38=_0x5bf5dd[_0x132f1e],_0x3d842e=_0x5cad38['groups']?_0x5cad38['groups']+0x1:0x1;!_0x5cad38['literal']&&_0x5cad38['token']&&(_0x4beddd[_0x5cad38['token']['val'][0x0]]=_0x5cad38['deser'](_0x59de13['slice'](_0x34696d,_0x34696d+_0x3d842e))),_0x34696d+=_0x3d842e;}return[_0x59de13,_0x4beddd];}return[_0x59de13,{}];}function dateTimeFromMatches(_0x1d45f2){let _0x422374,_0x47e722=null;_0x1f9e37(_0x1d45f2['z'])||(_0x47e722=_0xf46b7['create'](_0x1d45f2['z'])),_0x1f9e37(_0x1d45f2['Z'])||(_0x47e722||(_0x47e722=new FixedOffsetZone(_0x1d45f2['Z'])),_0x422374=_0x1d45f2['Z']),_0x1f9e37(_0x1d45f2['q'])||(_0x1d45f2['M']=0x3*(_0x1d45f2['q']-0x1)+0x1),_0x1f9e37(_0x1d45f2['h'])||(_0x1d45f2['h']<0xc&&0x1===_0x1d45f2['a']?_0x1d45f2['h']+=0xc:0xc===_0x1d45f2['h']&&0x0===_0x1d45f2['a']&&(_0x1d45f2['h']=0x0)),0x0===_0x1d45f2['G']&&_0x1d45f2['y']&&(_0x1d45f2['y']=-_0x1d45f2['y']),_0x1f9e37(_0x1d45f2['u'])||(_0x1d45f2['S']=_0x5ee93c(_0x1d45f2['u']));const _0x247415=Object['keys'](_0x1d45f2)['reduce']((_0x5262b4,_0x2d3233)=>{const _0x3cc77a=(_0x342ca9=>{switch(_0x342ca9){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;}})(_0x2d3233);return _0x3cc77a&&(_0x5262b4[_0x3cc77a]=_0x1d45f2[_0x2d3233]),_0x5262b4;},{});return[_0x247415,_0x47e722,_0x422374];}let dummyDateTimeCache=null;function getDummyDateTime(){return dummyDateTimeCache||(dummyDateTimeCache=DateTime['fromMillis'](0x16a2e5618e3)),dummyDateTimeCache;}function _0x4b6386(_0x415f26,_0x52dcfc){if(_0x415f26['literal'])return _0x415f26;const _0x17917f=formatOptsToTokens(Formatter['macroTokenToFormatOpts'](_0x415f26['val']),_0x52dcfc);return null==_0x17917f||_0x17917f['includes'](void 0x0)?_0x415f26:_0x17917f;}function _0x14dc3c(_0x44b861,_0x190ebb){return Array['prototype']['concat'](..._0x44b861['map'](t=>_0x4b6386(t,_0x190ebb)));}class _0x19c21e{constructor(_0x3771f8,_0x45867b){if(this['locale']=_0x3771f8,this['format']=_0x45867b,this['tokens']=_0x14dc3c(Formatter['parseFormat'](_0x45867b),_0x3771f8),this['units']=this['tokens']['map'](t=>unitForToken(t,_0x3771f8)),this['disqualifyingUnit']=this['units']['find'](t=>t['invalidReason']),!this['disqualifyingUnit']){const [_0x166613,_0x26bd03]=_0x470b47(this['units']);this['regex']=RegExp(_0x166613,'i'),this['handlers']=_0x26bd03;}}['explainFromTokens'](_0x39c82e){if(this['isValid']){const [_0x111ae4,_0x1f3850]=match(_0x39c82e,this['regex'],this['handlers']),[_0x200622,_0x599541,_0x113a95]=_0x1f3850?dateTimeFromMatches(_0x1f3850):[null,null,void 0x0];if(hasOwnProperty(_0x1f3850,'a')&&hasOwnProperty(_0x1f3850,'H'))throw new ConflictingSpecificationError('Can\x27t\x20include\x20meridiem\x20when\x20specifying\x2024-hour\x20format');return{'input':_0x39c82e,'tokens':this['tokens'],'regex':this['regex'],'rawMatches':_0x111ae4,'matches':_0x1f3850,'result':_0x200622,'zone':_0x599541,'specificOffset':_0x113a95};}return{'input':_0x39c82e,'tokens':this['tokens'],'invalidReason':this['invalidReason']};}get['isValid'](){return!this['disqualifyingUnit'];}get['invalidReason'](){return this['disqualifyingUnit']?this['disqualifyingUnit']['invalidReason']:null;}}function _0x2ee533(_0x41cb24,_0x23cca9,_0x371e16){return new _0x19c21e(_0x41cb24,_0x371e16)['explainFromTokens'](_0x23cca9);}function _0x4f6c66(_0x29fc7f,_0x652b7f,_0x17ec24){const {result:_0x27b850,zone:_0x1e8890,specificOffset:_0x2bc8a6,invalidReason:_0x55a567}=_0x2ee533(_0x29fc7f,_0x652b7f,_0x17ec24);return[_0x27b850,_0x1e8890,_0x2bc8a6,_0x55a567];}function formatOptsToTokens(_0x14b349,_0x22a2d6){if(!_0x14b349)return null;const _0x5742ce=Formatter['create'](_0x22a2d6,_0x14b349)['dtFormatter'](getDummyDateTime()),_0x4700a9=_0x5742ce['formatToParts'](),_0x249c6c=_0x5742ce['resolvedOptions']();return _0x4700a9['map'](_0x56d177=>tokenForPart(_0x56d177,_0x14b349,_0x249c6c));}const _0xd35a02='Invalid\x20DateTime',_0x5bb6db=0x1eb208c2dc0000;function unsupportedZone(_0x43d942){return new _0x350484('unsupported\x20zone','the\x20zone\x20\x22'+_0x43d942['name']+'\x22\x20is\x20not\x20supported');}function possiblyCachedWeekData(_0x2dc430){return null===_0x2dc430['weekData']&&(_0x2dc430['weekData']=_0x4690a0(_0x2dc430['c'])),_0x2dc430['weekData'];}function possiblyCachedLocalWeekData(_0x383734){return null===_0x383734['localWeekData']&&(_0x383734['localWeekData']=_0x4690a0(_0x383734['c'],_0x383734['loc']['getMinDaysInFirstWeek'](),_0x383734['loc']['getStartOfWeek']())),_0x383734['localWeekData'];}function _0x455d78(_0x287ec8,_0x3efb2f){const _0x39c5c1={'ts':_0x287ec8['ts'],'zone':_0x287ec8['zone'],'c':_0x287ec8['c'],'o':_0x287ec8['o'],'loc':_0x287ec8['loc'],'invalid':_0x287ec8['invalid']};return new DateTime({..._0x39c5c1,..._0x3efb2f,'old':_0x39c5c1});}function fixOffset(_0x1eb7ee,_0x4db8de,_0x5cfd97){let _0x5dc5e9=_0x1eb7ee-0x3c*_0x4db8de*0x3e8;const _0x7f66f0=_0x5cfd97['offset'](_0x5dc5e9);if(_0x4db8de===_0x7f66f0)return[_0x5dc5e9,_0x4db8de];_0x5dc5e9-=0x3c*(_0x7f66f0-_0x4db8de)*0x3e8;const _0x16caa0=_0x5cfd97['offset'](_0x5dc5e9);return _0x7f66f0===_0x16caa0?[_0x5dc5e9,_0x7f66f0]:[_0x1eb7ee-0x3c*Math['min'](_0x7f66f0,_0x16caa0)*0x3e8,Math['max'](_0x7f66f0,_0x16caa0)];}function tsToObj(_0x44c598,_0x22b774){const _0x18a804=new Date(_0x44c598+=0x3c*_0x22b774*0x3e8);return{'year':_0x18a804['getUTCFullYear'](),'month':_0x18a804['getUTCMonth']()+0x1,'day':_0x18a804['getUTCDate'](),'hour':_0x18a804['getUTCHours'](),'minute':_0x18a804['getUTCMinutes'](),'second':_0x18a804['getUTCSeconds'](),'millisecond':_0x18a804['getUTCMilliseconds']()};}function _0x502e0c(_0x20a6d4,_0x4a7501,_0x465c67){return fixOffset(_0x5d868a(_0x20a6d4),_0x4a7501,_0x465c67);}function adjustTime(_0x5230a9,_0x2a9e7c){const _0x191ce7=_0x5230a9['o'],_0x29ceeb=_0x5230a9['c']['year']+Math['trunc'](_0x2a9e7c['years']),_0xeb781d=_0x5230a9['c']['month']+Math['trunc'](_0x2a9e7c['months'])+0x3*Math['trunc'](_0x2a9e7c['quarters']),_0x2053e7={..._0x5230a9['c'],'year':_0x29ceeb,'month':_0xeb781d,'day':Math['min'](_0x5230a9['c']['day'],daysInMonth(_0x29ceeb,_0xeb781d))+Math['trunc'](_0x2a9e7c['days'])+0x7*Math['trunc'](_0x2a9e7c['weeks'])},_0x1a99e9=Duration['fromObject']({'years':_0x2a9e7c['years']-Math['trunc'](_0x2a9e7c['years']),'quarters':_0x2a9e7c['quarters']-Math['trunc'](_0x2a9e7c['quarters']),'months':_0x2a9e7c['months']-Math['trunc'](_0x2a9e7c['months']),'weeks':_0x2a9e7c['weeks']-Math['trunc'](_0x2a9e7c['weeks']),'days':_0x2a9e7c['days']-Math['trunc'](_0x2a9e7c['days']),'hours':_0x2a9e7c['hours'],'minutes':_0x2a9e7c['minutes'],'seconds':_0x2a9e7c['seconds'],'milliseconds':_0x2a9e7c['milliseconds']})['as']('milliseconds'),_0x4e72ae=_0x5d868a(_0x2053e7);let [_0x1dfd4c,_0x270efe]=fixOffset(_0x4e72ae,_0x191ce7,_0x5230a9['zone']);return 0x0!==_0x1a99e9&&(_0x1dfd4c+=_0x1a99e9,_0x270efe=_0x5230a9['zone']['offset'](_0x1dfd4c)),{'ts':_0x1dfd4c,'o':_0x270efe};}function parseDataToDateTime(_0x16f9ad,_0x1d0bd3,_0x2f4b31,_0x365ec9,_0x3c7445,_0x3e7d93){const {setZone:_0x232118,zone:_0x30b0ca}=_0x2f4b31;if(_0x16f9ad&&0x0!==Object['keys'](_0x16f9ad)['length']||_0x1d0bd3){const _0x5eee64=_0x1d0bd3||_0x30b0ca,_0x2c0f26=DateTime['fromObject'](_0x16f9ad,{..._0x2f4b31,'zone':_0x5eee64,'specificOffset':_0x3e7d93});return _0x232118?_0x2c0f26:_0x2c0f26['setZone'](_0x30b0ca);}return DateTime['invalid'](new _0x350484('unparsable','the\x20input\x20\x22'+_0x3c7445+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20'+_0x365ec9));}function toTechFormat(_0x2d233c,_0x32f6b4,_0x125602=!0x0){return _0x2d233c['isValid']?Formatter['create'](_0x32ccac['create']('en-US'),{'allowZ':_0x125602,'forceSimple':!0x0})['formatDateTimeFromString'](_0x2d233c,_0x32f6b4):null;}function toISODate(_0x4418b4,_0x5d8fc5){const _0x5c0dfa=_0x4418b4['c']['year']>0x270f||_0x4418b4['c']['year']<0x0;let _0x2fa270='';return _0x5c0dfa&&_0x4418b4['c']['year']>=0x0&&(_0x2fa270+='+'),_0x2fa270+=padStart(_0x4418b4['c']['year'],_0x5c0dfa?0x6:0x4),_0x5d8fc5?(_0x2fa270+='-',_0x2fa270+=padStart(_0x4418b4['c']['month']),_0x2fa270+='-',_0x2fa270+=padStart(_0x4418b4['c']['day'])):(_0x2fa270+=padStart(_0x4418b4['c']['month']),_0x2fa270+=padStart(_0x4418b4['c']['day'])),_0x2fa270;}function toISOTime(_0x4b39ae,_0x3b9182,_0x1bab91,_0x59f90e,_0x3aba56,_0x20ba37){let _0x4e04c5=padStart(_0x4b39ae['c']['hour']);return _0x3b9182?(_0x4e04c5+=':',_0x4e04c5+=padStart(_0x4b39ae['c']['minute']),0x0===_0x4b39ae['c']['millisecond']&&0x0===_0x4b39ae['c']['second']&&_0x1bab91||(_0x4e04c5+=':')):_0x4e04c5+=padStart(_0x4b39ae['c']['minute']),0x0===_0x4b39ae['c']['millisecond']&&0x0===_0x4b39ae['c']['second']&&_0x1bab91||(_0x4e04c5+=padStart(_0x4b39ae['c']['second']),0x0===_0x4b39ae['c']['millisecond']&&_0x59f90e||(_0x4e04c5+='.',_0x4e04c5+=padStart(_0x4b39ae['c']['millisecond'],0x3))),_0x3aba56&&(_0x4b39ae['isOffsetFixed']&&0x0===_0x4b39ae['offset']&&!_0x20ba37?_0x4e04c5+='Z':_0x4b39ae['o']<0x0?(_0x4e04c5+='-',_0x4e04c5+=padStart(Math['trunc'](-_0x4b39ae['o']/0x3c)),_0x4e04c5+=':',_0x4e04c5+=padStart(Math['trunc'](-_0x4b39ae['o']%0x3c))):(_0x4e04c5+='+',_0x4e04c5+=padStart(Math['trunc'](_0x4b39ae['o']/0x3c)),_0x4e04c5+=':',_0x4e04c5+=padStart(Math['trunc'](_0x4b39ae['o']%0x3c)))),_0x20ba37&&(_0x4e04c5+='['+_0x4b39ae['zone']['ianaName']+']'),_0x4e04c5;}const defaultUnitValues={'month':0x1,'day':0x1,'hour':0x0,'minute':0x0,'second':0x0,'millisecond':0x0},defaultWeekUnitValues={'weekNumber':0x1,'weekday':0x1,'hour':0x0,'minute':0x0,'second':0x0,'millisecond':0x0},defaultOrdinalUnitValues={'ordinal':0x1,'hour':0x0,'minute':0x0,'second':0x0,'millisecond':0x0},orderedUnits=['year','month','day','hour','minute','second','millisecond'],orderedWeekUnits=['weekYear','weekNumber','weekday','hour','minute','second','millisecond'],orderedOrdinalUnits=['year','ordinal','hour','minute','second','millisecond'];function normalizeUnit(_0x19b287){const _0x31db15={'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'}[_0x19b287['toLowerCase']()];if(!_0x31db15)throw new InvalidUnitError(_0x19b287);return _0x31db15;}function normalizeUnitWithLocalWeeks(_0x2e088c){switch(_0x2e088c['toLowerCase']()){case'localweekday':case'localweekdays':return'localWeekday';case'localweeknumber':case'localweeknumbers':return'localWeekNumber';case'localweekyear':case'localweekyears':return'localWeekYear';default:return normalizeUnit(_0x2e088c);}}function guessOffsetForZone(_0x57111d){if(void 0x0===zoneOffsetTs&&(zoneOffsetTs=Settings['now']()),'iana'!==_0x57111d['type'])return _0x57111d['offset'](zoneOffsetTs);const _0x54dba1=_0x57111d['name'];let _0x4c0345=zoneOffsetGuessCache['get'](_0x54dba1);return void 0x0===_0x4c0345&&(_0x4c0345=_0x57111d['offset'](zoneOffsetTs),zoneOffsetGuessCache['set'](_0x54dba1,_0x4c0345)),_0x4c0345;}function _0x2708af(_0x54d6c3,_0x5cbf5f){const _0x2d265a=_0x163936(_0x5cbf5f['zone'],Settings['defaultZone']);if(!_0x2d265a['isValid'])return DateTime['invalid'](unsupportedZone(_0x2d265a));const _0x241b46=_0x32ccac['fromObject'](_0x5cbf5f);let _0x741045,_0x590137;if(_0x1f9e37(_0x54d6c3['year']))_0x741045=Settings['now']();else{for(const _0x25a022 of orderedUnits)_0x1f9e37(_0x54d6c3[_0x25a022])&&(_0x54d6c3[_0x25a022]=defaultUnitValues[_0x25a022]);const _0x28bc5b=hasInvalidGregorianData(_0x54d6c3)||hasInvalidTimeData(_0x54d6c3);if(_0x28bc5b)return DateTime['invalid'](_0x28bc5b);const _0x3c3b3b=guessOffsetForZone(_0x2d265a);[_0x741045,_0x590137]=_0x502e0c(_0x54d6c3,_0x3c3b3b,_0x2d265a);}return new DateTime({'ts':_0x741045,'zone':_0x2d265a,'loc':_0x241b46,'o':_0x590137});}function diffRelative(_0x10e047,_0x5a7415,_0x1212e3){const _0x43bd1b=!!_0x1f9e37(_0x1212e3['round'])||_0x1212e3['round'],_0x3661ca=(_0x33508a,_0x4beee1)=>{return _0x33508a=_0x78588f(_0x33508a,_0x43bd1b||_0x1212e3['calendary']?0x0:0x2,!0x0),_0x5a7415['loc']['clone'](_0x1212e3)['relFormatter'](_0x1212e3)['format'](_0x33508a,_0x4beee1);},_0x3588cd=_0x1ee448=>_0x1212e3['calendary']?_0x5a7415['hasSame'](_0x10e047,_0x1ee448)?0x0:_0x5a7415['startOf'](_0x1ee448)['diff'](_0x10e047['startOf'](_0x1ee448),_0x1ee448)['get'](_0x1ee448):_0x5a7415['diff'](_0x10e047,_0x1ee448)['get'](_0x1ee448);if(_0x1212e3['unit'])return _0x3661ca(_0x3588cd(_0x1212e3['unit']),_0x1212e3['unit']);for(const _0x5ab3a3 of _0x1212e3['units']){const _0x58c218=_0x3588cd(_0x5ab3a3);if(Math['abs'](_0x58c218)>=0x1)return _0x3661ca(_0x58c218,_0x5ab3a3);}return _0x3661ca(_0x10e047>_0x5a7415?-0x0:0x0,_0x1212e3['units'][_0x1212e3['units']['length']-0x1]);}function lastOpts(_0x4b7183){let _0xf5e469,_0x11b26b={};return _0x4b7183['length']>0x0&&'object'==typeof _0x4b7183[_0x4b7183['length']-0x1]?(_0x11b26b=_0x4b7183[_0x4b7183['length']-0x1],_0xf5e469=Array['from'](_0x4b7183)['slice'](0x0,_0x4b7183['length']-0x1)):_0xf5e469=Array['from'](_0x4b7183),[_0x11b26b,_0xf5e469];}let zoneOffsetTs;const zoneOffsetGuessCache=new Map();class DateTime{constructor(_0x58b1b1){const _0x1e0f6d=_0x58b1b1['zone']||Settings['defaultZone'];let _0x5bd0a2=_0x58b1b1['invalid']||(Number['isNaN'](_0x58b1b1['ts'])?new _0x350484('invalid\x20input'):null)||(_0x1e0f6d['isValid']?null:unsupportedZone(_0x1e0f6d));this['ts']=_0x1f9e37(_0x58b1b1['ts'])?Settings['now']():_0x58b1b1['ts'];let _0x436f27=null,_0x458dee=null;if(!_0x5bd0a2){if(_0x58b1b1['old']&&_0x58b1b1['old']['ts']===this['ts']&&_0x58b1b1['old']['zone']['equals'](_0x1e0f6d))[_0x436f27,_0x458dee]=[_0x58b1b1['old']['c'],_0x58b1b1['old']['o']];else{const _0xe9df30=_0x14a4c7(_0x58b1b1['o'])&&!_0x58b1b1['old']?_0x58b1b1['o']:_0x1e0f6d['offset'](this['ts']);_0x436f27=tsToObj(this['ts'],_0xe9df30),_0x5bd0a2=Number['isNaN'](_0x436f27['year'])?new _0x350484('invalid\x20input'):null,_0x436f27=_0x5bd0a2?null:_0x436f27,_0x458dee=_0x5bd0a2?null:_0xe9df30;}}this['_zone']=_0x1e0f6d,this['loc']=_0x58b1b1['loc']||_0x32ccac['create'](),this['invalid']=_0x5bd0a2,this['weekData']=null,this['localWeekData']=null,this['c']=_0x436f27,this['o']=_0x458dee,this['isLuxonDateTime']=!0x0;}static['now'](){return new DateTime({});}static['local'](){const [_0x21a876,_0x3714dc]=lastOpts(arguments),[_0x57dd04,_0x1a8bee,_0x5b1e28,_0x1886b5,_0x27ad63,_0x3006d6,_0x3f46c2]=_0x3714dc;return _0x2708af({'year':_0x57dd04,'month':_0x1a8bee,'day':_0x5b1e28,'hour':_0x1886b5,'minute':_0x27ad63,'second':_0x3006d6,'millisecond':_0x3f46c2},_0x21a876);}static['utc'](){const [_0x50f98d,_0x2d513d]=lastOpts(arguments),[_0x13f923,_0x590e5a,_0x15b4f6,_0x2960dd,_0x416d5b,_0x148605,_0x2c9314]=_0x2d513d;return _0x50f98d['zone']=FixedOffsetZone['utcInstance'],_0x2708af({'year':_0x13f923,'month':_0x590e5a,'day':_0x15b4f6,'hour':_0x2960dd,'minute':_0x416d5b,'second':_0x148605,'millisecond':_0x2c9314},_0x50f98d);}static['fromJSDate'](_0x5a0eb5,_0x404e2c={}){const _0x233ddd=isDate(_0x5a0eb5)?_0x5a0eb5['valueOf']():NaN;if(Number['isNaN'](_0x233ddd))return DateTime['invalid']('invalid\x20input');const _0x506732=_0x163936(_0x404e2c['zone'],Settings['defaultZone']);return _0x506732['isValid']?new DateTime({'ts':_0x233ddd,'zone':_0x506732,'loc':_0x32ccac['fromObject'](_0x404e2c)}):DateTime['invalid'](unsupportedZone(_0x506732));}static['fromMillis'](_0x796136,_0x458b65={}){if(_0x14a4c7(_0x796136))return _0x796136<-_0x5bb6db||_0x796136>_0x5bb6db?DateTime['invalid']('Timestamp\x20out\x20of\x20range'):new DateTime({'ts':_0x796136,'zone':_0x163936(_0x458b65['zone'],Settings['defaultZone']),'loc':_0x32ccac['fromObject'](_0x458b65)});throw new InvalidArgumentError('fromMillis\x20requires\x20a\x20numerical\x20input,\x20but\x20received\x20a\x20'+typeof _0x796136+'\x20with\x20value\x20'+_0x796136);}static['fromSeconds'](_0x127828,_0x527c50={}){if(_0x14a4c7(_0x127828))return new DateTime({'ts':0x3e8*_0x127828,'zone':_0x163936(_0x527c50['zone'],Settings['defaultZone']),'loc':_0x32ccac['fromObject'](_0x527c50)});throw new InvalidArgumentError('fromSeconds\x20requires\x20a\x20numerical\x20input');}static['fromObject'](_0x48858b,_0x461e91={}){_0x48858b=_0x48858b||{};const _0x3ab0d5=_0x163936(_0x461e91['zone'],Settings['defaultZone']);if(!_0x3ab0d5['isValid'])return DateTime['invalid'](unsupportedZone(_0x3ab0d5));const _0x5176e9=_0x32ccac['fromObject'](_0x461e91),_0x2363ac=normalizeObject(_0x48858b,normalizeUnitWithLocalWeeks),{minDaysInFirstWeek:_0x1f0e8a,startOfWeek:_0x599602}=_0x1d378e(_0x2363ac,_0x5176e9),_0x1d198a=Settings['now'](),_0x2f76d5=_0x1f9e37(_0x461e91['specificOffset'])?_0x3ab0d5['offset'](_0x1d198a):_0x461e91['specificOffset'],_0x576609=!_0x1f9e37(_0x2363ac['ordinal']),_0x22b320=!_0x1f9e37(_0x2363ac['year']),_0x1545e6=!_0x1f9e37(_0x2363ac['month'])||!_0x1f9e37(_0x2363ac['day']),_0x7a965f=_0x22b320||_0x1545e6,_0x1878c7=_0x2363ac['weekYear']||_0x2363ac['weekNumber'];if((_0x7a965f||_0x576609)&&_0x1878c7)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20weekYear/weekNumber\x20units\x20with\x20year/month/day\x20or\x20ordinals');if(_0x1545e6&&_0x576609)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20ordinal\x20dates\x20with\x20month/day');const _0xa6bfe4=_0x1878c7||_0x2363ac['weekday']&&!_0x7a965f;let _0x169e47,_0x1f8d3e,_0x18981b=tsToObj(_0x1d198a,_0x2f76d5);_0xa6bfe4?(_0x169e47=orderedWeekUnits,_0x1f8d3e=defaultWeekUnitValues,_0x18981b=_0x4690a0(_0x18981b,_0x1f0e8a,_0x599602)):_0x576609?(_0x169e47=orderedOrdinalUnits,_0x1f8d3e=defaultOrdinalUnitValues,_0x18981b=_0x30bbc0(_0x18981b)):(_0x169e47=orderedUnits,_0x1f8d3e=defaultUnitValues);let _0x461429=!0x1;for(const _0x4ec95c of _0x169e47){_0x1f9e37(_0x2363ac[_0x4ec95c])?_0x2363ac[_0x4ec95c]=_0x461429?_0x1f8d3e[_0x4ec95c]:_0x18981b[_0x4ec95c]:_0x461429=!0x0;}const _0x57dc6e=(_0xa6bfe4?hasInvalidWeekData(_0x2363ac,_0x1f0e8a,_0x599602):_0x576609?hasInvalidOrdinalData(_0x2363ac):hasInvalidGregorianData(_0x2363ac))||hasInvalidTimeData(_0x2363ac);if(_0x57dc6e)return DateTime['invalid'](_0x57dc6e);const _0x4c3a9a=_0xa6bfe4?_0x2c6499(_0x2363ac,_0x1f0e8a,_0x599602):_0x576609?_0x4c96f9(_0x2363ac):_0x2363ac,[_0x43e772,_0x2124c7]=_0x502e0c(_0x4c3a9a,_0x2f76d5,_0x3ab0d5),_0x7b114a=new DateTime({'ts':_0x43e772,'zone':_0x3ab0d5,'o':_0x2124c7,'loc':_0x5176e9});return _0x2363ac['weekday']&&_0x7a965f&&_0x48858b['weekday']!==_0x7b114a['weekday']?DateTime['invalid']('mismatched\x20weekday','you\x20can\x27t\x20specify\x20both\x20a\x20weekday\x20of\x20'+_0x2363ac['weekday']+'\x20and\x20a\x20date\x20of\x20'+_0x7b114a['toISO']()):_0x7b114a['isValid']?_0x7b114a:DateTime['invalid'](_0x7b114a['invalid']);}static['fromISO'](_0x4b28f3,_0x835a31={}){const [_0xfaee7a,_0x4118f3]=parseISODate(_0x4b28f3);return parseDataToDateTime(_0xfaee7a,_0x4118f3,_0x835a31,'ISO\x208601',_0x4b28f3);}static['fromRFC2822'](_0x1f46bf,_0x1abd27={}){const [_0x2df7fd,_0x3cdcc9]=parseRFC2822Date(_0x1f46bf);return parseDataToDateTime(_0x2df7fd,_0x3cdcc9,_0x1abd27,'RFC\x202822',_0x1f46bf);}static['fromHTTP'](_0x514f29,_0x5523c7={}){const [_0x140132,_0x5e8715]=parseHTTPDate(_0x514f29);return parseDataToDateTime(_0x140132,_0x5e8715,_0x5523c7,'HTTP',_0x5523c7);}static['fromFormat'](_0x193109,_0x4f4295,_0x90edec={}){if(_0x1f9e37(_0x193109)||_0x1f9e37(_0x4f4295))throw new InvalidArgumentError('fromFormat\x20requires\x20an\x20input\x20string\x20and\x20a\x20format');const {locale:_0xb67ee6=null,numberingSystem:_0x4680a6=null}=_0x90edec,_0x55a9d8=_0x32ccac['fromOpts']({'locale':_0xb67ee6,'numberingSystem':_0x4680a6,'defaultToEN':!0x0}),[_0x899208,_0x471160,_0x5e68a1,_0x5e2831]=_0x4f6c66(_0x55a9d8,_0x193109,_0x4f4295);return _0x5e2831?DateTime['invalid'](_0x5e2831):parseDataToDateTime(_0x899208,_0x471160,_0x90edec,'format\x20'+_0x4f4295,_0x193109,_0x5e68a1);}static['fromString'](_0x2b3f2d,_0x35ac4b,_0x512169={}){return DateTime['fromFormat'](_0x2b3f2d,_0x35ac4b,_0x512169);}static['fromSQL'](_0x3cd739,_0x139c9b={}){const [_0x109224,_0x1ee5fd]=_0x274075(_0x3cd739);return parseDataToDateTime(_0x109224,_0x1ee5fd,_0x139c9b,'SQL',_0x3cd739);}static['invalid'](_0x243b8d,_0x46b701=null){if(!_0x243b8d)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20DateTime\x20is\x20invalid');const _0x23526e=_0x243b8d instanceof _0x350484?_0x243b8d:new _0x350484(_0x243b8d,_0x46b701);if(Settings['throwOnInvalid'])throw new InvalidDateTimeError(_0x23526e);return new DateTime({'invalid':_0x23526e});}static['isDateTime'](_0x8c4021){return _0x8c4021&&_0x8c4021['isLuxonDateTime']||!0x1;}static['parseFormatForOpts'](_0x38388e,_0x3583de={}){const _0x578bb2=formatOptsToTokens(_0x38388e,_0x32ccac['fromObject'](_0x3583de));return _0x578bb2?_0x578bb2['map'](t=>t?t['val']:null)['join'](''):null;}static['expandFormat'](_0x2573dc,_0x1acaf3={}){return _0x14dc3c(Formatter['parseFormat'](_0x2573dc),_0x32ccac['fromObject'](_0x1acaf3))['map'](t=>t['val'])['join']('');}static['resetCache'](){zoneOffsetTs=void 0x0,zoneOffsetGuessCache['clear']();}['get'](_0x313200){return this[_0x313200];}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']?possiblyCachedWeekData(this)['weekYear']:NaN;}get['weekNumber'](){return this['isValid']?possiblyCachedWeekData(this)['weekNumber']:NaN;}get['weekday'](){return this['isValid']?possiblyCachedWeekData(this)['weekday']:NaN;}get['isWeekend'](){return this['isValid']&&this['loc']['getWeekendDays']()['includes'](this['weekday']);}get['localWeekday'](){return this['isValid']?possiblyCachedLocalWeekData(this)['weekday']:NaN;}get['localWeekNumber'](){return this['isValid']?possiblyCachedLocalWeekData(this)['weekNumber']:NaN;}get['localWeekYear'](){return this['isValid']?possiblyCachedLocalWeekData(this)['weekYear']:NaN;}get['ordinal'](){return this['isValid']?_0x30bbc0(this['c'])['ordinal']:NaN;}get['monthShort'](){return this['isValid']?_0x3c09de['months']('short',{'locObj':this['loc']})[this['month']-0x1]:null;}get['monthLong'](){return this['isValid']?_0x3c09de['months']('long',{'locObj':this['loc']})[this['month']-0x1]:null;}get['weekdayShort'](){return this['isValid']?_0x3c09de['weekdays']('short',{'locObj':this['loc']})[this['weekday']-0x1]:null;}get['weekdayLong'](){return this['isValid']?_0x3c09de['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 _0x2a3055=0x5265c00,_0x297b30=0xea60,_0x3126b9=_0x5d868a(this['c']),_0x36bd8a=this['zone']['offset'](_0x3126b9-_0x2a3055),_0x24adbf=this['zone']['offset'](_0x3126b9+_0x2a3055),_0x65f47e=this['zone']['offset'](_0x3126b9-_0x36bd8a*_0x297b30),_0xd9f7aa=this['zone']['offset'](_0x3126b9-_0x24adbf*_0x297b30);if(_0x65f47e===_0xd9f7aa)return[this];const _0x348c24=_0x3126b9-_0x65f47e*_0x297b30,_0x618822=_0x3126b9-_0xd9f7aa*_0x297b30,_0x4f38b5=tsToObj(_0x348c24,_0x65f47e),_0x1baae2=tsToObj(_0x618822,_0xd9f7aa);return _0x4f38b5['hour']===_0x1baae2['hour']&&_0x4f38b5['minute']===_0x1baae2['minute']&&_0x4f38b5['second']===_0x1baae2['second']&&_0x4f38b5['millisecond']===_0x1baae2['millisecond']?[_0x455d78(this,{'ts':_0x348c24}),_0x455d78(this,{'ts':_0x618822})]:[this];}get['isInLeapYear'](){return _0x3820b3(this['year']);}get['daysInMonth'](){return daysInMonth(this['year'],this['month']);}get['daysInYear'](){return this['isValid']?_0x4c122c(this['year']):NaN;}get['weeksInWeekYear'](){return this['isValid']?_0x5c349a(this['weekYear']):NaN;}get['weeksInLocalWeekYear'](){return this['isValid']?_0x5c349a(this['localWeekYear'],this['loc']['getMinDaysInFirstWeek'](),this['loc']['getStartOfWeek']()):NaN;}['resolvedLocaleOptions'](_0x2ea0a0={}){const {locale:_0x427d61,numberingSystem:_0x3d301a,calendar:_0x5b7441}=Formatter['create'](this['loc']['clone'](_0x2ea0a0),_0x2ea0a0)['resolvedOptions'](this);return{'locale':_0x427d61,'numberingSystem':_0x3d301a,'outputCalendar':_0x5b7441};}['toUTC'](_0xc731a8=0x0,_0x13cd50={}){return this['setZone'](FixedOffsetZone['instance'](_0xc731a8),_0x13cd50);}['toLocal'](){return this['setZone'](Settings['defaultZone']);}['setZone'](_0x2ae47b,{keepLocalTime:_0x102375=!0x1,keepCalendarTime:_0x3a7e05=!0x1}={}){if((_0x2ae47b=_0x163936(_0x2ae47b,Settings['defaultZone']))['equals'](this['zone']))return this;if(_0x2ae47b['isValid']){let _0x5d7bf7=this['ts'];if(_0x102375||_0x3a7e05){const _0x3e5de2=_0x2ae47b['offset'](this['ts']),_0x50a847=this['toObject']();[_0x5d7bf7]=_0x502e0c(_0x50a847,_0x3e5de2,_0x2ae47b);}return _0x455d78(this,{'ts':_0x5d7bf7,'zone':_0x2ae47b});}return DateTime['invalid'](unsupportedZone(_0x2ae47b));}['reconfigure']({locale:_0x332bfe,numberingSystem:_0x25e12c,outputCalendar:_0x2cee}={}){return _0x455d78(this,{'loc':this['loc']['clone']({'locale':_0x332bfe,'numberingSystem':_0x25e12c,'outputCalendar':_0x2cee})});}['setLocale'](_0x5d474f){return this['reconfigure']({'locale':_0x5d474f});}['set'](_0x1e76f8){if(!this['isValid'])return this;const _0x5b8dc2=normalizeObject(_0x1e76f8,normalizeUnitWithLocalWeeks),{minDaysInFirstWeek:_0x374c84,startOfWeek:_0x4efd4e}=_0x1d378e(_0x5b8dc2,this['loc']),_0x4bbb86=!_0x1f9e37(_0x5b8dc2['weekYear'])||!_0x1f9e37(_0x5b8dc2['weekNumber'])||!_0x1f9e37(_0x5b8dc2['weekday']),_0x415ce1=!_0x1f9e37(_0x5b8dc2['ordinal']),_0x2a5309=!_0x1f9e37(_0x5b8dc2['year']),_0x4beb23=!_0x1f9e37(_0x5b8dc2['month'])||!_0x1f9e37(_0x5b8dc2['day']),_0x23fc34=_0x2a5309||_0x4beb23,_0x2884df=_0x5b8dc2['weekYear']||_0x5b8dc2['weekNumber'];if((_0x23fc34||_0x415ce1)&&_0x2884df)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20weekYear/weekNumber\x20units\x20with\x20year/month/day\x20or\x20ordinals');if(_0x4beb23&&_0x415ce1)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20ordinal\x20dates\x20with\x20month/day');let _0x5217ae;_0x4bbb86?_0x5217ae=_0x2c6499({..._0x4690a0(this['c'],_0x374c84,_0x4efd4e),..._0x5b8dc2},_0x374c84,_0x4efd4e):_0x1f9e37(_0x5b8dc2['ordinal'])?(_0x5217ae={...this['toObject'](),..._0x5b8dc2},_0x1f9e37(_0x5b8dc2['day'])&&(_0x5217ae['day']=Math['min'](daysInMonth(_0x5217ae['year'],_0x5217ae['month']),_0x5217ae['day']))):_0x5217ae=_0x4c96f9({..._0x30bbc0(this['c']),..._0x5b8dc2});const [_0xf0eee9,_0x382f5d]=_0x502e0c(_0x5217ae,this['o'],this['zone']);return _0x455d78(this,{'ts':_0xf0eee9,'o':_0x382f5d});}['plus'](_0x125856){if(!this['isValid'])return this;return _0x455d78(this,adjustTime(this,Duration['fromDurationLike'](_0x125856)));}['minus'](_0x2eaedb){if(!this['isValid'])return this;return _0x455d78(this,adjustTime(this,Duration['fromDurationLike'](_0x2eaedb)['negate']()));}['startOf'](_0x2cd52b,{useLocaleWeeks:_0x29fb86=!0x1}={}){if(!this['isValid'])return this;const _0x3594f7={},_0xf6414e=Duration['normalizeUnit'](_0x2cd52b);switch(_0xf6414e){case'years':_0x3594f7['month']=0x1;case'quarters':case'months':_0x3594f7['day']=0x1;case'weeks':case'days':_0x3594f7['hour']=0x0;case'hours':_0x3594f7['minute']=0x0;case'minutes':_0x3594f7['second']=0x0;case'seconds':_0x3594f7['millisecond']=0x0;}if('weeks'===_0xf6414e){if(_0x29fb86){const _0x5be1b7=this['loc']['getStartOfWeek'](),{weekday:_0x100ffc}=this;_0x100ffc<_0x5be1b7&&(_0x3594f7['weekNumber']=this['weekNumber']-0x1),_0x3594f7['weekday']=_0x5be1b7;}else _0x3594f7['weekday']=0x1;}if('quarters'===_0xf6414e){const _0xd2ee8c=Math['ceil'](this['month']/0x3);_0x3594f7['month']=0x3*(_0xd2ee8c-0x1)+0x1;}return this['set'](_0x3594f7);}['endOf'](_0x25a96b,_0x5372e3){return this['isValid']?this['plus']({[_0x25a96b]:0x1})['startOf'](_0x25a96b,_0x5372e3)['minus'](0x1):this;}['toFormat'](_0x31e86a,_0x5ec04a={}){return this['isValid']?Formatter['create'](this['loc']['redefaultToEN'](_0x5ec04a))['formatDateTimeFromString'](this,_0x31e86a):_0xd35a02;}['toLocaleString'](_0x317fe7=_0x50e5c0,_0xe28ee4={}){return this['isValid']?Formatter['create'](this['loc']['clone'](_0xe28ee4),_0x317fe7)['formatDateTime'](this):_0xd35a02;}['toLocaleParts'](_0x214636={}){return this['isValid']?Formatter['create'](this['loc']['clone'](_0x214636),_0x214636)['formatDateTimeParts'](this):[];}['toISO']({format:_0x29b6d6='extended',suppressSeconds:_0x3acd17=!0x1,suppressMilliseconds:_0x5e8053=!0x1,includeOffset:_0x45b73e=!0x0,extendedZone:_0x427f9d=!0x1}={}){if(!this['isValid'])return null;const _0x1289d8='extended'===_0x29b6d6;let _0x383f70=toISODate(this,_0x1289d8);return _0x383f70+='T',_0x383f70+=toISOTime(this,_0x1289d8,_0x3acd17,_0x5e8053,_0x45b73e,_0x427f9d),_0x383f70;}['toISODate']({format:_0x98a210='extended'}={}){return this['isValid']?toISODate(this,'extended'===_0x98a210):null;}['toISOWeekDate'](){return toTechFormat(this,'kkkk-\x27W\x27WW-c');}['toISOTime']({suppressMilliseconds:_0x100f38=!0x1,suppressSeconds:_0x4e66d8=!0x1,includeOffset:_0x20d220=!0x0,includePrefix:_0x478ed7=!0x1,extendedZone:_0x5d5297=!0x1,format:_0x22d99c='extended'}={}){if(!this['isValid'])return null;return(_0x478ed7?'T':'')+toISOTime(this,'extended'===_0x22d99c,_0x4e66d8,_0x100f38,_0x20d220,_0x5d5297);}['toRFC2822'](){return toTechFormat(this,'EEE,\x20dd\x20LLL\x20yyyy\x20HH:mm:ss\x20ZZZ',!0x1);}['toHTTP'](){return toTechFormat(this['toUTC'](),'EEE,\x20dd\x20LLL\x20yyyy\x20HH:mm:ss\x20\x27GMT\x27');}['toSQLDate'](){return this['isValid']?toISODate(this,!0x0):null;}['toSQLTime']({includeOffset:_0x1a95dc=!0x0,includeZone:_0x2d9f2f=!0x1,includeOffsetSpace:_0x216157=!0x0}={}){let _0x51a8a6='HH:mm:ss.SSS';return(_0x2d9f2f||_0x1a95dc)&&(_0x216157&&(_0x51a8a6+='\x20'),_0x2d9f2f?_0x51a8a6+='z':_0x1a95dc&&(_0x51a8a6+='ZZ')),toTechFormat(this,_0x51a8a6,!0x0);}['toSQL'](_0x2887b9={}){return this['isValid']?this['toSQLDate']()+'\x20'+this['toSQLTime'](_0x2887b9):null;}['toString'](){return this['isValid']?this['toISO']():_0xd35a02;}[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'](_0x14026e={}){if(!this['isValid'])return{};const _0x512359={...this['c']};return _0x14026e['includeConfig']&&(_0x512359['outputCalendar']=this['outputCalendar'],_0x512359['numberingSystem']=this['loc']['numberingSystem'],_0x512359['locale']=this['loc']['locale']),_0x512359;}['toJSDate'](){return new Date(this['isValid']?this['ts']:NaN);}['diff'](_0x22eaee,_0x478aee='milliseconds',_0x1591e6={}){if(!this['isValid']||!_0x22eaee['isValid'])return Duration['invalid']('created\x20by\x20diffing\x20an\x20invalid\x20DateTime');const _0x3c4e4f={'locale':this['locale'],'numberingSystem':this['numberingSystem'],..._0x1591e6},_0xc4cf77=_0x36e8b8(_0x478aee)['map'](Duration['normalizeUnit']),_0x5c364c=_0x22eaee['valueOf']()>this['valueOf'](),_0x3b5210=_0xe7921d(_0x5c364c?this:_0x22eaee,_0x5c364c?_0x22eaee:this,_0xc4cf77,_0x3c4e4f);return _0x5c364c?_0x3b5210['negate']():_0x3b5210;}['diffNow'](_0x2d026f='milliseconds',_0x3814b6={}){return this['diff'](DateTime['now'](),_0x2d026f,_0x3814b6);}['until'](_0x42d4fd){return this['isValid']?Interval['fromDateTimes'](this,_0x42d4fd):this;}['hasSame'](_0x201f29,_0x3226e2,_0x1c2219){if(!this['isValid'])return!0x1;const _0x3e2bf0=_0x201f29['valueOf'](),_0x74ba3e=this['setZone'](_0x201f29['zone'],{'keepLocalTime':!0x0});return _0x74ba3e['startOf'](_0x3226e2,_0x1c2219)<=_0x3e2bf0&&_0x3e2bf0<=_0x74ba3e['endOf'](_0x3226e2,_0x1c2219);}['equals'](_0x2b3d7a){return this['isValid']&&_0x2b3d7a['isValid']&&this['valueOf']()===_0x2b3d7a['valueOf']()&&this['zone']['equals'](_0x2b3d7a['zone'])&&this['loc']['equals'](_0x2b3d7a['loc']);}['toRelative'](_0x388e41={}){if(!this['isValid'])return null;const _0x825abe=_0x388e41['base']||DateTime['fromObject']({},{'zone':this['zone']}),_0x4c6d50=_0x388e41['padding']?this<_0x825abe?-_0x388e41['padding']:_0x388e41['padding']:0x0;let _0xd59c08=['years','months','days','hours','minutes','seconds'],_0x4e27a6=_0x388e41['unit'];return Array['isArray'](_0x388e41['unit'])&&(_0xd59c08=_0x388e41['unit'],_0x4e27a6=void 0x0),diffRelative(_0x825abe,this['plus'](_0x4c6d50),{..._0x388e41,'numeric':'always','units':_0xd59c08,'unit':_0x4e27a6});}['toRelativeCalendar'](_0x1611a8={}){return this['isValid']?diffRelative(_0x1611a8['base']||DateTime['fromObject']({},{'zone':this['zone']}),this,{..._0x1611a8,'numeric':'auto','units':['years','months','days'],'calendary':!0x0}):null;}static['min'](..._0x3431fe){if(!_0x3431fe['every'](DateTime['isDateTime']))throw new InvalidArgumentError('min\x20requires\x20all\x20arguments\x20be\x20DateTimes');return bestBy(_0x3431fe,_0x18b5f1=>_0x18b5f1['valueOf'](),Math['min']);}static['max'](..._0xdb1d59){if(!_0xdb1d59['every'](DateTime['isDateTime']))throw new InvalidArgumentError('max\x20requires\x20all\x20arguments\x20be\x20DateTimes');return bestBy(_0xdb1d59,_0x18a257=>_0x18a257['valueOf'](),Math['max']);}static['fromFormatExplain'](_0x198d9f,_0x52f349,_0x129594={}){const {locale:_0x4c9612=null,numberingSystem:_0x50fef9=null}=_0x129594;return _0x2ee533(_0x32ccac['fromOpts']({'locale':_0x4c9612,'numberingSystem':_0x50fef9,'defaultToEN':!0x0}),_0x198d9f,_0x52f349);}static['fromStringExplain'](_0x554421,_0x2cc69d,_0x538e1d={}){return DateTime['fromFormatExplain'](_0x554421,_0x2cc69d,_0x538e1d);}static['buildFormatParser'](_0x321e11,_0x544eca={}){const {locale:_0x5bba31=null,numberingSystem:_0x588dc5=null}=_0x544eca,_0x30f38f=_0x32ccac['fromOpts']({'locale':_0x5bba31,'numberingSystem':_0x588dc5,'defaultToEN':!0x0});return new _0x19c21e(_0x30f38f,_0x321e11);}static['fromFormatParser'](_0x568465,_0x24160a,_0x153d36={}){if(_0x1f9e37(_0x568465)||_0x1f9e37(_0x24160a))throw new InvalidArgumentError('fromFormatParser\x20requires\x20an\x20input\x20string\x20and\x20a\x20format\x20parser');const {locale:_0x30a083=null,numberingSystem:_0x21a103=null}=_0x153d36,_0x3f658a=_0x32ccac['fromOpts']({'locale':_0x30a083,'numberingSystem':_0x21a103,'defaultToEN':!0x0});if(!_0x3f658a['equals'](_0x24160a['locale']))throw new InvalidArgumentError('fromFormatParser\x20called\x20with\x20a\x20locale\x20of\x20'+_0x3f658a+',\x20but\x20the\x20format\x20parser\x20was\x20created\x20for\x20'+_0x24160a['locale']);const {result:_0x253c59,zone:_0x483ba8,specificOffset:_0x23737d,invalidReason:_0x1917b8}=_0x24160a['explainFromTokens'](_0x568465);return _0x1917b8?DateTime['invalid'](_0x1917b8):parseDataToDateTime(_0x253c59,_0x483ba8,_0x153d36,'format\x20'+_0x24160a['format'],_0x568465,_0x23737d);}static get['DATE_SHORT'](){return _0x50e5c0;}static get['DATE_MED'](){return _0x33707c;}static get['DATE_MED_WITH_WEEKDAY'](){return _0x31692b;}static get['DATE_FULL'](){return _0x293996;}static get['DATE_HUGE'](){return _0x3cf38e;}static get['TIME_SIMPLE'](){return _0x296165;}static get['TIME_WITH_SECONDS'](){return _0xcfb537;}static get['TIME_WITH_SHORT_OFFSET'](){return _0x4bcb77;}static get['TIME_WITH_LONG_OFFSET'](){return _0x49364f;}static get['TIME_24_SIMPLE'](){return _0x208169;}static get['TIME_24_WITH_SECONDS'](){return _0x498867;}static get['TIME_24_WITH_SHORT_OFFSET'](){return _0x4083ba;}static get['TIME_24_WITH_LONG_OFFSET'](){return _0x362046;}static get['DATETIME_SHORT'](){return _0x25ee82;}static get['DATETIME_SHORT_WITH_SECONDS'](){return _0x4b47cc;}static get['DATETIME_MED'](){return _0x1f3a5e;}static get['DATETIME_MED_WITH_SECONDS'](){return _0x2930fe;}static get['DATETIME_MED_WITH_WEEKDAY'](){return _0x2059bb;}static get['DATETIME_FULL'](){return _0x169688;}static get['DATETIME_FULL_WITH_SECONDS'](){return _0x2a2446;}static get['DATETIME_HUGE'](){return _0x5cce1a;}static get['DATETIME_HUGE_WITH_SECONDS'](){return _0x597a6e;}}function friendlyDateTime(_0x5a3874){if(DateTime['isDateTime'](_0x5a3874))return _0x5a3874;if(_0x5a3874&&_0x5a3874['valueOf']&&_0x14a4c7(_0x5a3874['valueOf']()))return DateTime['fromJSDate'](_0x5a3874);if(_0x5a3874&&'object'==typeof _0x5a3874)return DateTime['fromObject'](_0x5a3874);throw new InvalidArgumentError('Unknown\x20datetime\x20argument:\x20'+_0x5a3874+',\x20of\x20type\x20'+typeof _0x5a3874);}function getDateTimeFormatter(_0x274d9f={},_0x6dad23){if(void 0x0!==_0x274d9f['dateTimeFormat']&&'function'!=typeof _0x274d9f['dateTimeFormat'])throw new ckeditor5['CKEditorError']('invalid-date-time-format');return _0x5e03e9=>{const _0x1a9931='string'==typeof _0x5e03e9?DateTime['fromISO'](_0x5e03e9):DateTime['fromJSDate'](_0x5e03e9),_0x153aaf=DateTime['now'](),_0x3d7942=Math['floor'](_0x153aaf['diff'](_0x1a9931,'days')['days']);return _0x274d9f['dateTimeFormat']?_0x274d9f['dateTimeFormat'](_0x1a9931['toJSDate'](),_0x6dad23&&_0x6dad23['t']?_0x6dad23['t']:void 0x0):0x0===_0x3d7942?_0x6dad23?getTranslation$h(_0x6dad23,'Today')+'\x20'+_0x1a9931['toFormat']('hh:mma'):_0x1a9931['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x3d7942?_0x6dad23?getTranslation$h(_0x6dad23,'Yesterday')+'\x20'+_0x1a9931['toFormat']('hh:mma'):_0x1a9931['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x3d7942<0x7?_0x6dad23?getTranslation$h(_0x6dad23,'Last')+'\x20'+getTranslation$h(_0x6dad23,_0x1a9931['toFormat']('EEEE'))+'\x20'+_0x1a9931['toFormat']('hh:mma'):_0x1a9931['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x1a9931['toFormat']('LL-dd-yyyy\x20hh:mma');};}function getMarkerDomElement(_0x4ec346,_0x56d90f){const _0x588563=_0x4ec346['mapper']['markerNameToElements'](_0x56d90f['name']);if(!_0x588563)return null;const _0x44eab2=ckeditor5['first'](_0x588563['values']());return _0x4ec346['view']['domConverter']['mapViewToDom'](_0x44eab2)||null;}function getAllMarkersDomElementsSorted(_0x2e040a,_0x39d600){if(0x0===_0x39d600['length'])return null;const _0x5ea707=[],_0x2230ef=_0x2e040a['view']['domConverter'];for(const _0x2180f9 of _0x39d600){const _0x1ec737=_0x2e040a['mapper']['markerNameToElements'](_0x2180f9['name']);if(!_0x1ec737)continue;const _0x49e857=Array['from'](_0x1ec737)['map'](_0x376c30=>_0x2230ef['mapViewToDom'](_0x376c30))['filter'](_0x46958c=>!!_0x46958c);_0x5ea707['push'](..._0x49e857);}if(0x0===_0x5ea707['length'])return null;const _0x102026=[];for(const _0x35cdd6 of _0x5ea707){const _0x486e2a=_0x35cdd6['getClientRects']()['item'](0x0);_0x486e2a&&_0x102026['push']({'x':_0x486e2a['x'],'y':_0x486e2a['y'],'domElement':_0x35cdd6});}return 0x0===_0x102026['length']?null:(_0x102026['sort']((_0xb615cd,_0x5ecede)=>_0xb615cd['y']-_0x5ecede['y']||_0xb615cd['x']-_0x5ecede['x']),_0x102026['map'](_0x2bdb6b=>_0x2bdb6b['domElement']));}function trimHtml(_0x5c5d74,{limit:_0x5bda05,suffix:_0x118f2a='...'}){const _0x67f049=[];let _0x4eb253=0x0;const _0x38ff19=_0x5c5d74['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x30328c=0x0;_0x30328c<_0x38ff19['length'];_0x30328c++){let _0x5c845f=_0x38ff19[_0x30328c];const _0x46053a=splitCharactersToArray(_0x5c845f);if(_0x5c845f['startsWith']('<')){if(_0x4eb253>=_0x5bda05){const _0x38c21e=_0x5c845f['match'](/[a-zA-Z]+/);if(!_0x38c21e){_0x38ff19[_0x30328c]='';continue;}const _0x3a7122=_0x38c21e[0x0];_0x5c845f['startsWith']('</')?(_0x67f049['length']&&(_0x5c845f=''),_0x67f049['pop']()):(_0x67f049['push'](_0x3a7122),_0x5c845f='');}}else{if(_0x4eb253>=_0x5bda05)_0x5c845f='';else{if(_0x4eb253+_0x46053a['length']>=_0x5bda05){let _0x34991a=_0x5bda05-_0x4eb253;if('\x20'===_0x46053a[_0x34991a-0x1])_0x34991a--;else{const _0x44c91f=_0x46053a['slice'](_0x34991a)['indexOf']('\x20');-0x1!==_0x44c91f?_0x34991a+=_0x44c91f:_0x34991a=_0x5c845f['length'];}_0x5c845f=_0x46053a['slice'](0x0,_0x34991a)['join']('')+_0x118f2a,_0x4eb253=_0x5bda05;}else _0x4eb253+=_0x46053a['length'];}}_0x38ff19[_0x30328c]=_0x5c845f;}return _0x38ff19['join']('\x0a')['replace'](/\n/g,'');}function splitCharactersToArray(_0x1427d0){const _0x509a7a=[];for(let _0x4e3892=0x0;_0x4e3892<_0x1427d0['length'];_0x4e3892++){const _0x2eb567=_0x1427d0['substring'](_0x4e3892)['match'](/^&[a-z0-9#]+;/);if(_0x2eb567){const _0x48efe1=_0x2eb567[0x0];_0x509a7a['push'](_0x48efe1),_0x4e3892+=_0x48efe1['length']-0x1;}else _0x509a7a['push'](_0x1427d0[_0x4e3892]);}return _0x509a7a;}class _0x4c93b2 extends ckeditor5['View']{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x2cda25){super(_0x2cda25);const _0x1da087=this['bindTemplate'];this['set']('message',getTranslation$h(_0x2cda25,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x2cda25,getTranslation$h(_0x2cda25,'Yes'),ckeditor5['IconCheck'],'submit'),this['cancelView']=this['_createButtonView'](_0x2cda25,getTranslation$h(_0x2cda25,'No'),ckeditor5['IconCancel'],'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['focusCycler']=new ckeditor5['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':_0x1da087['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'](_0x4c29eb,_0x4a5677,_0x2e83a9,_0x479e4e){const _0x11f191=new ckeditor5['ButtonView'](_0x4c29eb);return _0x11f191['label']=_0x4a5677,_0x11f191['icon']=_0x2e83a9,_0x11f191['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x479e4e}}),_0x11f191['on']('execute',()=>this['fire'](_0x479e4e)),_0x11f191;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x5f41c9=>{this['keystrokes']['listenTo'](_0x5f41c9['element']),this['focusTracker']['add'](_0x5f41c9['element']);}),this['keystrokes']['set']('esc',(_0x1e82ef,_0x4edc82)=>{this['fire']('cancel'),_0x4edc82();});}}function _0x3102e5(_0xf3349d){return class extends _0xf3349d{['showConfirm'](_0x2e678a,_0x5cd6ec){return this['confirmView']=new _0x4c93b2(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x2e678a,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x5cd6ec['appendChild'](this['confirmView']['element']),_0x5cd6ec['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x3ade2e,_0xb11bec,_0x3a279f)=>{_0x3a279f||_0x5cd6ec['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x8a1f15=>this['confirmView']['on']('submit',_0x8a1f15));}['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 hashObject(_0x5d850b){let _0x3a1aa1=0x0,_0x1bfcc6=0x0;for(const _0x40dc70 of objectToNumberGenerator(_0x5d850b))_0x3a1aa1=(_0x3a1aa1<<0x5)-_0x3a1aa1+_0x40dc70,_0x3a1aa1&=_0x3a1aa1,[_0x3a1aa1,_0x1bfcc6]=[_0x1bfcc6,_0x3a1aa1];return toString$1(_0x3a1aa1)+toString$1(_0x1bfcc6);}function*toNumberGenerator(_0x104f85){null==_0x104f85||null==_0x104f85?yield 0x12b9b0a1:0x0===_0x104f85||!0x1===_0x104f85?yield 0x0:0x1===_0x104f85||0x1==_0x104f85?yield 0x1:Array['isArray'](_0x104f85)?yield*arrayToNumberGenerator(_0x104f85):'object'==typeof _0x104f85?yield*objectToNumberGenerator(_0x104f85):'string'==typeof _0x104f85?yield*stringToNumberGenerator(_0x104f85):'number'==typeof _0x104f85&&(yield _0x104f85);}function*objectToNumberGenerator(_0x53371c){if(yield _0xfa45fd('{'),_0x53371c){const _0x5bfb59=Object['keys'](_0x53371c)['sort']();for(const _0x43085f of _0x5bfb59){yield*stringToNumberGenerator(_0x43085f),yield _0xfa45fd(':');const _0x22e395=_0x53371c[_0x43085f];yield*toNumberGenerator(_0x22e395);}}yield _0xfa45fd('}');}function*arrayToNumberGenerator(_0x24e76b){for(const _0x242f22 of _0x24e76b)yield*toNumberGenerator(_0x242f22);}function*stringToNumberGenerator(_0x1fd572){yield _0xfa45fd('\x22');for(const _0x12cc25 of _0x1fd572)yield _0xfa45fd(_0x12cc25);yield _0xfa45fd('\x22');}function _0xfa45fd(_0x2784e2){return _0x2784e2['charCodeAt'](0x0);}function toString$1(_0x5c05f7){return(_0x5c05f7*=Math['sign'](_0x5c05f7))['toString'](0x24);}const blackListedConfigOptions=['root','roots','initialData','context','toolbar','rootsAttributes'],blackListedPlugins$2=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function skipRtcPlugins(_0x3bdd1c,_0x92fca4,_0x3b722b,_0x595051=[]){const _0x2e72dc='string'==typeof _0x3bdd1c?_0x3b722b['get'](_0x3bdd1c)['constructor']:_0x3bdd1c['prototype']['constructor'];if(_0x92fca4['has'](_0x2e72dc))return _0x92fca4['get'](_0x2e72dc);_0x92fca4['set'](_0x2e72dc,!0x0);const _0x5d24f6=[...blackListedPlugins$2,..._0x595051]['map'](_0x4cab77=>{if(_0x3b722b['has'](_0x4cab77))return _0x3b722b['get'](_0x4cab77)['constructor'];})['filter'](_0xc07234=>_0xc07234);if(_0x2e72dc&&_0x5d24f6['includes'](_0x2e72dc))return _0x92fca4['set'](_0x2e72dc,!0x1),!0x1;if(!_0x2e72dc['requires'])return _0x92fca4['set'](_0x2e72dc,!0x0),!0x0;const _0x28d2b8=_0x2e72dc['requires']['every'](_0x46880b=>skipRtcPlugins(_0x46880b,_0x92fca4,_0x3b722b,_0x595051));return _0x92fca4['set'](_0x2e72dc,_0x28d2b8),_0x28d2b8;}function sanitizeEditorConfig(_0x460ef7,_0x2b1edc){const _0x42dbaa={};for(const _0x62adff of _0x460ef7['config']['names']())blackListedConfigOptions['includes'](_0x62adff)||(_0x42dbaa[_0x62adff]=_0x460ef7['config']['get'](_0x62adff));const _0x76f9c7=_0x42dbaa['plugins']||[],_0x4f33aa=_0x460ef7['constructor']['builtinPlugins']||[],_0x5c784f=_0x76f9c7['length']?_0x76f9c7:_0x4f33aa,_0x4c4144=_0x42dbaa['extraPlugins']||[];delete _0x42dbaa['extraPlugins'];const _0x110541=_0x42dbaa['removePlugins']||[];delete _0x42dbaa['removePlugins'];const _0x4e811f=_0x460ef7['_context']['config']['get']('plugins')||[],_0x9a3d08=_0x5c784f['concat'](_0x4c4144)['concat'](_0x4e811f)['map'](_0x8f1c54=>'string'==typeof _0x8f1c54?_0x4f33aa['find'](_0x60c0a8=>_0x60c0a8['pluginName']==_0x8f1c54):_0x8f1c54)['filter'](_0x17e486=>!_0x110541['includes'](_0x17e486)&&!_0x110541['includes'](_0x17e486['pluginName'])),_0x66c62a=Array['from'](new Set(_0x9a3d08)),_0x103ab2=new Map();return _0x42dbaa['plugins']=_0x66c62a['filter'](_0x24f7a6=>skipRtcPlugins(_0x24f7a6,_0x103ab2,_0x460ef7['plugins'],_0x2b1edc)),_0x42dbaa;}function surroundingMarkersDetector(_0x1ae5c0,_0x315ff5){const _0x380150=[];_0x1ae5c0['document']['selection']['on']('change:range',()=>{const _0x10c3c9=getSurroundingMarkers(_0x1ae5c0,_0x1ae5c0['document']['selection']['focus']),_0x167280=[],_0x2a2e24=[],_0x17f9a4=[];for(const _0x530773 of _0x380150)_0x10c3c9['includes'](_0x530773)||_0x167280['push'](_0x530773);for(const _0x1ca3aa of _0x10c3c9)_0x380150['includes'](_0x1ca3aa)||_0x2a2e24['push'](_0x1ca3aa),_0x17f9a4['push'](_0x1ca3aa);(_0x167280['length']||_0x2a2e24['length'])&&_0x315ff5({'left':_0x167280,'entered':_0x2a2e24}),_0x380150['length']=0x0,_0x380150['push'](..._0x17f9a4);});}function getSurroundingMarkers(_0x6274a5,_0x32e1b3){const _0xaecda2=[];for(const _0x494cee of _0x6274a5['markers']){const _0x17d9ea=_0x494cee['getRange']();(_0x17d9ea['containsPosition'](_0x32e1b3)||_0x17d9ea['start']['isEqual'](_0x32e1b3)||_0x17d9ea['end']['isEqual'](_0x32e1b3))&&_0xaecda2['push'](_0x494cee);}return _0xaecda2;}const _0x10eeb2='Ctrl+Shift+E';function setupThreadKeyboardNavigation(_0x4c9a5b,_0x2050e0){const _0x135beb=_0x4c9a5b['element'];_0x4c9a5b['keystrokes']['listenTo'](_0x135beb);for(const _0x7a2072 of _0x2050e0)addViewToFocusCyclerNavigation(_0x4c9a5b,_0x7a2072);_0x2050e0['on']('change',(_0x15a442,_0x525e38)=>{for(const _0x4d171c of _0x525e38['removed'])removeViewFromFocusCyclerNavigation(_0x4c9a5b,_0x4d171c);for(const _0x4d0a7c of Array['from'](_0x525e38['added'])['reverse']())addViewToFocusCyclerNavigation(_0x4c9a5b,_0x4d0a7c);}),_0x4c9a5b['keystrokes']['set']('enter',(_0x2f24be,_0x57576c)=>{_0x135beb===_0x2f24be['target']&&(_0x4c9a5b['focusCycler']['focusFirst'](),_0x57576c());},{'filter':_0x43817e=>_0x43817e['target']===_0x135beb}),_0x4c9a5b['keystrokes']['set']('esc',(_0x231c4a,_0x1a5c6e)=>{_0x135beb!==_0x231c4a['target']?_0x4c9a5b['focus']():_0x4c9a5b['fire']('escape'),_0x1a5c6e();}),_0x4c9a5b['keystrokes']['set']('arrowdown',(_0x43b8cf,_0x54b44e)=>{_0x135beb===_0x43b8cf['target']&&(_0x4c9a5b['fire']('arrowdown'),_0x54b44e());}),_0x4c9a5b['keystrokes']['set']('arrowup',(_0x27e3ab,_0x45c282)=>{_0x135beb===_0x27e3ab['target']&&(_0x4c9a5b['fire']('arrowup'),_0x45c282());});}function addViewToFocusCyclerNavigation(_0x2eeb01,_0x89e316){_0x89e316['isRendered']&&(_0x2eeb01['focusTracker']['add'](_0x89e316['element']),_0x2eeb01['keystrokes']['listenTo'](_0x89e316['element']),ckeditor5['isViewWithFocusCycler'](_0x89e316)&&areFocusCyclerActionsCompatible(_0x2eeb01['focusCycler'],_0x89e316['focusCycler'])&&_0x2eeb01['focusCycler']['chain'](_0x89e316['focusCycler']));}function removeViewFromFocusCyclerNavigation(_0x10dd8a,_0xb7c0fa){_0x10dd8a['focusTracker']['remove'](_0xb7c0fa['element']),_0x10dd8a['keystrokes']['stopListening'](_0xb7c0fa['element']),ckeditor5['isViewWithFocusCycler'](_0xb7c0fa)&&_0x10dd8a['focusCycler']['unchain'](_0xb7c0fa['focusCycler']);}function areFocusCyclerActionsCompatible(_0x5a59fa,_0x57d84b){const _0x32f158=_0x5a59fa['actions'],_0x178f5a=_0x57d84b['actions'];for(const _0x37ed5f of Object['keys'](_0x32f158))if(_0x37ed5f in _0x178f5a&&_0x32f158[_0x37ed5f]!==_0x178f5a[_0x37ed5f])return!0x1;return!0x0;}class _0x4f76aa{['diff'](_0x88965c,_0x5d9aff,_0x14bace={}){let _0x3e09b0;'function'==typeof _0x14bace?(_0x3e09b0=_0x14bace,_0x14bace={}):'callback'in _0x14bace&&(_0x3e09b0=_0x14bace['callback']);const _0x26732b=this['castInput'](_0x88965c,_0x14bace),_0x487d5d=this['castInput'](_0x5d9aff,_0x14bace),_0x5f5b57=this['removeEmpty'](this['tokenize'](_0x26732b,_0x14bace)),_0x339078=this['removeEmpty'](this['tokenize'](_0x487d5d,_0x14bace));return this['diffWithOptionsObj'](_0x5f5b57,_0x339078,_0x14bace,_0x3e09b0);}['diffWithOptionsObj'](_0x338135,_0x3f7a92,_0x3e1030,_0xca9801){var _0x561b4d;const _0x4369f5=_0x412a14=>(_0x412a14=this['postProcess'](_0x412a14,_0x3e1030),_0xca9801?void setTimeout(function(){_0xca9801(_0x412a14);},0x0):_0x412a14),_0x1e6366=_0x3f7a92['length'],_0xfdbd81=_0x338135['length'];let _0x526ff4=0x1,_0x5a6a8c=_0x1e6366+_0xfdbd81;null!=_0x3e1030['maxEditLength']&&(_0x5a6a8c=Math['min'](_0x5a6a8c,_0x3e1030['maxEditLength']));const _0x25bffa=null!==(_0x561b4d=_0x3e1030['timeout'])&&void 0x0!==_0x561b4d?_0x561b4d:0x1/0x0,_0x2e90ff=Date['now']()+_0x25bffa,_0x4a15fb=[{'oldPos':-0x1,'lastComponent':void 0x0}];let _0x2fda2c=this['extractCommon'](_0x4a15fb[0x0],_0x3f7a92,_0x338135,0x0,_0x3e1030);if(_0x4a15fb[0x0]['oldPos']+0x1>=_0xfdbd81&&_0x2fda2c+0x1>=_0x1e6366)return _0x4369f5(this['buildValues'](_0x4a15fb[0x0]['lastComponent'],_0x3f7a92,_0x338135));let _0x126cb5=-0x1/0x0,_0x5e7159=0x1/0x0;const _0x31d006=()=>{for(let _0x45029f=Math['max'](_0x126cb5,-_0x526ff4);_0x45029f<=Math['min'](_0x5e7159,_0x526ff4);_0x45029f+=0x2){let _0x5f0360;const _0x4fd744=_0x4a15fb[_0x45029f-0x1],_0x15ead7=_0x4a15fb[_0x45029f+0x1];_0x4fd744&&(_0x4a15fb[_0x45029f-0x1]=void 0x0);let _0x5c8930=!0x1;if(_0x15ead7){const _0x2e5d68=_0x15ead7['oldPos']-_0x45029f;_0x5c8930=_0x15ead7&&0x0<=_0x2e5d68&&_0x2e5d68<_0x1e6366;}const _0x51bed9=_0x4fd744&&_0x4fd744['oldPos']+0x1<_0xfdbd81;if(_0x5c8930||_0x51bed9){if(_0x5f0360=!_0x51bed9||_0x5c8930&&_0x4fd744['oldPos']<_0x15ead7['oldPos']?this['addToPath'](_0x15ead7,!0x0,!0x1,0x0,_0x3e1030):this['addToPath'](_0x4fd744,!0x1,!0x0,0x1,_0x3e1030),_0x2fda2c=this['extractCommon'](_0x5f0360,_0x3f7a92,_0x338135,_0x45029f,_0x3e1030),_0x5f0360['oldPos']+0x1>=_0xfdbd81&&_0x2fda2c+0x1>=_0x1e6366)return _0x4369f5(this['buildValues'](_0x5f0360['lastComponent'],_0x3f7a92,_0x338135))||!0x0;_0x4a15fb[_0x45029f]=_0x5f0360,_0x5f0360['oldPos']+0x1>=_0xfdbd81&&(_0x5e7159=Math['min'](_0x5e7159,_0x45029f-0x1)),_0x2fda2c+0x1>=_0x1e6366&&(_0x126cb5=Math['max'](_0x126cb5,_0x45029f+0x1));}else _0x4a15fb[_0x45029f]=void 0x0;}_0x526ff4++;};if(_0xca9801)!function _0x1c7380(){setTimeout(function(){if(_0x526ff4>_0x5a6a8c||Date['now']()>_0x2e90ff)return _0xca9801(void 0x0);_0x31d006()||_0x1c7380();},0x0);}();else for(;_0x526ff4<=_0x5a6a8c&&Date['now']()<=_0x2e90ff;){const _0x5eb3a4=_0x31d006();if(_0x5eb3a4)return _0x5eb3a4;}}['addToPath'](_0x4b6e94,_0x2b4e9e,_0x29e7fb,_0x105e7d,_0x951a8f){const _0x567a53=_0x4b6e94['lastComponent'];return _0x567a53&&!_0x951a8f['oneChangePerToken']&&_0x567a53['added']===_0x2b4e9e&&_0x567a53['removed']===_0x29e7fb?{'oldPos':_0x4b6e94['oldPos']+_0x105e7d,'lastComponent':{'count':_0x567a53['count']+0x1,'added':_0x2b4e9e,'removed':_0x29e7fb,'previousComponent':_0x567a53['previousComponent']}}:{'oldPos':_0x4b6e94['oldPos']+_0x105e7d,'lastComponent':{'count':0x1,'added':_0x2b4e9e,'removed':_0x29e7fb,'previousComponent':_0x567a53}};}['extractCommon'](_0x28d255,_0xaad895,_0x493306,_0x50eaa3,_0x4e38b8){const _0xaee8e6=_0xaad895['length'],_0x4fba1a=_0x493306['length'];let _0x1287d0=_0x28d255['oldPos'],_0x507a0b=_0x1287d0-_0x50eaa3,_0x16b437=0x0;for(;_0x507a0b+0x1<_0xaee8e6&&_0x1287d0+0x1<_0x4fba1a&&this['equals'](_0x493306[_0x1287d0+0x1],_0xaad895[_0x507a0b+0x1],_0x4e38b8);)_0x507a0b++,_0x1287d0++,_0x16b437++,_0x4e38b8['oneChangePerToken']&&(_0x28d255['lastComponent']={'count':0x1,'previousComponent':_0x28d255['lastComponent'],'added':!0x1,'removed':!0x1});return _0x16b437&&!_0x4e38b8['oneChangePerToken']&&(_0x28d255['lastComponent']={'count':_0x16b437,'previousComponent':_0x28d255['lastComponent'],'added':!0x1,'removed':!0x1}),_0x28d255['oldPos']=_0x1287d0,_0x507a0b;}['equals'](_0x11df22,_0x16e374,_0x2831c7){return _0x2831c7['comparator']?_0x2831c7['comparator'](_0x11df22,_0x16e374):_0x11df22===_0x16e374||!!_0x2831c7['ignoreCase']&&_0x11df22['toLowerCase']()===_0x16e374['toLowerCase']();}['removeEmpty'](_0x3aebbe){const _0x561094=[];for(let _0x11aaba=0x0;_0x11aaba<_0x3aebbe['length'];_0x11aaba++)_0x3aebbe[_0x11aaba]&&_0x561094['push'](_0x3aebbe[_0x11aaba]);return _0x561094;}['castInput'](_0x2a283d,_0x1f41ab){return _0x2a283d;}['tokenize'](_0x2fd14c,_0x1180c3){return Array['from'](_0x2fd14c);}['join'](_0x232863){return _0x232863['join']('');}['postProcess'](_0x21f37e,_0x5caf5e){return _0x21f37e;}get['useLongestToken'](){return!0x1;}['buildValues'](_0x156c9a,_0x83f90b,_0x4b2608){const _0x52b27a=[];let _0x4d789b;for(;_0x156c9a;)_0x52b27a['push'](_0x156c9a),_0x4d789b=_0x156c9a['previousComponent'],delete _0x156c9a['previousComponent'],_0x156c9a=_0x4d789b;_0x52b27a['reverse']();const _0x1f46b6=_0x52b27a['length'];let _0x58df38=0x0,_0x33d96d=0x0,_0x38dc62=0x0;for(;_0x58df38<_0x1f46b6;_0x58df38++){const _0x504062=_0x52b27a[_0x58df38];if(_0x504062['removed'])_0x504062['value']=this['join'](_0x4b2608['slice'](_0x38dc62,_0x38dc62+_0x504062['count'])),_0x38dc62+=_0x504062['count'];else{if(!_0x504062['added']&&this['useLongestToken']){let _0x49695e=_0x83f90b['slice'](_0x33d96d,_0x33d96d+_0x504062['count']);_0x49695e=_0x49695e['map'](function(_0x7d71e0,_0xed8f54){const _0x2515b2=_0x4b2608[_0x38dc62+_0xed8f54];return _0x2515b2['length']>_0x7d71e0['length']?_0x2515b2:_0x7d71e0;}),_0x504062['value']=this['join'](_0x49695e);}else _0x504062['value']=this['join'](_0x83f90b['slice'](_0x33d96d,_0x33d96d+_0x504062['count']));_0x33d96d+=_0x504062['count'],_0x504062['added']||(_0x38dc62+=_0x504062['count']);}}return _0x52b27a;}}class _0xaca46c extends _0x4f76aa{['tokenize'](_0x26e815){return _0x26e815['slice']();}['join'](_0x2b261d){return _0x2b261d;}['removeEmpty'](_0x22eedd){return _0x22eedd;}}const _0x51cc54=new _0xaca46c();function _0xb3f082(_0x2a2b94,_0x8895ee,_0x3f71a0){return _0x51cc54['diff'](_0x2a2b94,_0x8895ee,_0x3f71a0);}const _0x4b93c3='$elementId',_0x269a48='data-id';class DocumentCompare extends ckeditor5['ContextPlugin']{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof ckeditor5['Editor']?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x605cdb,_0x3ec290)=>{_0x3ec290['on']('ready',()=>{this['_integrateEditor'](_0x3ec290);});});}get['editor'](){if(this['context']instanceof ckeditor5['Editor'])return this['context'];{const _0x7b6c6e=this['context']['editors']['first'];if(!_0x7b6c6e)throw new ckeditor5['CKEditorError']('documentcompare-no-editor',this);return _0x7b6c6e;}}['getDiff'](_0x301223,_0x2f578d,_0x523b42={'anchor':'main','markDeletions':!0x1}){const _0x23334c=_0x523b42['targetEditor']||this['editor'];let _0x18d308,_0x350173;if('string'==typeof _0x523b42['anchor']){const _0x2e1873=_0x23334c['model']['document']['getRoot'](_0x523b42['anchor']);if(!_0x2e1873)throw new ckeditor5['CKEditorError']('documentcompare-compare-no-root',this,{'anchor':_0x523b42['anchor']});_0x18d308=_0x2e1873,_0x350173=_0x23334c['model']['createPositionAt'](_0x2e1873,0x0);}else _0x18d308=_0x523b42['anchor']['clone'](),_0x350173=_0x523b42['anchor']['clone']();const _0xcaa717=_0x23334c['data']['parse'](_0x301223,_0x18d308),_0x3501a0=_0x23334c['data']['parse'](_0x2f578d,_0x18d308);return new DocumentDiff({'editor':_0x23334c,'before':_0xcaa717,'after':_0x3501a0,'options':{'anchor':_0x350173,'markDeletions':_0x523b42['markDeletions']}});}['isMarkedRemoveOperation'](_0x206f8b){return'marker'==_0x206f8b['type']&&_0x206f8b['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x191567){_0x191567['conversion']['for']('upcast')['add'](_0x1abb97=>{_0x1abb97['on']('element',(_0x2f7267,_0x3403c4,_0x25c632)=>{if(_0x3403c4['modelRange'])for(const _0x59e3d2 of _0x3403c4['modelRange']['getItems']({'shallow':!0x0})){if(_0x59e3d2['is']('$textProxy'))continue;const _0x1f1c39=_0x3403c4['viewItem']['getAttribute'](_0x269a48);_0x1f1c39&&_0x25c632['writer']['setAttribute'](_0x4b93c3,_0x1f1c39,_0x59e3d2);}},{'priority':'lowest'});}),_0x191567['model']['schema']['addAttributeCheck'](()=>!0x0,_0x4b93c3);}}class DocumentDiff{['_editor'];['_diffItems']=[];['_markDeletions'];['_anchor'];['_operationsData']=[];['_path']=[0x0];['_parents']=[];['_splitPostponedData']=new Map();constructor({editor:_0x556519,before:_0x22f2cb,after:_0xa81bac,options:_0xfa068b}){this['_editor']=_0x556519,this['_markDeletions']=!!_0xfa068b['markDeletions'],this['_anchor']=_0xfa068b['anchor'];const _0x2c99c0=this['_tokenizeModel'](_0x22f2cb),_0xe8e59a=this['_tokenizeModel'](_0xa81bac);this['_diffItems']=this['_diffModelTokens'](_0x2c99c0,_0xe8e59a),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x22f2cb['markers'],_0xa81bac['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x5316da=this['_editor']['model']['document'],_0x452d00=[];let _0x18a12b=_0x5316da['version'];for(const _0x30176a of this['_operationsData'])switch(_0x30176a['type']){case'attribute':{const _0x8058cb=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x30176a['path']),_0x16e30c=_0x8058cb['getShiftedBy'](_0x30176a['howMany']),_0x5553be=new ckeditor5['ModelRange'](_0x8058cb,_0x16e30c),_0x37bd37=JSON['parse'](_0x30176a['oldValue']),_0x42bc98=JSON['parse'](_0x30176a['newValue']);_0x452d00['push'](new ckeditor5['AttributeOperation'](_0x5553be,_0x30176a['key'],_0x37bd37,_0x42bc98,_0x18a12b++));break;}case'insert':{const _0x19a2bd=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x30176a['path']),_0x292d4c=this['_makeModelFromTokens'](_0x30176a['tokens']);_0x452d00['push'](new ckeditor5['InsertOperation'](_0x19a2bd,_0x292d4c,_0x18a12b++));break;}case'remove':{const _0x4bd3b3=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x30176a['path']),_0x57e9cc=new ckeditor5['ModelPosition'](_0x5316da['graveyard'],[0x0]);_0x452d00['push'](new ckeditor5['MoveOperation'](_0x4bd3b3,_0x30176a['howMany'],_0x57e9cc,_0x18a12b++));break;}case'rename':{const _0x3fc4eb=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x30176a['path']);_0x452d00['push'](new ckeditor5['RenameOperation'](_0x3fc4eb,_0x30176a['oldName'],_0x30176a['newName'],_0x18a12b++));break;}case'split':{const _0x1a5fdc=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x30176a['path']),_0x25cdf1=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x30176a['path']['slice'](0x0,-0x1));_0x25cdf1['offset']++,_0x452d00['push'](new ckeditor5['SplitOperation'](_0x1a5fdc,Number['NEGATIVE_INFINITY'],_0x25cdf1,null,_0x18a12b++));break;}case'merge':{const _0x2cbbed=_0x30176a['path']['slice'](),_0x118d03=_0x2cbbed['slice'](0x0,-0x1);_0x118d03[_0x118d03['length']-0x1]++,_0x118d03['push'](0x0);const _0x4ba5b7=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x118d03),_0x5c182f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2cbbed),_0x2184da=new ckeditor5['ModelPosition'](_0x5316da['graveyard'],[0x0]);_0x452d00['push'](new ckeditor5['MergeOperation'](_0x4ba5b7,Number['NEGATIVE_INFINITY'],_0x5c182f,_0x2184da,_0x18a12b++));break;}case'marker':case'markedRemove':{let _0x242671=null;if(_0x30176a['range']){const _0x43b7bd=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x30176a['range']['start']),_0x436752=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x30176a['range']['end']);_0x242671=new ckeditor5['ModelRange'](_0x43b7bd,_0x436752);}const _0x3d73a1='marker'==_0x30176a['type']?_0x30176a['name']:'$markedRemove:'+ckeditor5['uid']();_0x452d00['push'](new ckeditor5['MarkerOperation'](_0x3d73a1,null,_0x242671,_0x5316da['model']['markers'],!0x0,_0x18a12b++));break;}case'unwrap':{const _0x1c6650=_0x30176a['path']['slice']();_0x1c6650['push'](0x0);const _0x289397=_0x30176a['path']['slice'](),_0x477f69=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1c6650),_0x316f2e=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x289397),_0x21b557=new ckeditor5['ModelPosition'](_0x5316da['graveyard'],[0x0]);_0x452d00['push'](new ckeditor5['MoveOperation'](_0x477f69,_0x30176a['howMany'],_0x316f2e,_0x18a12b++)),_0x452d00['push'](new ckeditor5['MoveOperation'](_0x316f2e['getShiftedBy'](_0x30176a['howMany']),0x1,_0x21b557,_0x18a12b++));break;}case'wrap':{const _0x41a00d=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x30176a['range']['start']),_0x464781=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x30176a['range']['end']),_0x527617=_0x30176a['token']['element']['_clone'](!0x1),_0x23b5b4=_0x30176a['range']['end']['slice']();_0x23b5b4['push'](0x0);const _0x45bbdb=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x23b5b4);_0x452d00['push'](new ckeditor5['InsertOperation'](_0x464781,_0x527617,_0x18a12b++)),_0x452d00['push'](new ckeditor5['MoveOperation'](_0x41a00d,_0x464781['offset']-_0x41a00d['offset'],_0x45bbdb,_0x18a12b++));break;}}return _0x452d00;}['_tokenizeModel'](_0x29574e){const _0x53a506=[],_0x51abbd=ckeditor5['ModelRange']['_createIn'](_0x29574e),_0x446e35=new ckeditor5['ModelTreeWalker']({'boundaries':_0x51abbd});let _0x520786='',_0x4a58a7=null;const _0x312612=[''],_0x131299=new Map();for(const _0x25240f of _0x446e35)if('elementStart'==_0x25240f['type']||'elementEnd'==_0x25240f['type']){let _0x28f106=_0x312612[0x0];''!==_0x520786&&(_0x53a506['push'](...this['_makeTokensFromTextByWords'](_0x520786,_0x4a58a7,_0x28f106)),_0x520786='');const _0x20ce66=_0x25240f['item'];let _0x5c2a82;_0x20ce66['getAttribute'](_0x4b93c3)?_0x5c2a82=_0x20ce66['getAttribute'](_0x4b93c3):'elementStart'==_0x25240f['type']?(_0x5c2a82=makeUidForElement(_0x20ce66),_0x131299['set'](_0x20ce66,_0x5c2a82)):_0x5c2a82=_0x131299['get'](_0x20ce66);const _0x268721=this['_getElementCategory'](_0x20ce66);'solid'==_0x268721&&('elementStart'==_0x25240f['type']?(_0x28f106=_0x5c2a82,_0x312612['unshift'](_0x28f106)):_0x312612['shift']());const _0x51b4e2={'type':'element','element':_0x20ce66,'elementId':_0x5c2a82,'category':_0x268721,'isStart':'elementStart'==_0x25240f['type'],'limitId':_0x28f106};_0x53a506['push'](_0x51b4e2);}else''==_0x520786&&(_0x4a58a7=_0x25240f['previousPosition']['clone']()),_0x520786+=_0x25240f['item']['data'];return''!==_0x520786&&_0x53a506['push'](...this['_makeTokensFromTextByWords'](_0x520786,_0x4a58a7,_0x312612[0x0])),_0x53a506;}['_makeTokensFromTextByWords'](_0x194805,_0x504d64,_0x1e8cf5){const _0x2fb0e3=_0x194805['matchAll'](/(\s)/g),_0x27c0ab=Array['from'](_0x2fb0e3)['map'](_0x57d50d=>_0x57d50d['index']);_0x27c0ab['push'](_0x194805['length']),0x0==_0x27c0ab[0x0]&&_0x27c0ab['shift']();const _0x207d20=[],_0x116bdd=_0x504d64['parent'];let _0x57dd41=0x0,_0x1817e0=_0x504d64['offset'];for(let _0x31d3d7=0x0;_0x31d3d7<_0x27c0ab['length'];_0x31d3d7++)_0x207d20['push']({'type':'text','data':_0x194805['slice'](_0x57dd41,_0x27c0ab[_0x31d3d7]),'parent':_0x116bdd,'offset':_0x1817e0,'limitId':_0x1e8cf5}),_0x57dd41=_0x27c0ab[_0x31d3d7],_0x1817e0=_0x504d64['offset']+_0x27c0ab[_0x31d3d7];return _0x207d20;}['_getElementCategory'](_0xeec842){const _0x5920a5=this['_editor']['model']['schema'];return _0x5920a5['isLimit'](_0xeec842)||_0x5920a5['isContent'](_0xeec842)||_0x5920a5['isInline'](_0xeec842)?'solid':_0x5920a5['isBlock'](_0xeec842)?'block':'container';}['_diffModelTokens'](_0x43b416,_0x307172){const _0x2e1e78=_0xb3f082(_0x43b416,_0x307172,{'comparator':_0x48a71a});this['_handleUnclosedBlockOpeningTags'](_0x2e1e78);const _0x1a8b1f=_0x2e1e78['flatMap'](_0x281423=>{const _0x232e94=_0x281423['added']?'added':_0x281423['removed']?'removed':'unchanged';return _0x281423['value']['map'](_0x1d2541=>({'token':_0x1d2541,'change':_0x232e94}));});let _0x2ae21b=0x0;for(const _0x6ca695 of _0x1a8b1f)'added'!=_0x6ca695['change']&&('unchanged'==_0x6ca695['change']&&(_0x6ca695['before']=_0x43b416[_0x2ae21b]),_0x2ae21b++);return _0x1a8b1f;}['_handleUnclosedBlockOpeningTags'](_0x195953){for(let _0x5a89b9=0x0;_0x5a89b9<_0x195953['length']-0x1;_0x5a89b9++)if(_0x195953[_0x5a89b9]['removed']&&_0x195953[_0x5a89b9+0x1]['added']){const _0x308ae5=this['_findUnclosedBlockOpeningToken'](_0x195953[_0x5a89b9]['value']);if(null!==_0x308ae5){const _0x1ad2be=this['_findUnclosedBlockOpeningToken'](_0x195953[_0x5a89b9+0x1]['value']),_0x2ce95c=_0x195953[_0x5a89b9]['value']['splice'](_0x308ae5),_0x1a1d36=_0x195953[_0x5a89b9+0x1]['value']['splice'](_0x1ad2be),_0x421b51=[_0x1a1d36['shift']()];_0x2ce95c['shift']();const _0x1206a6={'value':_0x2ce95c,'removed':!0x0},_0x589198={'value':_0x1a1d36,'added':!0x0},_0x3e015a={'value':_0x421b51};_0x195953['splice'](_0x5a89b9+0x2,0x0,_0x3e015a,_0x1206a6,_0x589198);}}}['_findUnclosedBlockOpeningToken'](_0x48137b){let _0x3b7cb6=0x0,_0x12a3b0=-0x1;for(let _0x1f843b=0x0;_0x1f843b<_0x48137b['length'];_0x1f843b++){const _0x20bcd8=_0x48137b[_0x1f843b];'element'==_0x20bcd8['type']&&'block'==_0x20bcd8['category']&&(_0x3b7cb6+=_0x20bcd8['isStart']?0x1:-0x1,_0x20bcd8['isStart']&&(_0x12a3b0=_0x1f843b));}return 0x0===_0x3b7cb6?null:_0x12a3b0;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x542945=0x0;_0x542945<this['_diffItems']['length'];_0x542945++){const _0x574049=this['_diffItems'][_0x542945]['change'],_0x464bd8=[];_0x464bd8['push'](this['_diffItems'][_0x542945]);let _0xe875e0=_0x542945+0x1;for(;this['_diffItems'][_0xe875e0]&&this['_diffItems'][_0xe875e0]['change']==_0x574049;)_0x464bd8['push'](this['_diffItems'][_0xe875e0]),_0xe875e0++,_0x542945++;const _0x528209=_0x464bd8['map'](_0x20a332=>_0x20a332['token']);if('unchanged'==_0x574049)_0x464bd8['map'](_0x239be1=>_0x239be1['before'])['forEach'](_0x2a13b2=>this['_traverseOverItem'](_0x2a13b2));else{if('removed'==_0x574049){if(this['_markDeletions']){const _0x15472d=this['_path']['slice']();_0x528209['forEach'](_0x2d0eab=>this['_traverseOverItem'](_0x2d0eab));const _0x995676=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x15472d,'end':_0x995676}});}else this['_handleChanged'](_0x528209,!0x0,this['_path']['slice']());}else{const _0x1644cd=_0x528209['filter'](_0x1c0f51=>'element'!=_0x1c0f51['type']||'container'!=_0x1c0f51['category']);this['_handleChanged'](_0x1644cd,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x39174b=0x0;_0x39174b<this['_diffItems']['length'];_0x39174b++){const _0x52b665=this['_diffItems'][_0x39174b]['change'],_0x3725ee=[];_0x3725ee['push'](this['_diffItems'][_0x39174b]);let _0xf7cb0b=_0x39174b+0x1;for(;this['_diffItems'][_0xf7cb0b]&&this['_diffItems'][_0xf7cb0b]['change']==_0x52b665;)_0x3725ee['push'](this['_diffItems'][_0xf7cb0b]),_0xf7cb0b++,_0x39174b++;const _0x2c6128=_0x3725ee['map'](_0x4bf7f6=>_0x4bf7f6['token']);if('unchanged'==_0x52b665){const _0x3d15af=_0x3725ee['map'](_0x166729=>_0x166729['before']);this['_handleUnchanged'](_0x3d15af,_0x2c6128);}else('added'==_0x52b665||this['_markDeletions'])&&_0x2c6128['forEach'](_0x426b27=>{'element'==_0x426b27['type']&&_0x426b27['isStart']&&this['_splitPostponedData']['has'](_0x426b27['element'])&&this['_handleSplitPostponedData'](_0x426b27['element'],this['_path']),this['_traverseOverItem'](_0x426b27);});}}['_handleSplitPostponedData'](_0x245599,_0x2b0e9a){const _0x41b1b6=this['_splitPostponedData']['get'](_0x245599);for(const _0x3103b5 of _0x41b1b6)'rename'==_0x3103b5['type']?this['_operationsData']['push']({'type':'rename','path':_0x2b0e9a['slice'](),'oldName':_0x3103b5['oldValue'],'newName':_0x245599['name']}):this['_operationsData']['push']({'type':'attribute','path':_0x2b0e9a['slice'](),'howMany':0x1,'key':_0x3103b5['key'],'oldValue':_0x3103b5['oldValue'],'newValue':JSON['stringify'](_0x245599['getAttribute'](_0x3103b5['key'])??null)});}['_calculateMarkersOperationsData'](_0x360615,_0x4b5135){const _0x42cea3={};for(const [_0x43c5f2]of _0x360615)_0x42cea3[_0x43c5f2]=null;for(const [_0x7b7140,_0x2b6aa1]of _0x4b5135)_0x42cea3[_0x7b7140]=_0x2b6aa1;const _0x3161dc=Object['entries'](_0x42cea3)['map'](([_0x49fb0a,_0x4270fc])=>({'type':'marker','name':_0x49fb0a,'range':_0x4270fc?{'start':_0x4270fc['start']['path']['slice'](),'end':_0x4270fc['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x3161dc);}['_handleUnwraps'](){const _0x2cd2a2=new Map(),_0x55f7f0=[],_0x34fdff=[0x0];let _0x2c7997=this['_diffItems']['length']+0x1;for(let _0x1cdcaa=this['_diffItems']['length']-0x1;_0x1cdcaa>=0x0;_0x1cdcaa--){const {token:_0x529e31,before:_0x4eb5d2,change:_0x10425f}=this['_diffItems'][_0x1cdcaa];if('removed'!=_0x10425f&&(_0x2c7997=_0x1cdcaa),'element'!=_0x529e31['type']||'container'!=_0x529e31['category']||'added'==_0x10425f)continue;const _0x5b653d=_0x4eb5d2?_0x4eb5d2['element']:_0x529e31['element'];if(_0x529e31['isStart']){const _0x1c423c=_0x2cd2a2['get'](_0x5b653d),_0x45a198=this['_diffItems'][_0x1c423c];('removed'==_0x10425f||'removed'==_0x45a198['change'])&&_0x2c7997<_0x1c423c&&(this['_operationsData']['push']({'type':'unwrap','path':_0x5b653d['getPath'](),'howMany':_0x5b653d['maxOffset']+_0x34fdff[0x0]}),_0x34fdff['shift'](),_0x34fdff[0x0]+=_0x5b653d['maxOffset']-0x1,_0x55f7f0['push'](_0x1cdcaa),_0x55f7f0['push'](_0x1c423c));}else _0x2cd2a2['set'](_0x5b653d,_0x1cdcaa),_0x34fdff['unshift'](0x0);}_0x55f7f0['sort']((_0x80bdb0,_0x275daf)=>_0x275daf-_0x80bdb0),_0x55f7f0['forEach'](_0x2f002b=>{const _0x4b2766=this['_diffItems'][_0x2f002b];'removed'==_0x4b2766['change']?this['_diffItems']['splice'](_0x2f002b,0x1):(_0x4b2766['change']='added',delete _0x4b2766['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0xf7e8ad=[];for(let _0x173eaf=0x0;_0x173eaf<this['_diffItems']['length'];_0x173eaf++){const {change:_0xfeace5,token:_0x237bcd}=this['_diffItems'][_0x173eaf];if('added'==_0xfeace5&&'element'==_0x237bcd['type']&&'container'==_0x237bcd['category']){if(_0x237bcd['isStart'])_0xf7e8ad['push'](this['_path']['slice']());else{if(!_0x237bcd['isStart']){const _0x10eb60=_0xf7e8ad['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x10eb60,'end':this['_path']['slice']()},'token':_0x237bcd}),this['_path'][this['_path']['length']-0x1]=_0x10eb60[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0xfeace5||this['_markDeletions'])&&this['_traverseOverItem'](_0x237bcd);}}['_handleUnchanged'](_0x5456c6,_0x1b2d0e){for(let _0x472c36=0x0;_0x472c36<_0x5456c6['length'];_0x472c36++){const _0x3e1572=_0x5456c6[_0x472c36];if('element'==_0x3e1572['type']&&_0x3e1572['isStart']){const _0x49b765=_0x1b2d0e[_0x472c36];'block'==_0x3e1572['category']&&this['_handleElementRename'](_0x3e1572['element'],_0x49b765['element'],this['_path']),this['_handleElementAttributeChanges'](_0x3e1572['element'],_0x49b765['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x49b765);}else{if('element'!=_0x3e1572['type']||_0x3e1572['isStart']){if('text'==_0x3e1572['type']){const _0x5d57e3=this['_path']['slice'](),_0x595769=[],_0x1f209f=[];for(;_0x5456c6[_0x472c36]&&'text'==_0x5456c6[_0x472c36]['type'];)_0x595769['push'](_0x5456c6[_0x472c36]),_0x1f209f['push'](_0x1b2d0e[_0x472c36]),this['_path'][this['_path']['length']-0x1]+=_0x5456c6[_0x472c36]['data']['length'],_0x472c36++;_0x472c36--,this['_handleTextAttributeChanges'](_0x595769,_0x1f209f,_0x5d57e3);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x3c017f,_0x4162b2,_0x4a2622){const _0x566f66=[],_0x44a50b=[],_0x34011a=_0x4a2622['slice']();let _0x4c8eca=this['_parents']['length']-0x1;for(let _0x2e7f30=0x0;_0x2e7f30<_0x3c017f['length'];_0x2e7f30++){const _0x258533=_0x3c017f[_0x2e7f30],_0x4f0c77=_0x4a2622['slice']();'element'!=_0x258533['type']||_0x258533['isStart']?'element'==_0x258533['type']&&_0x258533['isStart']?(_0x4a2622['push'](0x0),_0x4c8eca++,_0x44a50b['push']({'before':_0x4f0c77,'after':_0x4a2622['slice'](),'index':_0x2e7f30})):_0x4a2622[_0x4a2622['length']-0x1]+=_0x258533['data']['length']:(_0x4a2622['pop'](),_0x4a2622[_0x4a2622['length']-0x1]++,_0x4c8eca--,_0x44a50b['length']?_0x44a50b['pop']():_0x566f66['push']({'before':_0x4f0c77,'after':_0x4a2622['slice'](),'index':_0x2e7f30}));}if(_0x44a50b['length']!==_0x566f66['length'])throw new ckeditor5['CKEditorError']('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x3c017f,'isRemove':_0x4162b2});const _0x42953b=[{'after':_0x34011a['slice'](),'index':-0x1},..._0x566f66,..._0x44a50b,{'before':_0x4a2622['slice'](),'index':_0x3c017f['length']}];if(_0x4162b2){for(let _0x23d4e2=_0x42953b['length']-0x1;_0x23d4e2>=0x1;_0x23d4e2--){const _0x2d6c8a=_0x42953b[_0x23d4e2-0x1]['after'],_0x1e2bec=_0x42953b[_0x23d4e2]['before'],_0x311b57=_0x1e2bec[_0x1e2bec['length']-0x1]-_0x2d6c8a[_0x2d6c8a['length']-0x1];_0x311b57&&(this['_operationsData']['push']({'type':'remove','path':_0x2d6c8a,'howMany':_0x311b57}),_0x1e2bec[_0x1e2bec['length']-0x1]-=_0x311b57);}for(const {before:_0x1789ae}of _0x566f66)this['_operationsData']['push']({'type':'merge','path':_0x1789ae});}else for(let _0x419f2a=0x0;_0x419f2a<_0x42953b['length']-0x1;_0x419f2a++){const _0x39a236=_0x42953b[_0x419f2a]['after'],_0x1090ae=_0x42953b[_0x419f2a+0x1]['before'],_0x1bd31b=_0x42953b[_0x419f2a]['index']+0x1,_0x583553=_0x42953b[_0x419f2a+0x1]['index'];if(_0x1bd31b!==_0x583553&&this['_operationsData']['push']({'type':'insert','path':_0x39a236,'tokens':_0x3c017f['slice'](_0x1bd31b,_0x583553)}),_0x419f2a<_0x566f66['length']){this['_operationsData']['push']({'type':'split','path':_0x1090ae});const _0x5c1633=_0x3c017f[_0x44a50b[_0x44a50b['length']-0x1-_0x419f2a]['index']],_0xf7c39=this['_parents'][_0x4c8eca]['element'];_0xf7c39['name']!=_0x5c1633['element']['name']&&this['_addSplitPostponedData'](_0x5c1633['element'],{'type':'rename','oldValue':_0xf7c39['name']});const _0x4a0378=this['_getAttributeChanges'](_0xf7c39['getAttributes'](),_0x5c1633['element']['getAttributes']());for(const _0xfd1d68 in _0x4a0378){const _0x156aa1=_0x4a0378[_0xfd1d68]['oldValue'];this['_addSplitPostponedData'](_0x5c1633['element'],{'type':'attribute','key':_0xfd1d68,'oldValue':_0x156aa1});}}}}['_addSplitPostponedData'](_0x4f5db1,_0x1c29ca){const _0x8fb3fb=this['_splitPostponedData']['get'](_0x4f5db1)||[];_0x8fb3fb['push'](_0x1c29ca),this['_splitPostponedData']['set'](_0x4f5db1,_0x8fb3fb);}['_traverseOverItem'](_0x4f0fb6){'element'==_0x4f0fb6['type']&&_0x4f0fb6['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x4f0fb6)):'element'!=_0x4f0fb6['type']||_0x4f0fb6['isStart']?'text'==_0x4f0fb6['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x4f0fb6['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x273303,_0x3d02c7,_0x1c0ff2){_0x273303['name']!=_0x3d02c7['name']&&this['_operationsData']['push']({'type':'rename','path':_0x1c0ff2['slice'](),'oldName':_0x273303['name'],'newName':_0x3d02c7['name']});}['_handleElementAttributeChanges'](_0xfb50c3,_0x2cee01,_0x464915){const _0x39ccbf=this['_getAttributeChanges'](_0xfb50c3['getAttributes'](),_0x2cee01['getAttributes']());for(const _0x4f8860 in _0x39ccbf){const {oldValue:_0x25a33e,newValue:_0x14419c}=_0x39ccbf[_0x4f8860];this['_operationsData']['push']({'type':'attribute','path':_0x464915['slice'](),'howMany':0x1,'key':_0x4f8860,'oldValue':_0x25a33e,'newValue':_0x14419c});}}['_handleTextAttributeChanges'](_0x274817,_0x2fc74f,_0x502204){const _0x4d62ef=this['_operationsData'],_0x53eb42=_0x274817[0x0]['parent'],_0x1e77af=_0x274817[0x0]['offset'],_0x598862=_0x2fc74f[0x0]['parent'],_0x5df9a8=_0x2fc74f[0x0]['offset'],_0x50c7c9=_0x274817['reduce']((_0x11f40c,_0x55e692)=>_0x11f40c+_0x55e692['data']['length'],0x0),_0x76fbd6=this['_getAttrsForOffsets'](_0x53eb42,_0x1e77af,_0x50c7c9),_0x40e490=this['_getAttrsForOffsets'](_0x598862,_0x5df9a8,_0x50c7c9),_0x57770f={};for(let _0x48a791=0x0;_0x48a791<_0x50c7c9;_0x48a791++){const _0x14474c=_0x76fbd6[_0x1e77af+_0x48a791],_0x33b656=_0x40e490[_0x5df9a8+_0x48a791],_0x2a521e=this['_getAttributeChanges'](_0x14474c,_0x33b656);for(const _0x282561 in _0x57770f)_0x2a521e[_0x282561]||_0x2104fc(_0x282561);for(const _0x30f02f in _0x2a521e){const {oldValue:_0x36db65,newValue:_0x47048a}=_0x2a521e[_0x30f02f],_0xed9fb8=_0x57770f[_0x30f02f];_0xed9fb8?_0xed9fb8['oldValue']==_0x36db65&&_0xed9fb8['newValue']==_0x47048a?_0xed9fb8['length']++:(_0x2104fc(_0x30f02f),_0x57770f[_0x30f02f]={'oldValue':_0x36db65,'newValue':_0x47048a,'start':_0x48a791,'length':0x1}):_0x57770f[_0x30f02f]={'oldValue':_0x36db65,'newValue':_0x47048a,'start':_0x48a791,'length':0x1};}}for(const _0x267d86 in _0x57770f)_0x2104fc(_0x267d86);function _0x2104fc(_0x4ee94c){const _0x31f7a0=_0x57770f[_0x4ee94c],_0x22376b=_0x502204['slice']();_0x22376b[_0x22376b['length']-0x1]+=_0x31f7a0['start'],_0x4d62ef['push']({'type':'attribute','path':_0x22376b,'howMany':_0x31f7a0['length'],'key':_0x4ee94c,'oldValue':_0x31f7a0['oldValue'],'newValue':_0x31f7a0['newValue']}),delete _0x57770f[_0x4ee94c];}}['_getAttributeChanges'](_0xd4b52f,_0x3fbade){const _0x47f69f={};for(const [_0x2a7faa,_0xcd2f3f]of _0xd4b52f)_0x47f69f[_0x2a7faa]={'oldValue':JSON['stringify'](_0xcd2f3f),'newValue':'null'};for(const [_0x5573d2,_0x10133c]of _0x3fbade){const _0x375730=JSON['stringify'](_0x10133c);_0x47f69f[_0x5573d2]?_0x47f69f[_0x5573d2]['oldValue']==_0x375730?delete _0x47f69f[_0x5573d2]:_0x47f69f[_0x5573d2]['newValue']=_0x375730:_0x47f69f[_0x5573d2]={'oldValue':'null','newValue':_0x375730};}return delete _0x47f69f[_0x4b93c3],_0x47f69f;}['_getAttrsForOffsets'](_0x1eadff,_0x3217bd,_0x3405ac){const _0x4b90f1=new Array(_0x3217bd+_0x3405ac);let _0x538235=_0x1eadff['getChildAtOffset'](_0x3217bd),_0x3918e4=_0x538235['startOffset'];for(;_0x538235&&_0x3918e4<_0x3217bd+_0x3405ac;){const _0x4da19c=Array['from'](_0x538235['getAttributes']());_0x4b90f1['fill'](_0x4da19c,_0x3918e4,_0x3918e4+_0x538235['offsetSize']),_0x3918e4+=_0x538235['offsetSize'],_0x538235=_0x538235['nextSibling'];}return _0x4b90f1;}['_getPositionFromAnchorAndPath'](_0x6ffcc4,_0x45a165){const _0x3a065f=[..._0x6ffcc4['path']['slice'](0x0,-0x1),_0x6ffcc4['offset']+_0x45a165[0x0],..._0x45a165['slice'](0x1)];return new ckeditor5['ModelPosition'](_0x6ffcc4['root'],_0x3a065f);}['_makeModelFromTokens'](_0x27c5e1){const _0x5cfdb8=[];let _0x4d93bb=null;for(const _0x4b1bb4 of _0x27c5e1)if('element'!=_0x4b1bb4['type']||_0x4b1bb4['isStart']||_0x4d93bb!=_0x4b1bb4['element']){if(!_0x4d93bb){if('text'==_0x4b1bb4['type']){const _0x1acdcf=ckeditor5['ModelPosition']['_createAt'](_0x4b1bb4['parent'],_0x4b1bb4['offset']),_0xa7d329=ckeditor5['ModelRange']['_createFromPositionAndShift'](_0x1acdcf,_0x4b1bb4['data']['length']),_0x47712f=Array['from'](_0xa7d329['getItems']())['map'](_0x17c142=>new ckeditor5['ModelText'](_0x17c142['data'],_0x17c142['getAttributes']()));_0x5cfdb8['push'](..._0x47712f);}else{_0x4d93bb=_0x4b1bb4['element'];const _0xfcee78=_0x4b1bb4['element']['_clone'](!0x0);_0xfcee78['_removeAttribute'](_0x4b93c3);for(const _0x15fe9e of this['_editor']['model']['createRangeIn'](_0xfcee78)['getItems']())_0x15fe9e['is']('element')&&_0x15fe9e['_removeAttribute'](_0x4b93c3);_0x5cfdb8['push'](_0xfcee78);}}}else _0x4d93bb=null;return _0x5cfdb8;}}function _0x48a71a(_0x2d8923,_0x52040b){return _0x2d8923['type']===_0x52040b['type']&&(_0x2d8923['limitId']===_0x52040b['limitId']&&('text'==_0x2d8923['type']?_0x2d8923['data']==_0x52040b['data']:compareModelElementTokens(_0x2d8923,_0x52040b)));}function compareModelElementTokens(_0x4e1433,_0x1d704f){return _0x4e1433['isStart']==_0x1d704f['isStart']&&((!_0x4e1433['isStart']||_0x4e1433['elementId']==_0x1d704f['elementId'])&&(_0x4e1433['category']==_0x1d704f['category']&&('block'==_0x4e1433['category']||('container'!=_0x4e1433['category']||_0x4e1433['elementId']==_0x1d704f['elementId'])&&_0x4e1433['element']['name']==_0x1d704f['element']['name'])));}function makeUidForElement(_0x4c833c){return hashObject({'name':_0x4c833c['name'],...Object['fromEntries'](_0x4c833c['getAttributes']())});}function getSuggestionPartsFromReply({editor:_0x3bd4e1,changeGroups:_0x147094,documentContextContent:_0x645f68,showDiff:_0x32b3a0,trimUnchanged:_0x469b29=!0x0}){return _0x147094['map'](_0x1697e4=>{const _0x32ff4b=new Document$1([]),_0x51acd7=new Document$1([]),_0x4485f6=new Set();for(const _0x1d41cb of _0x1697e4['changes'])'new'==_0x1d41cb['type']&&findAllByAttribute('data-id',null,_0x1d41cb['node'])['forEach'](_0x58cb70=>{_0x4485f6['add'](getAttribute(_0x58cb70,'data-id'));});for(const _0x31d437 of _0x1697e4['changes'])if('removed'!=_0x31d437['type']?_0x51acd7['children']['push'](_0x31d437['node']['cloneNode'](!0x0)):_0x32b3a0||_0x4485f6['has'](_0x31d437['id'])||_0x51acd7['children']['push'](_0x31d437['node']['cloneNode'](!0x0)),'new'!=_0x31d437['type']&&(_0x32b3a0||'removed'!=_0x31d437['type'])){const _0x14c505=_0xc3f1b1(_0x277ffc=>getAttribute(_0x277ffc,'data-id')==_0x31d437['id'],_0x645f68,!0x0);_0x14c505&&_0x32ff4b['children']['push'](_0x14c505['cloneNode'](!0x0));}const {content:_0x401e12,hasChanges:_0x1d0d6d}=passThroughEditorDataPipeline(_0x3bd4e1,_0x32ff4b,_0x51acd7,_0x32b3a0,_0x469b29);return{'type':_0x1697e4['changes'][0x0]['type'],'index':_0x1697e4['index'],'content':_0x401e12,'hasChanges':_0x1d0d6d};});}function passThroughEditorDataPipeline(_0x33ada2,_0x5b17ac,_0x1c8ef6,_0x3635ba,_0x4741f1=!0x0){const _0x4f17aa=_0x33ada2['plugins']['get']('DocumentCompare'),_0x22db5a=_0x332c25(_0x5b17ac),_0x23dfca=_0x332c25(_0x1c8ef6),_0x1ce1a3=_0x33ada2['data']['parse'](_0x22db5a,'$root'),_0x3ba7ae=_0x33ada2['model']['createPositionAt'](_0x1ce1a3,0x0),_0x34217a=_0x4f17aa['getDiff'](_0x22db5a,_0x23dfca,{'anchor':_0x3ba7ae,'markDeletions':_0x3635ba,'targetEditor':_0x33ada2})['getOperations']();if(0x0==_0x34217a['length'])return{'content':_0x5b17ac['cloneNode'](!0x0),'hasChanges':!0x1};if(_0x3635ba?applyOperationsAndDiffMarkers(_0x34217a,_0x1ce1a3,_0x33ada2):_0x33ada2['model']['change'](_0x36cafe=>{for(const _0x311976 of _0x34217a)if('remove'==_0x311976['type']){const _0x5494be=_0x311976['sourcePosition'],_0xccae88=_0x311976['howMany'],_0x251299=new ckeditor5['_DetachOperation'](_0x5494be,_0xccae88);_0x36cafe['batch']['addOperation'](_0x251299),_0x33ada2['model']['applyOperation'](_0x251299);}else{if('marker'==_0x311976['type']){const _0x4254e1=_0x311976['name'],_0x3118d6=_0x311976['newRange'];null!==_0x3118d6?_0x1ce1a3['markers']['set'](_0x4254e1,_0x3118d6):_0x1ce1a3['markers']['delete'](_0x4254e1);}else _0x311976['baseVersion']=null,_0x311976['isDocumentOperation']=!0x1,_0x36cafe['batch']['addOperation'](_0x311976),_0x33ada2['model']['applyOperation'](_0x311976);}}),_0x4741f1){const _0x59394a=getMinimalSelection(_0x33ada2,_0x34217a,_0x1ce1a3);expandSelectionWithContext(_0x33ada2['model'],_0x59394a),shrinkFragmentToSelection(_0x33ada2['model'],_0x59394a);}return{'content':_0x306b12(_0x33ada2['data']['stringify'](_0x1ce1a3,{'showSuggestionHighlights':!0x0})),'hasChanges':!0x0};}function applyOperationsAndDiffMarkers(_0x1734e3,_0xcc77cf,_0x180ec2){if(0x0==_0x1734e3['length'])return;const _0x5726a8=_0x180ec2['plugins']['get']('DocumentCompare'),_0x5a19aa=_0x180ec2['plugins']['get']('SuggestionsConversion');_0x180ec2['model']['change'](_0x3eb55a=>{const _0x388365=new Set();for(let _0x5b5097=0x0;_0x5b5097<_0x1734e3['length'];_0x5b5097++){const _0xa2b635=_0x1734e3[_0x5b5097];if(_0xa2b635['baseVersion']=null,_0xa2b635['isDocumentOperation']=!0x1,_0x5726a8['isMarkedRemoveOperation'](_0xa2b635)){const _0x5619e1=fixElementSuggestionRange(_0xa2b635['newRange'],_0x180ec2['model']),_0x431ed1='suggestion:deletion:'+ckeditor5['uid']()+':$aiSuggestion';_0xcc77cf['markers']['set'](_0x431ed1,_0x5619e1);}else switch(_0xa2b635['type']){case'rename':{if(_0xa2b635['oldName']==_0xa2b635['newName'])break;_0x3eb55a['batch']['addOperation'](_0xa2b635),_0x180ec2['model']['applyOperation'](_0xa2b635);const _0x4ab564='$elementName',_0x264f7a=_0xa2b635['position'],_0x5d71b0=_0x180ec2['model']['createRange'](_0x264f7a,_0x180ec2['model']['createPositionAt'](_0x264f7a['nodeAfter'],'end')),_0x8174f8='suggestion:attribute:'+_0x4ab564+':'+ckeditor5['uid']()+':$aiSuggestion';_0xcc77cf['markers']['set'](_0x8174f8,_0x5d71b0);break;}case'addAttribute':case'removeAttribute':case'changeAttribute':{if(_0xa2b635['oldValue']==_0xa2b635['newValue'])break;_0x3eb55a['batch']['addOperation'](_0xa2b635),_0x180ec2['model']['applyOperation'](_0xa2b635);const _0x4cef08=_0xa2b635['key'];if(!_0x5a19aa['isRegisteredAttribute'](_0x4cef08))break;const _0x4ca364=fixElementSuggestionRange(_0xa2b635['range'],_0x180ec2['model']),_0x35ed42='suggestion:attribute:'+_0x4cef08+':'+ckeditor5['uid']()+':$aiSuggestion';_0xcc77cf['markers']['set'](_0x35ed42,_0x4ca364);break;}case'insert':{_0x3eb55a['batch']['addOperation'](_0xa2b635),_0x180ec2['model']['applyOperation'](_0xa2b635);if(_0x1734e3[_0x5b5097+0x1]&&'move'==_0x1734e3[_0x5b5097+0x1]['type']){transformMarkers(_0xcc77cf,_0xa2b635);break;}const _0x3e9281=_0xa2b635['position'],_0x5ebf2a=_0xa2b635['howMany'],_0x45f4af=fixElementSuggestionRange(_0x180ec2['model']['createRange'](_0x3e9281,_0x3e9281['getShiftedBy'](_0x5ebf2a)),_0x180ec2['model']),_0x405606='suggestion:insertion:'+ckeditor5['uid']()+':$aiSuggestion';_0xcc77cf['markers']['set'](_0x405606,_0x45f4af);break;}case'split':{_0x3eb55a['batch']['addOperation'](_0xa2b635),_0x180ec2['model']['applyOperation'](_0xa2b635);const _0x3ec9d9=_0xa2b635['splitPosition'],_0x56a26c=_0xa2b635['moveTargetPosition'],_0x2a984a=_0x180ec2['model']['createRange'](_0x3ec9d9,_0x56a26c),_0xbac1b7='suggestion:insertion:'+ckeditor5['uid']()+':$aiSuggestion';_0xcc77cf['markers']['set'](_0xbac1b7,_0x2a984a);break;}case'move':{_0x3eb55a['batch']['addOperation'](_0xa2b635),_0x180ec2['model']['applyOperation'](_0xa2b635),_0x1734e3[_0x5b5097-0x1]&&'insert'==_0x1734e3[_0x5b5097-0x1]['type']&&transformMarkers(_0xcc77cf,_0xa2b635);const _0x2dd1e2=_0xa2b635['getMovedRangeStart'](),_0x260880=_0xa2b635['howMany'];for(let _0x2e4eae=0x0;_0x2e4eae<_0x260880;_0x2e4eae++){const _0x191d35=_0x2dd1e2['getShiftedBy'](_0x2e4eae)['nodeAfter'];_0x388365['add'](_0x191d35);}break;}case'remove':{const _0x6958b=_0xa2b635['sourcePosition'],_0x466ed3=_0xa2b635['howMany'],_0x4e1e06=new ckeditor5['_DetachOperation'](_0x6958b,_0x466ed3);_0x3eb55a['batch']['addOperation'](_0x4e1e06),_0x180ec2['model']['applyOperation'](_0x4e1e06);break;}}}for(const _0x475f5c of _0x388365){const _0x4a0250=_0x180ec2['model']['createRangeOn'](_0x475f5c),_0x16be0b='suggestion:formatBlock:$fakeWrap:'+ckeditor5['uid']()+':$aiSuggestion';_0xcc77cf['markers']['set'](_0x16be0b,fixElementSuggestionRange(_0x4a0250,_0x180ec2['model']));}});}function transformMarkers(_0x5697e2,_0x106d97){for(const [_0x5b79f3,_0x213e7a]of _0x5697e2['markers']){const _0x19cec4=ckeditor5['ModelRange']['_createFromRanges'](_0x213e7a['getTransformedByOperation'](_0x106d97));_0x5697e2['markers']['set'](_0x5b79f3,_0x19cec4);}}function getMinimalSelection(_0x4a21b6,_0xa9a682,_0x525426){const _0x33cab7=_0x4a21b6['plugins']['get']('DocumentCompare');let _0x21adb6=_0x4a21b6['model']['createPositionAt'](_0x525426,Number['POSITIVE_INFINITY']),_0x2c728a=_0x4a21b6['model']['createPositionAt'](_0x525426,0x0);for(const _0x3e928c of _0xa9a682){let _0x419bd3,_0x397a72;if(_0x33cab7['isMarkedRemoveOperation'](_0x3e928c))_0x419bd3=_0x3e928c['newRange']['start'],_0x397a72=_0x3e928c['newRange']['end'];else switch(_0x21adb6=_0x21adb6['getTransformedByOperation'](_0x3e928c),_0x2c728a=_0x2c728a['getTransformedByOperation'](_0x3e928c),_0x3e928c['type']){case'rename':_0x419bd3=_0x3e928c['position'],_0x397a72=_0x419bd3['getShiftedBy'](0x1);break;case'addAttribute':case'removeAttribute':case'changeAttribute':_0x419bd3=_0x3e928c['range']['start'],_0x397a72=_0x3e928c['range']['end'];break;case'insert':_0x419bd3=_0x3e928c['position'],_0x397a72=_0x419bd3['getShiftedBy'](_0x3e928c['howMany']);break;case'split':_0x419bd3=_0x3e928c['splitPosition'],_0x397a72=_0x3e928c['moveTargetPosition'];break;case'merge':{const _0x489cc3=_0x3e928c['targetPosition']['path']['slice'](0x0,-0x1);_0x419bd3=_0x4a21b6['model']['createPositionFromPath'](_0x525426,_0x489cc3),_0x397a72=_0x419bd3['getShiftedBy'](0x1);break;}case'move':case'remove':{const _0x135068=_0x3e928c['howMany'],_0x372bf8=_0x3e928c['sourcePosition']['_getTransformedByInsertion'](_0x3e928c['targetPosition'],_0x135068),_0x157bf4=_0x3e928c['getMovedRangeStart']();'remove'==_0x3e928c['type']?(_0x419bd3=_0x372bf8,_0x397a72=_0x372bf8):(_0x419bd3=_0x157bf4,_0x397a72=_0x157bf4['getShiftedBy'](_0x135068));break;}}_0x419bd3&&_0x419bd3['isBefore'](_0x21adb6)&&(_0x21adb6=_0x419bd3['clone'](),_0x21adb6['stickiness']='toNone'),_0x397a72&&_0x397a72['isAfter'](_0x2c728a)&&(_0x2c728a=_0x397a72['clone'](),_0x2c728a['stickiness']='toNone');}return _0x4a21b6['model']['createSelection'](_0x4a21b6['model']['createRange'](_0x21adb6,_0x2c728a));}function expandSelectionWithContext(_0x2ca73a,_0x2b5772){expandSelection(_0x2ca73a,_0x2b5772,'forward');const _0x2b4fc8=_0x2b5772['getFirstRange']();_0x2b5772['setTo']([]),_0x2b5772['setTo'](_0x2b4fc8,{'backward':!0x0}),expandSelection(_0x2ca73a,_0x2b5772,'backward');}function expandSelection(_0x541121,_0x275c88,_0x1aaedc){let _0x1f8040=0x14;for(;_0x1f8040;){_0x541121['modifySelection'](_0x275c88,{'unit':'word','direction':_0x1aaedc}),_0x1f8040--;const _0x2c2e97=_0x275c88['focus']['forward'==_0x1aaedc?'nodeBefore':'nodeAfter'];if(_0x2c2e97&&_0x2c2e97['is']('element')&&_0x541121['schema']['isBlock'](_0x2c2e97)&&_0x541121['schema']['isObject'](_0x2c2e97))break;}}function shrinkFragmentToSelection(_0x3e165c,_0x287de5){const _0x531190=_0x287de5['getFirstRange']()['start'];let _0x1784a6=_0x287de5['getFirstRange']()['end'];const _0x4891a2=_0x531190['root'];(_0x1784a6['textNode']||_0x1784a6['nodeAfter']&&_0x1784a6['nodeAfter']['is']('$text'))&&(ckeditor5['_insertIntoModelNodeList'](_0x1784a6,'...'),_0x1784a6=_0x1784a6['getShiftedBy'](0x3)),(_0x531190['textNode']||_0x531190['nodeBefore']&&_0x531190['nodeBefore']['is']('$text'))&&(ckeditor5['_insertIntoModelNodeList'](_0x531190,'...'),_transformMarkersByInsertion(_0x4891a2,_0x531190,0x3),_0x531190['parent']==_0x1784a6['parent']&&(_0x1784a6=_0x1784a6['getShiftedBy'](0x3)));const _0x36c237=_0x3e165c['createRange'](_0x3e165c['createPositionAt'](_0x4891a2,0x0),_0x531190),_0x5c813e=_0x3e165c['createRange'](_0x1784a6,_0x3e165c['createPositionAt'](_0x4891a2,'end')),_0x5cfd22=[..._0x36c237['getMinimalFlatRanges'](),..._0x5c813e['getMinimalFlatRanges']()];_0x5cfd22['reverse']();for(const _0x591116 of _0x5cfd22)ckeditor5['_removeFromModelNodeList'](_0x591116),_transformMarkersByDeletion(_0x4891a2,_0x591116);}function _transformMarkersByDeletion(_0x55f876,_0x3845a2){for(const [_0x172489,_0x22d943]of _0x55f876['markers']){const _0x3c3f70=_0x22d943['_getTransformedByDeletion'](_0x3845a2['start'],_0x3845a2['end']['offset']-_0x3845a2['start']['offset']);null!=_0x3c3f70?_0x55f876['markers']['set'](_0x172489,_0x3c3f70):_0x55f876['markers']['delete'](_0x172489);}}function _transformMarkersByInsertion(_0x185a2b,_0x4279cb,_0x279468){for(let [_0x3b5755,_0x59c257]of _0x185a2b['markers']){const _0x5cd205=_0x59c257['_getTransformedByInsertion'](_0x4279cb,_0x279468,!0x1);_0x59c257=_0x5cd205[0x0],_0x185a2b['markers']['set'](_0x3b5755,_0x59c257);}}class _0x4684d4 extends ckeditor5['ObservableMixin'](){['id'];['interactionId'];['type'];['sources']=[];['parsedContent']=new Document$1([]);['parsedMergedContent']=new Document$1([]);['changeGroups']=[];['areActionsDisabled']=!0x1;['isFromHistory']=!0x1;['documentContextContent'];['documentId'];['dataIdDocumentSources'];['newNodeAnchorIds']=new Map();['aiResponseParser'];['aiResponseApplier'];['locale'];['cachedSuggestionContentParts']={'withDiff':[],'withoutDiff':[]};constructor({type:_0x593b17,content:_0x464566='',isDone:_0x2e55f1=!0x1,isComplete:_0x281fa8,interactionId:_0x116569,areActionsDisabled:_0x449112,isFromHistory:_0x20d4f3=!0x1,documentContextContent:_0x48f4df,dataIdDocumentSources:_0x136b00,documentId:_0x16fe44,locale:_0x314fc7,id:_0x23cf73}){super(),this['id']=_0x23cf73||ckeditor5['uid'](),this['interactionId']=_0x116569,this['type']=_0x593b17,this['areActionsDisabled']=!!_0x449112,this['locale']=_0x314fc7,this['dataIdDocumentSources']=_0x136b00,this['documentId']=_0x16fe44,this['isFromHistory']=_0x20d4f3,this['aiResponseParser']=new _0x11fb3a(),this['aiResponseApplier']=new _0x3a54c9(),this['documentContextContent']=_0x306b12(_0x48f4df||''),this['set']('isDone',_0x2e55f1),this['set']('isComplete',_0x281fa8??_0x2e55f1),this['on']('change:content',()=>{this['onContentChange']();}),this['set']('content',_0x464566);}['appendContent'](_0x14c9dc){this['set']('content',this['content']+_0x14c9dc);}['done'](_0xfce4b5=!0x0){this['isComplete']=_0xfce4b5,this['isDone']||(this['set']('isDone',!0x0),this['onContentChange']());}['destroy'](){this['stopListening']();}['setChangeGroupState'](_0x2f6c00,_0x496379){this['changeGroups'][_0x2f6c00]['state']=_0x496379,this['fire']('replyChangeGroupStateUpdated',{'reply':this,'index':_0x2f6c00,'state':_0x496379});}['getContentParts']({showDiff:_0x5e463c,groupIndex:_0x534526,editor:_0x105690}){const _0x250820=this['_getCachedContentParts'](_0x5e463c,_0x534526);if(_0x250820)return _0x250820;let _0x49e04d=[];if(void 0x0===_0x534526)_0x49e04d=this['changeGroups'];else{const _0x2d7070=this['changeGroups']['find'](({index:_0x1e99a2})=>_0x1e99a2===_0x534526);if(!_0x2d7070)throw new ckeditor5['CKEditorError']('ai-reply-get-content-parts-group-not-found',null,{'aiReply':this,'groupIndex':_0x534526});_0x49e04d=[_0x2d7070];}const _0x34985c=getSuggestionPartsFromReply({'editor':_0x105690,'showDiff':_0x5e463c,'changeGroups':_0x49e04d,'documentContextContent':this['documentContextContent']});return this['_setCachedContentParts'](_0x5e463c,_0x34985c),_0x34985c;}['_getCachedContentParts'](_0x1bb735,_0x424270){const _0x36c506=_0x1bb735?'withDiff':'withoutDiff';if(!this['cachedSuggestionContentParts'][_0x36c506]['length'])return null;const _0x18932c=this['cachedSuggestionContentParts'][_0x36c506];if(void 0x0===_0x424270)return _0x18932c['length']>0x0&&_0x18932c['length']!==this['changeGroups']['length']?(this['_setCachedContentParts'](_0x1bb735,null),null):_0x564b70(_0x18932c);{const _0x29dac1=_0x18932c['find'](({index:_0x3a0eae})=>_0x3a0eae===_0x424270);if(_0x29dac1)return[_0x564b70(_0x29dac1)];}return null;}['_setCachedContentParts'](_0x2a246e,_0x456125){const _0x52da2d=_0x2a246e?'withDiff':'withoutDiff';_0x456125?_0x456125['forEach'](_0x112b6f=>{const _0x5bd7f1=this['cachedSuggestionContentParts'][_0x52da2d],_0x5ad645=_0x5bd7f1['find'](({index:_0x37cc17})=>_0x37cc17===_0x112b6f['index']);if(_0x5ad645){const _0x4308e=_0x5bd7f1['indexOf'](_0x5ad645);_0x5bd7f1['splice'](_0x4308e,0x1,_0x112b6f);}else _0x5bd7f1['push'](_0x112b6f);}):this['cachedSuggestionContentParts'][_0x52da2d]['length']=0x0;}['onContentChange'](){if('modification'===this['type']){this['parsedContent']=this['aiResponseParser']['parseAndNormalizeHTML'](this['content']);const _0x283085=this['changeGroups'];this['updateChangeGroups']();const _0x536f91=this['_getDifferentChangeGroups'](_0x283085,this['changeGroups']);(_0x536f91['length']||this['isDone'])&&(this['fire']('replyContentUpdated',this,_0x536f91),this['cachedSuggestionContentParts']['withDiff']['length']=this['cachedSuggestionContentParts']['withoutDiff']['length']=0x0);}else this['parsedContent']=this['aiResponseParser']['convertMarkdownToHTML'](this['content']),this['fire']('replyContentUpdated',this);}['_getDifferentChangeGroups'](_0x2d6ac5,_0x21dd3f){const _0x1c9ac7=[];for(const _0x3fb3eb of _0x21dd3f){const _0x536d57=_0x2d6ac5[_0x3fb3eb['index']];_0x536d57?_0x536d57['changes']['length']!==_0x3fb3eb['changes']['length']?_0x1c9ac7['push'](_0x3fb3eb):_0x536d57['changes']['forEach']((_0x578225,_0x34205a)=>{const _0x197d04=_0x3fb3eb['changes'][_0x34205a];_0x578225['id']!==_0x197d04['id']&&_0x1c9ac7['push'](_0x3fb3eb);}):_0x1c9ac7['push'](_0x3fb3eb);}return _0x1c9ac7;}['updateChangeGroups'](){const _0x157dbd=this['locale']?new Element$3('p',{},[new Element$3('span',{'style':'color:\x20#808080;\x20font-style:\x20italic'},[new Text$2(getTranslation$i(this['locale'],'AI_SUGGESTION_CONTENT_PART_REMOVED'))])]):void 0x0,_0x120791=this['aiResponseApplier']['merge'](this['parsedContent'],this['documentContextContent']['cloneNode'](!0x0),{'markUnstableElements':!this['isDone']||!this['isComplete'],'replaceRemovedWith':_0x157dbd,'cutAfterLastChange':!this['isDone']||!this['isComplete']});if(!_0x120791['modifiedNodeIds']['length']&&!this['isDone'])return;this['parsedMergedContent']=_0x120791['parsedContent'],this['newNodeAnchorIds']=_0x120791['newAnchorIds'];let _0x5d4d04=[];if(_0x1a44c6(_0x11d8e9=>{const _0x3b96cc=getAttribute(_0x11d8e9,'data-id');if(!_0x3b96cc||!_0x6b0647(_0x3b96cc))return!0x1;const _0x137ec5=[_0x11d8e9,...getParents(_0x11d8e9)]['at'](-0x2);if(_0x11d8e9!=_0x137ec5){const _0x2b9f97=getAttribute(_0x137ec5,'data-id');_0x6b0647(_0x2b9f97)||(_0x5d4d04['push']({'node':_0x137ec5,'id':_0x2b9f97,'type':'modified'}),_0x120791['modifiedNodeIds']['push'](_0x2b9f97));}else _0x120791['modifiedNodeIds']['includes'](_0x3b96cc)?_0x5d4d04['push']({'node':_0x11d8e9,'type':'modified','id':_0x3b96cc}):_0x120791['newNodeIds']['includes'](_0x3b96cc)?_0x5d4d04['push']({'node':_0x11d8e9,'type':'new','id':_0x3b96cc,'anchorId':getAttribute(_0x11d8e9['previousSibling'],'data-id')}):_0x5d4d04['push']({'node':_0x11d8e9,'type':'removed','id':_0x3b96cc});return!0x0;},this['parsedMergedContent']),_0x5d4d04=_0x5d4d04['filter'](({node:_0x23f1f0})=>[...getParents(_0x23f1f0),_0x23f1f0]['every'](_0x5f417a=>!getAttribute(_0x5f417a,'data-unstable'))),0x0==_0x5d4d04['length'])return;const _0x19c15c=[[_0x5d4d04[0x0]]];for(let _0x492ea9=0x1;_0x492ea9<_0x5d4d04['length'];_0x492ea9++){const _0x540268=_0x19c15c[_0x19c15c['length']-0x1],_0x2dfe8a=_0x540268[_0x540268['length']-0x1];_0x5d4d04[_0x492ea9]['node']['previousSibling']==_0x2dfe8a['node']&&'modified'!=_0x5d4d04[_0x492ea9]['type']&&'modified'!=_0x2dfe8a['type']&&this['_isSameDocument'](_0x5d4d04[_0x492ea9]['node'],_0x2dfe8a['node'])?_0x540268['push'](_0x5d4d04[_0x492ea9]):_0x19c15c['push']([_0x5d4d04[_0x492ea9]]);}for(const _0x3d5688 of _0x19c15c){const _0x156099=_0x3d5688[0x0],_0x1f3aed=_0x3d5688[_0x3d5688['length']-0x1],_0x5d1599=_0x4e67a2(_0x156099['node']['previousSibling']);_0x5d1599&&this['_isSameDocument'](_0x5d1599['node'],_0x156099['node'])&&_0x3d5688['unshift'](_0x5d1599);const _0x526ab3=_0x4e67a2(_0x1f3aed['node']['nextSibling']);_0x526ab3&&this['_isSameDocument'](_0x526ab3['node'],_0x1f3aed['node'])&&_0x3d5688['push'](_0x526ab3);}function _0x6b0647(_0xc4390){return _0x120791['modifiedNodeIds']['includes'](_0xc4390)||_0x120791['newNodeIds']['includes'](_0xc4390)||_0x120791['removedNodeIds']['includes'](_0xc4390);}function _0x4e67a2(_0xa39c28){if(_0xa39c28&&getAttribute(_0xa39c28,'data-id')&&!getAttribute(_0xa39c28,'data-unstable')){const _0x1ea8b9=getAttribute(_0xa39c28,'data-id');if(!_0x6b0647(_0x1ea8b9))return{'node':_0xa39c28,'type':'context','id':_0x1ea8b9};}return null;}this['changeGroups']=_0x19c15c['map']((_0xdbc3cb,_0x2bd213)=>({'changes':_0xdbc3cb,'state':'pending','index':_0x2bd213}));}['_isSameDocument'](_0x341083,_0x11e742){if(!this['dataIdDocumentSources']?.['size'])return!0x0;const _0x481cf7=this['_resolveDocumentSource'](_0x341083),_0x13a2ba=this['_resolveDocumentSource'](_0x11e742);return!_0x481cf7||!_0x13a2ba||_0x481cf7['editor']===_0x13a2ba['editor']&&_0x481cf7['rootName']===_0x13a2ba['rootName'];}['_resolveDocumentSource'](_0x2f1636){if(!_0x2f1636||!this['dataIdDocumentSources'])return;const _0x4ff4bb=getAttribute(_0x2f1636,'data-id');if(_0x4ff4bb){const _0x526397=this['dataIdDocumentSources']['get'](_0x4ff4bb);if(_0x526397)return _0x526397;const _0x4323c0=this['newNodeAnchorIds']['get'](_0x4ff4bb),_0x5381ee=_0x4323c0?this['dataIdDocumentSources']['get'](_0x4323c0):void 0x0;if(_0x5381ee)return _0x5381ee;}for(let _0x5440c0=_0x2f1636['previousSibling'];_0x5440c0;_0x5440c0=_0x5440c0['previousSibling']){const _0x541cc7=getAttribute(_0x5440c0,'data-id'),_0x37da0e=_0x541cc7?this['dataIdDocumentSources']['get'](_0x541cc7):void 0x0;if(_0x37da0e)return _0x37da0e;}for(let _0x2a85fa=_0x2f1636['nextSibling'];_0x2a85fa;_0x2a85fa=_0x2a85fa['nextSibling']){const _0x3072d4=getAttribute(_0x2a85fa,'data-id'),_0x5f2a99=_0x3072d4?this['dataIdDocumentSources']['get'](_0x3072d4):void 0x0;if(_0x5f2a99)return _0x5f2a99;}}}const _0x1faaef=['interactionCreated','interactionStarted','interactionStopped','interactionFinished','interactionDestroyed','replyCreated','replyContentUpdated','replyChangeGroupStateUpdated','setConversationTitle','webSearchStarted','webSearchFinished','reasoningStarted','reasoningFinished','toolDataReceived','error'];class AIInteraction extends ckeditor5['EmitterMixin'](){['id'];['replies']=[];['currentReply'];['messageId'];['actionCallId'];['currentRequest'];['connector'];['isStopped']=!0x1;['isDestroyed']=!0x1;['locale'];['_isReasoning']=!0x1;['_isWebSearching']=!0x1;constructor({connector:_0x316f34,locale:_0x196b4f}){super(),this['id']=ckeditor5['uid'](),this['connector']=_0x316f34,this['isStopped']=!0x0,this['locale']=_0x196b4f;}async['start'](){const _0x1fe140=[];let _0x105b14,_0xd10b14,_0x364f38,_0x10f7b0=!0x1;this['isStopped']=!0x1;try{this['currentRequest']=await this['sendRequest'](),this['fire']('interactionStarted',this);const _0x595b31=await this['currentRequest']['getStream']();for await(const _0x5a2075 of _0x595b31){if(this['isStopped'])return;if('error'==_0x5a2075['event'])return void this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-interaction-error',this)});switch(_0x5a2075['event']){case'message-metadata':this['messageId']=_0x5a2075['data']['messageId'];break;case'action-metadata':this['actionCallId']=_0x5a2075['data']['callId'];break;case'conversation-title':this['setConversationTitle'](_0x5a2075['data']['conversationTitle'],!0x0);break;case'source':_0x1fe140['push'](_0x5a2075['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'](),_0x105b14='modification-delta'==_0x5a2075['event']?'modification':'text',_0xd10b14='modification-delta'==_0x5a2075['event']?_0x5a2075['data']['id']:void 0x0,this['currentReply']&&this['currentReply']['type']!=_0x105b14&&(this['currentReply']['done'](),this['currentReply']=void 0x0),this['currentReply']?'modification-delta'==_0x5a2075['event']&&(this['currentReply']['documentId']=_0x5a2075['data']['documentId']):(this['currentReply']=this['createReply']({'type':_0x105b14,'interactionId':this['id'],'id':_0xd10b14,...'modification-delta'==_0x5a2075['event']&&{'documentId':_0x5a2075['data']['documentId']}}),'modification'==_0x105b14&&(this['currentReply']['sources']=_0x1fe140['splice'](0x0))),this['currentReply']['appendContent'](_0x5a2075['data']['textDelta']);break;case'mcp-tool-result':_0x364f38=JSON['parse'](_0x5a2075['data']['result']),this['_handleToolResultData']({'toolName':_0x5a2075['data']['toolName'],'data':_0x364f38['data'],'attributes':_0x364f38['attributes']});break;case'mcp-tool-notification':this['_handleToolNotificationData']({'toolName':_0x5a2075['data']['toolName'],'data':_0x5a2075['data']['data']});}}_0x10f7b0=!0x0;}finally{this['isStopped']||(this['currentReply']&&_0x1fe140['length']>0x0&&(this['currentReply']['sources']=_0x1fe140['splice'](0x0)),this['_finalizeInteraction'](_0x10f7b0),this['fire']('interactionFinished',this));}}['stop'](){this['isStopped']||(this['_finalizeInteraction'](),this['fire']('interactionStopped',this));}['getReply'](_0x2ea3e8){return this['replies']['find'](_0x31f2df=>_0x31f2df['id']===_0x2ea3e8);}['destroy'](){this['isDestroyed']||(this['stop'](),this['replies']['forEach'](_0x159c21=>_0x159c21['destroy']()),this['replies']=[],this['isDestroyed']=!0x0,this['fire']('interactionDestroyed',this),this['stopListening']());}['createReply'](_0x718b59){const _0x266320=new _0x4684d4({'locale':this['locale'],'documentContextContent':this['getDocumentContext']()?.['content'],'dataIdDocumentSources':this['getDocumentContext']()?.['dataIdDocumentSources'],..._0x718b59});return this['replies']['push'](_0x266320),_0x266320['delegate'](..._0x1faaef)['to'](this),this['fire']('replyCreated',_0x266320),_0x266320;}['setConversationTitle'](_0x24f405,_0x5b70de=!0x1){this['fire']('setConversationTitle',_0x24f405,_0x5b70de);}['resetWebSearchState'](){this['_isWebSearching']&&(this['_isWebSearching']=!0x1,this['fire']('webSearchFinished',this));}['resetReasoningState'](){this['_isReasoning']&&(this['_isReasoning']=!0x1,this['fire']('reasoningFinished',this));}['_handleToolResultData'](_0x503f24){this['fire']('toolDataReceived',{'type':'result','toolName':_0x503f24['toolName'],'data':structuredClone(_0x503f24['data']||{}),'attributes':structuredClone(_0x503f24['attributes']||{})},this);}['_handleToolNotificationData'](_0x136b0a){this['fire']('toolDataReceived',{'type':'notification','toolName':_0x136b0a['toolName'],'data':structuredClone(_0x136b0a['data'])},this);}['_finalizeInteraction'](_0x23849b=!0x1){this['isStopped']=!0x0,this['currentRequest']&&this['currentRequest']['abortController']['abort'](),this['currentReply']&&this['currentReply']['done'](_0x23849b),this['currentRequest']=this['currentReply']=void 0x0;}}const _0x1679fa=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']]),_0x321d1c=['contextItemAdded','contextItemRemoved','contextItemLoadingEnded','contextSent','error','addContextOptionsChanged','sourceResourcesLoaded','resourceStateChanged','uploadProgressChanged'];class AIChatContext extends ckeditor5['ObservableMixin'](){['_connector'];['_config'];['_ownerId'];constructor({connector:_0x16a115,config:_0x1ec331,ownerId:_0x2599cd}){super(),this['_connector']=_0x16a115,this['_config']=_0x1ec331,this['_ownerId']=_0x2599cd;}['init'](){this['_pendingContextItems']=new Map(),this['_conversationContextItems']=new Map(),this['_ongoingUploads']=new Map(),this['_ongoingUploadOperations']=new Map(),this['_documentSources']=new Map(),this['_dataIdToSource']=new Map(),this['_setAddContextOptionsDefaultState']();}['_getDocumentSource'](_0x270744){if(_0x270744)return this['_documentSources']['get'](_0x270744);}['getSourceByDataId'](_0x5bcd99){if(_0x5bcd99)return this['_dataIdToSource']['get'](_0x5bcd99);}['_getDocumentContextSlice'](_0x1ced1a){const _0x2e0f90=this['_getDocumentSource'](_0x1ced1a);if(_0x2e0f90)return{'editor':_0x2e0f90['editor'],'rootName':_0x2e0f90['rootName'],'html':_0x2e0f90['content'],'version':_0x2e0f90['version']};}['getDocumentContextSliceByDataId'](_0x40f362){const _0x41061b=this['getSourceByDataId'](_0x40f362);return _0x41061b?this['_getDocumentContextSlice'](_0x41061b['documentId']):void 0x0;}['getPendingContextItems'](){return this['_pendingContextItems'];}async['populateFromMessage'](_0x5ecbf3){const _0xb3a2ac=await this['_createContextItemFromContent'](_0x5ecbf3);return this['_addToConversationContextItem'](_0xb3a2ac),'current-document'===_0xb3a2ac['uiId']&&this['_toggleAddCurrentDocumentOptionVisibility'](),_0xb3a2ac;}async['populateDocumentsFromMessage'](_0x4a6937,_0x5a4a44){const _0x1a96c6=_0x4a6937['filter'](_0x5427fd=>'document'===_0x5427fd['type']);if(0x0===_0x1a96c6['length'])return{'hasUnmatched':!0x1};if(0x1===_0x1a96c6['length'])return{'contextItem':await this['populateFromMessage'](_0x1a96c6[0x0]),'hasUnmatched':!0x1};const _0x1567a7=_0x1a96c6['map'](_0x2b0644=>_0x2b0644['id']),_0x5236c7=await this['_connector']['fetchDocuments'](this['_ownerId'],_0x1567a7)['getDocuments'](),_0x2916f6=new Map(_0x5236c7['map'](_0x4d3027=>[_0x4d3027['id'],_0x4d3027]));this['_documentSources']['clear'](),this['_dataIdToSource']['clear']();const _0x3ceb62=[];let _0xb471aa=!0x1;for(const _0x560976 of _0x1a96c6){const _0x3d0334=_0x2916f6['get'](_0x560976['id']);if(!_0x3d0334)continue;const _0x580d55=this['_matchDocumentToRoot'](_0x3d0334,_0x5a4a44),_0x484a78=_0x5a4a44[0x0]&&this['_getFirstRoot'](_0x5a4a44[0x0]);_0x580d55||(_0xb471aa=!0x0);const _0x17b84e=_0x580d55?.['editor']??_0x484a78?.['editor'],_0x289860=_0x580d55?.['rootName']??_0x484a78?.['rootName'];if(_0x17b84e&&_0x289860){const _0x46486e={'editor':_0x17b84e,'rootName':_0x289860,'content':_0x3d0334['content'],'version':_0x3d0334['attributes']?.['version']??0x0,'name':_0x3d0334['name'],'description':_0x3d0334['description']};this['_documentSources']['set'](_0x3d0334['id'],_0x46486e);const _0x60415e=_0x306b12(_0x3d0334['content']);for(const _0x5f36bc of _0x1a44c6(_0x4854c8=>!!getAttribute(_0x4854c8,'data-id'),_0x60415e)){const _0x348620=getAttribute(_0x5f36bc,'data-id');_0x348620&&this['_dataIdToSource']['set'](_0x348620,{..._0x46486e,'documentId':_0x3d0334['id']});}}_0x3ceb62['push']({'id':_0x3d0334['id'],'content':_0x3d0334['content'],'version':_0x3d0334['attributes']?.['version']??0x0,'sessionId':_0x3d0334['attributes']?.['sessionId']??null,'selection':[]});}const _0x512e89={'id':'current-document','uiId':'current-document','label':'Current\x20document','type':'document','hidden':this['_conversationContextItems']['has']('current-document'),'documents':_0x3ceb62,'dataIdDocumentSources':new Map(this['_dataIdToSource'])};return this['_addToConversationContextItem'](_0x512e89),this['_toggleAddCurrentDocumentOptionVisibility'](),{'contextItem':_0x512e89,'hasUnmatched':_0xb471aa};}['_matchDocumentToRoot'](_0x14c6a8,_0x28e29e){const _0x48fd4f=_0x14c6a8['attributes']?.['channelId'],_0x56cd35=_0x14c6a8['attributes']?.['rootName'];if(_0x48fd4f&&_0x56cd35){for(const _0x81e092 of _0x28e29e)if(_0x81e092['config']['get']('collaboration.channelId')===_0x48fd4f){for(const _0x40a45c of _0x81e092['model']['document']['getRoots']())if('$graveyard'!==_0x40a45c['rootName']&&_0x40a45c['rootName']===_0x56cd35)return{'editor':_0x81e092,'rootName':_0x40a45c['rootName']};}}}['_getFirstRoot'](_0x25d018){for(const _0x52c1d8 of _0x25d018['model']['document']['getRoots']())if('$graveyard'!==_0x52c1d8['rootName'])return{'editor':_0x25d018,'rootName':_0x52c1d8['rootName']};}async['_createContextItemFromContent'](_0x524cf8){if('document'===_0x524cf8['type']){const _0x44a2d5=await this['_connector']['fetchDocument'](this['_ownerId'],_0x524cf8['id'])['getDocument']();return{'id':'current-document','uiId':'current-document','label':'Current\x20document','type':_0x524cf8['type'],'content':_0x44a2d5['content'],'hidden':this['_conversationContextItems']['has']('current-document'),'version':_0x44a2d5['attributes']?.['version'],'sessionId':_0x44a2d5['attributes']?.['sessionId']};}if('mcp-tool-context'===_0x524cf8['type'])return{'id':_0x524cf8['id'],'uiId':_0x524cf8['id'],'label':_0x524cf8['data']?.['label']||_0x524cf8['id'],'type':'mcp-tool-context','mcpServerName':_0x524cf8['mcpServerName'],'toolName':_0x524cf8['toolName'],'data':_0x524cf8['data']||{}};return{'id':_0x524cf8['id'],'uiId':_0x524cf8['id'],'label':_0x524cf8['attributes']?.['label']||_0x524cf8['name']||_0x524cf8['url']||_0x524cf8['id'],'type':_0x524cf8['type'],..._0x524cf8?.['attributes']?.['resourceId']?{'resourceId':_0x524cf8['attributes']?.['resourceId']}:{}};}['getSentContextItems'](){return new Map(this['_conversationContextItems']);}['removeFromContext'](_0x91631c){const _0x57a2a7=this['_pendingContextItems']['get'](_0x91631c);_0x57a2a7?.['isReadOnly']||this['_removeContextItem'](_0x91631c);}['clearPendingContextItems'](){if(0x0===this['_pendingContextItems']['size'])return;for(const _0x126686 of this['_pendingContextItems']['values']())this['_removeContextItem'](_0x126686['uiId']);const _0x2536cc=this['_conversationContextItems']['get']('current-document')||this['_pendingContextItems']['get']('current-document');_0x2536cc&&this['_addContextItem']({..._0x2536cc,'isReadOnly':!0x0,'hidden':!0x0});}['addToConversationContext'](_0x512fc9){for(const _0x45e68e of _0x512fc9['values']())this['_addToConversationContextItem'](_0x45e68e);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'](_0x1ac215){return Array['from'](_0x1ac215['values']())['flatMap'](_0x249ca8=>this['_mapContextItemToRequestData'](_0x249ca8));}async['addFilesToContext'](_0x3663bf,_0x2f0f34,_0x2443a7='file'){const _0x5e787d='files-'+ckeditor5['uid']();this['_startUploadOperation'](_0x5e787d);try{await Promise['all'](_0x3663bf['map'](async _0x293697=>{const _0x4f8669='file-'+ckeditor5['uid'](),_0x37bfd0=_0x5c261b(_0x293697['name']);try{this['_addContextItem']({'type':_0x2443a7,'label':_0x2f0f34?.['label']||_0x37bfd0,'uiId':_0x4f8669,'resourceId':_0x2f0f34?.['resourceId']},!0x0);const _0x502f2a=this['_connector']['uploadFile'](this['_ownerId'],_0x293697,_0x2f0f34);this['_ongoingUploads']['set'](_0x4f8669,_0x502f2a['abortController']);const {id:_0x5b1cde}=await _0x502f2a['getId']();this['_ongoingUploads']['delete'](_0x4f8669),this['_finishContextItemLoading']({'type':_0x2443a7,'id':_0x5b1cde,'label':_0x2f0f34?.['label']||_0x37bfd0,'uiId':_0x4f8669,'resourceId':_0x2f0f34?.['resourceId']},!0x1);}catch(_0x2fe525){this['_ongoingUploads']['delete'](_0x4f8669);if(!(_0x2fe525 instanceof ckeditor5['CKEditorError']&&_0x2fe525['message']['startsWith']('ai-request-aborted'))){const _0x5bb537=_0x1679fa['get'](_0x2fe525['code'])||'ai-chat-file-upload-failed',_0xcbb13c=new ckeditor5['CKEditorError'](_0x5bb537,null,{'fileName':_0x37bfd0,..._0x2fe525});_0xcbb13c['stack']=_0x2fe525['stack'],this['fire']('error',{'error':_0xcbb13c});}this['_removeContextItem'](_0x4f8669);}}));}finally{this['_finishUploadOperation'](_0x5e787d);}}['addCurrentDocumentToContext'](_0x4a2ca7){if(this['isCurrentDocumentInContext']()||!this['_addContextOptionsState']['document']['enabled'])return;const _0x222506={'type':'document','uiId':'current-document','label':_0x4a2ca7,'isReadOnly':this['_conversationContextItems']['has']('current-document'),'hidden':this['_conversationContextItems']['has']('current-document')};this['_addContextItem'](_0x222506);}async['updateCurrentDocument'](_0x69c06f,_0x2b406d,_0x5daaa5,_0x256351,_0x15099f,_0x78f0e){const _0x440d38=this['_pendingContextItems']['get']('current-document');if(_0x440d38&&_0x69c06f){_0x440d38['selection']=_0x78f0e?_0x78f0e['map'](_0x21b07d=>({'start':_0x21b07d['start'],'end':_0x21b07d['end']})):[];try{if(_0x440d38['version']===_0x2b406d)return;const {id:_0x3e1c77}=await this['_connector']['uploadDocument'](this['_ownerId'],_0x69c06f,{'version':_0x2b406d,'sessionId':_0x5daaa5,'channelId':_0x256351,'rootName':_0x15099f})['getId']();_0x440d38['id']=_0x3e1c77,_0x440d38['content']=_0x69c06f,_0x440d38['version']=_0x2b406d,_0x440d38['sessionId']=_0x5daaa5;}catch(_0x4ac521){const _0x57f6ab=new ckeditor5['CKEditorError']('ai-chat-document-upload-failed',null);_0x57f6ab['stack']=_0x4ac521['stack'],this['fire']('error',{'error':_0x57f6ab});}}}async['updateCurrentDocuments'](_0x3c9e1b){const _0x48d33a=this['_pendingContextItems']['get']('current-document');if(!_0x48d33a||!_0x3c9e1b['length']||_0x3c9e1b['every'](_0x1d23f6=>!_0x1d23f6['content']))return;_0x3c9e1b['length']>0x1&&_0x3c9e1b['some'](_0x367369=>!_0x367369['description'])&&ckeditor5['logWarning']('ai-chat-documents-missing-description');const _0x1d5e20=_0x2c19de=>_0x2c19de?_0x2c19de['map'](_0x5401c6=>({'start':_0x5401c6['start'],'end':_0x5401c6['end']})):[],_0x9ca000=_0x48d33a['documents']??[],_0x280147=_0x9ca000['length']===_0x3c9e1b['length']&&_0x3c9e1b['every']((_0x520488,_0x2bb372)=>_0x9ca000[_0x2bb372]?.['version']===_0x520488['version']);if(_0x280147)_0x48d33a['documents']=_0x9ca000['map']((_0xf5ef93,_0x4c1f4b)=>({..._0xf5ef93,'selection':_0x1d5e20(_0x3c9e1b[_0x4c1f4b]['selections'])}));else try{const _0xaaa666=await this['_connector']['uploadDocuments'](this['_ownerId'],_0x3c9e1b)['getIds']();_0x48d33a['documents']=_0x3c9e1b['map']((_0xf47680,_0x569f5c)=>({'id':_0xaaa666[_0x569f5c]?.['id'],'content':_0xf47680['content'],'version':_0xf47680['version'],'sessionId':_0xf47680['sessionId'],'selection':_0x1d5e20(_0xf47680['selections'])})),this['_documentSources']['clear'](),this['_dataIdToSource']['clear']();for(let _0x1d2508=0x0;_0x1d2508<_0x3c9e1b['length'];_0x1d2508++){const _0x588fb2=_0xaaa666[_0x1d2508]?.['id'],_0x22fcaf=_0x3c9e1b[_0x1d2508];if(!_0x588fb2)continue;const _0x2a54cb={'editor':_0x22fcaf['editor'],'rootName':_0x22fcaf['rootName'],'content':_0x22fcaf['content'],'version':_0x22fcaf['version'],'name':_0x22fcaf['name'],'description':_0x22fcaf['description']};this['_documentSources']['set'](_0x588fb2,_0x2a54cb);const _0x341b60=_0x306b12(_0x22fcaf['content']);for(const _0x4aca22 of _0x1a44c6(_0x4537b4=>!!getAttribute(_0x4537b4,'data-id'),_0x341b60)){const _0x3111bd=getAttribute(_0x4aca22,'data-id');_0x3111bd&&this['_dataIdToSource']['set'](_0x3111bd,{..._0x2a54cb,'documentId':_0x588fb2});}}_0x48d33a['dataIdDocumentSources']=new Map(this['_dataIdToSource']);}catch(_0x465cc8){const _0x287455=new ckeditor5['CKEditorError']('ai-chat-document-upload-failed',null);_0x287455['stack']=_0x465cc8['stack'],this['fire']('error',{'error':_0x287455});}}['addSelectionToContext'](_0x3b8f21){this['_addContextItem']({'type':'selection','label':_0x3b8f21,'uiId':'selection','content':_0x3b8f21});}['removeSelectionFromContext'](){this['_removeContextItem']('selection');}async['addUrlToContext'](_0x1bf55e,_0x3f802e){const _0x35dff1='url-'+ckeditor5['uid']();this['_startUploadOperation'](_0x35dff1);const _0x7e79a8='url-'+ckeditor5['uid']();try{this['_addContextItem']({'type':'web-resource','label':_0x3f802e?.['label']||_0x1bf55e,'uiId':_0x7e79a8,'resourceId':_0x3f802e?.['resourceId']},!0x0);const _0x49a036=this['_connector']['uploadUrl'](this['_ownerId'],_0x1bf55e,_0x3f802e);this['_ongoingUploads']['set'](_0x7e79a8,_0x49a036['abortController']);const {id:_0x593b9a}=await _0x49a036['getId']();this['_ongoingUploads']['delete'](_0x7e79a8),this['_finishContextItemLoading']({'type':'web-resource','id':_0x593b9a,'label':_0x3f802e?.['label']||_0x1bf55e,'uiId':_0x7e79a8,'resourceId':_0x3f802e?.['resourceId']},!0x1);}catch(_0x471244){this['_ongoingUploads']['delete'](_0x7e79a8),(_0x471244['message']['startsWith']('ai-request-aborted')||this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-url-upload-failed',this,{'url':_0x1bf55e,'originalError':_0x471244}),'url':_0x1bf55e}),this['_removeContextItem'](_0x7e79a8));}finally{this['_finishUploadOperation'](_0x35dff1);}}['addToolItemToContext'](_0xc53f12){_0xc53f12['id']=_0xc53f12['id']??ckeditor5['uid']()['substring'](0x0,0x15),this['_pendingContextItems']['set'](_0xc53f12['uiId'],_0xc53f12),this['fire']('contextItemAdded',{'contextItem':_0xc53f12,'isLoading':!0x1});}async['loadSourceResources'](_0x29fa9d,_0x142334,_0x39dda7){const _0x4c9c56=this['_addContextOptionsState']['sources']['find'](_0x31eb4c=>_0x31eb4c['id']===_0x29fa9d);if(!_0x4c9c56)return this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-source-not-found',this,{'sourceId':_0x29fa9d}),'sourceId':_0x29fa9d}),[];try{const _0x7f2dd4=(await _0x4c9c56['getResources'](_0x142334))['map'](_0x59c8ec=>{const _0x111a29=this['_isResourceInContext'](_0x59c8ec['id']);return{..._0x59c8ec,'isInContext':_0x111a29};});return _0x4c9c56['resources']=_0x7f2dd4,this['fire']('sourceResourcesLoaded',{'sourceId':_0x29fa9d,'source':_0x4c9c56,'resources':_0x7f2dd4,'uid':_0x39dda7}),_0x7f2dd4;}catch(_0x274487){return this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-source-resources-load-failed',this,{'sourceId':_0x29fa9d,'originalError':_0x274487}),'sourceId':_0x29fa9d,'sourceLabel':_0x4c9c56['label']}),[];}}async['addResourceToContext'](_0x447d1b,_0x59280c){if(this['_isResourceInContext'](_0x59280c['id']))return;let _0x4210d8=_0x59280c['data'];if(!_0x4210d8&&_0x447d1b['getData'])try{_0x4210d8=await _0x447d1b['getData'](_0x59280c['id']);}catch(_0xd0fb87){return void this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-resource-load-failed',this,{'resourceId':_0x59280c['id'],'sourceId':_0x447d1b['id'],'originalError':_0xd0fb87}),'resourceId':_0x59280c['id'],'sourceId':_0x447d1b['id']});}if(_0x4210d8)switch(_0x59280c['type']){case'web-resource':if('string'!=typeof _0x4210d8)return void this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-context-invalid-data',this,{'resourceId':_0x59280c['id'],'sourceId':_0x447d1b['id'],'expectedType':'string','actualType':typeof _0x4210d8}),'resourceId':_0x59280c['id'],'sourceId':_0x447d1b['id']});await this['addUrlToContext'](_0x4210d8,{'label':_0x59280c['label'],'resourceId':_0x59280c['id']});break;case'file':if(!(_0x4210d8 instanceof File))return void this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-context-invalid-data',this,{'resourceId':_0x59280c['id'],'sourceId':_0x447d1b['id'],'expectedType':'File','actualType':typeof _0x4210d8}),'resourceId':_0x59280c['id'],'sourceId':_0x447d1b['id']});await this['addFilesToContext']([_0x4210d8],{'label':_0x59280c['label'],'resourceId':_0x59280c['id']});break;case'text':if('object'!=typeof _0x4210d8||!('content'in _0x4210d8)||!('type'in _0x4210d8))return void this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-context-invalid-data',this,{'resourceId':_0x59280c['id'],'sourceId':_0x447d1b['id'],'expectedType':'object\x20with\x20content\x20and\x20type\x20properties','actualType':typeof _0x4210d8}),'resourceId':_0x59280c['id'],'sourceId':_0x447d1b['id']});_0x4210d8=AIChatContext['_convertTextResourceToFile'](_0x4210d8,_0x59280c['label']),await this['addFilesToContext']([_0x4210d8],{'label':_0x59280c['label'],'resourceId':_0x59280c['id']},'text');break;case'mcp-tool-context':break;default:this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-context-unsupported-type',this,{'resourceId':_0x59280c['id'],'sourceId':_0x447d1b['id'],'resourceType':_0x59280c['type']}),'resourceId':_0x59280c['id'],'sourceId':_0x447d1b['id']});}else this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-resource-no-data',this,{'resourceId':_0x59280c['id'],'sourceId':_0x447d1b['id']}),'resourceId':_0x59280c['id'],'sourceId':_0x447d1b['id']});}static['_convertTextResourceToFile'](_0x5a9c74,_0x2e310b){switch(_0x5a9c74['type']){case'markdown':return new File([_0x5a9c74['content']],_0x2e310b,{'type':'text/markdown'});case'html':return new File([_0x5a9c74['content']],_0x2e310b,{'type':'text/html'});default:return new File([_0x5a9c74['content']],_0x2e310b,{'type':'text/plain'});}}static['_mapContextItemToRequestData'](_0x5be6ac){switch(_0x5be6ac['type']){case'file':case'text':return[{'type':'file','id':_0x5be6ac['id']}];case'web-resource':return[{'type':'web-resource','id':_0x5be6ac['id']}];case'document':return _0x5be6ac['documents']?.['length']?_0x5be6ac['documents']['map'](_0x56586b=>({'type':'document','id':_0x56586b['id'],..._0x56586b['selection']?.['length']&&{'selection':_0x56586b['selection']}})):[{'type':'document','id':_0x5be6ac['id'],..._0x5be6ac['selection']?.['length']&&{'selection':_0x5be6ac['selection']}}];case'mcp-tool-context':{const _0x59b0a7=_0x5be6ac;return[{'type':'mcp-tool-context','mcpServerName':_0x59b0a7['mcpServerName'],'toolName':_0x59b0a7['toolName'],'data':{..._0x59b0a7['data'],'label':_0x59b0a7['label']||_0x59b0a7['data']?.['label']||_0x59b0a7['id']},'id':_0x59b0a7['id']}];}default:return[];}}['_addContextItem'](_0x2b06d1,_0x14b206=!0x1){if(this['_pendingContextItems']['set'](_0x2b06d1['uiId'],_0x2b06d1),_0x2b06d1['hidden']||this['fire']('contextItemAdded',{'contextItem':_0x2b06d1,'isLoading':_0x14b206}),'current-document'===_0x2b06d1['uiId']&&this['_toggleAddCurrentDocumentOptionVisibility'](),_0x2b06d1['resourceId']){const _0x296cbe=this['_findSourceIdsByResourceId'](_0x2b06d1['resourceId']);_0x296cbe&&_0x296cbe['forEach'](_0xa04191=>{this['_updateResourceInContextState'](_0xa04191,_0x2b06d1['resourceId'],!0x0);});}}['_removeContextItem'](_0x46cba9){const _0x562acc=this['_pendingContextItems']['get'](_0x46cba9),_0x16f834=this['_ongoingUploads']['get'](_0x46cba9);if(_0x16f834&&(_0x16f834['abort'](),this['_ongoingUploads']['delete'](_0x46cba9)),_0x562acc?.['resourceId']){const _0x13bd55=this['_findSourceIdsByResourceId'](_0x562acc['resourceId']);_0x13bd55&&_0x13bd55['forEach'](_0x2bd88a=>{this['_updateResourceInContextState'](_0x2bd88a,_0x562acc['resourceId'],!0x1);});}this['_pendingContextItems']['delete'](_0x46cba9),this['fire']('contextItemRemoved',{'uiId':_0x46cba9,'type':_0x562acc?.['type']}),'current-document'===_0x46cba9&&this['_toggleAddCurrentDocumentOptionVisibility']();}['_finishContextItemLoading'](_0x4066e6,_0x520767){if(this['_pendingContextItems']['has'](_0x4066e6['uiId'])&&(this['_pendingContextItems']['set'](_0x4066e6['uiId'],_0x4066e6),this['fire']('contextItemLoadingEnded',{'contextItem':_0x4066e6,'isLoading':_0x520767}),_0x4066e6['resourceId'])){const _0xc818c6=this['_findSourceIdsByResourceId'](_0x4066e6['resourceId']);_0xc818c6&&_0xc818c6['forEach'](_0x52dc02=>{this['_updateResourceInContextState'](_0x52dc02,_0x4066e6['resourceId'],!0x0);});}}['_addToConversationContextItem'](_0x298296){this['_conversationContextItems']['set'](_0x298296['uiId'],_0x298296);}['_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'](_0x1436d8=>({..._0x1436d8,'enabled':!0x0}))??[]},this['fire']('addContextOptionsChanged',{'options':this['_addContextOptionsState']});}['_getCustomSourcesInitialState'](){return this['_config']?.['sources']?.['map'](_0x3f0e9a=>({..._0x3f0e9a,'resources':[]}))??[];}['_toggleAddCurrentDocumentOptionVisibility'](){const _0x424467=this['isCurrentDocumentInContext']()||this['isCurrentDocumentInConversation']();this['_addContextOptionsState']['document']['isHidden']=_0x424467,this['fire']('addContextOptionsChanged',{'options':this['_addContextOptionsState']});}['_isResourceInContext'](_0x16adb0){for(const _0x409c2f of this['_pendingContextItems']['values']())if(_0x409c2f['resourceId']===_0x16adb0)return!0x0;for(const _0x2f3a48 of this['_conversationContextItems']['values']())if(_0x2f3a48['resourceId']===_0x16adb0)return!0x0;return!0x1;}['_findSourceIdsByResourceId'](_0x3644b1){const _0xfd75c6=[];for(const _0x28eeae of this['_addContextOptionsState']['sources']){_0x28eeae['resources']['find'](_0x4f980e=>_0x4f980e['id']===_0x3644b1)&&_0xfd75c6['push'](_0x28eeae['id']);}return 0x0===_0xfd75c6['length']?null:_0xfd75c6;}['_updateResourceInContextState'](_0x2d7d62,_0x1256e3,_0x311b7f){const _0x311a4d=this['_addContextOptionsState']['sources']['find'](_0x336c2c=>_0x336c2c['id']===_0x2d7d62);if(!_0x311a4d)return;const _0x44d78b=_0x311a4d['resources']['find'](_0x5b3692=>_0x5b3692['id']===_0x1256e3);_0x44d78b&&(_0x44d78b['isInContext']=_0x311b7f,this['fire']('resourceStateChanged',{'sourceId':_0x2d7d62,'resourceId':_0x1256e3,'isInContext':_0x311b7f}));}['_startUploadOperation'](_0x282d29){this['_ongoingUploadOperations']['set'](_0x282d29,!0x0),this['_ongoingUploadOperations']['size']&&this['fire']('uploadProgressChanged',{'isUploadInProgress':!0x0});}['_finishUploadOperation'](_0x2a352e){this['_ongoingUploadOperations']['delete'](_0x2a352e),0x0===this['_ongoingUploadOperations']['size']&&this['fire']('uploadProgressChanged',{'isUploadInProgress':!0x1});}}const _0x53474b=['capabilitiesUpdated'];class AICapabilities extends ckeditor5['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'](_0x4c9b41){const _0x4453a7={};return _0x4c9b41&&_0x4c9b41['isWebSearchEnabled']&&(_0x4453a7['webSearch']={}),_0x4c9b41&&_0x4c9b41['isReasoningEnabled']&&(_0x4453a7['reasoning']={}),_0x4453a7;}['toggleWebSearch'](){this['setWebSearch'](!this['_isWebSearchEnabled']);}['toggleReasoning'](){this['setReasoning'](!this['_isReasoningEnabled']);}['setWebSearch'](_0x2485a8){_0x2485a8!==this['_isWebSearchEnabled']&&(this['_isWebSearchEnabled']=_0x2485a8,this['fire']('capabilitiesUpdated',this['getCapabilitiesConfig']()));}['setReasoning'](_0x296269){_0x296269!==this['_isReasoningEnabled']&&(this['_isReasoningEnabled']=_0x296269,this['fire']('capabilitiesUpdated',this['getCapabilitiesConfig']()));}}class AIChatInteraction extends AIInteraction{['userMessage'];['conversationId'];['contextItems']=new Map();['capabilities'];['model'];['attributes'];constructor(_0x617338){super(_0x617338),this['conversationId']=_0x617338['conversationId'],this['contextItems']=_0x617338['contextItems'],this['capabilities']=_0x617338['capabilities'],this['userMessage']=_0x617338['userMessage'],this['model']=_0x617338['model'],this['attributes']=_0x617338['attributes'];}async['sendRequest'](){return this['connector']['queryAssistant']({'message':this['userMessage'],'conversationId':this['conversationId'],'parts':AIChatContext['mapContextItemsToRequestData'](this['contextItems']),'capabilities':AICapabilities['getCapabilitiesRequestData'](this['capabilities']),'model':this['model'],'attributes':this['attributes']});}['getDocumentContext'](){return this['contextItems']['get']('current-document');}['createReply'](_0x5f4559){const _0x231efa=this['getDocumentContext']();if(_0x231efa?.['documents']?.['length']){const _0x5a2873=_0x231efa['documents']['map'](_0x5149c7=>_0x5149c7['content']??'')['join']('');if(_0x5a2873)return super['createReply']({'documentContextContent':_0x5a2873,..._0x5f4559});}return super['createReply'](_0x5f4559);}}class AIChatConversation extends ckeditor5['EmitterMixin'](){['id'];['isStarted']=!0x1;['isFromHistory'];['interactions']=[];['currentInteraction'];['selectedModel'];['connector'];['options'];constructor(_0x30118a){super(),this['options']=_0x30118a,this['connector']=_0x30118a['connector'],this['chatModels']=_0x30118a['chatModels'],this['id']=_0x30118a['conversationId'],this['isFromHistory']=_0x30118a['isFromHistory'];}async['init'](_0x4ec251){try{this['chatContext']=new AIChatContext({'connector':this['connector'],'config':_0x4ec251,'ownerId':this['id']}),this['chatContext']['delegate'](..._0x321d1c)['to'](this),this['chatContext']['init'](),this['chatCapabilities']=new AICapabilities(),this['chatCapabilities']['delegate'](..._0x53474b)['to'](this),this['chatCapabilities']['init']();const _0x42a2e8=await this['chatModels']['getAvailableModels']();this['fire']('conversationInitialized',{'availableModels':_0x42a2e8});const _0x202fc3=await this['chatModels']['getModel'](this['options']['selectedModelId']);_0x202fc3&&await this['setModel'](_0x202fc3);}catch(_0xd0f55e){const _0x48ed56=new ckeditor5['CKEditorError']('ai-chat-conversation-init-failed',null,{'message':_0xd0f55e['message']||_0xd0f55e});_0x48ed56['stack']=_0xd0f55e['stack'],this['fire']('error',{'error':_0x48ed56});}}async['start'](){if(this['isStarted'])throw new ckeditor5['CKEditorError']('ai-chat-conversation-already-started',null,{'conversation':this});if(!this['selectedModel'])throw new ckeditor5['CKEditorError']('ai-chat-conversation-start-no-model-selected',null,{'conversation':this});try{const {id:_0x2880b6}=await this['connector']['startConversation'](this['id'],this['options']['group'])['getConversation']();this['id']=_0x2880b6,this['isStarted']=!0x0,this['fire']('conversationStarted',{'conversationId':this['id'],'selectedModel':this['selectedModel']});}catch(_0x11412b){const _0x47f63c=new ckeditor5['CKEditorError']('ai-chat-conversation-start-failed',null,{'message':_0x11412b['message'],'conversationId':this['id']});throw _0x47f63c['stack']=_0x11412b['stack'],this['fire']('error',{'error':_0x47f63c}),_0x47f63c;}}async['load'](_0x5135c5,_0x16b0b0){try{const _0x1b0045=await this['connector']['fetchConversation'](_0x5135c5)['getConversation'](),_0x147892=await this['connector']['fetchConversationMessages'](_0x5135c5)['getMessages'](),_0x2ad415=_0x147892[0x0]['model'];this['isStarted']=!0x0,this['id']=_0x1b0045['id'],'title'in _0x1b0045?this['fire']('setConversationTitle',_0x1b0045['title'],!0x0):this['fire']('setConversationTitle','',!0x0);const _0x34215c=(await this['chatModels']['getAll']())['find'](_0x479376=>_0x479376['id']['toLowerCase']()===_0x2ad415['toLowerCase']());return this['selectedModel']=_0x34215c,this['fire']('modelSelected',{'selectedModel':_0x34215c,'isDisabled':!0x0}),await this['_processMessagesToInteractions'](_0x147892,_0x16b0b0,_0x2ad415),this['currentInteraction']=void 0x0,this;}catch(_0x480c1e){const _0xc00e09=new ckeditor5['CKEditorError']('ai-chat-conversation-init-from-id-failed',null,{'message':_0x480c1e['message'],'conversationId':_0x5135c5});throw _0xc00e09['stack']=_0x480c1e['stack'],this['fire']('error',{'error':_0xc00e09}),_0xc00e09;}}async['_processMessagesToInteractions'](_0x5c6f6f,_0x247d38,_0x33babd){let _0x6d928c,_0x299980=!0x1;for(const _0xee01a8 of _0x5c6f6f)if('user'===_0xee01a8['role']){const {contextItems:_0x2e78b5,hasUnmatched:_0x1825d7}=await this['_extractContextItems'](_0xee01a8);_0x299980=_0x1825d7;const _0x5cdddd={'isReasoningEnabled':Object['hasOwn'](_0xee01a8['capabilities'],'reasoning'),'isWebSearchEnabled':Object['hasOwn'](_0xee01a8['capabilities'],'webSearch')};_0x6d928c=this['createInteraction']({'userMessage':_0xee01a8['prompt'],'contextItems':_0x2e78b5,'capabilities':_0x5cdddd,'modelId':_0x33babd,'attributes':_0xee01a8['attributes']}),this['currentInteraction']=_0x6d928c,this['chatContext']['addToConversationContext'](this['currentInteraction']['contextItems']);}else{if('assistant'===_0xee01a8['role']&&_0x6d928c){const _0xba9bd7=[];for(const _0xbfd2b8 of _0xee01a8['content'])switch(_0xbfd2b8['type']){case'text':case'modification':{const _0x3bf184=_0x6d928c['getDocumentContext'](),_0x181614=_0x3bf184?.['documents']?.['length']?_0x3bf184['documents']['some'](_0x12777e=>_0x12777e['sessionId']!==_0x247d38):_0x3bf184?.['sessionId']!==_0x247d38,_0x5dc0fc=_0x181614||_0x299980;_0x6d928c['currentReply']?.['type']!==_0xbfd2b8['type']&&(_0x6d928c['currentReply']=_0x6d928c['createReply']({'type':_0xbfd2b8['type'],'isDone':!0x0,'interactionId':_0x6d928c['id'],'areActionsDisabled':_0x5dc0fc,'isFromHistory':!0x0}),_0xba9bd7['length']>0x0&&(_0x6d928c['currentReply']['sources']=_0xba9bd7['splice'](0x0))),_0x6d928c['currentReply']['appendContent'](_0xbfd2b8['content']);break;}case'url':_0xba9bd7['push'](_0xbfd2b8);break;case'mcp-tool-result':{const {data:_0x4572ce,attributes:_0x5da3ff}=JSON['parse'](_0xbfd2b8['content']);_0x6d928c['_handleToolResultData']({'toolName':_0xbfd2b8['toolName'],'data':_0x4572ce,'attributes':_0x5da3ff});break;}}}}}async['_extractContextItems'](_0x9cc28f){const _0x1f78a5=new Map();if(!_0x9cc28f['content'])return{'contextItems':_0x1f78a5,'hasUnmatched':!0x1};const _0x176e3d=this['_resolveEditors'](),{contextItem:_0xa3bc0f,hasUnmatched:_0x5a5b92}=await this['chatContext']['populateDocumentsFromMessage'](_0x9cc28f['content'],_0x176e3d);_0xa3bc0f&&_0x1f78a5['set'](_0xa3bc0f['id'],_0xa3bc0f);for(const _0xcafaf7 of _0x9cc28f['content']){if('document'===_0xcafaf7['type'])continue;const _0x2790c8=await this['chatContext']['populateFromMessage'](_0xcafaf7);_0x2790c8&&_0x1f78a5['set'](_0x2790c8['id'],_0x2790c8);}return{'contextItems':_0x1f78a5,'hasUnmatched':_0x5a5b92};}['_resolveEditors'](){return this['options']['getEditors']?this['options']['getEditors']():this['options']['getEditor']?[this['options']['getEditor']()]:[];}async['handleUserInteraction']({userMessage:_0x2fe78a,attributes:_0x4d5cd2}){if(!this['isStarted'])throw new ckeditor5['CKEditorError']('ai-chat-handle-user-conversation-not-initialized',null,{'conversation':this});if(this['currentInteraction'])throw new ckeditor5['CKEditorError']('ai-chat-handle-user-interaction-already-in-progress',null,{'conversation':this});try{const _0x3421f3=this['chatContext']['getPendingContextItems'](),_0x27a55b=this['chatCapabilities']['getCapabilitiesConfig'](),_0x52c985=this['selectedModel']['id'];this['currentInteraction']=this['createInteraction']({'userMessage':_0x2fe78a,'contextItems':_0x3421f3,'capabilities':_0x27a55b,'modelId':_0x52c985,'attributes':_0x4d5cd2}),await this['currentInteraction']['start'](),this['chatContext']['addToConversationContext'](this['currentInteraction']['contextItems']);}catch(_0x39e89e){if(_0x39e89e instanceof ckeditor5['CKEditorError'])this['fire']('error',{'interactionId':this['currentInteraction']?this['currentInteraction']['id']:void 0x0,'error':_0x39e89e});else{const _0x483616=_0x1679fa['get'](_0x39e89e['code'])||'ai-chat-handle-user-interaction-start-failed';this['fire']('error',{'interactionId':this['currentInteraction']?this['currentInteraction']['id']:void 0x0,'error':new ckeditor5['CKEditorError'](_0x483616,null,{'error':_0x39e89e})});}}finally{this['currentInteraction']?.['stop'](),this['currentInteraction']=void 0x0;}}['createInteraction']({userMessage:_0x21f953,contextItems:_0x5966fa,capabilities:_0x431519,modelId:_0x22ee14,attributes:_0x3c4253}){const _0x26a6dc=new AIChatInteraction({'userMessage':_0x21f953,'contextItems':_0x5966fa,'capabilities':_0x431519,'conversationId':this['id'],'connector':this['connector'],'locale':this['options']['locale'],'model':_0x22ee14,'attributes':_0x3c4253});return _0x26a6dc['delegate'](..._0x1faaef)['to'](this),this['interactions']['push'](_0x26a6dc),this['fire']('interactionCreated',_0x26a6dc),_0x26a6dc;}['getInteraction'](_0x4df703){return this['interactions']['find'](_0x1ab1f0=>_0x1ab1f0['id']===_0x4df703);}['removeInteraction'](_0x366b5a){const _0x50cc3b=this['getInteraction'](_0x366b5a);_0x50cc3b&&(_0x50cc3b['destroy'](),this['interactions']['splice'](this['interactions']['indexOf'](_0x50cc3b),0x1));}get['lastInteraction'](){return this['interactions'][this['interactions']['length']-0x1];}['addCurrentDocumentToContext'](_0x4ef5a8){this['chatContext']['addCurrentDocumentToContext'](_0x4ef5a8);}async['updateCurrentDocumentInContext']({content:_0x4a71b8,version:_0x3032b0,sessionId:_0x5d1824,channelId:_0x192b2d,rootName:_0x1cda06,selections:_0x2b79ba}){await this['chatContext']['updateCurrentDocument'](_0x4a71b8,_0x3032b0,_0x5d1824,_0x192b2d,_0x1cda06,_0x2b79ba);}async['updateCurrentDocumentsInContext'](_0x48b89b){await this['chatContext']['updateCurrentDocuments'](_0x48b89b);}['getSourceByDataId'](_0x1908e4){return this['chatContext']['getSourceByDataId'](_0x1908e4);}['getDocumentContextSliceByDataId'](_0xf73ef1){return this['chatContext']['getDocumentContextSliceByDataId'](_0xf73ef1);}['getCurrentDocumentContext'](){return this['currentInteraction']?.['getDocumentContext']()?.['content']||'';}['addSelectionToContext'](_0x48a1c1){this['chatContext']['addSelectionToContext'](_0x48a1c1);}['removeSelectionFromContext'](){this['chatContext']['removeSelectionFromContext']();}['addFilesToContext'](_0x3a48bc){this['chatContext']['addFilesToContext'](_0x3a48bc);}['addUrlToContext'](_0x5e18ad){this['chatContext']['addUrlToContext'](_0x5e18ad);}['addToolItemToContext'](_0x94f3d8){this['chatContext']['addToolItemToContext'](_0x94f3d8);}['addResourceToContext'](_0x13b23f,_0x4e073c){this['chatContext']['addResourceToContext'](_0x13b23f,_0x4e073c);}['loadSourceResources'](_0xd18de,_0x4ebf0c,_0xaf594){return this['chatContext']['loadSourceResources'](_0xd18de,_0x4ebf0c,_0xaf594);}['removeFromContext'](_0x30972e){this['chatContext']['removeFromContext'](_0x30972e);}['setWebSearch'](_0x3f45b8){this['chatCapabilities']['setWebSearch'](_0x3f45b8);}['toggleWebSearch'](){this['chatCapabilities']['toggleWebSearch']();}['setReasoning'](_0x4275f3){this['chatCapabilities']['setReasoning'](_0x4275f3);}['toggleReasoning'](){this['chatCapabilities']['toggleReasoning']();}['isCurrentDocumentInContext'](){return this['chatContext']['isCurrentDocumentInContext']();}['isCurrentDocumentInConversation'](){return this['chatContext']['isCurrentDocumentInConversation']();}['isSelectionInContext'](){return this['chatContext']['isSelectionInContext']();}async['setModel'](_0x4c9b0c){_0x4c9b0c?!0x1===await this['chatModels']['isAvailable'](_0x4c9b0c)&&(ckeditor5['logWarning']('ai-chat-conversation-set-model-not-available',{'conversation':this,'model':_0x4c9b0c}),_0x4c9b0c=(await this['chatModels']['getAvailableModels']())[0x0]):(ckeditor5['logWarning']('ai-chat-conversation-set-model-null',{'conversation':this}),_0x4c9b0c=(await this['chatModels']['getAvailableModels']())[0x0]),_0x4c9b0c['id']!==this['selectedModel']?.['id']&&(this['selectedModel']=_0x4c9b0c,this['chatCapabilities']['reset'](),this['fire']('modelSelected',{'selectedModel':_0x4c9b0c}));}}class _0x29fb11 extends ckeditor5['EmitterMixin'](){['_connector'];['_config'];['_locale'];['_modelList']=[];['_modelsRequest']=null;constructor({connector:_0x27ec1d,config:_0x31a55f,locale:_0x206277}){super(),this['_connector']=_0x27ec1d,this['_config']=_0x31a55f,this['_locale']=_0x206277;}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 _0x2222d9=await this['getAll']();let _0x572d0f;return _0x572d0f=this['_availableModels']?this['_filterModels'](_0x2222d9,this['_availableModels']):_0x2222d9['filter'](_0x50094c=>_0x50094c['recommended']),_0x572d0f;}async['getModel'](_0xa8fd35){const _0x9d4571=await this['getAll']();if(!_0x9d4571['length'])return null;if(_0xa8fd35){const _0x223787=this['_getModelById'](_0x9d4571,_0xa8fd35);if(_0x223787)return _0x223787;ckeditor5['logWarning']('ai-chat-model-id-unrecognized',{'modelId':_0xa8fd35,'fallBackModelId':this['_defaultModelId']});}return this['getDefault']();}async['getDefault'](){const _0x3073d5=await this['getAvailableModels']();if(!_0x3073d5['length'])return null;if(this['_defaultModelId']){const _0x37f062=this['_getModelById'](_0x3073d5,this['_defaultModelId']);if(_0x37f062)return _0x37f062;ckeditor5['logWarning']('ai-chat-default-model-id-unrecognized',{'defaultModelId':this['_defaultModelId'],'fallBackModelId':_0x3073d5[0x0]['id']});}return _0x3073d5[0x0];}async['isAvailable'](_0xe4b32b){return(await this['getAvailableModels']())['some'](_0x2f8059=>_0x2f8059['name']===_0xe4b32b['name']&&_0x2f8059['provider']===_0xe4b32b['provider']);}async['_retrieveModels'](){if(!this['_modelList']['length'])try{const _0x38b48d=this['_locale']['uiLanguage']||'en',_0x130604=this['_connector']['getModels'](_0x38b48d),_0x3d984d=await _0x130604['list']();this['_modelList']=_0x3d984d['items']['map'](_0x322255=>isAutoModel(_0x322255)?{..._0x322255,'name':getTranslation$i(this['_locale'],'AI_MODEL_NAME_AUTO')}:_0x322255);}catch(_0x498d5c){throw ckeditor5['logError']('ai-models-unable-to-retrieve',{'error':_0x498d5c}),_0x498d5c;}return[...this['_modelList']];}['_filterModels'](_0xdff43d,_0x3d24bc){let _0x1ec06d;if(_0x3d24bc){_0x1ec06d=[];const _0x5753f6=new Set(),_0xe67a34='string'==typeof _0x3d24bc?[_0x3d24bc['toLocaleLowerCase']()]:_0x3d24bc['map'](_0x4b0059=>_0x4b0059['toLocaleLowerCase']());for(const _0x5aa37a of _0xe67a34)for(const _0x328d12 of _0xdff43d)!_0x5753f6['has'](_0x328d12['id'])&&this['_isMatchingFilter'](_0x328d12,_0x5aa37a)&&(_0x1ec06d['push'](_0x328d12),_0x5753f6['add'](_0x328d12['id']));}else _0x1ec06d=_0xdff43d;return _0x1ec06d;}['_isMatchingFilter'](_0x147763,_0x10162d){const _0x3e22a5=_0x147763['id']['toLocaleLowerCase'](),_0xb69f35=_0x147763['name']['toLocaleLowerCase'](),_0x22ced3=_0x147763['provider']['toLocaleLowerCase']();return _0x3e22a5===_0x10162d||_0xb69f35===_0x10162d||isAutoModel(_0x147763)&&'auto'===_0x10162d||_0x22ced3===_0x10162d||_0x3e22a5['startsWith'](_0x10162d);}['_getModelById'](_0x129047,_0x51f8af){return _0x129047['find'](_0x1be056=>isAutoModel(_0x1be056)&&'auto'===_0x51f8af?_0x1be056:_0x1be056['id']===_0x51f8af)||null;}}function isAutoModel(_0x3b0157){return _0x3b0157['id']['startsWith']('agent');}function getEditorsFromContext(_0x37dc58){return _0x37dc58?_0x37dc58 instanceof ckeditor5['Editor']?[_0x37dc58]:_0x37dc58['editors']&&0x0!==_0x37dc58['editors']['length']?Array['from'](_0x37dc58['editors']):[]:[];}function getTargetEditorFromContext(_0x4c7d91){const _0xb7ff14=getEditorsFromContext(_0x4c7d91);if(!_0xb7ff14['length'])throw new ckeditor5['CKEditorError']('ai-get-editor-from-context-no-editor');if(0x1===_0xb7ff14['length'])return _0xb7ff14[0x0];const _0x1147d4=_0xb7ff14['find'](_0x4a1f32=>_0x4a1f32['ui']?.['focusTracker']?.['isFocused']);if(_0x1147d4)return _0x1147d4;const _0x5f1f50=getLastContentFocusedEditorFromContext(_0x4c7d91);return _0x5f1f50&&_0xb7ff14['includes'](_0x5f1f50)?_0x5f1f50:_0xb7ff14[0x0];}function getLastContentFocusedEditorFromContext(_0x2ad27c){if(_0x2ad27c instanceof ckeditor5['Editor'])return;const _0x57cf18=_0x2ad27c;if(!_0x57cf18['plugins']||!_0x57cf18['plugins']['has']('AIEditing'))return;const _0x47f08a=_0x57cf18['plugins']['get']('AIEditing');return _0x47f08a['getLastContentFocusedEditor']?.();}function getEditorFromContext(_0x47163d){return getTargetEditorFromContext(_0x47163d);}function getOperationsFromReply({editor:_0xa4f452,interaction:_0x104b1a,reply:_0x55a2cb,groups:_0x41bc65,transform:_0x3c9967,documentCompare:_0x3d25a7,documentCompareOptions:_0x292027,documentContextSlice:_0x682447}){const _0x5d822d=_0x104b1a['getDocumentContext']();if(!_0x5d822d)return[];const _0x995518=_0x55a2cb['documentContextContent']['cloneNode'](!0x0);for(const {changes:_0x246280}of _0x41bc65){const _0x2a52ed=_0x246280['filter'](_0x38cb48=>'new'!=_0x38cb48['type'])['map'](_0x37560f=>findByAttribute('data-id',_0x37560f['id'],_0x995518)),_0x1eb3d5=_0x246280['filter'](_0x442314=>'removed'!=_0x442314['type'])['map'](_0xbb239d=>_0xbb239d['node']['cloneNode'](!0x0));let _0x1febda=null;if(_0x2a52ed['length']){_0x1febda=_0x2a52ed[0x0]['previousSibling'];for(let _0x5e95c6=0x0;_0x5e95c6<_0x2a52ed['length'];_0x5e95c6++)removeElement(_0x2a52ed[_0x5e95c6]);}if(_0x1eb3d5['length']){_0x1febda||(_0x246280[0x0]['anchorId']?_0x1febda=findByAttribute('data-id',_0x246280[0x0]['anchorId'],_0x995518):(_0x1febda=_0x1eb3d5['shift'](),_0x3cd4ba(_0x995518,_0x1febda)));for(let _0xc586f8=0x0;_0xc586f8<_0x1eb3d5['length'];_0xc586f8++)_0x9f621b(_0x1febda,_0x1eb3d5[_0xc586f8]),_0x1febda=_0x1eb3d5[_0xc586f8];}}let _0x55164c,_0x11f60d,_0x2f3a95,_0x9572eb=_0x292027;if(_0x682447){_0x55164c=_0x682447['html'],_0x2f3a95=_0x682447['version'],_0x9572eb={..._0x292027,'anchor':_0x682447['rootName']};const _0x3bc765=new Document$1([]),_0x1eb2cf=_0x995518['children'],_0x5a85ec=_0x55a2cb['dataIdDocumentSources'],_0x1dd8f9=_0x55a2cb['newNodeAnchorIds'],_0x34f522=_0x682447['editor'],_0x20dd16=_0x682447['rootName'],_0x14e3d4=new Array(_0x1eb2cf['length']),_0x449fbd=_0x1d37f0=>_0x1d37f0?_0x1d37f0['editor']===_0x34f522&&_0x1d37f0['rootName']===_0x20dd16:void 0x0;for(let _0x505ffd=0x0;_0x505ffd<_0x1eb2cf['length'];_0x505ffd++){const _0x49f338=getAttribute(_0x1eb2cf[_0x505ffd],'data-id');if(!_0x49f338)continue;const _0x54eeea=_0x449fbd(_0x5a85ec?.['get'](_0x49f338));if(void 0x0!==_0x54eeea){_0x14e3d4[_0x505ffd]=_0x54eeea;continue;}const _0x5af313=_0x1dd8f9['get'](_0x49f338),_0x10a696=_0x5af313?_0x449fbd(_0x5a85ec?.['get'](_0x5af313)):void 0x0;void 0x0!==_0x10a696&&(_0x14e3d4[_0x505ffd]=_0x10a696);}for(let _0x18572c=0x0;_0x18572c<_0x1eb2cf['length'];_0x18572c++)if(void 0x0===_0x14e3d4[_0x18572c]){for(let _0x31dfc6=_0x18572c-0x1;_0x31dfc6>=0x0;_0x31dfc6--)if(void 0x0!==_0x14e3d4[_0x31dfc6]){_0x14e3d4[_0x18572c]=_0x14e3d4[_0x31dfc6];break;}if(void 0x0===_0x14e3d4[_0x18572c]){for(let _0x4788d2=_0x18572c+0x1;_0x4788d2<_0x1eb2cf['length'];_0x4788d2++)if(void 0x0!==_0x14e3d4[_0x4788d2]){_0x14e3d4[_0x18572c]=_0x14e3d4[_0x4788d2];break;}}}for(let _0x3de051=0x0;_0x3de051<_0x1eb2cf['length'];_0x3de051++)_0x14e3d4[_0x3de051]&&_0x3bc765['children']['push'](_0x3fab74(_0x1eb2cf[_0x3de051],!0x0));_0x11f60d=_0x332c25(_0x3bc765);}else _0x55164c=_0x5d822d['content'],_0x2f3a95=_0x5d822d['version'],_0x11f60d=_0x332c25(_0x995518);const _0x4661ba=_0x3d25a7['getDiff'](_0x55164c,_0x11f60d,{..._0x9572eb,'targetEditor':_0xa4f452})['getOperations']();if(_0x3c9967){const _0x19e33d=_0xa4f452['model']['document']['history']['getOperations'](_0x2f3a95),_0x239118={'document':_0xa4f452['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1};return ckeditor5['transformOperationSets'](_0x4661ba,_0x19e33d,_0x239118)['operationsA'];}return _0x4661ba;}function fixMarkerOperationOldRange(_0x3d41ba,_0x24361c){if('marker'!=_0x24361c['type'])return;const _0x44a900=_0x3d41ba['model']['markers']['get'](_0x24361c['name']);_0x44a900&&(_0x24361c['oldRange']=_0x44a900['getRange']());}const _0x403f61=0xc8;class AIChatController extends ckeditor5['ContextPlugin']{['activeConversation'];['_aiEditing'];['_aiConnector'];['_aiChatUi'];['_aiChatModels'];['_aiChatBalloon'];['_activeBalloon'];['_wiredBalloons']=new Set();['_batchToChanges']=new Map();['_currentPreviewedChangeGroup']=null;['_bodyCollection'];static get['requires'](){return[AIConnector,DocumentCompare];}static get['pluginName'](){return'AIChatController';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_bodyCollection']=new ckeditor5['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 _0x29fb11({'connector':this['_aiConnector'],'config':this['context']['config']['get']('ai.models'),'locale':this['context']['locale']});const _0x50d16d=this['context']['plugins']['get']('AITabs');this['listenTo'](this['_aiChatUi'],'startConversation',()=>{this['_startConversationSafely']();}),this['listenTo'](this['_aiChatUi'],'sendUserMessage',(_0x4d6462,_0x1dab19)=>{this['_handleUIUserMessage']({'message':_0x1dab19});}),this['listenTo'](_0x50d16d['view'],'change:activeTab',(_0x38a1f,_0x5a3191,_0x180597)=>{'chat'!==_0x180597&&this['removeSelectionFromChatContext']();}),this['listenTo'](this['_aiChatUi'],'abortPromptStream',async()=>{await this['_stopLastInteraction'](),await this['_flushLastInteractionUI'](),this['removeSelectionFromChatContext']();}),this['listenTo'](this['_aiChatUi'],'addDocumentToContext',()=>{this['addCurrentDocumentToChatContext']();}),this['listenTo'](this['_aiChatUi'],'addFileToContext',(_0x8bbca0,_0x5896a8)=>{this['activeConversation']?.['addFilesToContext'](Array['from'](_0x5896a8));}),this['listenTo'](this['_aiChatUi'],'addUrlToContext',(_0x57e131,_0x436b9e)=>{this['activeConversation']?.['addUrlToContext'](_0x436b9e);}),this['listenTo'](this['_aiChatUi'],'executeCustomItemCallback',(_0x361f46,_0x535b58)=>{_0x535b58['callback'](this['context']);}),this['listenTo'](this['_aiChatUi'],'addResourceToContext',(_0x54ce12,_0x3f5298)=>{this['activeConversation']?.['addResourceToContext'](_0x3f5298['source'],_0x3f5298['resource']);}),this['listenTo'](this['_aiChatUi'],'removeContextItem',(_0x117faa,_0x36b324)=>{this['_removeFromContext'](_0x36b324);}),this['listenTo'](this['_aiChatUi'],'loadSourceResources',(_0x451f62,_0x272a16)=>{this['activeConversation']?.['loadSourceResources'](_0x272a16['sourceId'],_0x272a16['query'],_0x272a16['uid']);}),this['listenTo'](this['_aiChatUi'],'toggleWebSearch',()=>{this['_toggleWebSearch']();}),this['listenTo'](this['_aiChatUi'],'toggleReasoning',()=>{this['_toggleReasoning']();}),this['listenTo'](this['_aiChatUi'],'selectModel',(_0x3f9458,_0x35683e)=>{this['activeConversation']?.['setModel'](_0x35683e);}),this['listenTo'](this['_aiChatUi'],'like',(_0xe16a2e,{replyId:_0x21892e})=>{console['log']('Liked\x20response',_0x21892e);}),this['listenTo'](this['_aiChatUi'],'dislike',(_0x59a8a2,{replyId:_0x51f1cf})=>{console['log']('Disliked\x20response',_0x51f1cf);}),this['listenTo'](this['_aiChatUi'],'insertSuggestion',(_0x314b02,_0x16b0bd)=>{this['_insertSuggestion'](_0x16b0bd);}),this['listenTo'](this['_aiChatUi'],'showChangeInText',(_0x44f84c,{replyId:_0x2c9f8a,partIndex:_0x555421})=>{this['_aiChatBalloonShowDiff']=this['_aiChatUi']['showDiff'],this['_openBalloonFor'](_0x2c9f8a,_0x555421);}),this['listenTo'](this['_aiChatUi'],'mouseOverSuggestion',(_0x20ca24,{replyId:_0x3f0682,partIndex:_0xfecc76})=>{const _0x1ebed6=this['_getDocumentRangeForReplyChanges'](_0x3f0682,_0xfecc76);_0x1ebed6&&'$graveyard'!=_0x1ebed6['range']['root']['rootName']&&this['_aiEditing']['showFakeVisualSelection']({'ranges':[_0x1ebed6['range']],'id':'change-area','priority':0xa});}),this['listenTo'](this['_aiChatUi'],'mouseLeaveSuggestion',()=>{this['_aiEditing']['hideFakeVisualSelection']('change-area');}),this['listenTo'](this['_aiChatUi'],'applySuggestion',(_0x3165e0,_0xfd63b7)=>{this['_aiEditing']['hideFakeVisualSelection']('change-area'),this['_applySuggestion'](_0xfd63b7);}),this['listenTo'](this['_aiChatUi'],'toggleSuggestionDisplayMode',async(_0x346543,{replyId:_0x3f7b53,showDiff:_0x1eb0ae})=>{const {reply:_0x385b86}=this['getInteractionAndReplyById'](_0x3f7b53),_0x2b51f9=_0x385b86['getContentParts']({'showDiff':_0x1eb0ae,'editor':getEditorFromContext(this['context'])});await this['_aiChatUi']['updateFeedItemAIReplySuggestionContent']({'id':_0x385b86['id'],'parts':_0x2b51f9});}),this['listenTo'](this['_aiChatUi'],'rejectSuggestion',(_0x886573,{replyId:_0x333368,partIndex:_0xac2713})=>{this['_rejectSuggestion']({'replyId':_0x333368,'partIndex':_0xac2713}),this['_aiEditing']['hideFakeVisualSelection']('change-area');}),this['set']('_aiChatBalloonShowDiff',!0x1),this['context']['plugins']['has']('AIChatBalloon')&&(this['_aiChatBalloon']=this['context']['plugins']['get']('AIChatBalloon')),this['on']('interactionCreated',(_0x468f46,_0x21c1e5)=>{this['_aiChatUi']['addFeedItemUserMessage'](_0x21c1e5);}),this['on']('replyCreated',(_0x1f6d65,_0x410b8b)=>{this['_addFeedItemReply'](_0x410b8b);});}async['afterInit'](){this['context']instanceof ckeditor5['Editor']?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x56f913,_0x540941)=>{_0x540941['on']('ready',()=>{this['_integrateEditor'](_0x540941);});});const _0x5dfd76=this['context']['config']['get']('ai.chat.initialConversation');let _0x32ae3c=_0x5dfd76;if('lastCreated'!=_0x5dfd76||(_0x32ae3c=await this['_getLastCreatedConversationId'](),_0x32ae3c))return'new'==_0x32ae3c?this['_startConversationSafely']():this['loadConversation'](_0x32ae3c);}async['destroy'](){return await this['_stopLastInteraction'](),this['_bodyCollection']['detachFromDom'](),super['destroy']();}async['loadConversation'](_0x2bdd5d){this['_activeBalloon']?.['close'](),this['_activeBalloon']=void 0x0,this['_currentPreviewedChangeGroup']=null,(this['context']['plugins']['get'](_0x13bfd3)['view']['activateTab']('chat'),this['_aiChatUi']['setFeedItemRenderingStrategy']('static'),this['_aiChatUi']['toggleLoadingSkeleton'](!0x0),await this['_stopLastInteraction']());try{await this['_aiConnector']['fetchConversation'](_0x2bdd5d)['getConversation'](),await this['_startConversationSafely']({'id':_0x2bdd5d}),this['_updateConversationTitle']('\x20'),await this['activeConversation']['load'](_0x2bdd5d,this['_aiEditing']['sessionId']),this['activeConversation']['isCurrentDocumentInConversation']()&&this['addCurrentDocumentToChatContext']();}catch(_0x500bcd){this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_UNABLE_TO_LOAD_CONVERSATION'),'id':_0x2bdd5d}),this['_logError'](new ckeditor5['CKEditorError']('ai-chat-conversation-not-found',this,{'error':_0x500bcd}));}finally{this['_aiChatUi']['startAutoScroll']({'smooth':!0x1}),this['_aiChatUi']['setFeedItemRenderingStrategy']('streaming'),this['_aiChatUi']['toggleLoadingSkeleton'](!0x1);}}['registerToolDataCallback'](_0x4a722e){let _0x5c709a=null,_0x5a20cb=null;this['on']('toolDataReceived',(_0x5688c1,_0x4f8ea1,_0x459cb3)=>{_0x459cb3['id']!==_0x5c709a&&(_0x5c709a=_0x459cb3['id'],_0x5a20cb=this['_getAIChatFeedAPI'](_0x459cb3)),_0x4a722e(_0x4f8ea1,_0x5a20cb);});}['addCurrentDocumentToChatContext'](){this['activeConversation']?.['addCurrentDocumentToContext'](getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_CURRENT_DOCUMENT'));}async['addSelectionToChatContext'](){const _0x5620b8=this['_aiEditing']['getSelectionText']();this['activeConversation']?.['addSelectionToContext'](_0x5620b8),this['addCurrentDocumentToChatContext']();}['removeSelectionFromChatContext'](){this['activeConversation']?.['removeSelectionFromContext']();}['focusPromptInput'](){this['_aiChatUi']['focusPromptInput']();}async['startConversation'](_0x52e121){await this['_startConversationSafely']({'modelId':_0x52e121?.['modelId']});}async['sendMessage'](_0x3610c2){await this['_handleUIUserMessage'](_0x3610c2);}['getGroupId'](){const _0x29b093=this['context']['config']['get']('collaboration.channelId');if(!_0x29b093)throw new ckeditor5['CKEditorError']('ai-missing-channel-id',this);return _0x29b093;}['_handleRemovedConversation'](_0xbd83b5){this['activeConversation']['id']===_0xbd83b5&&this['_startConversationSafely']();}['_insertSuggestion'](_0x2143cc){const _0x5078c5=this['context']['plugins']['get']('DocumentCompare'),{reply:_0x22da50,interaction:_0x3f0160}=this['getInteractionAndReplyById'](_0x2143cc['replyId']),_0x1c1098=void 0x0!==_0x2143cc['partIndex']?[_0x22da50['changeGroups'][_0x2143cc['partIndex']]]:_0x22da50['changeGroups']['filter'](_0x3aa5f3=>'pending'==_0x3aa5f3['state']);for(const _0x111271 of this['_groupChangesByTarget'](_0x22da50,_0x1c1098)){const {target:_0x4d4666,groups:_0x420e83,groupsIndexes:_0x1393df,slice:_0x1763b9}=_0x111271;if(!_0x4d4666['editor']['plugins']['has']('TrackChanges'))throw new ckeditor5['CKEditorError']('ai-no-track-changes',null);const _0xccacb0=this['_getDocumentRangeForReplyChanges'](_0x2143cc['replyId'],_0x1393df[0x0]);if(!_0xccacb0||'$graveyard'==_0xccacb0['range']['root']['rootName']){_0x1393df['forEach'](_0x4b7db6=>_0x22da50['setChangeGroupState'](_0x4b7db6,'outdated'));continue;}_0x1393df['forEach'](_0x4a3f23=>_0x22da50['setChangeGroupState'](_0x4a3f23,'accepted'));const _0xe7108e=getOperationsFromReply({'editor':_0x4d4666['editor'],'reply':_0x22da50,'interaction':_0x3f0160,'groups':_0x420e83,'transform':!0x0,'documentCompare':_0x5078c5,'documentCompareOptions':{'anchor':_0x1763b9?.['rootName']??'main','markDeletions':!0x0},'documentContextSlice':_0x1763b9});let _0x56e846;this['_scrollToSuggestionRange'](_0xccacb0['range'],!0x1,_0x4d4666['editor']),_0x4d4666['editor']['model']['change'](_0x182bec=>{_0x56e846=_0x182bec['batch'],_0x4d4666['editor']['plugins']['get']('TrackChangesEditing')['_applyOperationsAsSuggestions'](_0xe7108e),this['_aiEditing']['hideFakeVisualSelection']('change-area');}),this['_batchToChanges']['set'](_0x56e846,{'interactionId':_0x3f0160['id'],'replyId':_0x22da50['id'],'indexes':_0x1393df['slice']()});}this['_updateRatings'](_0x22da50);}['_applySuggestion'](_0x10afba){const _0xd513f1=this['context']['plugins']['get'](DocumentCompare),{reply:_0x5a08d3,interaction:_0x504774}=this['getInteractionAndReplyById'](_0x10afba['replyId']),_0x108eb9=void 0x0!==_0x10afba['partIndex']?[_0x5a08d3['changeGroups'][_0x10afba['partIndex']]]:_0x5a08d3['changeGroups']['filter'](_0x471441=>'pending'==_0x471441['state']);for(const _0x56e874 of this['_groupChangesByTarget'](_0x5a08d3,_0x108eb9)){const {target:_0x531722,groups:_0x409af2,groupsIndexes:_0x1e5650,slice:_0x409514}=_0x56e874,_0x5a6f12=this['_getDocumentRangeForReplyChanges'](_0x10afba['replyId'],_0x1e5650[0x0]);if(!_0x5a6f12||'$graveyard'==_0x5a6f12['range']['root']['rootName']){_0x1e5650['forEach'](_0x477b91=>_0x5a08d3['setChangeGroupState'](_0x477b91,'outdated'));continue;}_0x1e5650['forEach'](_0x1e061b=>_0x5a08d3['setChangeGroupState'](_0x1e061b,'accepted'));const _0x29cee0=getOperationsFromReply({'editor':_0x531722['editor'],'reply':_0x5a08d3,'interaction':_0x504774,'groups':_0x409af2,'transform':!0x0,'documentCompare':_0xd513f1,'documentCompareOptions':{'anchor':_0x409514?.['rootName']??'main','markDeletions':!0x1},'documentContextSlice':_0x409514});let _0x1cbb6b;this['_scrollToSuggestionRange'](_0x5a6f12['range'],!0x1,_0x531722['editor']),_0x531722['editor']['model']['change'](_0x4dfef0=>{_0x1cbb6b=_0x4dfef0['batch'];for(const _0x56cc3c of _0x29cee0)_0x56cc3c['baseVersion']=_0x531722['editor']['model']['document']['version'],fixMarkerOperationOldRange(_0x531722['editor'],_0x56cc3c),_0x4dfef0['batch']['addOperation'](_0x56cc3c),_0x531722['editor']['model']['applyOperation'](_0x56cc3c);}),this['_batchToChanges']['set'](_0x1cbb6b,{'interactionId':_0x504774['id'],'replyId':_0x5a08d3['id'],'indexes':_0x1e5650['slice']()});}this['_updateRatings'](_0x5a08d3);}['_rejectSuggestion'](_0x2f1c04){const {reply:_0x527ad6}=this['getInteractionAndReplyById'](_0x2f1c04['replyId']);_0x527ad6['setChangeGroupState'](_0x2f1c04['partIndex'],'rejected');}['_openBalloonFor'](_0x457702,_0x4f3d25){if(!this['_aiChatBalloon'])return;const {reply:_0x125974}=this['getInteractionAndReplyById'](_0x457702),_0xa7490c=_0x125974['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff'],'editor':getEditorFromContext(this['context'])});let _0xfeec38,_0x5c8e79;if(void 0x0!==_0x4f3d25?(_0x5c8e79=_0xa7490c['find'](_0x3e1b39=>_0x3e1b39['index']==_0x4f3d25),_0xfeec38=_0x5c8e79?.['index']):(_0x5c8e79=_0xa7490c[0x0],_0xfeec38=_0x5c8e79['index']),this['_currentPreviewedChangeGroup']?.['replyId']==_0x457702&&this['_currentPreviewedChangeGroup']?.['partIndex']==_0xfeec38)return;const _0x587d35=this['_getUserPresentableContentPartDocumentRange'](_0x457702,_0x125974,_0x5c8e79),_0x40b7ec=_0x125974['changeGroups']['find'](_0x538605=>_0x538605['index']==_0xfeec38),_0x5f42c7=_0x40b7ec?this['_resolveGroupTarget'](_0x125974,_0x40b7ec):null,_0x11972d=_0x5f42c7?.['editor']??getEditorFromContext(this['context']),_0x2d2c84=_0x11972d['plugins']['has']('AIChatBalloon')?_0x11972d['plugins']['get']('AIChatBalloon'):this['_aiChatBalloon'];if(this['_activeBalloon']&&this['_activeBalloon']!==_0x2d2c84&&this['_activeBalloon']['close'](),!_0x587d35)return _0x2d2c84['close'](),void(this['_activeBalloon']=void 0x0);this['_activeBalloon']=_0x2d2c84,this['_currentPreviewedChangeGroup']={'replyId':_0x457702,'partIndex':_0xfeec38},this['_scrollToSuggestionRange'](_0x587d35,!0x0,_0x11972d);const _0x3ba4c8=this['_getPresentableSiblingContentPartIndex'](_0x457702,_0xfeec38,'next');_0x2d2c84['updateContent']({'part':_0x5c8e79,'renderingStrategy':'static'}),_0x2d2c84['open']({'index':_0xfeec38,'title':getTranslation$i(this['context']['locale'],'AI_BALLOON_HEADER_TITLE',(_0xfeec38+0x1)['toString']()),'showRotator':null!==_0x3ba4c8,'ranges':[_0x587d35],'areActionsDisabled':_0x125974['areActionsDisabled'],'targetEditor':_0x11972d}),_0x2d2c84['setState']('pending'),this['_aiChatUi']['scrollFeedToSuggestion'](_0x457702,_0xfeec38),this['_aiChatUi']['setFeedItemAIReplySuggestionPartActive']({'id':_0x457702,'index':_0xfeec38,'isActive':!0x0});}['_getPresentableSiblingContentPartIndex'](_0x1a114a,_0xbec9fa,_0x1cd8d4){const {reply:_0x34f909}=this['getInteractionAndReplyById'](_0x1a114a),_0xcaa539=_0x34f909['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff'],'editor':getEditorFromContext(this['context'])});if(0x1==_0xcaa539['length'])return null;const _0x26d39a=_0xcaa539['findIndex'](_0x455109=>_0x455109['index']==_0xbec9fa),_0x318a8c='next'==_0x1cd8d4?0x1:-0x1;let _0x17a70f=_0xcaa539['at']((_0x26d39a+_0x318a8c)%_0xcaa539['length'])['index'],_0x349554=_0xcaa539[_0x17a70f];for(;!this['_getUserPresentableContentPartDocumentRange'](_0x1a114a,_0x34f909,_0x349554);){if(_0x17a70f=_0xcaa539['at']((_0x17a70f+_0x318a8c)%_0xcaa539['length'])['index'],_0x17a70f===_0x26d39a)return null;_0x349554=_0xcaa539[_0x17a70f];}return _0x17a70f;}['_getUserPresentableContentPartDocumentRange'](_0x5d5d7a,_0x5c57be,_0x2b9281){const _0x515576=_0x5c57be['changeGroups'];if(!_0x2b9281['hasChanges'])return null;const _0xd02b50=_0x515576['find'](_0x17789d=>_0x17789d['index']==_0x2b9281['index']);if('pending'!==_0xd02b50?.['state'])return null;const _0x572930=this['_getDocumentRangeForReplyChanges'](_0x5d5d7a,_0x2b9281['index']);if(!_0x572930)return _0x5c57be['setChangeGroupState'](_0x2b9281['index'],'outdated'),null;const {range:_0x467b5c,currentIndex:_0x57cb0f}=_0x572930;return'$graveyard'==_0x467b5c['root']['rootName']?(_0x5c57be['setChangeGroupState'](_0x57cb0f,'outdated'),null):_0x572930['range'];}['_getDocumentRangeForReplyChanges'](_0x5ae571,_0x5f2cfa){const {reply:_0x5efb87}=this['getInteractionAndReplyById'](_0x5ae571),_0x2e736d=_0x5efb87['changeGroups']['filter'](_0x4dfe02=>'pending'==_0x4dfe02['state']),_0x55ab28=_0x2e736d['map'](_0x3a6c53=>_0x5efb87['changeGroups']['indexOf'](_0x3a6c53));void 0x0===_0x5f2cfa&&(_0x5f2cfa=_0x55ab28[0x0]);const _0x5cbe64=_0x55ab28['indexOf'](_0x5f2cfa);if(-0x1==_0x5cbe64)return null;const _0x120ace=_0x2e736d[_0x5cbe64],_0x1404fe=this['_resolveGroupTarget'](_0x5efb87,_0x120ace);if(!_0x1404fe)return null;const {editor:_0x5e65cc,root:_0x39d1fc,parsedDocumentContent:_0x3645c0,serializedDocumentContent:_0x100494,version:_0x228545}=_0x1404fe,_0x4d6c14=new Document$1([]),_0x429429=new Document$1([]);for(const _0x4fe1c2 of _0x120ace['changes']){const _0x1a885c=this['activeConversation']?.['getSourceByDataId'](_0x4fe1c2['id']);if((!_0x1a885c||_0x1a885c['editor']===_0x1404fe['editor']&&_0x1a885c['rootName']===_0x1404fe['root']['rootName'])&&('removed'!=_0x4fe1c2['type']&&_0x429429['children']['push'](_0x4fe1c2['node']['cloneNode'](!0x0)),'new'!=_0x4fe1c2['type'])){const _0x1bb9ad=_0xc3f1b1(_0x3a727d=>getAttribute(_0x3a727d,'data-id')==_0x4fe1c2['id'],_0x3645c0,!0x0);if(!_0x1bb9ad)return null;_0x4d6c14['children']['push'](_0x1bb9ad['cloneNode'](!0x0));}}if(0x0==_0x4d6c14['children']['length']){if(_0x120ace['changes'][0x0]['anchorId']){const _0x56b6c5=findByAttribute('data-id',_0x120ace['changes'][0x0]['anchorId'],_0x3645c0);_0x4d6c14['children']['unshift'](_0x56b6c5['cloneNode'](!0x0)),_0x429429['children']['unshift'](_0x56b6c5['cloneNode'](!0x0)),_0x56b6c5['nextSibling']&&(_0x4d6c14['children']['push'](_0x56b6c5['nextSibling']['cloneNode'](!0x0)),_0x429429['children']['push'](_0x56b6c5['nextSibling']['cloneNode'](!0x0)));}else{const _0x27ad97=_0x3645c0['children'][0x0];if(!_0x27ad97)return null;_0x4d6c14['children']['push'](_0x27ad97['cloneNode'](!0x0)),_0x429429['children']['push'](_0x27ad97['cloneNode'](!0x0));}}const _0x3079ee=_0x5e65cc['data']['parse'](_0x100494),_0x38cae0=_0x332c25(_0x4d6c14),_0x2c55e0=_0x5e65cc['data']['parse'](_0x38cae0),_0x2a50fb=_0x5e65cc['data']['parse'](_0x38cae0),_0xbc99ab=_0x5e65cc['model']['createPositionAt'](_0x2c55e0,0x0),_0x25caef=_0x332c25(_0x429429),_0xb14685={'targetEditor':_0x5e65cc,'anchor':_0xbc99ab,'markDeletions':!0x1},_0x361f61=_0x5e65cc['plugins']['get'](DocumentCompare)['getDiff'](_0x38cae0,_0x25caef,_0xb14685)['getOperations']();if(!_0x361f61['length'])return null;_0x5e65cc['model']['change'](_0x2acecc=>{for(const _0x40cce8 of _0x361f61)if('remove'==_0x40cce8['type']){const _0x588e71=_0x40cce8['sourcePosition'],_0x3061c9=_0x40cce8['howMany'],_0x15ee4c=new ckeditor5['_DetachOperation'](_0x588e71,_0x3061c9);_0x2acecc['batch']['addOperation'](_0x15ee4c),_0x5e65cc['model']['applyOperation'](_0x15ee4c);}else'marker'!==_0x40cce8['type']&&(_0x40cce8['baseVersion']=null,_0x40cce8['isDocumentOperation']=!0x1,_0x2acecc['batch']['addOperation'](_0x40cce8),_0x5e65cc['model']['applyOperation'](_0x40cce8));});const _0x2119d6=getMinimalSelection(_0x5e65cc,_0x361f61,_0x2c55e0);expandSelectionWithContext(_0x5e65cc['model'],_0x2119d6);const _0x1bf77e=_0x2119d6['getFirstRange']()['start']['path']['slice'](),_0xfc2b12=_0x2119d6['getFirstRange']()['end']['path']['slice'](),_0x41ff09=[];let _0x3e1d2d=_0x2c55e0,_0x21edf1=_0x2a50fb;for(let _0x547f00=0x0;_0x547f00<_0xfc2b12['length'];_0x547f00++){const _0x11e40b=_0x3e1d2d['maxOffset']-_0xfc2b12[_0x547f00];_0x41ff09[_0x547f00]=_0x21edf1['maxOffset']-_0x11e40b,_0x3e1d2d=_0x3e1d2d['getChildAtOffset'](_0xfc2b12[_0x547f00]),_0x21edf1=_0x21edf1['getChildAtOffset'](_0x41ff09[_0x547f00]);}const _0xcc2fc0=_0x5e65cc['model']['createRange'](_0x5e65cc['model']['createPositionFromPath'](_0x2a50fb,_0x1bf77e),_0x5e65cc['model']['createPositionFromPath'](_0x2a50fb,_0x41ff09)),_0x6bbe2a=_0x2a50fb['getChild'](0x0)['getAttribute'](_0x4b93c3),_0x2f42ea=Array['from'](_0x3079ee['getChildren']())['find'](_0x43145c=>_0x43145c['getAttribute'](_0x4b93c3)==_0x6bbe2a),_0x333c2c=_0x2f42ea['getPath'](),_0x1b037d=_0xcc2fc0['start']['path']['slice'](),_0x163dd6=_0xcc2fc0['end']['path']['slice']();_0x1b037d[0x0]=_0x333c2c[0x0]+_0x1b037d[0x0],_0x163dd6[0x0]=_0x333c2c[0x0]+_0x163dd6[0x0];let _0x3ead7c=_0x5e65cc['model']['createRange'](_0x5e65cc['model']['createPositionFromPath'](_0x39d1fc,_0x1b037d),_0x5e65cc['model']['createPositionFromPath'](_0x39d1fc,_0x163dd6));const _0x4a1b3d=_0x5e65cc['model']['document']['history']['getOperations'](_0x228545);for(const _0x39e8ab of _0x4a1b3d)_0x3ead7c=ckeditor5['ModelRange']['_createFromRanges'](_0x3ead7c['getTransformedByOperation'](_0x39e8ab));return{'range':_0x3ead7c,'currentIndex':_0x5f2cfa};}['_integrateEditorBalloon'](_0x442fc2){if(!_0x442fc2['plugins']['has']('AIChatBalloon'))return;const _0x43284c=_0x442fc2['plugins']['get']('AIChatBalloon');this['_wiredBalloons']['has'](_0x43284c)||(this['_wiredBalloons']['add'](_0x43284c),this['_aiChatBalloon']||(this['_aiChatBalloon']=_0x43284c),_0x43284c['bind']('showDiff')['to'](this,'_aiChatBalloonShowDiff'),this['listenTo'](_0x43284c,'toggleSuggestionDisplayMode',()=>{const {replyId:_0x5c83ec,partIndex:_0x2e7426}=this['_currentPreviewedChangeGroup'];this['_aiChatBalloonShowDiff']=!this['_aiChatBalloonShowDiff'];const {reply:_0x520226}=this['getInteractionAndReplyById'](_0x5c83ec),_0x215231=_0x520226['changeGroups']['find'](_0x15e924=>_0x15e924['index']===_0x2e7426),_0x3880b2=_0x215231?this['_resolveGroupTarget'](_0x520226,_0x215231):null,_0x5f86a0=_0x520226['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff'],'groupIndex':_0x2e7426,'editor':_0x3880b2?.['editor']??getEditorFromContext(this['context'])});(this['_activeBalloon']??_0x43284c)['updateContent']({'part':_0x5f86a0[0x0],'renderingStrategy':'static','keepErrors':!0x0});}),this['listenTo'](_0x43284c,'applySuggestion',()=>{const {replyId:_0x33dd13,partIndex:_0x414fb3}=this['_currentPreviewedChangeGroup'];this['_applySuggestion']({'replyId':_0x33dd13,'partIndex':_0x414fb3}),(this['_activeBalloon']??_0x43284c)['setState']('accepted');}),this['listenTo'](_0x43284c,'insertSuggestion',()=>{const {replyId:_0x1e86cc,partIndex:_0x5d3264}=this['_currentPreviewedChangeGroup'];this['_insertSuggestion']({'replyId':_0x1e86cc,'partIndex':_0x5d3264}),(this['_activeBalloon']??_0x43284c)['setState']('accepted');}),this['listenTo'](_0x43284c,'rejectSuggestion',()=>{const {replyId:_0xe7db44,partIndex:_0x3519da}=this['_currentPreviewedChangeGroup'];this['_rejectSuggestion']({'replyId':_0xe7db44,'partIndex':_0x3519da}),(this['_activeBalloon']??_0x43284c)['setState']('rejected');}),this['listenTo'](_0x43284c,'showNext',()=>{const {replyId:_0x50a777,partIndex:_0x540295}=this['_currentPreviewedChangeGroup'],_0x236d21=this['_getPresentableSiblingContentPartIndex'](_0x50a777,_0x540295,'next');null!==_0x236d21&&this['_openBalloonFor'](_0x50a777,_0x236d21);}),this['listenTo'](_0x43284c,'showPrevious',()=>{const {replyId:_0x497c1a,partIndex:_0x11db75}=this['_currentPreviewedChangeGroup'],_0x5213fc=this['_getPresentableSiblingContentPartIndex'](_0x497c1a,_0x11db75,'previous');null!==_0x5213fc&&this['_openBalloonFor'](_0x497c1a,_0x5213fc);}),this['listenTo'](_0x43284c,'dialogClosed',(_0x5cce30,{id:_0x2ac6ec})=>{if('aiChatBalloon'!==_0x2ac6ec)return;const {replyId:_0x5aea5f,partIndex:_0x5e86d2}=this['_currentPreviewedChangeGroup'];this['_currentPreviewedChangeGroup']=null,this['_aiChatUi']['setFeedItemAIReplySuggestionPartActive']({'id':_0x5aea5f,'index':_0x5e86d2,'isActive':!0x1}),this['_activeBalloon']===_0x43284c&&(this['_activeBalloon']=void 0x0);}));}['_integrateEditor'](_0x58daf6){if(this['_integrateEditorBalloon'](_0x58daf6),_0x58daf6['plugins']['has']('Undo')){const _0x417749=_0x58daf6['commands']['get']('undo'),_0x425fe1=_0x58daf6['commands']['get']('redo');this['listenTo'](_0x417749,'revert',(_0x127100,_0x11c185,_0x306437)=>{const _0x5ece19=this['_batchToChanges']['get'](_0x11c185);if(!_0x5ece19)return;const _0x3f24cc=this['activeConversation']['getInteraction'](_0x5ece19['interactionId']),_0x29403c=_0x3f24cc?.['getReply'](_0x5ece19['replyId']);this['_batchToChanges']['delete'](_0x11c185),_0x3f24cc&&_0x29403c&&(_0x5ece19['indexes']['forEach'](_0x400474=>_0x29403c['setChangeGroupState'](_0x400474,'pending')),this['_batchToChanges']['set'](_0x306437,_0x5ece19));}),this['listenTo'](_0x425fe1,'revert',(_0x4f3cbd,_0xb9543f,_0x14464c)=>{const _0x1c3851=this['_batchToChanges']['get'](_0xb9543f);if(!_0x1c3851)return;const _0x201870=this['activeConversation']['getInteraction'](_0x1c3851['interactionId']),_0xce13d9=_0x201870?.['getReply'](_0x1c3851['replyId']);this['_batchToChanges']['delete'](_0xb9543f),_0x201870&&_0xce13d9&&(_0x1c3851['indexes']['forEach'](_0x1a7f19=>_0xce13d9['setChangeGroupState'](_0x1a7f19,'accepted')),this['_batchToChanges']['set'](_0x14464c,_0x1c3851));});}const _0x2431e8=_0x58daf6['config']['get']('ai.chat.context');_0x2431e8['alwaysAddSelection']&&_0x2431e8['document']['enabled']&&this['listenTo'](_0x58daf6['model']['document']['selection'],'change:range',(_0x3dfe7e,_0x172798)=>{if(!_0x172798['directChange'])return;'chat'===_0x58daf6['plugins']['get']('AITabs')['view']['activeTab']&&(_0x58daf6['model']['hasContent'](_0x58daf6['model']['document']['selection'])?this['addSelectionToChatContext']():this['removeSelectionFromChatContext']());});}async['_getLastCreatedConversationId'](){const _0xd99da6=this['_aiConnector']['fetchConversations'](this['getGroupId'](),{'limit':0x1,'sortBy':'createdAt'});try{const _0x13905f=await _0xd99da6['getConversations']();return _0x13905f['length']?_0x13905f[0x0]['id']:'new';}catch(_0x15007d){return this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_UNABLE_TO_LOAD_CONVERSATION'),'id':ckeditor5['uid']()}),this['_logError'](new ckeditor5['CKEditorError']('ai-chat-conversation-init-failed',this,{'error':_0x15007d})),this['_aiChatUi']['toggleLoadingSkeleton'](!0x1),this['_aiChatUi']['disableControls'](),null;}}async['_startConversationSafely'](_0x4738ff={}){try{this['_aiChatUi']['enableControls'](),await this['_handleStartConversation'](_0x4738ff);}catch(_0x28d58b){this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_UNABLE_TO_START_CONVERSATION'),'id':_0x4738ff['id']||ckeditor5['uid']()}),console['error'](_0x28d58b),this['activeConversation']=void 0x0,this['_aiChatUi']['disableControls']();}}async['_handleStartConversation']({id:_0x2c9551,modelId:_0x3ae7e8}={}){this['_activeBalloon']?.['close'](),this['_activeBalloon']=void 0x0,this['_currentPreviewedChangeGroup']=null;let _0x134429=_0x3ae7e8;_0x134429||(_0x2c9551||!this['activeConversation']?_0x134429=this['context']['config']['get']('ai.models.defaultModelId'):this['_aiChatUi']['isModelAvailable']&&(_0x134429=this['activeConversation']['selectedModel']['id'])),await this['_stopLastInteraction']();const _0x12e6b4=this['getGroupId'](),_0x4c4b19=_0x2c9551||ckeditor5['uid']();let _0x546118;this['activeConversation']=new AIChatConversation({'connector':this['_aiConnector'],'chatModels':this['_aiChatModels'],'selectedModelId':_0x134429,'conversationId':_0x4c4b19,'group':_0x12e6b4,'getEditor':()=>getEditorFromContext(this['context']),'getEditors':()=>getEditorsFromContext(this['context']),'locale':this['context']['locale'],'isFromHistory':!!_0x2c9551}),this['activeConversation']['delegate']('toolDataReceived','interactionCreated','interactionStarted','replyCreated')['to'](this),this['activeConversation']['on']('conversationInitialized',(_0x467970,_0x24a4f8)=>{this['_aiChatUi']['createConversation'](_0x24a4f8),this['_aiChatUi']['resetMessageInput'](),this['_aiChatUi']['clearPendingContextUI'](),this['_aiChatUi']['clearConversationContextUI'](),_0x2c9551||(this['_aiChatUi']['resetConversationTitle'](),this['addCurrentDocumentToChatContext']());}),this['activeConversation']['on']('uploadProgressChanged',(_0x35c80f,_0x57a6c5)=>{this['_aiChatUi']['setIsUploadInProgress'](_0x57a6c5['isUploadInProgress']);}),this['activeConversation']['on']('webSearchStarted',()=>{const _0x4f18bd=this['_aiChatUi']['prepareLoadingMessage']({'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});this['_aiChatUi']['setLoadingMessage'](_0x4f18bd);}),this['activeConversation']['on']('reasoningStarted',()=>{const _0x3f9537=this['_aiChatUi']['prepareLoadingMessage']({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});this['_aiChatUi']['setLoadingMessage'](_0x3f9537);}),this['activeConversation']['on']('webSearchFinished',(_0x1f3b0e,_0x48e602)=>{this['_aiChatUi']['addFeedInteractionHeader'](_0x48e602,{'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});}),this['activeConversation']['on']('reasoningFinished',(_0x48b531,_0x2012dd)=>{this['_aiChatUi']['addFeedInteractionHeader'](_0x2012dd,{'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});}),this['activeConversation']['on']('interactionStarted',()=>{this['_aiChatUi']['startInteraction']();}),this['activeConversation']['on']('interactionFinished',async()=>{this['_updateReplyContentThrottled']['flush'](),await this['_aiChatUi']['finishInteraction']();}),this['activeConversation']['on']('interactionDestroyed',(_0x29017a,_0x5ed183)=>{this['_aiChatUi']['removeFeedInteraction'](_0x5ed183['id']);}),this['activeConversation']['on']('setConversationTitle',(_0x3dab4a,_0x58c69b,_0x53565f)=>{this['_updateConversationTitle'](_0x58c69b,_0x53565f);}),this['activeConversation']['on']('replyContentUpdated',async(_0x37a611,_0x562ee6)=>{void 0x0!==_0x546118&&_0x546118!==_0x562ee6['id']&&this['_updateReplyContentThrottled']['flush'](),_0x546118=_0x562ee6['id'],_0x562ee6['isFromHistory']?await this['_updateReplyContent']({'reply':_0x562ee6}):await this['_updateReplyContentThrottled']({'reply':_0x562ee6});}),this['activeConversation']['on']('replyChangeGroupStateUpdated',(_0x32f21f,{reply:_0x18d22e,index:_0x2bb3b9,state:_0x142ed6})=>{this['_aiChatUi']['updateFeedItemAIReplySuggestionPartState']({'id':_0x18d22e['id'],'index':_0x2bb3b9,'state':_0x142ed6}),this['_currentPreviewedChangeGroup']?.['replyId']['includes'](_0x18d22e['id'])&&this['_currentPreviewedChangeGroup']?.['partIndex']==_0x2bb3b9&&(this['_activeBalloon']??this['_aiChatBalloon'])?.['setState'](_0x142ed6);}),this['activeConversation']['on']('contextItemAdded',(_0xfdebed,_0x3d8ea8)=>{if(this['_aiChatUi']['addContextItem'](_0x3d8ea8['contextItem'],_0x3d8ea8['isLoading']),'selection'===_0x3d8ea8['contextItem']['type']){const _0x580f89=[...getEditorFromContext(this['context'])['model']['document']['selection']['getRanges']()];this['_aiEditing']['showFakeVisualSelection']({'ranges':_0x580f89,'id':'context','priority':0x1});}}),this['activeConversation']['on']('contextItemRemoved',(_0x569820,_0x3106bf)=>{this['_aiChatUi']['removeContextItem'](_0x3106bf['uiId']),'current-document'==_0x3106bf['uiId']&&this['removeSelectionFromChatContext'](),'selection'===_0x3106bf['type']&&this['_aiEditing']['hideFakeVisualSelection']('context');}),this['activeConversation']['on']('contextItemLoadingEnded',(_0x6ee5f3,_0x48ee30)=>{this['_aiChatUi']['setContextItemLoading'](_0x48ee30['contextItem']['uiId'],_0x48ee30['isLoading']);}),this['activeConversation']['on']('contextSent',(_0x25e2b6,_0x31a755)=>{this['_aiChatUi']['setConversationContext'](_0x31a755['contextItems']);}),this['activeConversation']['on']('addContextOptionsChanged',(_0x524b05,_0x19c4f8)=>{this['_aiChatUi']['setAddContextOptions'](_0x19c4f8['options']);}),this['activeConversation']['on']('sourceResourcesLoaded',(_0x316939,_0x3eac0f)=>{this['_aiChatUi']['populateSourceResourceBalloon'](_0x3eac0f['sourceId'],_0x3eac0f['source'],_0x3eac0f['resources'],_0x3eac0f['uid']);}),this['activeConversation']['on']('resourceStateChanged',(_0x2a8284,_0x3bd099)=>{this['_aiChatUi']['updateResourceState'](_0x3bd099['sourceId'],_0x3bd099['resourceId'],_0x3bd099['isInContext']);}),this['activeConversation']['on']('capabilitiesUpdated',(_0x17514b,_0x4f11b2)=>{this['_aiChatUi']['updateCapabilities'](_0x4f11b2);}),this['activeConversation']['on']('modelSelected',async(_0x144f92,_0xd542cf)=>{const _0x52d3bc=(await this['_aiChatModels']['getAll']())['find'](_0x1c36e5=>_0x1c36e5['id']===_0xd542cf['selectedModel']?.['id'])||null;this['_aiChatUi']['setSelectedModel'](_0x52d3bc,_0xd542cf['isDisabled']);}),this['activeConversation']['on']('error',(_0x1ea4fe,{error:_0x1f9617,interactionId:_0x494061,fileName:_0x441d1b,url:_0x31242e,sourceId:_0x2db293,sourceLabel:_0x846d84})=>{const _0x299a87=_0x494061?_0x494061+':'+ckeditor5['uid']():ckeditor5['uid']();_0x1f9617['message']['startsWith']('ai-request-aborted')?this['_aiChatUi']['addFeedItemStaticMessage']({'staticMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_ABORTED_MESSAGE'),'id':_0x299a87}):_0x1f9617['message']['startsWith']('ai-chat-conversation-init-failed')||_0x1f9617['message']['startsWith']('ai-chat-conversation-start-failed')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_UNABLE_TO_START_CONVERSATION'),'id':_0x299a87}),this['_logError'](_0x1f9617)):_0x1f9617['message']['startsWith']('ai-chat-file-upload-failed')?this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE',_0x441d1b),'id':_0x299a87}):_0x1f9617['message']['startsWith']('ai-chat-url-upload-failed')?this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL',_0x31242e),'id':_0x299a87}):_0x1f9617['message']['startsWith']('ai-chat-context-invalid-data')?this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_INVALID_DATA'),'id':_0x299a87}):_0x1f9617['message']['startsWith']('ai-chat-context-unsupported-type')?this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_UNSUPPORTED_TYPE'),'id':_0x299a87}):_0x1f9617['message']['startsWith']('ai-chat-source-resources-load-failed')?(_0x2db293&&this['_aiChatUi']['closeSourceResourceBalloon'](_0x2db293),this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES',_0x846d84||'source'),'id':_0x299a87}),this['_logError'](_0x1f9617)):_0x1f9617['message']['startsWith']('ai-chat-resource-load-failed')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_RESOURCE_LOAD_FAILED'),'id':_0x299a87}),this['_logError'](_0x1f9617)):_0x1f9617['message']['startsWith']('ai-chat-invalid-request')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_INVALID_REQUEST'),'id':_0x299a87}),this['_logError'](_0x1f9617)):_0x1f9617['message']['startsWith']('ai-chat-context-unsupported-file-type')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_UNSUPPORTED_FILE_TYPE'),'id':_0x299a87}),this['_logError'](_0x1f9617)):_0x1f9617['message']['startsWith']('ai-chat-context-file-too-large')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_FILE_TOO_LARGE'),'id':_0x299a87}),this['_logError'](_0x1f9617)):_0x1f9617['message']['startsWith']('ai-chat-context-file-too-many-pages')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_FILE_TOO_MANY_PAGES'),'id':_0x299a87}),this['_logError'](_0x1f9617)):_0x1f9617['message']['startsWith']('ai-chat-context-form-data-size-limits-exceeded')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_FORM_DATA_SIZE_LIMITS_EXCEEDED'),'id':_0x299a87}),this['_logError'](_0x1f9617)):(this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_GENERIC_ERROR'),'id':_0x299a87}),this['_logError'](_0x1f9617));}),await this['activeConversation']['init'](this['context']['config']['get']('ai.chat.context')),_0x2c9551||await this['activeConversation']['start']();}async['_handleUIUserMessage']({message:_0x16a2f2,attributes:_0x25684a}){if(!this['activeConversation'])throw new ckeditor5['CKEditorError']('ai-chat-controller-no-active-conversation');if(this['activeConversation']['isCurrentDocumentInContext']()){const _0x2d0eb2=await this['_aiEditing']['getDocumentData']();_0x2d0eb2['length']>0x1?await this['activeConversation']['updateCurrentDocumentsInContext'](_0x2d0eb2):await this['activeConversation']['updateCurrentDocumentInContext'](_0x2d0eb2[0x0]);}this['activeConversation']['id']&&this['activeConversation']['isStarted']&&await this['activeConversation']['handleUserInteraction']({'userMessage':_0x16a2f2,'attributes':_0x25684a});}['_logError'](_0x549d4d){ckeditor5['logError'](_0x549d4d['message']);}['_removeFromContext'](_0x1e3808){this['activeConversation']?.['removeFromContext'](_0x1e3808);}['_toggleWebSearch'](){this['activeConversation']?.['toggleWebSearch']();}['_toggleReasoning'](){this['activeConversation']?.['toggleReasoning']();}['getInteractionAndReplyById'](_0x205d9c){const [_0x5eab97,_0x3798f2]=_0x205d9c['split'](':'),_0x49aa0e=this['activeConversation']['getInteraction'](_0x5eab97),_0x5a5e38=_0x49aa0e['getReply'](_0x3798f2);return{'interaction':_0x49aa0e,'reply':_0x5a5e38};}['_resolveGroupTarget'](_0x509354,_0x1bafd6){const _0x2ffb03=[..._0x1bafd6['changes']['filter'](_0x54de45=>'context'!==_0x54de45['type']),..._0x1bafd6['changes']['filter'](_0x5a47c7=>'context'===_0x5a47c7['type'])];for(const _0x3d6a08 of _0x2ffb03){const _0x2c6806=_0x509354['newNodeAnchorIds']['get'](_0x3d6a08['id']),_0x4e96f7=this['activeConversation']?.['getSourceByDataId'](_0x3d6a08['id'])||this['activeConversation']?.['getSourceByDataId'](_0x2c6806)||this['activeConversation']?.['getSourceByDataId'](_0x3d6a08['anchorId']??void 0x0);if(_0x4e96f7){if('destroyed'===_0x4e96f7['editor']['state'])return null;const _0x281208=_0x4e96f7['editor']['model']['document']['getRoot'](_0x4e96f7['rootName']);return _0x281208?{'editor':_0x4e96f7['editor'],'root':_0x281208,'parsedDocumentContent':_0x306b12(_0x4e96f7['content']),'serializedDocumentContent':_0x4e96f7['content'],'version':_0x4e96f7['version']}:null;}}const _0x54c4b3=getEditorFromContext(this['context']),_0x54c953=this['activeConversation']['getInteraction'](_0x509354['interactionId']),_0x1e0e36=_0x54c953?.['getDocumentContext']();return{'editor':_0x54c4b3,'root':_0x54c4b3['model']['document']['getRoot'](),'parsedDocumentContent':_0x509354['documentContextContent'],'serializedDocumentContent':_0x1e0e36?.['content'],'version':_0x1e0e36?.['version']};}['_groupChangesByTarget'](_0x5bc076,_0x585b3f){const _0x4daa45=new Map();for(const _0x3a72d5 of _0x585b3f){const _0x213d85=this['_resolveGroupTarget'](_0x5bc076,_0x3a72d5);if(!_0x213d85)continue;const _0x1521dc=(_0x213d85['editor']['id']||'e')+'|'+_0x213d85['root']['rootName'];let _0x374d4c=_0x4daa45['get'](_0x1521dc);if(!_0x374d4c){let _0x48a26d;for(const _0x533660 of[..._0x3a72d5['changes']['filter'](_0x2c5dbb=>'context'!==_0x2c5dbb['type']),..._0x3a72d5['changes']['filter'](_0xf3b9de=>'context'===_0xf3b9de['type'])])if(_0x48a26d=this['activeConversation']?.['getDocumentContextSliceByDataId'](_0x533660['id'])||this['activeConversation']?.['getDocumentContextSliceByDataId'](_0x5bc076['newNodeAnchorIds']['get'](_0x533660['id'])),_0x48a26d)break;_0x374d4c={'target':{'editor':_0x213d85['editor'],'root':_0x213d85['root']},'slice':_0x48a26d,'groups':[],'groupsIndexes':[]},_0x4daa45['set'](_0x1521dc,_0x374d4c);}_0x374d4c['groups']['push'](_0x3a72d5),_0x374d4c['groupsIndexes']['push'](_0x5bc076['changeGroups']['indexOf'](_0x3a72d5));}return Array['from'](_0x4daa45['values']());}['_scrollToSuggestionRange'](_0x339ebe,_0xd296fc=!0x1,_0x2f8b71){const _0xd9f450={'target':_0x2f8b71['editing']['view']['domConverter']['viewRangeToDom'](_0x2f8b71['editing']['mapper']['toViewRange'](_0x339ebe)),'viewportOffset':{'top':0x96,'left':0x0,'bottom':0x32,'right':0x0},'ancestorOffset':0x14,'alignToTop':_0xd296fc};_0xd296fc&&(_0xd9f450['alignToTop']=!0x0),ckeditor5['scrollViewportToShowTarget'](_0xd9f450);}['_updateConversationTitle'](_0x554395,_0x1ef150=!0x1){this['_aiChatUi']['setConversationTitle'](_0x554395||getTranslation$i(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION'),_0x1ef150);}['_addFeedItemReply'](_0x251660){'text'===_0x251660['type']?this['_aiChatUi']['addFeedItemAIReply'](_0x251660):this['_aiChatUi']['addFeedItemAISuggestion'](_0x251660);}async['_updateReplyContent']({reply:_0x3ebba6,renderingStrategy:_0x36a23c}){const {id:_0x1b0606,interactionId:_0x56bfa2,isDone:_0x1cddf3,type:_0x3faa3b,parsedContent:_0x30123e}=_0x3ebba6,_0x82b818=_0x56bfa2+':'+_0x1b0606;if('modification'===_0x3faa3b){const _0x34cc3a=_0x3ebba6['getContentParts']({'showDiff':this['_aiChatUi']['showDiff'],'editor':getEditorFromContext(this['context'])});await this['_aiChatUi']['updateFeedItemAIReplySuggestionContent']({'id':_0x82b818,'parts':_0x34cc3a,'isDone':_0x1cddf3,'skipLoadingEffects':_0x3ebba6['isFromHistory']});}else'text'===_0x3faa3b&&await this['_aiChatUi']['updateFeedItemAIReplyContent']({'id':_0x82b818,'parsedContent':_0x30123e,'renderingStrategy':_0x36a23c,'isDone':_0x1cddf3});_0x1cddf3&&_0x3ebba6['sources']['length']>0x0&&this['_aiChatUi']['updateFeedItemAIReplySources'](_0x82b818,_0x3ebba6['sources']);}['_updateReplyContentThrottled']=throttle(this['_updateReplyContent']['bind'](this),_0x403f61);async['_stopLastInteraction'](){const _0x4eebca=this['activeConversation']?.['lastInteraction'];_0x4eebca&&(_0x4eebca['stop'](),this['_aiChatUi']['stopInteraction'](_0x4eebca)),this['_updateReplyContentThrottled']['cancel']();}async['_flushLastInteractionUI'](){const _0x27d818=this['activeConversation']?.['lastInteraction'];if(_0x27d818){for await(const _0x1bf18a of _0x27d818['replies'])this['_aiChatUi']['hasFeedItem'](_0x1bf18a['id'])||this['_addFeedItemReply'](_0x1bf18a),await this['_updateReplyContent']({'reply':_0x1bf18a,'renderingStrategy':'static'});}}['_updateRatings'](_0x16cf76){const _0x22867a={'positiveCount':_0x16cf76['changeGroups']['filter'](_0xaac2f1=>'accepted'===_0xaac2f1['state'])['length'],'totalCount':_0x16cf76['changeGroups']['length'],'modificationId':_0x16cf76['id']},_0x181bed=this['activeConversation']['getInteraction'](_0x16cf76['interactionId'])['messageId'];_0x181bed&&this['_aiConnector']['upsertAIChatRating'](this['activeConversation']['id'],_0x181bed,_0x22867a);}['_getAIChatFeedAPI'](_0x3cd28c){const _0x11acbd=this['_aiChatUi'],_0x89b64=()=>{_0x3cd28c['resetWebSearchState'](),_0x3cd28c['resetReasoningState'](),_0x11acbd['clearLoadingMessage']();},_0x4f772d=()=>{_0x3cd28c['currentReply']&&(_0x3cd28c['currentReply']['done'](),_0x3cd28c['currentReply']=void 0x0);};return{'insertTextReply':(_0x1b9e1e,_0x20cbdf)=>{_0x4f772d(),_0x89b64();const _0x1a3127=_0x3cd28c['currentReply']=_0x3cd28c['createReply']({'type':'text','interactionId':_0x3cd28c['id'],'content':_0x1b9e1e,'id':_0x20cbdf||ckeditor5['uid']()});return _0x4f772d(),_0x1a3127;},'insertCustomElement':async(_0x53f0b5,_0xe92be)=>(_0x4f772d(),_0x89b64(),_0x11acbd['addFeedItemCustomElement'](_0x53f0b5,_0xe92be||ckeditor5['uid']())),'setLoadingMessage':_0x16f3cc=>{_0x11acbd['setLoadingMessage'](_0x16f3cc);},'clearLoadingMessage':()=>{_0x11acbd['clearLoadingMessage']();}};}}const _0x598402='ai-selection',_0x4955d9=['br'];class AIEditing extends ckeditor5['ContextPlugin']{constructor(_0x5b104b){super(_0x5b104b),this['context']['config']['define']('ai.models.showModelSelector',!0x0);}['_outputDataProcessor'];['_fakeSelections']=[];['_sessionId'];['_lastContentFocusedEditor'];static get['pluginName'](){return'AIEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['getLastContentFocusedEditor'](){return this['_lastContentFocusedEditor'];}get['sessionId'](){if(!this['_sessionId']){const _0x21f7bb=getEditorsFromContext(this['context']),_0x291b4f=_0x21f7bb['find'](_0x5bd623=>_0x5bd623['plugins']['has']('RealTimeCollaborationClient'))||_0x21f7bb[0x0],_0x2009f1=_0x291b4f['plugins']['has']('RealTimeCollaborationClient')&&_0x291b4f['plugins']['get']('RealTimeCollaborationClient')['sessionId'];this['_sessionId']=_0x2009f1||ckeditor5['uid']();}return this['_sessionId'];}async['getDocumentData'](){const _0x347bc6=getEditorsFromContext(this['context']);if(!_0x347bc6['length'])throw new ckeditor5['CKEditorError']('ai-get-editor-from-context-no-editor');const _0x3ca6f9=[],_0x293890=new Set();for(const _0x1103fe of _0x347bc6){const _0x28439d=_0x1103fe['config']['get']('roots')||{};for(const _0x2e3f20 of _0x1103fe['model']['document']['getRoots']()){if('$graveyard'===_0x2e3f20['rootName'])continue;const _0x5932bd=await this['_getDocumentDataForEditorRoot'](_0x1103fe,_0x2e3f20,_0x293890),_0x3d3f28=_0x28439d[_0x2e3f20['rootName']];let _0x26e9c5;_0x3d3f28?.['label']?_0x26e9c5=_0x3d3f28['label']:(ckeditor5['logWarning']('ai-document-root-missing-label',{'editor':_0x1103fe,'rootConfig':_0x3d3f28}),_0x26e9c5=_0x2e3f20['rootName']),_0x3ca6f9['push']({'editor':_0x1103fe,'rootName':_0x2e3f20['rootName'],'content':_0x5932bd['content'],'version':_0x5932bd['version'],'sessionId':this['sessionId'],'channelId':_0x1103fe['config']['get']('collaboration.channelId'),'selections':_0x5932bd['selections'],'name':_0x26e9c5,'description':_0x3d3f28?.['description']});}}return _0x3ca6f9;}async['_getDocumentDataForEditorRoot'](_0xafb05d,_0x4be9f2,_0x416367){const _0x5a98ce=_0xafb05d['data']['toView'](_0x4be9f2,{'convertAiChatSelectionMarker':!0x0}),_0x5e4559=new ckeditor5['ViewDowncastWriter'](_0xafb05d['editing']['view']['document']);this['_setDataIdsOnChildren'](_0x5a98ce,_0x5e4559,_0x416367);let _0x3bbb85=await this['_getDocumentDataStringFromView'](_0x5a98ce,_0xafb05d);const _0x1a3872=this['_getMarkersInDocumentOrder'](_0xafb05d,_0x4be9f2),_0x5c5b90=[];for(const _0x116c7f of _0x1a3872){const _0x1e9359='<'+_0x116c7f['name']+':start></'+_0x116c7f['name']+':start>',_0x249289=_0x3bbb85['indexOf'](_0x1e9359);_0x3bbb85=_0x3bbb85['substring'](0x0,_0x249289)+_0x3bbb85['substring'](_0x249289+_0x1e9359['length']);const _0x3b93d9='<'+_0x116c7f['name']+':end></'+_0x116c7f['name']+':end>',_0x1937f8=_0x3bbb85['indexOf'](_0x3b93d9);_0x3bbb85=_0x3bbb85['substring'](0x0,_0x1937f8)+_0x3bbb85['substring'](_0x1937f8+_0x3b93d9['length']),_0x5c5b90['push']({'markerName':_0x116c7f['name'],'start':_0x249289,'end':_0x1937f8,'htmlFragment':_0x3bbb85['substring'](_0x249289,_0x1937f8)});}return{'content':_0x3bbb85,'version':_0xafb05d['model']['document']['version'],'selections':_0x5c5b90};}async['afterInit'](){this['context']instanceof ckeditor5['Editor']?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x2ba405,_0x570118)=>{_0x570118['on']('ready',()=>{this['_integrateEditor'](_0x570118);});});}['_setOutputDataProcessor'](_0x310ec0){this['_outputDataProcessor']=_0x310ec0;}async['_getDocumentDataStringFromView'](_0x384d67,_0x3dce21){let _0x48baea;if(this['_outputDataProcessor']){const _0x296fb4=_0x3dce21['data']['processor']['domConverter']['viewToDom'](_0x384d67),_0x27508c=await this['_outputDataProcessor'](_0x296fb4);_0x48baea=_0x3dce21['data']['processor']['htmlWriter']['getHtml'](_0x27508c);}else _0x48baea=_0x3dce21['data']['processor']['toData'](_0x384d67);return _0x48baea;}['_integrateEditor'](_0x3549a8){if(!_0x3549a8['config']['get']('collaboration.channelId'))throw new ckeditor5['CKEditorError']('ai-missing-channel-id',_0x3549a8);_0x3549a8['ui']['focusTracker']['on']('change:isFocused',(_0x264142,_0x7bcf68,_0x29c438)=>{_0x29c438&&(this['_lastContentFocusedEditor']=_0x3549a8);}),_0x3549a8['on']('destroy',()=>{this['_lastContentFocusedEditor']===_0x3549a8&&(this['_lastContentFocusedEditor']=void 0x0);}),_0x3549a8['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x598402,'view':({markerName:_0x4f7367})=>({'classes':['ck-ai-assistant-ui_theme','ck-fake-ai-selection','ck-fake-ai-selection-'+_0x4f7367['split'](':')[0x1]],'priority':0xc})}),_0x3549a8['conversion']['for']('dataDowncast')['markerToElement']({'model':_0x598402+':context','view':(_0x38caf,{writer:_0x2722b6,options:_0x3ceb99})=>_0x3ceb99['convertAiChatSelectionMarker']?_0x2722b6['createUIElement'](_0x38caf['markerName']+':'+(_0x38caf['isOpening']?'start':'end')):null});}['showFakeVisualSelection'](_0x4c7491){const _0x3af88a=this['_fakeSelections'][0x0]||null;this['_addFakeSelection'](_0x4c7491);const _0x4c3727=this['_fakeSelections'][0x0]||null;this['_refreshFakeSelection'](_0x3af88a,_0x4c3727);}['hideFakeVisualSelection'](_0x483480){const _0x14bf62=this['_fakeSelections'][0x0]||null;this['_removeFakeSelectionById'](_0x483480);const _0xd30917=this['_fakeSelections'][0x0]||null;this['_refreshFakeSelection'](_0x14bf62,_0xd30917);}async['modelToDataWithIds'](_0x582050){const _0x43348a=getEditorFromContext(this['context']),_0x3a2798=_0x43348a['data']['toView'](_0x582050),_0x5eba28=new ckeditor5['ViewDowncastWriter'](_0x43348a['editing']['view']['document']);return this['_setDataIdsOnChildren'](_0x3a2798,_0x5eba28),this['_getDocumentDataStringFromView'](_0x3a2798,_0x43348a);}['_setDataIdsOnChildren'](_0x4b2022,_0x2c5b7f,_0x3b0bec=new Set()){let _0x493ef1=!0x1;for(const _0x3f1560 of _0x4b2022['getChildren']()){if(!_0x3f1560['is']('view:element')||_0x4955d9['includes'](_0x3f1560['name']))continue;const _0x20e49a=_0x3f1560['is']('view:containerElement'),_0x376f92=_0x3f1560['is']('view:emptyElement'),_0x52e6fe=this['_setDataIdsOnChildren'](_0x3f1560,_0x2c5b7f,_0x3b0bec);if(_0x3f1560['hasAttribute']('data-id')){_0x493ef1=!0x0,_0x3b0bec['add'](_0x3f1560['getAttribute']('data-id'));continue;}(_0x20e49a||_0x376f92||_0x52e6fe)&&(_0x2c5b7f['setAttribute']('data-id',this['_nextDataId'](_0x3b0bec),_0x3f1560),_0x493ef1=!0x0);}return _0x493ef1;}['_nextDataId'](_0x3aa9a1){let _0x406dae;do{_0x406dae='';for(let _0x19267e=0x0;_0x19267e<0x4;_0x19267e++)_0x406dae+=String['fromCharCode'](0x61+Math['floor'](0x1a*Math['random']()));}while(_0x3aa9a1['has'](_0x406dae));return _0x3aa9a1['add'](_0x406dae),_0x406dae;}['getSelectionText'](){const {model:_0x5043a9}=getEditorFromContext(this['context']),_0x4a6c73=_0x5043a9['document']['selection'],_0x55db0d=[],_0x5abb9a=Array['from'](_0x4a6c73['getRanges']());_0x5abb9a['sort']((_0x213b87,_0x49a7bf)=>_0x213b87['start']['isBefore'](_0x49a7bf['start'])?-0x1:0x1);for(const _0x3aa0dd of _0x5abb9a)for(const _0x4d7705 of _0x3aa0dd['getItems']())_0x4d7705['is']('$textProxy')?_0x55db0d['push'](_0x4d7705['data']):_0x4d7705['is']('element')&&_0x55db0d['length']>0x0&&'\x20'!==_0x55db0d[_0x55db0d['length']-0x1]&&_0x55db0d['push']('\x20');return _0x55db0d['length']?'\x22'+_0x55db0d['join']('')['trim']()+'\x22':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_DOCUMENT_SELECTION_LABEL');}['_removeFakeSelectionById'](_0x1b271b){for(let _0x585475=0x0;_0x585475<this['_fakeSelections']['length'];_0x585475++)if(this['_fakeSelections'][_0x585475]['id']==_0x1b271b)return void this['_fakeSelections']['splice'](_0x585475,0x1);}['_addFakeSelection'](_0x1cf0ae){this['_removeFakeSelectionById'](_0x1cf0ae['id']),ckeditor5['insertToPriorityArray'](this['_fakeSelections'],_0x1cf0ae);}['_refreshFakeSelection'](_0x5937ab,_0x457a67){if(_0x5937ab==_0x457a67)return;const _0x4e835a=_0x5937ab?this['_getEditorForFakeSelection'](_0x5937ab):null,_0x410ee4=_0x457a67?this['_getEditorForFakeSelection'](_0x457a67):null,_0x3e33f8=(_0x2918a9,_0x1687b9)=>{const _0x5eb683=_0x1687b9['model']['markers']['getMarkersGroup'](_0x598402);for(const _0x3afb7e of _0x5eb683)_0x2918a9['removeMarker'](_0x3afb7e);},_0x154aea=(_0x16018d,_0x25de17,_0x551f74)=>{const _0x42e24e=_0x25de17['model'];for(let _0x38b3d3=0x0;_0x38b3d3<_0x551f74['ranges']['length'];_0x38b3d3++){let _0x1847a6=_0x551f74['ranges'][_0x38b3d3];const _0x4d1597=_0x598402+':'+_0x551f74['id']+':'+_0x38b3d3;if(_0x1847a6['start']['isAtEnd']){const _0x460fcf=_0x1847a6['start']['getLastMatchingPosition'](({item:_0x54d64e})=>!_0x42e24e['schema']['isContent'](_0x54d64e),{'boundaries':_0x1847a6});_0x1847a6=_0x16018d['createRange'](_0x460fcf,_0x1847a6['end']);}_0x16018d['addMarker'](_0x4d1597,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1847a6});}};_0x4e835a&&_0x410ee4&&_0x4e835a===_0x410ee4&&_0x457a67?_0x4e835a['model']['change'](_0x5dad60=>{_0x3e33f8(_0x5dad60,_0x4e835a),_0x154aea(_0x5dad60,_0x410ee4,_0x457a67);}):(_0x4e835a&&_0x4e835a['model']['change'](_0x127a66=>_0x3e33f8(_0x127a66,_0x4e835a)),_0x410ee4&&_0x457a67&&_0x410ee4['model']['change'](_0x5525c4=>_0x154aea(_0x5525c4,_0x410ee4,_0x457a67)));}['_getEditorForFakeSelection'](_0x562c25){if(!_0x562c25['ranges']['length'])return getEditorFromContext(this['context']);const _0x1e7bf1=_0x562c25['ranges'][0x0]['root']['document'];return getEditorsFromContext(this['context'])['find'](_0x133263=>_0x133263['model']['document']===_0x1e7bf1)??getEditorFromContext(this['context']);}['_getMarkersInDocumentOrder'](_0x29f3cf,_0x22de96){const _0x29fe00=Array['from'](_0x29f3cf['model']['markers']['getMarkersGroup'](_0x598402+':context')),_0x4fc528=_0x22de96?_0x29fe00['filter'](_0x562bb5=>{const _0x82e79b=_0x562bb5['getRange']();return _0x82e79b&&_0x82e79b['root']['rootName']===_0x22de96['rootName'];}):_0x29fe00;return _0x4fc528['sort']((_0x580a45,_0x1a7bb6)=>_0x580a45['getStart']()['isBefore'](_0x1a7bb6['getStart']())?-0x1:_0x580a45['getStart']()['isAfter'](_0x1a7bb6['getStart']())?0x1:0x0);}}const _0x109d62=['showChangeInText','insertSuggestion','applySuggestion','rejectSuggestion','mouseOverSuggestion','mouseLeaveSuggestion','toggleSuggestionDisplayMode','like','dislike'],_0x3ac999=[..._0x109d62,'startConversation','sendUserMessage','abortPromptStream','addDocumentToContext','addFileToContext','addUrlToContext','executeCustomItemCallback','addResourceToContext','removeContextItem','loadSourceResources','toggleWebSearch','toggleReasoning','selectModel'];var _0x5d16e0=0xb,_0x3b2773;function morphAttrs(_0x3a5abd,_0x11b3f0){var _0x41f79b,_0x46ed61,_0x200c92,_0x3e2b7c,_0x1150aa=_0x11b3f0['attributes'];if(_0x11b3f0['nodeType']!==_0x5d16e0&&_0x3a5abd['nodeType']!==_0x5d16e0){for(var _0xc8d97=_0x1150aa['length']-0x1;_0xc8d97>=0x0;_0xc8d97--)_0x46ed61=(_0x41f79b=_0x1150aa[_0xc8d97])['name'],_0x200c92=_0x41f79b['namespaceURI'],_0x3e2b7c=_0x41f79b['value'],_0x200c92?(_0x46ed61=_0x41f79b['localName']||_0x46ed61,_0x3a5abd['getAttributeNS'](_0x200c92,_0x46ed61)!==_0x3e2b7c&&('xmlns'===_0x41f79b['prefix']&&(_0x46ed61=_0x41f79b['name']),_0x3a5abd['setAttributeNS'](_0x200c92,_0x46ed61,_0x3e2b7c))):_0x3a5abd['getAttribute'](_0x46ed61)!==_0x3e2b7c&&_0x3a5abd['setAttribute'](_0x46ed61,_0x3e2b7c);for(var _0x1e30f7=_0x3a5abd['attributes'],_0x4fbd24=_0x1e30f7['length']-0x1;_0x4fbd24>=0x0;_0x4fbd24--)_0x46ed61=(_0x41f79b=_0x1e30f7[_0x4fbd24])['name'],(_0x200c92=_0x41f79b['namespaceURI'])?(_0x46ed61=_0x41f79b['localName']||_0x46ed61,_0x11b3f0['hasAttributeNS'](_0x200c92,_0x46ed61)||_0x3a5abd['removeAttributeNS'](_0x200c92,_0x46ed61)):_0x11b3f0['hasAttribute'](_0x46ed61)||_0x3a5abd['removeAttribute'](_0x46ed61);}}var _0x3db8eb='http://www.w3.org/1999/xhtml',_0xf34863='undefined'==typeof document?void 0x0:document,_0x519181=!!_0xf34863&&'content'in _0xf34863['createElement']('template'),_0x5b27f9=!!_0xf34863&&_0xf34863['createRange']&&'createContextualFragment'in _0xf34863['createRange']();function createFragmentFromTemplate(_0x397b81){var _0x4cf0b3=_0xf34863['createElement']('template');return _0x4cf0b3['innerHTML']=_0x397b81,_0x4cf0b3['content']['childNodes'][0x0];}function createFragmentFromRange(_0x2b74f2){return _0x3b2773||(_0x3b2773=_0xf34863['createRange']())['selectNode'](_0xf34863['body']),_0x3b2773['createContextualFragment'](_0x2b74f2)['childNodes'][0x0];}function createFragmentFromWrap(_0x11639b){var _0x344658=_0xf34863['createElement']('body');return _0x344658['innerHTML']=_0x11639b,_0x344658['childNodes'][0x0];}function toElement(_0x2787b1){return _0x2787b1=_0x2787b1['trim'](),_0x519181?createFragmentFromTemplate(_0x2787b1):_0x5b27f9?createFragmentFromRange(_0x2787b1):createFragmentFromWrap(_0x2787b1);}function _0x54fd65(_0x3fb8c3,_0x79515a){var _0x242d48,_0x13d903,_0x5283df=_0x3fb8c3['nodeName'],_0x470d2c=_0x79515a['nodeName'];return _0x5283df===_0x470d2c||(_0x242d48=_0x5283df['charCodeAt'](0x0),_0x13d903=_0x470d2c['charCodeAt'](0x0),_0x242d48<=0x5a&&_0x13d903>=0x61?_0x5283df===_0x470d2c['toUpperCase']():_0x13d903<=0x5a&&_0x242d48>=0x61&&_0x470d2c===_0x5283df['toUpperCase']());}function createElementNS(_0x15ce54,_0x345729){return _0x345729&&_0x345729!==_0x3db8eb?_0xf34863['createElementNS'](_0x345729,_0x15ce54):_0xf34863['createElement'](_0x15ce54);}function _0x308c73(_0x2242ec,_0x2a5b07){for(var _0x52c2b5=_0x2242ec['firstChild'];_0x52c2b5;){var _0x341211=_0x52c2b5['nextSibling'];_0x2a5b07['appendChild'](_0x52c2b5),_0x52c2b5=_0x341211;}return _0x2a5b07;}function syncBooleanAttrProp(_0x1db292,_0x3156b8,_0x2d4b9b){_0x1db292[_0x2d4b9b]!==_0x3156b8[_0x2d4b9b]&&(_0x1db292[_0x2d4b9b]=_0x3156b8[_0x2d4b9b],_0x1db292[_0x2d4b9b]?_0x1db292['setAttribute'](_0x2d4b9b,''):_0x1db292['removeAttribute'](_0x2d4b9b));}var _0x4c5ffd={'OPTION':function(_0x3b8551,_0x344ea2){var _0x196c2b=_0x3b8551['parentNode'];if(_0x196c2b){var _0x7fe216=_0x196c2b['nodeName']['toUpperCase']();'OPTGROUP'===_0x7fe216&&(_0x7fe216=(_0x196c2b=_0x196c2b['parentNode'])&&_0x196c2b['nodeName']['toUpperCase']()),'SELECT'!==_0x7fe216||_0x196c2b['hasAttribute']('multiple')||(_0x3b8551['hasAttribute']('selected')&&!_0x344ea2['selected']&&(_0x3b8551['setAttribute']('selected','selected'),_0x3b8551['removeAttribute']('selected')),_0x196c2b['selectedIndex']=-0x1);}syncBooleanAttrProp(_0x3b8551,_0x344ea2,'selected');},'INPUT':function(_0x559fe7,_0x70da46){syncBooleanAttrProp(_0x559fe7,_0x70da46,'checked'),syncBooleanAttrProp(_0x559fe7,_0x70da46,'disabled'),_0x559fe7['value']!==_0x70da46['value']&&(_0x559fe7['value']=_0x70da46['value']),_0x70da46['hasAttribute']('value')||_0x559fe7['removeAttribute']('value');},'TEXTAREA':function(_0x497067,_0x5557f8){var _0x3e26d7=_0x5557f8['value'];_0x497067['value']!==_0x3e26d7&&(_0x497067['value']=_0x3e26d7);var _0x4d6d74=_0x497067['firstChild'];if(_0x4d6d74){var _0x5a94dc=_0x4d6d74['nodeValue'];if(_0x5a94dc==_0x3e26d7||!_0x3e26d7&&_0x5a94dc==_0x497067['placeholder'])return;_0x4d6d74['nodeValue']=_0x3e26d7;}},'SELECT':function(_0x3fc40c,_0x2cf54c){if(!_0x2cf54c['hasAttribute']('multiple')){for(var _0xdaf250,_0x4152e0,_0x2793c0=-0x1,_0x4e697a=0x0,_0x27b38e=_0x3fc40c['firstChild'];_0x27b38e;)if('OPTGROUP'===(_0x4152e0=_0x27b38e['nodeName']&&_0x27b38e['nodeName']['toUpperCase']()))(_0x27b38e=(_0xdaf250=_0x27b38e)['firstChild'])||(_0x27b38e=_0xdaf250['nextSibling'],_0xdaf250=null);else{if('OPTION'===_0x4152e0){if(_0x27b38e['hasAttribute']('selected')){_0x2793c0=_0x4e697a;break;}_0x4e697a++;}!(_0x27b38e=_0x27b38e['nextSibling'])&&_0xdaf250&&(_0x27b38e=_0xdaf250['nextSibling'],_0xdaf250=null);}_0x3fc40c['selectedIndex']=_0x2793c0;}}},_0x1372da=0x1,_0x3bbedf=0xb,_0x280ae0=0x3,_0x2714ca=0x8;function _0x30686a(){}function defaultGetNodeKey(_0x13d669){if(_0x13d669)return _0x13d669['getAttribute']&&_0x13d669['getAttribute']('id')||_0x13d669['id'];}function morphdomFactory(_0x196413){return function(_0x3e879d,_0x132c74,_0x2b84a6){if(_0x2b84a6||(_0x2b84a6={}),'string'==typeof _0x132c74){if('#document'===_0x3e879d['nodeName']||'HTML'===_0x3e879d['nodeName']||'BODY'===_0x3e879d['nodeName']){var _0x1fa419=_0x132c74;(_0x132c74=_0xf34863['createElement']('html'))['innerHTML']=_0x1fa419;}else _0x132c74=toElement(_0x132c74);}else _0x132c74['nodeType']===_0x3bbedf&&(_0x132c74=_0x132c74['firstElementChild']);var _0x425b6f=_0x2b84a6['getNodeKey']||defaultGetNodeKey,_0x18dbbb=_0x2b84a6['onBeforeNodeAdded']||_0x30686a,_0x50c40d=_0x2b84a6['onNodeAdded']||_0x30686a,_0x211132=_0x2b84a6['onBeforeElUpdated']||_0x30686a,_0x31c5b2=_0x2b84a6['onElUpdated']||_0x30686a,_0x574fbe=_0x2b84a6['onBeforeNodeDiscarded']||_0x30686a,_0x4bf626=_0x2b84a6['onNodeDiscarded']||_0x30686a,_0x121717=_0x2b84a6['onBeforeElChildrenUpdated']||_0x30686a,_0x24a7c5=_0x2b84a6['skipFromChildren']||_0x30686a,_0x343c0d=_0x2b84a6['addChild']||function(_0x21102e,_0x5a3540){return _0x21102e['appendChild'](_0x5a3540);},_0x48af52=!0x0===_0x2b84a6['childrenOnly'],_0x54945d=Object['create'](null),_0x5a88a3=[];function _0x128a19(_0x2fa4bc){_0x5a88a3['push'](_0x2fa4bc);}function _0x3cecdf(_0x124ec6,_0x5081fb){if(_0x124ec6['nodeType']===_0x1372da)for(var _0x3f6436=_0x124ec6['firstChild'];_0x3f6436;){var _0x332dcb=void 0x0;_0x5081fb&&(_0x332dcb=_0x425b6f(_0x3f6436))?_0x128a19(_0x332dcb):(_0x4bf626(_0x3f6436),_0x3f6436['firstChild']&&_0x3cecdf(_0x3f6436,_0x5081fb)),_0x3f6436=_0x3f6436['nextSibling'];}}function _0x3436a0(_0x1ae727,_0x34334f,_0x5a66c5){!0x1!==_0x574fbe(_0x1ae727)&&(_0x34334f&&_0x34334f['removeChild'](_0x1ae727),_0x4bf626(_0x1ae727),_0x3cecdf(_0x1ae727,_0x5a66c5));}function _0x383c9e(_0x549f77){if(_0x549f77['nodeType']===_0x1372da||_0x549f77['nodeType']===_0x3bbedf)for(var _0x472bc1=_0x549f77['firstChild'];_0x472bc1;){var _0x43a5f5=_0x425b6f(_0x472bc1);_0x43a5f5&&(_0x54945d[_0x43a5f5]=_0x472bc1),_0x383c9e(_0x472bc1),_0x472bc1=_0x472bc1['nextSibling'];}}function _0x44636c(_0x3680a5){_0x50c40d(_0x3680a5);for(var _0x1cee04=_0x3680a5['firstChild'];_0x1cee04;){var _0x58e8ed=_0x1cee04['nextSibling'],_0x2e835f=_0x425b6f(_0x1cee04);if(_0x2e835f){var _0x31b8ab=_0x54945d[_0x2e835f];_0x31b8ab&&_0x54fd65(_0x1cee04,_0x31b8ab)?(_0x1cee04['parentNode']['replaceChild'](_0x31b8ab,_0x1cee04),_0x33058a(_0x31b8ab,_0x1cee04)):_0x44636c(_0x1cee04);}else _0x44636c(_0x1cee04);_0x1cee04=_0x58e8ed;}}function _0x33058a(_0x2267b6,_0x4b1dae,_0x22145f){var _0x376b38=_0x425b6f(_0x4b1dae);if(_0x376b38&&delete _0x54945d[_0x376b38],!_0x22145f){var _0x308de7=_0x211132(_0x2267b6,_0x4b1dae);if(!0x1===_0x308de7)return;if(_0x308de7 instanceof HTMLElement&&_0x383c9e(_0x2267b6=_0x308de7),_0x196413(_0x2267b6,_0x4b1dae),_0x31c5b2(_0x2267b6),!0x1===_0x121717(_0x2267b6,_0x4b1dae))return;}'TEXTAREA'!==_0x2267b6['nodeName']?function(_0x3e5e1c,_0x241421){var _0x1edc55,_0x238a2c,_0x4c445b,_0x373e60,_0x292700,_0x1f01f2=_0x24a7c5(_0x3e5e1c,_0x241421),_0x2091e9=_0x241421['firstChild'],_0x3ac42b=_0x3e5e1c['firstChild'];t:for(;_0x2091e9;){for(_0x373e60=_0x2091e9['nextSibling'],_0x1edc55=_0x425b6f(_0x2091e9);!_0x1f01f2&&_0x3ac42b;){if(_0x4c445b=_0x3ac42b['nextSibling'],_0x2091e9['isSameNode']&&_0x2091e9['isSameNode'](_0x3ac42b)){_0x2091e9=_0x373e60,_0x3ac42b=_0x4c445b;continue t;}_0x238a2c=_0x425b6f(_0x3ac42b);var _0x3d9522=_0x3ac42b['nodeType'],_0x3cb411=void 0x0;if(_0x3d9522===_0x2091e9['nodeType']&&(_0x3d9522===_0x1372da?(_0x1edc55?_0x1edc55!==_0x238a2c&&((_0x292700=_0x54945d[_0x1edc55])?_0x4c445b===_0x292700?_0x3cb411=!0x1:(_0x3e5e1c['insertBefore'](_0x292700,_0x3ac42b),_0x238a2c?_0x128a19(_0x238a2c):_0x3436a0(_0x3ac42b,_0x3e5e1c,!0x0),_0x238a2c=_0x425b6f(_0x3ac42b=_0x292700)):_0x3cb411=!0x1):_0x238a2c&&(_0x3cb411=!0x1),(_0x3cb411=!0x1!==_0x3cb411&&_0x54fd65(_0x3ac42b,_0x2091e9))&&_0x33058a(_0x3ac42b,_0x2091e9)):_0x3d9522!==_0x280ae0&&_0x3d9522!=_0x2714ca||(_0x3cb411=!0x0,_0x3ac42b['nodeValue']!==_0x2091e9['nodeValue']&&(_0x3ac42b['nodeValue']=_0x2091e9['nodeValue']))),_0x3cb411){_0x2091e9=_0x373e60,_0x3ac42b=_0x4c445b;continue t;}_0x238a2c?_0x128a19(_0x238a2c):_0x3436a0(_0x3ac42b,_0x3e5e1c,!0x0),_0x3ac42b=_0x4c445b;}if(_0x1edc55&&(_0x292700=_0x54945d[_0x1edc55])&&_0x54fd65(_0x292700,_0x2091e9))_0x1f01f2||_0x343c0d(_0x3e5e1c,_0x292700),_0x33058a(_0x292700,_0x2091e9);else{var _0xe0e67f=_0x18dbbb(_0x2091e9);!0x1!==_0xe0e67f&&(_0xe0e67f&&(_0x2091e9=_0xe0e67f),_0x2091e9['actualize']&&(_0x2091e9=_0x2091e9['actualize'](_0x3e5e1c['ownerDocument']||_0xf34863)),_0x343c0d(_0x3e5e1c,_0x2091e9),_0x44636c(_0x2091e9));}_0x2091e9=_0x373e60,_0x3ac42b=_0x4c445b;}!function(_0x2b6e6b,_0x3aaa97,_0x4a6b30){for(;_0x3aaa97;){var _0x39fd40=_0x3aaa97['nextSibling'];(_0x4a6b30=_0x425b6f(_0x3aaa97))?_0x128a19(_0x4a6b30):_0x3436a0(_0x3aaa97,_0x2b6e6b,!0x0),_0x3aaa97=_0x39fd40;}}(_0x3e5e1c,_0x3ac42b,_0x238a2c);var _0x3a1ac4=_0x4c5ffd[_0x3e5e1c['nodeName']];_0x3a1ac4&&_0x3a1ac4(_0x3e5e1c,_0x241421);}(_0x2267b6,_0x4b1dae):_0x4c5ffd['TEXTAREA'](_0x2267b6,_0x4b1dae);}_0x383c9e(_0x3e879d);var _0x3ae0d4=_0x3e879d,_0xe5688e=_0x3ae0d4['nodeType'],_0x54b7ed=_0x132c74['nodeType'];if(!_0x48af52){if(_0xe5688e===_0x1372da)_0x54b7ed===_0x1372da?_0x54fd65(_0x3e879d,_0x132c74)||(_0x4bf626(_0x3e879d),_0x3ae0d4=_0x308c73(_0x3e879d,createElementNS(_0x132c74['nodeName'],_0x132c74['namespaceURI']))):_0x3ae0d4=_0x132c74;else{if(_0xe5688e===_0x280ae0||_0xe5688e===_0x2714ca){if(_0x54b7ed===_0xe5688e)return _0x3ae0d4['nodeValue']!==_0x132c74['nodeValue']&&(_0x3ae0d4['nodeValue']=_0x132c74['nodeValue']),_0x3ae0d4;_0x3ae0d4=_0x132c74;}}}if(_0x3ae0d4===_0x132c74)_0x4bf626(_0x3e879d);else{if(_0x132c74['isSameNode']&&_0x132c74['isSameNode'](_0x3ae0d4))return;if(_0x33058a(_0x3ae0d4,_0x132c74,_0x48af52),_0x5a88a3)for(var _0x44398e=0x0,_0x19c7ed=_0x5a88a3['length'];_0x44398e<_0x19c7ed;_0x44398e++){var _0x306310=_0x54945d[_0x5a88a3[_0x44398e]];_0x306310&&_0x3436a0(_0x306310,_0x306310['parentNode'],!0x1);}}return!_0x48af52&&_0x3ae0d4!==_0x3e879d&&_0x3e879d['parentNode']&&(_0x3ae0d4['actualize']&&(_0x3ae0d4=_0x3ae0d4['actualize'](_0x3e879d['ownerDocument']||_0xf34863)),_0x3e879d['parentNode']['replaceChild'](_0x3ae0d4,_0x3e879d)),_0x3ae0d4;};}var _0x504337=morphdomFactory(morphAttrs);function createAbortableTimeout(_0x4a7eea){const _0x371e4b=new AbortController();return{'promise':new Promise((_0x549b01,_0x5f2f4e)=>{const _0xb2ef58=setTimeout(_0x549b01,_0x4a7eea);_0x371e4b['signal']['addEventListener']('abort',()=>{clearTimeout(_0xb2ef58),_0x5f2f4e();});}),'abortController':_0x371e4b};}const _0xa1be58='animation:\x20ck-html-streamer-fade-in\x20.3s',_0x384adc=0xa;class HTMLStreamer{['options'];['isStreaming']=!0x1;['document']=null;['nodesList']=[];['currentIndex']=0x0;['timeoutAbortController']=null;['lastUpdateTime']=0x0;constructor(_0x55f4c6){this['options']={'delay':_0x55f4c6?.['delay']??_0x384adc,'textNodeStyle':_0x55f4c6?.['textNodeStyle']??_0xa1be58};}async['stream']({document:_0x47d0cc,targetElement:_0x3d1681,abortSignal:_0x1a319e}){this['isStreaming']&&this['stop'](),_0x1a319e?.['addEventListener']('abort',this['stop']['bind'](this)),this['document']=_0x3fab74(_0x47d0cc,!0x0),this['nodesList']=this['getParsedDocumentNodeList'](),this['isStreaming']=!0x0,this['currentIndex']>this['nodesList']['length']&&(this['currentIndex']=this['nodesList']['length']);for(let _0x414356=0x0;_0x414356<this['currentIndex'];_0x414356++)this['nodesList'][_0x414356]['shouldBeStreamed']=!0x0;do{const _0x31120c=Date['now'](),_0x40226b=this['nodesList'][this['currentIndex']],_0x36d394=_0x31120c-this['lastUpdateTime'];if(_0x40226b){_0x40226b['shouldBeStreamed']=!0x0;let _0x1de3b8=_0x40226b['parent'];for(;_0x1de3b8;)_0x1de3b8['shouldBeStreamed']=!0x0,_0x1de3b8=_0x1de3b8['parent'];}if(_0x36d394<this['options']['delay'])try{const {promise:_0x2d19b7,abortController:_0x647e9d}=createAbortableTimeout(this['options']['delay']-_0x36d394);this['timeoutAbortController']=_0x647e9d,await _0x2d19b7;}catch(_0x3b5fd5){return;}_0x504337(_0x3d1681,'<'+_0x3d1681['tagName']+'>'+this['renderNode'](this['document'])+'</'+_0x3d1681['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:_0x3390ce}){Array['from'](_0x3390ce['querySelectorAll']('span[data-ck-html-streamer-word-chunk]'))['reverse']()['forEach'](_0x12e804=>{_0x12e804['replaceWith'](_0x12e804['childNodes'][0x0]);});}['stop'](){this['isStreaming']=!0x1,this['timeoutAbortController']&&(this['timeoutAbortController']['abort'](),this['timeoutAbortController']=null);}['renderNode'](_0x3d8e66){let _0x5867d3='';if(isParsedDocumentNode(_0x3d8e66)){for(const _0x3db5a8 of _0x3d8e66['children'])_0x5867d3+=this['renderNode'](_0x3db5a8);}else{if(isParsedElementNode(_0x3d8e66)){if(!_0x3d8e66['shouldBeStreamed'])return'';const _0xbec13b=_0x3d8e66,_0x47522b=Object['entries'](_0xbec13b['attribs'])['map'](([_0x5d453f,_0x653c49])=>_0x5d453f+'=\x22'+_0x653c49+'\x22')['join']('\x20');_0x5867d3+='<'+_0xbec13b['tagName']+(_0x47522b?'\x20'+_0x47522b:'')+'>';for(const _0x5eb9c3 of getChildren$1(_0xbec13b))_0x5867d3+=this['renderNode'](_0x5eb9c3);_0x5867d3+='</'+_0xbec13b['tagName']+'>';}else{if(!isParsedTextNode(_0x3d8e66))return'';if(!_0x3d8e66['shouldBeStreamed'])return'';_0x145ba2(_0x3d8e66)?_0x5867d3+=_0x3c72ec(new Element$3('span',{'data-ck-html-streamer-word-chunk':'','style':this['options']['textNodeStyle']},[_0x3d8e66])):_0x5867d3+=_0x3c72ec(_0x3d8e66);}}return _0x5867d3;}['getParsedDocumentNodeList'](){const _0x399b67=[];return traverseParsedDocument(this['document'],_0x46848c=>{if(isParsedTextNode(_0x46848c)){const _0x28e9c2=this['splitTextNodeIntoWordNodes'](_0x46848c);_0x28e9c2['length']&&_0x399b67['push'](..._0x28e9c2);}_0x46848c['isWordSplitSource']||_0x46848c['isWordSplitResult']||_0x399b67['push'](_0x46848c);}),_0x399b67;}['splitTextNodeIntoWordNodes'](_0x2822e9){if(_0x2822e9['isWordSplitSource']||_0x2822e9['isWordSplitResult'])return[];const _0x4f2c7f=textContent(_0x2822e9)['match'](/(?:\s*\S+\s*)/g),_0x51d368=[];if(_0x4f2c7f&&_0x4f2c7f['length']>0x1){for(const _0x2db099 of _0x4f2c7f){const _0x11de4c=new Text$2(_0x2db099);_0x11de4c['isWordSplitResult']=!0x0,_0x8fa0df(_0x2822e9,_0x11de4c),_0x51d368['push'](_0x11de4c);}_0x2822e9['isWordSplitSource']=!0x0,removeElement(_0x2822e9);}return _0x51d368;}}const _0x38f5c7=['p','li','td','th','span','h1','h2','h3','h4','h5','h6','b','strong','i','em','mark','del','ins','sup','sub','a','code','div'];function traverseParsedDocument(_0x485848,_0x10272a){const _0x1be76d=_0x3d73f5=>{if(_0x10272a(_0x3d73f5),_0x3d73f5 instanceof NodeWithChildren)for(let _0x365a84=0x0;_0x365a84<_0x3d73f5['children']['length'];_0x365a84++){const _0x57820=_0x3d73f5['children'][_0x365a84];_0x1be76d(_0x57820);}};for(let _0x2749f0=0x0;_0x2749f0<_0x485848['children']['length'];_0x2749f0++)_0x1be76d(_0x485848['children'][_0x2749f0]);}function _0x145ba2(_0x38646b){return!(!_0x38646b['parent']||!isParsedElementNode(_0x38646b['parent']))&&(!!_0x38f5c7['includes'](_0x38646b['parent']['tagName'])&&!textContent(_0x38646b)['match'](/^\s*[<>]\s*$/));}function isParsedTextNode(_0x5ec84e){return isText$1(_0x5ec84e);}function isParsedElementNode(_0x3fe942){return _0x2b41d4(_0x3fe942);}function isParsedDocumentNode(_0x30bba1){return isDocument(_0x30bba1);}class AIChatFeedItemView extends ckeditor5['View']{['options'];['content']='';['htmlStreamer'];['children'];constructor(_0x307f3b){super();const _0x325c3e=this['bindTemplate'];this['set']('isDone',!0x1),this['set']('isVisible',!0x0),this['htmlStreamer']=new HTMLStreamer(),this['options']=_0x307f3b,this['children']=this['createCollection'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__item',_0x325c3e['if']('isDone','ck-ai-chat__feed__item_done'),_0x325c3e['if']('isVisible','ck-hidden',_0x4aab1c=>!_0x4aab1c),'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'](_0x418231=>{_0x418231['removeAttribute']('data-id');}),this['isDone']=!0x0;}async['streamIntoElement'](_0x1e0305,_0x17254c,_0x1986c9){await this['htmlStreamer']['stream']({'document':_0x1e0305,'targetElement':_0x17254c,'abortSignal':_0x1986c9});}}class AISuggestionHeaderView extends ckeditor5['View']{['showChangesToggleView'];constructor(_0x37a335,_0x1506ea){super(_0x37a335),this['set']('isShowChangesToggleVisible',!0x0),this['showChangesToggleView']=new _0x4f56ae(_0x37a335),this['showChangesToggleView']['set']({'class':'ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button\x20'+_0x1f417a['TERTIARY'],'label':getTranslation$i(_0x37a335,'AI_SUGGESTION_BUTTON_SHOW_CHANGES'),'withText':!0x0}),this['showChangesToggleView']['isOn']=_0x1506ea['showDiff'],this['showChangesToggleView']['bind']('isVisible')['to'](this,'isShowChangesToggleVisible'),this['showChangesToggleView']['bind']('icon')['to'](this['showChangesToggleView'],'isOn',_0x34d62b=>_0x34d62b?ckeditor5['IconShowChangesOn']:ckeditor5['IconShowChangesOff']),this['showChangesToggleView']['on']('execute',()=>{this['showChangesToggleView']['isOn']=!this['showChangesToggleView']['isOn'],this['fire']('toggleShowChanges',{'isOn':this['showChangesToggleView']['isOn']});});const _0x44e912=new ckeditor5['IconView']();_0x44e912['content']=ckeditor5['IconDocument'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__header',!0x1===_0x1506ea['showHeader']?'ck-hidden':null]['filter'](Boolean)},'children':[_0x44e912,{'tag':'span','children':[getTranslation$i(_0x37a335,'AI_SUGGESTION_HEADER_TITLE')]},this['showChangesToggleView']]});}}class _0x4f56ae extends ckeditor5['ButtonView']{['render'](){super['render'](),this['children']['remove'](this['iconView']),this['children']['add'](this['iconView']);}}const _0x370209={'accepted':ckeditor5['IconBoxWithCheck'],'rejected':ckeditor5['IconBoxWithCross'],'outdated':ckeditor5['IconBoxWithCross']};class AISuggestionContentPartStateView extends ckeditor5['View']{['stateIconView'];constructor(_0x5e8ea1){super(_0x5e8ea1);const _0x18ee1a=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',_0x18ee1a['to']('state',_0x41fa2a=>'ck-ai-suggestion__content-part-state_'+_0x41fa2a),_0x18ee1a['if']('isVisible','ck-hidden',_0x538cba=>!_0x538cba)]},'children':[{'tag':'span','attributes':{'class':['ck-ai-suggestion__content-part-state__label']},'children':[{'text':_0x18ee1a['to']('state',_0x504639=>{switch(_0x504639){case'accepted':return getTranslation$i(_0x5e8ea1,'AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED');case'rejected':return getTranslation$i(_0x5e8ea1,'AI_SUGGESTION_CONTENT_PART_STATE_REJECTED');case'outdated':return getTranslation$i(_0x5e8ea1,'AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED');}})}]},this['stateIconView']]});}['setState'](_0x3bc20c){this['state']=_0x3bc20c;}}class StateIconView extends ckeditor5['IconView']{constructor(){super(),this['set']('state','accepted'),this['content']=_0x370209[this['state']],this['on']('change:state',()=>{this['content']=_0x370209[this['state']];});}}class AISuggestionContentPartToolbarView extends ckeditor5['ToolbarView']{['_applyButton'];['_suggestButton'];constructor(_0x3cda1f,_0x5905da,_0xae30ee){super(_0x3cda1f);const _0x1ff620=Boolean(_0xae30ee);this['set']('isEnabled',!_0x1ff620),this['set']('isVisible',!0x0),this['class']='ck-ai-suggestion-content-part-toolbar';const _0x3602b5=[];if(_0x1ff620){const _0x2e68e6=new ckeditor5['ButtonView'](_0x3cda1f);_0x2e68e6['set']({'label':getTranslation$i(_0x3cda1f,'AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE'),'tooltip':!0x0,'withText':!0x1,'icon':ckeditor5['IconInfo']}),_0x2e68e6['extendTemplate']({'attributes':{'data-cke-tooltip-class':'ck-ai-suggestion-content-part-disabled-actions-tooltip'}}),_0x3602b5['push'](_0x2e68e6);}else{_0x5905da['includes']('applySuggestion')&&(this['_applyButton']=new ckeditor5['ButtonView'](_0x3cda1f),this['_applyButton']['set']({'label':getTranslation$i(_0x3cda1f,'AI_SUGGESTION_CONTENT_PART_APPLY'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':ckeditor5['IconBoxWithCheck']}),this['_applyButton']['bind']('isEnabled')['to'](this),this['_applyButton']['on']('execute',()=>{this['fire']('applySuggestion');}),_0x3602b5['push'](this['_applyButton'])),_0x5905da['includes']('insertSuggestion')&&(this['_suggestButton']=new ckeditor5['ButtonView'](_0x3cda1f),this['_suggestButton']['set']({'label':getTranslation$i(_0x3cda1f,'AI_SUGGESTION_CONTENT_PART_ADD_SUGGESTION'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':ckeditor5['IconBoxWithMarker']}),this['_suggestButton']['bind']('isEnabled')['to'](this),this['_suggestButton']['on']('execute',()=>{this['fire']('insertSuggestion');}),_0x3602b5['push'](this['_suggestButton']));const _0x53829e=new ckeditor5['ButtonView'](_0x3cda1f);_0x53829e['set']({'label':getTranslation$i(_0x3cda1f,'AI_SUGGESTION_CONTENT_PART_REJECT'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':ckeditor5['IconBoxWithCross']}),_0x53829e['bind']('isEnabled')['to'](this),_0x53829e['on']('execute',()=>{this['fire']('rejectSuggestion');}),_0x3602b5['push'](_0x53829e);}this['items']['addMany'](_0x3602b5);const _0x4ca9a7=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':[_0x4ca9a7['if']('isVisible','ck-hidden',_0x972fbc=>!_0x972fbc)]}});}['setButtonsVisibility']({showApplyButton:_0x105628,showSuggestButton:_0x57cebd}){this['_applyButton']&&(this['_applyButton']['isVisible']=_0x105628),this['_suggestButton']&&(this['_suggestButton']['isVisible']=_0x57cebd);}}class AISuggestionContentPartHeaderView extends ckeditor5['View']{['toolbarView'];['stateView'];['titleLabelView'];['children'];constructor(_0x5b6d5e,{part:_0x877b9c,uiIndex:_0xa9ed44,availableActions:_0x20bd01,areActionsDisabled:_0x5de059}){super(_0x5b6d5e),this['set']('isEnabled',!0x0),this['set']('state','pending'),this['toolbarView']=new AISuggestionContentPartToolbarView(_0x5b6d5e,_0x20bd01,_0x5de059),this['toolbarView']['on']('rejectSuggestion',()=>{this['fire']('rejectSuggestion',{'index':_0x877b9c['index']});}),this['toolbarView']['on']('insertSuggestion',()=>{this['fire']('insertSuggestion',{'index':_0x877b9c['index']});}),this['toolbarView']['on']('applySuggestion',()=>{this['fire']('applySuggestion',{'index':_0x877b9c['index']});}),this['toolbarView']['bind']('isEnabled')['to'](this),this['stateView']=new AISuggestionContentPartStateView(_0x5b6d5e),this['titleLabelView']=new AISuggestionBodyContentPartTitleLabelView(_0x5b6d5e,_0xa9ed44),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',(_0x1aa14d,_0x5cf739,_0x4c5fbd,_0x330c9d)=>{'pending'===_0x330c9d?this['children']['remove'](this['toolbarView']):this['children']['remove'](this['stateView']),'pending'===_0x4c5fbd?this['children']['add'](this['toolbarView']):(this['stateView']['setState'](_0x4c5fbd),this['children']['add'](this['stateView']));});}}class AISuggestionBodyContentPartTitleLabelView extends ckeditor5['View']{constructor(_0xc0e795,_0x2e2fbd){super(_0xc0e795),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__body__content-part__title__label']},'children':[getTranslation$i(_0xc0e795,'AI_SUGGESTION_CONTENT_PART_TITLE',_0x2e2fbd['toString']())]});}}class AISuggestionStreamableContentView extends ckeditor5['View']{['htmlStreamer'];constructor(_0x474400){super(_0x474400),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:_0x485bf2,renderingStrategy:_0x5d0fc7,abortSignal:_0x1a2525}){'streaming'===_0x5d0fc7?await this['htmlStreamer']['stream']({'document':_0x485bf2['content'],'targetElement':this['element'],'abortSignal':_0x1a2525}):_0x504337(this['element'],'<'+this['element']['tagName']+'>'+_0x332c25(_0x485bf2['content'])+'</'+this['element']['tagName']+'>',{'childrenOnly':!0x0});}['clear'](){this['htmlStreamer']['reset'](),this['element']['innerHTML']='';}}class AISuggestionBodyViewContentPartView extends ckeditor5['View']{['_children'];['_headerView'];['_streamableContentView'];constructor(_0x17352f,{part:_0x232a20,uiIndex:_0x4ac381,areActionsDisabled:_0x145c1a,availableActions:_0x5c2b7d}){super(_0x17352f);const _0x5df1e7=this['bindTemplate'];this['set']('state','pending'),this['set']('isDone',!0x1),this['set']('isVisible',!0x1),this['set']('isActive',!0x1),this['set']('isEnabled',!0x1);const _0x48b63d=()=>{this['isEnabled']=this['isDone']&&'pending'==this['state']&&!_0x145c1a;};this['on']('change:state',_0x48b63d),this['on']('change:isDone',_0x48b63d),_0x48b63d(),this['_children']=this['createCollection'](),this['_headerView']=new AISuggestionContentPartHeaderView(_0x17352f,{'part':_0x232a20,'uiIndex':_0x4ac381,'availableActions':_0x5c2b7d,'areActionsDisabled':_0x145c1a}),this['_headerView']['bind']('isEnabled','state')['to'](this),this['_headerView']['delegate'](..._0x109d62)['to'](this),this['_streamableContentView']=new AISuggestionStreamableContentView(_0x17352f),this['_children']['addMany']([this['_headerView'],this['_streamableContentView']]),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__body__content-part',_0x5df1e7['to']('state',_0x1324de=>'ck-ai-suggestion__body__content-part_'+_0x1324de),_0x5df1e7['if']('isEnabled','ck-ai-suggestion__body__content-part_enabled'),_0x5df1e7['if']('isActive','ck-ai-suggestion__body__content-part_active'),_0x5df1e7['if']('isVisible','ck-hidden',_0x2b36d5=>!_0x2b36d5)]},'children':this['_children'],'on':{'mouseenter':_0x5df1e7['to'](()=>{this['isEnabled']&&this['fire']('mouseOverSuggestion',{'index':_0x232a20['index']});}),'mouseleave':_0x5df1e7['to'](()=>{this['isEnabled']&&this['fire']('mouseLeaveSuggestion',{'index':_0x232a20['index']});}),'click':_0x5df1e7['to'](_0x4bdeb6=>{const _0x4b59a6=_0x4bdeb6['target'];this['isEnabled']&&!this['_headerView']['toolbarView']['element']['contains'](_0x4b59a6)&&this['fire']('showChangeInText',{'index':_0x232a20['index']});})}});}async['updateContent']({part:_0x5c3ed1,showUnchangedParts:_0x34c22b=!0x1,abortSignal:_0x2599fc}){this['partDefinition']=_0x5c3ed1,this['isVisible']=this['partDefinition']['hasChanges']||_0x34c22b,this['isVisible']&&await this['_streamableContentView']['update']({'part':_0x5c3ed1,'renderingStrategy':'static','abortSignal':_0x2599fc});}['markAsDone'](){this['isDone']=!0x0;}}class AISkeletonView extends ckeditor5['View']{constructor(_0x50e38c,_0x401b21){super(_0x50e38c),this['set']('isVisible',!0x0),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-skeleton',this['bindTemplate']['if']('isVisible','ck-hidden',_0x27fa13=>!_0x27fa13)]},'children':this['_createSkeletonItems'](_0x401b21)});}['_createSkeletonItems'](_0x2d9d96){const _0x3c49d3=['ck','ck-ai-skeleton__item'];return _0x2d9d96['map'](_0x2a871f=>{let _0x1ea5eb='';switch(_0x2a871f['attributes']['align']){case'right':_0x1ea5eb='margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;';break;case'center':_0x1ea5eb='margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;';break;case'left':_0x1ea5eb='margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;';}return{'tag':_0x2a871f['tag'],'attributes':{'class':[..._0x3c49d3,_0x2a871f['attributes']['class']?_0x2a871f['attributes']['class']:''],'style':'width:\x20'+_0x2a871f['attributes']['width']+';\x20height:\x20'+_0x2a871f['attributes']['height']+';'+_0x1ea5eb}};});}}const _0x3fff2d={'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':generateSkeletonDefinitions(0x5,'100%','44px','right'),'aiChatResources':generateSkeletonDefinitions(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 generateSkeletonDefinitions(_0x2856dd,_0x4547df,_0x234665,_0x2be62b){return new Array(_0x2856dd)['fill'](null)['map'](()=>({'tag':'div','attributes':{'width':_0x4547df,'height':_0x234665,'align':_0x2be62b}}));}class _0x371879 extends ckeditor5['EmitterMixin'](){['queue']=[];['isProcessing']=!0x1;['_abortController'];async['enqueue'](_0x492758){const _0x1fa112=this['createTask'](_0x492758);return this['queue']['push'](_0x1fa112),this['_processQueue'](),_0x1fa112['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(_0x511729=>{this['once']('_queueEmpty',()=>{_0x511729();});}):Promise['resolve']();}async['_processQueue'](){if(!this['isProcessing']){this['_abortController']=new AbortController(),this['isProcessing']=!0x0;try{for(;this['queue']['length']&&this['isProcessing'];){const _0x34dff2=this['queue']['shift']();try{await _0x34dff2['callback'](this['_abortController']['signal']),_0x34dff2['resolve']();}catch(_0x7e1572){_0x34dff2['reject'](_0x7e1572);}}}finally{this['isProcessing']=!0x1,this['_abortController']=void 0x0;}this['fire']('_queueEmpty');}}['createTask'](_0x214355){let _0xe62e2,_0x5a9a57;const _0x4d9637=new Promise((_0x4881ea,_0x97f8b6)=>{_0xe62e2=_0x4881ea,_0x5a9a57=_0x97f8b6;});return{'callback':_0x214355,'resolve':_0xe62e2,'reject':_0x5a9a57,'completePromise':_0x4d9637};}}class AIChatFeedErrorItemView extends AIChatFeedItemView{constructor(_0x44f45b){super(_0x44f45b),this['extendTemplate']({'attributes':{'class':['ck-ai-notification','warning'===_0x44f45b['level']?'ck-ai-notification_warning':'ck-ai-notification_error']}});}['render'](){super['render'](),this['setContent'](this['options']['initialContent']),this['markAsDone']();}['setContent'](_0x4dff5e){this['element']['innerHTML']=_0x4dff5e;}}const _0x148813=['applySuggestion','insertSuggestion'];class AIChatFeedSuggestionItemActionsView extends ckeditor5['View']{['_applyChangesButton'];['_insertSuggestionsButton'];['children'];constructor(_0x32322b,_0x4ce9b3=[..._0x148813],_0xa789b2){super(_0x32322b);const _0x33fa0f=this['bindTemplate'],_0x524410=Boolean(_0xa789b2);if(this['set']('isEnabled',!_0x524410),this['set']('isVisible',!0x1),this['set']('isTrackChangesOn',!0x1),this['children']=this['createCollection'](),_0x524410){const _0x5e3822=new ckeditor5['ButtonView'](_0x32322b);_0x5e3822['set']({'label':getTranslation$i(_0x32322b,'AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE'),'tooltip':!0x0,'withText':!0x1,'icon':ckeditor5['IconInfo']}),_0x5e3822['extendTemplate']({'attributes':{'data-cke-tooltip-class':'ck-ai-suggestion-content-part-disabled-actions-tooltip'}});const _0x1d44fa=new ckeditor5['View'](_0x32322b);_0x1d44fa['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-chat__feed__suggestion__actions__info'},'children':[{'tag':'p','children':[getTranslation$i(_0x32322b,'AI_SUGGESTION_DISABLED_FEED_MESSAGE'),_0x5e3822]}]}),this['children']['add'](_0x1d44fa);}else this['_applyChangesButton']=new ckeditor5['ButtonView'](_0x32322b),this['_applyChangesButton']['set']({'label':getTranslation$i(_0x32322b,'AI_CHAT_SUGGESTION_ACTION_APPLY_ALL'),'withText':!0x0,'type':'button','isVisible':_0x4ce9b3['includes']('applySuggestion'),'class':_0x1f417a['PRIMARY']}),this['_insertSuggestionsButton']=new ckeditor5['ButtonView'](_0x32322b),this['_insertSuggestionsButton']['set']({'label':getTranslation$i(_0x32322b,'AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL'),'withText':!0x0,'type':'button','isVisible':_0x4ce9b3['includes']('insertSuggestion'),'class':_0x1f417a['SECONDARY']}),this['_insertSuggestionsButton']['on']('execute',()=>{this['fire']('insertSuggestion');}),this['_applyChangesButton']['on']('execute',()=>{this['fire']('applySuggestion');}),[this['_applyChangesButton'],this['_insertSuggestionsButton']]['forEach'](_0xd27bc6=>{_0xd27bc6['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',_0x33fa0f['if']('isVisible','ck-hidden',_0x462f62=>!_0x462f62)]},'children':this['children']}),this['on']('change:isTrackChangesOn',()=>{this['_applyChangesButton']&&(this['_applyChangesButton']['isVisible']=!this['isTrackChangesOn']);});}['updateVisibility'](_0x12737d){this['isVisible']=_0x12737d;}['_switchButtonLabelsPlurality'](_0x2ad24d){this['_applyChangesButton']&&this['_insertSuggestionsButton']&&(_0x2ad24d?(this['_applyChangesButton']['label']=getTranslation$i(this['locale'],'AI_CHAT_SUGGESTION_ACTION_APPLY_ALL'),this['_insertSuggestionsButton']['label']=getTranslation$i(this['locale'],'AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL')):(this['_applyChangesButton']['label']=getTranslation$i(this['locale'],'AI_CHAT_SUGGESTION_ACTION_APPLY'),this['_insertSuggestionsButton']['label']=getTranslation$i(this['locale'],'AI_CHAT_SUGGESTION_ACTION_SUGGEST')));}}const _0x12fa45=0x190;class _0x4fd392 extends ckeditor5['View']{['children'];['balloonPanelView'];['bodyCollection'];constructor(_0xde2b20,_0x4eab1e){super(_0xde2b20),this['bodyCollection']=_0x4eab1e,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',_0x238149=>!_0x238149)]},'children':this['children']});const _0x2e8b80=new ckeditor5['View'](this['locale']),_0x22e894=new ckeditor5['IconView']();_0x22e894['content']=ckeditor5['IconWeb'],_0x2e8b80['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-web-sources__header']},'children':[_0x22e894,{'tag':'span','children':[{'text':getTranslation$i(this['locale'],'AI_CHAT_SOURCES_HEADER')}]}]}),this['children']['add'](_0x2e8b80),this['_setupBalloonPanel'](_0xde2b20);}['addSource'](_0x921524){this['children']['add'](new _0x5e7649(this['locale'],_0x921524,this['balloonPanelView']));}['_setupBalloonPanel'](_0x5916e3){this['balloonPanelView']=new ckeditor5['BalloonPanelView'](_0x5916e3),this['balloonPanelView']['extendTemplate']({'attributes':{'class':['ck-ai-web-source__tooltip-balloon']}}),this['bodyCollection']['add'](this['balloonPanelView']);}}class _0x5e7649 extends ckeditor5['ButtonView']{['balloonPanelView'];['source'];constructor(_0x2f5d97,_0xf6f041,_0x4d4f94){super(_0x2f5d97),this['source']=_0xf6f041,this['balloonPanelView']=_0x4d4f94,this['set']({'label':_0xf6f041['title'],'class':['ck\x20ck-ai-web-source'],'withText':!0x0});const _0xe6da61=this['bindTemplate'];if(this['extendTemplate']({'on':{'click':_0xe6da61['to'](()=>{window['open'](_0xf6f041['url'],'_blank');}),'mouseenter':_0xe6da61['to'](()=>{this['_showTooltip']();}),'mouseleave':_0xe6da61['to'](()=>{this['_hideTooltip']();})}}),_0xf6f041['favicon']){const _0x39435c=new ckeditor5['View'](_0x2f5d97);_0x39435c['setTemplate']({'tag':'img','attributes':{'src':_0xf6f041['favicon']||ckeditor5['IconWeb'],'alt':_0xf6f041['title'],'class':['ck-ai-web-source__image']}}),this['children']['add'](_0x39435c);}else this['set']('icon',ckeditor5['IconWeb']);}['_createTooltipContentView'](_0x225b29,_0x3d3819){const _0x551a77=new ckeditor5['View'](_0x225b29),_0x203c51=[];let _0xa18121;_0x3d3819?.['favicon']?(_0xa18121=new ckeditor5['View'](_0x225b29),_0xa18121['setTemplate']({'tag':'img','attributes':{'src':_0x3d3819['favicon'],'alt':_0x3d3819['title'],'class':['ck-ai-web-source__tooltip-image']}})):(_0xa18121=new ckeditor5['IconView'](),_0xa18121['content']=ckeditor5['IconWeb'],_0xa18121['extendTemplate']({'attributes':{'alt':_0x3d3819['title'],'class':['ck-ai-web-source__tooltip-image']}})),_0x203c51['push'](_0xa18121);const _0x835c14=new ckeditor5['View'](_0x225b29);_0x835c14['setTemplate']({'tag':'a','attributes':{'class':['ck-ai-web-source__tooltip-url'],'href':_0x3d3819['url']},'children':[{'text':new URL(_0x3d3819['url'])?.['hostname']}]}),_0x203c51['push'](_0x835c14);const _0xbe85d6=new ckeditor5['View'](_0x225b29);_0xbe85d6['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-web-source__tooltip-row']},'children':_0x203c51});const _0xfb0fed=new ckeditor5['View'](_0x225b29);return _0xfb0fed['setTemplate']({'tag':'span','attributes':{'class':['ck-ai-web-source__tooltip-row','ck-ai-web-source__tooltip-title']},'children':[{'text':_0x3d3819['title']['length']>_0x12fa45?_0x3d3819['title']['substring'](0x0,_0x12fa45)+'...':_0x3d3819['title']}]}),_0x551a77['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-web-source__tooltip']},'children':[_0xbe85d6,_0xfb0fed]}),_0x551a77;}['_showTooltip'](){this['_updateTooltipContent'](),this['balloonPanelView']['pin']({'target':this['element'],'positions':[ckeditor5['BalloonPanelView']['defaultPositions']['northArrowSouth'],ckeditor5['BalloonPanelView']['defaultPositions']['northArrowSouthWest'],ckeditor5['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 _0x1597c1=this['_createTooltipContentView'](this['locale'],this['source']);this['balloonPanelView']['content']['add'](_0x1597c1);}}const _0xac5a05=0x3e8;class AISuggestionBodyView extends ckeditor5['View']{['_actionsView'];['_sourcesView'];['_children'];['_skeletonView'];['_showSkeletonDebounced']=_0x3aca90(()=>{this['_skeletonView']['isVisible']=!0x0,this['_skeletonShownAt']=Date['now']();},_0xac5a05);['_skeletonShownAt']=null;['_areActionsDisabled'];['_showUnchangedParts'];['_updateContentPartsPromiseQueue'];['_emptyPartsWarningView'];['_availableActions'];['_cachedContentParts']=[];constructor(_0x1c8fe6,_0x1efbf5){super(_0x1c8fe6);const {areActionsDisabled:_0x2228d0,showUnchangedParts:_0x2eb2a5,availableActions:_0x13ea36}=_0x1efbf5;this['_areActionsDisabled']=_0x2228d0,this['_showUnchangedParts']=_0x2eb2a5,this['_availableActions']=_0x13ea36,this['set']('hasPendingParts',!0x1),this['set']('isTrackChangesOn',!0x1),this['_children']=this['createCollection'](),this['_skeletonView']=new AISkeletonView(_0x1c8fe6,_0x3fff2d['aiSuggestionBody']),this['_skeletonView']['isVisible']=!0x0,this['_skeletonShownAt']=Date['now'](),this['_children']['add'](this['_skeletonView']),this['_updateContentPartsPromiseQueue']=new _0x371879(),this['_emptyPartsWarningView']=new AIChatFeedErrorItemView({'id':'empty-parts-warning','initialContent':getTranslation$i(_0x1c8fe6,'AI_SUGGESTION_EMPTY_PART_WARNING'),'level':'warning'}),this['_emptyPartsWarningView']['isVisible']=!0x1,this['_actionsView']=new AIChatFeedSuggestionItemActionsView(_0x1c8fe6,_0x1efbf5['availableActions'],this['_areActionsDisabled']),this['_actionsView']['bind']('isTrackChangesOn')['to'](this),this['_sourcesView']=new _0x4fd392(this['locale'],_0x1efbf5['bodyCollection']),_0x1efbf5['areActionsDisabled']?this['_actionsView']['isEnabled']=!0x1:this['_actionsView']['bind']('isEnabled')['to'](this,'hasPendingParts'),this['_actionsView']['delegate'](..._0x109d62)['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'](_0x1fbe3d=>_0x1fbe3d instanceof AISuggestionBodyViewContentPartView);}async['updateContentParts']({parts:_0x1d0633,abortSignal:_0x375a10,skipLoadingEffects:_0x35b57b}){this['_cachedContentParts']['length']?_0x1d0633['forEach'](_0x9b034f=>{const _0x3a2d3d=this['_cachedContentParts']['findIndex'](_0x2b21fb=>_0x2b21fb['index']==_0x9b034f['index']);-0x1===_0x3a2d3d?this['_cachedContentParts']['push'](_0x9b034f):this['_cachedContentParts'][_0x3a2d3d]=_0x9b034f;}):this['_cachedContentParts']=_0x1d0633;const _0x588156=this['_showUnchangedParts']?_0x1d0633:_0x1d0633['filter'](_0x15e8d4=>_0x15e8d4['hasChanges']);this['_actionsView']['_switchButtonLabelsPlurality'](_0x588156['length']>0x1),_0x35b57b&&(this['_showSkeletonDebounced']['cancel'](),this['_skeletonView']['isVisible']=!0x1);for(const _0x41270c of _0x588156)this['_updateContentPartsPromiseQueue']['enqueue'](async _0x281cdf=>{let _0x20d185=this['getPartView'](_0x41270c['index']);if(!_0x20d185){if(_0x20d185=new AISuggestionBodyViewContentPartView(this['locale'],{'part':_0x41270c,'uiIndex':this['_contentPartViews']['length']+0x1,'areActionsDisabled':this['_areActionsDisabled'],'availableActions':this['_availableActions']}),_0x20d185['delegate'](..._0x109d62)['to'](this),!_0x35b57b&&(this['_showSkeletonDebounced']['cancel'](),await this['_awaitMinimumSkeletonDisplayTime'](_0x281cdf),_0x281cdf['aborted']))return;this['_skeletonView']['isVisible']=!0x1,this['_children']['add'](_0x20d185,this['_children']['length']-0x1),this['hasPendingParts']=!0x0,_0x35b57b||this['_showSkeletonDebounced']();}await _0x20d185['updateContent']({'part':_0x41270c,'showUnchangedParts':this['_showUnchangedParts'],'abortSignal':_0x281cdf}),_0x20d185['markAsDone']();});return _0x375a10?.['addEventListener']('abort',()=>{this['_updateContentPartsPromiseQueue']['abort'](),this['_showSkeletonDebounced']['cancel'](),this['_skeletonView']['isVisible']=!0x1;}),this['_updateContentPartsPromiseQueue']['queueEmptyPromise'];}['updatePartState'](_0x4c7db3,_0x379de5){const _0x1438ce=this['getPartView'](_0x4c7db3);_0x1438ce&&(_0x1438ce['state']=_0x379de5),this['hasPendingParts']='pending'==_0x379de5||this['_contentPartViews']['some'](_0x45567a=>'pending'==_0x45567a['state']);}['setPartActive'](_0x5db650,_0x4cae6b){if(!0x1===_0x5db650){for(const _0x127af0 of this['_contentPartViews'])_0x127af0['isActive']=!0x1;}else{const _0x3651a9=this['getPartView'](_0x5db650);_0x3651a9&&(_0x3651a9['isActive']=_0x4cae6b);}}['updateSources'](_0x264959){_0x264959['forEach'](_0x1581bc=>this['_sourcesView']['addSource'](_0x1581bc)),this['_sourcesView']['isVisible']=!0x0;}['getPartView'](_0x451082){return this['_contentPartViews']['find'](_0x296c09=>_0x296c09['partDefinition']['index']==_0x451082)??null;}['markAsDone'](){if(!this['_showUnchangedParts']){const _0x8e1be1=!this['_cachedContentParts']['find'](({hasChanges:_0x12efc4})=>_0x12efc4),_0x1c0eb7=!!this['_cachedContentParts']['find'](({hasChanges:_0x30c232})=>!_0x30c232);this['_emptyPartsWarningView']['isVisible']=0x0==this['_contentPartViews']['length']||_0x1c0eb7,_0x8e1be1?this['_emptyPartsWarningView']['setContent'](getTranslation$i(this['locale'],'AI_SUGGESTION_NO_PARTS_WARNING')):this['_emptyPartsWarningView']['setContent'](getTranslation$i(this['locale'],'AI_SUGGESTION_EMPTY_PART_WARNING'));}this['_contentPartViews']['forEach'](_0x2386e0=>_0x2386e0['markAsDone']()),this['_skeletonView']['isVisible']=!0x1,this['_showSkeletonDebounced']['cancel'](),this['_actionsView']['updateVisibility'](this['hasNonEmptyParts']);}async['_awaitMinimumSkeletonDisplayTime'](_0x34f1da){if(!this['_skeletonView']['isVisible']||null===this['_skeletonShownAt'])return;const _0x4cd6b7=_0xac5a05-(Date['now']()-this['_skeletonShownAt']);if(this['_skeletonShownAt']=null,_0x4cd6b7>0x0){const {promise:_0x53586f,abortController:_0x155850}=createAbortableTimeout(_0x4cd6b7);_0x34f1da?.['addEventListener']('abort',()=>_0x155850['abort']()),await _0x53586f['catch'](()=>{});}}get['hasNonEmptyParts'](){return this['_contentPartViews']['filter'](_0x4f07b8=>_0x4f07b8['partDefinition']['hasChanges'])['length']>0x0;}}class AISuggestionContainerView extends ckeditor5['View']{['bodyView'];['children'];['headerView'];constructor(_0x173983,_0x3889d8,_0x59f120){super(_0x173983);const {showDiff:_0x383adb,areActionsDisabled:_0x411203,showUnchangedParts:_0x4f7c47,availableActions:_0x39065a}=_0x3889d8;this['set']('isTrackChangesOn',!0x1),this['set']('areChangesVisible',!0x1),this['children']=this['createCollection'](),this['headerView']=new AISuggestionHeaderView(_0x173983,{'showDiff':_0x383adb}),this['headerView']['on']('toggleShowChanges',(_0x5aca09,_0x2fe89a)=>{this['areChangesVisible']=_0x2fe89a['isOn'],this['fire']('toggleSuggestionDisplayMode',{'showDiff':_0x2fe89a['isOn']});}),this['children']['add'](this['headerView']),this['bodyView']=new AISuggestionBodyView(_0x173983,{'areActionsDisabled':_0x411203,'showUnchangedParts':!!_0x4f7c47,'availableActions':_0x39065a,'bodyCollection':_0x59f120}),this['bodyView']['delegate'](..._0x109d62)['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'](_0x44fe67){await this['bodyView']['updateContentParts'](_0x44fe67);}['updateSources'](_0x1146a3){this['bodyView']['updateSources'](_0x1146a3);}['markAsDone'](){this['bodyView']['markAsDone'](),this['headerView']&&(this['headerView']['isShowChangesToggleVisible']=this['bodyView']['hasNonEmptyParts']);}}class AIChatFeedSuggestionItemView extends AIChatFeedItemView{['containerView'];constructor(_0xaa9b78,_0x379dcc,_0x2d78f7){super(_0x379dcc),this['set']('isTrackChangesOn',!0x1),this['containerView']=new AISuggestionContainerView(_0xaa9b78,{'showDiff':_0x379dcc['showDiff'],'areActionsDisabled':_0x379dcc['areActionsDisabled'],'availableActions':_0x379dcc['availableActions']},_0x2d78f7),this['containerView']['on']('toggleSuggestionDisplayMode',(_0x17fddb,_0x45af16)=>{this['fire']('toggleSuggestionDisplayMode',{'replyId':this['options']['id'],'showDiff':_0x45af16['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',(_0x58c85d,{index:_0x39caee})=>{this['fire']('showChangeInText',{'replyId':this['options']['id'],'partIndex':_0x39caee});}),this['containerView']['on']('applySuggestion',(_0x407cce,{index:_0x37bb01}={})=>{this['fire']('applySuggestion',{'replyId':this['options']['id'],'partIndex':_0x37bb01});}),this['containerView']['on']('insertSuggestion',(_0x2ade75,{index:_0x48d30f}={})=>{this['fire']('insertSuggestion',{'replyId':this['options']['id'],'partIndex':_0x48d30f});}),this['containerView']['on']('rejectSuggestion',(_0x49277a,{index:_0x3c915a})=>{this['fire']('rejectSuggestion',{'replyId':this['options']['id'],'partIndex':_0x3c915a});}),this['containerView']['on']('mouseOverSuggestion',(_0x4d8202,{index:_0x20f98f})=>{this['fire']('mouseOverSuggestion',{'replyId':this['options']['id'],'partIndex':_0x20f98f});}),this['containerView']['on']('mouseLeaveSuggestion',(_0x3a6cec,{index:_0x46f353})=>{this['fire']('mouseLeaveSuggestion',{'replyId':this['options']['id'],'partIndex':_0x46f353});}),this['children']['addMany']([this['containerView']]),this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__ai-suggestion']}});}async['updateContent'](_0x2ea3b5){await this['containerView']['updateContent'](_0x2ea3b5);}['updatePartState'](_0x103ea2,_0x48169e){this['containerView']['bodyView']['updatePartState'](_0x103ea2,_0x48169e);}['setPartActive'](_0x29f75a,_0x2a443c){!0x1===_0x29f75a?this['containerView']['bodyView']['setPartActive'](!0x1):this['containerView']['bodyView']['setPartActive'](_0x29f75a,_0x2a443c);}['updateSources'](_0x105875){this['containerView']['updateSources'](_0x105875);}['getPartView'](_0x468ddc){return this['containerView']['bodyView']['getPartView'](_0x468ddc);}['markAsDone'](){super['markAsDone'](),this['containerView']['markAsDone']();}}class AIChatFeedReplyItemView extends AIChatFeedItemView{['replyContainer'];['_bodyCollection'];constructor(_0xa00ac6,_0x3a13d5,_0x46f07e){super(_0x3a13d5),this['_bodyCollection']=_0x46f07e,this['locale']=_0xa00ac6,this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__ai-reply']}}),this['replyContainer']=new ckeditor5['View'](),this['replyContainer']['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-ai-chat__feed__ai-reply-container']}}),this['children']['add'](this['replyContainer']);}async['render'](){super['render'](),this['options']['initialContent']&&(await this['updateContent']({'parsedContent':_0x306b12(this['options']['initialContent']),'renderingStrategy':'static'}),this['markAsDone']());}async['updateContent']({parsedContent:_0x2806ff,renderingStrategy:_0x376153,abortSignal:_0x1e8a92}){'streaming'===_0x376153?await this['streamIntoElement'](_0x2806ff,this['replyContainer']['element'],_0x1e8a92):this['replyContainer']['element']['innerHTML']=_0x3c72ec(_0x2806ff);}['updateSources'](_0x5063e6){const _0x28c317=new _0x4fd392(this['locale'],this['_bodyCollection']);_0x28c317['children']['addMany'](_0x5063e6['map'](_0x2f1f7a=>new _0x5e7649(this['locale'],_0x2f1f7a,_0x28c317['balloonPanelView']))),_0x28c317['isVisible']=!0x0,this['children']['add'](_0x28c317);}}class _0x39410b extends ckeditor5['SpinnerView']{constructor(_0x3ef72e=void 0x0){super();const _0x38cac5=_0x3ef72e?'ck-ai-spinner_'+_0x3ef72e:'';this['extendTemplate']({'tag':'span','attributes':{'class':['ck-ai-spinner',_0x38cac5]}});}}const _0x31cc05={'file':ckeditor5['IconFileUpload'],'document':ckeditor5['IconDocument'],'web-resource':ckeditor5['IconLink'],'text':ckeditor5['IconFileUpload'],'selection':ckeditor5['IconSelection'],'mcp-tool-context':ckeditor5['IconDocument']},_0x3deccb=0x78,_0x378b5b={'contextChip':'ck-ai-chat-context-chip','contextChipWide':'ck-ai-chat-context-chip_wide','contextChipDocument':'ck-ai-chat-context-chip_document','contextChipLabel':'ck-ai-chat-context-chip__label','contextChipTypeIcon':'ck-ai-chat-context-chip__type-icon','chipTooltip':'ck-ai-chat-context-controls__chip-tooltip'},_0x71e7de={'position':'n'};class AIChatContextItemButtonView extends ckeditor5['ButtonView']{constructor(_0x448a38,_0x5e5dc1,_0x5da719,_0x20fe67,_0x3f34c1=!0x1){super(_0x448a38),this['_isAnimationOnEnterEnabled']=_0x20fe67,this['_initializeProperties'](_0x5e5dc1,_0x5da719,_0x3f34c1),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'](_0x4310f8,_0x379550,_0x1e73b3){this['set']('label',_0x4310f8['label']),this['set']('tooltip',!0x0),this['set']('itemType',_0x4310f8['type']),this['set']('id',_0x4310f8['uiId']),this['set']('readonly',_0x379550),this['set']('isLoading',_0x1e73b3);}['_setupTemplate'](){const _0x28558b=this['_createIconView'](),_0x53bef4=this['_createRemoveButton'](),_0x55dfce=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':this['_createTemplateAttributes'](_0x55dfce),'children':this['_createTemplateChildren'](_0x28558b,_0x53bef4,_0x55dfce)});}['_createTemplateAttributes'](_0x1422ad){return{'class':[_0x378b5b['contextChip'],_0x1422ad['if']('itemType',_0x378b5b['contextChipDocument'],_0x524749=>'document'==_0x524749),_0x1422ad['if']('itemType',_0x378b5b['contextChipWide'],_0x433ed1=>'selection'==_0x433ed1)],'data-cke-tooltip-text':_0x1422ad['to']('label',getTooltipForLabel),'data-cke-tooltip-position':_0x71e7de['position'],'data-cke-tooltip-class':_0x378b5b['chipTooltip']};}['_createTemplateChildren'](_0x3d0f28,_0x350dfd,_0x4e63b1){const _0x1ae2fd=this['_createLabelElement'](_0x4e63b1),_0xcddb32=this['_createLoaderIcon']();return this['readonly']?[_0x3d0f28,_0x1ae2fd]:[_0x3d0f28,_0xcddb32,_0x1ae2fd,_0x350dfd];}['_createLabelElement'](_0xa1ef15){return{'tag':'span','attributes':{'class':_0x378b5b['contextChipLabel']},'children':[{'text':_0xa1ef15['to']('label')}]};}['_createRemoveButton'](){const _0x2d1604=new ckeditor5['ButtonView'](this['locale']);return _0x2d1604['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT'),'icon':ckeditor5['IconCancel']}),this['_setupRemoveButtonEvent'](_0x2d1604),_0x2d1604;}['_setupRemoveButtonEvent'](_0x1661e3){_0x1661e3['on']('execute',()=>{this['fire']('removeContextItemChip',this['id']);});}['_createIconView'](){const _0x1528f1=this['bindTemplate'],_0x65f3df=new ckeditor5['IconView']();return _0x65f3df['content']=_0x31cc05[this['itemType']],_0x65f3df['extendTemplate']({'attributes':{'class':[_0x378b5b['contextChipTypeIcon'],_0x1528f1['if']('isLoading','ck-hidden',_0x11ebe1=>_0x11ebe1)]}}),_0x65f3df;}['_handleAnimationEndOnce'](_0x228029,_0x3b4354){if(!_0x228029)return;const _0x5f2666=()=>{_0x3b4354(),_0x228029['removeEventListener']('animationend',_0x5f2666),_0x228029['removeEventListener']('webkitAnimationEnd',_0x5f2666);};_0x228029['addEventListener']('animationend',_0x5f2666),_0x228029['addEventListener']('webkitAnimationEnd',_0x5f2666);}['_createLoaderIcon'](){const _0x50d477=new _0x39410b('small');return _0x50d477['bind']('isVisible')['to'](this,'isLoading',_0x33afba=>_0x33afba),_0x50d477;}}function getTooltipForLabel(_0x56a362){if(!_0x56a362)return _0x56a362;if(_0x56a362['length']<=_0x3deccb)return _0x56a362;const _0x449f74=_0x56a362['slice'](0x0,_0x3deccb),_0x209db0=_0x449f74['lastIndexOf']('\x20');return(_0x209db0>0x0?_0x449f74['slice'](0x0,_0x209db0):_0x449f74)+'…';}const _0x4d49ae={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},_0x54c371='300px';class AIChatChipsOverflowManager{['_locale'];['_config'];['_visibleChips'];['_overflowChips'];['_showMoreButtonView']=null;['_showMoreBalloonPanelView']=null;['_containerElement']=null;['_bodyCollection'];['_parentView']=null;['_intersectionObserver']=null;['_pendingCalculation']=!0x1;constructor(_0x14151f,_0x4e6862,_0x1de327,_0x5f01b4,_0x5f3425){this['_locale']=_0x14151f,this['_visibleChips']=_0x4e6862,this['_config']={..._0x4d49ae,..._0x1de327,'cssClasses':{'controlsButton':'','calculationContainer':'ck-calculation-container',..._0x1de327['cssClasses']}},this['_overflowChips']=new ckeditor5['Collection'](),this['_bodyCollection']=_0x5f01b4,this['_parentView']=_0x5f3425||null;}['setContainerElement'](_0x5d939a){this['_intersectionObserver']&&(this['_intersectionObserver']['disconnect'](),this['_intersectionObserver']=null),this['_containerElement']=_0x5d939a,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 _0x3310cb=[...this['_visibleChips'],...this['_overflowChips']],_0x2b3fb3=this['_createCalculationContainer'](),_0x4df61d=this['_calculateOverflowInContainer'](_0x2b3fb3,_0x3310cb),_0x4c777f=_0x2b3fb3['_ancestorsToRestore'];_0x4c777f&&this['_restoreAncestorVisibility'](_0x4c777f),_0x2b3fb3['remove'](),this['_applyOverflowResults'](_0x3310cb,_0x4df61d);}['_createShowMoreButton'](){this['_showMoreButtonView']=this['_createShowMoreButtonView'](),this['_showMoreBalloonPanelView']=this['_createShowMoreBalloonPanelView'](),this['_showMoreButtonView']['render'](),this['_containerElement']['appendChild'](this['_showMoreButtonView']['element']),this['_showMoreButtonView']['on']('execute',()=>{this['_handleShowMoreButtonClick']();}),ckeditor5['clickOutsideHandler']({'emitter':this['_showMoreBalloonPanelView'],'contextElements':[this['_showMoreBalloonPanelView']['element'],this['_showMoreButtonView']['element']],'callback':()=>this['hideBalloonPanel'](),'activator':()=>this['_showMoreButtonView']['isOn']});}['_createShowMoreButtonView'](){const _0x557686=new ckeditor5['ButtonView'](this['_locale']);_0x557686['set']({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x57aa2e=[this['_config']['cssClasses']['showMoreButton']];return this['_config']['cssClasses']['controlsButton']&&_0x57aa2e['push'](this['_config']['cssClasses']['controlsButton']),_0x557686['extendTemplate']({'attributes':{'class':_0x57aa2e}}),_0x557686;}['_createShowMoreBalloonPanelView'](){const _0x4069aa=new ckeditor5['BalloonPanelView'](this['_locale']);return _0x4069aa['extendTemplate']({'attributes':{'class':this['_config']['cssClasses']['showMoreBalloon']}}),this['_bodyCollection']['add'](_0x4069aa),_0x4069aa;}['_updateBalloonContent'](){if(this['_showMoreBalloonPanelView']&&(this['_showMoreBalloonPanelView']['content']['clear'](),this['_overflowChips']['length']>0x0)){this['_overflowChips']['forEach'](_0x1ae3da=>{_0x1ae3da['disableAnimationOnEnter']();});const _0x38e0c5=new ckeditor5['View'](this['_locale']);_0x38e0c5['setTemplate']({'tag':'div','attributes':{'class':this['_config']['cssClasses']['overflowContainer']},'children':this['_overflowChips']}),this['_showMoreBalloonPanelView']['content']['add'](_0x38e0c5);}}['_handleShowMoreButtonClick'](){this['_showMoreButtonView']['isOn']?this['hideBalloonPanel']():this['showBalloonPanel']();}['_updateShowMoreButtonVisibility'](){const _0x37c1a5=this['_overflowChips']['length']>0x0;this['_showMoreButtonView']?.['element']&&(this['_showMoreButtonView']['element']['style']['display']=_0x37c1a5?'':'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'](_0x244743){const _0xb88ff6=this['_containerElement']?.['tagName']['toLowerCase']()||'div',_0x545da3=this['_containerElement']?.['classList'];if(_0x545da3){const _0x19df27=_0x545da3[0x0]||'',_0x252a42=_0x244743['querySelector']('.'+_0x19df27),_0x2db511=_0x244743['querySelector'](_0xb88ff6);return _0x252a42||_0x2db511||_0x244743;}return _0x244743['querySelector'](_0xb88ff6)||_0x244743;}['_calculateContainerWidth'](){const _0x115e44=this['_parentView']?.['element']||this['_containerElement'];if(!_0x115e44)return _0x54c371;const _0x78b369=window['getComputedStyle'](_0x115e44)['width'];if('auto'===_0x78b369||'0px'===_0x78b369||!_0x78b369){const _0x35ff17=_0x115e44['parentElement'];if(_0x35ff17){const _0x1d63ec=window['getComputedStyle'](_0x35ff17);return'auto'!==_0x1d63ec['width']?_0x1d63ec['width']:_0x54c371;}return _0x54c371;}return _0x78b369;}['_applyCalculationStyles'](_0x12e7fe,_0x47e728){this['_config']['cssClasses']['calculationContainer']&&_0x12e7fe['classList']['add'](this['_config']['cssClasses']['calculationContainer']),_0x12e7fe['style']['width']=_0x47e728,_0x12e7fe['style']['position']='absolute',_0x12e7fe['style']['top']='-9999px',_0x12e7fe['style']['left']='-9999px',_0x12e7fe['style']['opacity']='0',_0x12e7fe['style']['pointerEvents']='none',_0x12e7fe['style']['zIndex']='-1',_0x12e7fe['style']['visibility']='visible\x20!important',_0x12e7fe['style']['display']='block\x20!important',_0x12e7fe['style']['boxSizing']='border-box';}['_restoreAncestorVisibility'](_0x4f136b){_0x4f136b['forEach'](({element:_0x3e1582,originalDisplay:_0x10daff,originalVisibility:_0x35f6c3})=>{_0x3e1582['style']['display']=_0x10daff,_0x3e1582['style']['visibility']=_0x35f6c3;});}['_makeAncestorsVisible'](_0x6418c4){const _0x409ea1=[];let _0x5e61d3=_0x6418c4;for(;_0x5e61d3&&_0x5e61d3!==document['body'];){const _0x4fa209=window['getComputedStyle'](_0x5e61d3);'none'!==_0x4fa209['display']&&'hidden'!==_0x4fa209['visibility']||(_0x409ea1['push']({'element':_0x5e61d3,'originalDisplay':_0x5e61d3['style']['display'],'originalVisibility':_0x5e61d3['style']['visibility']}),_0x5e61d3['style']['display']='block',_0x5e61d3['style']['visibility']='visible'),_0x5e61d3=_0x5e61d3['parentElement'];}return _0x409ea1;}['_createContainerElements'](){let _0xb10bb2,_0x105e2e;return this['_parentView']?.['element']?(_0xb10bb2=this['_parentView']['element']['cloneNode'](!0x0),_0x105e2e=this['_findTargetContainer'](_0xb10bb2)):(_0xb10bb2=document['createElement']('div'),_0x105e2e=_0xb10bb2),{'calculationContainer':_0xb10bb2,'targetContainer':_0x105e2e};}['_createCalculationContainer'](){const {calculationContainer:_0x502a27,targetContainer:_0x1d0373}=this['_createContainerElements'](),_0x570b8e=this['_calculateContainerWidth']();this['_applyCalculationStyles'](_0x502a27,_0x570b8e);const _0x4d4bef=this['_parentView']?.['element']||this['_containerElement'],_0x55b6c6=_0x4d4bef?.['parentElement'];_0x55b6c6?_0x55b6c6['appendChild'](_0x502a27):document['body']['appendChild'](_0x502a27),_0x502a27['_targetContainer']=_0x1d0373;const _0x49e63a=this['_makeAncestorsVisible'](_0x55b6c6||null);return _0x502a27['offsetWidth'],_0x502a27['_ancestorsToRestore']=_0x49e63a,_0x502a27;}['_calculateOverflowInContainer'](_0x2fa948,_0x528005){const _0x5d83ac=_0x2fa948['_targetContainer']||_0x2fa948,_0x48b0cd=[],{rowCount:_0x5acd40}=this['_renderChipsAndCountRows'](_0x5d83ac,_0x528005);if(_0x5acd40<=this['_config']['maxVisibleRows'])return _0x48b0cd;const _0x39597a=_0x528005['slice']();for(;_0x39597a['length']>0x0;){if(this['_testButtonFit'](_0x2fa948,_0x5d83ac,_0x39597a)){const _0x53bb48=_0x528005['filter'](_0x294263=>!_0x39597a['includes'](_0x294263));_0x48b0cd['push'](..._0x53bb48);break;}if(!_0x39597a['pop']())break;}return _0x48b0cd;}['_renderChipsAndCountRows'](_0x67d067,_0x5b8fcf){_0x67d067['innerHTML']='',_0x5b8fcf['forEach'](_0x341025=>{if(_0x341025['element']){const _0x2469fe=_0x341025['element']['cloneNode'](!0x0);_0x67d067['appendChild'](_0x2469fe);}}),_0x67d067['offsetWidth'];const _0x265b57=_0x67d067['children'],_0x1e89ad=[];return Array['from'](_0x265b57)['forEach'](_0x5125a4=>{const _0x184391=_0x5125a4['getBoundingClientRect']()['top'];_0x1e89ad['some'](_0xbac0b2=>Math['abs'](_0xbac0b2-_0x184391)<this['_config']['rowDetectionTolerance'])||_0x1e89ad['push'](_0x184391);}),{'rowCount':_0x1e89ad['length']};}['_createMockButton'](){const _0x420772=document['createElement']('button');return _0x420772['className']=this['_config']['cssClasses']['showMoreButton'],this['_config']['cssClasses']['controlsButton']&&_0x420772['classList']['add'](this['_config']['cssClasses']['controlsButton']),_0x420772['textContent']='+\x201',_0x420772;}['_testButtonFit'](_0x688c32,_0x44c95e,_0x22cd09){this['_renderChipsAndCountRows'](_0x44c95e,_0x22cd09);const _0x12f66c=this['_createMockButton']();_0x688c32['appendChild'](_0x12f66c),_0x688c32['offsetWidth'];const _0x4f2457=[..._0x44c95e['children'],_0x12f66c],_0x5f1704=[];_0x4f2457['forEach'](_0x555a48=>{const _0x3502a9=_0x555a48['getBoundingClientRect']()['top'];_0x5f1704['some'](_0x3073cc=>Math['abs'](_0x3073cc-_0x3502a9)<this['_config']['rowDetectionTolerance'])||_0x5f1704['push'](_0x3502a9);});const _0x2da953=_0x5f1704['length'];return _0x12f66c['remove'](),_0x2da953<=this['_config']['maxVisibleRows'];}['_distributeChips'](_0x1f16c9,_0x1c702b){this['_visibleChips']['clear'](),this['_overflowChips']['clear'](),_0x1f16c9['forEach'](_0x3f0381=>{_0x1c702b['includes'](_0x3f0381)?this['_overflowChips']['add'](_0x3f0381):this['_visibleChips']['add'](_0x3f0381);});}['_updateOverflowUI'](_0x513e59){if(_0x513e59>0x0&&!this['_showMoreButtonView']&&this['_createShowMoreButton'](),_0x513e59>0x0&&this['_showMoreButtonView']){const _0x1ad248=''+this['_config']['showMoreLabelPrefix']+(_0x513e59<0x63?_0x513e59:'99');this['_showMoreButtonView']['label']=_0x1ad248;}this['_updateBalloonContent'](),this['_updateShowMoreButtonVisibility'](),this['_repinBalloonPanel']();}['_applyOverflowResults'](_0x3daae7,_0x4a4f5a){this['_distributeChips'](_0x3daae7,_0x4a4f5a),this['_updateOverflowUI'](_0x4a4f5a['length']);}['_setupVisibilityObserver'](){this['_containerElement']&&'undefined'!=typeof IntersectionObserver&&(this['_intersectionObserver']=new IntersectionObserver(_0x3aec37=>{_0x3aec37[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 _0x260546=this['_containerElement']['getBoundingClientRect']();if(0x0===_0x260546['width']||0x0===_0x260546['height'])return!0x1;const _0xcb8b55=window['innerHeight']||document['documentElement']['clientHeight'],_0x4f21ac=window['innerWidth']||document['documentElement']['clientWidth'],_0xcef7b0=0xc8;return _0x260546['bottom']>=-0xc8&&_0x260546['top']<=_0xcb8b55+_0xcef7b0&&_0x260546['right']>=-0xc8&&_0x260546['left']<=_0x4f21ac+_0xcef7b0;}}const _0x2fdfd8={'CONTEXT_CHIPS':'ck-ai-chat__feed__context-chips','CONTEXT_CHIPS_VISIBLE':'ck-ai-chat-context-chips-wrapper','CONTEXT_CHIPS_OVERFLOW':'ck-ai-chat-context-chips-wrapper-balloon','CONTROLS_BUTTON':'ck-ai-chat-controls-button','SHOW_MORE_BUTTON':'ck-ai-chat-controls_context_show-more-button','SHOW_MORE_BALLOON':'ck-ai-chat-context-controls__show-more-balloon-panel'};class AIChatFeedContextChipsView extends ckeditor5['View']{['_contextChips']=this['createCollection']();['_overflowManager'];['_bodyCollection'];constructor(_0x1e7590,_0x1c4e23,_0x2cc4fe){super(_0x1e7590),this['_bodyCollection']=_0x2cc4fe,this['_createContextChips'](_0x1c4e23);const _0x300784={'cssClasses':{'showMoreButton':_0x2fdfd8['SHOW_MORE_BUTTON']+'\x20'+_0x1f417a['TERTIARY'],'showMoreBalloon':_0x2fdfd8['SHOW_MORE_BALLOON'],'overflowContainer':_0x2fdfd8['CONTEXT_CHIPS_OVERFLOW'],'controlsButton':_0x2fdfd8['CONTROLS_BUTTON']}};this['_overflowManager']=new AIChatChipsOverflowManager(_0x1e7590,this['_contextChips'],_0x300784,this['_bodyCollection'],this),this['setTemplate']({'tag':'div','attributes':{'class':[_0x2fdfd8['CONTEXT_CHIPS'],'ck','ck-reset_all']},'children':[{'tag':'div','attributes':{'class':_0x2fdfd8['CONTEXT_CHIPS_VISIBLE']},'children':this['_contextChips']}]});}['render'](){super['render']();const _0x10214c=this['element']['querySelector']('.'+_0x2fdfd8['CONTEXT_CHIPS_VISIBLE']);_0x10214c&&(this['_overflowManager']['setContainerElement'](_0x10214c),this['_overflowManager']['reorganizeChips']());}['destroy'](){super['destroy'](),this['_overflowManager']['destroy']();}['_createContextChips'](_0x3f39e5){for(const _0x1b28ee of _0x3f39e5){const _0x41dffc=new AIChatContextItemButtonView(this['locale'],_0x1b28ee,!0x0,!0x1);this['_contextChips']['add'](_0x41dffc);}}}class AIChatFeedUserMessageItemView extends AIChatFeedItemView{['_contextChipsView']=null;['_locale'];['_bodyCollection'];['_messageContentView'];constructor(_0x595a69,_0x2924ad,_0x1da355){super(_0x2924ad),this['_locale']=_0x595a69,this['_bodyCollection']=_0x1da355,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'](_0x5cf9c4=>!_0x5cf9c4['hidden']),this['_bodyCollection']),this['_contextChipsView']['extendTemplate']({'attributes':{'class':'ck-ai-chat__feed__context-chips'}}),this['children']['add'](this['_contextChipsView']));}['_createMessageContentView'](){this['_messageContentView']=new ckeditor5['View'](this['_locale']),this['_messageContentView']['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-chat__feed__message-content'}}),this['children']['add'](this['_messageContentView']);}['render'](){super['render'](),this['_messageContentView']['element']['innerHTML']=this['options']['initialContent'],this['markAsDone']();}}class AIChatFeedInteractionHeaderView extends AIChatFeedItemView{['capabilities'];constructor(_0xf046f4,_0x1ede1a){super(_0x1ede1a);const {isWebSearchEnabled:_0x183752,isReasoningEnabled:_0x32eb78}=_0x1ede1a['capabilities'],_0x41aa0a=[];let _0x175af4='';_0x183752&&_0x32eb78?(_0x175af4=getTranslation$i(_0xf046f4,'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING'),_0x41aa0a['push'](createIcon(ckeditor5['IconWeb'])),_0x41aa0a['push'](createIcon(ckeditor5['IconBulb']))):_0x183752?(_0x175af4=getTranslation$i(_0xf046f4,'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH'),_0x41aa0a['push'](createIcon(ckeditor5['IconWeb']))):_0x32eb78&&(_0x175af4=getTranslation$i(_0xf046f4,'AI_CHAT_FEED_REPLY_ITEM_USED_REASONING'),_0x41aa0a['push'](createIcon(ckeditor5['IconBulb']))),this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__interaction-header',_0x175af4?'':'ck-hidden']}});const _0x2331cc=new ckeditor5['View']();_0x2331cc['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__interaction-header__capabilities']},'children':[..._0x41aa0a,{'tag':'span','attributes':{'class':['ck-ai-chat__feed__interaction-header__capabilities__text']},'children':[_0x175af4]}]}),this['children']['add'](_0x2331cc),this['capabilities']=_0x1ede1a['capabilities'];}}function createIcon(_0x54c629){const _0x4c55dc=new ckeditor5['IconView']();return _0x4c55dc['content']=_0x54c629,_0x4c55dc;}const _0x2a35d2=0x5,_0x259a0c=['wheel','touchstart','pointerdown','keydown'],_0x35adc1=['ArrowUp','ArrowDown','PageUp','PageDown','Home','End','\x20'];class _0x1bc305{['element'];['animationFrameId'];['isRunning'];['abortController'];['isUserPaused'];['scrollBehavior'];constructor(_0x3c47a2){this['element']=_0x3c47a2,this['animationFrameId']=null,this['isRunning']=!0x1,this['abortController']=new AbortController(),this['isUserPaused']=!0x1,this['scrollBehavior']='smooth';for(const _0x28379a of _0x259a0c){const _0x2c8352='keydown'!==_0x28379a;this['element']['addEventListener'](_0x28379a,this['_onUserEvent']['bind'](this),{'passive':_0x2c8352,'signal':this['abortController']['signal']});}}['start']({smooth:_0x2c8200=!0x0}={}){this['isRunning']||(this['isRunning']=!0x0,this['isUserPaused']=!0x1,this['scrollBehavior']=_0x2c8200?'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'](_0x33bea4){if(this['isRunning']){if('keydown'===_0x33bea4['type']){const _0x1dfaba=_0x33bea4['key'];if(!_0x35adc1['includes'](_0x1dfaba))return;}_0x33bea4 instanceof WheelEvent?_0x33bea4['deltaY']<0x0?this['isUserPaused']=!0x0:this['isUserPaused']=!this['_isAtBottom']():this['isUserPaused']=!0x0;}}['_isAtBottom'](){const {scrollTop:_0x24cace,scrollHeight:_0x4dc29b,clientHeight:_0x4465b1}=this['element'];return _0x4dc29b-_0x24cace-_0x4465b1<=_0x2a35d2;}['_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(_0x1b12b7){super(_0x1b12b7),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 ckeditor5['View']{['children'];['scrollManager'];['_bodyCollection'];constructor(_0x36707b,_0x3fc71a){super(_0x36707b),this['_bodyCollection']=_0x3fc71a,this['set']('loadingMessage',''),this['set']('isLoadingSkeletonVisible',!0x1),this['set']('isTrackChangesOn',!0x1),this['children']=this['createCollection'](),this['children']['delegate'](..._0x3ac999)['to'](this),this['_setupTemplate']();}['render'](){super['render'](),this['scrollManager']=new _0x1bc305(this['element']);}['destroy'](){super['destroy'](),this['scrollManager']['destroy']();}['clear'](){this['children']['clear']();}['addItem'](_0x314ad9,_0x5295a6){let _0x34c1ff;return'ai-reply'===_0x314ad9?_0x34c1ff=new AIChatFeedReplyItemView(this['locale'],_0x5295a6,this['_bodyCollection']):'ai-suggestion-reply'===_0x314ad9?(_0x34c1ff=new AIChatFeedSuggestionItemView(this['locale'],_0x5295a6,this['_bodyCollection']),_0x34c1ff['bind']('isTrackChangesOn')['to'](this)):_0x34c1ff='user-message'===_0x314ad9?new AIChatFeedUserMessageItemView(this['locale'],_0x5295a6,this['_bodyCollection']):'interaction-header'===_0x314ad9?new AIChatFeedInteractionHeaderView(this['locale'],_0x5295a6):'custom-element'===_0x314ad9?new AIChatFeedCustomElementView(_0x5295a6):new AIChatFeedErrorItemView(_0x5295a6),this['children']['add'](_0x34c1ff),_0x34c1ff;}async['updateReplyItem']({id:_0x401931,parsedContent:_0x348345,renderingStrategy:_0x26cd2,abortSignal:_0x3263bb}){const _0x1c5af0=this['getItemById'](_0x401931);if(!(_0x1c5af0 instanceof AIChatFeedReplyItemView))throw new ckeditor5['CKEditorError']('ai-chat-feed-view-item-not-a-reply-item',null,{'itemView':_0x1c5af0,'id':_0x401931,'parsedContent':_0x348345});await _0x1c5af0['updateContent']({'parsedContent':_0x348345,'renderingStrategy':_0x26cd2,'abortSignal':_0x3263bb});}async['updateWebSources'](_0x23f3b4,_0x346839){const _0x516ef4=this['getItemById'](_0x23f3b4);if(_0x516ef4 instanceof AIChatFeedSuggestionItemView)_0x516ef4['updateSources'](_0x346839);else{if(!(_0x516ef4 instanceof AIChatFeedReplyItemView))throw new ckeditor5['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-or-reply-item',null,{'itemView':_0x516ef4,'id':_0x23f3b4,'sources':_0x346839});_0x516ef4['updateSources'](_0x346839);}}async['updateSuggestionItem']({id:_0x9ab6b5,parts:_0x50d09d,abortSignal:_0x51f555,skipLoadingEffects:_0x596e8f}){const _0x1225b9=this['getItemById'](_0x9ab6b5);if(!(_0x1225b9 instanceof AIChatFeedSuggestionItemView))throw new ckeditor5['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-item',null,{'itemView':_0x1225b9,'id':_0x9ab6b5,'parts':_0x50d09d});await _0x1225b9['updateContent']({'parts':_0x50d09d,'abortSignal':_0x51f555,'skipLoadingEffects':_0x596e8f});}['updateSuggestionPartState']({id:_0x280627,index:_0xcaad21,state:_0xd81ec0}){const _0x56279b=this['getItemById'](_0x280627);if(!(_0x56279b instanceof AIChatFeedSuggestionItemView))throw new ckeditor5['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-item',this,{'id':_0x280627});_0x56279b['updatePartState'](_0xcaad21,_0xd81ec0);}['setSuggestionPartActive']({id:_0x4f5dab,index:_0x50045c,isActive:_0x284e45}){const _0x3dabb0=this['getItemById'](_0x4f5dab);if(!(_0x3dabb0 instanceof AIChatFeedSuggestionItemView))throw new ckeditor5['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-item',this,{'id':_0x4f5dab});this['children']['filter'](_0x176fab=>_0x176fab instanceof AIChatFeedSuggestionItemView)['forEach'](_0x5ae2ed=>{_0x5ae2ed['setPartActive'](!0x1);}),_0x3dabb0['setPartActive'](_0x50045c,_0x284e45);}['markItemAsDone'](_0x3fc4c1){this['getItemById'](_0x3fc4c1)['markAsDone']();}['getItemIds'](){return this['children']['map'](_0x4fb6cc=>_0x4fb6cc['options']['id']);}['removeItem'](_0x3c383a){this['children']['remove'](this['getItemById'](_0x3c383a));}['hasItem'](_0x586331){return!!this['children']['find'](_0x2ad394=>_0x2ad394['options']['id']['includes'](_0x586331));}['scrollToSuggestion'](_0x23113d,_0x3a0d2b){const _0x405d2b=this['getItemById'](_0x23113d);if(!(_0x405d2b instanceof AIChatFeedSuggestionItemView))return void ckeditor5['logWarning']('ck-ai-chat-feed-view-scroll-to-suggestion-invalid-item',{'replyId':_0x23113d,'partIndex':_0x3a0d2b});const _0x1200cb=_0x405d2b['getPartView'](_0x3a0d2b);_0x1200cb?ckeditor5['scrollAncestorsToShowTarget'](_0x1200cb['element'],0x14,this['element']['parentElement'],!0x0,!0x0):ckeditor5['logWarning']('ck-ai-chat-feed-view-scroll-to-suggestion-part-view-not-found',{'replyId':_0x23113d,'partIndex':_0x3a0d2b});}['_setupTemplate'](){this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed']},'children':this['_createTemplateChildren']()});}['_createTemplateChildren'](){const _0x41ef78=this['_createSkeletonLoader']();return[this['_createFeedItems'](),_0x41ef78,this['_createFeedLoader']()];}['_createSkeletonLoader'](){const _0x385aca=new AISkeletonView(this['locale'],_0x3fff2d['aiFeed']);return _0x385aca['bind']('isVisible')['to'](this,'isLoadingSkeletonVisible'),_0x385aca;}['_createFeedItems'](){const _0x5e5992=new ckeditor5['View'](this['locale']);return _0x5e5992['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__items',this['bindTemplate']['if']('isLoadingSkeletonVisible','ck-hidden')]},'children':this['children']}),_0x5e5992;}['_createFeedLoader'](){const _0x4d9619=new ckeditor5['View'](this['locale']);return _0x4d9619['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__loader',this['bindTemplate']['if']('loadingMessage','ck-hidden',_0xb3cc6d=>!_0xb3cc6d)]},'children':this['_createLoaderChildren']()}),_0x4d9619;}['_createLoaderChildren'](){const _0xb3429a=new _0x39410b();return _0xb3429a['isVisible']=!0x0,[_0xb3429a,{'tag':'span','attributes':{'class':['ck','ck-ai-chat__loader-text']},'children':[{'text':this['bindTemplate']['to']('loadingMessage')}]}];}['getItemById'](_0x15adc7){const _0x26baaa=this['children']['find'](_0x863c0e=>_0x863c0e['options']['id']['includes'](_0x15adc7));if(!_0x26baaa)throw new ckeditor5['CKEditorError']('ai-chat-feed-view-item-not-found',this,{'id':_0x15adc7});return _0x26baaa;}['setLoadingMessage'](_0x5affcf){this['set']('loadingMessage',_0x5affcf);}['toggleLoadingSkeleton'](_0x2f8b1f){this['set']('isLoadingSkeletonVisible',_0x2f8b1f);}['startAutoScroll'](_0x1fb385={}){this['scrollManager']['start'](_0x1fb385);}['stopAutoScroll'](){this['scrollManager']['stop']();}}class AIChatPromptSuggestionsListView extends ckeditor5['ListView']{['filter'](){let _0x3d8d7b=0x0;for(const _0x105bff of this['items'])_0x3d8d7b+=_0x105bff['items']['length'];return{'resultsCount':_0x3d8d7b,'totalItemsCount':_0x3d8d7b};}}const _0x327c45=0x320,_0x474f06='ck-ai-chat__prompt-input_highlighted';class AIChatPromptInputView extends ckeditor5['AutocompleteView']{['submitButtonView'];static ['MIN_ROWS']=0x1;static ['MAX_ROWS']=0xc;['_addContextButtonView'];['_queryViewResizeObserver'];constructor(_0x5a4908,_0x304918){super(_0x5a4908,{'queryView':{'label':'','creator':ckeditor5['createLabeledTextarea'],'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new AIChatPromptSuggestionsListView(_0x5a4908),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this['set']('isEmpty',!0x0),this['set']('isUploadInProgress',!0x1),this['_addContextButtonView']=_0x304918,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',(_0x2dd4ab,_0xd436e7)=>!_0x2dd4ab&&!_0xd436e7),this['focusableChildren']['add'](this['submitButtonView']);}['render'](){super['render'](),this['queryView']['fieldWrapperChildren']['add'](this['submitButtonView']),this['keystrokes']['set']('enter',(_0x261bd2,_0x5efd5f)=>{this['isUploadInProgress']||this['isEmpty']||_0x261bd2['target']==this['queryView']['fieldView']['element']&&(this['submit'](),_0x5efd5f());}),this['queryView']['fieldView']['on']('update',()=>{this['isEmpty']=''===this['queryView']['fieldView']['element']['value']?.['trim']();});}['destroy'](){super['destroy'](),this['_queryViewResizeObserver']&&this['_queryViewResizeObserver']['destroy']();}['submit'](){const _0x33478c=this['queryView']['fieldView']['element']['value']?.['trim']();if(!_0x33478c)return this['queryView']['errorText']=getTranslation$i(this['locale'],'AI_CHAT_PROMPT_EMPTY_ERROR'),void(this['queryView']['fieldView']['hasError']=!0x0);this['queryView']['fieldView']['hasError']=!0x1;const _0x50bbce=_0x5c261b(_0x33478c);this['fire']('sendUserMessage',_0x50bbce),this['queryView']['fieldView']['reset']();}['setPlaceholderText'](_0x374149){this['queryView']['fieldView']['set']('placeholder',_0x374149);}['focus'](_0x3dcc83=!0x1){super['focus'](),_0x3dcc83&&(this['element']['classList']['contains'](_0x474f06)||(this['element']['classList']['add'](_0x474f06),setTimeout(()=>{this['element']['classList']['remove'](_0x474f06);},_0x327c45)));}['_createSubmitButton'](){const _0x2fd726=new ckeditor5['ButtonView'](this['locale']);return _0x2fd726['set']({'icon':ckeditor5['IconSubmit'],'label':getTranslation$i(this['locale'],'AI_CHAT_LABEL_SUBMIT'),'isVisible':!0x0,'tooltip':!0x0,'class':'ck-ai-chat__prompt-submit-button\x20'+_0x1f417a['PRIMARY'],'isEnabled':!0x1}),_0x2fd726['on']('execute',()=>{this['submit']();}),_0x2fd726;}['setIsUploadInProgress'](_0x5cadd4){this['isUploadInProgress']=_0x5cadd4;}['_setUpAddContextButtonPositioning'](){const _0x44235a=this['locale'],_0x3cd777=()=>{ckeditor5['global']['window']['requestAnimationFrame'](()=>{if(ckeditor5['isVisible'](this['element'])){const _0x5250d1=new ckeditor5['Rect'](this['queryView']['fieldView']['element']),_0x2e1cc2=new ckeditor5['Rect'](this['_addContextButtonView']['element']),_0x36e92b=_0x5250d1['width'],_0x423c7c='rtl'===_0x44235a['uiLanguageDirection']?'right':'left';_0x5250d1['excludeScrollbarsAndBorders']();const _0x2ee04e=_0x36e92b-_0x5250d1['width']+0x1;this['_addContextButtonView']['element']['style'][_0x423c7c]='calc('+(_0x36e92b-_0x2e1cc2['width']-_0x2ee04e)+'px\x20-\x20var(--ck-spacing-tiny))';}});};this['queryView']['fieldView']['on']('update',_0x3cd777),this['on']('render',()=>{_0x3cd777(),this['_queryViewResizeObserver']=new ckeditor5['ResizeObserver'](this['queryView']['fieldView']['element'],()=>{_0x3cd777();});});}}const _0x583aa4={'PROMPT_CAPABILITIES':'ck-ai-chat__prompt-capabilities','CONTROLS_BUTTON':'ck-ai-chat-controls-button','COMMANDS_BUTTON':'ck-ai-chat-controls-button--commands','MODEL_SELECTION':'ck-ai-chat-controls__model-selection','MODEL_SELECTION_ITEM_NAME':'ck-ai-chat-controls__model-selection__item-name','MODEL_SELECTION_ITEM_DESCRIPTION':'ck-ai-chat-controls__model-selection__item-description','MODEL_SELECTION_ITEM_CAPABILITIES':'ck-ai-chat-controls__model-selection__item-capabilities'},_0x425b48='n';class AIChatPromptCapabilitiesView extends ckeditor5['View']{['_webSearchButton'];['_reasoningButton'];['_commandsButton'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_modelNameView'];constructor(_0x57f736){super(_0x57f736),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',_0x401423=>'selector'===_0x401423),this['_modelSelectionDropdown']['buttonView']['bind']('tooltip')['to'](this,'modelSelectorEnabled',_0x525d46=>_0x525d46?this['_modelSelectionDropdown']['buttonView']['label']:getTranslation$i(this['locale'],'AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP')),this['_modelSelectionDropdown']['bind']('isEnabled')['to'](this,'modelSelectorEnabled',_0x27aa9d=>_0x27aa9d),this['_webSearchButton']['bind']('isOn')['to'](this,'webSearchActive',_0x4fddce=>_0x4fddce),this['_webSearchButton']['bind']('tooltip')['to'](this,'webSearchActive',_0x4c93fa=>getTranslation$i(this['locale'],_0x4c93fa?'AI_CHAT_DISABLE_WEB_SEARCH':'AI_CHAT_ENABLE_WEB_SEARCH')),this['_reasoningButton']['bind']('isOn')['to'](this,'reasoningActive',_0x46448d=>_0x46448d),this['_reasoningButton']['bind']('tooltip')['to'](this,'reasoningActive',_0x556695=>getTranslation$i(this['locale'],_0x556695?'AI_CHAT_DISABLE_REASONING':'AI_CHAT_ENABLE_REASONING')),this['setTemplate']({'tag':'div','attributes':{'class':[_0x583aa4['PROMPT_CAPABILITIES']]},'children':[this['_modelSelectionDropdown'],this['_modelNameView'],this['_webSearchButton'],this['_reasoningButton'],this['_commandsButton']]}),this['_modelSelectionDropdownItems']=new ckeditor5['Collection'](),ckeditor5['addListToDropdown'](this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']);}['setModelList'](_0x1ffa18,_0x43dcd8){if(_0x43dcd8)this['set']('modelDisplayMode','hidden');else{const _0x1c65de=0x1===_0x1ffa18['length'];this['set']('modelDisplayMode',_0x1c65de?'name':'selector');}if(this['_modelSelectionDropdownItems']['clear'](),_0x1ffa18?.['length'])for(const _0x4e7e64 of _0x1ffa18){const _0x2faaab=new ckeditor5['UIModel']({'label':_0x4e7e64['name'],'withText':!0x0,'role':'menuitemradio','id':_0x4e7e64['id'],'model':_0x4e7e64});_0x2faaab['bind']('isOn')['to'](this,'activeModelId',_0x26beaf=>_0x26beaf===_0x4e7e64['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x2faaab,'labelView':new ModelButtonLabelView$1(this['locale'],_0x4e7e64)});}}['setWebSearch'](_0x529540){this['set']('webSearchActive',_0x529540);}['setReasoning'](_0x4755b6){this['set']('reasoningActive',_0x4755b6);}['setModel'](_0x425c0c){if(!_0x425c0c)return;this['activeModelId']=_0x425c0c['id'],this['activeModelName']=_0x425c0c['name']||_0x425c0c['id'],this['_modelSelectionDropdown']['buttonView']['set']('label',_0x425c0c['name']),this['_modelSelectionDropdown']['buttonView']['set']('tooltip',_0x425c0c['name']);const _0x31095c=_0x425c0c['capabilities']['webSearch']?.['enabled']??!0x1;this['set']('webSearchActive',!0x1),this['_webSearchButton']['set']('isOn',!0x1),this['_webSearchButton']['set']('isEnabled',_0x31095c),this['_webSearchButton']['set']('isVisible',_0x31095c);const _0x59a605=_0x425c0c['capabilities']['reasoning']?.['enabled']??!0x1;this['set']('reasoningActive',!0x1),this['_reasoningButton']['set']('isOn',!0x1),this['_reasoningButton']['set']('isEnabled',_0x59a605),this['_reasoningButton']['set']('isVisible',_0x59a605);}['enableModelSelector'](){this['set']('modelSelectorEnabled',!0x0);}['disableModelSelector'](_0x2c8e3e){this['set']('modelSelectorEnabled',!0x1),_0x2c8e3e&&this['set']('modelDisplayMode','hidden');}['_createWebSearchButton'](){const _0x33c1fa=new ckeditor5['ButtonView']();return _0x33c1fa['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_SEARCH_WEB'),'icon':ckeditor5['IconWeb'],'class':_0x583aa4['CONTROLS_BUTTON']+'\x20'+_0x1f417a['TERTIARY'],'isToggleable':!0x0,'tooltipPosition':_0x425b48}),_0x33c1fa['on']('execute',()=>{this['fire']('toggleWebSearch');}),_0x33c1fa;}['_createReasoningButton'](){const _0x420eb8=new ckeditor5['ButtonView']();return _0x420eb8['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_REASONING'),'icon':ckeditor5['IconBulb'],'class':_0x583aa4['CONTROLS_BUTTON']+'\x20'+_0x1f417a['TERTIARY'],'isToggleable':!0x0,'tooltipPosition':_0x425b48}),_0x420eb8['on']('execute',()=>{this['fire']('toggleReasoning');}),_0x420eb8;}['_createCommandsButton'](){const _0x28adf2=new ckeditor5['ButtonView']();return _0x28adf2['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_COMMANDS'),'icon':ckeditor5['IconAI'],'withText':!0x0,'class':_0x583aa4['CONTROLS_BUTTON']+'\x20'+_0x1f417a['TERTIARY'],'isToggleable':!0x0,'tooltip':getTranslation$i(this['locale'],'AI_CHAT_COMMANDS'),'tooltipPosition':_0x425b48}),_0x28adf2['extendTemplate']({'attributes':{'class':[_0x583aa4['COMMANDS_BUTTON']]}}),_0x28adf2['on']('execute',()=>{console['log']('Commands\x20are\x20not\x20implemented\x20yet.'),alert('Commands\x20are\x20not\x20implemented\x20yet.');}),_0x28adf2;}['_createModelSelectionDropdown'](){const _0x48262c=ckeditor5['createDropdown'](this['locale']);return _0x48262c['set']({'panelPosition':'ne','class':[_0x583aa4['MODEL_SELECTION']]}),_0x48262c['buttonView']['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP'),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':_0x425b48,'class':_0x1f417a['TERTIARY']}),this['listenTo'](_0x48262c,'execute',_0x147702=>{this['fire']('selectModel',_0x147702['source']['model']);}),_0x48262c;}['_createModelNameView'](){const _0x50e9f2=new _0xa68363(this['locale']);return _0x50e9f2['bind']('text')['to'](this,'activeModelName',_0x114e14=>_0x114e14??''),_0x50e9f2['bind']('isVisible')['to'](this,'modelDisplayMode',_0x4b1040=>'name'===_0x4b1040),_0x50e9f2;}}let ModelButtonLabelView$1=class extends ckeditor5['ButtonLabelView']{constructor(_0x82e4ad,_0xbc6d2f){super();const _0x516fe5=this['bindTemplate'],_0x26ad28=this['createCollection']();this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x516fe5['to']('style'),'id':_0x516fe5['to']('id')},'children':[{'tag':'div','attributes':{'class':[_0x583aa4['MODEL_SELECTION_ITEM_NAME']]},'children':[{'text':_0x516fe5['to']('text')}]},{'tag':'div','attributes':{'class':[_0x583aa4['MODEL_SELECTION_ITEM_DESCRIPTION']]},'children':[{'tag':'span','children':[{'text':_0xbc6d2f['description']}]}]},{'tag':'div','attributes':{'class':[_0x583aa4['MODEL_SELECTION_ITEM_CAPABILITIES']]},'children':_0x26ad28}]}),_0x26ad28['addMany'](this['_getCapabilityParts'](_0x82e4ad,ckeditor5['IconWeb'],'AI_CHAT_SEARCH_WEB',_0xbc6d2f['capabilities']['webSearch']?.['enabled']??!0x1)),_0x26ad28['addMany'](this['_getCapabilityParts'](_0x82e4ad,ckeditor5['IconBulb'],'AI_CHAT_REASONING',_0xbc6d2f['capabilities']['reasoning']?.['enabled']??!0x1));}['_getCapabilityParts'](_0x41353b,_0x5324c5,_0x140241,_0x43be7d){const _0x427ca5=new ckeditor5['IconView']();_0x427ca5['content']=_0x5324c5;const _0x3f634f=new ckeditor5['View'](_0x41353b);_0x3f634f['setTemplate']({'tag':'span','children':[{'text':getTranslation$i(_0x41353b,_0x140241)+':\x20'}]});const _0xd987ad=new ckeditor5['View'](_0x41353b);return _0xd987ad['setTemplate']({'tag':'span','children':[{'text':getTranslation$i(_0x41353b,_0x43be7d?'AI_CHAT_CAPABILITIES_YES':'AI_CHAT_CAPABILITIES_NO')}]}),[_0x427ca5,_0x3f634f,_0xd987ad];}},_0xa68363=class extends ckeditor5['View']{constructor(_0x380dbf){super(_0x380dbf),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x12da65=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-chat-controls__model-name',_0x12da65['if']('isVisible','ck-hidden',_0x2faba4=>!_0x2faba4)]},'children':[{'text':_0x12da65['to']('text')}]});}};const _0x305ad1={'URL_FORM':'ck-ai-chat-context-controls__url-form','URL_INPUT_SECTION':'ck-ai-chat-context-controls__url-input-section'},_0x272565='n';class AIChatContextPanelUrlInputView extends ckeditor5['View']{['focusTracker'];['keystrokes'];['_focusables'];['focusCycler'];['urlInputField'];['backButton'];['confirmButton'];constructor(_0x24530d){super(_0x24530d),this['focusTracker']=new ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['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 ckeditor5['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'](_0x37526c=>{this['focusTracker']['add'](_0x37526c['element']),this['keystrokes']['listenTo'](_0x37526c['element']);}),ckeditor5['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'](_0xd72981){this['urlInputField']['errorText']=_0xd72981,this['_updateConfirmButtonState'](),this['fire']('refreshBalloon');}['clearError'](){this['urlInputField']['errorText']=null,this['_updateConfirmButtonState']();}['_createBackButton'](){const _0x20155d=new ckeditor5['ButtonView'](this['locale']);return _0x20155d['set']({'icon':ckeditor5['IconPreviousArrow'],'tooltip':getTranslation$i(this['locale'],'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT'),'tooltipPosition':_0x272565,'class':['ck-button-icon\x20ck-button-back']}),this['on']('change:withBackButton',(_0x58ed08,_0x3418b9,_0x20a17a)=>{_0x20155d['set']({'class':['ck-button-icon\x20ck-button-back'+(_0x20a17a?'':'\x20ck-hidden')]});}),_0x20155d;}['_createUrlInputField'](){const _0x51bbc5=new ckeditor5['LabeledFieldView'](this['locale'],ckeditor5['createLabeledInputText']);return _0x51bbc5['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_CONTEXT_URL_LABEL'),'class':'ck-labeled-field-view_empty'}),_0x51bbc5['fieldView']['set']({'placeholder':getTranslation$i(this['locale'],'AI_CHAT_CONTEXT_URL_PLACEHOLDER')}),_0x51bbc5;}['_createConfirmButton'](){const _0x1fa3ba=new ckeditor5['ButtonView'](this['locale']);return _0x1fa3ba['set']({'icon':ckeditor5['IconCheck'],'tooltip':getTranslation$i(this['locale'],'AI_CHAT_CONTEXT_URL_ADD_URL'),'tooltipPosition':_0x272565,'class':'ck-button-icon','type':'submit','isEnabled':!0x1}),_0x1fa3ba;}['_setupTemplate'](){const _0x4e20b7=new ckeditor5['FormHeaderView'](this['locale'],{'label':getTranslation$i(this['locale'],'AI_CHAT_CONTEXT_URL_ADD_URL'),'class':'ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_context-url'});_0x4e20b7['children']['add'](this['backButton'],0x0),this['setTemplate']({'tag':'form','attributes':{'class':_0x305ad1['URL_FORM'],'tabindex':'-1'},'children':[_0x4e20b7,{'tag':'div','attributes':{'class':_0x305ad1['URL_INPUT_SECTION']},'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',_0x49e3e5=>{_0x49e3e5['stop'](),this['_handleSubmit']();});}['_setupKeystrokes'](){this['keystrokes']['set']('esc',(_0x1efb08,_0x248a58)=>{this['clear'](),this['fire']('cancel'),_0x248a58();});}['_handleSubmit'](){const _0x2a6d1e=this['getValue']()['trim']();_0x2a6d1e?this['_isValidUrl'](_0x2a6d1e)?(this['clearError'](),this['fire']('submitUrl',_0x2a6d1e)):this['setError'](getTranslation$i(this['locale'],'AI_CHAT_CONTEXT_URL_INVALID_ERROR')):this['setError'](getTranslation$i(this['locale'],'AI_CHAT_CONTEXT_URL_EMPTY_ERROR'));}['_updateConfirmButtonState'](){const _0x5247cf=this['getValue']()['trim'](),_0x186472=!!this['urlInputField']['errorText'];this['confirmButton']['isEnabled']=_0x5247cf['length']>0x0&&!_0x186472;}['_isValidUrl'](_0x2f33c9){try{return!!new URL(_0x2f33c9);}catch{return!0x1;}}}const _0x1a2132={'ITEM':'ck-ai-chat-resources__item','ITEM_IN_CONTEXT':'ck-ai-chat-resources__item--in-context','ITEM_TITLE':'ck-ai-chat-resources__item-title','ITEM_ICON':'ck-ai-chat-resources__item__icon'};class AIChatResourceListItemView extends ckeditor5['ListItemView']{['resource'];['_titleView'];['_iconView'];constructor(_0x7fd0ce,_0x57674f){super(_0x7fd0ce),this['resource']=_0x57674f,this['set']('isInContext',!!_0x57674f['isInContext']),this['_titleView']=this['_createTitleView'](),this['_iconView']=this['_createIconView'](),this['_setupTemplate']();}['render'](){super['render']();}['getResourceIcon'](_0x3ebbd5){if(_0x3ebbd5['isInContext'])return ckeditor5['IconCheck'];switch(_0x3ebbd5['type']){case'document':return ckeditor5['IconDocument'];case'web-resource':return ckeditor5['IconLink'];case'file':case'text':return ckeditor5['IconFileUpload'];default:return ckeditor5['IconDocumentOutline'];}}['highlightText'](_0x5e91e5){if(!_0x5e91e5||''===_0x5e91e5['trim']())return void this['_titleView']['highlightText'](null);const _0x84ed43=new RegExp(_0x205a41(_0x5e91e5),'gi');this['_titleView']['highlightText'](_0x84ed43);}['updateResourceState'](_0x5f4e57){this['resource']['isInContext']=_0x5f4e57,this['isInContext']=_0x5f4e57,this['_updateIcon']();}['_createTitleView'](){const _0x52655c=new ckeditor5['HighlightedTextView']();return _0x52655c['text']=this['resource']['label'],_0x52655c['extendTemplate']({'tag':'span','attributes':{'class':[_0x1a2132['ITEM_TITLE']]}}),_0x52655c;}['_createIconView'](){const _0x59790c=new ckeditor5['IconView']();return _0x59790c['content']=this['getResourceIcon'](this['resource']),_0x59790c;}['_setupTemplate'](){const _0x3d8d29=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':[_0x1a2132['ITEM'],_0x3d8d29['if']('isVisible','ck-hidden',_0x255b5a=>!_0x255b5a),_0x3d8d29['if']('isInContext',_0x1a2132['ITEM_IN_CONTEXT'])]},'children':[{'tag':'div','attributes':{'class':[_0x1a2132['ITEM_ICON']]},'children':[this['_iconView']]},this['_titleView']],'on':{'click':_0x3d8d29['to']('execute')}});}['_updateIcon'](){this['_iconView']['content']=this['getResourceIcon'](this['resource']);}}const _0x340761={'LIST':'ck-ai-chat-resources__list'};class AIChatContextResourcesListView extends ckeditor5['ListView']{['_source'];constructor(_0x2c3b85,_0x22a9e5){super(_0x2c3b85),this['_source']=_0x22a9e5,this['extendTemplate']({'attributes':{'class':[_0x340761['LIST']]}});}['setResources'](_0x36f839,_0x22ccdf){this['items']['clear']();let _0x31039f=_0x36f839;if(this['_source']['useDefaultFiltering']&&_0x22ccdf&&''!==_0x22ccdf['trim']()){const _0x5e8356=new RegExp(_0x22ccdf['replace'](/[.*+?^${}()|[\]\\]/g,'\x5c$&'),'gi');_0x31039f=_0x36f839['filter'](_0x385d68=>_0x5e8356['test'](_0x385d68['label']));}for(const _0x569a6d of _0x31039f){const _0xafff0c=new AIChatResourceListItemView(this['locale'],_0x569a6d);_0xafff0c['on']('execute',()=>{this['_handleResourceSelection'](this['_source'],_0x569a6d);}),this['items']['add'](_0xafff0c);}this['_source']['useDefaultFiltering']&&this['highlightText'](_0x22ccdf);}['highlightText'](_0x5bceb7){this['_source']['useDefaultFiltering']&&this['items']['forEach'](_0x35e9b4=>{_0x35e9b4['highlightText'](_0x5bceb7);});}['updateResourceState'](_0x230558,_0x266b54){for(const _0x35a62f of this['items']){const _0x42a2fd=_0x35a62f;_0x42a2fd['resource']['id']===_0x230558&&_0x42a2fd['updateResourceState'](_0x266b54);}}['_handleResourceSelection'](_0x39e9db,_0x447cde){this['fire']('addResourceToContext',{'source':_0x39e9db,'resource':_0x447cde});}}class AIChatContextResourcesSearchInputView extends ckeditor5['LabeledFieldView']{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x435f3f){const t=_0x435f3f['t'],_0x431386={'showResetButton':!0x0,'showIcon':!0x0,'creator':ckeditor5['createLabeledInputText'],'label':getTranslation$i(_0x435f3f,'AI_CHAT_SEARCH_RESOURCES')};super(_0x435f3f,_0x431386['creator']),this['label']=_0x431386['label'],this['_viewConfig']=_0x431386,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x435f3f,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x5e4525){this['fire']('search',_0x5e4525);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new ckeditor5['IconView'](),this['iconView']['content']=ckeditor5['IconLoupe'],this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x366de5,t){this['resetButtonView']=new ckeditor5['ButtonView'](_0x366de5),this['resetButtonView']['set']({'label':t('Clear'),'icon':ckeditor5['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',_0x638c7f=>!_0x638c7f),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 ckeditor5['View']{['_searchView'];['_searchSection'];['_searchInputVisibleFrom'];['_resourcesListView'];['_skeletonLoader'];['_source'];['children'];['_latestLoadResourcesUid']=null;constructor(_0xcf7c8a,_0x53dd1b){super(_0xcf7c8a),this['_source']=_0x53dd1b['source'],this['_searchInputVisibleFrom']=_0x53dd1b['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 ckeditor5['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 _0xc9dc87=new ckeditor5['View'](this['locale']);return _0xc9dc87['setTemplate']({'tag':'div','attributes':{'class':'ck\x20ck-search'},'children':[this['_searchView']]}),this['_searchView']['on']('search',(_0x24278b,_0x2fdfe4)=>{this['loadResources'](_0x2fdfe4),this['_source']['useDefaultFiltering']&&this['_resourcesListView']['highlightText'](_0x2fdfe4);}),_0xc9dc87;}['_createResourcesListView'](){const _0x39de7f=new AIChatContextResourcesListView(this['locale'],this['_source']);return _0x39de7f['delegate']('addResourceToContext')['to'](this),_0x39de7f['extendTemplate']({'attributes':{'class':this['bindTemplate']['if']('isLoading','ck-hidden')}}),_0x39de7f;}['_createSkeletonView'](){const _0xac9078=new AISkeletonView(this['locale'],_0x3fff2d['aiChatResources']);return _0xac9078['bind']('isVisible')['to'](this,'isLoading'),_0xac9078;}['render'](){super['render'](),this['loadResources']('');}['loadResources'](_0x271525){const _0x65964d=ckeditor5['uid']();this['_latestLoadResourcesUid']=_0x65964d,this['fire']('loadSourceResources',{'sourceId':this['_source']['id'],'query':_0x271525,'uid':_0x65964d}),this['isLoading']=!0x0;}['setResources'](_0x33786a,_0xfa6673){if(_0xfa6673&&_0xfa6673!==this['_latestLoadResourcesUid'])return;const _0x25afa8=this['_source']['useDefaultFiltering']?this['_searchView']['getQuery']():'';this['_resourcesListView']['setResources'](_0x33786a,_0x25afa8),_0x33786a['length']>=this['_searchInputVisibleFrom']&&!this['children']['has'](this['_searchSection'])&&this['children']['add'](this['_searchSection'],0x0),requestAnimationFrame(()=>{this['isLoading']=!0x1;});}['updateResourceState'](_0x416237,_0x5a8390){this['_resourcesListView']['updateResourceState'](_0x416237,_0x5a8390);}}const _0x1370cf={'SOURCE_BALLOON_PANEL':'ck-ai-chat-context-controls__source-balloon-panel','SOURCE_BACK_BUTTON':'ck-button-icon\x20ck-button-back','SOURCE_HEADER':'ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source'},_0x193c6f='n';class AIChatResourcesBalloonView{['_sourceResourceBalloons']=new Map();['_bodyCollection'];['_locale'];['_config'];constructor(_0x3e058a,_0x79dcfa,_0x2e39e8){this['_locale']=_0x3e058a,this['_bodyCollection']=_0x79dcfa,this['_config']=_0x2e39e8;}['showSourceResourcesBalloon']({source:_0x2c7837,withBackButton:_0x40e287}){let _0x1121a0=this['_sourceResourceBalloons']['get'](_0x2c7837['id']);_0x1121a0||(_0x1121a0=this['_createSourceResourceBalloonPanel'](),this['_sourceResourceBalloons']['set'](_0x2c7837['id'],_0x1121a0),this['_setupSingleResourceBalloonClickOutsideHandler'](_0x1121a0)),this['_addSourceResourceContent']({'balloonPanel':_0x1121a0,'source':_0x2c7837,'withBackButton':_0x40e287}),_0x1121a0['show']();const _0x53ac14=this['_config']['getTargetElement']();_0x53ac14&&_0x1121a0['pin']({'target':_0x53ac14,'limiter':this['_config']['getLimiterElement']()});}['populateSourceResourceBalloon'](_0x1fd3fe,_0x9d52eb,_0x50e739){const _0x1cc579=this['_sourceResourceBalloons']['get'](_0x1fd3fe);if(!_0x1cc579)return;const _0x5abfa9=this['_getResourcesViewFromBalloon'](_0x1cc579);_0x5abfa9&&(_0x5abfa9['setResources'](_0x9d52eb,_0x50e739),_0x5abfa9['once']('change:isLoading',()=>{_0x1cc579['pin']({'target':this['_config']['getTargetElement'](),'limiter':this['_config']['getLimiterElement']()});}));}['closeSourceResourceBalloon'](_0x309b6c){const _0x5b7157=this['_sourceResourceBalloons']['get'](_0x309b6c);_0x5b7157&&requestAnimationFrame(()=>{_0x5b7157['hide'](),this['_sourceResourceBalloons']['delete'](_0x309b6c),this['_config']['onBalloonClosed']();});}['isAnyResourceBalloonVisible'](){for(const _0x5ab4b7 of this['_sourceResourceBalloons']['values']())if(_0x5ab4b7['isVisible'])return!0x0;return!0x1;}['updateResourceState'](_0x2b6b6a,_0x4dfb74,_0xeacc8d){const _0x298b3d=this['_sourceResourceBalloons']['get'](_0x2b6b6a);if(!_0x298b3d||!_0x298b3d['isVisible'])return;const _0x4db1f2=this['_config']['getTargetElement']();if(!_0x4db1f2)return;_0x298b3d['pin']({'target':_0x4db1f2,'limiter':this['_config']['getLimiterElement']()});const _0x503a17=this['_getResourcesViewFromBalloon'](_0x298b3d);_0x503a17&&_0x503a17['updateResourceState'](_0x4dfb74,_0xeacc8d);}['destroy'](){for(const _0x16914 of this['_sourceResourceBalloons']['values']())_0x16914['destroy']();this['_sourceResourceBalloons']['clear']();}['_createSourceResourceBalloonPanel'](){const _0x5249c2=new ckeditor5['BalloonPanelView'](this['_locale']);return _0x5249c2['extendTemplate']({'attributes':{'class':_0x1370cf['SOURCE_BALLOON_PANEL']}}),this['_bodyCollection']['add'](_0x5249c2),_0x5249c2;}['_addSourceResourceContent']({balloonPanel:_0x32a89e,source:_0x5d4694,withBackButton:_0x29ce75}){_0x32a89e['content']['clear']();const _0x27fd4c=this['_createBalloonHeader']({'balloonPanel':_0x32a89e,'source':_0x5d4694,'withBackButton':_0x29ce75});_0x32a89e['content']['add'](_0x27fd4c);const _0x3e2602=this['_createBalloonResourcesView'](_0x5d4694);_0x32a89e['content']['add'](_0x3e2602);}['_createBalloonHeader']({balloonPanel:_0x3d6aa5,source:_0x5c7f69,withBackButton:_0x398d1d}){const _0x41f78f=new ckeditor5['FormHeaderView'](this['_locale'],{'label':_0x5c7f69['label'],'class':_0x1370cf['SOURCE_HEADER']});return _0x398d1d&&_0x41f78f['children']['add'](this['_createBackButton'](_0x3d6aa5),0x0),_0x41f78f;}['_createBackButton'](_0x44ef40){const _0x45066b=new ckeditor5['ButtonView'](this['_locale']);return _0x45066b['set']({'icon':ckeditor5['IconPreviousArrow'],'tooltip':getTranslation$i(this['_locale'],'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT'),'tooltipPosition':_0x193c6f,'class':_0x1370cf['SOURCE_BACK_BUTTON']}),_0x45066b['on']('execute',()=>{_0x44ef40['hide'](),this['_config']['onBackToContext']();}),_0x45066b;}['_createBalloonResourcesView'](_0x5d2dec){const _0x52a5ed=new AIChatContextResourcesView(this['_locale'],{'source':_0x5d2dec,'searchInputVisibleFrom':this['_config']['searchInputVisibleFrom']});return _0x52a5ed['on']('loadSourceResources',(_0xe10441,_0x32f237)=>{this['_config']['onLoadSourceResources'](_0x32f237);}),_0x52a5ed['on']('addResourceToContext',(_0x23927b,_0x331c22)=>{this['_config']['onResourceSelected'](_0x331c22['source'],_0x331c22['resource']),this['closeSourceResourceBalloon'](_0x5d2dec['id']);}),_0x52a5ed;}['_getResourcesViewFromBalloon'](_0x5ef098){const _0x59c678=_0x5ef098['content']['get'](0x1);return _0x59c678 instanceof AIChatContextResourcesView?_0x59c678:null;}['_setupSingleResourceBalloonClickOutsideHandler'](_0x50d3b1){ckeditor5['clickOutsideHandler']({'emitter':_0x50d3b1,'contextElements':[_0x50d3b1['element']],'callback':()=>{_0x50d3b1['hide'](),this['_config']['onBalloonClosed']();},'activator':()=>_0x50d3b1['isVisible']});}}const _0x17e50d=['addDocumentToContext','addFileToContext','addUrlToContext','addResourceToContext','removeContextItem','loadSourceResources','executeCustomItemCallback'],_0x5d5387={'CONTEXT_CONTROLS':'ck-ai-chat-context-controls','PENDING_CONTEXTS':'ck-ai-chat-context-controls__pending-contexts','ADD_CONTEXT_BALLOON':'ck-ai-chat-context-controls__add-context-balloon-panel','ADD_CONTEXT_BUTTON':'ck-ai-chat-context-controls__add-context-button','URL_BALLOON':'ck-ai-chat-context-controls__url-balloon-panel','BALLOON_BUTTON':'ck-ai-chat-context-controls__balloon-button','BALLOON_BUTTON_SOURCE':'ck-ai-chat-context-controls__balloon-button-source','CONTROLS_BUTTON':'ck-ai-chat-controls-button','CONVERSATION_CONTEXT_CHIPS':'ck-ai-chat-context-chips-wrapper-balloon','SHOW_MORE_BUTTON':'ck-ai-chat-controls_context_show-more-button','SHOW_MORE_BALLOON':'ck-ai-chat-context-controls__show-more-balloon-panel','CHAT_CONTAINER':'ck-ai-chat'},_0x1059d0='sw',_0x254000=[ckeditor5['BalloonPanelView']['defaultPositions']['northArrowSouthWest'],ckeditor5['BalloonPanelView']['defaultPositions']['northArrowSouth'],ckeditor5['BalloonPanelView']['defaultPositions']['northArrowSouthEast'],ckeditor5['BalloonPanelView']['defaultPositions']['southArrowNorthWest'],ckeditor5['BalloonPanelView']['defaultPositions']['southArrowNorth'],ckeditor5['BalloonPanelView']['defaultPositions']['southArrowNorthEast']];class AIChatContextPanelView extends ckeditor5['View']{['addContextButtonView'];['_currentContextsChips']=this['createCollection']();['_conversationContextsChips']=this['createCollection']();['_overflowManager'];['_addContextBalloonPanelView'];['_urlBalloonPanelView'];['_urlInputView'];['_resourcesBalloonView'];['_addContextBalloonConfig'];['_hasExactlyOneSource']=!0x1;['bodyCollection'];constructor(_0x53e7db,_0x3d5b72){super(_0x53e7db),this['bodyCollection']=_0x3d5b72['bodyCollection'],this['_currentContextsChips']=this['createCollection'](),this['_conversationContextsChips']=this['createCollection'](),this['addContextButtonView']=this['_createAddContextButtonView'](_0x53e7db),this['_addContextBalloonPanelView']=this['_createAddContextBalloonPanelView'](_0x53e7db),this['_urlBalloonPanelView']=this['_createUrlBalloonPanelView'](_0x53e7db),this['_resourcesBalloonView']=this['_createResourcesBalloonView'](_0x53e7db,_0x3d5b72);const _0x4eb024={'cssClasses':{'showMoreButton':_0x5d5387['SHOW_MORE_BUTTON']+'\x20'+_0x1f417a['TERTIARY'],'showMoreBalloon':_0x5d5387['SHOW_MORE_BALLOON'],'overflowContainer':_0x5d5387['CONVERSATION_CONTEXT_CHIPS'],'controlsButton':_0x5d5387['CONTROLS_BUTTON']}};this['_overflowManager']=new AIChatChipsOverflowManager(_0x53e7db,this['_currentContextsChips'],_0x4eb024,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'](_0x57ce87,_0x52e841){const _0x543519=this['_createContextButton'](_0x57ce87,'current',!0x0,_0x52e841);this['_addContextToCollection'](_0x543519,this['_currentContextsChips']),this['_overflowManager']['reorganizeChips']();}['removeContextItem'](_0x1151cd){this['_removeContextFromCollection'](_0x1151cd,this['_currentContextsChips']),this['_removeContextFromCollection'](_0x1151cd,this['_overflowManager']['overflowChips']),this['_overflowManager']['reorganizeChips']();}['setContextItemLoading'](_0x1b3242,_0x58f353){let _0x501ca1=this['_currentContextsChips']['find'](_0x3ad531=>_0x3ad531['id']===_0x1b3242);_0x501ca1||(_0x501ca1=this['_overflowManager']['overflowChips']['find'](_0x48db2d=>_0x48db2d['id']===_0x1b3242)),_0x501ca1&&(_0x501ca1['isLoading']=_0x58f353);}['setConversationContext'](_0x3313bd){this['_conversationContextsChips']['clear']();for(const _0x374a73 of _0x3313bd){const _0x220667=this['_createContextButton'](_0x374a73,'conversation',!0x1,!0x1);this['_addContextToCollection'](_0x220667,this['_conversationContextsChips']);}}['clearCurrentContextItems'](){this['_currentContextsChips']['clear'](),this['_overflowManager']['clear']();}['clearConversationContextItems'](){this['_conversationContextsChips']['clear']();}['updateResourceState'](_0x275aba,_0x216171,_0x5edd90){this['_resourcesBalloonView']['updateResourceState'](_0x275aba,_0x216171,_0x5edd90);}['hideAddContextBalloonPanel'](){this['_toggleAddContextBalloon'](!0x1);}['showAddContextBalloonPanel'](){this['_toggleAddContextBalloon'](!0x0);}['hideUrlBalloonPanel'](){this['_urlBalloonPanelView']['hide'](),this['addContextButtonView']['isOn']=!0x1,this['_urlInputView']&&this['_urlInputView']['clear']();}['showUrlBalloonPanel'](){this['_urlBalloonPanelView']['show'](),this['addContextButtonView']['isOn']=!0x0;}['_showSourceResourcesBalloon']({source:_0x20a0b0,withBackButton:_0xd484cf}){this['_resourcesBalloonView']['showSourceResourcesBalloon']({'source':_0x20a0b0,'withBackButton':_0xd484cf}),this['addContextButtonView']['isOn']=!0x0;}['populateSourceResourceBalloon'](_0x539b90,_0x1fdc20,_0x345b96,_0x417372){this['_resourcesBalloonView']['populateSourceResourceBalloon'](_0x539b90,_0x345b96,_0x417372);}['closeSourceResourceBalloon'](_0x1df6c6){this['_resourcesBalloonView']['closeSourceResourceBalloon'](_0x1df6c6),this['addContextButtonView']['isOn']=!0x1;}['setAddContextOptions'](_0x311a66){this['_setBalloonPanelContent'](this['_addContextBalloonPanelView'],this['locale'],_0x311a66),this['_setAddContextButtonEnabled'](_0x311a66);}['_setAddContextButtonEnabled'](_0x258c65){const _0x58f084=!_0x258c65['document']['isHidden']&&_0x258c65['document']['enabled'],_0x5a2b98=_0x258c65['urls']['enabled'],_0x3acd4f=_0x258c65['files']['enabled'],_0x19eb57=_0x258c65['sources']['length']>0x0,_0x1dd360=_0x258c65['customItems']&&_0x258c65['customItems']['length']>0x0;this['addContextButtonView']['isEnabled']=_0x58f084||_0x5a2b98||_0x3acd4f||_0x19eb57||_0x1dd360;}['_setupTemplate'](){this['setTemplate']({'tag':'div','attributes':{'class':[_0x5d5387['CONTEXT_CONTROLS'],'ck-reset_all-excluded']},'children':[{'tag':'div','attributes':{'class':_0x5d5387['PENDING_CONTEXTS']},'children':this['_currentContextsChips']}]});}['_bindEventHandlers'](){this['addContextButtonView']['on']('execute',()=>{this['_handleAddContextButtonClick']();});}['_createAddContextButtonView'](_0x4233e5){const _0x474474=new ckeditor5['ButtonView'](_0x4233e5);return _0x474474['set']({'label':getTranslation$i(_0x4233e5,'AI_CHAT_CONTEXT_ADD_CONTEXT'),'class':_0x5d5387['CONTROLS_BUTTON']+'\x20'+_0x5d5387['ADD_CONTEXT_BUTTON']+'\x20'+_0x1f417a['TERTIARY'],'icon':ckeditor5['IconPaperClip'],'isToggleable':!0x0,'tooltip':!0x0,'tooltipPosition':_0x1059d0}),_0x474474;}['_createAddContextBalloonPanelView'](_0x135aaa){return this['_createBaseBalloonPanel'](_0x135aaa,_0x5d5387['ADD_CONTEXT_BALLOON']);}['_createUrlBalloonPanelView'](_0x4bcccc){const _0x5d6a63=this['_createBaseBalloonPanel'](_0x4bcccc,_0x5d5387['URL_BALLOON']);return this['_addUrlContent'](_0x5d6a63,_0x4bcccc),_0x5d6a63;}['_createResourcesBalloonView'](_0x21d514,_0x186591){const _0x3e5451={'searchInputVisibleFrom':_0x186591['searchInputVisibleFrom'],'onBackToContext':()=>{this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x254000});},'onResourceSelected':(_0x5e395b,_0x5b1d90)=>{this['fire']('addResourceToContext',{'source':_0x5e395b,'resource':_0x5b1d90});},'onLoadSourceResources':_0x1809be=>{this['fire']('loadSourceResources',_0x1809be);},'onBalloonClosed':()=>{this['addContextButtonView']['isOn']=!0x1;},'getLimiterElement':()=>this['_getLimiterElement'](),'getTargetElement':()=>this['addContextButtonView']['element']};return new AIChatResourcesBalloonView(_0x21d514,_0x186591['bodyCollection'],_0x3e5451);}['_getLimiterElement'](){return this['element']?.['closest']('.'+_0x5d5387['CHAT_CONTAINER'])||document['body'];}['_createBaseBalloonPanel'](_0x524f57,_0x2c5d9f){const _0x4b69db=new ckeditor5['BalloonPanelView'](_0x524f57);return _0x4b69db['extendTemplate']({'attributes':{'class':_0x2c5d9f}}),this['bodyCollection']['add'](_0x4b69db),_0x4b69db;}['_setBalloonPanelContent'](_0x148d4b,_0xe35966,_0x44dd10){if(_0x148d4b['content']['clear'](),!_0x44dd10['document']['isHidden']&&_0x44dd10['document']['enabled']){const _0x2e7f9b=this['_createBalloonButton'](_0xe35966,{'label':getTranslation$i(_0xe35966,'AI_CHAT_CONTEXT_CURRENT_DOCUMENT'),'icon':ckeditor5['IconDocument']});_0x2e7f9b['on']('execute',()=>{this['fire']('addDocumentToContext'),this['hideAddContextBalloonPanel']();}),_0x148d4b['content']['add'](_0x2e7f9b);}if(_0x44dd10['urls']['enabled']){const _0x59223f=this['_createBalloonButton'](_0xe35966,{'label':getTranslation$i(_0xe35966,'AI_CHAT_CONTEXT_URL_LABEL'),'icon':ckeditor5['IconLink']});_0x59223f['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['showUrlBalloonPanel'](),this['_urlBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x254000}),this['_urlInputView']['focus']();}),_0x148d4b['content']['add'](_0x59223f);}if(_0x44dd10['files']['enabled']){const _0x3e0904=new ckeditor5['FileDialogButtonView'](_0xe35966);_0x3e0904['set']({'label':getTranslation$i(_0xe35966,'AI_CHAT_CONTEXT_FILE_LABEL'),'icon':ckeditor5['IconBrowseFiles'],'withText':!0x0,'tooltip':!0x0,'class':_0x5d5387['BALLOON_BUTTON'],'allowMultipleFiles':!0x0}),_0x3e0904['on']('execute',()=>{this['hideAddContextBalloonPanel']();}),_0x3e0904['on']('done',(_0x1cb93f,_0x2e3aa5)=>{this['fire']('addFileToContext',_0x2e3aa5);}),_0x3e0904['tooltip']=!0x0,_0x148d4b['content']['add'](_0x3e0904);}for(const _0x6c2b43 of _0x44dd10['sources']){const _0x2779f7=this['_createBalloonButton'](_0xe35966,{'label':_0x6c2b43['label'],'icon':_0x6c2b43['icon']||ckeditor5['IconDocumentOutline'],'type':'source'});_0x148d4b['content']['add'](_0x2779f7),_0x2779f7['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['_showSourceResourcesBalloon']({'source':_0x6c2b43,'withBackButton':!this['_hasExactlyOneSource']});});}for(const _0x854b93 of _0x44dd10['customItems']||[]){const _0x18b73b=this['_createBalloonButton'](_0xe35966,{'label':_0x854b93['label'],'icon':_0x854b93['icon']||ckeditor5['IconDocumentOutline'],'type':'customItem'});_0x148d4b['content']['add'](_0x18b73b),_0x18b73b['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['fire']('executeCustomItemCallback',_0x854b93);});}this['_hasExactlyOneSource']=0x1===_0x148d4b['content']['length'],this['_urlInputView']['withBackButton']=!this['_hasExactlyOneSource'];}['_addUrlContent'](_0x4b3261,_0x5551cb){this['_urlInputView']=new AIChatContextPanelUrlInputView(_0x5551cb),this['_urlInputView']['on']('submitUrl',(_0x431a45,_0x5c06ec)=>{this['_handleUrlSubmit'](_0x5c06ec);}),this['_urlInputView']['on']('cancel',()=>{this['hideUrlBalloonPanel'](),this['_hasExactlyOneSource']||(this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x254000}));}),this['_urlInputView']['on']('refreshBalloon',()=>{this['_urlBalloonPanelView']['isVisible']&&this['_urlBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x254000});}),_0x4b3261['content']['add'](this['_urlInputView']);}['_createBalloonButton'](_0x3430b7,_0x19c69f){const _0x10aa58='source'===_0x19c69f['type']?new SourcesBalloonButtonView(_0x3430b7):new ckeditor5['ButtonView'](_0x3430b7);return _0x10aa58['set']({'label':_0x19c69f['label'],'icon':_0x19c69f['icon'],'withText':!0x0,'tooltip':!0x0,'tooltipPosition':_0x1059d0,'class':_0x5d5387['BALLOON_BUTTON']}),_0x10aa58;}['_setupAllBalloonClickOutsideHandlers'](){this['_setupAddContextBalloonClickOutsideHandler'](),this['_setupUrlBalloonClickOutsideHandler']();}['_setupUrlBalloonClickOutsideHandler'](){ckeditor5['clickOutsideHandler']({'emitter':this['_urlBalloonPanelView'],'contextElements':[this['_urlBalloonPanelView']['element']],'callback':()=>{this['hideUrlBalloonPanel']();},'activator':()=>this['_urlBalloonPanelView']['isVisible']});}['_toggleAddContextBalloon'](_0x2493db){const _0x50ade3=this['_addContextBalloonConfig'];_0x50ade3['buttonView']['isOn']=_0x2493db,_0x2493db?_0x50ade3['balloonView']['show']():_0x50ade3['balloonView']['hide']();}['_setupAddContextBalloonClickOutsideHandler'](){const {balloonView:_0x3f15f1,buttonView:_0x125ec9,hideMethod:_0x3f93b5}=this['_addContextBalloonConfig'];ckeditor5['clickOutsideHandler']({'emitter':_0x3f15f1,'contextElements':[_0x3f15f1['element'],_0x125ec9['element']],'callback':()=>{_0x3f93b5();},'activator':()=>_0x125ec9['isOn']&&!this['_urlBalloonPanelView']['isVisible']&&!this['_resourcesBalloonView']['isAnyResourceBalloonVisible']()});}['_createContextButton'](_0x15d001,_0x4356fb,_0x592dcc=!0x1,_0x4fa8d6=!0x1){const _0x252c20='conversation'===_0x4356fb||!0x0===_0x15d001['isReadOnly'],_0x5f2f92=new AIChatContextItemButtonView(this['locale'],_0x15d001,_0x252c20,_0x592dcc,_0x4fa8d6);return _0x252c20||_0x5f2f92['on']('removeContextItemChip',()=>{this['fire']('removeContextItem',_0x5f2f92['id']);}),_0x5f2f92;}['_addContextToCollection'](_0x563da2,_0xf90c2b){_0xf90c2b['add'](_0x563da2,0x0);}['_removeContextFromCollection'](_0x1ef727,_0x301aab){const _0x49cb3a=_0x301aab['find'](_0x73cec0=>_0x73cec0['id']===_0x1ef727);_0x49cb3a&&_0x301aab['remove'](_0x49cb3a);}['_handleAddContextButtonClick'](){this['addContextButtonView']['isOn']?this['hideAddContextBalloonPanel']():(this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x254000}),this['_hasExactlyOneSource']&&this['_addContextBalloonPanelView']['content']['get'](0x0)?.['fire']('execute'));}['_handleUrlSubmit'](_0x39b44c){this['_urlInputView']['clear'](),this['hideUrlBalloonPanel'](),this['fire']('addUrlToContext',_0x39b44c);}}class SourcesBalloonButtonView extends ckeditor5['ButtonView']{['arrowView'];constructor(_0x5ec63c){super(_0x5ec63c),this['set']({'withText':!0x0,'role':'menuitem'}),this['arrowView']=this['_createArrowView'](),this['extendTemplate']({'attributes':{'class':[_0x5d5387['BALLOON_BUTTON_SOURCE']]}});}['render'](){super['render'](),this['children']['add'](this['arrowView']);}['_createArrowView'](){const _0x1a93b6=new ckeditor5['IconView']();return _0x1a93b6['content']=ckeditor5['IconDropdownArrow'],_0x1a93b6['extendTemplate']({'attributes':{'class':_0x5d5387['BALLOON_BUTTON_SOURCE']+'__arrow'}}),_0x1a93b6;}}class AIChatControlsLoaderView extends ckeditor5['View']{['_cancelButtonView'];['_loaderView'];constructor(_0x1371b6){super(_0x1371b6),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 _0x5bf1c3=new ckeditor5['ButtonView'](this['locale']);return _0x5bf1c3['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_STOP_GENERATING'),'withText':!0x0,'class':_0x1f417a['SECONDARY']+'\x20ck-ai-button-stop-generating','icon':ckeditor5['IconStop']}),_0x5bf1c3['on']('execute',()=>{this['fire']('abortPromptStream');}),_0x5bf1c3;}['_createLoaderView'](){const _0x34f1d3=new ckeditor5['View'](this['locale']);return _0x34f1d3['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':getTranslation$i(this['locale'],'AI_CHAT_IS_WRITING')}]}),_0x34f1d3;}}class AIChatControlsView extends ckeditor5['View']{['_contextPanelView'];['_promptInputView'];['_promptCapabilitiesView'];['_loaderView'];['_modelUnavailableMessageView'];['_shouldRestorePromptInputFocus'];constructor(_0x13f8b6,_0x6eeb3c){super(_0x13f8b6),this['_contextPanelView']=this['_createContextPanelView'](_0x13f8b6,{'bodyCollection':_0x6eeb3c['bodyCollection'],'searchInputVisibleFrom':_0x6eeb3c['contextResourcesSearchInputVisibleFrom']}),this['_promptInputView']=this['_createPromptInputView'](_0x13f8b6),this['_promptCapabilitiesView']=this['_createPromptCapabilitiesView'](_0x13f8b6),this['_loaderView']=this['_createLoaderView'](_0x13f8b6),this['_modelUnavailableMessageView']=this['_createModelUnavailableMessageView'](_0x13f8b6),this['_shouldRestorePromptInputFocus']=!0x1,this['_promptInputView']['delegate']('sendUserMessage')['to'](this),this['_loaderView']['delegate']('abortPromptStream')['to'](this),this['_promptCapabilitiesView']['delegate']('toggleWebSearch')['to'](this),this['_promptCapabilitiesView']['delegate']('toggleReasoning')['to'](this),this['_promptCapabilitiesView']['delegate']('selectModel')['to'](this),this['_contextPanelView']['delegate'](..._0x17e50d)['to'](this),this['set']('isModelAvailable',!0x0),this['set']('isDisabled',!0x1);const _0x77810d=this['bindTemplate'];this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-ai-chat-controls',_0x77810d['if']('isDisabled','ck-ai-chat-controls-disabled')]},'children':[{'tag':'div','attributes':{'class':[_0x77810d['if']('isLoading','ck-hidden',_0x240be7=>_0x240be7||!this['isModelAvailable']),_0x77810d['if']('isModelAvailable','ck-hidden',_0x3493f8=>!_0x3493f8||this['isLoading'])]},'children':[this['_contextPanelView'],this['_promptInputView'],this['_promptCapabilitiesView']]},{'tag':'div','attributes':{'class':[_0x77810d['if']('isLoading','ck-hidden',_0xf255f4=>!_0xf255f4)]},'children':[this['_loaderView']]},{'tag':'div','attributes':{'class':[_0x77810d['if']('isModelAvailable','ck-hidden',_0x449672=>_0x449672)]},'children':[this['_modelUnavailableMessageView']]}]}),ckeditor5['clickOutsideHandler']({'emitter':this['_promptInputView'],'activator':()=>this['isLoading'],'contextElements':()=>[this['element']],'callback':()=>{this['_shouldRestorePromptInputFocus']=!0x1;}}),this['on']('change:isLoading',this['_handlePromptInputFocus'],{'priority':'low'});}['_createContextPanelView'](_0x34c872,_0x322b85){return new AIChatContextPanelView(_0x34c872,_0x322b85);}['_createPromptInputView'](_0x46716e){return new AIChatPromptInputView(_0x46716e,this['_contextPanelView']['addContextButtonView']);}['_createPromptCapabilitiesView'](_0xde9ca0){return new AIChatPromptCapabilitiesView(_0xde9ca0);}['_createLoaderView'](_0x24dc5f){return new AIChatControlsLoaderView(_0x24dc5f);}['_createModelUnavailableMessageView'](_0x2711fd){const _0x12dd74=new AIChatModelUnavailableMessageView(_0x2711fd);return _0x12dd74['delegate']('startConversation')['to'](this),_0x12dd74;}['_handlePromptInputFocus'](_0x4ea111,_0x468785,_0x4b0449){_0x4b0449?this['_shouldRestorePromptInputFocus']=!0x0:this['_shouldRestorePromptInputFocus']&&this['_promptInputView']['focus']();}['addContextItem'](_0x35cc5b,_0x4a15a7){this['_contextPanelView']['addContextItem'](_0x35cc5b,_0x4a15a7);}['removeContextItem'](_0x508856){this['_contextPanelView']['removeContextItem'](_0x508856);}['setContextItemLoading'](_0xe10d28,_0x60ddde){this['_contextPanelView']['setContextItemLoading'](_0xe10d28,_0x60ddde);}['setIsUploadInProgress'](_0x57da75){this['_promptInputView']['setIsUploadInProgress'](_0x57da75);}['setConversationContext'](_0x59afcb){this['_contextPanelView']['setConversationContext'](_0x59afcb);}['clearPendingContextUI'](){this['_contextPanelView']['clearCurrentContextItems']();}['clearConversationContextUI'](){this['_contextPanelView']['clearConversationContextItems']();}['updateResourceState'](_0x298104,_0x5c6cec,_0xb0733d){this['_contextPanelView']['updateResourceState'](_0x298104,_0x5c6cec,_0xb0733d);}['setWebSearch'](_0x10765d){this['_promptCapabilitiesView']['setWebSearch'](_0x10765d);}['setReasoning'](_0x3b3739){this['_promptCapabilitiesView']['setReasoning'](_0x3b3739);}['resetMessageInput'](){this['_promptInputView']['reset']();}['setAddContextOptions'](_0x450904){this['_contextPanelView']['setAddContextOptions'](_0x450904);}['setInputPlaceholder'](_0x40d01d){this['_promptInputView']['setPlaceholderText'](_0x40d01d);}['setModelList'](_0x343941,_0x284a60){this['_promptCapabilitiesView']['setModelList'](_0x343941,_0x284a60);}['setModel'](_0x5e4477){_0x5e4477?(this['isModelAvailable']=!0x0,this['_promptCapabilitiesView']['setModel'](_0x5e4477)):this['isModelAvailable']=!0x1;}['enableModelSelector'](){this['_promptCapabilitiesView']['enableModelSelector']();}['disableModelSelector'](_0x231d32){this['_promptCapabilitiesView']['disableModelSelector'](_0x231d32);}['populateSourceResourceBalloon'](_0x408925,_0x327bfb,_0x47449a,_0xfbb85d){this['_contextPanelView']['populateSourceResourceBalloon'](_0x408925,_0x327bfb,_0x47449a,_0xfbb85d);}['closeSourceResourceBalloon'](_0x55d47c){this['_contextPanelView']['closeSourceResourceBalloon'](_0x55d47c);}['focusPromptInput'](_0x34bfd4=!0x1){this['_promptInputView']['focus'](_0x34bfd4);}['setPromptInputValue'](_0x457d52){this['_promptInputView']['queryView']['fieldView']['reset'](),this['_promptInputView']['queryView']['fieldView']['value']=_0x457d52;}}class AIChatModelUnavailableMessageView extends ckeditor5['View']{constructor(_0x739eb4){super(_0x739eb4);const _0x5e851f=new ckeditor5['ButtonView'](_0x739eb4);_0x5e851f['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_BUTTON'),'withText':!0x0,'class':['ck-ai-chat-controls__start-new-chat-button'],'tooltip':''}),_0x5e851f['delegate']('execute')['to'](this,'startConversation'),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-controls-model-unavailable-message']},'children':[{'tag':'p','children':[{'text':getTranslation$i(this['locale'],'AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_TEXT')+'\x20'},_0x5e851f]}]});}}class _0x49a204 extends ckeditor5['FormHeaderView']{['resizeButton'];constructor(_0x5766e0,_0x367577){super(_0x5766e0,{'label':_0x367577['label'],'class':'ck-ai-header\x20'+_0x367577['class'],'icon':_0x367577['icon']}),this['set']('isMaximized',!0x1),_0x367577['content']&&this['children']['add'](_0x367577['content']),_0x367577['showResizeButton']&&(this['resizeButton']=createResizeButton(_0x5766e0,this),this['children']['add'](this['resizeButton']));}}class _0x3a5fda extends ckeditor5['View']{constructor(_0x35fb72){super(_0x35fb72),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-disclaimer']},'children':[{'tag':'p','attributes':{'class':['ck','ck-ai-disclaimer__content']},'children':[{'text':getTranslation$i(_0x35fb72,'AI_DISCLAIMER_TEXT')}]}]});}}function createStartConversationButton(_0xb9f631,_0x3df341){const _0x246316=new ckeditor5['ButtonView'](_0xb9f631);return _0x246316['set']({'label':getTranslation$i(_0xb9f631,'AI_CHAT_LABEL_NEW_CHAT'),'withText':!0x0,'icon':ckeditor5['IconPlus'],'class':'ck-ai-chat__start-conversation\x20'+_0x1f417a['SECONDARY']}),_0x246316['on']('execute',()=>{_0x3df341['fire']('startConversation');}),_0x246316;}class AIChatView extends ckeditor5['View']{['chatHeader'];['chatFeed'];['chatControls'];['chatDisclaimer'];['_bodyCollection'];constructor(_0x37ae11,_0x2233df){super(_0x37ae11),this['_bodyCollection']=new ckeditor5['BodyCollection'](_0x37ae11),this['_bodyCollection']['attachToDom']();const _0x2b1e7e=createStartConversationButton(_0x37ae11,this);this['chatHeader']=new _0x49a204(_0x37ae11,{'label':getTranslation$i(_0x37ae11,'AI_CHAT_HEADING'),'icon':ckeditor5['IconAIChat'],'class':'ck-ai-header_chat','content':_0x2b1e7e,'showResizeButton':_0x2233df['showResizeButton']}),this['chatHeader']['delegate']('resizeTabs')['to'](this),this['chatFeed']=new AIChatFeedView(_0x37ae11,this['_bodyCollection']),this['chatFeed']['delegate'](..._0x3ac999)['to'](this),this['chatControls']=new AIChatControlsView(_0x37ae11,{'bodyCollection':this['_bodyCollection'],'contextResourcesSearchInputVisibleFrom':_0x2233df['contextResourcesSearchInputVisibleFrom']}),this['chatControls']['delegate'](..._0x3ac999)['to'](this),this['chatDisclaimer']=new _0x3a5fda(_0x37ae11),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai-chat','ck-rounded-corners'],'dir':_0x37ae11['uiLanguageDirection']},'children':[this['chatHeader'],this['chatFeed'],this['chatControls'],this['chatDisclaimer']]});}['populateSourceResourceBalloon'](_0x22ee41,_0x49ad1d,_0x225bb0,_0xb61503){this['chatControls']['populateSourceResourceBalloon'](_0x22ee41,_0x49ad1d,_0x225bb0,_0xb61503);}['closeSourceResourceBalloon'](_0x248d4c){this['chatControls']['closeSourceResourceBalloon'](_0x248d4c);}['destroy'](){this['_bodyCollection']['detachFromDom'](),super['destroy']();}}const _0x43a8f3=0x1e;class AIChatUI extends ckeditor5['ContextPlugin']{static get['requires'](){return[_0x13bfd3];}['_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(_0x2ac4dd){super(_0x2ac4dd);const _0x31d1e0=this['context']['plugins']['get']('AITabs');this['set']('isBusy',!0x1),this['_promiseQueue']=new _0x371879(),this['_view']=new AIChatView(this['context']['locale'],{'showResizeButton':_0x31d1e0['showResizeButton'],'contextResourcesSearchInputVisibleFrom':this['context']['config']['get']('ai.chat.context.searchInputVisibleFrom')}),this['_view']['delegate']('resizeTabs')['to'](_0x31d1e0),this['_view']['delegate'](..._0x3ac999)['to'](this),this['_view']['on']('toggleSuggestionDisplayMode',(_0x3d208f,{showDiff:_0x42bec1})=>{this['showDiff']=_0x42bec1;}),_0x31d1e0['view']['addTab']({'id':'chat','buttonLabel':getTranslation$i(this['context']['locale'],'AI_CHAT_HEADING'),'buttonIcon':ckeditor5['IconAIChat'],'order':0x0,'content':this['_view']}),this['_view']['chatHeader']['bind']('isMaximized')['to'](_0x31d1e0['view'],'isMaximized',_0x492310=>_0x492310),this['_view']['chatControls']['bind']('isLoading')['to'](this,'isBusy',_0x44cf6f=>_0x44cf6f),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder']()),this['bind']('isModelAvailable')['to'](this['_view']['chatControls'],'isModelAvailable');}['destroy'](){super['destroy'](),this['_titleAnimationInterval']&&clearInterval(this['_titleAnimationInterval']);}['createConversation'](_0x2b8eda){const _0x20e220=this['context']['config']['get']('ai.chat.welcomeMessage')??getTranslation$i(this['context']['locale'],'AI_CHAT_WELCOME_MESSAGE');this['_view']['chatFeed']['clear'](),this['_view']['chatControls']['enableModelSelector'](),this['_view']['chatControls']['setModelList'](_0x2b8eda['availableModels'],!this['context']['config']['get']('ai.models.showModelSelector')),this['addFeedItemStaticMessage']({'id':'conversation-start','staticMessage':_0x20e220}),this['fire']('conversationCreated');}async['addFeedItemStaticMessage']({id:_0x266a8a,staticMessage:_0x4ee1d6}){return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('ai-reply',{'id':_0x266a8a,'initialContent':'<p>'+_0x4ee1d6+'</p>'});});}async['addFeedItemUserMessage'](_0x37a3cb){const _0x3d3f8c=_0x37a3cb['attributes']?.['displayedPrompt']||_0x37a3cb['userMessage'];return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('user-message',{'contextItems':Array['from'](_0x37a3cb['contextItems']['values']()),'initialContent':'<p>'+_0x3d3f8c+'</p>','id':_0x37a3cb['id']});});}async['addFeedItemError']({errorMessage:_0x2d2727,id:_0x27def7}){return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('error-message',{'initialContent':'<p>'+_0x2d2727+'</p>','id':_0x27def7});});}async['addFeedItemAIReply'](_0xe7d418){return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('ai-reply',{'id':_0xe7d418['interactionId']+':'+_0xe7d418['id']}),this['clearLoadingMessage']();});}async['addFeedItemAISuggestion'](_0x12a552){const _0x497f93=getEditorFromContext(this['context']);let _0x5ed168=_0x497f93['config']['get']('ai.availableReplyActions')||[..._0x148813];if(_0x497f93['plugins']['has']('TrackChanges')){if(!this['_isTrackChangesCommandValueBound']){this['_isTrackChangesCommandValueBound']=!0x0;const _0x265ba6=_0x497f93['commands']['get']('trackChanges');this['_view']['chatFeed']['bind']('isTrackChangesOn')['to'](_0x265ba6,'value');}}else _0x5ed168=_0x5ed168['filter'](_0xcd948d=>'insertSuggestion'!=_0xcd948d);return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('ai-suggestion-reply',{'id':_0x12a552['interactionId']+':'+_0x12a552['id'],'areActionsDisabled':_0x12a552['areActionsDisabled'],'showDiff':this['showDiff'],'availableActions':_0x5ed168}),this['clearLoadingMessage']();});}async['addFeedInteractionHeader'](_0x32eaeb,_0x373473){return this['_promiseQueue']['enqueue'](async()=>{const _0x5c194b=this['_view']['chatFeed']['children']['last'];if(_0x5c194b instanceof AIChatFeedInteractionHeaderView)return this['_view']['chatFeed']['children']['remove'](_0x5c194b),void this['_view']['chatFeed']['addItem']('interaction-header',{'id':_0x32eaeb['id'],'capabilities':{'isWebSearchEnabled':_0x5c194b['capabilities']['isWebSearchEnabled']||_0x373473['isWebSearchEnabled'],'isReasoningEnabled':_0x5c194b['capabilities']['isReasoningEnabled']||_0x373473['isReasoningEnabled']}});this['_view']['chatFeed']['addItem']('interaction-header',{'id':_0x32eaeb['id'],'capabilities':_0x373473});});}async['addFeedItemCustomElement'](_0x302828,_0x899f49){let _0x3225c8;return await this['_promiseQueue']['enqueue'](async()=>{_0x3225c8=this['_view']['chatFeed']['addItem']('custom-element',{'content':_0x302828,'id':_0x899f49});}),_0x3225c8;}['removeFeedItem'](_0x158578){this['_view']['chatFeed']['removeItem'](_0x158578);}['hasFeedItem'](_0x33e569){return this['_view']['chatFeed']['hasItem'](_0x33e569);}['updateFeedInteractionHeader'](_0x3009fd){const _0x21d1e5=this['_view']['chatFeed']['children']['find'](_0x2b5487=>_0x2b5487['options']['id']==_0x3009fd['id']&&_0x2b5487 instanceof AIChatFeedInteractionHeaderView);_0x21d1e5&&_0x21d1e5['set']('isVisible',_0x3009fd['isVisible']);}async['updateFeedItemAIReplyContent'](_0x4594cd){const _0x462b02=_0x4594cd['renderingStrategy']||this['feedItemRenderingStrategy'];return this['_promiseQueue']['enqueue'](async _0x20bdad=>{await this['_view']['chatFeed']['updateReplyItem']({..._0x4594cd,'abortSignal':_0x20bdad,'renderingStrategy':_0x462b02}),_0x4594cd['isDone']&&this['markFeedItemAsDone'](_0x4594cd['id']);});}['updateFeedItemAIReplySources'](_0x32c001,_0x516331){this['_view']['chatFeed']['updateWebSources'](_0x32c001,_0x516331);}async['updateFeedItemAIReplySuggestionContent'](_0x2c4563){return this['_promiseQueue']['enqueue'](async _0x24f9f0=>{await this['_view']['chatFeed']['updateSuggestionItem']({..._0x2c4563,'abortSignal':_0x24f9f0}),_0x2c4563['isDone']&&this['markFeedItemAsDone'](_0x2c4563['id']);});}['updateFeedItemAIReplySuggestionPartState'](_0x99513f){this['_view']['chatFeed']['updateSuggestionPartState'](_0x99513f);}['setFeedItemAIReplySuggestionPartActive'](_0x1b187b){this['_view']['chatFeed']['setSuggestionPartActive'](_0x1b187b);}['markFeedItemAsDone'](_0x59da97){this['_view']['chatFeed']['markItemAsDone'](_0x59da97);}['removeFeedInteraction'](_0x5c9b1b){this['_view']['chatFeed']['getItemIds']()['filter'](_0x35f249=>_0x35f249['startsWith'](_0x5c9b1b))['forEach'](_0x627f67=>this['_view']['chatFeed']['removeItem'](_0x627f67));}['startInteraction'](){const _0x254153=this['prepareLoadingMessage']({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x1});this['setLoadingMessage'](_0x254153),this['_view']['chatControls']['disableModelSelector'](!this['context']['config']['get']('ai.models.showModelSelector')),this['isBusy']=!0x0,this['_view']['chatFeed']['startAutoScroll']();}['stopInteraction'](_0x5cec43){this['_promiseQueue']['abort'](),this['_view']['chatFeed']['getItemIds']()['filter'](_0x40e118=>_0x40e118['startsWith'](_0x5cec43['id']))['forEach'](_0x37cd87=>this['markFeedItemAsDone'](_0x37cd87)),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'](_0x1cc4af,_0x5c810a){this['_view']['chatControls']['addContextItem'](_0x1cc4af,_0x5c810a);}['removeContextItem'](_0x2091f2){this['_view']['chatControls']['removeContextItem'](_0x2091f2);}['setContextItemLoading'](_0x4e4491,_0x38d187){this['_view']['chatControls']['setContextItemLoading'](_0x4e4491,_0x38d187);}['setIsUploadInProgress'](_0xbfe3f3){this['_view']['chatControls']['setIsUploadInProgress'](_0xbfe3f3);}['setConversationContext'](_0x569dbb){this['_view']['chatControls']['setConversationContext'](_0x569dbb);}['clearPendingContextUI'](){this['_view']['chatControls']['clearPendingContextUI']();}['clearConversationContextUI'](){this['_view']['chatControls']['clearConversationContextUI']();}['updateResourceState'](_0x3300f5,_0x4e7ac4,_0xae3104){this['_view']['chatControls']['updateResourceState'](_0x3300f5,_0x4e7ac4,_0xae3104);}['resetMessageInput'](){this['_view']['chatControls']['resetMessageInput'](),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder']());}['setAddContextOptions'](_0x5c22ca){this['_view']['chatControls']['setAddContextOptions'](_0x5c22ca);}['updateCapabilities'](_0x5417f8){this['_view']['chatControls']['setWebSearch'](_0x5417f8['isWebSearchEnabled']),this['_view']['chatControls']['setReasoning'](_0x5417f8['isReasoningEnabled']),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder'](_0x5417f8));}['setSelectedModel'](_0x409060,_0x299cfa){this['_view']['chatControls']['setModel'](_0x409060),_0x299cfa&&this['_view']['chatControls']['disableModelSelector'](!0x1);}['setFeedItemRenderingStrategy'](_0x2f814d){this['feedItemRenderingStrategy']=_0x2f814d;}['toggleLoadingSkeleton'](_0x55e5ba){this['_view']['chatFeed']['toggleLoadingSkeleton'](_0x55e5ba);}['resetConversationTitle'](){this['setConversationTitle'](getTranslation$i(this['context']['locale'],'AI_CHAT_HEADING'));}['setConversationTitle'](_0x2d8f1f,_0x341c6f=!0x1){if(_0x341c6f&&!ckeditor5['_isMotionReduced']()&&_0x2d8f1f['length'])return this['_view']['chatHeader']['label']='',void this['_animateConversationTitle'](_0x2d8f1f);this['_view']['chatHeader']['label']=_0x2d8f1f;}['setLoadingMessage'](_0x447fed){this['_view']['chatFeed']['setLoadingMessage'](_0x447fed);}['clearLoadingMessage'](){this['_view']['chatFeed']['setLoadingMessage']('');}['_animateConversationTitle'](_0x2c04a4){let _0x6fa0ba=0x0;clearInterval(this['_titleAnimationInterval']),this['_titleAnimationInterval']=setInterval(()=>{this['_view']['chatHeader']['label']=this['_view']['chatHeader']['label']+_0x2c04a4[_0x6fa0ba],_0x6fa0ba++,_0x6fa0ba===_0x2c04a4['length']&&clearInterval(this['_titleAnimationInterval']);},_0x43a8f3);}['prepareLoadingMessage'](_0x2281dc){return _0x2281dc['isWebSearchEnabled']&&_0x2281dc['isReasoningEnabled']?getTranslation$i(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING'):_0x2281dc['isWebSearchEnabled']?getTranslation$i(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH'):_0x2281dc['isReasoningEnabled']?getTranslation$i(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_REASONING'):getTranslation$i(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_REGULAR');}['_getInputPlaceholder'](_0x3d75b5){return _0x3d75b5?_0x3d75b5['isWebSearchEnabled']&&_0x3d75b5['isReasoningEnabled']?getTranslation$i(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING'):_0x3d75b5['isWebSearchEnabled']?getTranslation$i(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH'):_0x3d75b5['isReasoningEnabled']?getTranslation$i(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REASONING'):getTranslation$i(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR'):getTranslation$i(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR');}['populateSourceResourceBalloon'](_0x16d31d,_0x33f367,_0x359e63,_0x1f4aea){this['_view']['populateSourceResourceBalloon'](_0x16d31d,_0x33f367,_0x359e63,_0x1f4aea);}['closeSourceResourceBalloon'](_0x4fd4cc){this['_view']['closeSourceResourceBalloon'](_0x4fd4cc);}['setPromptInputValue'](_0xd38d80){this['_view']['chatControls']['setPromptInputValue'](_0xd38d80);}['focusPromptInput'](_0x20d079=!0x1){this['_view']['chatControls']['focusPromptInput'](_0x20d079);}['scrollFeedToSuggestion'](_0x1803da,_0x10e3b2){this['_view']['chatFeed']['scrollToSuggestion'](_0x1803da,_0x10e3b2);}['startAutoScroll'](_0x2ccc73={}){this['_view']['chatFeed']['startAutoScroll'](_0x2ccc73);}['disableControls'](){this['_view']['chatControls']['isDisabled']=!0x0;}['enableControls'](){this['_view']['chatControls']['isDisabled']=!0x1;}}class AIChatHistorySectionListView extends ckeditor5['ListView']{['sections'];constructor(_0x34687c,_0x52e181){super(_0x34687c),this['sections']=_0x52e181,this['items']['addMany'](this['sections']),this['extendTemplate']({'attributes':{'class':['ck-ai-chat-history__sections']}});}['filter'](_0x119134){let _0x4ac913=0x0,_0x1971d0=0x0;for(const _0xfa26a0 of this['sections']){const {resultsCount:_0x395210,totalItemsCount:_0x116f18}=_0xfa26a0['filter'](_0x119134);_0x4ac913+=_0x395210,_0x1971d0+=_0x116f18;}return{'resultsCount':_0x4ac913,'totalItemsCount':_0x1971d0};}}class AIChatHistoryListView extends ckeditor5['ListItemView']{['title'];['itemsViews'];['_itemsListView'];constructor(_0xa1aaf9,{title:_0x43f167,items:_0x5724b6}){super(_0xa1aaf9);const _0x448d0e=this['bindTemplate'];this['set']('isVisible',!0x0),this['title']=_0x43f167,this['itemsViews']=_0x5724b6;const _0x204dbd=new ckeditor5['View'](_0xa1aaf9);_0x204dbd['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-history__section-title']},'children':[this['title']]}),this['_itemsListView']=new ckeditor5['ListView'](_0xa1aaf9),this['_itemsListView']['items']['addMany'](this['itemsViews']),this['setTemplate']({'tag':'li','attributes':{'class':['ck-ai-chat-history__section',_0x448d0e['if']('isVisible','ck-hidden',_0x495871=>!_0x495871)]},'children':[_0x204dbd,this['_itemsListView']]});}['filter'](_0x18a390){const _0x147874=this['itemsViews']['length'];let _0x5d9c5a=0x0;for(const _0x1e03f3 of this['itemsViews']){if(_0x18a390){const _0x60afce=_0x1e03f3['isMatching'](_0x18a390);_0x1e03f3['isVisible']=!!_0x60afce,_0x1e03f3['highlightText'](_0x18a390);}else _0x1e03f3['isVisible']=!0x0,_0x1e03f3['highlightText'](null);_0x1e03f3['isVisible']&&_0x5d9c5a++;}return this['isVisible']=_0x5d9c5a>0x0,{'resultsCount':_0x5d9c5a,'totalItemsCount':_0x147874};}['getItem'](_0x218c26){return this['itemsViews']['find'](_0x386b00=>_0x386b00['id']===_0x218c26);}['removeItem'](_0x1931de){const _0x2d3091=this['itemsViews']['indexOf'](_0x1931de);-0x1!==_0x2d3091&&(this['itemsViews']['splice'](_0x2d3091,0x1),this['_itemsListView']['items']['remove'](_0x1931de));}}class AIChatHistoryListItemView extends/* #__PURE__ -- @preserve */
_0x3102e5(ckeditor5['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(_0x57fc45,_0x3c6a78){super(_0x57fc45);const _0x45bb15=this['bindTemplate'];this['set']('isEdit',!0x1),this['set']('isVisible',!0x0),this['set']('pinned',!!_0x3c6a78['pinned']),this['set']('loadingState',null),this['set']('title',_0x3c6a78['title']),this['id']=_0x3c6a78['id'];const {createdAt:_0x34ae72,active:_0x16668e=!0x1}=_0x3c6a78;this['_titleView']=new ckeditor5['HighlightedTextView'](),this['_titleView']['bind']('text')['to'](this,'title',t=>_0x5c261b(t||'')),this['_titleView']['extendTemplate']({'attributes':{'class':['ck-ai-chat-history__item-title']}});const _0x42f6b2=this['_createCheckView'](),_0x470eca=this['_createPinButtonView'](_0x57fc45),_0x1862f1=this['_createMenuDropdownView'](),_0x5eabc8=this['_createEditInputView'](_0x57fc45),_0x365659=this['_createAcceptEditButtonView'](_0x57fc45,_0x5eabc8),_0x8af106=this['_createCancelEditButtonView'](_0x57fc45);this['actions']=this['createCollection'](),this['mainContent']=this['createCollection'](),this['mainContent']['add'](this['_titleView']),this['actions']['add'](_0x470eca),this['actions']['add'](_0x1862f1),this['on']('change:isEdit',(_0x496292,_0x44f46a,_0x383fdc)=>{this['actions']['clear'](),this['mainContent']['clear'](),_0x383fdc?(this['actions']['add'](_0x365659),this['actions']['add'](_0x8af106),this['mainContent']['add'](_0x5eabc8),_0x5eabc8['element']['value']=this['title']||'',_0x5eabc8['element']['focus']()):(this['actions']['add'](_0x470eca),this['actions']['add'](_0x1862f1),this['mainContent']['add'](this['_titleView']));}),this['setTemplate']({'tag':'li','attributes':{'class':['ck-ai-chat-history__item',_0x16668e?'ck-ai-chat-history__item--active':'',_0x45bb15['if']('isVisible','ck-hidden',_0x5b23b5=>!_0x5b23b5),_0x45bb15['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',_0x45bb15['if']('loadingState','ck-hidden',_0x56e2a0=>!!_0x56e2a0)]},'children':_0x16668e?[_0x42f6b2]:[]},{'tag':'div','attributes':{'class':['ck-ai-loader',_0x45bb15['if']('loadingState','ck-hidden',_0x23c21b=>!_0x23c21b)]},'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',_0x45bb15['if']('loadingState','ck-hidden',_0x58fd18=>!!_0x58fd18)]},'children':this['mainContent']},{'tag':'div','attributes':{'class':['ck-ai-loader__text',_0x45bb15['if']('loadingState','ck-hidden',_0x57f380=>!_0x57f380)]},'children':[{'text':_0x45bb15['to']('loadingState',_0x22175f=>_0x22175f?getTranslation$i(this['locale'],AIChatHistoryListItemView['LOADING_LABELS'][_0x22175f]):'')}]}]},{'tag':'span','attributes':{'class':['ck-ai-chat-history__item-date']},'children':[_0x34ae72]}]},{'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'](_0x129f0e){this['set']('title',_0x129f0e);}['updateLoadingState'](_0x331a8e,_0x47e873){this['set']('loadingState',_0x47e873?_0x331a8e:null);}['_createCheckView'](){const _0x2ae902=new ckeditor5['IconView']();return _0x2ae902['set']({'content':ckeditor5['IconCheck']}),_0x2ae902;}['_createPinButtonView'](_0x57124c){const _0x9da1bb=new ckeditor5['ButtonView'](_0x57124c);return _0x9da1bb['set']({'label':getTranslation$i(_0x57124c,'AI_CHAT_HISTORY_PIN_BUTTON'),'icon':ckeditor5['IconPin'],'withText':!0x1,'tooltip':!0x0}),_0x9da1bb['bind']('isOn')['to'](this,'pinned'),_0x9da1bb['on']('execute',()=>{const _0x3647ce=!this['pinned'];this['fire']('setConversationPinned',{'id':this['id'],'pinned':_0x3647ce});}),_0x9da1bb;}['_createMenuDropdownView'](){const _0x428776=ckeditor5['createDropdown'](this['locale']),_0x312737=_0x428776['panelView']['children'];_0x428776['buttonView']['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_HISTORY_SHOW_MORE_ITEMS'),'icon':ckeditor5['IconThreeHorizontalDots']}),_0x428776['panelPosition']='sw';const _0x27f0e3=new ckeditor5['ButtonView'](this['locale']);_0x27f0e3['label']=getTranslation$i(this['locale'],'AI_CHAT_HISTORY_EDIT_NAME'),_0x27f0e3['withText']=!0x0,_0x27f0e3['on']('execute',()=>{this['isEdit']=!0x0;});const _0x409edb=new ckeditor5['ButtonView'](this['locale']);_0x409edb['label']=getTranslation$i(this['locale'],'AI_CHAT_HISTORY_REMOVE'),_0x409edb['withText']=!0x0,_0x409edb['on']('execute',()=>{this['showConfirm'](getTranslation$i(this['locale'],'AI_CHAT_HISTORY_REMOVE_CONFIRM'),this['element'])['then'](()=>{this['fire']('removeConversation',{'id':this['id']});});});const _0x5d8b1e=new ckeditor5['ListView'](this['locale']),_0xd69a9=new ckeditor5['ListItemView'](this['locale']);_0xd69a9['children']['add'](_0x27f0e3);const _0xf254bd=new ckeditor5['ListItemView'](this['locale']);return _0xf254bd['children']['add'](_0x409edb),_0x5d8b1e['items']['addMany']([_0xd69a9,_0xf254bd]),_0x312737['add'](_0x5d8b1e),_0x428776;}['_createEditInputView'](_0x316a17){const _0x5de6d5=new ckeditor5['InputTextView'](_0x316a17),_0xc6e7b6=_0x5de6d5['bindTemplate'];return _0x5de6d5['extendTemplate']({'on':{'keydown':_0xc6e7b6['to'](_0x2ddf36=>{'Enter'==_0x2ddf36['key']&&this['_commitEditInputValue'](_0x5de6d5);})}}),_0x5de6d5;}['_createAcceptEditButtonView'](_0x5223ce,_0x201589){const _0x39477a=new ckeditor5['ButtonView'](_0x5223ce);return _0x39477a['set']({'icon':ckeditor5['IconCheck'],'withText':!0x1,'tooltip':getTranslation$i(_0x5223ce,'AI_CHAT_HISTORY_ACCEPT')}),_0x39477a['extendTemplate']({'attributes':{'class':['ck-confirm-view-submit']}}),_0x39477a['on']('execute',()=>{this['_commitEditInputValue'](_0x201589);}),_0x39477a;}['_commitEditInputValue'](_0x1b3472){const _0x7ba695=_0x1b3472['element']['value']||'';this['isEdit']=!0x1,this['fire']('editConversationTitle',{'id':this['id'],'title':_0x7ba695});}['_createCancelEditButtonView'](_0x445b3c){const _0x1dd3a7=new ckeditor5['ButtonView'](_0x445b3c);return _0x1dd3a7['set']({'icon':ckeditor5['IconCancel'],'withText':!0x1,'tooltip':getTranslation$i(_0x445b3c,'AI_CHAT_HISTORY_CANCEL')}),_0x1dd3a7['extendTemplate']({'attributes':{'class':['ck-confirm-view-cancel']}}),_0x1dd3a7['on']('execute',()=>{this['isEdit']=!0x1,this['fire']('edit:cancel');}),_0x1dd3a7;}['_createSpinnerView'](){const _0x45f1e4=new _0x39410b('tiny');return _0x45f1e4['isVisible']=!0x0,_0x45f1e4;}['isMatching'](_0x3a7465){return'string'==typeof this['title']&&this['title']['match'](_0x3a7465)?{'title':!0x0}:null;}['highlightText'](_0x52d308){this['_titleView']['highlightText'](_0x52d308);}}class AIChatHistoryView extends ckeditor5['View']{['headerView'];['searchView'];['mainErrorView'];['skeletonView'];['emptyView'];['sectionsView'];constructor(_0x1d509e,_0x3f6b4f){super(_0x1d509e),this['set']('hasItems',!0x1),this['set']('isLoading',!0x0),this['set']('errorMessage',''),this['set']('isSearchViewVisible',!0x1),this['set']('isEmptyViewVisible',!0x1),this['set']('isMainErrorViewVisible',!0x1);const _0x4d6025=createStartConversationButton(_0x1d509e,this);this['headerView']=new _0x49a204(_0x1d509e,{'label':getTranslation$i(_0x1d509e,'AI_CHAT_HISTORY_HEADING'),'icon':ckeditor5['IconAIHistory'],'class':'ck-ai-header_history','content':_0x4d6025,'showResizeButton':_0x3f6b4f}),this['headerView']['delegate']('resizeTabs')['to'](this),this['sectionsView']=new AIChatHistorySectionListView(_0x1d509e,[]),this['sectionsView']['delegate'](..._0x4fd079)['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',_0x490bad=>!_0x490bad)]}}),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 _0x5c6ed7=new ckeditor5['SearchTextView'](this['locale'],{'filteredView':this['sectionsView'],'queryView':{'label':getTranslation$i(this['locale'],'AI_CHAT_HISTORY_SEARCH_LABEL')},'infoView':{'text':{'notFound':{'primary':_0x321a57=>getTranslation$i(this['locale'],'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY',_0x321a57),'secondary':getTranslation$i(this['locale'],'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY')}}}}),_0xf0d2c1=this['_createErrorView']();return _0xf0d2c1['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('errorMessage','ck-hidden',_0x58097d=>!_0x58097d)]}}),_0x5c6ed7['on']('render',()=>{_0x5c6ed7['children']['add'](_0xf0d2c1,0x1);}),_0x5c6ed7['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isSearchViewVisible','ck-hidden',_0x917d0e=>!_0x917d0e)]}}),_0x5c6ed7;}['_createSkeletonView'](){const _0x56b4a4=new AISkeletonView(this['locale'],_0x3fff2d['aiHistory']);return _0x56b4a4['bind']('isVisible')['to'](this,'isLoading'),_0x56b4a4;}['_createErrorView'](){const _0x2c888f=new ckeditor5['View'](this['locale']),_0xb89b95=new ckeditor5['ButtonView'](this['locale']);_0xb89b95['set']({'withText':!0x1,'icon':ckeditor5['IconCancel'],'class':'ck-ai-notification_error__dismiss-button'}),_0xb89b95['bind']('isVisible')['to'](this,'hasItems',_0x34b44a=>!!_0x34b44a),_0xb89b95['on']('execute',()=>{this['errorMessage']='';});const _0x2f9c9b=this['bindTemplate'];return _0x2c888f['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-notification','ck-ai-notification_error']},'children':[{'tag':'p','children':[{'text':_0x2f9c9b['to']('errorMessage')}]},_0xb89b95]}),_0x2c888f;}['_createEmptyStateView'](){const _0x31b8b5=new ckeditor5['View'](this['locale']);return _0x31b8b5['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-history__empty',this['bindTemplate']['if']('isEmptyViewVisible','ck-hidden',_0x1d3adb=>!_0x1d3adb)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-chat-history__empty-message']},'children':[getTranslation$i(this['locale'],'AI_CHAT_HISTORY_EMPTY_MESSAGE')]}]}),_0x31b8b5;}['_createListItemViews'](_0x35a6e6,_0x4c90ba){const _0x51cec6=[];for(const _0x1ef882 of _0x35a6e6){const _0xb46737=new AIChatHistoryListItemView(_0x4c90ba,_0x1ef882);_0xb46737['delegate'](..._0x4fd079)['to'](this),_0x51cec6['push'](_0xb46737);}return _0x51cec6;}['updateHistoryItemsWithCategories'](_0xd3fdf8){const _0x3ad20b=this['locale']||'en',_0x42a95d=[];for(const _0x1e7a99 of _0xd3fdf8){const _0x297434=this['_createListItemViews'](_0x1e7a99['items'],_0x3ad20b);_0x42a95d['push'](new AIChatHistoryListView(_0x3ad20b,{'title':_0x1e7a99['title'],'items':_0x297434}));}this['sectionsView']['sections']=_0x42a95d,this['sectionsView']['items']['clear'](),this['sectionsView']['items']['addMany'](_0x42a95d),this['hasItems']=_0xd3fdf8['some'](_0x22913c=>_0x22913c['items']['length']>0x0),this['_refreshSearch']();}['removeHistoryItem'](_0x173e4f){for(const _0x12a4f4 of this['sectionsView']['sections']){const _0x3700d6=_0x12a4f4['getItem'](_0x173e4f);if(_0x3700d6){if(_0x12a4f4['removeItem'](_0x3700d6),0x0===_0x12a4f4['itemsViews']['length']){const _0x3a3c10=this['sectionsView']['sections']['indexOf'](_0x12a4f4);-0x1!==_0x3a3c10&&(this['sectionsView']['sections']['splice'](_0x3a3c10,0x1),this['sectionsView']['items']['remove'](_0x12a4f4));}this['hasItems']=this['sectionsView']['sections']['length']>0x0,this['_refreshSearch']();break;}}}['updateItemTitle'](_0x20e46a,_0x20fdea){for(const _0x50c401 of this['sectionsView']['sections']){const _0x4fcf48=_0x50c401['getItem'](_0x20e46a);if(_0x4fcf48){_0x4fcf48['updateTitle'](_0x20fdea);break;}}}['updateItemLoadingState'](_0x2d57c0,_0x4b1a6f,_0x441806){for(const _0x306c93 of this['sectionsView']['sections']){const _0x3b5b38=_0x306c93['getItem'](_0x2d57c0);if(_0x3b5b38){_0x3b5b38['updateLoadingState'](_0x4b1a6f,_0x441806);break;}}}['_refreshSearch'](){if(this['hasItems']){const _0x44614f=this['searchView']['queryView']['fieldView']?.['element']?.['value']||'';this['searchView']['search'](_0x44614f);}}}const _0x4fd079=['showConversationHistory','removeConversation','editConversationTitle','setConversationPinned','selectConversation','startConversation'];class AIChatHistoryUI extends ckeditor5['ContextPlugin']{static get['requires'](){return[_0x13bfd3];}['_historyView'];static get['pluginName'](){return'AIChatHistoryUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4f94c1){super(_0x4f94c1);const _0x2b7672=this['context']['plugins']['get']('AITabs');this['_historyView']=new AIChatHistoryView(this['context']['locale'],_0x2b7672['showResizeButton']),this['_historyView']['delegate']('resizeTabs')['to'](_0x2b7672),this['_historyView']['delegate'](..._0x4fd079)['to'](this),this['_historyView']['headerView']['bind']('isMaximized')['to'](_0x2b7672['view'],'isMaximized',_0x4f83b0=>_0x4f83b0),_0x2b7672['view']['addTab']({'id':'history','buttonLabel':getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_HEADING'),'buttonIcon':ckeditor5['IconAIHistory'],'order':0x0,'content':this['_historyView']});}['removeHistoryItem'](_0x337d8f){this['_historyView']['removeHistoryItem'](_0x337d8f);}['updateItems'](_0x478bc7){this['_historyView']['updateHistoryItemsWithCategories'](_0x478bc7);}['updateItemTitle'](_0x3e2bbd,_0x1da12d){this['_historyView']['updateItemTitle'](_0x3e2bbd,_0x1da12d);}['updateItemLoadingState'](_0x23e33d,_0x2f0c18,_0x14e168){this['_historyView']['updateItemLoadingState'](_0x23e33d,_0x2f0c18,_0x14e168);}['setLoadingSkeleton'](_0x3f1a23){this['_historyView']['isLoading']=_0x3f1a23;}['showError'](_0x7b6709){this['_historyView']['errorMessage']=_0x7b6709;}['hideError'](){this['_historyView']['errorMessage']='';}}class AIChatHistoryItem extends ckeditor5['ObservableMixin'](){['id'];['createdAt'];constructor({id:_0x832b26,title:_0x22bb1b,createdAt:_0x1fa2a5,updatedAt:_0x538034,pinned:_0x15a332}){super(),this['id']=_0x832b26,this['createdAt']=new Date(_0x1fa2a5),this['set']('title',_0x22bb1b),this['set']('updatedAt',_0x538034?new Date(_0x538034):null),this['set']('pinned',_0x15a332||!0x1);}['updateTitle'](_0x461ed6){this['set']('title',_0x461ed6),this['updatedAt']=new Date();}['updatePinned'](_0x2aad88){this['set']('pinned',_0x2aad88),this['updatedAt']=new Date();}}class AIChatHistoryConversations extends ckeditor5['EmitterMixin'](){['items']=[];['connector'];['group'];constructor({connector:_0x4085d7,group:_0x2d3c73}){super(),this['connector']=_0x4085d7,this['group']=_0x2d3c73;}async['init'](){try{const _0x2003e4=this['connector']['fetchConversations'](this['group']),_0x1aa042=await _0x2003e4['getConversations']();this['loadItems'](_0x1aa042);}catch(_0x45f5b8){this['fire']('error',{'error':_0x45f5b8,'operation':'init'});}}['addItem'](_0x537598){this['items']['push'](_0x537598);}async['removeItem'](_0x207426){const _0x43bac3=this['items']['findIndex'](_0x278948=>_0x278948['id']===_0x207426);if(-0x1===_0x43bac3)return!0x1;try{return await this['connector']['deleteConversation'](_0x207426)['execute'](),this['items']['splice'](_0x43bac3,0x1),this['fire']('itemRemoved',{'itemId':_0x207426}),!0x0;}catch(_0x43b568){return this['fire']('error',{'error':_0x43b568,'operation':'removeItem','itemId':_0x207426}),!0x1;}}['getItem'](_0x28913d){return this['items']['find'](_0x487715=>_0x487715['id']===_0x28913d);}async['updateItemTitle'](_0x1c7e96,_0x23afd0){const _0x3f0232=this['getItem'](_0x1c7e96);if(!_0x3f0232)return!0x1;try{return await this['connector']['updateConversation'](_0x1c7e96,{'title':_0x23afd0})['getResult'](),_0x3f0232['updateTitle'](_0x23afd0),this['fire']('itemUpdated',{'itemId':_0x1c7e96,'updates':{'title':_0x23afd0}}),!0x0;}catch(_0x422d4e){return this['fire']('error',{'error':_0x422d4e,'operation':'updateItemTitle','itemId':_0x1c7e96}),!0x1;}}async['updateItemPinned'](_0x350823,_0x350098){const _0x349f14=this['getItem'](_0x350823);if(!_0x349f14)return!0x1;try{return await this['connector']['updateConversation'](_0x350823,{'pinned':_0x350098})['getResult'](),_0x349f14['updatePinned'](_0x350098),this['fire']('itemUpdated',{'itemId':_0x350823,'updates':{'pinned':_0x350098}}),!0x0;}catch(_0x1d68f7){return this['fire']('error',{'error':_0x1d68f7,'operation':'updateItemPinned','itemId':_0x350823}),!0x1;}}['loadItems'](_0x49a216){try{this['items']=[],_0x49a216['map'](_0x48e5fa=>{this['addItem'](new AIChatHistoryItem(_0x48e5fa));}),this['fire']('itemsLoaded',{'items':[...this['items']]});}catch(_0x450888){this['fire']('error',{'error':_0x450888,'operation':'loadItems'});}}['getItems'](_0x14a562={}){const _0x264c91=void 0x0!==_0x14a562['pinned']&&_0x14a562['pinned'],_0x50f1f8=_0x14a562['from']?new Date(_0x14a562['from']['getFullYear'](),_0x14a562['from']['getMonth'](),_0x14a562['from']['getDate']()):null,_0x19598a=_0x14a562['to']?new Date(_0x14a562['to']['getFullYear'](),_0x14a562['to']['getMonth'](),_0x14a562['to']['getDate']()):null;return this['items']['filter'](_0x53f1de=>{if(_0x53f1de['pinned']!==_0x264c91)return!0x1;if(_0x19598a){const _0x1c3c0e=new Date(_0x53f1de['createdAt']['getFullYear'](),_0x53f1de['createdAt']['getMonth'](),_0x53f1de['createdAt']['getDate']());return _0x50f1f8?_0x50f1f8['getTime']()===_0x19598a['getTime']()?_0x1c3c0e['getTime']()===_0x50f1f8['getTime']():_0x1c3c0e<_0x19598a&&_0x1c3c0e>=_0x50f1f8:_0x1c3c0e<_0x19598a;}return!0x0;});}}class AIChatHistoryController extends ckeditor5['ContextPlugin']{['_aiConnector'];['_aiChatHistoryUi'];['_aiChatController'];static get['requires'](){return[AIConnector,AIChatController,AIChatHistoryUI,_0x13bfd3];}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 _0x49a91d=this['context']['plugins']['get'](_0x13bfd3);try{const _0x2fb0a2=this['_aiChatController']['getGroupId']();this['history']=new AIChatHistoryConversations({'connector':this['_aiConnector'],'group':_0x2fb0a2}),this['listenTo'](this['_aiChatHistoryUi'],'removeConversation',(_0x15716f,_0x483b45)=>{this['_setItemLoading'](_0x483b45['id'],'remove'),this['_handleRemove'](_0x483b45['id']);}),this['listenTo'](this['_aiChatHistoryUi'],'editConversationTitle',(_0x3f5b6b,_0x241ecf)=>{this['_setItemLoading'](_0x241ecf['id'],'rename'),this['_handleEditTitle'](_0x241ecf['id'],_0x241ecf['title']);}),this['listenTo'](this['history'],'itemUpdated',(_0x43fa51,_0x26e46c)=>{void 0x0!==_0x26e46c['updates']['title']&&this['_aiChatHistoryUi']['updateItemTitle'](_0x26e46c['itemId'],_0x26e46c['updates']['title']),void 0x0!==_0x26e46c['updates']['pinned']&&this['_updateHistoryItemsUI'](),this['_clearItemLoading'](_0x26e46c['itemId']);}),this['listenTo'](this['history'],'itemRemoved',(_0x14c3d0,_0x8d1ee3)=>{this['_aiChatController']['_handleRemovedConversation'](_0x8d1ee3['itemId']),this['_aiChatHistoryUi']['removeHistoryItem'](_0x8d1ee3['itemId']),this['_clearItemLoading'](_0x8d1ee3['itemId']);}),this['listenTo'](this['history'],'itemsLoaded',()=>{this['_updateHistoryItemsUI']();}),this['listenTo'](this['history'],'error',(_0x5e1417,_0x1add20)=>{this['_handleHistoryErrorUI'](_0x1add20['error'],_0x1add20['operation'],_0x1add20['itemId']);}),this['listenTo'](this['_aiChatHistoryUi'],'selectConversation',(_0x2de183,_0x497eda)=>{this['_handleSelectConversation'](_0x497eda['id']);}),this['listenTo'](this['_aiChatHistoryUi'],'setConversationPinned',(_0x8f772,_0x1fa4c0)=>{const _0x4dcc2d=_0x1fa4c0['pinned']?'pin':'unpin';this['_setItemLoading'](_0x1fa4c0['id'],_0x4dcc2d),this['_handleTogglePin'](_0x1fa4c0['id'],_0x1fa4c0['pinned']);}),this['listenTo'](this['_aiChatHistoryUi'],'startConversation',()=>{this['_aiChatController']['startConversation'](),_0x49a91d['view']['activateTab']('chat');}),this['listenTo'](this['_aiChatController'],'change:activeConversation',()=>{this['_updateHistoryItemsUI']();}),_0x49a91d['view']['on']('activateTab:history',()=>{this['_showConversationHistory']();});}catch(_0x4d552b){this['_handleHistoryErrorUI'](_0x4d552b,'init');}}async['_handleEditTitle'](_0x298549,_0x9881a4){await this['history']['updateItemTitle'](_0x298549,_0x9881a4);}async['_handleTogglePin'](_0xa15172,_0x21c22b){await this['history']['updateItemPinned'](_0xa15172,_0x21c22b);}async['_handleRemove'](_0x4c772c){await this['history']['removeItem'](_0x4c772c);}async['_handleSelectConversation'](_0x140f38){await this['_aiChatController']['loadConversation'](_0x140f38);}async['_showConversationHistory'](){this['_aiChatHistoryUi']['showError'](''),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x0),await this['history']['init'](),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x1);}['_updateHistoryItemsUI'](){const _0xacbd59=this['_aiChatController']['activeConversation']?.['id'],_0x323900=this['_getCategorizedItems']()['map'](_0x5d6a3f=>({'title':_0x5d6a3f['title'],'items':_0x5d6a3f['items']['map'](_0x4db0d2=>({'id':_0x4db0d2['id'],'title':_0x4db0d2['title']||getTranslation$i(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION'),'createdAt':new Date(_0x4db0d2['createdAt'])['toLocaleDateString'](),'active':_0x4db0d2['id']===_0xacbd59,'pinned':_0x4db0d2['pinned']}))}));this['_aiChatHistoryUi']['updateItems'](_0x323900);}['_setItemLoading'](_0x357ef7,_0x21de84){this['_aiChatHistoryUi']['updateItemLoadingState'](_0x357ef7,_0x21de84,!0x0);}['_clearItemLoading'](_0xd86975){this['_aiChatHistoryUi']['updateItemLoadingState'](_0xd86975,null,!0x1);}['_handleHistoryErrorUI'](_0x51a636,_0x11a930,_0x4d7d63){const _0x1e6a27=this['_generateErrorMessage'](_0x11a930,_0x4d7d63);this['_aiChatHistoryUi']['showError'](_0x1e6a27),_0x4d7d63&&this['_clearItemLoading'](_0x4d7d63),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x1);}['_generateErrorMessage'](_0x26efba,_0x5f426a){const _0xd62dda=_0x5f426a?this['history']['getItem'](_0x5f426a):null,_0x3efca8=_0xd62dda?.['title']||getTranslation$i(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION');switch(_0x26efba){case'updateItemTitle':return getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_UPDATE_TITLE',_0x3efca8);case'updateItemPinned':{const _0x1313a1=getTranslation$i(this['context']['locale'],_0xd62dda?.['pinned']?'AI_CHAT_HISTORY_UNPIN_ACTION':'AI_CHAT_HISTORY_PIN_ACTION');return getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_UPDATE_PINNED',[_0x1313a1,_0x3efca8]);}case'removeItem':return getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_REMOVE_ITEM',_0x3efca8);case'init':case'loadItems':return getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_LOAD_ITEMS');default:return getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_GENERIC');}}['_getCategorizedItems'](){const _0x35d4a9=new Date(),_0x1a98a0=new Date(_0x35d4a9['getFullYear'](),_0x35d4a9['getMonth'](),_0x35d4a9['getDate']()),_0x1b0bd1=new Date(_0x1a98a0);_0x1b0bd1['setDate'](_0x1b0bd1['getDate']()-0x1);const _0x210eea=new Date(_0x1a98a0);_0x210eea['setDate'](_0x210eea['getDate']()-0xe);const _0x24b8fa=this['history']['getItems']({'pinned':!0x0}),_0x261612=this['history']['getItems']({'from':_0x1a98a0,'to':_0x1a98a0}),_0x5313ee=this['history']['getItems']({'from':_0x1b0bd1,'to':_0x1b0bd1}),_0x344718=this['history']['getItems']({'from':_0x210eea,'to':_0x1b0bd1}),_0x538e25=this['history']['getItems']({'to':_0x210eea}),_0x369b5c=[];return _0x24b8fa['length']>0x0&&_0x369b5c['push']({'title':getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_PINNED'),'items':_0x24b8fa}),_0x261612['length']>0x0&&_0x369b5c['push']({'title':getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_TODAY'),'items':_0x261612}),_0x5313ee['length']>0x0&&_0x369b5c['push']({'title':getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_YESTERDAY'),'items':_0x5313ee}),_0x344718['length']>0x0&&_0x369b5c['push']({'title':getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS'),'items':_0x344718}),_0x538e25['length']>0x0&&_0x369b5c['push']({'title':getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_LATER'),'items':_0x538e25}),_0x369b5c;}}class AIChatHistory extends ckeditor5['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 ckeditor5['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(_0x2331d7){super(_0x2331d7),this['context']['config']['define']('ai.chat.context',{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[],'alwaysAddSelection':!0x1}),this['context']['config']['define']('ai.chat.initialConversation','new');}}class AIChatShortcutView extends ckeditor5['ButtonView']{['id'];constructor(_0x1a3e8f,_0xae046d){super(_0x1a3e8f);const {id:_0x34a745,type:_0x174ba0,icon:_0x5439d9}=_0xae046d;this['id']=_0x34a745,this['set']({'label':_0xae046d['label'],'withText':!0x0,'class':'ck-ai-chat-shortcut'}),this['extendTemplate']({'attributes':{'data-cke-ai-shortcut-id':_0xae046d['id']}}),_0x5439d9?this['icon']=_0x5439d9:'chat'===_0x174ba0?this['icon']=ckeditor5['IconAIChat']:'review'===_0x174ba0?this['icon']=ckeditor5['IconAIReview']:'translate'===_0x174ba0&&(this['icon']=ckeditor5['IconAITranslate']);}}class AIChatShortcutsView extends ckeditor5['View']{['listView'];constructor(_0x44de58,_0x144ca8){super(_0x44de58);const _0x4ff7f2=_0x144ca8['map'](_0x4b935f=>{const _0x45ba4d=new ckeditor5['ListItemView'](this['locale']),_0x465d35=new AIChatShortcutView(this['locale'],_0x4b935f);return _0x45ba4d['children']['add'](_0x465d35),_0x465d35['delegate']('execute')['to'](this),_0x45ba4d;});this['listView']=new ckeditor5['ListView'](this['locale']),this['listView']['items']['addMany'](_0x4ff7f2),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-shortcuts']},'children':[this['listView']]});}}const _0x533313='chat-shortcuts';class AIChatShortcuts extends ckeditor5['ContextPlugin']{['_shortcuts'];['_shortcutsView'];['_aiChatUI'];static get['requires'](){return[AIChatUI];}static get['pluginName'](){return'AIChatShortcuts';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_aiChatUI']=this['context']['plugins']['get'](AIChatUI),this['_shortcuts']=this['context']['config']['get']('ai.chat.shortcuts')??[];const _0xf9167b=this['context']['plugins']['get']('AIChatController');this['_shortcuts']['length']&&(this['_validateShortcuts'](),this['_aiChatUI']['on']('conversationCreated',()=>{_0xf9167b['activeConversation']['isFromHistory']||this['_injectShortcuts']();}),this['listenTo'](_0xf9167b,'interactionStarted',()=>{this['_removeShortcuts']();}));}['_validateShortcuts'](){const _0x2a15ed=['chat','review','translate'];this['_shortcuts']['forEach'](_0x3b0b6a=>{let _0x2b9496=!0x0;if(_0x3b0b6a['id']&&_0x3b0b6a['label']&&_0x2a15ed['includes'](_0x3b0b6a['type'])?'chat'===_0x3b0b6a['type']&&(_0x2b9496='string'==typeof _0x3b0b6a['prompt']):_0x2b9496=!0x1,!_0x2b9496)throw new ckeditor5['CKEditorError']('ai-chat-shortcuts-invalid-config',this['context'],{'shortcut':_0x3b0b6a});});}['_injectShortcuts'](){const _0x4f09f6=this['context']['plugins']['get'](AIChatUI);this['_shortcutsView']=new AIChatShortcutsView(this['context']['locale'],this['_shortcuts']),this['_shortcutsView']['render'](),_0x4f09f6['addFeedItemCustomElement'](this['_shortcutsView']['element'],_0x533313),this['_shortcutsView']['on']('execute',_0x1abf59=>{const _0x8ac271=_0x1abf59['source']['id'];this['_executeShortcut'](_0x8ac271);});}['_removeShortcuts'](){const _0xad7811=this['context']['plugins']['get'](AIChatUI);_0xad7811['hasFeedItem'](_0x533313)&&_0xad7811['removeFeedItem'](_0x533313),this['_shortcutsView']?.['destroy']();}['_executeShortcut'](_0x262940){const _0x39fb8d=this['_shortcuts']['find'](_0x5dffb8=>_0x5dffb8['id']===_0x262940),_0x2aa6bc=_0x39fb8d['type'];'chat'===_0x2aa6bc?this['_runChatShortcut'](_0x39fb8d):'review'===_0x2aa6bc?_0x39fb8d['commandId']?this['_runReviewShortcut'](_0x39fb8d):this['_switchTab']('reviewMode'):'translate'===_0x2aa6bc&&(_0x39fb8d['language']?this['_runTranslateShortcut'](_0x39fb8d):this['_switchTab']('translate'));}['_switchTab'](_0x4f7a58){if(!this['context']['plugins']['has']('AITabs'))throw new ckeditor5['CKEditorError']('ai-chat-shortcuts-ai-tabs-not-found',this['context'],{'tabName':_0x4f7a58});this['context']['plugins']['get']('AITabs')['view']['activateTab'](_0x4f7a58);}async['_runChatShortcut']({prompt:_0x4a748f,draftMode:_0xa4ad71,useWebSearch:_0xde89c0=!0x1,useReasoning:_0x5e72a4=!0x1,model:_0x286097}){const _0x343f1e=this['context']['plugins']['get']('AIChatController'),_0x2d7270=_0x343f1e['activeConversation'];let _0x5b4837;_0x5b4837=_0x286097?await _0x2d7270['chatModels']['getModel'](_0x286097):await _0x2d7270['chatModels']['getDefault'](),_0x5b4837&&await _0x2d7270['setModel'](_0x5b4837),_0x2d7270['setWebSearch'](_0xde89c0),_0x2d7270['setReasoning'](_0x5e72a4),_0x343f1e['addCurrentDocumentToChatContext'](),_0xa4ad71?(this['_aiChatUI']['setPromptInputValue'](_0x4a748f),this['_aiChatUI']['focusPromptInput'](!0x0)):_0x343f1e['sendMessage']({'message':_0x4a748f});}['_runReviewShortcut']({commandId:_0x5254fa,model:_0x6ed6fe,prompt:_0x4ffdea,params:_0x11f8b0}){if(!this['context']['plugins']['has']('AIReviewModeUI'))throw new ckeditor5['CKEditorError']('ai-chat-shortcuts-review-mode-not-found',this['context']);this['_switchTab']('reviewMode');const _0x10f3c5={'id':_0x5254fa,'isCustom':'custom'===_0x5254fa};_0x6ed6fe&&_0x4ffdea&&(_0x10f3c5['args']={'model':_0x6ed6fe,'prompt':_0x4ffdea}),_0x11f8b0&&(_0x10f3c5['params']=_0x11f8b0),this['context']['plugins']['get']('AIReviewModeUI')['fire']('runReviewCheck',_0x10f3c5);}['_runTranslateShortcut']({language:_0x3d1231}){if(!this['context']['plugins']['has']('AITranslateUI'))throw new ckeditor5['CKEditorError']('ai-chat-shortcuts-translate-not-found',this['context']);this['_switchTab']('translate'),this['context']['plugins']['get']('AITranslateUI')['fire']('runReviewCheck',{'id':_0x3d1231,'args':{'language':_0x3d1231}});}}class _0x17ebb0 extends ckeditor5['Command']{constructor(_0x5c61ba){super(_0x5c61ba);const _0x729fbf=_0x5c61ba['plugins']['get']('AITabs')['view'];this['bind']('value')['to'](_0x729fbf,'isVisible'),this['isEnabled']=!0x0;}['execute'](){const _0x1a2220=this['editor']['plugins']['get']('AITabs')['view'];_0x1a2220['isVisible']=!_0x1a2220['isVisible'];}}class AIToggleButtonUI extends ckeditor5['Plugin']{static get['requires'](){return[_0x13bfd3];}static get['pluginName'](){return'AIToggleButtonUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x38ef45=this['editor'];_0x38ef45['commands']['add']('toggleAi',new _0x17ebb0(_0x38ef45)),_0x38ef45['ui']['componentFactory']['add']('toggleAi',()=>{const _0x31876e=this['_createAIUIButton'](ckeditor5['ButtonView']);return _0x31876e['set']({'tooltip':!0x0,'class':'ck-ai-toggle-button'}),_0x31876e;}),_0x38ef45['ui']['componentFactory']['add']('menuBar:toggleAi',()=>{const _0x253b10=this['_createAIUIButton'](ckeditor5['MenuBarMenuListItemButtonView']);return _0x253b10['set']({'role':'menuitemcheckbox'}),_0x253b10;});}['_createAIUIButton'](_0x16efeb){const _0x2e86d9=this['editor'],_0x5cfc95=_0x2e86d9['commands']['get']('toggleAi'),_0x37b1fc=new _0x16efeb(_0x2e86d9['locale']);return _0x37b1fc['set']({'label':getTranslation$i(_0x2e86d9['locale'],'AI_TOGGLE_BUTTON_LABEL'),'icon':ckeditor5['IconAIAskAI'],'isToggleable':!0x0}),_0x37b1fc['bind']('isEnabled')['to'](_0x5cfc95),_0x37b1fc['bind']('isOn')['to'](_0x5cfc95,'value',_0x17b4f6=>!!_0x17b4f6),this['listenTo'](_0x37b1fc,'execute',()=>{_0x5cfc95['execute']();}),_0x37b1fc;}}const _0x1b8719=['applySuggestion','insertSuggestion','showNext','showPrevious'];class _0x40e656 extends ckeditor5['View']{['_errorView'];constructor(_0x1b246b){super(_0x1b246b),this['set']('_errorMessage',''),this['set']('_isErrorVisible',!0x1);}['showBlockingError'](_0xcc3460){this['showError'](_0xcc3460);}['showError'](_0x5014d9){this['_errorView']||(this['_errorView']=this['_createErrorView']()),this['_errorMessage']=_0x5014d9,this['_isErrorVisible']=!0x0;}['hideError'](){this['_isErrorVisible']=!0x1;}['_createErrorView'](){const _0x4c4d54=new ckeditor5['View'](this['locale']),_0x33b183=new ckeditor5['View'](this['locale']);return _0x33b183['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__error-text']},'children':[{'text':this['bindTemplate']['to']('_errorMessage')}]}),_0x4c4d54['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__error','ck-ai-balloon-error',this['bindTemplate']['if']('_isErrorVisible','ck-hidden',_0x5f2ada=>!_0x5f2ada)]},'children':[_0x33b183]}),_0x4c4d54;}}const _0x2249f6=0xa;class _0x17d9d3 extends ckeditor5['ContextPlugin']{static get['requires'](){return[AIEditing];}static get['pluginName'](){return'AIBalloon';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['isOpen']=!0x1;['_currentConfig'];['_getTargetEditor'](){return this['_currentConfig']?.['targetEditor']??getEditorFromContext(this['context']);}['_isUpdatingMarkers']=!0x1;['open'](_0x4c4f6c){const {id:_0x22eaff}=this['_currentConfig']??{};this['_currentConfig']=_0x4c4f6c;const {id:_0x4125b5}=this['_currentConfig'];this['isOpen']&&_0x22eaff===_0x4125b5?this['_updateDialog']():this['_showDialog']();}['close'](){const _0x1cc792=this['_getTargetEditor']()['plugins']['get']('Dialog');_0x1cc792['isOpen']&&this['_currentConfig']&&_0x1cc792['id']===this['_currentConfig']['id']&&_0x1cc792['hide']();}['_updateDialog'](){const _0x4f2e33=this['_getTargetEditor']()['plugins']['get']('Dialog'),{icon:_0x3a766a,title:_0x44c2d4}=this['_currentConfig'];_0x4f2e33['view']?.['headerView']&&(_0x4f2e33['view']['headerView']['label']=_0x44c2d4,_0x4f2e33['view']['headerView']['iconView']&&_0x3a766a&&(_0x4f2e33['view']['headerView']['iconView']['content']=_0x3a766a)),this['_isUpdatingMarkers']=!0x0,this['_showFakeVisualSelection'](),this['_isUpdatingMarkers']=!0x1,_0x4f2e33['view']?.['updatePosition']();}['_showFakeVisualSelection'](){this['context']['plugins']['get'](AIEditing)['showFakeVisualSelection']({'ranges':this['_currentConfig']['ranges'],'id':'balloon','priority':0x64}),window['getSelection']()?.['removeAllRanges']();}['_hideFakeVisualSelection'](){this['context']['plugins']['get'](AIEditing)['hideFakeVisualSelection']('balloon');}['_showDialog'](){const _0x27433a=this['_getTargetEditor']()['plugins']['get']('Dialog'),{id:_0x3ae667,title:_0x2d9779,icon:_0x208698,class:_0x4ece24,mainView:_0x2f4d36}=this['_currentConfig'];_0x2f4d36['delegate'](..._0x1b8719)['to'](this),_0x27433a['show']({'title':_0x2d9779,'icon':_0x208698,'hasCloseButton':!0x0,'id':_0x3ae667,'position':this['_calculateDialogPosition']['bind'](this),'className':'ck-ai-balloon\x20'+(_0x4ece24||''),'content':_0x2f4d36,'onShow':_0x526f23=>{this['_showFakeVisualSelection'](),this['_setupFakeVisualSelectionMarkerRemovalListener'](),_0x526f23['view']?.['updatePosition']();const _0x572eeb=this['_getSelectionElements']();_0x572eeb&&_0x572eeb[0x0]&&ckeditor5['scrollViewportToShowTarget']({'target':_0x572eeb[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),this['isOpen']=!0x0,_0x526f23['once']('hide',()=>{this['fire']('beforeDialogClosed',{'id':_0x3ae667});},{'priority':'high'});},'onHide':()=>{this['_hideFakeVisualSelection'](),this['_cleanupFakeVisualSelectionMarkerRemovalListener'](),this['fire']('dialogClosed',{'id':_0x3ae667}),this['isOpen']=!0x1;}});}['_calculateDialogPosition'](_0x30f0ee,_0x1c1b06){if(!_0x1c1b06){const _0x171ce0=this['_getTargetRootDomRect']();if(!_0x171ce0)return null;_0x1c1b06=_0x171ce0;}const _0x4cc40a=this['_getSelectionElements']();if(!_0x4cc40a||0x0===_0x4cc40a['length'])return{'left':Math['round'](_0x1c1b06['left']+_0x1c1b06['width']/0x2-_0x30f0ee['width']/0x2),'top':Math['round'](_0x1c1b06['top']+_0x1c1b06['height']/0x2-_0x30f0ee['height']/0x2)};const _0x125ee6=Math['round'](_0x1c1b06['left']+_0x1c1b06['width']/0x2-_0x30f0ee['width']/0x2),_0x1e470a=_0x4cc40a['map'](_0x14d855=>new ckeditor5['Rect'](_0x14d855)),_0x366b05=_0x30f0ee['height'];return{'left':_0x125ee6,'top':this['_calculateOptimalTopPosition'](_0x1e470a,_0x366b05,_0x1c1b06)};}['_calculateOptimalTopPosition'](_0x2322d6,_0x3bc966,_0x32dcca){const _0x43ff59=new ckeditor5['Rect'](ckeditor5['global']['window']),_0x1b7e01=_0x2322d6['map'](_0x5dc6fb=>_0x5dc6fb['getVisible']())['filter'](_0x5c8f60=>_0x5c8f60),_0x362b74=ckeditor5['Rect']['getBoundingRect'](_0x1b7e01);if(!_0x362b74)return Math['round'](_0x32dcca['top']+_0x32dcca['height']/0x2);const _0x27c4f4=_0x43ff59['getIntersection'](_0x362b74);if(!_0x27c4f4)return Math['round'](_0x32dcca['top']+_0x32dcca['height']/0x2);const _0xcb713b=_0x32dcca['getVisible'](),_0x56c1c7=_0xcb713b&&_0x362b74['height']>_0xcb713b['height'],_0x520c75=_0x27c4f4['top'],_0x26522d=_0x27c4f4['bottom'];if(_0x56c1c7){const _0x361f83=(_0xcb713b||_0x43ff59)['height']/0x2-_0x3bc966/0x2,_0x2df1cc=_0x520c75-_0x2249f6-_0x32dcca['top'],_0x422d96=_0x32dcca['bottom']-_0x26522d-_0x2249f6;return _0x2df1cc>=_0x3bc966?Math['max'](_0x2249f6,_0x520c75-_0x3bc966-_0x2249f6):_0x422d96>=_0x3bc966?_0x26522d+_0x2249f6:Math['max'](_0x2249f6,_0x361f83);}const _0x1a8dd1=_0x520c75-_0x3bc966,_0x254966=_0x32dcca['bottom']-_0x26522d-_0x2249f6,_0x140d53=_0x520c75-_0x2249f6-_0x32dcca['top'];let _0x4c89c4;if(_0x254966>=_0x3bc966)_0x4c89c4=_0x26522d+_0x2249f6;else{if(_0x140d53>=_0x3bc966)_0x4c89c4=_0x1a8dd1-_0x2249f6;else _0x4c89c4=_0x520c75+_0x362b74['height']/0x2-_0x3bc966/0x2;}return _0x4c89c4;}['_setupFakeVisualSelectionMarkerRemovalListener'](){const _0x4d17f1=this['_getTargetEditor']();this['listenTo'](_0x4d17f1['model']['document'],'change',()=>{if(!this['_isUpdatingMarkers']){for(const {name:_0x3a1d5b,data:{newRange:_0x37bae0}}of _0x4d17f1['model']['document']['differ']['getChangedMarkers']())if(_0x3a1d5b['startsWith'](_0x598402+':')&&(_0x37bae0&&(_0x37bae0['start']['isEqual'](_0x37bae0['end'])||'$graveyard'==_0x37bae0['root']['rootName'])||null==_0x37bae0)){const _0x10f2ca=getTranslation$i(this['context']['locale'],'AI_BALLOON_SELECTION_REMOVED_ERROR');this['_currentConfig']['mainView']['showBlockingError'](_0x10f2ca),this['fire']('selectionRemoved');}}});}['_cleanupFakeVisualSelectionMarkerRemovalListener'](){const _0x5aeee6=this['_getTargetEditor']();this['_currentConfig']['mainView']['hideError'](),this['stopListening'](_0x5aeee6['model']['document']);}['_getSelectionElements'](){const _0xca67b7=this['_getTargetEditor']();return getAllMarkersDomElementsSorted(_0xca67b7['editing'],[..._0xca67b7['model']['markers']['getMarkersGroup']('ai-selection'),..._0xca67b7['model']['markers']['getMarkersGroup']('ai-balloon-selection')]);}['_getTargetRootDomRect'](){const _0x52f139=this['_currentConfig']?.['ranges']?.[0x0]?.['root'];if(!_0x52f139)return null;const _0x2e278e=this['_getTargetEditor'](),_0x4fde8d=_0x2e278e['editing']['view']['document']['getRoot'](_0x52f139['rootName']);if(!_0x4fde8d)return null;const _0x169731=_0x2e278e['editing']['view']['domConverter']['mapViewToDom'](_0x4fde8d);return _0x169731&&_0x169731 instanceof HTMLElement?new ckeditor5['Rect'](_0x169731):null;}}class _0x1dc33f extends ckeditor5['ToolbarView']{['copyButton'];['likeButton'];['dislikeButton'];['showChangesButton'];['_config'];constructor(_0x516713,_0x4b5c11={}){super(_0x516713),this['set']('isEnabled',!0x0),this['set']('isShowChangesOn',!0x1),this['_config']={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x4b5c11};const _0x49b06f=!(this['_config']['showCopy']||this['_config']['showChanges']||this['_config']['showLike']||this['_config']['showDislike']||this['_config']['customView']?.['length']);this['class']=_0x49b06f?'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'](_0x5c5387){this['showChangesButton']['isEnabled']=_0x5c5387;}['_setupRatingButtons'](){this['likeButton']=new ckeditor5['ButtonView'](this['locale']),this['likeButton']['set']({'icon':ckeditor5['IconThumbUp'],'label':getTranslation$i(this['locale'],'AI_MINI_TOOLBAR_LIKE'),'class':_0x1f417a['TERTIARY'],'tooltip':!0x0}),this['likeButton']['bind']('isEnabled')['to'](this),this['likeButton']['on']('execute',()=>{this['fire']('like');}),this['dislikeButton']=new ckeditor5['ButtonView'](this['locale']),this['dislikeButton']['set']({'icon':ckeditor5['IconThumbDown'],'label':getTranslation$i(this['locale'],'AI_MINI_TOOLBAR_DISLIKE'),'class':_0x1f417a['TERTIARY'],'tooltip':!0x0}),this['dislikeButton']['bind']('isEnabled')['to'](this),this['dislikeButton']['on']('execute',()=>{this['fire']('dislike');});}['_setupCopyButton'](){this['copyButton']=new ckeditor5['ButtonView'](this['locale']),this['copyButton']['set']({'icon':ckeditor5['IconCopy'],'label':getTranslation$i(this['locale'],'AI_MINI_TOOLBAR_COPY'),'class':'ck-ai-mini-toolbar-copy-button\x20'+_0x1f417a['TERTIARY'],'tooltip':!0x0}),this['copyButton']['bind']('isEnabled')['to'](this);const _0x1a6800=new ckeditor5['IconView']();_0x1a6800['set']({'content':ckeditor5['IconCheck']}),_0x1a6800['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'+_0x1f417a['TERTIARY'],setTimeout(()=>{this['copyButton']['class']='ck-ai-mini-toolbar-copy-button\x20'+_0x1f417a['TERTIARY'];},0x7d0);}),this['copyButton']['children']['add'](_0x1a6800);}['_setupShowChangesButton'](){this['showChangesButton']=new ckeditor5['ButtonView'](this['locale']),this['showChangesButton']['set']({'icon':ckeditor5['IconShowChangesOff'],'label':getTranslation$i(this['locale'],'AI_SUGGESTION_BUTTON_SHOW_CHANGES'),'withText':'full'==this['_config']['showChanges'],'tooltip':'full'!=this['_config']['showChanges'],'class':_0x1f417a['TERTIARY']}),this['showChangesButton']['bind']('isOn')['to'](this,'isShowChangesOn'),this['showChangesButton']['bind']('isEnabled')['to'](this),this['showChangesButton']['bind']('icon')['to'](this,'isShowChangesOn',_0x295364=>_0x295364?ckeditor5['IconShowChangesOn']:ckeditor5['IconShowChangesOff']),this['showChangesButton']['on']('execute',()=>{this['fire']('toggleShowChanges');});}}class AIChatBalloonView extends _0x40e656{['children'];['nextButtonView'];['previousButtonView'];['focusCycler'];['_focusables'];['_focusTracker'];['_keystrokes'];['_config'];['_streamableContentView'];['_toolbarContainerView'];['_partToolbarView'];['_stateView'];['_miniToolbarView'];constructor(_0x3d82d7,_0x56b5ea){super(_0x3d82d7);const _0x3a1f2b=this['bindTemplate'];this['set']('showDiff',!0x1),this['set']('_state','pending'),this['_focusTracker']=new ckeditor5['FocusTracker'](),this['_keystrokes']=new ckeditor5['KeystrokeHandler'](),this['_focusables']=this['createCollection'](),this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':this['_focusables'],'focusTracker':this['_focusTracker'],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['_config']=_0x56b5ea,this['nextButtonView']=this['_createNextButtonView'](),this['previousButtonView']=this['_createPreviousButtonView'](),this['_streamableContentView']=new AISuggestionStreamableContentView(_0x3d82d7),this['_partToolbarView']=new AISuggestionContentPartToolbarView(_0x3d82d7,_0x56b5ea['availableActions']),this['_partToolbarView']['delegate']('applySuggestion','insertSuggestion','rejectSuggestion')['to'](this),this['_togglePartToolbarButtonsVisibility'](_0x56b5ea),this['_stateView']=new AISuggestionContentPartStateView(_0x3d82d7),this['_stateView']['isVisible']=!0x1,this['_miniToolbarView']=new _0x1dc33f(_0x3d82d7,{'showChanges':'full'}),this['_miniToolbarView']['bind']('isShowChangesOn')['to'](this,'showDiff'),this['_miniToolbarView']['on']('toggleShowChanges',()=>{this['fire']('toggleSuggestionDisplayMode');}),this['_toolbarContainerView']=new AIChatBalloonToolbarContainerView(_0x3d82d7,[this['_partToolbarView'],this['_stateView'],this['_miniToolbarView']]),this['children']=this['createCollection']([this['_streamableContentView'],this['_toolbarContainerView']]),this['on']('change:_state',(_0x4d5280,_0x2b69ce,_0x35ae58,_0x2c1653)=>{let _0x309c15,_0x5efa14;'pending'===_0x2c1653?(_0x309c15=this['_partToolbarView'],_0x5efa14=this['_stateView']):(_0x309c15=this['_stateView'],_0x5efa14=this['_partToolbarView']),this['_stateView']['setState'](_0x35ae58),_0x309c15['isVisible']=!0x1,_0x5efa14['isVisible']=!0x0;}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-balloon-main',_0x3a1f2b['to']('_state',_0x55c56c=>'ck-ai-chat-balloon-main_state_'+_0x55c56c)]},'children':this['children']}),this['on']('change:isTrackChangesOn',()=>{this['_togglePartToolbarButtonsVisibility'](_0x56b5ea);});}['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'](_0x1f8336){_0x1f8336?.['keepErrors']||this['hideError'](),await this['_streamableContentView']['update'](_0x1f8336);}['setState'](_0x32a0e2){this['_state']=_0x32a0e2;}['showError'](_0x47e214){super['showError'](_0x47e214),this['children']['has'](this['_errorView'])||this['children']['add'](this['_errorView'],0x0);}['hideError'](){this['_isErrorVisible']&&(super['hideError'](),this['togglePartToolbarEnabled'](!0x0));}['showBlockingError'](_0x110fb2){super['showBlockingError'](_0x110fb2),this['togglePartToolbarEnabled'](!0x1);}['toggleRotatorButtonsVisibility'](_0x524aa3){this['nextButtonView']['isVisible']=this['previousButtonView']['isVisible']=_0x524aa3;}['togglePartToolbarEnabled'](_0x45c674){this['_partToolbarView']['isEnabled']=_0x45c674;}['_togglePartToolbarButtonsVisibility']({showApplyButton:_0x407dda,showSuggestButton:_0x2e96ed}){_0x407dda=_0x407dda&&!this['isTrackChangesOn']&&this['_config']['availableActions']['includes']('applySuggestion'),_0x2e96ed=_0x2e96ed&&this['_config']['availableActions']['includes']('insertSuggestion'),this['_partToolbarView']['setButtonsVisibility']({'showApplyButton':_0x407dda,'showSuggestButton':_0x2e96ed});}['_createNextButtonView'](){const _0x32e056=new ckeditor5['ButtonView'](this['locale']);return _0x32e056['set']({'icon':ckeditor5['IconChevronDown'],'label':getTranslation$i(this['locale'],'AI_BALLOON_NEXT_LABEL'),'isVisible':!0x0}),_0x32e056['on']('execute',()=>{this['fire']('showNext');}),_0x32e056;}['_createPreviousButtonView'](){const _0x2a7f60=new ckeditor5['ButtonView'](this['locale']);return _0x2a7f60['set']({'icon':ckeditor5['IconChevronUp'],'label':getTranslation$i(this['locale'],'AI_BALLOON_PREVIOUS_LABEL'),'isVisible':!0x0}),_0x2a7f60['on']('execute',()=>{this['fire']('showPrevious');}),_0x2a7f60;}}class AIChatBalloonToolbarContainerView extends ckeditor5['View']{constructor(_0x5e237c,_0x2d3968){super(_0x5e237c),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-balloon__toolbar-container']},'children':_0x2d3968});}}class AIChatBalloon extends ckeditor5['Plugin']{static get['requires'](){return[ckeditor5['Dialog'],_0x17d9d3];}static get['pluginName'](){return'AIChatBalloon';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_chatBalloonView'];constructor(_0x2d3de5){super(_0x2d3de5),this['set']('showDiff',!0x1);}['open'](_0x3ad0a0){const _0x4723f7=this['editor'];this['_chatBalloonView']||(this['_chatBalloonView']=this['_createChatBalloonView']()),_0x4723f7['plugins']['get']('AIBalloon')['open']({..._0x3ad0a0,'id':'aiChatBalloon','class':'ck-ai-chat-balloon','mainView':this['_chatBalloonView']}),this['_toggleRotatorButtonsInDialogHeader'](_0x3ad0a0['showRotator']),this['_chatBalloonView']['togglePartToolbarEnabled'](!_0x3ad0a0['areActionsDisabled']),this['_restoreDefaultViewFocus']();}['close'](){this['editor']['plugins']['get']('AIBalloon')['close']();}['updateContent'](_0x3dec53){return this['_chatBalloonView']||(this['_chatBalloonView']=this['_createChatBalloonView']()),this['_chatBalloonView']['updateContent'](_0x3dec53);}['setState'](_0x1fa664){this['_chatBalloonView']&&this['_chatBalloonView']['setState'](_0x1fa664);}['_createChatBalloonView'](){const _0x97c171=this['editor'],_0x15c575=_0x97c171['plugins']['get']('AIBalloon'),_0x48a299=_0x97c171['commands']['get']('trackChanges');let _0x1053e9=_0x97c171['config']['get']('ai.availableReplyActions')||[..._0x148813];_0x97c171['plugins']['has']('TrackChanges')||(_0x1053e9=_0x1053e9['filter'](_0x347b1f=>'insertSuggestion'!=_0x347b1f));const _0x186d2a=new AIChatBalloonView(_0x97c171['locale'],{'availableActions':_0x1053e9,'showApplyButton':!0x0,'showSuggestButton':!!_0x48a299});return _0x186d2a['bind']('showDiff')['to'](this),_0x186d2a['delegate'](..._0x109d62)['to'](this),_0x186d2a['delegate']('showPrevious','showNext')['to'](this),_0x15c575['delegate']('dialogClosed')['to'](this),_0x186d2a['on']('applySuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x186d2a['on']('insertSuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x186d2a['on']('rejectSuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x48a299&&_0x186d2a['bind']('isTrackChangesOn')['to'](_0x48a299,'value'),_0x186d2a['render'](),_0x186d2a;}['_toggleRotatorButtonsInDialogHeader'](_0x41dd49){const _0x3183e0=this['editor'],_0x3c1dba=_0x3183e0['plugins']['get']('Dialog')['view']['headerView']['children'];this['_chatBalloonView']['toggleRotatorButtonsVisibility'](_0x41dd49),_0x3c1dba['has'](this['_chatBalloonView']['previousButtonView'])||(_0x3c1dba['addMany']([this['_chatBalloonView']['previousButtonView'],this['_chatBalloonView']['nextButtonView']],0x0),_0x3183e0['plugins']['get']('AIBalloon')['once']('beforeDialogClosed',()=>{_0x3c1dba['remove'](this['_chatBalloonView']['previousButtonView']),_0x3c1dba['remove'](this['_chatBalloonView']['nextButtonView']);}));}['_restoreDefaultViewFocus'](){this['_chatBalloonView']['focus']();}}class AIEditorIntegration extends ckeditor5['Plugin']{static get['requires'](){return[AIToggleButtonUI,AIChatBalloon,SuggestionsConversion];}static get['pluginName'](){return'AIEditorIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function aiQuickActionsButtonCreator(_0x428409){const {editor:_0x26cc01,action:_0x576b5a,withText:_0x3b4b6f=!0x1,withIcon:_0x584d8c=!0x0,isInDropdown:_0x508716=!0x0,shouldPreventFocus:_0x27e13d=!0x1}=_0x428409;return()=>{const _0x26a544=_0x26cc01['locale'],_0xfb5053=new ckeditor5['ButtonView'](_0x26a544),_0x5bdc12=_0xfb5053['bindTemplate'];_0x508716&&_0xfb5053['extendTemplate']({'on':{'mouseenter':_0x5bdc12['to'](()=>{_0x27e13d&&_0x27e13d()||_0xfb5053['focus']();})}});const _0x361693=_0x576b5a['icon']??_0x576b5a['parent']?.['icon'];return _0xfb5053['set']({'label':_0x576b5a['label'],'withText':_0x3b4b6f,'role':'menuitem','icon':_0x584d8c?_0x361693??ckeditor5['IconAIQuickActions']:void 0x0,'tooltip':!_0x3b4b6f,'class':'ck-ai-quick-actions-button','isEnabled':_0x576b5a['isEnabled']}),_0xfb5053['on']('execute',()=>{_0x26cc01['editing']['view']['focus'](),_0x26cc01['commands']['execute']('aiQuickAction',_0x576b5a);}),_0xfb5053;};}class DropdownMenuButtonWithHighlightView extends ckeditor5['ListItemButtonView']{['arrowView'];constructor(_0x137f3f,_0x3795bc){super(_0x137f3f,_0x3795bc);const _0x1c75b7=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',_0x5044a5=>String(_0x5044a5)),'data-cke-tooltip-disabled':_0x1c75b7['to']('isOn')},'on':{'mouseenter':_0x1c75b7['to']('mouseenter')}});}['render'](){super['render'](),this['children']['add'](this['arrowView']);}['_createArrowView'](){const _0x593eeb=new ckeditor5['IconView']();return _0x593eeb['content']=ckeditor5['IconDropdownArrow'],_0x593eeb['extendTemplate']({'attributes':{'class':'ck-dropdown-menu-list__nested-menu__button__arrow'}}),_0x593eeb;}}class AIQuickActionsFilteredListView extends ckeditor5['ListView']{['_allListItems'];['_allSearchableItems'];constructor(_0x5b87f5,_0x5ec6b0,_0x5a90b9){super(_0x5b87f5),this['_allListItems']=_0x5ec6b0,this['_allSearchableItems']=_0x5a90b9;}['filter'](_0x3832cf){if(!_0x3832cf)return this['items']['clear'](),this['items']['addMany'](this['_allListItems']),this['_clearHighlight'](),{'resultsCount':this['_allListItems']['length'],'totalItemsCount':this['_allListItems']['length']};const _0x2c0e4d=_0x3832cf['source']['toLowerCase']()['trim'](),_0x12dcd4=this['_allSearchableItems']['filter'](_0x44a665=>(_0x44a665['groupLabel']?_0x44a665['label']+'\x20('+_0x44a665['groupLabel']+')':_0x44a665['label'])['toLowerCase']()['includes'](_0x2c0e4d));return this['items']['clear'](),this['items']['addMany'](_0x12dcd4['sort']((_0x21ef57,_0x2d3954)=>{const _0xf932fd=_0x21ef57['groupLabel'],_0x51b82c=_0x2d3954['groupLabel'];return _0xf932fd||_0x51b82c?_0xf932fd?0x1:-0x1:0x0;})['map'](_0x3d06d5=>_0x3d06d5['item'])),this['_highlightQuery'](_0x2c0e4d,_0x12dcd4),{'resultsCount':_0x12dcd4['length'],'totalItemsCount':this['_allSearchableItems']['length']};}['_highlightQuery'](_0x448ce6,_0x2f5a84){if(!_0x448ce6)return;const _0x27687c=new RegExp(_0x205a41(_0x448ce6),'gi');_0x2f5a84['forEach'](_0x589e3c=>{_0x589e3c['highlightViews']&&_0x589e3c['highlightViews']['forEach'](_0x184842=>{'function'==typeof _0x184842['highlightText']&&_0x184842['highlightText'](_0x27687c);});});}['_clearHighlight'](){this['_allSearchableItems']['forEach'](_0x5d0c4a=>{_0x5d0c4a['highlightViews']&&_0x5d0c4a['highlightViews']['forEach'](_0x3fbc12=>{'function'==typeof _0x3fbc12['highlightText']&&_0x3fbc12['highlightText'](null);});});}}const _0x101eaa={'MENU':'menu','MENU_ITEM':'menuitem'};class AIQuickActionsDropdownContentView extends ckeditor5['View']{['_bodyCollection'];['optionsListView'];['_searchTextView']=null;['_allSearchableItems']=[];['children'];['focusTracker'];['keystrokes'];['_focusables'];['focusCycler'];['_openNestedPanels']=new Set();['_hasSearch'];constructor(_0x258100,_0x332f88,_0x31a4a3,_0x4b2d98,_0x4de020=!0x1){const _0x2635c0=_0x258100['locale'];super(_0x2635c0),this['_bodyCollection']=_0x4b2d98,this['_hasSearch']=_0x4de020;const _0x491c1c=this['_createListItems'](_0x258100,_0x332f88,_0x31a4a3);this['optionsListView']=new AIQuickActionsFilteredListView(_0x2635c0,_0x491c1c,this['_allSearchableItems']),this['optionsListView']['role']=_0x101eaa['MENU'],this['optionsListView']['items']['addMany'](_0x491c1c),this['focusTracker']=new ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),_0x4de020&&(this['_searchTextView']=this['_createSearchTextView']()),this['_focusables']=_0x491c1c,this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes']}),_0x4de020&&this['_searchTextView']&&this['focusCycler']['chain'](this['_searchTextView']['focusCycler']);const _0x121a31=_0x4de020&&this['_searchTextView']?[this['_searchTextView']]:[this['optionsListView']];this['children']=new ckeditor5['ViewCollection'](_0x121a31),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions','ck-rounded-corners'],'dir':_0x2635c0['uiLanguageDirection']},'children':this['children']});}['_createSearchTextView'](){return new ckeditor5['SearchTextView'](this['locale'],{'filteredView':this['optionsListView'],'queryView':{'label':getTranslation$i(this['locale'],'AI_QUICK_ACTIONS_SEARCH')},'class':'ck-ai-quick-actions-search','infoView':{'text':{'notFound':{'primary':getTranslation$i(this['locale'],'AI_QUICK_ACTIONS_SEARCH_NOT_FOUND')}}}});}['_isSearchFocused'](){if(!this['_hasSearch']||!this['_searchTextView']||!this['_searchTextView']['queryView']['fieldView']['element'])return!0x1;const _0x26dc50=this['_searchTextView']['queryView']['fieldView']['element']['ownerDocument']?.['activeElement'];return this['_searchTextView']['queryView']['fieldView']['element']['contains'](_0x26dc50);}['_createListItems'](_0x1ffcae,_0x590890,_0x27f573){const _0x3b62b6=new ckeditor5['ViewCollection']();return _0x590890['forEach'](_0xdc9109=>{if('actions'in _0xdc9109){const {listItem:_0x3d20b5}=this['_createActionGroupButton'](_0x1ffcae,_0xdc9109,_0x27f573);_0x3b62b6['add'](_0x3d20b5),_0xdc9109['actions']['forEach'](_0x6840ac=>{this['_createActionButton'](_0x1ffcae,_0x6840ac,_0xdc9109['label'],_0xdc9109['icon']);const {listItem:_0x283d3b,highlightViews:_0x5db96}=this['_createSearchResultActionButton'](_0x1ffcae,_0x6840ac,_0xdc9109['label'],_0xdc9109['icon']);this['_allSearchableItems']['push']({'item':_0x283d3b,'label':_0x6840ac['label'],'groupLabel':_0xdc9109['label'],'highlightViews':_0x5db96});});}else{const {listItem:_0x333829}=this['_createActionButton'](_0x1ffcae,_0xdc9109);_0x3b62b6['add'](_0x333829);const _0x3c54a6=_0x333829['children']['first'];if(_0x3c54a6){const {listItem:_0x1beb2b,highlightViews:_0x19979d}=this['_createSearchResultActionButton'](_0x1ffcae,_0xdc9109);this['_allSearchableItems']['push']({'item':_0x1beb2b,'label':_0x3c54a6['label']||'','highlightViews':_0x19979d});}}}),_0x3b62b6;}['_createActionButton'](_0xb3319b,_0x5d3f8d,_0x3dce5c,_0x468c6a){const _0x16681a=new ckeditor5['ListItemView'](this['locale']);if(_0x3dce5c&&_0x468c6a){const _0x5ae2cf=new ckeditor5['ButtonView'](this['locale']),_0x11571e=_0x5ae2cf['bindTemplate'],_0x3014f6=new ckeditor5['HighlightedTextView']();_0x3014f6['text']=_0x5d3f8d['label'];const _0x24fc46=new ckeditor5['HighlightedTextView']();_0x24fc46['text']=_0x3dce5c;const _0x4670d7=new ckeditor5['IconView']();_0x4670d7['content']=_0x468c6a,_0x4670d7['extendTemplate']({'attributes':{'class':'ck-ai-quick-actions-button__group-icon'}});const _0x1fa923=new ckeditor5['View'](this['locale']);_0x1fa923['setTemplate']({'tag':'span','attributes':{'class':'ck-ai-quick-actions-button_with-group__open-paren'},'children':[{'text':'\x20('}]});const _0x22da46=new ckeditor5['View'](this['locale']);return _0x22da46['setTemplate']({'tag':'span','attributes':{'class':'ck-ai-quick-actions-button_with-group__close-paren'},'children':[{'text':')'}]}),_0x5ae2cf['set']({'label':_0x5d3f8d['label']+'\x20('+_0x3dce5c+')','withText':!0x0,'role':'menuitem','class':'ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','tooltip':!0x1}),_0x5ae2cf['setTemplate']({'tag':'button','attributes':{'class':['ck','ck-button','ck-button_with-text','ck-ai-quick-actions-button','ck-ai-quick-actions-button_with-group'],'type':'button','role':'menuitem','tabindex':'-1'},'children':[_0x3014f6,_0x1fa923,_0x4670d7,_0x24fc46,_0x22da46],'on':{'mouseenter':_0x11571e['to'](()=>{this['_isSearchFocused']()||_0x5ae2cf['focus']();}),'click':_0x11571e['to'](()=>{_0x5ae2cf['fire']('execute');})}}),_0x5ae2cf['on']('execute',()=>{_0xb3319b['editing']['view']['focus'](),_0xb3319b['commands']['execute']('aiQuickAction',_0x5d3f8d);}),_0x16681a['children']['add'](_0x5ae2cf),{'listItem':_0x16681a,'highlightViews':[_0x3014f6,_0x24fc46]};}{const _0x20d8bb=new ckeditor5['ButtonLabelWithHighlightView'](),_0x129474=new ckeditor5['ButtonView'](this['locale'],_0x20d8bb),_0xbfbd45=_0x129474['bindTemplate'],_0x124f7e=_0x5d3f8d['icon']??_0x5d3f8d['parent']?.['icon'],_0x18f00d=void 0x0!==_0x5d3f8d['icon'];return _0x129474['set']({'label':_0x5d3f8d['label'],'withText':!0x0,'role':'menuitem','icon':_0x18f00d?_0x124f7e??ckeditor5['IconAIQuickActions']:void 0x0,'tooltip':!0x1,'class':'ck-ai-quick-actions-button'}),_0x129474['extendTemplate']({'on':{'mouseenter':_0xbfbd45['to'](()=>{this['_isSearchFocused']()||_0x129474['focus']();})}}),_0x129474['on']('execute',()=>{_0xb3319b['editing']['view']['focus'](),_0xb3319b['commands']['execute']('aiQuickAction',_0x5d3f8d);}),_0x16681a['children']['add'](_0x129474),{'listItem':_0x16681a,'highlightViews':[_0x20d8bb]};}}['_createSearchResultActionButton'](_0x35871c,_0x2a033a,_0x44cba3,_0x4cd3ba){return _0x44cba3&&_0x4cd3ba?this['_createSearchResultGroupedActionButton'](_0x35871c,_0x2a033a,_0x44cba3,_0x4cd3ba):this['_createSearchResultIndividualActionButton'](_0x35871c,_0x2a033a);}['_createSearchResultGroupedActionButton'](_0x476de5,_0x2039fb,_0x51f9e6,_0x23ddc2){const _0x4b8a2f=new ckeditor5['ListItemView'](this['locale']),_0xb4a995=new ckeditor5['ButtonView'](this['locale']),_0x30b3a4=_0xb4a995['bindTemplate'],{view:_0x3a0ec7,highlightView:_0x5a276c}=this['_createSearchResultGroupRow'](_0x51f9e6,_0x23ddc2),{view:_0x1e083e,highlightView:_0x90b8dd}=this['_createSearchResultActionRow'](_0x2039fb['label']),_0x5803e6=this['_createSearchResultContentView'](_0x3a0ec7,_0x1e083e);return _0xb4a995['set']({'label':_0x2039fb['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}),_0xb4a995['setTemplate']({'tag':'button','attributes':{'class':['ck','ck-button','ck-button_with-text','ck-ai-quick-actions-button','ck-ai-quick-actions-search-result-button','ck-ai-quick-actions-search-result-button_with-group'],'type':'button','role':'menuitem','tabindex':'-1'},'children':[_0x5803e6],'on':{'mouseenter':_0x30b3a4['to'](()=>{this['_isSearchFocused']()||_0xb4a995['focus']();}),'click':_0x30b3a4['to'](()=>{this['_handleSearchResultButtonClick'](_0xb4a995);})}}),this['_setupActionButtonExecution'](_0xb4a995,_0x476de5,_0x2039fb),_0x4b8a2f['children']['add'](_0xb4a995),{'listItem':_0x4b8a2f,'highlightViews':[_0x5a276c,_0x90b8dd]};}['_createSearchResultIndividualActionButton'](_0x5d915b,_0x10a280){const _0x5245ca=new ckeditor5['ListItemView'](this['locale']),_0x341b9c=new ckeditor5['ButtonLabelWithHighlightView'](),_0x5147b1=new ckeditor5['ButtonView'](this['locale'],_0x341b9c),_0x19f763=_0x5147b1['bindTemplate'];return _0x5147b1['set']({'label':_0x10a280['label'],'withText':!0x0,'role':'menuitem','icon':void 0x0,'tooltip':!0x1,'class':'ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button'}),_0x5147b1['extendTemplate']({'on':{'mouseenter':_0x19f763['to'](()=>{this['_isSearchFocused']()||_0x5147b1['focus']();})}}),this['_setupActionButtonExecution'](_0x5147b1,_0x5d915b,_0x10a280),_0x5245ca['children']['add'](_0x5147b1),{'listItem':_0x5245ca,'highlightViews':[_0x341b9c]};}['_createSearchResultGroupRow'](_0x26cedd,_0x5ecbfa){const _0x41b39b=new ckeditor5['View'](this['locale']),_0x83d738=new ckeditor5['IconView']();_0x83d738['content']=_0x5ecbfa,_0x83d738['extendTemplate']({'attributes':{'class':'ck-ai-quick-actions-button__group-icon'}});const _0x41755c=new ckeditor5['HighlightedTextView']();return _0x41755c['text']=_0x26cedd,_0x41b39b['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__group-row'},'children':[_0x83d738,_0x41755c]}),{'view':_0x41b39b,'highlightView':_0x41755c};}['_createSearchResultActionRow'](_0x5f56d0){const _0x35731b=new ckeditor5['View'](this['locale']),_0x344d88=new ckeditor5['HighlightedTextView']();return _0x344d88['text']=_0x5f56d0,_0x35731b['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__action-row'},'children':[_0x344d88]}),{'view':_0x35731b,'highlightView':_0x344d88};}['_createSearchResultContentView'](_0x16e517,_0x130396){const _0x2030a2=new ckeditor5['View'](this['locale']);return _0x2030a2['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__content'},'children':[_0x16e517,_0x130396]}),_0x2030a2;}['_setupActionButtonExecution'](_0x7bb463,_0x43bc8b,_0x3624af){_0x7bb463['on']('execute',()=>{_0x43bc8b['editing']['view']['focus'](),_0x43bc8b['commands']['execute']('aiQuickAction',_0x3624af);});}['_createActionGroupButton'](_0x4eb8ad,_0x296e33,_0x3a3476){const _0x3fcdc9=new ckeditor5['ListItemView'](this['locale']),_0x215a50=new ckeditor5['ButtonLabelWithHighlightView'](),_0x5ec778=new DropdownMenuButtonWithHighlightView(this['locale'],_0x215a50),_0x2b75d2=_0x5ec778['bindTemplate'],_0x4d036a=this['_getPanelKeystroke'](_0x3a3476),_0x45807f=this['_createGroupActionsList'](_0x4eb8ad,_0x296e33['actions'],_0x3a3476);_0x5ec778['set']({'label':_0x296e33['label'],'withText':!0x0,'role':_0x101eaa['MENU_ITEM'],'icon':_0x296e33['icon']??ckeditor5['IconAIQuickActions'],'isEnabled':_0x296e33['actions']['some'](_0x16fd93=>_0x16fd93['isEnabled'])}),_0x5ec778['extendTemplate']({'on':{'mouseenter':_0x2b75d2['to'](()=>{this['_isSearchFocused']()||_0x5ec778['focus']();})}});const _0x787ffe=new ckeditor5['BalloonPanelView'](this['locale']);return _0x787ffe['extendTemplate']({'attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions-group-panel','ck-dropdown-menu__nested-menu__panel']},'on':{'keydown':_0x2b75d2['to'](_0x1b4dd3=>{this['_handlePanelKeydown'](_0x1b4dd3,_0x4d036a,_0x5ec778,_0x787ffe);})}}),_0x5ec778['bind']('isOn')['to'](_0x787ffe,'isVisible'),this['_bodyCollection']['add'](_0x787ffe),_0x787ffe['content']['add'](_0x45807f),this['_setupGroupMenuBehavior'](_0x5ec778,_0x787ffe),_0x3fcdc9['children']['add'](_0x5ec778),{'listItem':_0x3fcdc9,'highlightView':_0x215a50};}['_createGroupActionsList'](_0x4c92aa,_0x548c8a,_0x40fc17){const _0x57b1fe=new ckeditor5['ListView'](this['locale']);return _0x57b1fe['extendTemplate']({'attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions-group-list','ck-dropdown-menu-list']}}),_0x548c8a['forEach'](_0x323b95=>{const _0x5e746f=new ckeditor5['ListItemView'](this['locale']),_0x496c5e=aiQuickActionsButtonCreator({'editor':_0x4c92aa,'action':_0x323b95,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this['_isSearchFocused']()})();_0x5e746f['children']['add'](_0x496c5e),_0x40fc17['focusTracker']['add'](_0x496c5e),_0x57b1fe['items']['add'](_0x5e746f);}),_0x57b1fe;}['_setupGroupMenuBehavior'](_0x4e8f95,_0x241763){const _0x520495=_0x4e8f95['bindTemplate'],_0x335839=this['_getButtonKeystroke'](_0x4e8f95);_0x4e8f95['extendTemplate']({'attributes':{'class':['ck-ai-quick-actions-group-button']},'on':{'mouseenter':_0x520495['to'](()=>{this['_showNestedPanel'](_0x241763,_0x4e8f95);}),'mouseleave':_0x520495['to'](_0x11c715=>{const _0x2be628=_0x11c715['relatedTarget'];this['_isMovingToNestedMenu'](_0x2be628,_0x241763)||this['_hideNestedPanel'](_0x241763);}),'keydown':_0x520495['to'](_0x3d0908=>{_0x3d0908['key']==_0x335839&&(this['_showNestedPanel'](_0x241763,_0x4e8f95),_0x241763['content']['get'](0x0)['focus']());})}}),_0x241763['on']('render',()=>{_0x241763['element']?.['addEventListener']('mouseleave',_0x5dfdef=>{const _0xacb28d=_0x5dfdef['relatedTarget'];_0x4e8f95['element']?.['contains'](_0xacb28d)||this['_isMovingToNestedMenu'](_0xacb28d,_0x241763)||this['_hideNestedPanel'](_0x241763);});});}['_showNestedPanel'](_0x8fc1f7,_0x1a34f7){this['_openNestedPanels']['forEach'](_0x4d7de3=>{_0x4d7de3!==_0x8fc1f7&&_0x4d7de3['isVisible']&&_0x4d7de3['hide']();}),_0x8fc1f7['show'](),_0x8fc1f7['pin']({'positions':[ckeditor5['DropdownMenuPanelPositioningFunctions']['eastSouth']],'target':_0x1a34f7['element'],'fitInViewport':!0x0}),this['_openNestedPanels']['add'](_0x8fc1f7);}['_hideNestedPanel'](_0x18514d){_0x18514d['hide'](),this['_openNestedPanels']['delete'](_0x18514d);}['_hideAllNestedPanels'](){this['_openNestedPanels']['forEach'](_0x46a9c5=>_0x46a9c5['hide']()),this['_openNestedPanels']['clear']();}['_isMovingToNestedMenu'](_0x14ea1a,_0x2e9f6c){if(!_0x14ea1a)return!0x1;if(_0x2e9f6c['element']?.['contains'](_0x14ea1a))return!0x0;const _0x5f35c1=_0x14ea1a;return _0x5f35c1['closest']&&(null!==_0x5f35c1['closest']('.ck-ai-quick-actions-group-panel')||null!==_0x5f35c1['closest']('.ck-ai-quick-actions-group-list')||null!==_0x5f35c1['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'](_0x105523){return'rtl'===_0x105523['locale']['uiLanguageDirection']?'ArrowRight':'ArrowLeft';}['_getButtonKeystroke'](_0x2fd7ff){return'rtl'===_0x2fd7ff['locale']['uiLanguageDirection']?'ArrowLeft':'ArrowRight';}['_handlePanelKeydown'](_0x24c917,_0x4133db,_0x594ab6,_0x416be8){_0x24c917['key']==_0x4133db&&(_0x594ab6['focus'](),this['_hideNestedPanel'](_0x416be8));}['_handleSearchResultButtonClick'](_0x247532){_0x247532['fire']('execute');}}function aiQuickActionsDropdownCreator(_0x438ca6){const {editor:_0x229879,content:_0x395790,buttonDefinition:_0x3ff2c2,bodyCollection:_0x1f1526,hasSearch:_0xe96d86=!0x1}=_0x438ca6;return()=>{const _0x44ae98=_0x229879['locale'],_0x2b3d2d=_0x229879['commands']['get']('aiQuickAction'),_0x3327c3=ckeditor5['createDropdown'](_0x44ae98);_0x3327c3['bind']('isEnabled')['to'](_0x2b3d2d),_0x3327c3['buttonView']['set']({'icon':_0x3ff2c2['icon']??ckeditor5['IconAIQuickActions'],'label':_0x3ff2c2['label'],'tooltip':!0x0}),_0x3327c3['set']({'class':'ck-ai-quick-actions-dropdown'});const _0x137163=new AIQuickActionsDropdownContentView(_0x229879,_0x395790,_0x3327c3,_0x1f1526,_0xe96d86);return _0x3327c3['panelView']['children']['add'](_0x137163),_0xe96d86&&_0x3327c3['on']('change:isOpen',(_0x2effad,_0x353972,_0x3896f5)=>{if(_0x3896f5){if(_0x229879['plugins']['has']('AIEditing')){const _0x5608f8=_0x229879['plugins']['get'](AIEditing),_0x81f731=_0x229879['model']['document']['selection'],_0x3a4ede=Array['from'](_0x81f731['getRanges']());_0x3a4ede['length']>0x0&&_0x5608f8['showFakeVisualSelection']({'ranges':_0x3a4ede,'id':'quick-action','priority':0x14});}}else _0x229879['plugins']['has']('AIEditing')&&_0x229879['plugins']['get'](AIEditing)['hideFakeVisualSelection']('quick-action'),_0x137163['resetSearch']();}),_0x3327c3;};}const _0x462e1b='<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>',_0x53dd62='<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>',_0x1a9c35='<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>',AIQuickActionTypeToPluginName=/* #__PURE__ -- @preserve */
((()=>({'chat':'AIChat','action':'AIActions'}))());class AIQuickActionsUI extends ckeditor5['Plugin']{static get['requires'](){return[ckeditor5['BalloonToolbar'],AIConnector];}static get['pluginName'](){return'AIQuickActionsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){const _0x5395d4=await this['_getDefaultAndCustomActions']();this['_prepareQuickActionsDefinition'](_0x5395d4),this['_initializeQuickActionsComponentsAndCommands']();}static['getDefaultQuickActions'](_0x3eb4d9){return getDefaultQuickActions(_0x3eb4d9);}async['_getDefaultAndCustomActions'](){const _0x14a139=AIQuickActionsUI['getDefaultQuickActions'](this['editor']['locale']),_0x39f01f=this['editor']['config']['get']('ai.quickActions.extraCommands')||[];let _0x1e19f3,_0x2764fb=[];try{const _0x4498dd=new _0x29fb11({'connector':this['editor']['plugins']['get']('AIConnector'),'config':this['editor']['config']['get']('ai.models'),'locale':this['editor']['locale']});_0x2764fb=await _0x4498dd['getAll'](),_0x1e19f3=(await _0x4498dd['getDefault']())?.['id'];}catch(_0x5373f4){const _0x1a06f8=new ckeditor5['CKEditorError']('ai-quick-actions-models-unable-to-retrieve',this,{'error':_0x5373f4});ckeditor5['logError'](_0x1a06f8['message']);}finally{const _0x42cb2a=_0x39f01f['map'](_0x4bd0e4=>({..._0x4bd0e4,'type':'chat'===_0x4bd0e4['type']?'chat':'action','model':'chat'!==_0x4bd0e4['type']?_0x4bd0e4['model']||_0x1e19f3:_0x4bd0e4['model'],'icon':void 0x0}));_0x14a139['find'](_0x2287ce=>'other'===_0x2287ce['id'])['actions']['push'](..._0x42cb2a),_0x14a139['forEach'](_0x55f234=>{if('actions'in _0x55f234)_0x55f234['actions']['forEach'](_0x8a698a=>{if(_0x8a698a['isEnabled']=!!_0x2764fb['find'](_0x46f0cf=>_0x46f0cf['id']===_0x8a698a['model'])||void 0x0===_0x8a698a['model'],!_0x8a698a['isEnabled']){const _0x2f76d0=new ckeditor5['CKEditorError']('ai-quick-actions-unavailable-model',this,{'actionId':_0x8a698a['id'],'modelId':_0x8a698a['model']});ckeditor5['logError'](_0x2f76d0['message']);}});else{if(_0x55f234['isEnabled']=!!_0x2764fb['find'](_0x2ef9cc=>_0x2ef9cc['id']===_0x55f234['model'])||void 0x0===_0x55f234['model'],!_0x55f234['isEnabled']){const _0x153828=new ckeditor5['CKEditorError']('ai-quick-actions-unavailable-model',this,{'actionId':_0x55f234['id'],'modelId':_0x55f234['model']});ckeditor5['logError'](_0x153828['message']);}}});}return _0x14a139;}['_initializeQuickActionsComponentsAndCommands'](){const _0x38b37e=new ckeditor5['BodyCollection'](this['editor']['locale']);_0x38b37e['attachToDom'](),this['_initializeQuickActionsDropdown'](_0x38b37e),this['_initializeQuickActionsMenuBar'](),this['_initializeQuickActionsComponents'](_0x38b37e);}['_initializeQuickActionsDropdown'](_0x102e84){const _0x2d93fc=this['editor']['config']['get']('ai.quickActions.isSearchEnabled')??!0x0;this['editor']['ui']['componentFactory']['add']('aiQuickActions',aiQuickActionsDropdownCreator({'editor':this['editor'],'content':this['_quickActionsDefinition'],'buttonDefinition':{'icon':ckeditor5['IconAIQuickActions'],'label':getTranslation$i(this['editor']['locale'],'AI_QUICK_ACTIONS_HEADING')},'bodyCollection':_0x102e84,'hasSearch':_0x2d93fc}));}['_prepareQuickActionsDefinition'](_0x4e111c){this['_quickActionsDefinition']=_0x4e111c['map'](_0x4acabd=>{if('actions'in _0x4acabd){const _0x214d0f=_0x4acabd;return{..._0x214d0f,'actions':_0x214d0f['actions']['map'](_0x1151ff=>{const {actions:_0x3c33ad,..._0x2a2939}=_0x214d0f;return{..._0x1151ff,'parent':_0x2a2939};})['filter'](_0xebf0cc=>this['_shouldIncludeAction'](_0xebf0cc))};}return _0x4acabd;})['filter'](_0x539169=>'actions'in _0x539169?_0x539169['actions']['length']>0x0:this['_shouldIncludeAction'](_0x539169));}['_shouldIncludeAction'](_0x1d8b14){const _0x16bbde=this['editor']['config']['get']('ai.quickActions.removeCommands')||[];return this['editor']['plugins']['has'](AIQuickActionTypeToPluginName[_0x1d8b14['type']])&&!_0x16bbde['includes'](_0x1d8b14['id'])&&!('chat'===_0x1d8b14['type']&&!0x1===this['editor']['config']['get']('ai.chat.context.document.enabled'));}['_initializeQuickActionsComponents'](_0x241aa9){this['_quickActionsDefinition']['forEach'](_0x2f8454=>{if('actions'in _0x2f8454){const _0x576251=aiQuickActionsDropdownCreator({'editor':this['editor'],'content':_0x2f8454['actions'],'buttonDefinition':_0x2f8454,'bodyCollection':_0x241aa9});this['editor']['ui']['componentFactory']['add'](_0x2f8454['id'],_0x576251),_0x2f8454['actions']['forEach'](_0x37cf25=>{const _0x19d543=aiQuickActionsButtonCreator({'editor':this['editor'],'action':_0x37cf25});this['editor']['ui']['componentFactory']['add'](_0x37cf25['id'],_0x19d543);});}else{const _0x3e3ea7=aiQuickActionsButtonCreator({'editor':this['editor'],'action':_0x2f8454,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this['editor']['ui']['componentFactory']['add'](_0x2f8454['id'],_0x3e3ea7);}});}['_initializeQuickActionsMenuBar'](){this['editor']['ui']['componentFactory']['add']('menuBar:aiQuickActions',_0x2a9ce2=>{const _0x48904d=this['editor']['commands']['get']('aiQuickAction'),_0xed19cc=new ckeditor5['MenuBarMenuView'](_0x2a9ce2),_0x5d9176=getTranslation$i(_0x2a9ce2,'AI_QUICK_ACTIONS_HEADING');_0xed19cc['buttonView']['set']({'label':_0x5d9176,'icon':ckeditor5['IconAIQuickActions']});const _0x2cf949=new ckeditor5['MenuBarMenuListView'](_0x2a9ce2);return _0x2cf949['set']({'ariaLabel':_0x5d9176,'role':'menu'}),this['_quickActionsDefinition']['forEach'](_0x480a1b=>{if('actions'in _0x480a1b){const _0x3ac837=_0x480a1b,_0x486736=new ckeditor5['MenuBarMenuListItemView'](_0x2a9ce2,_0xed19cc),_0x4bae5c=new ckeditor5['MenuBarMenuView'](_0x2a9ce2),_0x314278=new ckeditor5['MenuBarMenuListView'](_0x2a9ce2);_0x4bae5c['buttonView']['set']({'label':_0x3ac837['label'],'icon':_0x3ac837['icon']}),_0x3ac837['actions']['forEach'](_0x52e3a6=>{const _0x1f74b9=new ckeditor5['MenuBarMenuListItemView'](_0x2a9ce2,_0x4bae5c),_0x226eab=new ckeditor5['MenuBarMenuListItemButtonView'](_0x2a9ce2);_0x226eab['set']({'label':_0x52e3a6['label'],'icon':_0x52e3a6['icon'],'role':'menuitem','isEnabled':_0x52e3a6['isEnabled']}),_0x226eab['on']('execute',()=>{this['_executeQuickAction'](_0x52e3a6);}),_0x226eab['delegate']('execute')['to'](_0x4bae5c),_0x1f74b9['children']['add'](_0x226eab),_0x314278['items']['add'](_0x1f74b9);}),_0x4bae5c['panelView']['children']['add'](_0x314278),_0x486736['children']['add'](_0x4bae5c),_0x2cf949['items']['add'](_0x486736);}else{const _0x2eff72=_0x480a1b,_0x327884=new ckeditor5['MenuBarMenuListItemView'](_0x2a9ce2,_0xed19cc),_0x2797b3=new ckeditor5['MenuBarMenuListItemButtonView'](_0x2a9ce2);_0x2797b3['set']({'label':_0x2eff72['label'],'icon':_0x2eff72['icon'],'role':'menuitem','isEnabled':_0x2eff72['isEnabled']}),_0x2797b3['on']('execute',()=>{this['_executeQuickAction'](_0x2eff72);}),_0x2797b3['delegate']('execute')['to'](_0xed19cc),_0x327884['children']['add'](_0x2797b3),_0x2cf949['items']['add'](_0x327884);}}),(Object['values'](AIQuickActionTypeToPluginName)['some'](_0x3c2dec=>this['editor']['plugins']['has'](_0x3c2dec))?_0xed19cc['bind']('isEnabled')['to'](_0x48904d):_0xed19cc['set']({'isEnabled':!0x1}),_0xed19cc['panelView']['children']['add'](_0x2cf949),_0xed19cc);});}['_executeQuickAction'](_0x5057ab){const _0x55e46e=this['editor'];_0x55e46e['editing']['view']['focus'](),_0x55e46e['commands']['execute']('aiQuickAction',_0x5057ab);const _0x5639f7=_0x55e46e['ui']['view']['menuBarView'];_0x5639f7&&_0x5639f7['close']&&_0x5639f7['close']();}}function getDefaultQuickActions(_0x5d2adc){const _0x38c115=new Intl['DisplayNames'](['en'],{'type':'language'})['of'](_0x5d2adc['uiLanguage'])||'English';return[{'id':'ask-ai','label':getTranslation$i(_0x5d2adc,'AI_QUICK_ACTIONS_ASK_AI'),'type':'chat','icon':ckeditor5['IconAIChatCommands']},{'id':'chat-commands','label':getTranslation$i(_0x5d2adc,'AI_QUICK_ACTIONS_CHAT_COMMANDS'),'icon':ckeditor5['IconAIChatCommands'],'actions':[{'id':'explain','label':getTranslation$i(_0x5d2adc,'AI_QUICK_ACTIONS_EXPLAIN'),'displayedPrompt':getTranslation$i(_0x5d2adc,'AI_QUICK_ACTIONS_EXPLAIN'),'prompt':_0x462e1b['replace']('%0',_0x38c115),'type':'chat'},{'id':'summarize','label':getTranslation$i(_0x5d2adc,'AI_QUICK_ACTIONS_SUMMARIZE'),'displayedPrompt':getTranslation$i(_0x5d2adc,'AI_QUICK_ACTIONS_SUMMARIZE'),'prompt':_0x53dd62['replace']('%0',_0x38c115),'type':'chat'},{'id':'highlight-key-points','label':getTranslation$i(_0x5d2adc,'AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS'),'displayedPrompt':getTranslation$i(_0x5d2adc,'AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS'),'prompt':_0x1a9c35['replace']('%0',_0x38c115),'type':'chat'}]},{'id':'improve-writing','label':getTranslation$i(_0x5d2adc,'AI_QUICK_ACTIONS_IMPROVE_WRITING'),'type':'action','icon':ckeditor5['IconAIImproveWriting']},{'id':'continue','label':getTranslation$i(_0x5d2adc,'AI_QUICK_ACTIONS_CONTINUE_WRITING'),'type':'action','icon':ckeditor5['IconAIContinueWriting']},{'id':'fix-grammar','label':getTranslation$i(_0x5d2adc,'AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING'),'type':'action','icon':ckeditor5['IconAIGrammarCheck']},{'id':'adjust-length','label':getTranslation$i(_0x5d2adc,'AI_QUICK_ACTIONS_ADJUST_LENGTH'),'icon':ckeditor5['IconAIAdjustLength'],'actions':[{'id':'make-shorter','label':getTranslation$i(_0x5d2adc,'AI_QUICK_ACTIONS_MAKE_SHORTER'),'type':'action'},{'id':'make-longer','label':getTranslation$i(_0x5d2adc,'AI_QUICK_ACTIONS_MAKE_LONGER'),'type':'action'}]},{'id':'change-tone','label':getTranslation$i(_0x5d2adc,'AI_QUICK_ACTIONS_CHANGE_TONE'),'icon':ckeditor5['IconAIChangeTone'],'actions':[{'id':'make-tone-casual','label':getTranslation$i(_0x5d2adc,'AI_QUICK_ACTIONS_MORE_CASUAL'),'type':'action'},{'id':'make-tone-direct','label':getTranslation$i(_0x5d2adc,'AI_QUICK_ACTIONS_MORE_DIRECT'),'type':'action'},{'id':'make-tone-friendly','label':getTranslation$i(_0x5d2adc,'AI_QUICK_ACTIONS_MORE_FRIENDLY'),'type':'action'},{'id':'make-tone-confident','label':getTranslation$i(_0x5d2adc,'AI_QUICK_ACTIONS_MORE_CONFIDENT'),'type':'action'},{'id':'make-tone-professional','label':getTranslation$i(_0x5d2adc,'AI_QUICK_ACTIONS_MORE_PROFESSIONAL'),'type':'action'}]},{'id':'translate','label':getTranslation$i(_0x5d2adc,'AI_QUICK_ACTIONS_TRANSLATE'),'icon':ckeditor5['IconAITranslate'],'actions':[{'id':'translate-to-english','label':getTranslation$i(_0x5d2adc,'AI_QUICK_ACTIONS_TRANSLATE_ENGLISH'),'type':'action','actionName':'translate','args':{'language':'english'}},{'id':'translate-to-chinese','label':getTranslation$i(_0x5d2adc,'AI_QUICK_ACTIONS_TRANSLATE_CHINESE'),'type':'action','actionName':'translate','args':{'language':'chinese'}},{'id':'translate-to-spanish','label':getTranslation$i(_0x5d2adc,'AI_QUICK_ACTIONS_TRANSLATE_SPANISH'),'type':'action','actionName':'translate','args':{'language':'spanish'}},{'id':'translate-to-german','label':getTranslation$i(_0x5d2adc,'AI_QUICK_ACTIONS_TRANSLATE_GERMAN'),'type':'action','actionName':'translate','args':{'language':'german'}},{'id':'translate-to-french','label':getTranslation$i(_0x5d2adc,'AI_QUICK_ACTIONS_TRANSLATE_FRENCH'),'type':'action','actionName':'translate','args':{'language':'french'}},{'id':'translate-to-japanese','label':getTranslation$i(_0x5d2adc,'AI_QUICK_ACTIONS_TRANSLATE_JAPANESE'),'type':'action','actionName':'translate','args':{'language':'japanese'}},{'id':'translate-to-portuguese','label':getTranslation$i(_0x5d2adc,'AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE'),'type':'action','actionName':'translate','args':{'language':'portuguese'}},{'id':'translate-to-korean','label':getTranslation$i(_0x5d2adc,'AI_QUICK_ACTIONS_TRANSLATE_KOREAN'),'type':'action','actionName':'translate','args':{'language':'korean'}},{'id':'translate-to-italian','label':getTranslation$i(_0x5d2adc,'AI_QUICK_ACTIONS_TRANSLATE_ITALIAN'),'type':'action','actionName':'translate','args':{'language':'italian'}},{'id':'translate-to-russian','label':getTranslation$i(_0x5d2adc,'AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN'),'type':'action','actionName':'translate','args':{'language':'russian'}}]},{'id':'other','label':getTranslation$i(_0x5d2adc,'AI_QUICK_ACTIONS_OTHER'),'icon':ckeditor5['IconAIOther'],'actions':[]}];}class AIQuickActionsCommand extends ckeditor5['Command']{['execute'](_0x3ad9c9){switch(this['_expandSelectionIfCollapsed'](),_0x3ad9c9['type']){case'chat':if(!this['editor']['plugins']['has']('AIChat')){const _0x5d06bd=getTranslation$i(this['editor']['locale'],'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','AIChat');throw new ckeditor5['CKEditorError']('ai-quick-actions-plugin-not-found',this['editor'],{'errorMessage':_0x5d06bd});}this['_handleAIChatAction'](_0x3ad9c9);break;case'action':if(!this['editor']['plugins']['has']('AIActions')){const _0x42bc74=getTranslation$i(this['editor']['locale'],'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','AIActions');throw new ckeditor5['CKEditorError']('ai-quick-actions-plugin-not-found',this['editor'],{'errorMessage':_0x42bc74});}this['_handleAIActionsAction'](_0x3ad9c9);}}async['_handleAIChatAction'](_0x46d5ee){const _0x259912=this['editor']['plugins']['get']('AIChatController'),_0x1a6a6d=this['editor']['plugins']['get']('AITabs')['view'];if(_0x1a6a6d['isVisible']||(_0x1a6a6d['isVisible']=!0x0),'chat'!==_0x1a6a6d['activeTab']&&_0x1a6a6d['activateTab']('chat'),'ask-ai'===_0x46d5ee['id'])_0x259912['removeSelectionFromChatContext'](),_0x259912['addSelectionToChatContext'](),_0x259912['focusPromptInput']();else await _0x259912['startConversation']({'modelId':_0x46d5ee['model']}),_0x259912['removeSelectionFromChatContext'](),_0x259912['addSelectionToChatContext'](),_0x259912['focusPromptInput'](),await _0x259912['sendMessage']({'message':_0x46d5ee['prompt']||_0x46d5ee['displayedPrompt']||_0x46d5ee['label'],'attributes':{'quickActionData':{'id':_0x46d5ee['id']},'displayedPrompt':_0x46d5ee['displayedPrompt']}});}['_expandSelectionIfCollapsed'](){const _0x3ad357=this['editor'],_0x1e4ed2=_0x3ad357['model']['document']['selection'];if(!_0x1e4ed2['isCollapsed'])return;const _0x1f5389=ckeditor5['first'](_0x1e4ed2['getSelectedBlocks']())||_0x3ad357['model']['schema']['getLimitElement'](_0x1e4ed2);_0x3ad357['model']['change'](_0x5db0df=>{_0x5db0df['setSelection'](_0x1f5389,'in');});}['_handleAIActionsActionLabel'](_0x3a3dfe){return _0x3a3dfe['parent']?.['label']&&'other'!==_0x3a3dfe['parent']?.['id']?_0x3a3dfe['parent']['label']+':\x20'+_0x3a3dfe['label']:_0x3a3dfe['label'];}async['_handleAIActionsAction'](_0x3e8bab){const _0x534271=this['editor']['plugins']['get']('AIActions'),_0xd99fe=_0x3e8bab['prompt']?{'userMessage':_0x3e8bab['prompt'],'model':_0x3e8bab['model']}:{'actionName':_0x3e8bab['actionName']||_0x3e8bab['id'],'args':_0x3e8bab['args']},_0x4f19dd=this['_handleAIActionsActionLabel'](_0x3e8bab);await _0x534271['executeAction'](_0xd99fe,_0x4f19dd,_0x3e8bab['icon']);}}class AIQuickActionsEditing extends ckeditor5['Plugin']{static get['pluginName'](){return'AIQuickActionsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4e5a11=this['editor'],_0x1fec0a=new AIQuickActionsCommand(this['editor']);if(_0x4e5a11['commands']['add']('aiQuickAction',_0x1fec0a),_0x4e5a11['plugins']['has']('AIChat')){const _0x76b92a=this['editor']['plugins']['get']('AIChatController');_0x4e5a11['model']['document']['selection']['on']('change:range',(_0x3a888d,_0x54394b)=>{_0x54394b['directChange']&&_0x76b92a['removeSelectionFromChatContext']();});}}}class AIActionsReply extends _0x4684d4{['updateChangeGroups'](){if(this['parsedMergedContent']=this['parsedContent']['cloneNode'](!0x0),0x0==this['parsedMergedContent']['childNodes']['length'])return void(this['changeGroups']=[]);const _0x369024=_0xb3f082(this['documentContextContent']['children']['map'](_0x409aae=>({'node':_0x409aae,'id':getAttribute(_0x409aae,'data-id')})),this['parsedMergedContent']['children']['map'](_0x5e29a5=>({'node':_0x5e29a5,'id':getAttribute(_0x5e29a5,'data-id')||ckeditor5['uid']()})),{'comparator':(_0x46aef2,_0x2b82e5)=>_0x46aef2['id']==_0x2b82e5['id'],'oneChangePerToken':!0x0});if(!this['isDone']||!this['isComplete']){for(;_0x369024['length']&&_0x369024[_0x369024['length']-0x1]['removed'];)_0x369024['pop']();}const _0x2d6de7=_0x369024['map'](_0x597bb4=>{const _0x3a774b=_0x597bb4['added']?'new':_0x597bb4['removed']?'removed':'modified';return{'node':_0x597bb4['value'][0x0]['node'],'type':_0x3a774b,'id':_0x597bb4['value'][0x0]['id']};});this['changeGroups']=[{'changes':_0x2d6de7,'state':'pending','index':0x0}];}['_getDifferentChangeGroups'](_0x12af29,_0x24670b){return _0x24670b;}}class AIActionsInteraction extends AIInteraction{['content'];['version'];['actionName'];['args'];['userMessage'];['model'];['hasError']=!0x1;['stoppedExplicitly']=!0x1;constructor(_0x1054f0){super(_0x1054f0),this['content']=_0x1054f0['content'],this['version']=_0x1054f0['version'],this['actionName']=_0x1054f0['actionName'],this['args']=_0x1054f0['args'],this['userMessage']=_0x1054f0['userMessage'],this['model']=_0x1054f0['model'],this['on']('interactionStopped',()=>{this['stoppedExplicitly']=!0x0;});}async['sendRequest'](){return this['actionName']?this['connector']['executeAction']({'content':this['content'],'actionName':this['actionName'],'args':this['args']}):this['connector']['executeCustomAction']({'content':this['content'],'message':this['userMessage'],'model':this['model'],'outputFormat':'html'});}['getDocumentContext'](){return{'type':'text','content':this['content'],'version':this['version'],'label':'Current\x20document','uiId':'current-document'};}['createReply'](_0xe1b225){const _0x1dd424=new AIActionsReply({'locale':this['locale'],'documentContextContent':this['content'],..._0xe1b225});return this['replies']['push'](_0x1dd424),_0x1dd424['delegate'](..._0x1faaef)['to'](this),this['fire']('replyCreated',_0x1dd424),_0x1dd424;}}class AIActionsBalloonToolbarView extends ckeditor5['ToolbarView']{constructor(_0x406842,_0x624555=!0x0,_0x259013=!0x0){super(_0x406842),this['set']('isEnabled',!0x1),_0x624555&&(this['applyButton']=this['_createButton'](getTranslation$i(_0x406842,'AI_BALLOON_APPLY_BUTTON'),_0x1f417a['PRIMARY']),this['applyButton']['bind']('isEnabled')['to'](this),this['items']['add'](this['applyButton'])),_0x259013&&(this['suggestButton']=this['_createButton'](getTranslation$i(_0x406842,'AI_BALLOON_SUGGEST_BUTTON'),_0x624555?_0x1f417a['SECONDARY']:_0x1f417a['PRIMARY']),this['suggestButton']['bind']('isEnabled')['to'](this),this['items']['add'](this['suggestButton'])),this['setButtonsVisibility']({'showApplyButton':_0x624555,'showSuggestButton':_0x259013}),this['extendTemplate']({'attributes':{'class':['ck-ai-balloon__toolbar']}});}['setButtonsVisibility']({showApplyButton:_0x187d56,showSuggestButton:_0x25ab6b}){this['applyButton']&&(this['applyButton']['isVisible']=_0x187d56),this['suggestButton']&&(this['suggestButton']['isVisible']=_0x25ab6b);}['_createButton'](_0x3d2ed0,_0x4875b8){const _0x1a2526=new ckeditor5['ButtonView'](this['locale']);return _0x1a2526['set']({'label':_0x3d2ed0,'class':_0x4875b8,'isVisible':!0x0,'withText':!0x0}),_0x1a2526;}}class AIActionsBalloonDisclaimerView extends ckeditor5['View']{constructor(_0x42bee8){super(_0x42bee8),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-balloon__disclaimer']},'children':[{'tag':'p','attributes':{'class':['ck','ck-ai-balloon__disclaimer-content']},'children':[{'text':getTranslation$i(_0x42bee8,'AI_DISCLAIMER_TEXT')}]}]});}}class AISuggestionLoaderView extends ckeditor5['View']{constructor(_0x3bcc43){super(_0x3bcc43),this['set']('isVisible',!0x0);const _0x3bc53e=new _0x39410b('small');_0x3bc53e['isVisible']=!0x0;const _0x3a58c2=new ckeditor5['View'](this['locale']);_0x3a58c2['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__loader-text']},'children':[getTranslation$i(this['locale'],'AI_CHAT_IS_WRITING')]}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__loader',this['bindTemplate']['if']('isVisible','ck-hidden',_0x1cd7e0=>!_0x1cd7e0)]},'children':[_0x3bc53e,_0x3a58c2]});}}class AIActionsBalloonView extends _0x40e656{['focusCycler'];['_config'];['_contentWrapper'];['_streamableContentView'];['_toolbarView'];['_miniToolbarView'];['_loaderView'];['_disclaimerView'];['_focusTracker'];['_keystrokes'];['_dialogContent'];['_focusables'];['_scrollManager'];['_navigationPreviousButton'];['_navigationNextButton'];['_navigationTryAgainButton'];['_navigationCounter'];constructor(_0x56edd4,_0xfcb744){super(_0x56edd4),this['set']('isBusy',!0x1),this['set']('isTrackChangesOn',!0x1),this['set']('_isLoading',!0x1),this['set']('_hasError',!0x1),this['_config']=_0xfcb744,this['_focusTracker']=new ckeditor5['FocusTracker'](),this['_keystrokes']=new ckeditor5['KeystrokeHandler'](),this['_focusables']=this['createCollection'](),this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':this['_focusables'],'focusTracker':this['_focusTracker'],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['_dialogContent']=new ckeditor5['ViewCollection'](),this['_addContentWrapper'](_0xfcb744),this['_addDisclaimerView'](),this['_addToolbar'](_0xfcb744),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'](_0xfcb744);});}['render'](){super['render']();for(const _0x1ffbf9 of this['_focusables'])this['_focusTracker']['add'](_0x1ffbf9['element']);this['_keystrokes']['listenTo'](this['element']),this['_initializeScrollManager']();}['destroy'](){super['destroy'](),this['_scrollManager']&&this['_scrollManager']['destroy']();}['focus'](_0x2c790a){-0x1===_0x2c790a?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}['setIsLoading'](_0x291f2b){this['_isLoading']=_0x291f2b;}['setErrorState'](){this['_hasError']=!0x0,this['_miniToolbarView']['toggleShowChangesEnabled'](!0x1);}['clearErrorState'](){this['_hasError']=!0x1,this['_miniToolbarView']['toggleShowChangesEnabled'](!0x0);}['showError'](_0x17ac85){super['showError'](_0x17ac85),this['_dialogContent']['has'](this['_errorView'])||this['_dialogContent']['add'](this['_errorView'],0x0);}['hideError'](){super['hideError'](),this['clearErrorState']();}['showBlockingError'](_0xe0af23){super['showBlockingError'](_0xe0af23),this['setErrorState']();}['addMiniToolbarItem'](_0xb271fe){this['_miniToolbarView']['items']['has'](_0xb271fe)||this['_miniToolbarView']['items']['add'](_0xb271fe);}['removeMiniToolbarItem'](_0x393e35){this['_miniToolbarView']['items']['has'](_0x393e35)&&this['_miniToolbarView']['items']['remove'](_0x393e35);}['showLoader'](){this['_loaderView']&&(this['_isLoading']=!0x0);}['hideLoader'](){this['_loaderView']&&(this['_isLoading']=!0x1);}['_toggleToolbarButtonsVisibility']({showApplyButton:_0x33c1cc,showSuggestButton:_0x1f1c82}){_0x33c1cc=_0x33c1cc&&!this['isTrackChangesOn']&&this['_config']['availableActions']['includes']('applySuggestion'),_0x1f1c82=_0x1f1c82&&this['_config']['availableActions']['includes']('insertSuggestion'),this['_toolbarView']['setButtonsVisibility']({'showApplyButton':_0x33c1cc,'showSuggestButton':_0x1f1c82});}async['updateContent'](_0x43d360){await this['_streamableContentView']['update'](_0x43d360);}['clearContent'](){this['_streamableContentView']['clear']();}['_addContentWrapper'](_0x2be137){this['_contentWrapper']=new ckeditor5['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'](_0x2be137['miniToolbarConfig'])]}),this['_dialogContent']['add'](this['_contentWrapper']);}['_addDisclaimerView'](){this['_disclaimerView']=new AIActionsBalloonDisclaimerView(this['locale']),this['_dialogContent']['add'](this['_disclaimerView']);}['_addToolbar']({showApplyButton:_0x58a3f5,showSuggestButton:_0x187b72}){this['_toolbarView']=new AIActionsBalloonToolbarView(this['locale'],_0x58a3f5,_0x187b72),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',(_0x2be9db,_0x1f11c5,_0x3f5ebb)=>!(_0x2be9db||_0x1f11c5||_0x3f5ebb)),this['_toggleToolbarButtonsVisibility']({'showApplyButton':_0x58a3f5,'showSuggestButton':_0x187b72}),this['_dialogContent']['add'](this['_toolbarView']);}['_createMiniToolbar'](_0x516e08){return this['_miniToolbarView']=new _0x1dc33f(this['locale'],_0x516e08),this['_miniToolbarView']['delegate'](..._0x109d62)['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',(_0x3a3ac9,_0x109534)=>!(_0x3a3ac9||_0x109534)),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 _0x223e11=new ckeditor5['ButtonView'](this['locale']),_0x37712f=new ckeditor5['ButtonView'](this['locale']),_0x7e7f7d=new AIActionsBalloonNavigationCounterView(this['locale']),_0x20fa7a=new ckeditor5['ButtonView'](this['locale']);_0x223e11['set']({'icon':ckeditor5['IconRefresh'],'label':getTranslation$i(this['locale'],'AI_ACTIONS_TRY_AGAIN'),'tooltip':!0x0,'class':'ck-ai-custom-action-button\x20'+_0x1f417a['TERTIARY']}),_0x37712f['set']({'icon':ckeditor5['IconPreviousArrow'],'tooltip':getTranslation$i(this['locale'],'AI_ACTIONS_PREVIOUS_INTERACTION'),'class':'ck-ai-navigation-button\x20ck-ai-previous-button\x20'+_0x1f417a['TERTIARY']}),_0x20fa7a['set']({'icon':ckeditor5['IconNextArrow'],'tooltip':getTranslation$i(this['locale'],'AI_ACTIONS_NEXT_INTERACTION'),'class':'ck-ai-navigation-button\x20ck-ai-next-button\x20'+_0x1f417a['TERTIARY']}),_0x223e11['bind']('isEnabled')['to'](this,'isBusy',_0x29b19d=>!_0x29b19d),_0x223e11['on']('execute',()=>{this['fire']('tryAgain');}),_0x37712f['bind']('isEnabled')['to'](this,'isBusy',_0x144dbb=>!_0x144dbb),_0x37712f['on']('execute',()=>{this['fire']('showPrevious');}),_0x20fa7a['bind']('isEnabled')['to'](this,'isBusy',_0x55c020=>!_0x55c020),_0x20fa7a['on']('execute',()=>{this['fire']('showNext');}),this['_navigationPreviousButton']=_0x37712f,this['_navigationCounter']=_0x7e7f7d,this['_navigationNextButton']=_0x20fa7a,this['_navigationTryAgainButton']=_0x223e11;}['updateMiniToolbarButtons'](_0x1dfe92,_0x4e31d2){this['_navigationPreviousButton']||this['_setupMiniToolbarButtons']();const _0x4ec05d=_0x1dfe92>0x1;if(this['addMiniToolbarItem'](this['_navigationTryAgainButton']),_0x4ec05d){this['addMiniToolbarItem'](this['_navigationPreviousButton']),this['addMiniToolbarItem'](this['_navigationCounter']),this['addMiniToolbarItem'](this['_navigationNextButton']);const _0x309c39=_0x1dfe92-_0x4e31d2;this['_navigationCounter']['setInteractionCount'](_0x309c39+'/'+_0x1dfe92),this['_navigationPreviousButton']['isEnabled']=_0x4e31d2<_0x1dfe92-0x1,this['_navigationNextButton']['isEnabled']=_0x4e31d2>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'](_0x268c21){this['_isLoading']=_0x268c21;}['resetShowChangesButton'](){this['_miniToolbarView']['isShowChangesOn']=!0x1;}['_initializeScrollManager'](){const _0x5b4b7a=this['_getScrollableElement']();_0x5b4b7a&&!this['_scrollManager']&&(this['_scrollManager']=new _0x1bc305(_0x5b4b7a));}['_getScrollableElement'](){return this['_streamableContentView']['element'];}}class AIActionsBalloonNavigationCounterView extends ckeditor5['View']{constructor(_0x821297){super(_0x821297);const _0x2a660a=this['bindTemplate'];this['set']('interactionCount','1/1'),this['setTemplate']({'tag':'span','attributes':{'class':['ck-ai-interaction-counter']},'children':[{'text':_0x2a660a['to']('interactionCount')}]});}['setInteractionCount'](_0x176380){this['set']('interactionCount',_0x176380);}}class AIActions extends ckeditor5['Plugin']{static get['requires'](){return[AIConnector,ckeditor5['Dialog'],AIEditing,_0x17d9d3,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(_0x33e1ff){super(_0x33e1ff),this['_bodyCollection']=new ckeditor5['BodyCollection'](this['editor']['locale']),this['_bodyCollection']['attachToDom'](),this['_aiConnector']=this['editor']['plugins']['get']('AIConnector'),this['set']('isBusy',!0x1),this['_promiseQueue']=new _0x371879();}['stopInteraction'](){this['_stopInteraction']();}async['executeAction'](_0x400418,_0x43f4cf,_0x43be98){if(this['_stopInteraction'](),this['editor']['plugins']['has']('TableSelection')){if(this['editor']['plugins']['get']('TableSelection')['getSelectedTableCells']()){const {modelFragment:_0x218c96,anchorData:_0x35e747,root:_0x4517ed}=this['_getExecuteDataInTable']();return this['_executeAction'](_0x400418,_0x218c96,_0x35e747,_0x4517ed,_0x43f4cf,_0x43be98);}}const {modelFragment:_0x531cc9,anchorData:_0x3febec,root:_0x9cc6c9}=this['_getExecuteDataRegular']();return this['_executeAction'](_0x400418,_0x531cc9,_0x3febec,_0x9cc6c9,_0x43f4cf,_0x43be98);}async['destroy'](){return this['_stopInteraction'](),this['_bodyCollection']['detachFromDom'](),super['destroy']();}['_createActionsBalloonView'](){const _0x99e194=this['editor']['plugins']['has']('TrackChanges');let _0x3110e9=this['editor']['config']['get']('ai.availableReplyActions')||[..._0x148813];_0x99e194||(_0x3110e9=_0x3110e9['filter'](_0x1af29a=>'insertSuggestion'!=_0x1af29a));const _0x2f0d6e=this['editor']['commands']['get']('trackChanges'),_0xc74e15=new AIActionsBalloonView(this['editor']['locale'],{'showApplyButton':!0x0,'showSuggestButton':_0x99e194,'miniToolbarConfig':{'showChanges':'icon'},'availableActions':_0x3110e9});return _0xc74e15['bind']('isBusy')['to'](this),_0x2f0d6e&&_0xc74e15['bind']('isTrackChangesOn')['to'](_0x2f0d6e,'value'),_0xc74e15['on']('tryAgain',()=>{this['_refreshInteraction']();}),_0xc74e15['on']('showPrevious',()=>{this['_navigateToPrevious']();}),_0xc74e15['on']('showNext',()=>{this['_navigateToNext']();}),_0xc74e15;}['_getExecuteDataRegular'](){const _0x438173=this['editor']['model']['document']['selection'],_0x1de998=_0x438173['getFirstRange']()['start']['root'];if(_0x438173['isCollapsed']){const _0x5a93db=ckeditor5['first'](_0x438173['getSelectedBlocks']())||this['editor']['model']['schema']['getLimitElement'](_0x438173);this['editor']['model']['change'](_0x173513=>{_0x173513['setSelection'](_0x5a93db,'in');});}const _0x45c100=_0x438173['getFirstRange'](),_0x5e229c=this['_wrapWithCommonAncestors'](this['editor']['model']['getSelectedContent'](_0x438173),_0x45c100['start'],_0x45c100['end']);this['_copyMarkersToFragment'](_0x5e229c,_0x438173,{'isTableSelection':!0x1});const _0x45cf47=_0x438173['getFirstRange']()['start'],_0x4cc09e=new Map();let _0x3b76bc=_0x5e229c;for(let _0x410d48=0x0;_0x410d48<_0x45cf47['path']['length'];_0x410d48++)_0x4cc09e['set'](_0x3b76bc,_0x45cf47['path'][_0x410d48]),_0x3b76bc=_0x3b76bc['getChild'](0x0);return{'modelFragment':_0x5e229c,'anchorData':_0x4cc09e,'root':_0x1de998};}['_getExecuteDataInTable'](){const _0x458142=this['editor']['model']['document']['selection'],_0x10a757=this['editor']['plugins']['get']('TableSelection'),_0xad4d2f=_0x458142['getFirstRange']()['start']['root'],_0x503f9e=_0x10a757['getSelectionAsFragment'](),_0x2e3944=_0x458142['getFirstRange']()['start']['parent']['parent'],_0x5b3908=this['editor']['model']['createRange'](this['editor']['model']['createPositionBefore'](_0x2e3944),this['editor']['model']['createPositionAfter'](_0x2e3944)),_0x310b53=this['_wrapWithCommonAncestors'](_0x503f9e,_0x5b3908['start'],_0x5b3908['end']);this['_copyMarkersToFragment'](_0x310b53,_0x458142,{'isTableSelection':!0x0});const _0x1a3343=_0x458142['getFirstRange']()['start'],_0x4512b9=new Map();let _0x5df31e=_0x310b53;for(let _0x10f75b=0x0;_0x10f75b<_0x1a3343['path']['length'];_0x10f75b++)if(_0x4512b9['set'](_0x5df31e,_0x1a3343['path'][_0x10f75b]),_0x10f75b<_0x1a3343['path']['length']-0x1)_0x5df31e=_0x5df31e['getChild'](0x0);else{let _0x462f1d=_0x5df31e['nextSibling'];for(;_0x462f1d;)_0x4512b9['set'](_0x462f1d,_0x1a3343['path'][_0x10f75b]),_0x462f1d=_0x462f1d['nextSibling'];}return{'modelFragment':_0x310b53,'anchorData':_0x4512b9,'root':_0xad4d2f};}async['_executeAction'](_0x509f8f,_0x2fd86d,_0x1eb65c,_0x1f06a3,_0x395ddd,_0x420b8b){const _0x2e75c5=this['editor']['plugins']['get'](AIEditing),_0x492c07=this['editor']['plugins']['get'](_0x17d9d3),_0x3aec79=this['editor']['model']['document']['selection'],_0x4f30bb=await _0x2e75c5['modelToDataWithIds'](_0x2fd86d),_0x22d2ed=this['editor']['model']['document']['version'],_0x5874d0=[..._0x3aec79['getRanges']()];return this['_actionsBalloonView']||(this['_actionsBalloonView']=this['_createActionsBalloonView']()),this['_clearInteractionHistory'](),this['_clearErrorState'](),this['_balloonShowDiff']=!0x1,this['_actionsBalloonView']['resetShowChangesButton'](),this['_actionsBalloonView']['clearContent'](),_0x492c07['open']({'index':0x3e8*Math['random']()%0x3e8,'title':_0x395ddd,'icon':_0x420b8b||ckeditor5['IconAIQuickActions'],'mainView':this['_actionsBalloonView'],'class':'ck-ai-actions-balloon','ranges':_0x5874d0,'id':'aiActionsBalloon'}),this['_setLoadingState'](),this['stopListening'](this['_actionsBalloonView']),this['stopListening'](_0x492c07),this['_interactionParams']={'action':_0x509f8f,'content':_0x4f30bb,'version':_0x22d2ed,'aiBalloon':_0x492c07,'modelFragment':_0x2fd86d,'anchorData':_0x1eb65c,'root':_0x1f06a3},this['_setupApplyListeners'](),this['listenTo'](_0x492c07,'selectionRemoved',()=>{this['_stopInteraction'](),this['_actionsBalloonView']['disableMiniToolbarButtons']();}),this['listenTo'](_0x492c07,'dialogClosed',(_0x47dc80,{id:_0x132f61})=>{if('aiActionsBalloon'===_0x132f61){for(const _0x2018ba of this['_interactions']){if(0x0===_0x2018ba['replies']['length']||_0x2018ba['stoppedExplicitly'])continue;const _0x2680fe=_0x2018ba['replies'][_0x2018ba['replies']['length']-0x1],_0x3f1b6c=_0x2680fe['changeGroups'][0x0];_0x3f1b6c&&'pending'===_0x3f1b6c['state']&&_0x2680fe['setChangeGroupState'](0x0,'rejected');}this['_stopInteraction'](),this['_clearInteractionHistory'](),this['stopListening'](this['_actionsBalloonView']),this['stopListening'](_0x492c07);}}),this['_createInteraction'](_0x4f30bb,_0x22d2ed,_0x492c07,_0x509f8f);}['_setupApplyListeners'](){if(!this['_interactionParams'])return;const {modelFragment:_0x1413ae,anchorData:_0x2c309a,root:_0x2ff620}=this['_interactionParams'];this['listenTo'](this['_actionsBalloonView'],'applySuggestion',()=>{this['_applyChanges'](_0x1413ae,_0x2c309a,_0x2ff620,!0x1);}),this['listenTo'](this['_actionsBalloonView'],'insertSuggestion',()=>{this['_applyChanges'](_0x1413ae,_0x2c309a,_0x2ff620,!0x0);});}['_wrapWithCommonAncestors'](_0x2f1815,_0x381fc6,_0x19aa10){const _0x2f1b30=this['editor']['model']['createRange'](_0x381fc6,_0x19aa10)['getCommonAncestor'](),_0x5cca97=_0x2f1b30['is']('documentFragment')?[]:_0x2f1b30['getAncestors']({'includeSelf':!0x0})['slice'](0x1);if(_0x5cca97['length']){const _0x15c132=_0x5cca97['map'](_0x513e7e=>_0x513e7e['_clone'](!0x1));for(let _0x4bb406=0x1;_0x4bb406<_0x15c132['length'];_0x4bb406++)_0x15c132[_0x4bb406-0x1]['_appendChild'](_0x15c132[_0x4bb406]);return _0x15c132[_0x15c132['length']-0x1]['_appendChild'](_0x2f1815),new ckeditor5['ModelDocumentFragment'](_0x15c132[0x0]);}return _0x2f1815;}['_copyMarkersToFragment'](_0x5a4ec5,_0x21981a,_0x265634={'isTableSelection':!0x1}){const _0x1ab8ce=this['editor']['model'],_0x557803=Array['from'](_0x21981a['getRanges']()),_0x4a969e=_0x21981a['getFirstRange']()['start'];for(const _0x590eb0 of _0x1ab8ce['markers']){if(_0x590eb0['name']['startsWith'](_0x598402)||!_0x590eb0['affectsData'])continue;const _0x11f5aa=_0x590eb0['getRange']();if(!_0x557803['some'](_0x2e9fdd=>_0x2e9fdd['containsRange'](_0x11f5aa,!0x0)))continue;const _0x41846e=this['_regularCalculateMarkerPath'](_0x11f5aa['start'],_0x4a969e,_0x265634['isTableSelection']),_0xe2a619=this['_regularCalculateMarkerPath'](_0x11f5aa['end'],_0x4a969e,_0x265634['isTableSelection']),_0x4ec289=_0x1ab8ce['createPositionFromPath'](_0x5a4ec5,_0x41846e),_0x49fc2e=_0x1ab8ce['createPositionFromPath'](_0x5a4ec5,_0xe2a619);if(!_0x4ec289['isEqual'](_0x49fc2e)){const _0x4448d6=_0x1ab8ce['createRange'](_0x4ec289,_0x49fc2e);_0x5a4ec5['markers']['set'](_0x590eb0['name'],_0x4448d6);}}}['_regularCalculateMarkerPath'](_0x21dbd0,_0x5130d4,_0x9fb7d8=!0x1){const _0x11c80a=[..._0x21dbd0['path']['slice']()];for(let _0x5c1904=0x0;_0x5c1904<Math['max'](_0x5130d4['path']['length'],_0x21dbd0['path']['length']);_0x5c1904++){const _0x3af4a3=_0x5130d4['path'][_0x5c1904]||0x0,_0x27e80c=(_0x21dbd0['path'][_0x5c1904]||0x0)-_0x3af4a3;if(_0x11c80a[_0x5c1904]=_0x27e80c,0x0!==_0x27e80c&&!_0x9fb7d8)break;}return _0x11c80a;}async['_createInteraction'](_0x24354c,_0x48d3b4,_0x32707d,_0x3bb66e){const _0x567ee3=this['editor'];this['_interactionParams']||(this['_interactionParams']={'action':_0x3bb66e,'content':_0x24354c,'version':_0x48d3b4,'aiBalloon':_0x32707d,'modelFragment':this['editor']['model']['getSelectedContent'](this['editor']['model']['document']['selection']),'anchorData':new Map(),'root':this['editor']['model']['document']['selection']['getFirstRange']()['start']['root']});const _0x3e2118=new AIActionsInteraction({'connector':this['_aiConnector'],'locale':_0x567ee3['locale'],'content':_0x24354c,'version':_0x48d3b4,..._0x3bb66e});this['_interactions']['push'](_0x3e2118);const _0x1fe4ee=(_0x10bf53,_0xcc8e91=!0x1,_0x4bca49='streaming')=>this['_promiseQueue']['enqueue'](async _0xd94b94=>{try{const _0x4e7d4b=getSuggestionPartsFromReply({'editor':_0x567ee3,'changeGroups':_0x10bf53['changeGroups'],'documentContextContent':_0x10bf53['documentContextContent'],'showDiff':_0xcc8e91,'trimUnchanged':!0x1});_0x4e7d4b['length']&&await this['_actionsBalloonView']['updateContent']({'part':_0x4e7d4b[0x0],'renderingStrategy':_0x4bca49,'abortSignal':_0xd94b94});}catch(_0x220771){if(this['_isAbortError'](_0x220771))return;throw _0x220771;}});_0x3e2118['on']('replyCreated',(_0x2197ed,_0x1a5bcd)=>{this['_actionsBalloonView']['hideLoader'](),this['_actionsBalloonView']['startAutoScroll'](),_0x1fe4ee(_0x1a5bcd)['catch'](_0x116004=>{this['_isAbortError'](_0x116004)||(console['error']('Error\x20updating\x20content\x20in\x20replyCreated:',_0x116004),this['_setErrorState'](_0x3e2118));});}),_0x3e2118['on']('replyContentUpdated',(_0x3188dd,_0x404746)=>{_0x1fe4ee(_0x404746)['catch'](_0x394646=>{this['_isAbortError'](_0x394646)||(console['error']('Error\x20updating\x20content\x20in\x20replyContentUpdated:',_0x394646),this['_setErrorState'](_0x3e2118));});}),_0x3e2118['on']('interactionFinished',async()=>{try{await this['_clearLoadingState'](),this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']),await this['_promiseQueue']['queueEmptyPromise'];}catch(_0x3f45b4){this['_isAbortError'](_0x3f45b4)||(console['error']('Error\x20clearing\x20loading\x20state\x20in\x20interactionFinished:',_0x3f45b4),this['_setErrorState'](_0x3e2118));}finally{this['_actionsBalloonView']['stopAutoScroll']();}}),this['listenTo'](this['_actionsBalloonView'],'toggleSuggestionDisplayMode',async(_0x462952,{showDiff:_0x5d5f6a})=>{try{this['_balloonShowDiff']=_0x5d5f6a;const _0x1abc99=this['_interaction']['replies'][this['_interaction']['replies']['length']-0x1];_0x1abc99&&await _0x1fe4ee(_0x1abc99,_0x5d5f6a,'static');}catch(_0x5c4690){this['_isAbortError'](_0x5c4690)||(console['error']('Error\x20updating\x20content\x20in\x20toggleSuggestionDisplayMode:',_0x5c4690),this['_setErrorState'](_0x3e2118));}}),_0x3e2118['on']('replyChangeGroupStateUpdated',()=>{const _0x2458a3={'positiveCount':_0x3e2118['replies']['reduce']((_0xebbec3,_0x478da6)=>_0xebbec3+_0x478da6['changeGroups']['filter'](_0x87933e=>'accepted'===_0x87933e['state'])['length'],0x0),'totalCount':_0x3e2118['replies']['reduce']((_0x4f5e42,_0x5055ce)=>_0x4f5e42+_0x5055ce['changeGroups']['length'],0x0)},_0x40cc77=_0x3e2118['actionCallId'],_0x2d31be=_0x3e2118['actionName'];_0x2d31be?this['_aiConnector']['upsertAIActionRating'](_0x2d31be,_0x40cc77,_0x2458a3):this['_aiConnector']['upsertCustomAIActionRating'](_0x40cc77,_0x2458a3);}),this['_setLoadingState']();try{const _0x5428bd=await _0x3e2118['start']();return this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']),_0x5428bd;}catch(_0x1670de){if(this['_isAbortError'](_0x1670de))return;this['_actionsBalloonView']['hideLoader'](),this['_setErrorState'](_0x3e2118);}}['_applyChanges'](_0x2dad27,_0x55761d,_0x4f4666,_0x47703c){const _0x11c725=this['editor'];if(_0x47703c&&!_0x11c725['plugins']['has']('TrackChanges'))throw new ckeditor5['CKEditorError']('ai-no-track-changes',null);const _0x154c8b=this['editor']['plugins']['get'](DocumentCompare),_0x36c2a4=this['_interactions'][this['_interactions']['length']-0x1-this['_currentInteractionIndex']];if(!_0x36c2a4||!_0x36c2a4['replies']['length'])return;const _0x28db6d=_0x36c2a4['replies'][_0x36c2a4['replies']['length']-0x1],_0x1975a2=_0x28db6d['changeGroups'];_0x28db6d['setChangeGroupState'](0x0,'accepted');let _0x1af300=getOperationsFromReply({'editor':_0x11c725,'reply':_0x28db6d,'interaction':_0x36c2a4,'groups':_0x1975a2,'transform':!0x1,'documentCompare':_0x154c8b,'documentCompareOptions':{'anchor':_0x11c725['model']['createPositionAt'](_0x2dad27,0x0),'markDeletions':_0x47703c}});_0x1af300=this['_filterOperationsOutsideRange'](_0x1af300,_0x55761d);for(const _0xdd7264 of _0x1af300)this['_anchorOperation'](_0x55761d,_0xdd7264,_0x4f4666);const _0x116ae5=_0x36c2a4['getDocumentContext']()['version'],_0x901422=_0x11c725['model']['document']['history']['getOperations'](_0x116ae5),_0x55b8a3={'document':_0x11c725['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1},_0x50018c=ckeditor5['transformOperationSets'](_0x1af300,_0x901422,_0x55b8a3)['operationsA'];_0x11c725['model']['change'](_0x43f0ce=>{if(_0x43f0ce['setSelection'](_0x11c725['model']['document']['selection']['focus']),_0x47703c)_0x11c725['plugins']['get']('TrackChangesEditing')['_applyOperationsAsSuggestions'](_0x50018c);else{for(const _0x238ef3 of _0x50018c)_0x238ef3['baseVersion']=_0x11c725['model']['document']['version'],fixMarkerOperationOldRange(_0x11c725,_0x238ef3),_0x43f0ce['batch']['addOperation'](_0x238ef3),_0x11c725['model']['applyOperation'](_0x238ef3);}}),this['editor']['plugins']['get']('AIBalloon')['close']();}['_filterOperationsOutsideRange'](_0x10b777,_0x319527){return _0x10b777['filter'](_0x3cde7d=>{if('rename'==_0x3cde7d['type']){const _0x3a11ea=_0x3cde7d['position']['nodeAfter'];return!_0x319527['has'](_0x3a11ea);}if(_0x3cde7d['type']['indexOf']('Attribute')>-0x1){const _0x918575=_0x3cde7d['range']['start']['nodeAfter'];return!_0x319527['has'](_0x918575);}return!0x0;});}['_anchorOperation'](_0x14674d,_0x20027b,_0xf7f8fb){const _0x29b8a2=_0x20027b['clone']();for(const _0x357e79 in _0x20027b){const _0x4532dd=_0x20027b[_0x357e79];_0x4532dd instanceof ckeditor5['ModelRange']?_0x20027b[_0x357e79]=new ckeditor5['ModelRange'](_0x3fd79d(_0x4532dd['start']),_0x3fd79d(_0x4532dd['end'])):_0x4532dd instanceof ckeditor5['ModelPosition']&&(_0x20027b[_0x357e79]=_0x3fd79d(_0x4532dd));}if(['insert','move','remove','reinsert','split','merge']['includes'](_0x29b8a2['type'])){if(_0x29b8a2['isDocumentOperation']=!0x1,_0x29b8a2['baseVersion']=null,'remove'==_0x29b8a2['type']){const _0xd6c994=_0x29b8a2['sourcePosition'],_0x31eb22=_0x29b8a2['howMany'];new ckeditor5['_DetachOperation'](_0xd6c994,_0x31eb22)['_execute']();}else _0x29b8a2['_execute']();}function _0x3fd79d(_0x3e705b){if('$graveyard'==_0x3e705b['root']['rootName'])return _0x3e705b;const _0x307790=[];let _0x145302=_0x3e705b['root'];for(let _0x19b9dd=0x0;_0x19b9dd<_0x3e705b['path']['length'];_0x19b9dd++){const _0x5c2865=_0x14674d['get'](_0x145302)||0x0;_0x307790[_0x19b9dd]=_0x3e705b['path'][_0x19b9dd]+_0x5c2865,_0x145302=_0x145302['getChildAtOffset'](_0x3e705b['path'][_0x19b9dd]);}return new ckeditor5['ModelPosition'](_0xf7f8fb,_0x307790,_0x3e705b['stickiness']);}}['_refreshInteraction'](){if(!this['_interactionParams'])return;this['_interactions']['length']>0x0&&this['_stopInteraction'](),this['_currentInteractionIndex']=0x0,this['_balloonShowDiff']=!0x1;const {action:_0x28c3d9,content:_0x1034d4,version:_0x37bfaa,aiBalloon:_0x253b18}=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'](_0x1034d4,_0x37bfaa,_0x253b18,_0x28c3d9)['catch'](_0x24d752=>{this['_isAbortError'](_0x24d752)||console['error']('Error\x20refreshing\x20interaction:',_0x24d752);});}['_isAbortError'](_0x366d6f){return!!_0x366d6f['message']&&_0x366d6f['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 _0x2b62ad=this['_interactions']['length'];this['_currentInteractionIndex']<_0x2b62ad-0x1&&this['_displayInteractionAtIndex'](this['_currentInteractionIndex']+0x1);}['_navigateToNext'](){this['_currentInteractionIndex']>0x0&&this['_displayInteractionAtIndex'](this['_currentInteractionIndex']-0x1);}async['_displayInteractionAtIndex'](_0x379adf){if(!this['_interactionParams'])return;this['_currentInteractionIndex']=_0x379adf;const _0x49f107=this['_interactions'][this['_interactions']['length']-0x1-this['_currentInteractionIndex']];if(!_0x49f107)return;if(_0x49f107['hasError'])return this['_setErrorState'](_0x49f107),void this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']);if(!_0x49f107['replies']['length'])return;this['_actionsBalloonView']['hideError'](),this['_interactionParams']&&this['_clearErrorState']();const _0x30fe98=_0x49f107['replies'][_0x49f107['replies']['length']-0x1];if(_0x30fe98){const _0x103536=this['editor'];try{const _0xef0e04=getSuggestionPartsFromReply({'editor':_0x103536,'changeGroups':_0x30fe98['changeGroups'],'documentContextContent':_0x30fe98['documentContextContent'],'showDiff':this['_balloonShowDiff'],'trimUnchanged':!0x1});await new Promise(_0x360ce2=>setTimeout(_0x360ce2,0x32)),await this['_actionsBalloonView']['updateContent']({'part':_0xef0e04[0x0],'renderingStrategy':'static','abortSignal':new AbortController()['signal']});}catch(_0x1cd137){this['_isAbortError'](_0x1cd137)||console['error']('Error\x20updating\x20content\x20during\x20navigation:',_0x1cd137);}}this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']);}['_setLoadingState'](){this['_actionsBalloonView']['setIsLoading'](!0x0),this['isBusy']=!0x0;}async['_setErrorState'](_0x47338e){const _0x193478=getTranslation$i(this['editor']['locale'],'AI_ACTIONS_GENERIC_ERROR');this['_actionsBalloonView']['showError'](_0x193478),_0x47338e['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 ckeditor5['Plugin']{static get['requires'](){return[AIQuickActionsUI,AIQuickActionsEditing,AIActions];}static get['pluginName'](){return'AIQuickActions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3c1c6f){super(_0x3c1c6f),_0x3c1c6f['config']['define']('ai.quickActions',{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}class AIReviewCoreReviewCheckListItemResultsView extends ckeditor5['View']{['resultResponseView'];['acceptButtonView'];['dismissButtonView'];['infoButtonView'];['outdatedButtonView'];constructor(_0x12f0bc,_0x5cee45){super(_0x12f0bc),this['id']=_0x5cee45,this['set']('status','pending'),this['set']('changeId',_0x5cee45),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',(_0x2bf522,_0xea8073)=>{_0xea8073&&_0xea8073['target']&&'A'===_0xea8073['target']['tagName']&&_0xea8073['preventDefault'](),this['fire']('activateChange',{'id':_0x5cee45,'source':this,'uiInteraction':'click'});}),this['on']('mouseover',()=>{this['fire']('activateChange',{'id':_0x5cee45,'source':this,'uiInteraction':'hover'});}),this['on']('mouseout',()=>{this['fire']('deactivateChange',{'origin':'panel','id':_0x5cee45,'source':this});});}['setItemAsActive'](){this['isActive']=!0x0;}['setItemAsInactive'](){this['isActive']=!0x1;}['_createResultResponseView'](){const _0x1aaab7=new ckeditor5['View'](this['locale']);return _0x1aaab7['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',_0x168047=>!_0x168047)]}}),_0x1aaab7;}['_createAcceptButtonView'](){const _0x282e9c=new ckeditor5['ButtonView'](this['locale']);return _0x282e9c['set']({'label':getTranslation$i(this['locale'],'AI_REVIEW_MODE_ACCEPT_CHANGE'),'withText':!0x0}),_0x282e9c['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x32d032=>{this['fire']('acceptChange',{'id':this['changeId']}),_0x32d032['stopPropagation']();})},'attributes':{'class':[this['bindTemplate']['if']('status','ck-hidden',_0x24243b=>'pending'!==_0x24243b&&'accepted'!==_0x24243b),this['bindTemplate']['if']('status',_0x1f417a['SECONDARY'],_0x28c329=>'pending'===_0x28c329),this['bindTemplate']['if']('status',_0x1f417a['TERTIARY'],_0x7b01fd=>'pending'!==_0x7b01fd),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-status-button',_0xaa9df1=>'accepted'===_0xaa9df1)]}}),this['on']('change:status',(_0x123146,_0x216509,_0x18895d)=>{_0x282e9c['isEnabled']='pending'===_0x18895d,'accepted'===_0x18895d&&(_0x282e9c['label']=getTranslation$i(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED'),_0x282e9c['icon']=ckeditor5['IconCheck']);}),_0x282e9c;}['_createDismissButtonView'](){const _0x4ce6c5=new ckeditor5['ButtonView'](this['locale']);return _0x4ce6c5['set']({'label':getTranslation$i(this['locale'],'AI_REVIEW_MODE_DISMISS_CHANGE'),'withText':!0x0}),_0x4ce6c5['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x3cd1bd=>{this['fire']('dismissChange',{'id':this['changeId']}),_0x3cd1bd['stopPropagation']();})},'attributes':{'class':[_0x1f417a['TERTIARY'],this['bindTemplate']['if']('status','ck-hidden',_0x54e37b=>'pending'!==_0x54e37b&&'rejected'!==_0x54e37b),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-dismiss-button',_0x2f3659=>'pending'===_0x2f3659),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-status-button',_0x5a7c3b=>'rejected'===_0x5a7c3b)]}}),this['on']('change:status',(_0x110244,_0x19b810,_0x1455a8)=>{_0x4ce6c5['isEnabled']='pending'===_0x1455a8,'rejected'===_0x1455a8&&(_0x4ce6c5['label']=getTranslation$i(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_REJECTED'),_0x4ce6c5['icon']=ckeditor5['IconCancel']);}),_0x4ce6c5;}['_createInfoButtonView'](){const _0x3eae8f=new ckeditor5['ButtonView'](this['locale']);return _0x3eae8f['set']({'label':getTranslation$i(this['locale'],'AI_REVIEW_MODE_LEARN_MORE'),'icon':ckeditor5['IconInfo'],'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox','class':_0x1f417a['TERTIARY']+'\x20ck-ai_review__check-run-result-info-button\x20ck-hidden'}),_0x3eae8f['bind']('isOn')['to'](this,'isInfoToggleOn',_0x47ab71=>_0x47ab71),_0x3eae8f['on']('execute',()=>{this['isInfoToggleOn']=!this['isInfoToggleOn'];}),_0x3eae8f;}['_createOutdatedButtonView'](){const _0x21644f=new ckeditor5['ButtonView'](this['locale']);return _0x21644f['set']({'label':getTranslation$i(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_OUTDATED'),'icon':ckeditor5['IconOutdated'],'withText':!0x0,'isEnabled':!0x1}),_0x21644f['extendTemplate']({'attributes':{'class':[_0x1f417a['TERTIARY'],'ck-ai_review__check-run-result-status-button',this['bindTemplate']['if']('status','ck-hidden',_0x10a4fd=>'outdated'!==_0x10a4fd)],'disabled':'disabled'}}),_0x21644f;}}class AIReviewCoreBalloonSuggestionItemView extends ckeditor5['BalloonPanelView']{['resultItemView'];['_pinnedRectIndex']=void 0x0;['_pinnedTargetElement']=void 0x0;['_pinnedTargetChangeId']=void 0x0;constructor(_0x1192ec,_0x1be351){super(_0x1192ec),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']()),_0x1be351['add'](this);}['render'](){super['render'](),this['_setupClickOutsideHandler']();}['updateContent'](_0x1a0c21){this['resultItemView']['changeId']=_0x1a0c21['id'],this['resultItemView']['resultResponseView']['element']['innerHTML']=_0x1a0c21['contentDiffed'];}['showBalloon'](_0x44de22,_0x397717,_0x1c2dde,_0x31f494,_0x54a574,_0x4a22f8){const _0x1f64fe=_0x397717();if(!_0x1f64fe)return;this['updateContent'](_0x44de22),this['show']();const _0x404e6b=Array['from'](_0x1f64fe['getClientRects']())['reverse'](),_0x34a605=this['_getPointedRectIndexFromEvent'](_0x1c2dde,_0x404e6b),_0x597de8=_0x404e6b[_0x34a605??0x0];'click'===_0x31f494?(this['isDiffActive']=!0x0,this['pin']({'target':()=>this['_getBestRectPositionOnClick'](_0x397717(),_0x34a605,_0x44de22['id'],_0x54a574,_0x4a22f8)||_0x597de8})):'hover'===_0x31f494&&(this['isDiffActive']=!0x1,this['pin']({'target':()=>this['_getBestRectPositionOnHover'](_0x397717(),_0x34a605,_0x44de22['id'])||_0x597de8}));}['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'](){ckeditor5['clickOutsideHandler']({'emitter':this,'activator':()=>this['isVisible'],'contextElements':()=>{const _0x1251bf=[this['element']];return this['_pinnedTargetElement']&&_0x1251bf['push'](this['_pinnedTargetElement']),_0x1251bf;},'callback':()=>{this['hide'](),this['unpin'](),this['deactivateChange'](),this['_pinnedTargetElement']=void 0x0,this['_pinnedRectIndex']=void 0x0,this['_pinnedTargetChangeId']=void 0x0;}});}['_createContentView'](){const _0xb6bfff=new ckeditor5['View']();return this['resultItemView']=new AIReviewCoreReviewCheckListItemResultsView(this['locale'],''),this['resultItemView']['resultResponseView']['extendTemplate']({'attributes':{'class':['ck-content']}}),this['resultItemView']['delegate']('acceptChange','dismissChange')['to'](this),_0xb6bfff['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']]}]}),_0xb6bfff;}['_getBestRectPositionOnClick'](_0x159032,_0x763f5b,_0x528f37,_0x104bee,_0x3de472){if(!_0x159032)return null;const _0x2dfab7=this['position']['replace']('arrow_',''),_0x155103=Array['from'](_0x159032['getClientRects']());let _0xe0af4e,_0x3b413e=_0x155103['reverse']();return void 0x0!==_0x763f5b&&this['_isPinnedRectVisible'](_0x3b413e[_0x763f5b],_0x104bee,_0x3de472)?(_0xe0af4e=_0x3b413e[_0x763f5b],this['_pinnedRectIndex']=_0x763f5b):this['_isPinnedRectVisible'](_0x3b413e[0x0],_0x104bee,_0x3de472)&&void 0x0===_0x763f5b?_0xe0af4e=_0x3b413e[0x0]:(_0x3b413e='s'==_0x2dfab7[0x0]?[..._0x155103]['reverse']():_0x155103,_0x3b413e['forEach'](_0x41d493=>{this['_isPinnedRectVisible'](_0x41d493,_0x104bee,_0x3de472)&&(_0xe0af4e=_0x41d493);})),this['_pinnedTargetChangeId']=_0x528f37,this['_pinnedTargetElement']=_0x159032,_0xe0af4e||_0x159032['getBoundingClientRect']();}['_getBestRectPositionOnHover'](_0x3b88a8,_0x7c604a,_0x2e646e){if(!_0x3b88a8)return null;const _0x565eb0=Array['from'](_0x3b88a8['getClientRects']())['reverse']();if(void 0x0===this['_pinnedRectIndex']&&void 0x0!==_0x7c604a&&this['_pinnedTargetChangeId']!==_0x2e646e)return this['_pinnedRectIndex']=_0x7c604a,this['_pinnedTargetElement']=_0x3b88a8,this['_pinnedTargetChangeId']=_0x2e646e,_0x565eb0[_0x7c604a];if(void 0x0!==this['_pinnedRectIndex']&&this['_pinnedTargetChangeId']===_0x2e646e){if(_0x3b88a8!==this['_pinnedTargetElement'])return Array['from'](this['_pinnedTargetElement']['getClientRects']())['reverse']()[this['_pinnedRectIndex']];return _0x565eb0[this['_pinnedRectIndex']];}return void 0x0!==_0x7c604a&&this['_pinnedTargetChangeId']!==_0x2e646e?(this['_pinnedRectIndex']=_0x7c604a,this['_pinnedTargetElement']=_0x3b88a8,this['_pinnedTargetChangeId']=_0x2e646e,_0x565eb0[_0x7c604a]):_0x3b88a8['getBoundingClientRect']();}['_getPointedRectIndexFromEvent'](_0x14ae02,_0x2e3cf1){if(_0x14ae02)for(let _0x2c8ca7=0x0;_0x2c8ca7<_0x2e3cf1['length'];_0x2c8ca7++){const _0x17e7cd=_0x2e3cf1[_0x2c8ca7];if(_0x14ae02['clientX']>=_0x17e7cd['left']-0x3&&_0x14ae02['clientX']<=_0x17e7cd['right']+0x3&&_0x14ae02['clientY']>=_0x17e7cd['top']-0x3&&_0x14ae02['clientY']<=_0x17e7cd['bottom']+0x3)return _0x2c8ca7;}}['_isPinnedRectVisible'](_0x1b3bf8,_0x5eb1cc,_0x11d76f){const _0x2b9f1f=new ckeditor5['Rect'](_0x1b3bf8),_0x562e8e=_0x5eb1cc||document['documentElement'],_0x594975=_0x2b9f1f['getIntersection'](ckeditor5['getConstrainedViewportRect'](_0x11d76f)),_0x56bdc9=new ckeditor5['Rect'](_0x562e8e)['getIntersection'](_0x2b9f1f);return!!(_0x594975&&_0x56bdc9&&_0x2b9f1f['width']>0x0);}}const _0x1b755e=['getReviewCheckList','runReviewCheck','abortReviewStream','toggleDiff','acceptAllChanges','leaveReviewCoreResultList','activateChange','deactivateChange','acceptChange','dismissChange','learnMore','finishReview','retryReview'];class _0x2004e3 extends ckeditor5['ContextPlugin']{['_mainView'];['_balloonSuggestionView'];['_bodyCollection'];static get['requires'](){return[_0x13bfd3];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x38edbf){super(_0x38edbf),this['_bodyCollection']=new ckeditor5['BodyCollection'](this['context']['locale']),this['_bodyCollection']['attachToDom'](),this['_mainView']=this['createMainView'](),this['_mainView']['delegate'](..._0x1b755e)['to'](this),this['_balloonSuggestionView']=new AIReviewCoreBalloonSuggestionItemView(this['context']['locale'],this['_bodyCollection']),this['_balloonSuggestionView']['delegate']('acceptChange','dismissChange','deactivateChange')['to'](this);}['init'](){const _0x207208=this['context']['plugins']['get']('AITabs');this['registerTab'](_0x207208);}['destroy'](){this['_bodyCollection']['detachFromDom'](),super['destroy']();}['setAvailableChecks'](_0x285e63){if(!this['_mainView']['reviewCheckListView']['hasChecks']()){const _0x778d41=!this['context']['config']['get']('ai.models.showModelSelector');this['_mainView']['reviewCheckListView']['setChecks'](_0x285e63,_0x778d41);}this['_mainView']['showReviewCheckListView']();}['showReviewCheckList'](){this['fire']('getReviewCheckList');}['showCheckRunResults'](_0xf12fad){_0xf12fad&&('error-general'!==_0xf12fad['status']?'error-chunk'!==_0xf12fad['status']?this['_mainView']['showReviewCheckResultsView']():this['showChunkErrorView']():this['showGeneralResultsErrorView']());}['showCheckRunResult'](_0x5d7dd3){this['_mainView']['addCheckRunResult'](_0x5d7dd3);}['showGeneralResultsErrorView'](){this['_mainView']['showGeneralResultsErrorView']();}['showGeneralReviewCoreErrorView'](_0x4c8725){this['_mainView']['showGeneralReviewCoreErrorView'](_0x4c8725??getTranslation$i(this['context']['locale'],'AI_REVIEW_INITIALIZATION_ERROR_MESSAGE'));}['showChunkErrorView'](){this['_mainView']['showChunkErrorView']();}['setCheckResultTitle'](_0x5980f0,_0x5ad15d){this['_mainView']['reviewCheckResultsView']['setTitle'](_0x5980f0,_0x5ad15d);}['setActiveStateInResults'](_0x3d3629){this['_mainView']['reviewCheckResultsView']['getResults']()['forEach'](_0x498ef7=>{_0x498ef7['id']===_0x3d3629&&_0x498ef7['setItemAsActive']();});}['resetActiveStateInResults'](){this['_mainView']['reviewCheckResultsView']['getResults']()['forEach'](_0x364c1c=>_0x364c1c['setItemAsInactive']());}['updateChangeState'](_0x17b581,_0x4611c9){'accepted'===_0x4611c9||'rejected'===_0x4611c9||'outdated'===_0x4611c9?this['_mainView']['reviewCheckResultsView']['hideResult'](_0x17b581,_0x4611c9):this['_mainView']['reviewCheckResultsView']['showResult'](_0x17b581,_0x4611c9);}['showReviewCompletedView'](){this['_mainView']['showReviewCompletedView']();}['showActionsWhenResultIsReady'](){this['_mainView']['showActionsWhenResultIsReady']();}['showNoChangesView'](){this['_mainView']['showNoChangesView']();}['hideActionsWhenResultIsReady'](){this['_mainView']['hideActionsWhenResultIsReady']();}['showChangeBalloon'](_0x4a6025,_0x200d6d,_0x5cf1a8,_0x50cf7b,_0x5e3c4d,_0x1728e5){this['_balloonSuggestionView']['showBalloon'](_0x4a6025,_0x200d6d,_0x5cf1a8,_0x50cf7b,_0x5e3c4d,_0x1728e5);}['hideChangeBalloon'](){this['_balloonSuggestionView']['hideBalloon']();}['hideDiffInBalloon'](){this['_balloonSuggestionView']['hideDiffInBalloon']();}['showDiffInBalloon'](){this['_balloonSuggestionView']['showDiffInBalloon']();}['getChangeElement'](_0x1f1cd0){const _0x5ae2e2=this['_mainView']['reviewCheckResultsView']['getResults']()['find'](_0x4333cd=>_0x4333cd['id']===_0x1f1cd0);return _0x5ae2e2?_0x5ae2e2['element']:null;}['deactivateChange'](){this['_balloonSuggestionView']['deactivateChange']();}}class _0x35c6cc extends ckeditor5['View']{constructor(_0x2394ce){super(_0x2394ce),this['set']('isVisible',!0x1),this['set']('errorMessage','');const _0x2bc988=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai_review__general-error-container',_0x2bc988['if']('isVisible','ck-hidden',_0x33c89c=>!_0x33c89c)]},'children':[{'tag':'p','attributes':{'class':'ck\x20ck-ai-notification\x20ck-ai-notification_error'},'children':[{'text':_0x2bc988['to']('errorMessage')}]}]});}}class _0x9114c9 extends ckeditor5['View']{['reviewCoreHeader'];['generalErrorView'];['reviewCheckListView'];['reviewCheckResultsView'];['reviewCompletedView'];constructor(_0x327e20,_0x46f407){super(_0x327e20),this['reviewCoreHeader']=_0x46f407['header'],this['generalErrorView']=new _0x35c6cc(_0x327e20),this['reviewCheckListView']=_0x46f407['list'],this['reviewCheckListView']['delegate'](..._0x1b755e)['to'](this),this['reviewCheckResultsView']=_0x46f407['results'],this['reviewCheckResultsView']['delegate'](..._0x1b755e)['to'](this),this['reviewCompletedView']=_0x46f407['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'](_0x34ad12){this['reviewCheckResultsView']['addResult'](_0x34ad12),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'](_0xf90bf5){this['generalErrorView']['set']('isVisible',!0x0),this['generalErrorView']['errorMessage']=_0xf90bf5;}['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 ckeditor5['ButtonView']{constructor(_0xa80b91,_0x3450f6){super(_0x3450f6),this['set']({'label':_0xa80b91,'withText':!0x0,'class':_0x1f417a['PRIMARY']}),this['on']('execute',()=>{this['fire']('finishReview');});}}class AIReviewCoreUICheckResultsView extends ckeditor5['ListItemView']{['_resultViews'];['_resultsHeader'];['_resultsBody'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x5e8b5d,_0x517429){super(_0x5e8b5d),this['_contents']=_0x517429,this['_resultViews']=new ckeditor5['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 _0x3a5fda(_0x5e8b5d),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 _0x29e299=this['_createCombinedSkeletonLoader'](),_0x555cf3=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0x555cf3['if']('isLoading','ck-ai_review__check-run_loading',_0x1c17ae=>_0x1c17ae),_0x555cf3['if']('isResultReady','ck-ai_review__check-run_ready',_0x16ed63=>_0x16ed63),_0x555cf3['if']('isVisible','ck-hidden',_0x30ec27=>!_0x30ec27)]},'children':[this['_resultsHeader'],this['_errorMessageView'],this['_resultsBody'],_0x29e299,this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear'](),this['_resultsBody']['element']&&(this['_resultsBody']['element']['scrollTop']=0x0);}['getResults'](){return this['_resultViews'];}['addResult'](_0x5dcffd){const _0x1d868c=new AIReviewCoreReviewCheckListItemResultsView(this['locale'],_0x5dcffd['id']);_0x1d868c['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x1d868c),_0x1d868c['resultResponseView']['element']['innerHTML']=_0x5dcffd['contentDiffed'];}['hideResult'](_0x1ef461,_0x38b0c5){if('pending'===_0x38b0c5)return;const _0x4fe4ea=this['_resultViews']['find'](_0x16393f=>_0x16393f['id']===_0x1ef461);_0x4fe4ea&&(_0x4fe4ea['status']=_0x38b0c5,_0x4fe4ea['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0xde7b8,_0x2dd8dd){if('pending'!==_0x2dd8dd)return;const _0x178a9d=this['_resultViews']['find'](_0x574bdf=>_0x574bdf['id']===_0xde7b8);_0x178a9d&&(_0x178a9d['status']=_0x2dd8dd,_0x178a9d['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x460bc4,_0x9f0ef7){this['headerTitle']=_0x460bc4,this['headerSubtitle']=_0x9f0ef7||'';}['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'],_0x3fff2d['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x33969a=new ckeditor5['View'](this['locale']),_0x374aa1=[];for(let _0x5c35aa=0x0;_0x5c35aa<0x10;_0x5c35aa++){const _0x19b820=this['_createSkeletonLoader']();_0x19b820['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x374aa1['push'](_0x19b820);}return _0x33969a['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x1462f8=>!_0x1462f8)]},'children':_0x374aa1}),_0x33969a;}['_createResultsBodyView'](){const _0x46b099=new ckeditor5['View'](this['locale']);return _0x46b099['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-container','ck-reset_all-excluded',this['bindTemplate']['if']('isLoading','ck-hidden',_0x2f4fc4=>_0x2f4fc4)]},'children':this['_resultViews']}),_0x46b099;}['_createErrorView'](){const _0x500a2d=new ckeditor5['View'](this['locale']),_0x8bc99f=new ckeditor5['ButtonView'](this['locale']),t=this['locale']['t'];return _0x500a2d['delegate']('retryReview')['to'](this),_0x8bc99f['set']({'label':t('Try\x20again'),'withText':!0x0,'class':_0x1f417a['SECONDARY']+'\x20ck-ai_review__check-run-error-retry-button'}),_0x8bc99f['on']('execute',()=>{this['fire']('retryReview');}),_0x500a2d['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x1e94e4=>!_0x1e94e4),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x33de27=>'chunk'===_0x33de27)]},'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',_0x549755=>'chunk'===_0x549755)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x8b2ebe=>'general'!==_0x8b2ebe)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x39ac08=>'chunk'!==_0x39ac08)]},'children':[{'text':getTranslation$i(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x8bc99f]}),_0x500a2d;}['_createCancelButtonView'](){const _0x38b018=new ckeditor5['ButtonView'](this['locale']);return _0x38b018['set']({'label':getTranslation$i(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':[_0x1f417a['SECONDARY']+'\x20ck-ai-button-stop-generating'],'icon':ckeditor5['IconStop']}),_0x38b018['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x188147=>_0x188147),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x47000=>_0x47000)]}}),_0x38b018['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x38b018;}['_createToggleDiffButtonView'](){const _0x567ebe=new ckeditor5['ButtonView'](this['locale']);_0x567ebe['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x567ebe['bind']('isEnabled')['to'](this,'isError',_0x2f0e3e=>!_0x2f0e3e),_0x567ebe['extendTemplate']({'attributes':{'class':[_0x1f417a['SECONDARY'],'ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x25f20b=>!_0x25f20b),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x20c0b8=>_0x20c0b8)]}});const _0x25829b=getTranslation$i(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x2391f9=getTranslation$i(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x567ebe['bind']('isOn')['to'](this,'isToggleDiffOn',_0x5a7c4b=>_0x5a7c4b),_0x567ebe['bind']('icon')['to'](this,'isToggleDiffOn',_0x948922=>_0x948922?ckeditor5['IconEye']:ckeditor5['IconEyeCrossedOut']),_0x567ebe['bind']('label')['to'](this,'isToggleDiffOn',_0x2be9d3=>_0x2be9d3?_0x25829b:_0x2391f9),_0x567ebe['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x567ebe;}['_createAcceptAllButtonView'](){const _0x37d182=new ckeditor5['ButtonView'](this['locale']);return _0x37d182['set']({'label':getTranslation$i(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x37d182['bind']('isEnabled')['to'](this,'isError',_0x634537=>!_0x634537),_0x37d182['extendTemplate']({'attributes':{'class':[_0x1f417a['PRIMARY'],'ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x40f3cc=>!_0x40f3cc),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x27170=>_0x27170)]}}),_0x37d182['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x37d182;}['_createExitReviewButtonView'](){const _0x3d4441=new ckeditor5['ButtonView'](this['locale']);return _0x3d4441['set']({'label':getTranslation$i(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x3d4441['extendTemplate']({'attributes':{'class':[_0x1f417a['TERTIARY'],'ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x25ddf2=>!_0x25ddf2),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x539e4d=>_0x539e4d)]}}),_0x3d4441['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x3d4441;}['_createResultHeaderView'](){const _0x26137a=new ckeditor5['View'](this['locale']),_0x43d39e=this['_createTitleView']();return _0x26137a['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x68f18b=>_0x68f18b)]},'children':[_0x43d39e,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x26137a;}['_createTitleView'](){const _0x1181a8=new ckeditor5['View'](this['locale']),_0x770e4a=new _0x39410b();return _0x770e4a['bind']('isVisible')['to'](this,'isResultReady',_0x417173=>!_0x417173),_0x1181a8['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0x770e4a,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x5ee854=>_0x5ee854)]},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__check-run-results-header-title']},'children':[{'text':this['bindTemplate']['to']('headerTitle')}]},{'tag':'span','attributes':{'class':['ck-ai_review__check-run-results-header-subtitle']},'children':[{'text':this['bindTemplate']['to']('headerSubtitle')}]}]},{'tag':'span','attributes':{'class':['ck-ai_review__review-completed-header-title',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x989a99=>!_0x989a99)]},'children':[{'text':getTranslation$i(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x1181a8;}['_createFinishReviewButtonView'](){const _0x163447=new AIReviewCoreFinishReviewButtonView(getTranslation$i(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x163447['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x45798f=>!_0x45798f)]}}),_0x163447['delegate']('finishReview')['to'](this),_0x163447;}}class AIReviewCoreReviewCompletedView extends ckeditor5['ListItemView']{['_resultsHeader'];['_finishReviewButtonView'];constructor(_0x383707,_0x1db279){super(_0x383707),this['_finishReviewButtonView']=this['_createFinishReviewButtonView'](_0x1db279['buttonText']),this['_resultsHeader']=this['_createResultHeaderView'](_0x1db279['headerText']);const _0x5d5235=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__review-completed',_0x5d5235['if']('isVisible','ck-hidden',_0x4079bf=>!_0x4079bf)]},'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':_0x1db279['emptyResultsText']}]}]}]});}['_createFinishReviewButtonView'](_0x49d360){const _0x3185b5=new AIReviewCoreFinishReviewButtonView(_0x49d360,this['locale']);return _0x3185b5['delegate']('finishReview')['to'](this),_0x3185b5;}['_createResultHeaderView'](_0x4dfe57){const _0x32a7b7=new ckeditor5['View'](this['locale']);return _0x32a7b7['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__review-completed-header']},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__review-completed-header-title']},'children':[{'text':_0x4dfe57}]},{'tag':'div','attributes':{'class':['ck-ai_review__review-completed-header-buttons']},'children':[this['_finishReviewButtonView']]}]}),_0x32a7b7;}}class _0x3c08b4 extends ckeditor5['View']{['_dropdownView'];['_defaultValue'];['_defaultLabel'];constructor(_0x409868,_0x2fd23d){super(_0x409868),this['_defaultValue']=_0x2fd23d['default']||(_0x2fd23d['data']['length']>0x0?_0x2fd23d['data'][0x0]['id']:''),this['_defaultLabel']=_0x2fd23d['data']['find'](_0xa64014=>_0xa64014['id']===this['_defaultValue'])?.['label']||'',this['set']('formValue',''),this['_dropdownView']=ckeditor5['createDropdown'](this['locale']);const _0x5bc83e=this['_prepareListOptions'](_0x2fd23d['data']);ckeditor5['addListToDropdown'](this['_dropdownView'],_0x5bc83e,{'role':'menu','ariaLabel':_0x2fd23d['label']}),this['_dropdownView']['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0}),this['_dropdownView']['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x661e80=>{_0x661e80['stopPropagation']();})}}),this['listenTo'](this['_dropdownView'],'execute',_0x6193ea=>{this['formValue']=_0x6193ea['source']['model']['id'],this['_dropdownView']['buttonView']['label']=_0x6193ea['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'](_0x220f31=[]){const _0x22518c=new ckeditor5['Collection']();this['resetToDefault']();for(const _0xea2188 of _0x220f31){const _0x2ad7ca=new ckeditor5['UIModel']({'label':_0xea2188['label'],'withText':!0x0,'role':'menuitemradio','id':_0xea2188['id'],'model':_0xea2188});_0x2ad7ca['bind']('isOn')['to'](this,'formValue',_0x37aafa=>_0x37aafa===_0x2ad7ca['id']);const _0x20866b={'type':'button','model':_0x2ad7ca};_0x22518c['add'](_0x20866b);}return _0x22518c;}}class _0x376417 extends ckeditor5['ListItemView']{['_formItem']=null;constructor(_0x10fcfd,_0x1df1a9,_0x41453f){super(_0x10fcfd),this['argsKey']=_0x1df1a9?.['argsKey'];if('dropdown'===_0x1df1a9['formType'])this['_formItem']=new _0x3c08b4(this['locale'],_0x1df1a9);this['set']('value',''),this['bind']('value')['to'](this['_formItem'],'formValue');const _0x228fa8=new ckeditor5['FormRowView'](this['locale'],{'children':[this['_formItem']],'class':[_0x41453f?'ck-form__row_with-submit':'']});_0x41453f&&_0x228fa8['children']['add'](_0x41453f),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai_review__form-item','ck-reset_all']},'children':[_0x228fa8]});}['resetToDefault'](){this['_formItem']['resetToDefault']();}}class AIReviewCorePromptInputView extends ckeditor5['TextareaView']{['keystrokes'];static ['MIN_ROWS']=0x1;static ['MAX_ROWS']=0xc;constructor(_0x5a76ef){super(_0x5a76ef),this['set']('isEmpty',!0x0),this['keystrokes']=new ckeditor5['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 ckeditor5['View']{['focusTracker']=new ckeditor5['FocusTracker']();['keystrokes']=new ckeditor5['KeystrokeHandler']();['focusCycler'];['_focusables']=new ckeditor5['ViewCollection']();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelNameView'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x127cf2,_0x34fca3,_0x317930=!0x1){super(_0x127cf2),this['_check']=_0x34fca3,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x34fca3['defaultModel']?_0x34fca3['defaultModel']['id']:'',this['_defaultLabel']=_0x34fca3['defaultModel']?_0x34fca3['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new ckeditor5['LabeledFieldView'](this['locale'],()=>new AIReviewCorePromptInputView(_0x127cf2)),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 ckeditor5['Collection'](),this['_modelNameView']=this['_createModelNameView'](),this['_setModelList'](_0x317930),ckeditor5['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 ckeditor5['FormRowView'](this['locale'],{'children':[this['promptInputView']]}),new ckeditor5['FormRowView'](this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x5b6f62,_0x532ac6)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x532ac6()):_0x532ac6();}),this['focusCycler']=new ckeditor5['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'](_0x3ebee3=>{this['_focusables']['add'](_0x3ebee3),this['focusTracker']['add'](_0x3ebee3['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 _0x5baf45 of this['_getFormValidators']()){const _0x2d4e12=_0x5baf45();if(_0x2d4e12)return this['promptInputView']['errorText']=_0x2d4e12,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return getTranslation$i(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x283e3b=new ckeditor5['ButtonView'](this['locale']),t=this['locale']['t'];return _0x283e3b['set']({'label':t('Submit'),'withText':!0x0,'class':_0x1f417a['PRIMARY']}),_0x283e3b['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x283e3b;}['_createCancelButtonView'](){const _0x53fdcc=new ckeditor5['ButtonView'](this['locale']),t=this['locale']['t'];return _0x53fdcc['set']({'label':t('Cancel'),'withText':!0x0,'class':_0x1f417a['TERTIARY']}),_0x53fdcc['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x172b7f=>{_0x172b7f['stopPropagation']();})}}),_0x53fdcc['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x53fdcc;}['_setModelList'](_0x2d9728){this['_modelSelectionDropdownItems']['clear']();const _0x446bc1=this['_check']['models'];if(_0x2d9728)this['set']('modelDisplayMode','hidden');else{const _0x55a00e=0x1===_0x446bc1['length'];this['set']('modelDisplayMode',_0x55a00e?'name':'selector');}if(this['resetToDefault'](),_0x446bc1?.['length']){0x1===_0x446bc1['length']&&this['set']('activeModelName',_0x446bc1[0x0]['name']||_0x446bc1[0x0]['id']);for(const _0x59024b of _0x446bc1){const _0x40c1bb=new ckeditor5['UIModel']({'label':_0x59024b['name'],'withText':!0x0,'role':'menuitemradio','id':_0x59024b['id'],'model':_0x59024b});_0x40c1bb['bind']('isOn')['to'](this,'modelId',_0x440da0=>_0x440da0===_0x59024b['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x40c1bb,'labelView':new ModelButtonLabelView(this['locale'],_0x59024b)});}}}['_createModelSelectionDropdown'](){const _0x393aec=ckeditor5['createDropdown'](this['locale']);return _0x393aec['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x393aec['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0,'class':_0x1f417a['TERTIARY']}),_0x393aec['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x4405e8=>'selector'===_0x4405e8),this['listenTo'](_0x393aec,'execute',_0x5bc6d1=>{this['modelId']=_0x5bc6d1['source']['model']['id'],_0x393aec['buttonView']['label']=_0x5bc6d1['source']['label'];}),_0x393aec;}['_createModelNameView'](){const _0x3043a1=new _0x4bcd43(this['locale']);return _0x3043a1['bind']('text')['to'](this,'activeModelName',_0x2a9b46=>_0x2a9b46??''),_0x3043a1['bind']('isVisible')['to'](this,'modelDisplayMode',_0x534df8=>'name'===_0x534df8),_0x3043a1;}['_createActionsFooterView'](){const _0x2b039b=new ckeditor5['View'](this['locale']);return _0x2b039b['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']]}]}),_0x2b039b;}}class _0x4bcd43 extends ckeditor5['View']{constructor(_0x5b9be6){super(_0x5b9be6),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x76357c=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x76357c['if']('isVisible','ck-hidden',_0x3b3b36=>!_0x3b3b36)]},'children':[{'text':_0x76357c['to']('text')}]});}}class ModelButtonLabelView extends ckeditor5['ButtonLabelView']{constructor(_0x4bd8e7,_0x17a535){super();const _0x315691=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x315691['to']('style'),'id':_0x315691['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x315691['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x17a535['description']||'']}]}]});}}class AIReviewCoreReviewCommandListItemView extends ckeditor5['ListItemView']{['_formItemsCollection']=new ckeditor5['ViewCollection']();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0x9a50ac,_0x4bf1e8,_0xf3fc4f,_0x4582e1=!0x1){super(_0x9a50ac),this['_hideModels']=_0x4582e1,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x4bf1e8['isParameterized']);const _0x2db984=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',_0x433f2b=>_0x433f2b),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0x1fd811=>_0x1fd811)],'style':{'--ck-ai-review-check-list-item-index':_0xf3fc4f}},'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':_0x4bf1e8['title']}]},_0x2db984]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0x4bf1e8['description']?[{'text':_0x4bf1e8['description']}]:[]}]}]},..._0x4bf1e8['isParameterized']?[this['_createParameterizedView'](_0x4bf1e8)]:[],...'custom'===_0x4bf1e8['id']?[this['_createCustomView'](_0x4bf1e8,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0x4bf1e8['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x4bf1e8['id'],'args':_0x4bf1e8['useArgs']?_0x4bf1e8['args']:void 0x0});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&ckeditor5['clickOutsideHandler']({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0xff2e85=>{_0xff2e85['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x4a8844=new ckeditor5['IconView']();return _0x4a8844['content']=ckeditor5['IconChevronRight'],_0x4a8844['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0x4a8844;}['_createParameterizedView'](_0x3049b1){const _0x1f6f9a=new ckeditor5['View'](),_0x193a15=this['_createFormView'](_0x3049b1);return _0x1f6f9a['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x2f1917=>!_0x2f1917)]},'children':[_0x193a15]}),_0x1f6f9a;}['_createFormView'](_0x20d92f){const _0xb8d181=new ckeditor5['View'](),_0x7051e1=Array['isArray'](_0x20d92f['options'])?_0x20d92f['options']:[],_0x428399=new ckeditor5['ButtonView'](this['locale']),t=this['locale']['t'];_0x428399['set']({'label':t('Submit'),'withText':!0x0,'class':_0x1f417a['PRIMARY']}),_0x428399['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x12daf4=>{_0x12daf4['stopPropagation']();})}}),_0x428399['on']('execute',()=>{const _0x3c93a8=[],_0x4d527e={};this['_formItemsCollection']['forEach'](_0x585661=>{_0x3c93a8['push'](_0x585661['value']),_0x20d92f['useArgs']&&_0x20d92f['options']&&(_0x4d527e[_0x585661['argsKey']]=_0x585661['value']);}),this['fire']('runReviewCheck',{'id':_0x20d92f['id'],'params':_0x3c93a8['length']?_0x3c93a8:void 0x0,'args':Object['keys'](_0x4d527e)['length']?_0x4d527e:void 0x0});});const _0x412505=_0x7051e1['length'];return _0x7051e1['forEach']((_0x18c6f3,_0x2901f0)=>{const _0x47c4e8=_0x2901f0===_0x412505-0x1;this['_formItemsCollection']['add'](new _0x376417(this['locale'],_0x18c6f3,_0x47c4e8?_0x428399:null));}),_0xb8d181['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0xb8d181;}['_createCustomView'](_0x21a7de,_0x22e346=!0x1){return this['_customCheckView']=new AIReviewCoreCustomCheckView(this['locale'],_0x21a7de,_0x22e346),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',_0x24598e=>!_0x24598e)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x290d3e,_0xd059bf,_0x1683d8)=>{_0x1683d8||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}class AIReviewCoreReviewCheckListView extends ckeditor5['ListItemView']{['_checkViews'];constructor(_0x22d655){super(_0x22d655),this['_checkViews']=new ckeditor5['ViewCollection'](),this['_setupTemplate']();}['setChecks'](_0x17595f,_0x7a6e2b=!0x1){this['_checkViews']['clear']();for(const [_0x25b3a8,_0x1fa67c]of _0x17595f['entries']()){const _0x2be701=new AIReviewCoreReviewCommandListItemView(this['locale'],_0x1fa67c,_0x25b3a8,_0x7a6e2b);_0x2be701['delegate']('runReviewCheck')['to'](this),this['_checkViews']['add'](_0x2be701);}}['hasChecks'](){return this['_checkViews']['length']>0x0;}['resetAllParameterizedChecks'](){for(const _0x1f5619 of this['_checkViews'])_0x1f5619 instanceof AIReviewCoreReviewCommandListItemView&&_0x1f5619['resetToDefault']();}['_setupTemplate'](){const _0x45b31=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list',_0x45b31['if']('isVisible','ck-hidden',_0x5c56a4=>!_0x5c56a4)]},'children':this['_checkViews']});}}class _0x431c5a extends _0x2004e3{static get['pluginName'](){return'AIReviewModeUI';}['createMainView'](){const _0x131965=this['context']['plugins']['get']('AITabs'),_0x415c53=this['context']['locale'],_0x294c5e=new _0x49a204(_0x415c53,{'label':getTranslation$i(_0x415c53,'AI_REVIEW_MODE'),'icon':ckeditor5['IconAIReview'],'class':'ck-ai-header_review','showResizeButton':_0x131965['showResizeButton']});return _0x294c5e['delegate']('resizeTabs')['to'](_0x131965),_0x294c5e['bind']('isMaximized')['to'](_0x131965['view'],'isMaximized',_0xfeabbc=>_0xfeabbc),new _0x9114c9(this['context']['locale'],{'header':_0x294c5e,'list':new AIReviewCoreReviewCheckListView(_0x415c53),'results':new AIReviewCoreUICheckResultsView(_0x415c53,{'generalErrorText':getTranslation$i(_0x415c53,'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}),'completed':new AIReviewCoreReviewCompletedView(_0x415c53,{'headerText':getTranslation$i(_0x415c53,'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE'),'emptyResultsText':getTranslation$i(_0x415c53,'AI_REVIEW_MODE_EMPTY_RESULTS_TEXT'),'buttonText':getTranslation$i(_0x415c53,'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL')})});}['registerTab'](){const _0x31612a=this['context']['plugins']['get']('AITabs');_0x31612a['view']['on']('activateTab',(_0x25cdf7,{newTab:_0x1f8907,oldTab:_0x4c25c6})=>{'reviewMode'===_0x1f8907?this['fire']('getReviewCheckList'):'reviewMode'===_0x4c25c6&&this['fire']('leaveReview');}),_0x31612a['view']['addTab']({'id':'reviewMode','buttonLabel':getTranslation$i(this['context']['locale'],'AI_REVIEW_MODE'),'buttonIcon':ckeditor5['IconAIReview'],'order':0x0,'content':this['_mainView']});}}const _0x176750='review-',_0x2e00f2=0x6,_0x5768c5=['softBreak'];class AIReviewCoreEditing extends ckeditor5['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(_0x3f11c4){super(_0x3f11c4),this['_domEmitter']=new(ckeditor5['DomEmitterMixin']())(),this['_eventEmitter']=new(ckeditor5['EmitterMixin']())();}get['emitter'](){return this['_eventEmitter'];}['afterInit'](){const _0x3ae0fe=_0x975b54=>this['_scheduleAttachReviewEditingToEditor'](_0x975b54);if(this['_registerGlobalBalloonBlurHandler'](),this['context']instanceof ckeditor5['Editor'])return void this['_attachReviewEditingToEditor'](this['context']);const _0x491fdc=this['context'];for(const _0x4a85cb of _0x491fdc['editors'])_0x3ae0fe(_0x4a85cb);this['listenTo'](_0x491fdc['editors'],'add',(_0x54d5dd,_0x2106d2)=>{_0x3ae0fe(_0x2106d2);}),this['listenTo'](_0x491fdc['editors'],'remove',(_0xe315b8,_0x2c04b1)=>{for(const [_0x4978dc,_0x1fc3b1]of this['_markers'])_0x1fc3b1['editor']===_0x2c04b1&&(this['_eventEmitter']['fire']('changeMarkerRemoved',{'markerId':_0x4978dc,'changeId':_0x1fc3b1['groupId']}),this['_markers']['delete'](_0x4978dc));});}['_scheduleAttachReviewEditingToEditor'](_0x5ca075){const _0x55441a=()=>{'destroyed'!==_0x5ca075['state']&&_0x5ca075['conversion']&&this['_attachReviewEditingToEditor'](_0x5ca075);};if('ready'===_0x5ca075['state'])return void _0x55441a();const _0x3aecb8=()=>{this['stopListening'](_0x5ca075,'ready',_0x3aecb8),_0x55441a();};this['listenTo'](_0x5ca075,'ready',_0x3aecb8);}['_attachReviewEditingToEditor'](_0x42fab){this['_reviewEditingAttachedEditors']['has'](_0x42fab)||(_0x42fab['conversion']['for']('editingDowncast')['markerToElement']({'model':_0x176750+'insert','view':(_0x2a8743,{writer:_0x463fad})=>{const _0x38ac9c=this['_markers']['get'](_0x2a8743['markerName']),_0x2fe2da={'class':'ck-ai_review-marker_add'+(this['_activeMarkers']['has'](_0x38ac9c?.['id']||'')?'\x20ck-ai_review__change_active':''),'data-marker-id':_0x2a8743['markerName']};return _0x463fad['createUIElement']('span',_0x2fe2da,function(_0x142da6){const _0x4454b1=this['toDomElement'](_0x142da6);return _0x4454b1['innerHTML']=_0x38ac9c?.['content']?.['asString']||'',_0x4454b1;});}}),_0x42fab['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x176750+'remove-only','view':_0x52aa92=>{const _0x34ac18=this['_markers']['get'](_0x52aa92['markerName']),_0x4dce4c=['ck-ai_review-marker_strikethrough'];return this['_activeMarkers']['has'](_0x34ac18?.['id']||'')&&_0x4dce4c['push']('ck-ai_review__change_active'),{'classes':_0x4dce4c,'attributes':{'data-marker-id':_0x52aa92['markerName']}};}}),_0x42fab['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x176750+'remove-context','view':_0x25dea1=>{const _0x2d2a6c=this['_markers']['get'](_0x25dea1['markerName']),_0xb36538=['ck-ai_review-marker_underline'];return this['_activeMarkers']['has'](_0x2d2a6c?.['id']||'')&&_0xb36538['push']('ck-ai_review__change_active'),{'classes':_0xb36538,'attributes':{'data-marker-id':_0x25dea1['markerName']}};}}),_0x42fab['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x176750+'remove-text','view':_0x3be730=>{const _0x517518=this['_markers']['get'](_0x3be730['markerName']),_0x1087ef=['ck-ai_review-marker_hide'];return this['_activeMarkers']['has'](_0x517518?.['id']||'')&&_0x1087ef['push']('ck-ai_review__change_active'),{'classes':_0x1087ef,'attributes':{'data-marker-id':_0x3be730['markerName']}};}}),_0x42fab['conversion']['for']('dataDowncast')['markerToElement']({'model':_0x176750+'suggestion-context','view':(_0x25b906,{writer:_0x18478a})=>_0x18478a['createRawElement']('span',{'class':'ck-ai_review-marker_context-'+(_0x25b906['isOpening']?'start':'end')})}),_0x42fab['conversion']['for']('downcast')['attributeToAttribute']({'model':_0x4b93c3,'view':_0x269a48}),this['_updateMouseMarkerInteractionListeners'](_0x42fab),this['listenTo'](_0x42fab,'addRoot',()=>this['_updateMouseMarkerInteractionListeners'](_0x42fab),{'priority':'lowest'}),this['listenTo'](_0x42fab,'detachRoot',()=>this['_updateMouseMarkerInteractionListeners'](_0x42fab),{'priority':'lowest'}),_0x42fab['model']['document']['registerPostFixer'](_0x4d9563=>this['_validateMarkers'](_0x42fab,_0x4d9563)),_0x42fab['model']['document']['on']('change',()=>this['_handleMarkerChanges'](_0x42fab)),this['_reviewEditingAttachedEditors']['add'](_0x42fab));}['_updateMouseMarkerInteractionListeners'](_0x52b1d9){let _0x3367c9=this['_boundEditables']['get'](_0x52b1d9);_0x3367c9||(_0x3367c9=new Map(),this['_boundEditables']['set'](_0x52b1d9,_0x3367c9));const _0x116dfb=new Set(_0x52b1d9['ui']['getEditableElementsNames']());for(const _0x3a6bf8 of _0x116dfb){if(_0x3367c9['has'](_0x3a6bf8))continue;const _0x119236=_0x52b1d9['ui']['getEditableElement'](_0x3a6bf8);_0x3367c9['set'](_0x3a6bf8,_0x119236),this['_attachMouseMarkerInteractionListeners'](_0x119236);}for(const [_0x303a31,_0x9af426]of _0x3367c9)_0x116dfb['has'](_0x303a31)||(_0x3367c9['delete'](_0x303a31),this['_domEmitter']['stopListening'](_0x9af426));}['_attachMouseMarkerInteractionListeners'](_0x150ce5){this['_domEmitter']['listenTo'](_0x150ce5,'mouseup',(_0x2742d9,_0x1e5281)=>{const _0x5d7a63=_0x1e5281['target'],_0x6fd85c=this['_findMarkerElement'](_0x5d7a63);if(!_0x6fd85c)return;const _0x339f11=_0x6fd85c['getAttribute']('data-marker-id'),_0x38b249=_0x339f11['split'](':')['pop']()?.['split']('_')[0x0];this['_eventEmitter']['fire']('changeMarkerClicked',{'markerId':_0x339f11,'changeId':_0x38b249,'markerElement':()=>this['_findMarkerElementById'](_0x339f11),'domEvent':_0x1e5281});},{'usePassive':!0x0,'priority':'highest'}),this['_domEmitter']['listenTo'](_0x150ce5,'mouseover',(_0x4a200e,_0x3b500d)=>{const _0x41fa77=_0x3b500d['target'],_0x17aecb=_0x3b500d['relatedTarget'];let _0x1693e3=this['_findMarkerElement'](_0x41fa77);if(!_0x1693e3&&_0x17aecb&&(_0x1693e3=this['_findMarkerElement'](_0x17aecb)),!_0x1693e3)return;const _0x201431=_0x1693e3['getAttribute']('data-marker-id'),_0x5e8a0f=_0x201431['split'](':')['pop']()?.['split']('_')[0x0];this['_eventEmitter']['fire']('changeMarkerHovered',{'changeId':_0x5e8a0f,'markerElement':()=>this['_findMarkerElementById'](_0x201431),'domEvent':_0x3b500d});});}['_registerGlobalBalloonBlurHandler'](){this['_domEmitter']['listenTo'](document,'mouseover',_0x3aca90((_0x182f86,_0x1b4d9f)=>{const _0xc07a0c=_0x1b4d9f['target'];if(this['_findMarkerElement'](_0xc07a0c))return;_0xc07a0c['closest']('.ck-reset.ck-ai_review-balloon-panel-suggestion')||this['_eventEmitter']['fire']('changeMarkerBlurred');},0xc8));}['getDocumentData'](){const _0x1c4946=this['context']['plugins']['get']('AIEditing'),_0x2fdd3d=getEditorsFromContext(this['context']);if(!_0x2fdd3d['length'])throw new ckeditor5['CKEditorError']('ai-get-editor-from-context-no-editor',this);const _0x452e48=new Set(),_0x105a8a=[],_0x208613=new Map();for(const _0x20c5af of _0x2fdd3d)for(const _0x20a9e4 of _0x20c5af['model']['document']['getRoots']()){if('$graveyard'===_0x20a9e4['rootName'])continue;const _0x42e1a0=this['_buildDocumentDataSliceForRoot'](_0x20c5af,_0x20a9e4,_0x1c4946,_0x452e48);_0x105a8a['push'](_0x42e1a0['content']);for(const [_0x1e9c65,_0x1106b5]of _0x42e1a0['elements'])_0x208613['set'](_0x1e9c65,_0x1106b5);}return{'elements':_0x208613,'content':_0x105a8a['join']('')};}['_buildDocumentDataSliceForRoot'](_0x1a8642,_0x1e396f,_0x12e2ff,_0x22ae34){const _0x314349=_0x1a8642['model'],_0x19db1d=new ckeditor5['ModelDocumentFragment']();for(const _0x25c019 of _0x1e396f['getChildren']())_0x19db1d['_appendChild'](_0x25c019['_clone'](!0x0));for(const _0xde3cfa of _0x314349['markers']){const _0x5da4b9=_0xde3cfa['getRange']();_0x5da4b9&&_0x5da4b9['root']['rootName']===_0x1e396f['rootName']&&_0x19db1d['markers']['set'](_0xde3cfa['name'],this['_changeRangeOwnerDocument'](_0x5da4b9['clone'](),_0x19db1d));}const _0x301f66=new Map(),_0x4223b3=_0x314349['document']['version'],_0x45ec07=new ckeditor5['ModelTreeWalker']({'ignoreElementEnd':!0x0,'startPosition':_0x314349['createPositionAt'](_0x19db1d,0x0)});for(const {item:_0x4441f1}of _0x45ec07){if(!_0x4441f1['is']('$textProxy'))continue;const _0x5df556=_0x4441f1['parent'];if(!_0x5df556||!_0x5df556['is']('element'))continue;const _0x242e5b=this['_upsertDataId'](_0x5df556,()=>_0x12e2ff['_nextDataId'](_0x22ae34));_0x22ae34['add'](_0x242e5b);for(const _0x359b84 of _0x5df556['getChildren']())_0x359b84['is']('element')&&(_0x359b84['name']&&_0x5768c5['includes'](_0x359b84['name'])||_0x22ae34['add'](this['_upsertDataId'](_0x359b84,()=>_0x12e2ff['_nextDataId'](_0x22ae34))));let _0x4482ce=_0x5df556;for(;_0x4482ce['parent']&&!_0x4482ce['parent']['is']('documentFragment');)_0x4482ce=_0x4482ce['parent'],_0x4482ce['hasAttribute'](_0x4b93c3)&&_0x4482ce['_removeAttribute'](_0x4b93c3);_0x301f66['set'](_0x242e5b,{'editor':_0x1a8642,'rootName':_0x1e396f['rootName'],'path':_0x5df556['getPath'](),'documentVersion':_0x4223b3,'getContent':this['_createGetContentUsingDataIdFn'](_0x4482ce['_clone'](!0x0),_0x242e5b,_0x1a8642['data'])}),_0x45ec07['jumpTo'](_0x314349['createPositionAfter'](_0x5df556));}return{'content':_0x1a8642['data']['processor']['toData'](_0x1a8642['data']['toView'](_0x19db1d)),'elements':_0x301f66};}['diffContent'](_0x5149b9,_0x1af33f,_0x143557,_0x4eb2a6=!0x1){const _0x4767f3=[],_0x3624d5=_0x5149b9['data']['parse'](_0x143557,'$documentFragment'),_0x54f4eb=_0x5149b9['data']['parse'](_0x1af33f,'$documentFragment'),_0x244e0b=_0x5149b9['model']['createPositionAt'](_0x54f4eb,0x0);if(this['_haveSingleTopLevelElement'](_0x3624d5)){if(!this['_hasSameTopLevelElement'](_0x54f4eb,_0x3624d5))return _0x4767f3;}else{const _0x882434=_0x5149b9['model']['schema'];if(!this['_haveOnlyInlineContent'](_0x54f4eb,_0x882434)||!this['_haveOnlyInlineContent'](_0x3624d5,_0x882434))return _0x4767f3;}const _0x1288c5=this['context']['plugins']['get']('DocumentCompare')['getDiff'](_0x1af33f,_0x143557,{'targetEditor':_0x5149b9,'anchor':_0x244e0b,'markDeletions':!0x0})['getOperations']()['filter'](_0x164397=>'insert'===_0x164397['type']||'marker'===_0x164397['type']&&_0x164397['name']['startsWith']('$markedRemove')),_0x49cd25=this['_groupAdjacentOperations'](_0x1288c5),_0x20edbe=[];if(_0x4eb2a6){if(_0x49cd25['length']){const _0x26d981=_0x49cd25[0x0]['operations'][0x0],_0x39fdda='insert'===_0x26d981['type']?_0x26d981['position']:_0x26d981['newRange']['start'],_0x1093f4=this['_getPositionLimitingRange'](_0x39fdda,_0x5149b9,'inside'),_0x386c54=_0x1093f4?_0x3624d5['getChild'](0x0)['getChildren']():_0x3624d5['getChildren'](),_0x410cdf=_0x1093f4||_0x5149b9['model']['createRangeIn'](_0x54f4eb),_0x3aacaf=[new ckeditor5['MarkerOperation']('$markedRemove:synthetic'+ckeditor5['uid'](),null,_0x410cdf,_0x5149b9['model']['document']['model']['markers'],!0x0,_0x5149b9['model']['document']['version']+0x1),new ckeditor5['InsertOperation'](_0x410cdf['end'],_0x386c54,_0x5149b9['model']['document']['version']+0x2)];_0x20edbe['push']({'operations':_0x3aacaf,'operationsIsolated':_0x3aacaf,'groupOffset':0x0});}}else _0x20edbe['push'](..._0x49cd25);let _0x201158=0x0;return _0x5149b9['model']['change'](_0x1d5334=>{for(let _0xae2362=0x0;_0xae2362<_0x20edbe['length'];_0xae2362++){const _0x43d093=_0x20edbe[_0xae2362],_0x58de7a=_0x1d5334['createDocumentFragment']();for(const _0x4047fe of _0x54f4eb['getChildren']())_0x1d5334['append'](_0x4047fe['_clone'](!0x0),_0x58de7a);for(const _0x387259 of _0x43d093['operationsIsolated'])if('insert'===_0x387259['type']){const _0x1be970=_0x387259;_0x1be970['baseVersion']=null,_0x1be970['isDocumentOperation']=!0x1,this['_changeOperationOwnerDocument'](_0x1be970,_0x58de7a),_0x1d5334['batch']['addOperation'](_0x387259),_0x5149b9['model']['applyOperation'](_0x387259);const _0x115efb='suggestion:insertion:id:authorId:'+_0x201158++,_0x214ca6=_0x5149b9['model']['createRange'](_0x1be970['position'],_0x1be970['position']['getShiftedBy'](_0x1be970['howMany']));_0x58de7a['markers']['set'](_0x115efb,_0x214ca6);}else{if('marker'===_0x387259['type']&&_0x387259['name']['startsWith']('$markedRemove')){const _0x1a4450=_0x387259,_0x11b324='suggestion:deletion:id:authorId:'+_0x201158++;this['_changeOperationOwnerDocument'](_0x1a4450,_0x58de7a),_0x58de7a['markers']['set'](_0x11b324,_0x1a4450['newRange']);}}if(_0x4eb2a6)_0x4767f3['push']({..._0x43d093,'context':this['_createGetContentFn'](_0x54f4eb,_0x5149b9['data']),'content':this['_createGetContentFn'](_0x54f4eb,_0x5149b9['data'])});else{const _0x48ea22=this['_getChangeContext'](this['_changePositionOwnerDocument'](this['_getOperationStart'](_0x43d093['operationsIsolated'][0x0]),_0x58de7a),this['_changePositionOwnerDocument'](this['_getOperationEnd'](_0x43d093['operationsIsolated'][_0x43d093['operationsIsolated']['length']-0x1]),_0x58de7a),_0x5149b9);_0x58de7a['markers']['set'](_0x176750+'suggestion-context',new ckeditor5['ModelRange'](_0x48ea22['start'],_0x48ea22['end'])),_0x4767f3['push']({..._0x43d093,'context':this['_createGetContextFn'](_0x58de7a,_0x5149b9['data'],{'ellipsisBefore':_0x48ea22['hasContentBefore'],'ellipsisAfter':_0x48ea22['hasContentAfter']}),'content':this['_createGetContentFn'](_0x58de7a,_0x5149b9['data'])});}}}),_0x4767f3;}['markChangePositionInEditorContent'](_0x2817b5,_0x5440de){if(!_0x2817b5['length'])return;const _0x2f54fe=_0x2817b5[0x0]['parent']['id'],_0xb44cf3=_0x5440de['elements']['get'](_0x2f54fe);if(!_0xb44cf3)return void console['warn']('No\x20element\x20found\x20for\x20ID:\x20'+_0x2f54fe);const _0x58da68=_0xb44cf3['path'],_0x22cedc=_0xb44cf3['editor'],_0x41e389=_0x22cedc['model']['document']['getRoot'](_0xb44cf3['rootName']);if(!_0x41e389)return void console['warn']('No\x20model\x20root\x20found\x20for\x20name:\x20'+_0xb44cf3['rootName']);const _0x2130bb=_0x22cedc['model']['document']['history']['getOperations'](_0xb44cf3['documentVersion']),_0x2a9b77=[];for(const _0x3a973d of _0x2817b5){const _0x3f043a=_0x3a973d['operationsIsolated']['map'](_0x524717=>this['_translateOperationToEditorContent'](_0x524717,_0x58da68,_0x41e389));if(!_0x3f043a||!_0x3f043a['length'])continue;const _0x312463=_0x3f043a['every'](_0x3844d5=>'marker'===_0x3844d5['type']&&_0x3844d5['name']['startsWith']('$markedRemove')),_0xe4d4e8={'document':_0x22cedc['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1},_0x4d74ca=ckeditor5['transformOperationSets'](_0x3f043a,_0x2130bb,_0xe4d4e8)['operationsA'];for(const _0x393e7e of _0x4d74ca)if('insert'===_0x393e7e['type']){const _0x1d82e1=_0x393e7e,_0x3b599b=_0x1d82e1['nodes'];_0x22cedc['model']['change'](_0x411cf6=>{const _0x197fe7=_0x411cf6['createDocumentFragment']();for(const _0x44d061 of _0x3b599b)_0x411cf6['append'](_0x44d061['_clone'](!0x0),_0x197fe7);_0x2a9b77['push']({'start':_0x1d82e1['position'],'end':_0x1d82e1['position'],'type':'insert','groupId':_0x3a973d['id'],'content':{'asString':this['_createGetContentFn'](_0x197fe7,_0x22cedc['data'])(),'asFragment':_0x197fe7}});});}else{if('marker'===_0x393e7e['type']&&_0x393e7e['name']['startsWith']('$markedRemove')){const _0x231f7d=_0x393e7e;let _0x51ffe2='remove-text';if(_0x312463){const _0x50c1cc=this['_findAdjacentContextDistance'](_0x231f7d['newRange']['start'],'backward',_0x22cedc['model']['schema']),_0x6b2ce3=this['_findAdjacentContextDistance'](_0x231f7d['newRange']['end'],'forward',_0x22cedc['model']['schema']);if(_0x50c1cc||_0x6b2ce3){const _0x242cf1=_0x231f7d['newRange']['start']['getShiftedBy'](-_0x50c1cc),_0xcbe3cb=_0x231f7d['newRange']['end']['getShiftedBy'](_0x6b2ce3);_0x2a9b77['push']({'start':_0x242cf1,'end':_0xcbe3cb,'groupId':_0x3a973d['id'],'type':'remove-context'});}else _0x51ffe2='remove-only';}_0x2a9b77['push']({'start':_0x231f7d['newRange']['start'],'end':_0x231f7d['newRange']['end'],'groupId':_0x3a973d['id'],'type':_0x51ffe2});}}}this['_insertMarkers'](_0x2a9b77,_0x22cedc);}['clearAllMarkers'](){const _0x2449ec=new Map();for(const _0xe45fab of this['_markers']['keys']()){const _0x222eee=this['_markers']['get'](_0xe45fab);_0x222eee?.['editor']&&(_0x2449ec['has'](_0x222eee['editor'])||_0x2449ec['set'](_0x222eee['editor'],[]),_0x2449ec['get'](_0x222eee['editor'])['push'](_0xe45fab));}for(const [_0x3b0ecd,_0x705670]of _0x2449ec)_0x3b0ecd['model']['change'](_0x41b447=>{for(const _0x370764 of _0x705670)_0x3b0ecd['model']['markers']['get'](_0x370764)&&_0x41b447['removeMarker'](_0x370764);});this['_markers']['clear'](),this['_activeMarkers']['clear']();}['switchToReadOnly'](){for(const _0x14dd0a of getEditorsFromContext(this['context']))_0x14dd0a['enableReadOnlyMode']('ai-review');}['switchToEdit'](){for(const _0x49cac3 of getEditorsFromContext(this['context']))_0x49cac3['disableReadOnlyMode']('ai-review');}['applyChange'](_0x50694b){const _0x197bd8=_0x50694b['map'](_0x5ac42c=>this['_getMarkersDataForGroup'](_0x5ac42c))['flat'](),_0x54d74f=new Map();for(const _0x2d7f51 of _0x197bd8)_0x54d74f['has'](_0x2d7f51['editor'])||_0x54d74f['set'](_0x2d7f51['editor'],[]),_0x54d74f['get'](_0x2d7f51['editor'])['push'](_0x2d7f51);for(const [_0x65cadf,_0x213943]of _0x54d74f){const _0x30c6b1=_0x65cadf['model'];_0x30c6b1['change'](_0x4a10fa=>{for(const _0x41f45c of _0x213943){const _0x39cd78=_0x65cadf['model']['markers']['get'](_0x41f45c['id']);if(_0x39cd78){if('insert'===_0x41f45c['type']){if(!_0x41f45c['content'])continue;_0x30c6b1['insertContent'](_0x41f45c['content']['asFragment']||null,_0x39cd78['getRange']()['start']);}else'remove-text'!==_0x41f45c['type']&&'remove-only'!==_0x41f45c['type']||_0x30c6b1['deleteContent'](_0x30c6b1['createSelection'](_0x39cd78['getRange']()));_0x4a10fa['removeMarker'](_0x41f45c['id']),this['_markers']['delete'](_0x41f45c['id']);}}});}}['rejectChange'](_0xb01c49){const _0x60a301=this['_getMarkersDataForGroup'](_0xb01c49),_0x2abf83=new Map();for(const _0x40de66 of _0x60a301)_0x2abf83['has'](_0x40de66['editor'])||_0x2abf83['set'](_0x40de66['editor'],[]),_0x2abf83['get'](_0x40de66['editor'])['push'](_0x40de66);for(const [_0x5b1007,_0x7f70d2]of _0x2abf83)_0x5b1007['model']['change'](_0x385a6b=>{for(const _0x405563 of _0x7f70d2)_0x385a6b['removeMarker'](_0x405563['id']),this['_markers']['delete'](_0x405563['id']);});}['getEditor'](){return getEditorFromContext(this['context']);}['getEditors'](){return getEditorsFromContext(this['context']);}['getEditorForChange'](_0xa490c5){const _0x34c04c=this['_getMarkersDataForGroup'](_0xa490c5);return _0x34c04c[0x0]?.['editor'];}['getMarkerElementForChange'](_0x35f4a6){const _0x5f2b0f=Array['from'](this['_markers']['values']())['filter'](_0x54478c=>_0x54478c['groupId']===_0x35f4a6);if(!_0x5f2b0f['length'])return null;const _0x249363=0x1===_0x5f2b0f['length']?_0x5f2b0f[0x0]:this['_sortMarkers'](_0x5f2b0f)[0x0],_0x709ea8=_0x249363['editor']['model']['markers']['get'](_0x249363['id']);if(!_0x709ea8)return null;return{'modelRange':_0x709ea8['getRange'](),'getElement':()=>this['_findMarkerElementById'](_0x249363['id'])};}['getContentElementForChange'](_0x35a5a5){const _0x332ca6=Array['from'](this['_markers']['values']())['filter'](_0x3db86b=>_0x3db86b['groupId']===_0x35a5a5);if(!_0x332ca6['length'])return null;const _0x3c927b=0x1===_0x332ca6['length']?_0x332ca6[0x0]:this['_sortMarkers'](_0x332ca6)[0x0],_0x5b7c12=_0x3c927b['editor'],_0x5718b1=_0x5b7c12['model']['markers']['get'](_0x3c927b['id']);if(!_0x5718b1)return null;const _0x3a1981=_0x5718b1['getRange'](),_0x2ff770=_0x5b7c12['editing']['view']['getDomRoot'](_0x3a1981['root']['rootName'])||_0x5b7c12['editing']['view']['getDomRoot']();if(!_0x2ff770||!_0x3a1981)return null;let _0x58a286=_0x3a1981['start']['parent'];for(;_0x58a286['parent']&&'$root'!==_0x58a286['parent']['name'];)_0x58a286=_0x58a286['parent'];if(!_0x58a286||!_0x58a286['name'])return null;const _0x2e3c54=_0x2ff770['querySelector']('[data-marker-id=\x22'+_0x3c927b['id']+'\x22]');if(!_0x2e3c54)return null;let _0x3f4074=null;_0x5b7c12['model']['change'](_0x28d6f4=>{_0x3f4074=_0x28d6f4['createDocumentFragment'](),_0x28d6f4['append'](_0x58a286['_clone'](!0x0),_0x3f4074);});const _0x3791a7=_0x5b7c12['data']['toView'](_0x3f4074)['getChild'](0x0);return _0x2e3c54['closest'](_0x3791a7['name']);}['reactivateMarkers'](_0x495c8a){const _0x5aec3b=this['_getMarkersDataForGroup'](_0x495c8a);if(!_0x5aec3b['length'])return;const _0x1bb8ec=Array['from'](this['_activeMarkers'])['sort'](),_0xcae4f1=Array['from'](new Set(_0x5aec3b['map'](_0x1917b4=>_0x1917b4['id'])))['sort']();_0x1bb8ec['join']('|')!==_0xcae4f1['join']('|')&&(this['setAllMarkersAsInactive'](),this['setMarkersInElementAsActive'](_0x495c8a));}['setMarkersInElementAsActive'](_0x3f048d){const _0x192734=this['_getMarkersDataForGroup'](_0x3f048d);if(!_0x192734['length'])return;const _0x5d179c=_0x192734[0x0]['editor'],_0x3df90c=new Set(_0x192734['map'](_0x425380=>_0x425380['id'])),_0x35bf50=Array['from'](_0x3df90c['values']())['map'](_0x5a51fe=>_0x5d179c['model']['markers']['get'](_0x5a51fe))['filter'](_0x4151d4=>!!_0x4151d4);_0x3df90c['forEach'](_0x3e578d=>{this['_activeMarkers']['add'](_0x3e578d);}),_0x5d179c['model']['change'](()=>{_0x35bf50['forEach'](_0x1224c5=>{_0x5d179c['editing']['reconvertMarker'](_0x1224c5);});});}['setAllMarkersAsInactive'](){const _0x5c1862=Array['from'](this['_activeMarkers']);if(!_0x5c1862['length'])return;this['_activeMarkers']['clear']();const _0x36d99b=new Map();for(const _0x2ac268 of _0x5c1862){const _0x53febd=this['_markers']['get'](_0x2ac268);if(!_0x53febd)continue;const _0xeb80d7=_0x53febd['editor'],_0x36afd5=_0xeb80d7['model']['markers']['get'](_0x2ac268);_0x36afd5&&(_0x36d99b['has'](_0xeb80d7)||_0x36d99b['set'](_0xeb80d7,[]),_0x36d99b['get'](_0xeb80d7)['push'](_0x36afd5));}for(const [_0x194683,_0x96db19]of _0x36d99b)_0x194683['model']['change'](()=>{_0x96db19['forEach'](_0x42e240=>{_0x194683['editing']['reconvertMarker'](_0x42e240);});});}['_getPositionLimitingRange'](_0x1f5d33,_0x57889c,_0x2520d7='outside'){if(!_0x1f5d33)return null;let _0x55aaa2=_0x1f5d33['parent'];for(;_0x55aaa2&&_0x55aaa2['parent']&&'$root'!==_0x55aaa2['parent']['name']&&!_0x57889c['model']['schema']['isLimit'](_0x55aaa2)&&!_0x57889c['model']['schema']['isBlock'](_0x55aaa2);)_0x55aaa2=_0x55aaa2['parent'];if(!_0x55aaa2||!_0x55aaa2['name']||'$root'===_0x55aaa2['name'])return null;let _0x15e3ba=null;return _0x57889c['model']['change'](_0x398f3b=>{_0x15e3ba='inside'===_0x2520d7?_0x398f3b['createRangeIn'](_0x55aaa2):_0x398f3b['createRangeOn'](_0x55aaa2);}),_0x15e3ba;}['_validateMarkers'](_0x1c3610,_0x19be60){const _0x2038bb=Array['from'](this['_markers']['keys']()),_0x480db4=new Map();for(const _0x2d59ef of _0x2038bb){const _0x1f777b=_0x1c3610['model']['markers']['get'](_0x2d59ef);if(!_0x1f777b)continue;const _0x2014f8=_0x1f777b['getStart']()['root']['rootName']+':'+_0x1f777b['getStart']()['path'][0x0];_0x480db4['has'](_0x2014f8)||_0x480db4['set'](_0x2014f8,[]),_0x480db4['get'](_0x2014f8)['push'](_0x1f777b);}const _0x5a62fe=new Set();for(const _0x2747ff of _0x1c3610['model']['document']['differ']['getChanges']()){let _0x5ba182='',_0x22fc11=null;if('insert'===_0x2747ff['type'])_0x22fc11=new ckeditor5['ModelRange'](_0x2747ff['position'],_0x2747ff['position']['getShiftedBy'](_0x2747ff['length'])),_0x5ba182=_0x2747ff['position']['root']['rootName']+':'+_0x2747ff['position']['path'][0x0];else{if('remove'!==_0x2747ff['type'])continue;_0x22fc11=new ckeditor5['ModelRange'](_0x2747ff['position']),_0x5ba182=_0x2747ff['position']['root']['rootName']+':'+_0x2747ff['position']['path'][0x0];}const _0x1fe26c=_0x480db4['get'](_0x5ba182)||[];if(_0x1fe26c['length']){for(const _0x3789b7 of _0x1fe26c)if(_0x22fc11['root']['rootName']===_0x3789b7['getRange']()['root']['rootName']&&('insert'!==_0x2747ff['type']||!_0x22fc11['containsRange'](_0x3789b7['getRange']()))&&(_0x22fc11['isIntersecting'](_0x3789b7['getRange']())||_0x22fc11['start']['isTouching'](_0x3789b7['getRange']()['end'])||_0x22fc11['end']['isTouching'](_0x3789b7['getRange']()['start']))){const _0x28415f=this['_parseMarkerName'](_0x3789b7['name']);Array['from'](this['_markers']['values']())['filter'](_0x1e0c87=>_0x1e0c87['groupId']===_0x28415f['groupId'])['forEach'](_0x1aa0a3=>_0x5a62fe['add'](_0x1aa0a3['id']));}}}if(_0x5a62fe['size']){for(const _0x596310 of _0x5a62fe)_0x19be60['removeMarker'](_0x596310);return!0x0;}return!0x1;}['_handleMarkerChanges'](_0x53f6c5){for(const {name:_0x2a4731,data:_0x1a0536}of _0x53f6c5['model']['document']['differ']['getChangedMarkers']()){if(!_0x2a4731['startsWith'](_0x176750))continue;const _0x97d0eb=_0x1a0536['oldRange'],_0x402408=_0x1a0536['newRange'],_0x4a62b4=_0x97d0eb&&'$graveyard'===_0x97d0eb['root']['rootName'],_0x4f5ae5=_0x402408&&'$graveyard'===_0x402408['root']['rootName'];if(_0x4a62b4&&_0x4f5ae5)continue;const _0x45c0dc=this['_parseMarkerName'](_0x2a4731);this['_markers']['get'](_0x2a4731)&&(_0x4f5ae5||!_0x402408?this['_eventEmitter']['fire']('changeMarkerRemoved',{'markerId':_0x2a4731,'changeId':_0x45c0dc['groupId']}):_0x4a62b4&&_0x402408&&this['_eventEmitter']['fire']('changeMarkerRestored',{'markerId':_0x2a4731,'changeId':_0x45c0dc['groupId']}));}}['_parseMarkerName'](_0x3ce894){const _0x1a0553=_0x3ce894['split'](':'),_0x3df770=(_0x1a0553[0x1]||'')['split']('_');return{'prefix':_0x1a0553[0x0],'groupId':_0x3df770[0x0],'suffix':_0x3df770[0x1]};}['_translateOperationToEditorContent'](_0x56101b,_0x1d86a6,_0x555233){if('insert'===_0x56101b['type']){const _0x51e6db=_0x56101b;return new ckeditor5['InsertOperation'](this['_changePosition'](_0x1d86a6['concat'](_0x51e6db['position']['offset']),_0x555233),_0x51e6db['nodes'],_0x51e6db['baseVersion']);}if('marker'===_0x56101b['type']&&_0x56101b['name']['startsWith']('$markedRemove')){const _0xe257eb=_0x56101b;return new ckeditor5['MarkerOperation'](_0xe257eb['name'],_0xe257eb['oldRange'],this['_changeRange'](_0xe257eb['newRange'],_0x1d86a6['concat'](_0xe257eb['newRange']['start']['offset']),_0x1d86a6['concat'](_0xe257eb['newRange']['end']['offset']),_0x555233),_0xe257eb['_markers'],_0xe257eb['affectsData'],_0xe257eb['baseVersion']);}return _0x56101b;}['_groupAdjacentOperations'](_0x7b32d2){if(!_0x7b32d2['length'])return[];const _0x58c33e=[];let _0x5a80af=0x0,_0x91dfd9=0x0,_0x4745ca=[];for(let _0x388a72=0x0;_0x388a72<=_0x7b32d2['length'];_0x388a72++){const _0x204b48=_0x7b32d2[_0x388a72],_0xc44c33=_0x7b32d2[_0x388a72-0x1];!_0x204b48||_0xc44c33&&!this['_getOperationEnd'](_0xc44c33)['isTouching'](this['_getOperationStart'](_0x204b48))?(_0x58c33e['push']({'operations':_0x4745ca,'operationsIsolated':_0x4745ca['map'](_0xd32b0b=>this['_shiftOperation'](_0xd32b0b['clone'](),-_0x91dfd9)),'groupOffset':_0x5a80af}),_0x4745ca=_0x204b48?[_0x204b48]:[],_0x91dfd9+=_0x5a80af,_0x5a80af=0x0):_0x4745ca['push'](_0x204b48),_0x204b48&&'insert'===_0x204b48['type']&&(_0x5a80af+=_0x204b48['howMany']);}return _0x58c33e;}['_findAdjacentContextDistance'](_0x7ab96f,_0x129e92,_0x551675,_0x4a3ddc=0x1){const _0x13ca32=new ckeditor5['ModelTreeWalker']({'startPosition':_0x7ab96f,'direction':_0x129e92});let _0x43df2b=0x0;for(let _0x4cd329=0x0;_0x4cd329<_0x4a3ddc;_0x4cd329++){let _0x54c672=0x0,_0x4c55b5=!0x1,_0x33bc1a='forward'===_0x129e92?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x2c926c}of _0x13ca32)if(_0x2c926c['is']('$textProxy')){const _0x2e052f=_0x33bc1a['exec'](_0x2c926c['data']);if(_0x2e052f&&_0x2e052f['length']){if(_0x54c672+='forward'===_0x129e92?_0x2e052f['index']+_0x2e052f[0x0]['length']:_0x2c926c['data']['length']-_0x2e052f['index'],_0x2e052f[0x0]['length']!==_0x2c926c['data']['length'])break;_0x4c55b5=!0x0,_0x33bc1a='forward'===_0x129e92?/^\w+/:/\w+$/;}else{if(_0x4c55b5)break;_0x54c672+=_0x2c926c['offsetSize'];}}else{if(_0x2c926c['is']('element')){_0x551675['isInline'](_0x2c926c)&&!_0x4c55b5&&(_0x54c672+=0x1);break;}}_0x43df2b+=_0x54c672,_0x13ca32['jumpTo'](_0x7ab96f['getShiftedBy']('forward'===_0x129e92?_0x43df2b:-_0x43df2b));}return _0x43df2b;}['_getChangeContext'](_0x1feaa1,_0x3874e0,_0x311dc8){const _0x5b6a7f=_0x311dc8['model']['schema'],_0x435b7f=this['_findAdjacentContextDistance'](_0x1feaa1,'backward',_0x5b6a7f,_0x2e00f2),_0x6a9e84=this['_findAdjacentContextDistance'](_0x3874e0,'forward',_0x5b6a7f,_0x2e00f2),_0x2c21b2=_0x1feaa1['getShiftedBy'](-_0x435b7f),_0x4aafe4=_0x3874e0['getShiftedBy'](_0x6a9e84);return{'start':_0x2c21b2,'end':_0x4aafe4,'hasContentBefore':!_0x2c21b2['isAtStart'],'hasContentAfter':!_0x4aafe4['isAtEnd']};}['_insertMarkers'](_0x44169f,_0x90ccba){const _0x266b36=this['context']['plugins']['get']('AIEditing'),_0x557c75=new Set();_0x90ccba['model']['change'](_0x9f2f55=>{for(const _0x347692 of _0x44169f){const _0x376ec5=''+_0x176750+_0x347692['type']+':'+_0x347692['groupId']+'_'+_0x266b36['_nextDataId'](_0x557c75);this['_markers']['set'](_0x376ec5,{'id':_0x376ec5,'groupId':_0x347692['groupId'],'type':_0x347692['type'],'content':_0x347692['content'],'editor':_0x90ccba}),_0x9f2f55['addMarker'](_0x376ec5,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x9f2f55['createRange'](_0x347692['start'],_0x347692['end'])});}});}['_createGetContextFn'](_0x6fa37d,_0xefe5d6,_0x1ac455){let _0x1943ab='';return()=>{if(!_0x1943ab){const _0x231362=_0xefe5d6['toView'](_0x6fa37d,{'showSuggestionHighlights':!0x0});let _0x3c2211=_0x231362['getChild'](0x0);if(_0x3c2211['is']('containerElement')||(_0x3c2211=_0x231362),!_0x3c2211)return'';let _0xb64d55=!0x1;const _0xbd451c=[];for(const _0x40127a of _0x3c2211['getChildren']())_0x40127a['is']('element','span')&&_0x40127a['hasClass']('ck-ai_review-marker_context-end')&&(_0xb64d55=!0x1),_0xb64d55&&_0xbd451c['push'](_0x40127a),_0x40127a['is']('element','span')&&_0x40127a['hasClass']('ck-ai_review-marker_context-start')&&(_0xb64d55=!0x0);_0x3c2211['_removeChildren'](0x0,_0x3c2211['childCount']),_0x1ac455?.['ellipsisBefore']&&_0x3c2211['_appendChild']('…'),_0x3c2211['_appendChild'](_0xbd451c),_0x1ac455?.['ellipsisAfter']&&_0x3c2211['_appendChild']('…');const _0x9bf0a=_0xefe5d6['htmlProcessor']['domConverter']['viewToDom'](_0x231362),_0x542b1e=_0xefe5d6['htmlProcessor']['htmlWriter']['getHtml'](_0x9bf0a);_0x1943ab=_0x542b1e;}return _0x1943ab;};}['_createGetContentFn'](_0x7378b2,_0x455293){let _0x4a2813='';return()=>(_0x4a2813||(_0x4a2813=_0x455293['stringify'](_0x7378b2,{'showSuggestionHighlights':!0x0})),_0x4a2813);}['_createGetContentUsingDataIdFn'](_0x500f00,_0x5c4457,_0x47675e){let _0x2a9a18='';return()=>{if(!_0x2a9a18){const _0x2003b9=_0x47675e['toView'](new ckeditor5['ModelDocumentFragment'](_0x500f00)),_0x2f415d=_0x47675e['htmlProcessor']['domConverter']['viewToDom'](_0x2003b9)['querySelector']('[data-id=\x22'+_0x5c4457+'\x22]');_0x2a9a18=_0x2f415d?.['outerHTML']||'';}return _0x2a9a18;};}['_findMarkerElement'](_0x1c5b04,_0x32ac06=0x5){let _0x283cbc=_0x1c5b04,_0x505c64=null;for(let _0x2f6244=0x0;_0x2f6244<_0x32ac06&&_0x283cbc;_0x2f6244++){if(!_0x283cbc['className']){_0x283cbc=_0x283cbc['parentElement'];continue;}if(!(''+_0x283cbc['className'])['includes']('ck-ai_review-marker_')){_0x283cbc=_0x283cbc['parentElement'];continue;}if(!_0x283cbc['getAttribute']('data-marker-id'))break;_0x505c64=_0x283cbc;break;}return _0x505c64;}['_findMarkerElementById'](_0x4a19b5){const _0x3c317b=this['_markers']['get'](_0x4a19b5),_0x49deb8=_0x3c317b?.['editor']??getEditorFromContext(this['context']),_0x1661fe=_0x49deb8['model']['markers']['get'](_0x4a19b5);return _0x1661fe?getMarkerDomElement(_0x49deb8['editing'],_0x1661fe):null;}['_getMarkersDataForGroup'](_0x3ebcf3){return Array['from'](this['_markers']['values']())['filter'](_0x513c0b=>_0x513c0b['groupId']===_0x3ebcf3);}['_getOperationStart'](_0x4a0719){return'insert'===_0x4a0719['type']?_0x4a0719['position']:_0x4a0719['newRange']['start'];}['_getOperationEnd'](_0x297cb4,_0x28fc47=!0x1){return'insert'===_0x297cb4['type']?_0x28fc47?_0x297cb4['position']:_0x297cb4['position']['getShiftedBy'](_0x297cb4['howMany']):_0x297cb4['newRange']['end'];}['_shiftOperation'](_0x344389,_0x2d5641){return'insert'===_0x344389['type']?_0x344389['position']=_0x344389['position']['getShiftedBy'](_0x2d5641):'marker'===_0x344389['type']&&_0x344389['newRange']&&(_0x344389['newRange']=new ckeditor5['ModelRange'](_0x344389['newRange']['start']['getShiftedBy'](_0x2d5641),_0x344389['newRange']['end']['getShiftedBy'](_0x2d5641))),_0x344389;}['_changeOperationOwnerDocument'](_0x18c01e,_0x3d8a2b){'insert'===_0x18c01e['type']?_0x18c01e['position']=this['_changePositionOwnerDocument'](_0x18c01e['position'],_0x3d8a2b):'marker'===_0x18c01e['type']&&_0x18c01e['newRange']&&(_0x18c01e['newRange']=this['_changeRangeOwnerDocument'](_0x18c01e['newRange'],_0x3d8a2b));}['_changePositionOwnerDocument'](_0x300344,_0x1ff6c6){return new ckeditor5['ModelPosition'](_0x1ff6c6,_0x300344['path']);}['_changeRangeOwnerDocument'](_0x4c93d7,_0x23e25d){return new ckeditor5['ModelRange'](this['_changePositionOwnerDocument'](_0x4c93d7['start'],_0x23e25d),this['_changePositionOwnerDocument'](_0x4c93d7['end'],_0x23e25d));}['_changePosition'](_0x118255,_0x1514f7){return new ckeditor5['ModelPosition'](_0x1514f7,[..._0x118255]);}['_changeRange'](_0x24ec96,_0x111f32,_0x4cd4cc,_0x3fe558){return new ckeditor5['ModelRange'](this['_changePosition'](_0x111f32,_0x3fe558),this['_changePosition'](_0x4cd4cc,_0x3fe558));}['_sortMarkers'](_0x59c4cf){const _0x3f7619=_0xd6e29c=>{switch(_0xd6e29c){case'insert':return 0x0;case'remove-context':return 0x1;case'remove-only':return 0x2;case'remove-text':return 0x3;}};return _0x59c4cf['sort']((_0x2c0cbe,_0x2cf6a0)=>_0x3f7619(_0x2c0cbe['type'])-_0x3f7619(_0x2cf6a0['type']));}['_hasSameTopLevelElement'](_0x3dd333,_0x5385d4){const _0xb8f4e0=_0x3dd333['getChild'](0x0),_0x3ebfb7=_0x5385d4['getChild'](0x0);return!(!_0xb8f4e0||!_0x3ebfb7)&&((!_0xb8f4e0['is']('element')||!_0x3ebfb7['is']('element')||_0xb8f4e0['name']===_0x3ebfb7['name'])&&!(_0xb8f4e0['is']('element')&&!_0x3ebfb7['is']('element')||!_0xb8f4e0['is']('element')&&_0x3ebfb7['is']('element')));}['_haveSingleTopLevelElement'](_0x5a6693){return 0x1===_0x5a6693['childCount'];}['_haveOnlyInlineContent'](_0x54118a,_0x27141c){for(const _0x448b98 of _0x54118a['getChildren']())if(_0x448b98['is']('element')&&!_0x27141c['isInline'](_0x448b98))return!0x1;return!0x0;}['_upsertDataId'](_0x2b29c6,_0x277e09){let _0x406ecc=_0x2b29c6['getAttribute'](_0x4b93c3);return _0x406ecc||(_0x406ecc=_0x277e09(),_0x2b29c6['_setAttribute'](_0x4b93c3,_0x406ecc)),_0x406ecc;}}class AIReviewCheckResult extends ckeditor5['EmitterMixin'](){['id'];['contentNew'];['contentInitial'];['documentVersion'];constructor({id:_0x123914,contentNew:_0x2d83e0,contentInitial:_0x104ab6,documentVersion:_0x52a38b}){super(),this['id']=_0x123914,this['contentNew']=_0x2d83e0,this['contentInitial']=_0x104ab6,this['documentVersion']=_0x52a38b;}}class AIReviewCheckResultChange extends ckeditor5['ObservableMixin'](){['id'];['parent'];['_data'];['_editorOperations']=[];constructor(_0x49669d,_0x5dc917,_0x26bbe3){super(),this['id']=_0x49669d,this['parent']=_0x26bbe3,this['_data']=_0x5dc917,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 _0x505ead extends ckeditor5['ObservableMixin'](){['id']=ckeditor5['uid']();['callId'];['_results']=new Map();['_changes']=[];['_sourceCheck'];['_documentData'];['_aiConnector'];['_reviewParams'];['_reviewArgs'];['_activeRequest']=null;['_currentError'];['_wasAborted']=!0x1;constructor(_0x516ce8,_0x77022b,_0x2a97ad,_0x50149e,_0x15f63c){super(),this['_sourceCheck']=_0x77022b,this['_documentData']=_0x516ce8,this['_aiConnector']=_0x2a97ad,this['_reviewParams']=_0x50149e,this['_reviewArgs']=_0x15f63c,this['on']('change:status',(_0x1b77cc,_0x4feb98,_0x1d70ff)=>{'aborted'==_0x1d70ff&&(this['_wasAborted']=!0x0),this['fire']('reviewCheckRunUpdated',{'status':_0x1d70ff,'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'](_0xf2c580=>'pending'===_0xf2c580['status']);}get['currentError'](){return this['_currentError'];}['updateDocumentData'](_0x178f66){this['_documentData']=_0x178f66;}async['start'](){this['status']='loading',this['_currentError']=void 0x0;try{this['_activeRequest']=this['_createApiRequest']();const _0x5db3b0=await this['_activeRequest']['getStream']();this['status']='data';for await(const _0x501d9a of _0x5db3b0)'unmodified'!==_0x501d9a['data']['operation']&&('error'!==_0x501d9a['data']['operation']?'review-metadata'!==_0x501d9a['event']?this['_addReviewCheckResult'](_0x501d9a['data']['dataId'],_0x501d9a['data']['textDelta']):this['callId']=_0x501d9a['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(_0xec9269){this['_currentError']=_0xec9269,_0xec9269 instanceof Error&&_0xec9269['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'](_0x88d700,_0xe649fe){const _0x238052=this['_results']['get'](_0x88d700);if(!_0x238052)return;if(0x0===_0xe649fe['length'])return;const _0x3beb81=[];_0xe649fe['forEach']((_0x53e7e8,_0x2b31ab)=>{const _0x529512=new AIReviewCheckResultChange(_0x238052['id']+'-'+_0x2b31ab,_0x53e7e8,_0x238052);_0x529512['on']('change:status',()=>{this['fire']('reviewCheckResultChangeStatusUpdated',{'change':_0x529512,'status':_0x529512['status']});}),_0x529512['on']('change:isActivated',()=>{_0x529512['isActivated']?this['fire']('reviewCheckResultActivated',{'change':_0x529512}):this['fire']('reviewCheckResultDeactivated',{'change':_0x529512});}),this['_changes']['push'](_0x529512),_0x3beb81['push'](_0x529512);}),this['fire']('reviewCheckResultReady',{'changes':_0x3beb81,'result':_0x238052,'source':this});}['abort'](){this['_activeRequest']&&(this['_activeRequest']['abortController']['abort'](),this['_activeRequest']=null,this['status']='aborted');}['isChangeActive'](_0x2ceb46){const _0x3fb82e=this['_changes']['find'](_0x56eee1=>_0x56eee1['id']===_0x2ceb46);return!(!_0x3fb82e||'pending'!==_0x3fb82e['status']);}['isAnyChangeActivated'](){return this['_changes']['some'](_0x1722be=>!0x0===_0x1722be['isActivated']);}['getActiveChanges'](){return this['_changes']['filter'](_0x226e96=>'pending'===_0x226e96['status']);}['getChangeById'](_0x3ce0a0){return this['_changes']['find'](_0x4ee46b=>_0x4ee46b['id']===_0x3ce0a0);}['markAllChangesAsAccepted'](){for(const _0x166c9f of this['_changes'])'pending'===_0x166c9f['status']&&(_0x166c9f['status']='accepted');this['_checkIfFinished']();}['markChangeAsAccepted'](_0x635194){const _0x36d899=this['_changes']['find'](_0x16a693=>_0x16a693['id']===_0x635194);_0x36d899&&'pending'===_0x36d899['status']&&(_0x36d899['status']='accepted'),this['_checkIfFinished']();}['markChangeAsRejected'](_0xbda1b){const _0x525991=this['_changes']['find'](_0x5935ac=>_0x5935ac['id']===_0xbda1b);_0x525991&&'pending'===_0x525991['status']&&(_0x525991['status']='rejected'),this['_checkIfFinished']();}['markChangeAsOutdated'](_0x39168c){const _0x92ac75=this['_changes']['find'](_0x4f5322=>_0x4f5322['id']===_0x39168c);_0x92ac75&&'pending'===_0x92ac75['status']&&(_0x92ac75['status']='outdated'),this['_checkIfFinished']();}['markChangeAsPending'](_0x50429a){const _0x2a1e92=this['_changes']['find'](_0x2833e5=>_0x2833e5['id']===_0x50429a);_0x2a1e92&&'outdated'===_0x2a1e92['status']&&(_0x2a1e92['status']='pending'),this['_checkIfFinished']();}['activateChange'](_0x1fe129){this['_changes']['filter'](_0x657636=>_0x657636['isActivated']&&_0x657636['id']!==_0x1fe129)['forEach'](_0x51bd6e=>{_0x51bd6e['isActivated']=!0x1;});const _0x43fede=this['_changes']['find'](_0x1b0f3c=>_0x1b0f3c['id']===_0x1fe129);_0x43fede&&'pending'===_0x43fede['status']&&(_0x43fede['isActivated']=!0x0);}['deactivateChange'](){this['_changes']['filter'](_0x6a4844=>_0x6a4844['isActivated'])['forEach'](_0x5b19ba=>{_0x5b19ba['isActivated']=!0x1;});}['forceReadyState'](){this['status']='ready';}async['sendRating'](_0x37e03a){if('initialized'===this['status']||'loading'===this['status']||'data'===this['status']||this['_wasAborted'])return;if(!this['callId']||0x0===this['_changes']['length'])return;let _0x210e6d;if(_0x37e03a){const _0x48cfa2=this['_changes']['find'](_0x35c838=>_0x35c838['id']===_0x37e03a);if(_0x48cfa2&&_0x48cfa2['isRated'])return;_0x48cfa2&&(_0x210e6d=_0x48cfa2['parent']['id'],_0x48cfa2['isRated']=!0x0);}const _0x29e0f2={'positiveCount':this['_changes']['filter'](_0x1346ab=>'accepted'===_0x1346ab['status'])['length'],'totalCount':this['_changes']['length']};this['_sendRatingRequest'](_0x29e0f2,this['callId'],_0x210e6d);}['_addReviewCheckResult'](_0x505d5e,_0x3d93fa){const _0x5bda65=this['_documentData']['elements']['get'](_0x505d5e);if(!_0x5bda65)return;const _0x3b6eea=_0x5bda65['getContent']();if(_0x3b6eea===_0x3d93fa)return;const _0x442bfa=new AIReviewCheckResult({'id':_0x505d5e,'contentInitial':_0x3b6eea,'contentNew':_0x3d93fa,'documentVersion':_0x5bda65['documentVersion']});this['_results']['set'](_0x442bfa['id'],_0x442bfa),this['fire']('reviewCheckResultAdded',{'result':_0x442bfa,'source':this,'editor':_0x5bda65['editor']});}['_checkIfFinished'](){'finished'===this['status']&&(this['_changes']['filter'](_0x589311=>'pending'===_0x589311['status'])['length']>0x0&&(this['status']='ready')),'ready'===this['status']&&(0x0===this['_changes']['filter'](_0x53b50d=>'pending'===_0x53b50d['status'])['length']&&(this['status']='finished'));}}class AIReviewSystemCheckRun extends _0x505ead{get['subTitle'](){if(!this['_reviewParams']||0x0===this['_reviewParams']['length'])return'';const _0x36ec07=[];if(this['_reviewParams']['length']>0x0&&this['_sourceCheck']['options'])for(let _0x5b4143=0x0;_0x5b4143<this['_reviewParams']['length'];_0x5b4143++){if(!this['_reviewParams'][_0x5b4143]||!this['_sourceCheck']['options'][_0x5b4143])continue;const _0x136ca4=this['_sourceCheck']['options'][_0x5b4143],_0x2a6abc=_0x136ca4['data']?.['find'](_0xc5d6bb=>_0xc5d6bb['id']===this['_reviewParams'][_0x5b4143]);_0x2a6abc&&_0x36ec07['push'](_0x2a6abc['label']);}return _0x36ec07['join'](',\x20');}get['reviewName'](){return this['_composeReviewName']();}['_createApiRequest'](){return this['_aiConnector']['callSystemReview']({'reviewName':this['_composeReviewName'](),'content':this['_documentData']['content'],'args':this['_reviewArgs']});}['_sendRatingRequest'](_0x1980be,_0x280bc0,_0x2de813){return this['_aiConnector']['upsertAIReviewRating'](this['reviewName'],_0x280bc0,_0x1980be,_0x2de813);}['_composeReviewName'](){return!this['_reviewParams']||0x0===this['_reviewParams']['length']||this['_sourceCheck']['useArgs']?this['_sourceCheck']['apiId']:[this['_sourceCheck']['apiId'],...this['_reviewParams']]['join']('-');}}class AIReviewCoreController extends ckeditor5['ContextPlugin']{['_aiConnector'];['_aiReviewCoreUi'];['_aiReviewCoreEditing'];['_aiReviewCheckList'];['_currentReviewCheckRun'];['_changeActivationSource']=null;static get['requires'](){return[AIConnector];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['_initRequiredPlugins'](),this['_aiReviewCheckList']=await this['_getChecksList'](),this['listenTo'](this['_aiReviewCoreUi'],'getReviewCheckList',()=>{this['_aiReviewCoreUi']['setAvailableChecks'](this['_aiReviewCheckList']['checks']);}),this['listenTo'](this['_aiReviewCoreUi'],'runReviewCheck',async(_0x53efaf,_0x18d9a5)=>{const _0x5d1288=this['_aiReviewCheckList']['getCheckById'](_0x18d9a5['id']);if(_0x5d1288){this['_onReviewCheckRun'](_0x18d9a5),this['_aiReviewCoreEditing']['switchToReadOnly'](),this['_currentReviewCheckRun']=this['_createReviewCheckRun'](_0x18d9a5,_0x5d1288),this['_aiReviewCoreUi']['setCheckResultTitle'](this['_currentReviewCheckRun']['title'],this['_currentReviewCheckRun']['subTitle']),this['_currentReviewCheckRun']['on']('reviewCheckRunUpdated',(_0x3baefa,_0x533039)=>{switch(_0x533039['status']){case'data':case'loading':this['_aiReviewCoreUi']['showCheckRunResults'](_0x533039);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 ckeditor5['CKEditorError']('ai-review-mode-check-run-general-error',this,void 0x0,this['_currentReviewCheckRun']?.['currentError']));break;case'error-chunk':this['_aiReviewCoreUi']['showChunkErrorView'](),this['_logError'](new ckeditor5['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'!==_0x533039['status']&&'error-chunk'!==_0x533039['status']&&'error-general'!==_0x533039['status']||this['_currentReviewCheckRun']?.['sendRating']();}),this['_currentReviewCheckRun']['on']('reviewCheckResultAdded',(_0x192f5b,_0x52cd5a)=>{if(!this['_currentReviewCheckRun'])throw new ckeditor5['CKEditorError']('ai-review-mode-no-current-check-run',this);const _0x4550a7=this['_diffContent'](_0x52cd5a['editor'],_0x52cd5a['result']['contentInitial'],_0x52cd5a['result']['contentNew']);_0x52cd5a['source']['addResultChanges'](_0x52cd5a['result']['id'],_0x4550a7);}),this['_currentReviewCheckRun']['on']('reviewCheckResultReady',(_0xbb5225,_0x4aed43)=>{for(const _0x314800 of _0x4aed43['changes'])this['_aiReviewCoreUi']['showCheckRunResult'](_0x314800);this['_markChangePositionInEditorContent'](_0x4aed43['changes'],_0x4aed43['source']['documentData']);}),this['_currentReviewCheckRun']['on']('reviewCheckResultChangeStatusUpdated',(_0x1abec5,_0x2115f8)=>{this['_aiReviewCoreUi']['updateChangeState'](_0x2115f8['change']['id'],_0x2115f8['status']);}),this['_currentReviewCheckRun']['on']('reviewCheckResultActivated',(_0x342674,_0x3efd2e)=>{this['_onReviewCheckResultActivated'](_0x3efd2e);}),this['_currentReviewCheckRun']['on']('reviewCheckResultDeactivated',()=>{this['_onReviewCheckResultDeactivated']();});try{await this['_currentReviewCheckRun']['start']();}catch(_0x4854c6){_0x4854c6 instanceof Error&&_0x4854c6['message']['includes']('ai-request-aborted')||(_0x4854c6 instanceof ckeditor5['CKEditorError']?this['_logError'](_0x4854c6):this['_logError'](new ckeditor5['CKEditorError']('ai-review-mode-check-run-failed',this,void 0x0,_0x4854c6)));}}else this['_logError'](new ckeditor5['CKEditorError']('ai-review-mode-source-check-not-found',this,{'checkId':_0x18d9a5['id']}));}),this['listenTo'](this['_aiReviewCoreUi'],'leaveReview',()=>{this['_onReviewRunLeave']();}),this['listenTo'](this['_aiReviewCoreUi'],'leaveReviewCoreResultList',()=>{this['_onReviewRunLeave'](!0x0);}),this['listenTo'](this['_aiReviewCoreUi'],'abortReviewStream',()=>{this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['abort']();}),this['listenTo'](this['_aiReviewCoreUi'],'finishReview',()=>{this['_onReviewRunLeave'](!0x0);}),this['listenTo'](this['_aiReviewCoreUi'],'acceptAllChanges',()=>{if(!this['_currentReviewCheckRun'])return;const _0x3193fe=this['_currentReviewCheckRun']['getActiveChanges']();if(!_0x3193fe['length'])return;this['_aiReviewCoreEditing']['applyChange'](_0x3193fe['map'](_0x59dccd=>_0x59dccd['id']));const _0x574dbd=this['_currentReviewCheckRun'];_0x574dbd['markAllChangesAsAccepted'](),_0x574dbd['sendRating']();}),this['listenTo'](this['_aiReviewCoreUi'],'acceptChange',(_0x27151f,_0x1ee94c)=>{this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['isChangeActive'](_0x1ee94c['id'])&&(this['_aiReviewCoreEditing']['applyChange']([_0x1ee94c['id']]),this['_currentReviewCheckRun']['markChangeAsAccepted'](_0x1ee94c['id']),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_currentReviewCheckRun']['sendRating'](_0x1ee94c['id']));}),this['listenTo'](this['_aiReviewCoreUi'],'dismissChange',(_0x23742f,_0x30460d)=>{this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['isChangeActive'](_0x30460d['id'])&&(this['_aiReviewCoreEditing']['rejectChange'](_0x30460d['id']),this['_currentReviewCheckRun']['markChangeAsRejected'](_0x30460d['id']),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_currentReviewCheckRun']['sendRating'](_0x30460d['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',(_0x503011,_0x1dc2d2)=>{this['_onActivateChange'](_0x1dc2d2);}),this['listenTo'](this['_aiReviewCoreUi'],'deactivateChange',(_0x5b6722,_0x54b95a)=>{this['_onDeactivateChange'](_0x54b95a);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerClicked',(_0x1a69e4,_0x34bdf1)=>{this['_onChangeMarkerClicked'](_0x1a69e4,_0x34bdf1);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerHovered',(_0x2fd10a,_0xeb0699)=>{this['_onChangeMarkerHovered'](_0x2fd10a,_0xeb0699);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerBlurred',()=>{this['_onChangeMarkerBlurred']();}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerRemoved',(_0x1b1430,_0x2716e6)=>{this['_onChangeMarkerRemoved'](_0x1b1430,_0x2716e6);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerRestored',(_0x579aa0,_0x590236)=>{this['_onChangeMarkerRestored'](_0x579aa0,_0x590236);});}['_createReviewCheckRun'](_0x4c53cc,_0x8fca33){return new AIReviewSystemCheckRun(this['_aiReviewCoreEditing']['getDocumentData'](),_0x8fca33,this['_aiConnector'],_0x4c53cc['params'],_0x4c53cc['args']);}['_onChangeMarkerRemoved'](_0x568032,_0x4013fe){this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['markChangeAsOutdated'](_0x4013fe['changeId']);}['_onChangeMarkerRestored'](_0x274ed5,_0x220fe3){this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['markChangeAsPending'](_0x220fe3['changeId']);}['_onCheckRunFinished'](){this['_aiReviewCoreUi']['showReviewCompletedView']();}['_initRequiredPlugins'](){this['_aiConnector']=this['context']['plugins']['get']('AIConnector');}['_onReviewRunLeave'](_0x497cc5=!0x1){this['_currentReviewCheckRun']&&(this['_currentReviewCheckRun']['hasModifications']||this['_currentReviewCheckRun']['sendRating'](),this['_currentReviewCheckRun']['stopListening'](),this['_currentReviewCheckRun']['abort'](),this['_currentReviewCheckRun']=void 0x0),_0x497cc5&&this['_aiReviewCoreUi']['showReviewCheckList'](),this['_aiReviewCoreEditing']['clearAllMarkers'](),this['_aiReviewCoreEditing']['switchToEdit'](),this['_changeActivationSource']=null;for(const _0x5e4b96 of this['_aiReviewCoreEditing']['getEditors']())_0x5e4b96['editing']['view']['change'](_0x47afbc=>{for(const _0x4e5089 of _0x5e4b96['editing']['view']['document']['getRoots']())_0x47afbc['removeClass']('ck-ai_review-diff',_0x4e5089),_0x47afbc['removeClass']('ck-ai_review-highlights',_0x4e5089),_0x47afbc['removeClass']('ck-ai-translate-mode-content',_0x4e5089);});}['_getTranslationWithDefault'](_0x525829,_0x55818c){const _0x134aa9=getTranslation$i(this['context']['locale'],_0x525829);return _0x134aa9===_0x525829?_0x55818c:_0x134aa9;}['_logError'](_0x2081c3,_0x4fdd83=!0x1){ckeditor5['logError'](_0x2081c3['message']),_0x4fdd83||(_0x2081c3['message']['startsWith']('ai-review-mode-models-unable-to-retrieve')?this['_aiReviewCoreUi']['showGeneralReviewCoreErrorView']():this['_aiReviewCoreUi']['showGeneralResultsErrorView']());}['_scrollToChange'](_0x38ed22){if('content'===this['_changeActivationSource']){const _0xeab6ce=this['_aiReviewCoreUi']['getChangeElement'](_0x38ed22);_0xeab6ce&&ckeditor5['scrollAncestorsToShowTarget'](_0xeab6ce['closest']('.ck-ai_review__check-run-result')||_0xeab6ce);}else{if('panel'===this['_changeActivationSource']){const _0xd88252=this['_getChangeContentElement'](_0x38ed22);if(!_0xd88252)return;const _0xd5ceea={'target':_0xd88252,'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};ckeditor5['scrollViewportToShowTarget'](_0xd5ceea);}}}}const _0x3c664e=[{'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 _0x2a85dc{['id'];['commandId'];['title'];['description'];['isParameterized'];['useArgs'];['options'];['args'];get['apiId'](){return this['commandId'];}constructor(_0x32d0b7){this['id']=_0x32d0b7['id'],this['commandId']=_0x32d0b7['commandId'],this['title']=_0x32d0b7['title'],this['description']=_0x32d0b7['description'],this['isParameterized']=_0x32d0b7['isParameterized'],this['useArgs']=_0x32d0b7['useArgs'],this['options']=_0x32d0b7['options'],this['args']=_0x32d0b7['args'];}}class AIReviewCheckList extends ckeditor5['ObservableMixin'](){['_checks']=[];['setupChecks'](_0x1bbc5b){this['_checks']=_0x1bbc5b['map'](_0x1ebbd5=>new _0x2a85dc(_0x1ebbd5));}get['checks'](){return this['_checks'];}['getCheckById'](_0x406fab){return this['checks']['find'](_0x1bbd80=>_0x1bbd80['id']===_0x406fab);}['removeCheckById'](_0x91ae9d){this['_checks']=this['_checks']['filter'](_0x5f1651=>_0x5f1651['id']!==_0x91ae9d);}}class AIReviewCheckCustom extends _0x2a85dc{['_models']=[];['_defaultModel']=null;constructor(_0x3fb384,_0x3e6232,_0x5b69a4){super(_0x3fb384),this['_models']=_0x3e6232,this['_defaultModel']=_0x5b69a4;}get['models'](){return this['_models'];}get['defaultModel'](){return this['_defaultModel'];}}class AIReviewCheckExtra extends _0x2a85dc{['isExtra']=!0x0;['prompt'];['model'];['_defaultModel']=null;constructor(_0x160028,_0x32eb6a,_0x31bad5){super(_0x160028),this['prompt']=_0x160028['prompt'],this['model']=_0x160028['model'],this['model']?this['_defaultModel']=_0x32eb6a['find'](_0x5b8be8=>_0x5b8be8['id']===this['model'])||null:this['_defaultModel']=_0x31bad5;}get['defaultModel'](){return this['_defaultModel'];}}class AIReviewModeCheckList extends AIReviewCheckList{['_allModels']=[];['_recommendedModels']=[];['_defaultModel']=null;constructor(_0x1b7a93,_0xf9a237,_0x205d77){super(),this['_allModels']=_0x1b7a93,this['_recommendedModels']=_0xf9a237,this['_defaultModel']=_0x205d77;}['setupChecks'](_0x128f41){this['_checks']=_0x128f41['map'](_0x5be5d6=>!0x0===_0x5be5d6['isExtra']?new AIReviewCheckExtra(_0x5be5d6,this['_allModels'],this['_defaultModel']):'custom'===_0x5be5d6['id']?new AIReviewCheckCustom(_0x5be5d6,this['_recommendedModels'],this['_defaultModel']):new _0x2a85dc(_0x5be5d6));}}class AIReviewCustomCheckRun extends _0x505ead{['_prompt'];['_model'];constructor(_0x310bd9,_0x1b0bb9,_0x4c53ae,_0x580b45,_0x58aadb){super(_0x4c53ae,_0x580b45,_0x58aadb),this['_prompt']=_0x310bd9,this['_model']=_0x1b0bb9;}get['subTitle'](){return this['_prompt'];}['_createApiRequest'](){return this['_aiConnector']['callCustomReview']({'content':this['_documentData']['content'],'prompt':this['_prompt'],'model':this['_model']});}['_sendRatingRequest'](_0x391984,_0x3004ae,_0x31c190){return this['_aiConnector']['upsertCustomAIReviewRating'](_0x3004ae,_0x391984,_0x31c190);}}class AIReviewExtraCheckRun extends AIReviewCustomCheckRun{get['subTitle'](){return'';}set['prompt'](_0x51d47f){this['_prompt']=_0x51d47f;}set['model'](_0x405a61){this['_model']=_0x405a61;}}class AIReviewModeController extends AIReviewCoreController{static get['pluginName'](){return'AIReviewModeController';}['_isDiffOn']=!0x1;['_hasDefaultAvailableCommands']=!0x1;constructor(_0x331abe){super(_0x331abe),this['_hasDefaultAvailableCommands']=!this['context']['config']['get']('ai.review.availableCommands'),this['context']['config']['define']('ai.review.availableCommands',_0x3c664e['map'](_0x4701c2=>_0x4701c2['id'])),this['context']['config']['define']('ai.review.extraCommands',[]);}async['init'](){await super['init'](),this['listenTo'](this['_aiReviewCoreUi'],'toggleDiff',(_0x35853a,_0x3d0807)=>{this['_isDiffOn']=_0x3d0807['on'],this['_onDiffChange'](this['_isDiffOn']);});}['_initRequiredPlugins'](){super['_initRequiredPlugins'](),this['_aiReviewCoreUi']=this['context']['plugins']['get']('AIReviewModeUI'),this['_aiReviewCoreEditing']=this['context']['plugins']['get']('AIReviewCoreEditing');}['_createReviewCheckRun'](_0x49a86e,_0x3188c4){return _0x49a86e['isCustom']?new AIReviewCustomCheckRun(_0x49a86e['args']['prompt'],_0x49a86e['args']['model'],this['_aiReviewCoreEditing']['getDocumentData'](),_0x3188c4,this['_aiConnector']):_0x3188c4['isExtra']?new AIReviewExtraCheckRun(_0x3188c4['prompt'],_0x3188c4['defaultModel']['id'],this['_aiReviewCoreEditing']['getDocumentData'](),_0x3188c4,this['_aiConnector']):new AIReviewSystemCheckRun(this['_aiReviewCoreEditing']['getDocumentData'](),_0x3188c4,this['_aiConnector'],_0x49a86e['params'],_0x49a86e['args']);}['_onReviewCheckResultActivated'](_0xf864fd){this['_aiReviewCoreUi']['setActiveStateInResults'](_0xf864fd['change']['id']),this['_scrollToChange'](_0xf864fd['change']['id']);const _0x1691b9=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0xf864fd['change']['id']);if(!_0x1691b9)return;const _0x1f29fd=this['_aiReviewCoreEditing']['getEditorForChange'](_0xf864fd['change']['id'])??this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0xf864fd['change'],()=>_0x1691b9['getElement'](),void 0x0,'click',this['_getBalloonDomRoot'](_0x1f29fd,_0x1691b9['modelRange']['root']['rootName']),_0x1f29fd?.['ui']?.['viewportOffset']),this['_aiReviewCoreEditing']['setMarkersInElementAsActive'](_0xf864fd['change']['id']);}['_onReviewCheckResultDeactivated'](){this['_aiReviewCoreUi']['resetActiveStateInResults'](),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_aiReviewCoreEditing']['setAllMarkersAsInactive']();}['_onActivateChange'](_0x7cbc69){this['_currentReviewCheckRun']&&'click'===_0x7cbc69['uiInteraction']&&(this['_changeActivationSource']='panel',this['_currentReviewCheckRun']['activateChange'](_0x7cbc69['id']));}['_onDeactivateChange'](_0x4b4db5){this['_currentReviewCheckRun']&&'balloon'===_0x4b4db5['origin']&&this['_currentReviewCheckRun']['deactivateChange']();}['_onChangeMarkerClicked'](_0x385a0e,_0x148f60){if(!this['_currentReviewCheckRun'])return;this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x148f60['changeId']);const _0x86290d=this['_currentReviewCheckRun']['getChangeById'](_0x148f60['changeId']);if(!_0x86290d)return;const _0x2642f6=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0x148f60['changeId']),_0x53471e=this['_aiReviewCoreEditing']['getEditorForChange'](_0x148f60['changeId'])??this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x86290d,_0x148f60['markerElement'],_0x148f60['domEvent'],'click',this['_getBalloonDomRoot'](_0x53471e,_0x2642f6?.['modelRange']['root']['rootName']),_0x53471e?.['ui']?.['viewportOffset']);}['_onChangeMarkerHovered'](_0x2a5501,_0x334668){if(!this['_currentReviewCheckRun'])return;if(this['_currentReviewCheckRun']['isAnyChangeActivated']())return;const _0xfd732b=this['_currentReviewCheckRun']['getChangeById'](_0x334668['changeId']);if(!_0xfd732b)return;const _0x335382=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0x334668['changeId']),_0x1eaecc=this['_aiReviewCoreEditing']['getEditorForChange'](_0x334668['changeId'])??this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0xfd732b,_0x334668['markerElement'],_0x334668['domEvent'],'hover',this['_getBalloonDomRoot'](_0x1eaecc,_0x335382?.['modelRange']['root']['rootName']),_0x1eaecc?.['ui']?.['viewportOffset']);}['_onChangeMarkerBlurred'](){if(!this['_currentReviewCheckRun'])return;this['_currentReviewCheckRun']['isAnyChangeActivated']()||this['_aiReviewCoreUi']['hideChangeBalloon']();}['_getChangeContentElement'](_0x4f7e38){const _0x567aa0=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0x4f7e38);return _0x567aa0?_0x567aa0['getElement']():null;}['_markChangePositionInEditorContent'](_0xcbbecf,_0x2b9dc6){this['_aiReviewCoreEditing']['markChangePositionInEditorContent'](_0xcbbecf,_0x2b9dc6);}['_diffContent'](_0xd381a7,_0x1010d1,_0x14cc85){return this['_aiReviewCoreEditing']['diffContent'](_0xd381a7,_0x1010d1,_0x14cc85,!0x1);}['_onReviewCheckRun'](){this['_onDiffChange'](this['_isDiffOn']);}['_onDiffChange'](_0x3040aa){_0x3040aa?this['_aiReviewCoreUi']['hideDiffInBalloon']():this['_aiReviewCoreUi']['showDiffInBalloon']();for(const _0xf057b9 of this['_aiReviewCoreEditing']['getEditors']())_0xf057b9['editing']['view']['change'](_0x404b49=>{for(const _0x46929a of _0xf057b9['editing']['view']['document']['getRoots']()){for(const _0x2c44c4 of _0x46929a['getClassNames']())_0x2c44c4['startsWith']('ck-ai_review-')&&_0x404b49['removeClass'](_0x2c44c4,_0x46929a);_0x404b49['addClass'](_0x3040aa?'ck-ai_review-diff':'ck-ai_review-highlights',_0x46929a);}});}['_getBalloonDomRoot'](_0x1629fc,_0x5f5c5f){const _0x4bbac8=_0x1629fc['editing']['view'];if(_0x5f5c5f){const _0x3cf5f2=_0x4bbac8['getDomRoot'](_0x5f5c5f);if(_0x3cf5f2)return _0x3cf5f2;}return _0x4bbac8['getDomRoot']()??void 0x0;}async['_getChecksList'](){const _0x194950=[..._0x3c664e,...this['_getExtraChecks']()],_0x37e70e=this['context']['config']['get']('ai.review.availableCommands')||[];this['_logErrorForNonExistentChecks'](_0x37e70e,_0x194950);let _0x297eba=_0x194950;this['_hasDefaultAvailableCommands']||(_0x297eba=_0x37e70e['map'](_0x2c2302=>_0x194950['find'](_0x330328=>_0x330328['id']===_0x2c2302))['filter'](_0x4fce4b=>!!_0x4fce4b)),_0x297eba=_0x297eba['map'](_0x55ed00=>_0x55ed00['isExtra']?_0x55ed00:this['_translateReviewCheck'](_0x55ed00));const _0x105016=_0x297eba['some'](_0x4487f0=>_0x4487f0['isExtra']||'custom'===_0x4487f0['id']);let _0x260553=[],_0x5d61c3=[],_0xab1bc8=null;if(_0x105016){const _0x14b7f2=await this['_getModels']();_0x260553=_0x14b7f2['all'],_0x5d61c3=_0x14b7f2['recommended'],_0xab1bc8=_0x14b7f2['default'];}const _0x33fc8f=new AIReviewModeCheckList(_0x260553,_0x5d61c3,_0xab1bc8);return _0x33fc8f['setupChecks'](_0x297eba),_0x105016&&this['_filterChecksWithMissingModel'](_0x33fc8f),_0x33fc8f;}['_getExtraChecks'](){return(this['context']['config']['get']('ai.review.extraCommands')||[])['map'](_0xc417fc=>({'id':_0xc417fc['id'],'commandId':_0xc417fc['id'],'title':_0xc417fc['label'],'description':_0xc417fc['description'],'isParameterized':!0x1,'isExtra':!0x0,'prompt':_0xc417fc['prompt'],'model':_0xc417fc['model']}));}['_logErrorForNonExistentChecks'](_0x156d61,_0x3acc68){const _0x3e4c54=_0x156d61['filter'](_0x580632=>!_0x3acc68['some'](_0x17c7d8=>_0x17c7d8['id']===_0x580632));_0x3e4c54['length']&&this['_logError'](new ckeditor5['CKEditorError']('ai-review-mode-non-existent-commands-used',this,{'commandIds':_0x3e4c54['join'](',\x20')}),!0x0);}async['_getModels'](){try{const _0x487fad=new _0x29fb11({'connector':this['_aiConnector'],'config':this['context']['config']['get']('ai.models'),'locale':this['context']['locale']});return{'all':await _0x487fad['getAll'](),'recommended':await _0x487fad['getAvailableModels'](),'default':await _0x487fad['getDefault']()};}catch(_0x18d449){return this['_logError'](new ckeditor5['CKEditorError']('ai-review-mode-models-unable-to-retrieve',this,void 0x0,_0x18d449)),{'all':[],'recommended':[],'default':null};}}['_translateReviewCheck'](_0xc1afc9){const _0x192e31='AI_REVIEW_CHECK_'+_0xc1afc9['id']['toUpperCase']()['replaceAll']('-','_'),_0x28b1e2={..._0xc1afc9,'title':this['_getTranslationWithDefault'](_0x192e31+'_TITLE',_0xc1afc9['title']),'description':this['_getTranslationWithDefault'](_0x192e31+'_DESCRIPTION',_0xc1afc9['description'])};return _0xc1afc9['options']&&(_0x28b1e2['options']=_0xc1afc9['options']['map'](_0x56708c=>({..._0x56708c,'label':this['_getTranslationWithDefault'](_0x192e31+'_OPTIONS_LABEL',_0x56708c['label']||''),'data':_0x56708c['data']?_0x56708c['data']['map'](_0xf16098=>({..._0xf16098,'label':this['_getTranslationWithDefault'](_0x192e31+'_OPTIONS_DATA_'+_0xf16098['id']['toUpperCase'](),_0xf16098['label'])})):void 0x0}))),_0x28b1e2;}['_filterChecksWithMissingModel'](_0x3e9067){const _0x99ba08=[];_0x3e9067['checks']['forEach'](_0x4b8f0f=>{(_0x4b8f0f instanceof AIReviewCheckExtra&&!_0x4b8f0f['defaultModel']||_0x4b8f0f instanceof AIReviewCheckCustom&&!_0x4b8f0f['models']['length'])&&_0x99ba08['push'](_0x4b8f0f['id']);}),_0x99ba08['length']&&_0x99ba08['forEach'](_0x3bccc4=>{_0x3e9067['removeCheckById'](_0x3bccc4),this['_logError'](new ckeditor5['CKEditorError']('ai-review-mode-command-unavailable-due-to-missing-model',this,{'commandId':_0x3bccc4}),!0x0);});}}class _0x1db250 extends ckeditor5['ContextPlugin']{static get['requires'](){return[AIReviewModeController,_0x431c5a,AIReviewCoreEditing];}static get['pluginName'](){return'AIReviewMode';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class AITranslateCheck extends _0x2a85dc{get['apiId'](){return'translate';}}class AITranslateCheckList extends AIReviewCheckList{['setupChecks'](_0x1e4ac7){this['_checks']=_0x1e4ac7['map'](_0x1d2916=>new AITranslateCheck(_0x1d2916));}}class AITranslateCheckRun extends AIReviewSystemCheckRun{['_title'];constructor(_0x623157,_0x47e3bf,_0x105843,_0xb9b429,_0x682b8f,_0x1bf10d){super(_0x623157,_0x47e3bf,_0x105843,_0x682b8f,_0x1bf10d),this['_title']=_0xb9b429;}get['title'](){return this['_title'];}get['subTitle'](){return this['_sourceCheck']['title'];}}class AITranslateController extends AIReviewCoreController{static get['pluginName'](){return'AITranslateController';}constructor(_0x398bc1){super(_0x398bc1),this['context']['config']['define']('ai.translate.languages',[{'label':'English','id':'english'},{'label':'Spanish','id':'spanish'},{'label':'French','id':'french'},{'label':'German','id':'german'},{'label':'Chinese\x20(Simplified)','id':'chinese'},{'label':'Japanese','id':'japanese'},{'label':'Russian','id':'russian'},{'label':'Portuguese','id':'portuguese'},{'label':'Korean','id':'korean'},{'label':'Italian','id':'italian'}]);}['_onCheckRunFinished'](){this['_onReviewRunLeave'](!0x0);}['_initRequiredPlugins'](){super['_initRequiredPlugins'](),this['_aiReviewCoreUi']=this['context']['plugins']['get']('AITranslateUI'),this['_aiReviewCoreEditing']=this['context']['plugins']['get']('AIReviewCoreEditing');}['_createReviewCheckRun'](_0x44393f,_0x19c413){return new AITranslateCheckRun(this['_aiReviewCoreEditing']['getDocumentData'](),_0x19c413,this['_aiConnector'],getTranslation$i(this['context']['locale'],'AI_REVIEW_CHECK_TRANSLATE_TITLE'),_0x44393f['params'],_0x44393f['args']);}['_onReviewCheckResultActivated'](_0x4054bc){this['_aiReviewCoreUi']['setActiveStateInResults'](_0x4054bc['change']['id']),this['_aiReviewCoreEditing']['setMarkersInElementAsActive'](_0x4054bc['change']['id']);}['_onReviewCheckResultDeactivated'](){this['_aiReviewCoreEditing']['setAllMarkersAsInactive'](),this['_aiReviewCoreUi']['resetActiveStateInResults']();}['_onActivateChange'](_0x407100){this['_currentReviewCheckRun']&&('hover'===_0x407100['uiInteraction']&&(this['_changeActivationSource']='panel',this['_currentReviewCheckRun']['activateChange'](_0x407100['id'])),'click'===_0x407100['uiInteraction']&&this['_scrollToChange'](_0x407100['id']));}['_onDeactivateChange'](_0x1612f3){this['_currentReviewCheckRun']&&'panel'===_0x1612f3['origin']&&this['_currentReviewCheckRun']['deactivateChange']();}['_onChangeMarkerClicked'](_0x189ad7,_0x41804c){this['_currentReviewCheckRun']&&(this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x41804c['changeId']),this['_scrollToChange'](_0x41804c['changeId']));}['_onChangeMarkerHovered'](_0x49bbb2,_0x49cb9d){this['_currentReviewCheckRun']&&(this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x49cb9d['changeId']),this['_aiReviewCoreEditing']['reactivateMarkers'](_0x49cb9d['changeId']));}['_onChangeMarkerBlurred'](){this['_currentReviewCheckRun']&&'content'===this['_changeActivationSource']&&(this['_currentReviewCheckRun']['deactivateChange'](),this['_aiReviewCoreEditing']['setAllMarkersAsInactive']());}['_getChangeContentElement'](_0x297745){return this['_aiReviewCoreEditing']['getContentElementForChange'](_0x297745);}['_markChangePositionInEditorContent'](_0xbe0429,_0x50cfd2){this['_aiReviewCoreEditing']['markChangePositionInEditorContent'](_0xbe0429,_0x50cfd2);}['_diffContent'](_0x5ec103,_0x574364,_0xf830bb){return this['_aiReviewCoreEditing']['diffContent'](_0x5ec103,_0x574364,_0xf830bb,!0x0);}['_onReviewCheckRun'](){for(const _0x47052f of this['_aiReviewCoreEditing']['getEditors']())_0x47052f['editing']['view']['change'](_0x226655=>{for(const _0x12fc24 of _0x47052f['editing']['view']['document']['getRoots']())_0x226655['addClass']('ck-ai-translate-mode-content',_0x12fc24);});}async['_getChecksList'](){const _0x4c0739=[],_0x16b6e3=this['context']['config']['get']('ai.translate.languages')||[];for(const _0xaa47c6 of _0x16b6e3)_0x4c0739['push']({'title':_0xaa47c6['label'],'id':_0xaa47c6['id'],'commandId':_0xaa47c6['id'],'description':'','isParameterized':!0x1,'useArgs':!0x0,'args':{'language':_0xaa47c6['id']}});const _0x3785e7=new AITranslateCheckList();return _0x3785e7['setupChecks'](this['_translateChecks'](_0x4c0739)),_0x3785e7;}['_translateChecks'](_0x206f23){return _0x206f23['map'](_0x51b764=>{const _0x445859='AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_'+_0x51b764['title']['toUpperCase']()['replaceAll']('-','_');return{..._0x51b764,'title':this['_getTranslationWithDefault'](_0x445859,_0x51b764['title'])};});}}class AITranslateCheckResultsView extends AIReviewCoreUICheckResultsView{constructor(_0x4d88cc,_0x3814c){super(_0x4d88cc,_0x3814c),this['on']('set:isLoading',(_0x4e3a65,_0xaa845f,_0x44ebca)=>{_0x44ebca&&(this['headerTitle']=getTranslation$i(this['locale'],'AI_TRANSLATE_CHECK_RESULTS_LOADING_TITLE'));}),this['on']('set:isResultReady',(_0x2a36d6,_0x136889,_0x348909)=>{_0x348909&&(this['headerTitle']=getTranslation$i(this['locale'],'AI_TRANSLATE_CHECK_RESULTS_READY_TITLE'));});}['_createAcceptAllButtonView'](){const _0x1dff29=super['_createAcceptAllButtonView']();return _0x1dff29['set']('label',getTranslation$i(this['locale'],'AI_TRANSLATE_ACCEPT_ALL')),_0x1dff29;}['_createExitReviewButtonView'](){const _0x3cb2b5=super['_createExitReviewButtonView']();return _0x3cb2b5['set']('label',getTranslation$i(this['locale'],'AI_CHAT_HISTORY_CANCEL')),_0x3cb2b5;}}class AITranslateCheckListView extends AIReviewCoreReviewCheckListView{['_setupTemplate'](){const _0x3238a1=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-translate__check-list-wrapper',_0x3238a1['if']('isVisible','ck-hidden',_0x38db30=>!_0x38db30)]},'children':[{'tag':'div','attributes':{'class':['ck-ai-translate__check-list-header']},'children':[{'tag':'h2','children':[{'text':getTranslation$i(this['locale'],'AI_TRANSLATE_CHECK_LIST_HEADER_TITLE')}]},{'tag':'p','children':[{'text':getTranslation$i(this['locale'],'AI_TRANSLATE_CHECK_LIST_HEADER_DESCRIPTION')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list',_0x3238a1['if']('isVisible','ck-hidden',_0x483f12=>!_0x483f12)]},'children':this['_checkViews']}]});}}class AITranslateUI extends _0x2004e3{static get['pluginName'](){return'AITranslateUI';}['createMainView'](){const _0x51933a=this['context']['plugins']['get']('AITabs'),_0x437f96=this['context']['locale'],_0x542272=new _0x49a204(_0x437f96,{'label':getTranslation$i(_0x437f96,'AI_REVIEW_CHECK_TRANSLATE_TITLE'),'icon':ckeditor5['IconAITranslate'],'class':'ck-ai-header_review-translate','showResizeButton':_0x51933a['showResizeButton']});_0x542272['delegate']('resizeTabs')['to'](_0x51933a),_0x542272['bind']('isMaximized')['to'](_0x51933a['view'],'isMaximized',_0x4f961f=>_0x4f961f);const _0x46cf0e=new _0x9114c9(_0x437f96,{'header':_0x542272,'list':new AITranslateCheckListView(_0x437f96),'results':new AITranslateCheckResultsView(_0x437f96,{'generalErrorText':getTranslation$i(_0x437f96,'AI_TRANSLATE_GENERAL_ERROR_MESSAGE')}),'completed':new AIReviewCoreReviewCompletedView(_0x437f96,{'headerText':getTranslation$i(_0x437f96,'AI_TRANSLATE_FINISH_HEADER_TITLE'),'emptyResultsText':getTranslation$i(_0x437f96,'AI_TRANSLATE_EMPTY_RESULTS_TEXT'),'buttonText':getTranslation$i(_0x437f96,'AI_TRANSLATE_FINISH_BUTTON_LABEL')})});return _0x46cf0e['extendTemplate']({'attributes':{'class':'ck-ai-translate-mode'}}),_0x46cf0e;}['registerTab'](){const _0x30e336=this['context']['plugins']['get']('AITabs');_0x30e336['view']['on']('activateTab',(_0x5532ef,{newTab:_0xabc5b0,oldTab:_0x2bf730})=>{'translate'===_0xabc5b0?this['fire']('getReviewCheckList'):'translate'===_0x2bf730&&this['fire']('leaveReview');}),_0x30e336['view']['addTab']({'id':'translate','buttonLabel':getTranslation$i(this['context']['locale'],'AI_REVIEW_CHECK_TRANSLATE_TITLE'),'buttonIcon':ckeditor5['IconAITranslate'],'order':0x0,'content':this['_mainView']});}}class AITranslate extends ckeditor5['ContextPlugin']{static get['requires'](){return[AITranslateController,AITranslateUI,AIReviewCoreEditing];}static get['pluginName'](){return'AITranslate';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class _0xa8213c extends ckeditor5['Command']{['_transformCallback'];constructor(_0x23d08a,_0x304bac){super(_0x23d08a),this['_transformCallback']=_0x304bac;}['execute'](){const _0x4df3e8=this['editor']['model'],_0x21f07a=Array['from'](this['_getAffectedRanges']()),_0x5264ce=Array['from'](_0x4df3e8['document']['selection']['getRanges']());_0x4df3e8['change'](_0x53a2a5=>{for(const _0x2e63b0 of _0x21f07a)this['_modifyContent'](_0x2e63b0,_0x53a2a5);_0x53a2a5['setSelection'](_0x5264ce);});}['refresh'](){for(const _0xc4c056 of this['_getAffectedRanges']())for(const _0xe1457a of _0xc4c056)if(_0xe1457a['item']['is']('$textProxy'))return void(this['isEnabled']=!0x0);this['isEnabled']=!0x1;}['_getAffectedRanges'](){const _0x22a09d=this['editor']['model'],_0x190fa6=_0x22a09d['document']['selection'];if(_0x190fa6['isCollapsed']){const _0x3cbd94=this['_findAncestorTextBlock'](_0x190fa6['getFirstPosition']()['parent']);return _0x3cbd94?[_0x22a09d['createRangeIn'](_0x3cbd94)]:[];}return _0x190fa6['getRanges']();}['_modifyContent'](_0x1d7bc0,_0x533dfe){for(const _0xc5b85e of this['_getElementsAllowingText'](_0x1d7bc0)){const _0x2fd708=this['_getElementTextContent'](_0xc5b85e),_0x46d605=this['_transformCallback'](_0x2fd708);for(const _0x15b3e3 of this['_getTextNodesRangeLimited'](_0xc5b85e,_0x1d7bc0))this['_replaceTextNodeData'](_0x15b3e3,_0x46d605,_0x533dfe);}}['_findAncestorTextBlock'](_0x302082){const _0x36e2fd=this['editor']['model']['schema'];if(_0x302082['is']('element')&&_0x36e2fd['checkChild'](_0x302082,'$text'))return _0x302082;const _0x19e773=_0x302082['parent'];return!_0x19e773||_0x36e2fd['isLimit'](_0x302082)?null:this['_findAncestorTextBlock'](_0x19e773);}*['_getElementsAllowingText'](_0x23be24){const _0xb91e9e=new Set();for(const {item:_0x394d12}of _0x23be24['getWalker']()){const _0x56bc5a=this['_findAncestorTextBlock'](_0x394d12);_0x56bc5a&&!_0xb91e9e['has'](_0x56bc5a)&&(_0xb91e9e['add'](_0x56bc5a),yield _0x56bc5a);}}['_getElementTextContent'](_0x3ea487){return Array['from'](_0x3ea487['getChildren']())['reduce']((_0x2acd0a,_0x4df74f)=>_0x2acd0a+(_0x4df74f['is']('$text')?_0x4df74f['data']:'\x20'),'');}*['_getTextNodesRangeLimited'](_0x391dac,_0x3867a7){const _0xa0c978=_0x3867a7['getIntersection'](this['editor']['model']['createRangeIn'](_0x391dac));if(_0xa0c978){for(const _0x304cf2 of _0xa0c978['getItems']())_0x304cf2['is']('$textProxy')&&_0x304cf2['parent']==_0x391dac&&(yield _0x304cf2);}}['_replaceTextNodeData'](_0x417a2b,_0x32cc52,_0x33feed){const _0x65fdea=_0x32cc52['substring'](_0x417a2b['startOffset'],_0x417a2b['endOffset']);if(_0x65fdea===_0x417a2b['data'])return;const _0x221573=_0x417a2b['getAttributes']();this['editor']['model']['insertContent'](_0x33feed['createText'](_0x65fdea,_0x221573),_0x33feed['createSelection'](_0x33feed['createRangeOn'](_0x417a2b)));}}function getTranslation$g(_0x2b1b5b,_0x5160cb,..._0x58df06){const t=_0x2b1b5b['t'];switch(_0x5160cb){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',..._0x58df06);default:return _0x5160cb;}}class CaseChangeEditing extends ckeditor5['Plugin']{['_currentCommandIndex']=0x0;static get['pluginName'](){return'CaseChangeEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x41fbad=this['editor'],_0x2db031=_0x41fbad['locale']['contentLanguage'],_0x4963d5=_0x44d662(_0x41fbad['config']['get']('caseChange.titleCase.excludeWords')),_0x500097={'changeCaseUpper':new _0xa8213c(_0x41fbad,_0xf6f166=>_0xf6f166['toLocaleUpperCase'](_0x2db031)),'changeCaseLower':new _0xa8213c(_0x41fbad,_0x31ce32=>_0x31ce32['toLocaleLowerCase'](_0x2db031)),'changeCaseTitle':new _0xa8213c(_0x41fbad,_0x1409f3=>capitalizeText(_0x1409f3,_0x4963d5,_0x2db031))};for(const [_0x3bcc13,_0x3ca9b2]of Object['entries'](_0x500097))_0x41fbad['commands']['add'](_0x3bcc13,_0x3ca9b2),_0x3ca9b2['on']('execute',()=>{this['_announceCaseChangeOperation'](_0x3bcc13);});this['listenTo'](_0x41fbad['editing']['view']['document'],'selectionChange',()=>{this['_currentCommandIndex']=0x0;}),_0x41fbad['keystrokes']['set']('shift+f3',(_0x4f9637,_0x15a02a)=>{const _0x546cd9=_getOptions(this['editor']['locale']),_0x23d6f8=_0x546cd9[this['_currentCommandIndex']%_0x546cd9['length']]['commandName'];_0x41fbad['execute'](_0x23d6f8),this['_currentCommandIndex']++,_0x15a02a();});}['afterInit'](){_0x97052(this);}['_announceCaseChangeOperation'](_0x120c64){const {ui:_0x543ed4,locale:_0x4947e1}=this['editor'],_0x35d30d=_getOptions(_0x4947e1)['find'](_0x836237=>_0x836237['commandName']===_0x120c64)['label']['toLowerCase']();_0x543ed4['ariaLiveAnnouncer']['announce'](getTranslation$g(_0x4947e1,'Changed\x20case\x20to\x20%0',_0x35d30d));}}function _getOptions(_0x48b46f){return[{'label':getTranslation$g(_0x48b46f,'UPPERCASE'),'commandName':'changeCaseUpper'},{'label':getTranslation$g(_0x48b46f,'lowercase'),'commandName':'changeCaseLower'},{'label':getTranslation$g(_0x48b46f,'Title\x20Case'),'commandName':'changeCaseTitle'}];}function capitalizeText(_0x1fd568,_0x56566e,_0xfdeec1){return _0x433c20(_0x1fd568,(_0x35b0e0,_0x2327c4,_0x22e56e)=>{const _0xe717b0=_0x35b0e0['toLocaleLowerCase'](_0xfdeec1);return _0x56566e(_0xe717b0,{'charOffset':_0x2327c4,'wordIndex':_0x22e56e,'blockText':_0x1fd568})?_0xe717b0:_0xe717b0['replace'](/(?:^|[^\p{L}\d'])\p{L}/gu,_0x4dafe9=>_0x4dafe9['toLocaleUpperCase'](_0xfdeec1));});}function _0x433c20(_0x509f91,_0x203041){let _0x1d04ff='',_0x1a7f71=0x0,_0x3b16b0=0x0;for(const _0x36b558 of _0x509f91['matchAll'](/ +/g)){const _0x37297f=_0x36b558['index'],_0x5bc10d=_0x509f91['substring'](_0x1a7f71,_0x37297f);_0x5bc10d['length']&&(_0x1d04ff+=_0x203041(_0x5bc10d,_0x1a7f71,_0x3b16b0++)),_0x1d04ff+=_0x36b558[0x0],_0x1a7f71=_0x37297f+_0x36b558[0x0]['length'];}const _0x492a27=_0x509f91['substring'](_0x1a7f71);return _0x492a27['length']&&(_0x1d04ff+=_0x203041(_0x492a27,_0x1a7f71,_0x3b16b0)),_0x1d04ff;}function _0x44d662(_0x305ad2=[]){return'function'==typeof _0x305ad2?_0x305ad2:(_0xfd4acc,{wordIndex:_0x934b08})=>_0x934b08>0x0&&_0x305ad2['includes'](_0xfd4acc);}async function _0x97052(_0x3bd7bb){const _0x1fc379=_0x3a5efd([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]),_0x4b8a11=window[_0x3a5efd([0x44,0x61,0x74,0x65])][_0x3a5efd([0x6e,0x6f,0x77])](),_0x14b7eb=_0x3bd7bb[_0x3a5efd([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x62cf16=new window[(_0x3a5efd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47c34f=>{_0x14b7eb[_0x3a5efd([0x6f,0x6e,0x63,0x65])](_0x3a5efd([0x72,0x65,0x61,0x64,0x79]),_0x47c34f);}),_0x33373c={[_0x3a5efd([0x6b,0x74,0x79])]:_0x3a5efd([0x45,0x43]),[_0x3a5efd([0x75,0x73,0x65])]:_0x3a5efd([0x73,0x69,0x67]),[_0x3a5efd([0x63,0x72,0x76])]:_0x3a5efd([0x50,0x2d,0x32,0x35,0x36]),[_0x3a5efd([0x78])]:_0x3a5efd([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]),[_0x3a5efd([0x79])]:_0x3a5efd([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]),[_0x3a5efd([0x61,0x6c,0x67])]:_0x3a5efd([0x45,0x53,0x32,0x35,0x36])},_0x3c07a1=_0x14b7eb[_0x3a5efd([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3a5efd([0x67,0x65,0x74])](_0x3a5efd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x395ff9=await(async function(){let _0x350398,_0x3042bc=null,_0x223639=null;try{if(_0x3c07a1==_0x3a5efd([0x47,0x50,0x4c]))return _0x3a5efd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x350398=(function(){const _0x5d1925=_0x3c07a1[_0x3a5efd([0x73,0x70,0x6c,0x69,0x74])](_0x3a5efd([0x2e]));if(0x3!=_0x5d1925[_0x3a5efd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x43d5f8=_0x5d1925[0x1];return _0x2e6ba1(_0x43d5f8);function _0x2e6ba1(_0x414f1e){const _0x87afbf=_0x553304(_0x414f1e);return _0x87afbf&&_0x4ca907()?_0x87afbf:null;function _0x4ca907(){const _0x1d1ab7=_0x87afbf[_0x3a5efd([0x6a,0x74,0x69])],_0x85001c=window[_0x3a5efd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d1ab7[_0x3a5efd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1d1ab7[_0x3a5efd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1acb0e={..._0x87afbf,[_0x3a5efd([0x6a,0x74,0x69])]:_0x1d1ab7[_0x3a5efd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1d1ab7[_0x3a5efd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1acb0e[_0x3a5efd([0x76,0x63])],_0x589e78(_0x1acb0e)==_0x85001c;}}}()),!_0x350398)return _0x3a5efd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x350398[_0x3a5efd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x223639=function(_0x3241f0,_0x1d8f46){return new window[(_0x3a5efd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d41cd=>{if(_0x29ed55())return _0x5d41cd(_0x3a5efd([0x56,0x61,0x6c,0x69,0x64]));_0x2cddbd(),_0x14b7eb[_0x3a5efd([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3a5efd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x12ac1a=!0x1;const _0x498526=ckeditor5['uid']();function _0x49d7a6(_0x1803dc){return!!_0x1803dc&&(typeof _0x1803dc===_0x3a5efd([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1803dc===_0x3a5efd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1803dc[_0x3a5efd([0x74,0x68,0x65,0x6e])]===_0x3a5efd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1803dc[_0x3a5efd([0x63,0x61,0x74,0x63,0x68])]===_0x3a5efd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x140550(_0x33b690){_0x27b3e4(_0x33b690)[_0x3a5efd([0x74,0x68,0x65,0x6e])](_0x576745=>{if(!_0x576745||_0x576745[_0x3a5efd([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3a5efd([0x6f,0x6b]))return _0x3a5efd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xeabd8e(_0x589e78(_0x498526+_0x1d8f46))!=_0x576745[_0x3a5efd([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3a5efd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3a5efd([0x56,0x61,0x6c,0x69,0x64]);})[_0x3a5efd([0x74,0x68,0x65,0x6e])](_0x11e19f=>(_0x17715d(),_0x11e19f),()=>{const _0x41df95=_0x1004ff();return null==_0x41df95?(_0x17715d(),_0x3a5efd([0x56,0x61,0x6c,0x69,0x64])):_0x3a5efd(_0x4b8a11-_0x41df95>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3a5efd([0x74,0x68,0x65,0x6e])](_0x5d41cd)[_0x3a5efd([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5d41cd(_0x3a5efd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4bd806=0x36ee80;function _0x17715d(){const _0x53b5b4=_0x3a5efd([0x6c,0x6c,0x63,0x74,0x2d])+_0xeabd8e(_0x589e78(_0x3241f0)),_0x1d6462=_0x5bd3ee(_0xeabd8e(window[_0x3a5efd([0x4d,0x61,0x74,0x68])][_0x3a5efd([0x63,0x65,0x69,0x6c])](_0x4b8a11/_0x4bd806)));window[_0x3a5efd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a5efd([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x53b5b4,_0x1d6462);}function _0x1004ff(){const _0x14d31a=_0x3a5efd([0x6c,0x6c,0x63,0x74,0x2d])+_0xeabd8e(_0x589e78(_0x3241f0)),_0xf7bfe5=window[_0x3a5efd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a5efd([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x14d31a);return _0xf7bfe5?window[_0x3a5efd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5bd3ee(_0xf7bfe5),0x10)*_0x4bd806:null;}function _0x27b3e4(_0x27601d){return new window[(_0x3a5efd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4f502d,_0x3be6ef)=>{_0x27601d[_0x3a5efd([0x74,0x68,0x65,0x6e])](_0x4f502d,_0x3be6ef),window[_0x3a5efd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3be6ef,0x1d4c0);});}}_0x14b7eb[_0x3a5efd([0x6f,0x6e])](_0x3a5efd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2ae8a4,_0x30bfee)=>{if(_0x30bfee[0x0]!=_0x3241f0)return _0x5d41cd(_0x3a5efd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x30bfee[0x1]={..._0x30bfee[0x1],[_0x3a5efd([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x498526};},{[_0x3a5efd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a5efd([0x68,0x69,0x67,0x68])}),_0x14b7eb[_0x3a5efd([0x6f,0x6e])](_0x3a5efd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x26fc7d=>{_0x49d7a6(_0x26fc7d[_0x3a5efd([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x12ac1a=!0x0,_0x140550(_0x26fc7d[_0x3a5efd([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3a5efd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a5efd([0x6c,0x6f,0x77])}),_0x62cf16[_0x3a5efd([0x74,0x68,0x65,0x6e])](()=>{_0x12ac1a||_0x5d41cd(_0x3a5efd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x29ed55(){return _0x14b7eb[_0x3a5efd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a5efd([0x76,0x69,0x65,0x77])][_0x3a5efd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3a5efd([0x61,0x75,0x74,0x6f]);}function _0x2cddbd(){_0x14b7eb[_0x3a5efd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a5efd([0x76,0x69,0x65,0x77])][_0x3a5efd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3a5efd([0x61,0x75,0x74,0x6f]);}}(_0x350398[_0x3a5efd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x350398[_0x3a5efd([0x6a,0x74,0x69])]));const _0x659c80=await(async function(){let _0x5cc4cc=!0x0;try{const _0x178366=_0x3c07a1[_0x3a5efd([0x73,0x70,0x6c,0x69,0x74])](_0x3a5efd([0x2e])),[_0x48d2cb,_0x2ccac9,_0x570b45]=_0x178366;return _0x5ca0f3(_0x48d2cb),await _0x3c3ac3(_0x48d2cb,_0x2ccac9,_0x570b45),_0x5cc4cc;}catch{return!0x1;}function _0x5ca0f3(_0x410470){const _0x4b0dac=_0x553304(_0x410470);_0x4b0dac&&_0x4b0dac[_0x3a5efd([0x61,0x6c,0x67])]==_0x3a5efd([0x45,0x53,0x32,0x35,0x36])||(_0x5cc4cc=!0x1);}async function _0x3c3ac3(_0x2c56b3,_0x8992c3,_0x1f63b2){const _0x2bf7eb=window[_0x3a5efd([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3a5efd([0x66,0x72,0x6f,0x6d])](_0x3411b9(_0x1f63b2),_0x37014c=>_0x37014c[_0x3a5efd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x26dd81=new window[(_0x3a5efd([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3a5efd([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2c56b3+_0x3a5efd([0x2e])+_0x8992c3),_0x72a6d4=window[_0x3a5efd([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3a5efd([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x72a6d4)return;const _0x26333f=await _0x72a6d4[_0x3a5efd([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3a5efd([0x6a,0x77,0x6b]),_0x33373c,{[_0x3a5efd([0x6e,0x61,0x6d,0x65])]:_0x3a5efd([0x45,0x43,0x44,0x53,0x41]),[_0x3a5efd([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3a5efd([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3a5efd([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x72a6d4[_0x3a5efd([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3a5efd([0x6e,0x61,0x6d,0x65])]:_0x3a5efd([0x45,0x43,0x44,0x53,0x41]),[_0x3a5efd([0x68,0x61,0x73,0x68])]:{[_0x3a5efd([0x6e,0x61,0x6d,0x65])]:_0x3a5efd([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x26333f,_0x2bf7eb,_0x26dd81)||(_0x5cc4cc=!0x1);}}());return _0x659c80?(function(){const _0x42cb73=_0x350398[_0x3a5efd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x42cb73)return!0x1;if(_0x42cb73[_0x3a5efd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a5efd([0x2a])))return!0x0;if(_0x42cb73[_0x3a5efd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a5efd([0x43,0x43])))return!0x0;if(_0x42cb73[_0x3a5efd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a5efd([0x50,0x50])))return!0x0;return!0x1;}())?(function(){const _0x2f2cd0=[_0x3a5efd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3a5efd([0x74,0x72,0x69,0x61,0x6c])][_0x3a5efd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x350398[_0x3a5efd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4b8a11/0x3e8:0x6a03bf00;return _0x350398[_0x3a5efd([0x65,0x78,0x70])]<_0x2f2cd0;}())?_0x3a5efd([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x327e9c=_0x350398[_0x3a5efd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x327e9c||0x0==_0x327e9c[_0x3a5efd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x85e4f6}=new URL(window[_0x3a5efd([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x327e9c[_0x3a5efd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x85e4f6))return!0x0;const _0x1a7870=_0x85e4f6[_0x3a5efd([0x73,0x70,0x6c,0x69,0x74])](_0x3a5efd([0x2e]));return _0x327e9c[_0x3a5efd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4b4b41=>_0x4b4b41[_0x3a5efd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a5efd([0x2a])))[_0x3a5efd([0x6d,0x61,0x70])](_0x28e4f9=>_0x28e4f9[_0x3a5efd([0x73,0x70,0x6c,0x69,0x74])](_0x3a5efd([0x2e])))[_0x3a5efd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5c154c=>_0x5c154c[_0x3a5efd([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1a7870[_0x3a5efd([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3a5efd([0x6d,0x61,0x70])](_0x45ec57=>Array(_0x1a7870[_0x3a5efd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x45ec57[_0x3a5efd([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3a5efd([0x66,0x69,0x6c,0x6c])](_0x45ec57[0x0]===_0x3a5efd([0x2a])?_0x3a5efd([0x2a]):'')[_0x3a5efd([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x45ec57))[_0x3a5efd([0x73,0x6f,0x6d,0x65])](_0x355060=>_0x1a7870[_0x3a5efd([0x65,0x76,0x65,0x72,0x79])]((_0x14ee97,_0x21f503)=>_0x355060[_0x21f503]===_0x14ee97||_0x355060[_0x21f503]===_0x3a5efd([0x2a])));}())?(_0x350398[_0x3a5efd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3a5efd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3042bc=function(_0x3f765e){const _0x4a8da6=new window[(_0x3a5efd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x46bd87=>setTimeout(_0x46bd87,0x93ecc)),_0xaca878=_0x62cf16[_0x3a5efd([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3a5efd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4639eb=>{let _0x5bee2e=0x0;_0x14b7eb[_0x3a5efd([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a5efd([0x6f,0x6e])](_0x3a5efd([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x54d076,_0x5c9c55)=>{_0x5c9c55[0x0][_0x3a5efd([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5bee2e++,0x5e8==_0x5bee2e&&(_0x4639eb(),_0x54d076[_0x3a5efd([0x6f,0x66,0x66])]());});})),_0x5710c3=[_0x4a8da6,_0xaca878];return window[_0x3a5efd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3a5efd([0x72,0x61,0x63,0x65])](_0x5710c3)[_0x3a5efd([0x74,0x68,0x65,0x6e])](()=>_0x3f765e);}(_0x3a5efd([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x3042bc&&_0x223639)return new window[(_0x3a5efd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xf4f2e6,_0x4e5f39)=>{_0x3042bc[_0x3a5efd([0x74,0x68,0x65,0x6e])](_0xf4f2e6,_0x4e5f39),_0x223639[_0x3a5efd([0x74,0x68,0x65,0x6e])](_0x16ce83=>{_0x16ce83!=_0x3a5efd([0x56,0x61,0x6c,0x69,0x64])&&_0xf4f2e6(_0x16ce83);},_0x4e5f39);});return _0x3042bc||_0x223639||_0x3a5efd([0x56,0x61,0x6c,0x69,0x64]);}())):_0x3a5efd([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3a5efd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3a5efd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3a5efd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x553304(_0x120c96){return _0x120c96[_0x3a5efd([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3a5efd([0x65,0x79]))?JSON[_0x3a5efd([0x70,0x61,0x72,0x73,0x65])](_0x3411b9(_0x120c96)):null;}function _0x3411b9(_0x50c111){return window[_0x3a5efd([0x61,0x74,0x6f,0x62])](_0x50c111[_0x3a5efd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3a5efd([0x2b]))[_0x3a5efd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3a5efd([0x2f])));}function _0x589e78(_0x249c2b){let _0x15c638=0x1505;function _0x2d1a7f(_0x3b3ea5){for(let _0x178a3f=0x0;_0x178a3f<_0x3b3ea5[_0x3a5efd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x178a3f++){const _0x1a122f=_0x3b3ea5[_0x3a5efd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x178a3f);_0x15c638=(_0x15c638<<0x5)+_0x15c638+_0x1a122f,_0x15c638&=_0x15c638;}}return function _0x5d16ea(_0x53f271){Array[_0x3a5efd([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x53f271)?_0x53f271[_0x3a5efd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5d16ea):_0x53f271&&typeof _0x53f271==_0x3a5efd([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3a5efd([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x53f271)[_0x3a5efd([0x73,0x6f,0x72,0x74])]()[_0x3a5efd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5ac13b,_0x129a99])=>{_0x2d1a7f(_0x5ac13b),_0x5d16ea(_0x129a99);}):_0x2d1a7f(window[_0x3a5efd([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x53f271));}(_0x249c2b),_0x15c638>>>0x0;}function _0xeabd8e(_0x3c2654){return _0x3c2654[_0x3a5efd([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3a5efd([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3a5efd([0x30]));}function _0x5bd3ee(_0x21e911){return _0x21e911[_0x3a5efd([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3a5efd([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3a5efd([0x6a,0x6f,0x69,0x6e])]('');}function _0x48000c(){}function _0x3a5efd(_0x3d7484){return _0x3d7484['map'](_0x436e72=>String['fromCharCode'](_0x436e72))['join']('');}!function(_0x5531f9){const _0x544def=(function(){const _0x3d4a6e=window[_0x3a5efd([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3a5efd([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3a5efd([0x6e,0x6f,0x77])]())[_0x3a5efd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3a5efd([0x2e]),'');let _0x4fd4f6=_0x3a5efd([0x45]);for(let _0x3dedab=0x0;_0x3dedab<_0x3d4a6e[_0x3a5efd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3dedab+=0x2){let _0x58fbe9=window[_0x3a5efd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d4a6e[_0x3a5efd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3dedab,_0x3dedab+0x2));_0x58fbe9>=_0x1fc379[_0x3a5efd([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x58fbe9-=_0x1fc379[_0x3a5efd([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4fd4f6+=_0x1fc379[_0x58fbe9];}return _0x4fd4f6;}());_0x14b7eb[_0x544def]=_0x3a5efd([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5531f9,_0x5531f9!=_0x3a5efd([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x62cf16,_0x14b7eb[_0x3a5efd([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a5efd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x48000c,_0x14b7eb[_0x3a5efd([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a5efd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x48000c,_0x14b7eb[_0x3a5efd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3a5efd([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x395ff9);}class _0x342919 extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'CaseChangeUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x50f905=this['editor'];this['_registerComponents'](),_0x50f905['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':getTranslation$g(_0x50f905['locale'],'Change\x20text\x20case'),'keystroke':'Shift+f3','mayRequireFn':!0x0}]}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xd5ad56=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x221aad;for(const _0xa66a35 in _0xd5ad56){const _0x3d83af=_0xa66a35,_0x296582=_0xd5ad56[_0x3d83af];if('caseChangeLicenseKeyValid'==_0x296582||'caseChangeLicenseKeyInvalid'==_0x296582||'caseChangeLicenseKeyExpired'==_0x296582||'caseChangeLicenseKeyDomainLimit'==_0x296582||'caseChangeLicenseKeyNotAllowed'==_0x296582||'caseChangeLicenseKeyEvaluationLimit'==_0x296582||'caseChangeLicenseKeyUsageLimit'==_0x296582){delete _0xd5ad56[_0x3d83af],_0x221aad=_0x296582,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'caseChangeLicenseKeyInvalid'==_0x221aad&&_0xd5ad56['_showLicenseError']('invalid'),'caseChangeLicenseKeyExpired'==_0x221aad&&_0xd5ad56['_showLicenseError']('expired'),'caseChangeLicenseKeyDomainLimit'==_0x221aad&&_0xd5ad56['_showLicenseError']('domainLimit'),'caseChangeLicenseKeyNotAllowed'==_0x221aad&&_0xd5ad56['_showLicenseError']('featureNotAllowed','CaseChange'),'caseChangeLicenseKeyEvaluationLimit'==_0x221aad&&_0xd5ad56['_showLicenseError']('evaluationLimit'),'caseChangeLicenseKeyUsageLimit'==_0x221aad&&_0xd5ad56['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_registerComponents'](){const _0x5d6238=this['editor'],{itemDefinitions:_0x937139,commands:_0x2b71ab}=this['_getListItemDefinitionsAndCommands']();_0x5d6238['ui']['componentFactory']['add']('caseChange',()=>this['_createDropdownView'](_0x937139,_0x2b71ab)),_0x5d6238['ui']['componentFactory']['add']('menuBar:caseChange',()=>this['_createMenuBarMenuView'](_0x937139,_0x2b71ab));}['_createMenuBarMenuView'](_0x583b9b,_0x309ab4){const _0x3cffbd=this['editor'],_0x54fb5d=_0x3cffbd['locale'],_0x2fbd59=new ckeditor5['MenuBarMenuView'](_0x54fb5d),_0xfba043=new ckeditor5['MenuBarMenuListView'](_0x54fb5d);_0xfba043['set']({'ariaLabel':getTranslation$g(_0x54fb5d,'Case\x20change'),'role':'menu'}),this['_setButtonProperties'](_0x2fbd59['buttonView']),_0x2fbd59['bind']('isEnabled')['toMany'](_0x309ab4,'isEnabled',(..._0xdb11c2)=>_0xdb11c2['some'](_0x3d814a=>_0x3d814a));for(const _0x4ca82b of _0x583b9b){const _0x3ab361=new ckeditor5['MenuBarMenuListItemView'](_0x54fb5d,_0x2fbd59),_0xb1ca6d=new ckeditor5['MenuBarMenuListItemButtonView'](_0x54fb5d);_0xb1ca6d['delegate']('execute')['to'](_0x2fbd59),_0xb1ca6d['bind'](...Object['keys'](_0x4ca82b['model']))['to'](_0x4ca82b['model']),_0xb1ca6d['on']('execute',()=>{_0x3cffbd['execute'](_0x4ca82b['model']['commandName']),_0x3cffbd['editing']['view']['focus']();}),_0x3ab361['children']['add'](_0xb1ca6d),_0xfba043['items']['add'](_0x3ab361);}return _0x2fbd59['panelView']['children']['add'](_0xfba043),_0x2fbd59;}['_createDropdownView'](_0x17ea02,_0x590e1b){const _0xa4d697=this['editor'],_0x37de7e=ckeditor5['createDropdown'](_0xa4d697['locale']);return this['_setButtonProperties'](_0x37de7e['buttonView']),_0x37de7e['buttonView']['set']({'tooltip':!0x0}),_0x37de7e['extendTemplate']({'attributes':{'class':['ck-case-change-dropdown']}}),ckeditor5['addListToDropdown'](_0x37de7e,_0x17ea02,{'ariaLabel':getTranslation$g(_0xa4d697['locale'],'Case\x20change'),'role':'menu'}),_0x37de7e['bind']('isEnabled')['toMany'](_0x590e1b,'isEnabled',(..._0xf5faae)=>_0xf5faae['some'](_0xb1affd=>_0xb1affd)),this['listenTo'](_0x37de7e,'execute',_0xe60c4b=>{_0xa4d697['execute'](_0xe60c4b['source']['commandName']),_0xa4d697['editing']['view']['focus']();}),_0x37de7e;}['_setButtonProperties'](_0x252e92){const _0x211453=this['editor'];_0x252e92['set']({'label':getTranslation$g(_0x211453['locale'],'Case\x20change'),'icon':ckeditor5['IconCaseChange'],'keystroke':'Shift+F3'});}['_getListItemDefinitionsAndCommands'](){const _0x5d2899=new ckeditor5['Collection'](),_0x257eb9=[];for(const _0x5eb7ad of _getOptions(this['editor']['locale'])){const _0x30a6d4=this['editor']['commands']['get'](_0x5eb7ad['commandName']),_0x11bba7=new ckeditor5['UIModel']({'commandName':_0x5eb7ad['commandName'],'label':_0x5eb7ad['label'],'role':'menuitemradio','withText':!0x0});_0x11bba7['bind']('isEnabled')['to'](_0x30a6d4,'isEnabled'),_0x5d2899['add']({'type':'button','model':_0x11bba7}),_0x257eb9['push'](_0x30a6d4);}return{'itemDefinitions':_0x5d2899,'commands':_0x257eb9};}}class _0x3ad733 extends ckeditor5['Plugin']{static get['requires'](){return[CaseChangeEditing,_0x342919];}static get['pluginName'](){return'CaseChange';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class CommentThreadController extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['model'];['view'];constructor(_0x259448,_0x32b1bd){super(),this['model']=_0x259448,this['model']['_isAttached']=!0x0,this['view']=_0x32b1bd,this['listenTo'](_0x32b1bd,'submitCommentThread',()=>this['submit']()),this['listenTo'](_0x32b1bd,'removeCommentThread',()=>this['remove']()),this['listenTo'](_0x32b1bd,'resolveCommentThread',()=>this['resolve']()),this['listenTo'](_0x32b1bd,'reopenCommentThread',()=>this['reopen']()),this['listenTo'](_0x32b1bd,'addComment',(_0x2f15cb,_0xde88e4)=>this['addComment'](_0xde88e4)),this['listenTo'](_0x32b1bd,'updateComment',(_0x1b546e,_0x47fafc,_0x16b3a7)=>this['updateComment'](_0x47fafc,_0x16b3a7)),this['listenTo'](_0x32b1bd,'removeComment',(_0x1d94b5,_0x27260b)=>this['removeComment'](_0x27260b));}['submit'](){this['model']['submit']();}['remove'](){this['model']['remove']();}['resolve'](){this['model']['isResolved']||this['model']['resolve']();}['reopen'](){this['model']['isResolved']&&this['model']['reopen']();}['addComment'](_0x5eec13){this['model']['addComment']({'content':_0x5eec13,'authorId':this['view']['_localUser']['id']});}['updateComment'](_0xdc6f4d,_0x252025){this['model']['getComment'](_0xdc6f4d)['update']({'content':_0x252025});}['removeComment'](_0x1b4ef7){this['model']['getComment'](_0x1b4ef7)['remove']();}['destroy'](){this['stopListening'](),this['model']['_isAttached']=!0x1;}}function getTranslation$f(_0x24b134,_0x2330e4,_0xca75c7){const t=_0x24b134['t'];switch(_0x2330e4){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'},_0xca75c7);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'},_0xca75c7);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'},_0xca75c7);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'},_0xca75c7);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0xca75c7);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'},_0xca75c7);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'},_0xca75c7);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'},_0xca75c7);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 ckeditor5['EditorUIView']{['main'];['editable'];constructor(_0x4c7b68,_0x22dea9){super(_0x4c7b68);const _0x2b1a67=ckeditor5['uid']();this['main']=this['createCollection'](),this['editable']=new ckeditor5['InlineEditableUIView'](_0x4c7b68,_0x22dea9,void 0x0,{'label':()=>getTranslation$f(_0x4c7b68,'Comment\x20editor')}),this['setTemplate']({'tag':'div','attributes':{'class':['ck-reset','ck-editor','ck-rounded-corners','ck-comment__input'],'dir':_0x4c7b68['uiLanguageDirection'],'lang':_0x4c7b68['uiLanguage'],'aria-labelledby':'cke-editor__aria-label_'+_0x2b1a67},'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 ckeditor5['EditorUI']{['view'];constructor(_0x181f98){super(_0x181f98),this['view']=new CommentEditorUIView(_0x181f98['locale'],_0x181f98['editing']['view']);}get['element'](){return this['view']['element'];}['init'](){const _0x4eaede=this['editor']['editing']['view'],_0xed170c=this['view']['editable'],_0xf14e13=_0x4eaede['document']['getRoot']();_0xed170c['name']=_0xf14e13['rootName'],this['view']['render']();const _0x5c8428=_0xed170c['element'];this['setEditableElement'](_0xed170c['name'],_0x5c8428),this['view']['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x4eaede['attachDomRoot'](_0x5c8428),this['fire']('ready');}['destroy'](){super['destroy'](),this['view']['destroy']();}}const defaultPlugins=[ckeditor5['Clipboard'],ckeditor5['Enter'],ckeditor5['ShiftEnter'],ckeditor5['SelectAll'],ckeditor5['Typing'],ckeditor5['Undo'],ckeditor5['Paragraph']];class CommentEditor extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](ckeditor5['Editor']){static ['defaultPlugins']=/* #__PURE__ -- @preserve */
((()=>defaultPlugins)());constructor(_0x8602b8={}){function _0x20f355(_0x1284d7){return _0x1284d7['map'](_0x38bfe4=>String['fromCharCode'](_0x38bfe4))['join']('');}(_0x8602b8=Object['assign']({},_0x8602b8))['plugins']||(_0x8602b8['plugins']=CommentEditor['defaultPlugins']),super(_0x8602b8),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[_0x20f355([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x20f355([0x76,0x69,0x65,0x77])][_0x20f355([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x20f355([0x61,0x75,0x74,0x6f]),this[_0x20f355([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x20f355([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x20f355([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x20f355([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x20f355([0x6f,0x6b])});}['create'](){const _0x45f380=this['config']['get']('initialData')||'';return this['initPlugins']()['then'](()=>this['ui']['init']())['then'](()=>this['data']['init'](_0x45f380))['then'](()=>this['fire']('ready'));}['destroy'](){return super['destroy']()['then'](()=>this['ui']['destroy']());}['focus'](){this['model']['change'](_0x4098d9=>{const _0x4bd7fc=this['model']['document']['getRoot'](),_0x264d63=_0x4bd7fc&&_0x4bd7fc['getChild'](_0x4bd7fc['childCount']-0x1);_0x4098d9['setSelection'](_0x264d63,'end'),this['editing']['view']['focus']();});}['_updatePlaceholder'](){const _0x508379=this['editing']['view'],_0x1b6df6=_0x508379['document']['getRoot'](),_0x1f5faf=_0x1b6df6['getChild'](0x0);_0x1b6df6['childCount']>0x1||!_0x1f5faf||'p'!=_0x1f5faf['name']?this['placeholderElement']&&this['placeholderElement']['placeholder']&&(ckeditor5['disableViewPlaceholder'](_0x508379,this['placeholderElement']),this['placeholderElement']=void 0x0):(this['placeholder']&&(_0x1f5faf['placeholder']=this['placeholder']),ckeditor5['enableViewPlaceholder']({'view':_0x508379,'element':_0x1f5faf,'keepOnFocus':!0x0}),this['placeholderElement']=_0x1f5faf);}}class CommentInputView extends ckeditor5['View']{['keystrokes'];['focusTracker'];['focusables'];['focusCycler'];['submitButtonView'];['cancelButtonView'];['_editorConfig'];constructor(_0xb42652,_0x41d4b9={}){super(_0xb42652),this['editor']=null,this['_editorConfig']=_0x41d4b9,this['set']('value',_0x41d4b9['initialData']||''),this['set']('disabledSubmit',!0x1),this['set']('showButtons',!0x0),this['set']('placeholder',getTranslation$f(_0xb42652,'Reply...')),this['set']('submitLabel',getTranslation$f(_0xb42652,'Reply')),this['submitButtonView']=this['_createSubmitButton'](),this['cancelButtonView']=this['_createCancelButton'](),this['focusables']=this['createCollection']([this['submitButtonView'],this['cancelButtonView']]),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['focusTracker']=new ckeditor5['FocusTracker'](),this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x23dbdd=>!_0x23dbdd['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',(_0x558311,_0x30a5f6)=>{this['cancelButtonView']['fire']('execute'),_0x30a5f6();}),this['keystrokes']['set']('Ctrl+Enter',(_0x3cd92e,_0x350aae)=>{this['submitButtonView']['isEnabled']&&(this['submitButtonView']['fire']('execute'),_0x350aae());}),this['on']('submit',(_0x229303,_0x1b584e)=>{_0x1b584e['length']>0xfde8?(alert(getTranslation$f(_0xb42652,'TOO_LONG_COMMENT_ALERT',[_0x1b584e['length'],0xfde8])),_0x229303['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 _0xb0dcd8=this['editor'];this['element']['insertBefore'](_0xb0dcd8['ui']['element'],this['element']['firstChild']),_0xb0dcd8['model']['document']['on']('change',()=>this['value']=_0xb0dcd8['getData']()),_0xb0dcd8['bind']('placeholder')['to'](this),this['focusables']['add'](_0xb0dcd8['ui']['view'],0x0),this['fire']('editorReady',this['editor']);})),this['_editorCreationPromise'];}['focus'](_0x32fe33){-0x1===_0x32fe33?(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:_0x3ce9a1}=this,_0x138e1e=new ckeditor5['ButtonView'](_0x3ce9a1);return _0x138e1e['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--submit']}}),_0x138e1e['withText']=!0x0,_0x138e1e['bind']('label')['to'](this,'submitLabel'),_0x138e1e['on']('execute',()=>{this['fire']('submit',this['value']);}),_0x138e1e['bind']('isEnabled')['to'](this,'value',this,'disabledSubmit',(_0xeea07a,_0x1c808d)=>!_0x1c808d&&!!_0xeea07a['trim']()),_0x138e1e;}['_createCancelButton'](){const {locale:_0x1ccb1b}=this,_0xa39d08=new ckeditor5['ButtonView'](_0x1ccb1b);return _0xa39d08['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--cancel']}}),_0xa39d08['label']=getTranslation$f(_0x1ccb1b,'Cancel'),_0xa39d08['withText']=!0x0,_0xa39d08['on']('execute',()=>{this['editor']['setData'](''),this['fire']('cancel');}),_0xa39d08;}['_setupKeyboardNavigation'](){this['keystrokes']['listenTo'](this['element']),this['focusables']['forEach'](_0x3b5aad=>{this['focusTracker']['add'](_0x3b5aad['element']);}),this['focusables']['on']('change',(_0x5900ab,_0x3cc4b7)=>{for(const _0x3a9cfc of Array['from'](_0x3cc4b7['added'])['reverse']())this['focusTracker']['add'](_0x3a9cfc['element']);});}}class CommentThreadInputView extends ckeditor5['View']{constructor(_0x5319b3,_0x39abdc,_0x4e8736){super(_0x5319b3),this['commentInputView']=new CommentInputView(_0x5319b3,_0x4e8736),this['focusCycler']=this['commentInputView']['focusCycler'],this['commentInputView']['bind']('showButtons')['to'](this['commentInputView']['focusTracker'],'isFocused',this['commentInputView'],'value',(_0x1e52ad,_0x53d8c8)=>_0x1e52ad||!!_0x53d8c8),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 _0xcb4734(_0x5319b3,_0x39abdc),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'](_0x3e6c3e){this['commentInputView']['focus'](_0x3e6c3e);}['_focusOnNonInteractiveMouseDown'](){this['listenTo'](this['element'],'mousedown',(_0x39167e,_0x4d9f71)=>{const {submitButtonView:_0x552d9a,cancelButtonView:_0x57585a,editor:_0xb9cb79}=this['commentInputView'],_0x2109e5=[_0x552d9a['element'],_0x57585a['element'],_0xb9cb79?_0xb9cb79['editing']['view']['getDomRoot']():null]['filter'](_0x5b087e=>_0x5b087e)['some'](_0x2584f2=>_0x2584f2['contains'](_0x4d9f71['target']));_0x2109e5||(this['focus'](),_0x4d9f71['preventDefault']());});}}class CollapsedCommentsView extends ckeditor5['View']{constructor(_0x34087d){super(_0x34087d);const _0x4e5058=this['bindTemplate'];this['set']('count',void 0x0),this['setTemplate']({'tag':'li','attributes':{'class':'ck-thread__comment-count'},'children':[{'text':_0x4e5058['to']('count',_0x57a216=>getTranslation$f(_0x34087d,'NUMBER_OF_COMMENTS',_0x57a216))}]});}}class CommentsListView extends ckeditor5['View']{['commentViews'];['resolvedCommentView'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];['_collapsedCommentsView'];constructor(_0x30c2ed,_0x35e8c5,_0x3ffb34){super(_0x30c2ed);const _0x119acf=this['bindTemplate'];this['set']('hasDirtyComment',!0x1),this['set']('length',_0x35e8c5['comments']['length']),this['set']('isActive',!0x1),this['_model']=_0x35e8c5,this['_config']=_0x3ffb34,this['commentViews']=this['createCollection'](),this['visibleViews']=this['createCollection'](),this['resolvedCommentView']=null,this['focusTracker']=new ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':this['commentViews'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x30e860=>this['commentViews']['map'](_0x231802=>_0x231802['element'])['includes'](_0x30e860['target'])},'actions':{'focusPrevious':'arrowup','focusNext':'arrowdown'}}),this['_collapsedCommentsView']=new CollapsedCommentsView(_0x30c2ed),this['_collapsedCommentsView']['bind']('count')['to'](this,'length',_0x579d59=>_0x579d59-this['_config']['maxCommentsWhenCollapsed']);for(const _0x5c0b77 of _0x35e8c5['comments'])this['_handleNewCommentModel'](_0x5c0b77);this['_handleInfoComment'](),this['listenTo'](_0x35e8c5['comments'],'add',(_0x22ef71,_0x592c91)=>{const _0x21dd3a=this['_calculatePosition'](_0x592c91);this['length']++,this['_handleNewCommentModel'](_0x592c91,_0x21dd3a),this['refreshVisibleViews']();}),this['listenTo'](_0x35e8c5['comments'],'remove',(_0x45c82e,_0x50222b)=>{this['length']--,this['_handleRemoveCommentModel'](_0x50222b),this['refreshVisibleViews']();}),this['listenTo'](_0x35e8c5,'commentUpdated',()=>this['refreshVisibleViews']()),this['listenTo'](_0x35e8c5,'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',_0x119acf['if']('length','ck-hidden',_0x73bacb=>!_0x73bacb)],'aria-label':getTranslation$f(_0x30c2ed,'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'](_0x2f6138){-0x1===_0x2f6138?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}['destroy'](){this['_collapsedCommentsView']['destroy']();for(const _0x20aa12 of this['commentViews'])_0x20aa12['destroy']();super['destroy']();}['refreshVisibleViews'](){this['_shouldCollapse']?this['_rearrangeCollapse']():this['_rearrangeExpand']();}['_handleNewCommentModel'](_0x339377,_0x587db9){const _0xc3df6b=new this['_config']['CommentView'](this['locale'],_0x339377,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig']});_0xc3df6b['viewUid']=_0x339377['id'],_0xc3df6b['delegate']('removeComment')['to'](this),_0xc3df6b['delegate']('updateComment')['to'](this),_0xc3df6b['delegate']('resolveCommentThread')['to'](this),_0xc3df6b['delegate']('editorReady')['to'](this),_0xc3df6b['delegate']('editorDestroyed')['to'](this),this['listenTo'](_0xc3df6b,'change:isEditMode',()=>this['_updateHasDirtyComment']()),this['commentViews']['add'](_0xc3df6b,_0x587db9);}['_calculatePosition'](_0x1360d){const _0x58d235=this['_model']['_findOptimalIndex'](_0x1360d);return this['resolvedCommentView']?this['resolvedCommentView']['authoredAt']>_0x1360d['authoredAt']?_0x58d235-0x1:_0x58d235:_0x58d235-0x1;}['_handleInfoComment'](){if(this['_model']['resolvedBy']&&this['_model']['resolvedAt']){const _0x4962dd={'id':'resolved','author':this['_model']['resolvedBy'],'authoredAt':this['_model']['resolvedAt'],'content':getTranslation$f(this['locale'],'Marked\x20as\x20resolved'),'attributes':{}};this['resolvedCommentView']=new this['_config']['CommentView'](this['locale'],_0x4962dd,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig'],'isSystemComment':!0x0}),this['commentViews']['add'](this['resolvedCommentView'],this['_model']['_findOptimalIndex'](_0x4962dd));}else this['resolvedCommentView']&&(this['commentViews']['remove'](this['resolvedCommentView']),this['resolvedCommentView']['destroy'](),this['resolvedCommentView']=null);this['refreshVisibleViews']();}['_handleRemoveCommentModel'](_0x4a2434){const _0xf018c8=this['commentViews']['remove'](_0x4a2434['id']);this['stopListening'](_0xf018c8),_0xf018c8['isEditMode']&&this['_updateHasDirtyComment'](),_0xf018c8['destroy']();}['_updateHasDirtyComment'](){this['hasDirtyComment']=Array['from'](this['commentViews'])['some'](_0x3f1e64=>_0x3f1e64['isEditMode']);}['_rearrangeCollapse'](){const _0xea832f=cloneCollection(this['commentViews']),_0x1583cd=this['_collapsedCommentsView']['count'];for(let _0x1eba16=0x1;_0x1eba16<=_0x1583cd;_0x1eba16++)_0xea832f['remove'](0x1);for(const _0x212876 of _0xea832f)_0x212876['collapse']();_0x1583cd>0x0&&_0xea832f['add'](this['_collapsedCommentsView'],0x1),applyDiffToCollection(ckeditor5['diff'](Array['from'](this['visibleViews']),Array['from'](_0xea832f)),this['visibleViews'],_0xea832f);}['_rearrangeExpand'](){applyDiffToCollection(ckeditor5['diff'](Array['from'](this['visibleViews']),Array['from'](this['commentViews'])),this['visibleViews'],this['commentViews']);for(const _0x2ab22c of this['visibleViews'])_0x2ab22c['expand']();}['_setupKeyboardNavigation'](){this['commentViews']['forEach'](_0x3fda0a=>{this['focusTracker']['add'](_0x3fda0a['element']),this['keystrokes']['listenTo'](_0x3fda0a['element']);}),this['commentViews']['on']('change',(_0xebbcb1,_0x1cb527)=>{for(const _0xfa97da of _0x1cb527['removed'])this['focusTracker']['remove'](_0xfa97da['element']),this['keystrokes']['stopListening'](_0xfa97da['element']);for(const _0x2afc24 of Array['from'](_0x1cb527['added'])['reverse']())this['focusTracker']['add'](_0x2afc24['element']),this['keystrokes']['listenTo'](_0x2afc24['element']);});}}function cloneCollection(_0x4da4ff){const _0x468e03=new ckeditor5['Collection']();for(const _0x5ce9d9 of _0x4da4ff)_0x468e03['add'](_0x5ce9d9);return _0x468e03;}function applyDiffToCollection(_0x114467,_0x28e33f,_0x535569){let _0x15843a=0x0;for(const _0x12251e of _0x114467)switch(_0x12251e){case'insert':_0x28e33f['add'](_0x535569['get'](_0x15843a),_0x15843a),_0x15843a++;break;case'delete':_0x28e33f['remove'](_0x15843a);break;case'equal':_0x15843a++;}}class CommentThreadHeaderContextView extends ckeditor5['View']{constructor(_0x25320a){super(_0x25320a);const _0x3a6052=this['bindTemplate'];this['set']('contextValue',''),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-context__value'],'aria-label':_0x3a6052['to']('contextValue',_0x1766b0=>getTranslation$f(_0x25320a,'THREAD_CONTEXT_LABEL',_0x1766b0)),'tabindex':-0x1},'children':[{'text':_0x3a6052['to']('contextValue')}]});}['focus'](){this['element']['focus']();}}const _0x50ba74=0x96;class CommentThreadHeaderView extends ckeditor5['View']{['_model'];['reopenButtonView'];['contextView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];constructor(_0x29e813,_0x5bddd6){super(_0x29e813);const _0x558d14=this['bindTemplate'];this['_model']=_0x5bddd6,this['reopenButtonView']=this['_createReopenButton'](),this['contextView']=this['_createContextView'](),this['focusables']=this['createCollection']([this['contextView'],this['reopenButtonView']]),this['focusTracker']=new ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['bind']('hasContext')['to'](this['_model'],'context',_0x1a0136=>!!_0x1a0136),this['bind']('contextValue')['to'](this['_model'],'context',_0x3b81df=>_0x3b81df&&_0x3b81df['value']?this['_trimContextValue'](_0x3b81df['value']):getTranslation$f(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',_0x558d14['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 _0x103a27=new ckeditor5['ButtonView'](this['locale']);return _0x103a27['label']=getTranslation$f(this['locale'],'Reopen'),_0x103a27['tooltip']=getTranslation$f(this['locale'],'Reopen'),_0x103a27['icon']=ckeditor5['IconUndo'],_0x103a27['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x1ca295=>!_0x1ca295),_0x103a27['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0x44fc36,_0x370505)=>_0x44fc36&&_0x370505),_0x103a27['on']('execute',()=>{this['fire']('reopenCommentThread',this['_model']['id']);}),_0x103a27;}['_trimContextValue'](_0x88c55c){const _0x549545=_0x50ba74-0x3;if(_0x88c55c['length']<_0x50ba74)return _0x88c55c;const _0x56aeef=_0x88c55c['lastIndexOf']('\x20',_0x549545);return _0x88c55c['substring'](0x0,_0x56aeef>-0x1?_0x56aeef:_0x549545)+'...';}['_attachContextActions'](){const _0x2b3406=this['element']['querySelector']('.ck-context'),_0x56e42e=_0x2b3406['querySelector']('.ck-context__value');this['listenTo'](_0x2b3406,'mouseenter',()=>{_0x56e42e['offsetWidth']<_0x56e42e['scrollWidth']&&_0x2b3406['classList']['add']('overlay');}),this['listenTo'](_0x2b3406,'mouseleave',()=>{_0x2b3406['classList']['remove']('overlay');});}['_setupKeyboardNavigation'](){this['keystrokes']['listenTo'](this['element']);for(const _0x11a493 of this['focusables'])this['focusTracker']['add'](_0x11a493['element']),this['keystrokes']['listenTo'](_0x11a493['element']);}['_createContextView'](){const _0x4bcaf9=new CommentThreadHeaderContextView(this['locale']);return _0x4bcaf9['bind']('contextValue')['to'](this),_0x4bcaf9;}}class BaseCommentThreadView extends ckeditor5['View']{['_model'];['_config'];['commentThreadHeaderView'];['commentThreadInputView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];constructor(_0x6a5f31,_0x3b96c2,_0x4743c2,_0xfa979d){super(_0x6a5f31),this['set']('isActive',!0x1),this['set']('isDirty',!0x1),this['_model']=_0x3b96c2,this['_localUser']=_0x4743c2,this['_config']=_0xfa979d,this['commentThreadHeaderView']=new CommentThreadHeaderView(_0x6a5f31,_0x3b96c2),this['commentThreadHeaderView']['delegate']('reopenCommentThread')['to'](this),this['ariaDescriptionView']=new AriaDescriptionView(_0x6a5f31,getTranslation$f(_0x6a5f31,'COMMENT_THREAD_DESCRIPTION')),this['listenTo'](this,'reopenCommentThread',()=>{this['focus']();}),this['commentsListView']=new CommentsListView(_0x6a5f31,_0x3b96c2,Object['assign']({'CommentView':this['_config']['CommentView']},_0xfa979d)),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',(_0x422118,_0x19b615)=>_0x422118||!!_0x19b615),this['bind']('isUnlinked')['to'](_0x3b96c2,'unlinkedAt',_0x556df6=>!!_0x556df6),this['bind']('ariaLabel')['to'](this,'length',_0x11f29c=>{const _0x568a9f=this['_model']['comments']['first']?this['_model']['comments']['first']['author']['name']:this['_localUser']['name'];return getTranslation$f(this['locale'],'COMMENT_THREAD_LABEL',[_0x11f29c,_0x568a9f]);}),this['focusables']=this['createCollection']([this['commentsListView'],this['commentThreadInputView']]),this['focusTracker']=new ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x30da1c=>_0x30da1c['target']!==this['element']},'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}});}['focus'](){this['element']['focus']();}['render'](){super['render'](),setupThreadKeyboardNavigation(this,this['focusables']);}async['destroy'](){this['isDirty']=!0x1,this['commentsListView']['destroy'](),await this['commentThreadInputView']['destroy'](),super['destroy']();}['_createCommentThreadInputView'](){const _0x297273=new CommentThreadInputView(this['locale'],this['_localUser'],this['_config']['editorConfig']),_0x28379d=_0x297273['commentInputView'];return _0x297273['bind']('showInput')['to'](this,'isActive',this['_model'],'isReadOnly',this['_model'],'canComment',this['_model'],'archivedAt',_0x28379d,'value',(_0x1d589a,_0x22a5b5,_0x7f7e99,_0x482f17,_0x3b2be6)=>!!_0x3b2be6||!!_0x482f17&&_0x7f7e99&&!_0x22a5b5||_0x1d589a&&_0x7f7e99&&!_0x22a5b5),_0x28379d['bind']('placeholder')['to'](this,'length',this['_model'],'isResolvable',this['_model'],'isResolved',(_0x23475b,_0x166ec2,_0x3ef3f7)=>{let _0x575aed;return _0x575aed=_0x3ef3f7&&_0x166ec2?'Reply\x20to\x20reopen\x20discussion...':_0x23475b?'Reply...':'Write\x20a\x20comment...',getTranslation$f(this['locale'],_0x575aed);}),_0x28379d['bind']('submitLabel')['to'](this,'length',_0x55f396=>getTranslation$f(this['locale'],_0x55f396?'Reply':'Comment')),_0x28379d['on']('submit',(_0x25461d,_0x3cb837)=>{this['fire']('addComment',_0x3cb837),this['_model']['isResolved']&&this['_model']['isResolvable']&&this['fire']('reopenCommentThread',this['_model']['id']),this['_model']['isSubmitted']||this['fire']('submitCommentThread');}),_0x28379d['on']('cancel',()=>{this['focus']();}),_0x28379d['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x28379d['on']('cancel',_0x666ca=>{0x0==this['length']&&(this['fire']('removeCommentThread'),_0x666ca['stop']());}),this['on']('change:isActive',(_0x1c3fad,_0x1c6ce2,_0x1ccc7b)=>{_0x1ccc7b||this['length']||_0x28379d['value']||this['fire']('removeCommentThread');}),_0x297273;}}class CommentThreadView extends/* #__PURE__ -- @preserve */
_0x3102e5(BaseCommentThreadView){['commentThreadChildren'];['containerElement'];['resolveButton'];['_boundFirstCommentView'];constructor(_0x5ad593,_0x129142,_0x51b877,_0x166236){super(_0x5ad593,_0x129142,_0x51b877,_0x166236),this['commentThreadChildren']=this['createCollection']([this['commentsListView'],this['commentThreadInputView'],this['ariaDescriptionView']]),this['set']('actionIndicator',null),this['containerElement']=null,this['_boundFirstCommentView']=null,this['locale']=_0x5ad593,this['resolveButton']=this['_createResolveButton'](),this['setTemplate'](this['getTemplate']()),this['on']('change:isActive',(_0x22f0ec,_0x3b3807,_0x653eb8)=>{_0x653eb8||this['_cancelAllConfirms']();}),this['listenTo'](this['_model'],'change:isReadOnly',(_0x4d04b7,_0x2c83e0,_0x38cb4a)=>{_0x38cb4a&&this['_cancelAllConfirms']();}),this['length']>0x0&&this['_bindFirstCommentView'](),this['listenTo'](this['commentsListView']['commentViews'],'add',()=>{this['_bindFirstCommentView']();});}['getTemplate'](){const _0x49c11d=this['bindTemplate'];return{'tag':'div','attributes':{'class':['ck','ck-thread','ck-reset_all-excluded','ck-rounded-corners',_0x49c11d['if']('isActive','ck-thread--active'),_0x49c11d['if']('isUnlinked','ck-thread--unlinked'),_0x49c11d['to']('actionIndicator',_0x582a3d=>_0x582a3d?'ck-thread--'+_0x582a3d:'')],'data-thread-id':this['_model']['id'],'tabindex':0x0,'role':'listitem','aria-label':_0x49c11d['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 _0x3dbeaa of this['commentsListView']['commentViews'])_0x3dbeaa['cancelConfirm']();}['_bindFirstCommentView'](){const {locale:_0x5d0050}=this,_0x58ad99=this['commentsListView']['commentViews']['get'](0x0);_0x58ad99===this['_boundFirstCommentView']||_0x58ad99['isSystemComment']||(this['_boundFirstCommentView']=_0x58ad99,this['unbind']('actionIndicator'),this['bind']('actionIndicator')['to'](_0x58ad99,'actionIndicator',_0xa37ce3=>'remove'===_0xa37ce3?'remove':null),_0x58ad99['placeholder']=getTranslation$f(_0x5d0050,'Write\x20a\x20comment...'),_0x58ad99['removeButton']['on']('execute',_0x2a1269=>{_0x2a1269['stop'](),this['showConfirm'](getTranslation$f(_0x5d0050,'Delete\x20comment\x20thread?'),this['containerElement'])['then'](()=>{this['fire']('removeCommentThread');});},{'priority':'high'}),this['on']('removeConfirm',()=>{_0x58ad99['focus']();}),_0x58ad99['actionBar']['add'](this['resolveButton'],0x0),_0x58ad99['focusables']['add'](this['resolveButton'],0x0));}['_createResolveButton'](){const _0x1821f1=new LateFocusButtonView(this['locale']);return _0x1821f1['label']=getTranslation$f(this['locale'],'Resolve'),_0x1821f1['tooltip']=getTranslation$f(this['locale'],'Resolve'),_0x1821f1['icon']=ckeditor5['IconCheck'],_0x1821f1['extendTemplate']({'attributes':{'class':'ck-comment--resolve'}}),_0x1821f1['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x336a67=>!_0x336a67),_0x1821f1['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0x501ed0,_0x590306)=>_0x501ed0&&!_0x590306),_0x1821f1['on']('execute',()=>{this['fire']('resolveCommentThread',this['_model']['id']);}),_0x1821f1;}['_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 ckeditor5['View']{constructor(_0x1a28b2){super(_0x1a28b2),this['set']('content',''),this['setTemplate']({'tag':'div','attributes':{'class':['ck-content','ck-comment__content','ck-annotation__content']}});}['render'](){super['render'](),this['on']('change:content',(_0x2fb911,_0x14968a,_0x2b4eda)=>{this['element']['innerHTML']=_0x2b4eda;}),this['element']['innerHTML']=this['content'];}}class BaseCommentView extends ckeditor5['View']{['visibleView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];constructor(_0x452b7e,_0x1919ac,_0x3a7a64){super(_0x452b7e),this['_model']=_0x1919ac,this['_config']=_0x3a7a64,this['isSystemComment']=!!this['_config']['isSystemComment'],this['set']('isEditMode',!0x1),this['set']('isCollapsed',!0x0),this['bind']('ariaLabel')['to'](_0x1919ac,'content',_0x1919ac,'authoredAt',(_0xe2af27,_0x1ae053)=>getTranslation$f(_0x452b7e,'COMMENT_ARIA_LABEL',[_0x1919ac['author']['name'],_0x3a7a64['formatDateTime'](_0x1ae053),new DOMParser()['parseFromString'](_0xe2af27,'text/html')['body']['textContent'],_0x1919ac['isExternal']?this['getExternalCommentNote']():''])),this['ariaDescriptionView']=new AriaDescriptionView(_0x452b7e,getTranslation$f(_0x452b7e,'COMMENT_THREAD_DESCRIPTION')),this['visibleView']=this['createCollection'](),this['visibleView']['add'](this['_createCommentContentView']()),this['focusables']=new ckeditor5['ViewCollection'](),this['focusTracker']=new ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x13030d=>_0x13030d['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']?getTranslation$f(this['locale'],'EXTERNAL_IMPORT_WORD_COMMENT'):getTranslation$f(this['locale'],'EXTERNAL_COMMENT');}['getUserViewNotificationText'](){return this['_model']['isExternal']?'importWord'===this['_model']['attributes']['@external']['source']?getTranslation$f(this['locale'],'EXTERNAL_IMPORT_WORD_AVATAR',this['_model']['creator']['name']):getTranslation$f(this['locale'],'EXTERNAL_AVATAR',this['_model']['creator']['name']):null;}['_createCommentContentView'](){const _0x22f8f2=new CommentContentView(this['locale']);return _0x22f8f2['bind']('content')['to'](this['_model'],'content',this,'isCollapsed',(_0x15f052,_0x5e5329)=>_0x5e5329?trimHtml(_0x15f052,{'limit':this['_config']['maxCommentCharsWhenCollapsed']}):_0x15f052),_0x22f8f2;}['_createCommentInputView'](){this['_config']['editorConfig']||(this['_config']['editorConfig']={}),this['_config']['editorConfig']['initialData']=this['_model']['content'];const _0x3f5827=new CommentInputView(this['locale'],this['_config']['editorConfig']);return _0x3f5827['value']=this['_model']['content'],_0x3f5827['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x3f5827['submitLabel']=getTranslation$f(this['locale'],'Save'),_0x3f5827['on']('submit',(_0x5064de,_0x18f2da)=>{this['fire']('updateComment',this['_model']['id'],_0x18f2da),this['switchToDisplayMode'](),this['focus']();}),_0x3f5827['on']('cancel',()=>{this['switchToDisplayMode'](),this['focus']();}),_0x3f5827['once']('editorReady',()=>{_0x3f5827['focus']();}),_0x3f5827['createEditor'](),_0x3f5827['delegate']('editorReady')['to'](this),_0x3f5827['delegate']('editorDestroyed')['to'](this),_0x3f5827;}['_setupKeyboardNavigation'](){const _0x56a56a=this['element'];this['keystrokes']['listenTo'](_0x56a56a);for(const _0x24f1bc of this['focusables'])this['focusTracker']['add'](_0x24f1bc['element']),this['keystrokes']['listenTo'](_0x24f1bc['element']);this['focusables']['on']('change',(_0x14758b,_0x54f047)=>{for(const _0x5b83d4 of _0x54f047['removed'])this['focusTracker']['remove'](_0x5b83d4['element']),this['keystrokes']['stopListening'](_0x5b83d4['element']);for(const _0x451f66 of _0x54f047['added'])this['focusTracker']['add'](_0x451f66['element']),this['keystrokes']['listenTo'](_0x451f66['element']);}),this['keystrokes']['set']('enter',(_0x5f4d6b,_0x288b96)=>{_0x56a56a===_0x5f4d6b['target']&&(this['focusCycler']['focusFirst'](),_0x288b96());}),this['keystrokes']['set']('esc',(_0x488be3,_0x4f8b97)=>{_0x56a56a!==_0x488be3['target']&&(this['focus'](),_0x4f8b97());});}}class CommentView extends/* #__PURE__ -- @preserve */
_0x3102e5(BaseCommentView){['actionBar'];['userView'];constructor(_0x24f382,_0x26b069,_0x348fae){super(_0x24f382,_0x26b069,_0x348fae),this['set']('actionIndicator',null),this['set']('placeholder',getTranslation$f(_0x24f382,'Reply...')),this['bind']('authoredAt')['to'](_0x26b069),this['bind']('resolvedAt')['to'](_0x26b069),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 _0xcb4734(_0x24f382,_0x26b069['author'],this['getUserViewNotificationText']()),this['userView']['extendTemplate']({'attributes':{'class':['ck-comment__user','ck-annotation__user'],'aria-hidden':!0x0}}),this['listenTo'](_0x26b069,'change:isRemovable',()=>this['cancelConfirm']()),this['setTemplate'](this['getTemplate']());}['getTemplate'](){const _0x2e672c=this['bindTemplate'],_0x2fd6ce=[{'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':_0x2e672c['to']('authoredAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x2e672c['to']('authoredAt',_0x1500b7=>this['_config']['formatDateTime'](_0x1500b7))}]}]},{'tag':'div','attributes':{'class':['ck-comment__actions','ck-annotation__actions',_0x2e672c['if']('isEditMode','ck-comment__actions--hidden'),_0x2e672c['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']&&_0x2fd6ce['push']({'tag':'div','attributes':{'class':['ck-comment__external']},'children':[{'text':this['getExternalCommentNote']()}]}),{'tag':'li','attributes':{'class':['ck-comment__wrapper'],'tabindex':-0x1,'aria-label':_0x2e672c['to']('ariaLabel'),'aria-describedby':this['ariaDescriptionView']['id'],'role':'listitem'},'children':[{'tag':'div','attributes':{'class':['ck-comment','ck-annotation',_0x2e672c['if']('isEditMode','ck-comment--edit'),_0x2e672c['if']('isSystemComment','ck-comment--info'),_0x2e672c['to']('actionIndicator',_0x445a89=>_0x445a89?'ck-comment--'+_0x445a89:'')],'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':_0x2fd6ce}]}]};}['_createEditButton'](){const _0x314c90=new ckeditor5['ButtonView'](this['locale']);return _0x314c90['label']=getTranslation$f(this['locale'],'Edit'),_0x314c90['icon']=ckeditor5['IconPencil'],_0x314c90['withText']=!0x0,_0x314c90['extendTemplate']({'attributes':{'class':'ck-comment--edit'}}),_0x314c90['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x2a8646=>!_0x2a8646),_0x314c90['bind']('isVisible')['to'](this['_model'],'isEditable'),_0x314c90['on']('execute',()=>this['switchToEditMode']()),_0x314c90;}['_createRemoveButton'](){const _0x5b40ab=new ckeditor5['ButtonView'](this['locale']);return _0x5b40ab['label']=getTranslation$f(this['locale'],'Remove'),_0x5b40ab['icon']=ckeditor5['IconRemoveComment'],_0x5b40ab['withText']=!0x0,_0x5b40ab['extendTemplate']({'attributes':{'class':'ck-comment--remove'}}),_0x5b40ab['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x3c1956=>!_0x3c1956),_0x5b40ab['bind']('isVisible')['to'](this['_model'],'isRemovable'),_0x5b40ab['on']('execute',()=>{this['showConfirm'](getTranslation$f(this['locale'],'Delete\x20comment?'),this['element'])['then'](()=>{this['fire']('removeComment',this['_model']['id']);});}),_0x5b40ab;}['_createDropdown'](){const _0x430a6b=ckeditor5['createDropdown'](this['locale'],LateFocusDropdownButtonView),_0x3d6e47=_0x430a6b['panelView']['children'],_0x3aa9c1=new ckeditor5['ListView'](this['locale']),_0x114330=_0x430a6b['bindTemplate'];ckeditor5['focusChildOnDropdownOpen'](_0x430a6b,()=>this['items']['find'](_0x4c34ff=>_0x4c34ff['isVisible'])),_0x430a6b['extendTemplate']({'attributes':{'class':[_0x114330['if']('isVisible','ck-hidden',_0x887ff=>!_0x887ff)]}});const _0x236148=(_0x2fb382,_0x5184f2=-0x1)=>{const _0x326dcd=new ckeditor5['ListItemView'](this['locale']);_0x326dcd['children']['add'](_0x2fb382);const _0x44fd9f=_0x5184f2>-0x1?_0x5184f2:_0x3aa9c1['items']['length'];_0x3aa9c1['items']['add'](_0x326dcd,_0x44fd9f);const _0xcd47dc=Array['from'](this['items']);_0x430a6b['unbind']('isEnabled','isVisible'),_0x430a6b['bind']('isEnabled')['toMany'](_0xcd47dc,'isEnabled',(..._0x2e13d3)=>_0x2e13d3['some'](_0x14f8c0=>_0x14f8c0)),_0x430a6b['bind']('isVisible')['toMany'](_0xcd47dc,'isVisible',(..._0x447cf4)=>_0x447cf4['some'](_0x4baf13=>_0x4baf13));};_0x430a6b['panelPosition']='sw',_0x430a6b['buttonView']['set']({'label':getTranslation$f(this['locale'],'Show\x20more\x20items'),'icon':ckeditor5['IconThreeVerticalDots']});for(const _0x11c5b0 of this['items'])_0x236148(_0x11c5b0);return _0x3d6e47['add'](_0x3aa9c1),_0x430a6b['listenTo'](this['items'],'add',(_0xf99ba7,_0x1024f9,_0x557bbb)=>{_0x236148(_0x1024f9,_0x557bbb);}),_0x430a6b['listenTo'](this['items'],'remove',(_0x5c3d2e,_0x196ba5,_0x86b4d8)=>{_0x3aa9c1['items']['remove'](_0x86b4d8);}),_0x430a6b;}['_attachActions'](_0xbe3a24,_0x357f03){const _0x4a356f=_0xbe3a24&&_0xbe3a24['element'];_0x4a356f&&(this['listenTo'](_0x4a356f,'mouseenter',()=>this['actionIndicator']=_0x357f03),this['listenTo'](_0x4a356f,'focus',()=>this['actionIndicator']=_0x357f03),this['listenTo'](_0x4a356f,'mouseleave',()=>this['actionIndicator']=null),this['listenTo'](_0x4a356f,'blur',()=>this['actionIndicator']=null));}['_createCommentInputView'](){const _0x3ce8d8=super['_createCommentInputView']();return _0x3ce8d8['bind']('placeholder')['to'](this),_0x3ce8d8;}['render'](){super['render'](),this['_attachActions'](this['editButton'],'edit'),this['_attachActions'](this['removeButton'],'remove');}}function createMutationObserver(_0xa984c9){const _0x12a237=throttle(_0xa984c9,0x1e),_0x29fc46=new MutationObserver(_0x5173a4=>{for(const _0x6c7da7 of _0x5173a4)('attributes'==_0x6c7da7['type']&&'class'==_0x6c7da7['attributeName']||'childList'==_0x6c7da7['type']||'characterData'==_0x6c7da7['type'])&&_0x12a237();});return{'attach'(_0x1e4be6){_0x29fc46['observe'](_0x1e4be6,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){_0x29fc46['disconnect'](),_0x12a237['cancel']();}};}class AnnotationView extends ckeditor5['View']{['focusTracker'];['id'];['keystrokes'];['content'];['mainView'];['_mutationObserver'];constructor(_0x2baf7d,_0x43c9ee){super(_0x2baf7d),this['id']=ckeditor5['uid'](),this['focusTracker']=new ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['keystrokes']['set']('Esc',(_0x5bfa6c,_0x598dc0)=>this['fire']('Esc',_0x598dc0)),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']=createMutationObserver(()=>this['_updateHeight']()),this['content']=this['createCollection'](),this['content']['delegate']('arrowup','arrowdown')['to'](this),this['content']['add'](_0x43c9ee),this['mainView']=_0x43c9ee;const _0x5287b0=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-annotation-wrapper','ck-rounded-corners',_0x5287b0['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 _0x49eabf=this['element']['clientHeight'];_0x49eabf&&(this['height']=_0x49eabf);}}let Annotation$1=class _0xa87f7c extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['view'];['focusableElements'];['_type'];['_target'];constructor({view:_0x11c537,target:_0x4037bf,type:_0x4b9be8,isVisible:_0xd98d32=!0x0}){super(),this['view']=_0x11c537,this['view']['element']||this['view']['render'](),this['_type']=_0x4b9be8,this['_target']=_0x4037bf,_0xa87f7c['_assertCorrectTarget'](this['_getNormalizedTarget']()),this['focusableElements']=new ckeditor5['Collection']([this['view']['element']],{'idProperty':'_id'}),this['focusableElements']['on']('add',(_0x54b314,_0xd72995)=>{this['view']['focusTracker']['add'](_0xd72995);}),this['focusableElements']['on']('remove',(_0x51b926,_0xbcb532)=>{this['view']['focusTracker']['remove'](_0xbcb532);}),this['set']('isVisible',_0xd98d32);}get['type'](){return'function'==typeof this['_type']?this['_type']():this['_type'];}get['innerView'](){return this['view']['mainView'];}get['target'](){const _0x557f9a=this['_getNormalizedTarget']();return _0xa87f7c['_assertCorrectTarget'](_0x557f9a),_0x557f9a;}get['targetRect'](){const _0x20d3ae=this['target'];if(null===_0x20d3ae)return null;if(_0x20d3ae instanceof ckeditor5['Rect'])return _0x20d3ae;const _0x588442=_0x20d3ae['filter'](_0x44c3d8=>isDomElementVisible(_0x44c3d8));return 0x0===_0x588442['length']?null:ckeditor5['Rect']['getDomElementRects'](_0x588442[0x0])[0x0];}get['isActive'](){return this['view']['isActive'];}set['isActive'](_0x3800f6){this['view']['isActive']=_0x3800f6,this['view']['mainView']['isActive']=_0x3800f6;}['updateTargetRect'](){this['view']['targetRect']=this['targetRect'];}['destroy'](){this['focusableElements']['stopListening'](),this['focusableElements']['clear'](),this['stopListening']();}['refreshVisibility'](){this['isVisible']=!!this['targetRect'];}static['_assertCorrectTarget'](_0x32fc9f){if(!(null===_0x32fc9f||_0x32fc9f instanceof ckeditor5['Rect']||Array['isArray'](_0x32fc9f)&&_0x32fc9f['every'](_0x2fc9f5=>isElement$1(_0x2fc9f5))))throw new ckeditor5['CKEditorError']('annotation-invalid-target',null,{'target':_0x32fc9f});}['_getNormalizedTarget'](){const _0x1d0ab7='function'==typeof this['_target']?this['_target']():this['_target'];return isElement$1(_0x1d0ab7)?[_0x1d0ab7]:_0x1d0ab7;}};function isElement$1(_0x573c99){return null!==_0x573c99&&'object'==typeof _0x573c99&&'nodeType'in _0x573c99&&0x1===_0x573c99['nodeType'];}function isDomElementVisible(_0xc6fd2){if(_0xc6fd2['offsetParent'])return!0x0;return!!_0xc6fd2['getClientRects']()['item'](0x0);}class AnnotationCollection extends ckeditor5['Collection']{['_innerViewToAnnotation'];['_viewToAnnotation'];['_focusTracker'];constructor(_0x516237=[]){super(),this['_innerViewToAnnotation']=new Map(),this['_viewToAnnotation']=new Map(),this['_focusTracker']=new ckeditor5['FocusTracker'](),this['_focusTracker']['on']('change:isFocused',(_0x16086e,_0xfad481,_0x20e87d)=>{_0x20e87d||this['fire']('blur');});for(const _0x290342 of _0x516237)this['add'](_0x290342);}get['isFocused'](){return this['_focusTracker']['isFocused'];}['add'](_0x835883){if(this['has'](_0x835883))throw new ckeditor5['CKEditorError']('annotationcollection-duplicated-item',null);this['_innerViewToAnnotation']['set'](_0x835883['innerView'],_0x835883),this['_viewToAnnotation']['set'](_0x835883['view'],_0x835883);for(const _0x117127 of _0x835883['focusableElements'])this['_focusTracker']['add'](_0x117127);if(this['listenTo'](_0x835883['focusableElements'],'add',(_0xee1228,_0xdb27f9)=>{this['_focusTracker']['add'](_0xdb27f9);}),this['listenTo'](_0x835883['focusableElements'],'remove',(_0xa14ffb,_0x5f3530)=>{this['_focusTracker']['remove'](_0x5f3530);}),this['listenTo'](_0x835883['view']['focusTracker'],'change:isFocused',(_0x189fb5,_0x583a00,_0x3cef80)=>{_0x3cef80&&this['fire']('focus',_0x835883);}),_0x835883['updateTargetRect'](),this['_areCachedRectsStale']()){for(const _0x23142b of this)_0x23142b['updateTargetRect']();}const _0x4d9c7d=this['_getOrderInContent'](_0x835883['view']['targetRect']);return super['add'](_0x835883,_0x4d9c7d);}['remove'](_0x4d3960){if(!this['has'](_0x4d3960))throw new ckeditor5['CKEditorError']('annotationcollection-not-existing-item',null);this['stopListening'](_0x4d3960['view']['focusTracker']),this['stopListening'](_0x4d3960['focusableElements']);for(const _0x2c65e7 of _0x4d3960['focusableElements'])this['_focusTracker']['remove'](_0x2c65e7);return this['_viewToAnnotation']['delete'](_0x4d3960['view']),this['_innerViewToAnnotation']['delete'](_0x4d3960['innerView']),super['remove'](_0x4d3960);}['getByInnerView'](_0x57edc6){return this['_innerViewToAnnotation']['get'](_0x57edc6);}['getByView'](_0x2c901c){return this['_viewToAnnotation']['get'](_0x2c901c);}['destroy'](){super['clear'](),this['stopListening'](),this['_innerViewToAnnotation']['clear'](),this['_viewToAnnotation']['clear'](),this['_focusTracker']['destroy']();}['refreshPositioning'](){for(const _0x4b8f69 of this)_0x4b8f69['updateTargetRect']();this['_sort']();}['_sort'](){const _0x2c8728=Array['from'](this)['sort']((_0x2b44b2,_0x51ea24)=>elementOffsetComparator(_0x2b44b2['view']['targetRect'],_0x51ea24['view']['targetRect']));for(let _0x3c7ef5=_0x2c8728['length']-0x1;_0x3c7ef5>0x0;_0x3c7ef5--){const _0x2b0f2d=_0x2c8728[_0x3c7ef5];_0x3c7ef5!==this['getIndex'](_0x2b0f2d)&&(this['remove'](_0x2b0f2d),this['add'](_0x2b0f2d));}}['_getOrderInContent'](_0xba9df1){let _0x5a809e=0x0;if(!_0xba9df1)return this['length'];for(const _0x39ba56 of this){const _0x1868ee=_0x39ba56['view']['targetRect'];if(_0x1868ee){if(elementOffsetComparator(_0xba9df1,_0x1868ee)<0x0)return _0x5a809e;_0x5a809e++;}}return _0x5a809e;}['_areCachedRectsStale'](){const _0x9f7210=this['get'](0x0);if(!_0x9f7210)return!0x1;const _0x48a773=_0x9f7210['view']['targetRect'],_0x25077e=_0x9f7210['targetRect'];return!(!_0x48a773||!_0x25077e)&&(_0x48a773['top']!==_0x25077e['top']||_0x48a773['left']!==_0x25077e['left']);}}function bindAnnotationCollections({source:_0x2902ee,target:_0x55ce5f,filter:_0x2e012e}){for(const _0x421924 of _0x2902ee)_0x2e012e(_0x421924)&&_0x55ce5f['add'](_0x421924);_0x55ce5f['listenTo'](_0x2902ee,'add',(_0x42f86e,_0x27aff9)=>{_0x2e012e(_0x27aff9)&&_0x55ce5f['add'](_0x27aff9);}),_0x55ce5f['listenTo'](_0x2902ee,'remove',(_0x125e60,_0x12d05b)=>{_0x55ce5f['has'](_0x12d05b)&&_0x55ce5f['remove'](_0x12d05b);});}function elementOffsetComparator(_0x4ad803,_0x54ab87){if(null===_0x4ad803&&null===_0x54ab87)return 0x0;if(null===_0x4ad803)return-0x1;if(null===_0x54ab87)return 0x1;const _0x113e67=_0x4ad803['top']-_0x54ab87['top'];return 0x0==_0x113e67?_0x4ad803['left']-_0x54ab87['left']:_0x113e67;}class Annotations extends ckeditor5['ContextPlugin']{['collection'];['_visibleAnnotations'];static get['pluginName'](){return'Annotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x540c8c){if(super(_0x540c8c),this['collection']=new AnnotationCollection(),this['_visibleAnnotations']=new AnnotationCollection(),this['set']('activeAnnotations',new Set()),this['_bindAnnotationsToVisibleAnnotations'](),_0x540c8c instanceof ckeditor5['Editor']){const _0x3f8489=_0x540c8c['locale'];_0x540c8c['accessibility']['addKeystrokeInfoGroup']({'id':'annotations','label':getTranslation$f(_0x3f8489,'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP'),'keystrokes':[{'label':getTranslation$f(_0x3f8489,'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO'),'keystroke':'Ctrl+Shift+E'},{'label':getTranslation$f(_0x3f8489,'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT'),'keystroke':'Esc'},{'label':getTranslation$f(_0x3f8489,'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER'),'keystroke':'Enter'},{'label':getTranslation$f(_0x3f8489,'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS'),'keystroke':[['Tab'],['Shift+Tab']]},{'label':getTranslation$f(_0x3f8489,'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT'),'keystroke':['Ctrl+Enter']},{'label':getTranslation$f(_0x3f8489,'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS'),'keystroke':[['Arrowup'],['Arrowdown']]}]});}this['_setupEnterAnnotationKeystroke'](),this['_setupEscapeAnnotationHandling']();}['add'](_0x29c320){this['collection']['add'](_0x29c320);}['remove'](_0x5aa29e){this['collection']['remove'](_0x5aa29e),_0x5aa29e['destroy']();}['refreshVisibility'](){for(const _0x13fe51 of this['collection'])_0x13fe51['refreshVisibility']();}['refreshPositioning'](){this['_visibleAnnotations']['refreshPositioning']();}['getByInnerView'](_0x38e4e6){return this['collection']['getByInnerView'](_0x38e4e6);}['deactivateAll'](){this['fire']('_deactivateAllAnnotations');}['destroy'](){for(const _0x5360d6 of this['collection'])_0x5360d6['destroy']();this['_visibleAnnotations']['destroy'](),this['collection']['destroy'](),super['destroy']();}['activate'](_0x27516e){this['fire']('_activateAnnotation',_0x27516e);}['createAnnotation'](_0x1c6349){return new Annotation$1(_0x1c6349);}['createAnnotationView'](_0x1dfe4f,_0x3439ed){return new AnnotationView(_0x1dfe4f,_0x3439ed);}['_addActiveAnnotation'](_0x189182){const _0x318f00=new Set(this['activeAnnotations']);_0x318f00['add'](_0x189182),this['activeAnnotations']=_0x318f00;}['_removeActiveAnnotation'](_0x3dfe5c){const _0x3593f7=new Set(this['activeAnnotations']);_0x3593f7['delete'](_0x3dfe5c),this['activeAnnotations']=_0x3593f7;}['_bindAnnotationsToVisibleAnnotations'](){const _0x16e0e3=this['collection'],_0x2baa23=this['_visibleAnnotations'];function _0x391dfd(_0x2bab39){const _0x5274e9=_0x2bab39['source'];_0x5274e9['isVisible']&&!_0x2baa23['has'](_0x5274e9)?_0x2baa23['add'](_0x5274e9):!_0x5274e9['isVisible']&&_0x2baa23['has'](_0x5274e9)&&_0x2baa23['remove'](_0x5274e9),_0x5274e9['view']['focusTracker']['remove'](_0x5274e9['view']['element']),_0x5274e9['view']['focusTracker']['add'](_0x5274e9['view']['element']);}this['listenTo'](_0x16e0e3,'add',(_0x3ec8b5,_0x2ef6b5)=>{_0x2ef6b5['isVisible']&&_0x2baa23['add'](_0x2ef6b5),this['listenTo'](_0x2ef6b5,'change:isVisible',_0x391dfd);}),this['listenTo'](_0x16e0e3,'remove',(_0x223cc4,_0x42081c)=>{_0x2baa23['has'](_0x42081c)&&_0x2baa23['remove'](_0x42081c),this['stopListening'](_0x42081c,'change:isVisible',_0x391dfd);});}['_setupEnterAnnotationKeystroke'](){const _0x30e8ac=_0x3ed804=>{_0x3ed804['on']('ready',()=>{_0x3ed804['keystrokes']['set'](_0x10eeb2,(_0x7d06d6,_0x2e22ee)=>{const _0xb2c4c5=ckeditor5['first'](this['activeAnnotations']['values']());_0xb2c4c5&&(_0xb2c4c5['view']['focus'](),_0x2e22ee());});});};this['context']instanceof ckeditor5['Editor']?_0x30e8ac(this['context']):this['context']['editors']&&this['context']['editors']['on']('add',(_0x8affbe,_0x3295ed)=>{_0x30e8ac(_0x3295ed);});}['_setupEscapeAnnotationHandling'](){const _0x10cc94=_0x403602=>{const _0x20236a=_0x403602['source'],_0xa178a5=[];let _0x1058ef;if(Array['isArray'](_0x20236a['target'])){_0x1058ef=_0x20236a['target'][0x0],this['context']instanceof ckeditor5['Editor']?_0xa178a5['push'](this['context']):this['context']['editors']&&_0xa178a5['push'](...this['context']['editors']);for(const _0xc5208e of _0xa178a5)for(const _0x3d2c38 of _0xc5208e['editing']['view']['domRoots']['values']())if(_0x3d2c38['contains'](_0x1058ef))return void _0xc5208e['editing']['view']['focus']();_0x1058ef['focus']();}};this['listenTo'](this['collection'],'add',(_0x1dd932,_0x43f0c7)=>{this['listenTo'](_0x43f0c7,'escape',_0x10cc94,{'priority':'low'});}),this['listenTo'](this['collection'],'remove',(_0x1ee9dd,_0x3a9c31)=>{this['stopListening'](_0x3a9c31,'escape',_0x10cc94);});}}const _0x424527=Symbol('noChannel'),defaultPermissions={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};class CommentsRepository extends ckeditor5['ContextPlugin']{['_threads'];['_threadToController'];['_viewToController'];static get['requires'](){return[Annotations,ckeditor5['PendingActions'],_0x4a3f8f];}static get['pluginName'](){return'CommentsRepository';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2d1d2e){super(_0x2d1d2e),this['_threads']=new Map(),this['_threadToController']=new Map(),this['_viewToController']=new Map(),this['set']('_readOnlyChannels',new Set()),this['set']('_permissions',new Map());const _0x57ea1b=this['context']['config'];_0x57ea1b['define']('comments.maxCommentsWhenCollapsed',0x2),_0x57ea1b['define']('comments.maxThreadTotalWeight',0x1f4),_0x57ea1b['define']('comments.maxCommentCharsWhenCollapsed',0x8c),_0x57ea1b['define']('comments.CommentThreadView',CommentThreadView),_0x57ea1b['define']('comments.CommentView',CommentView),_0x57ea1b['get']('comments.editorConfig')||console['warn']('Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.');}['init'](){const _0x3fe080=this['context']['plugins']['get'](Annotations);this['set']('activeCommentThread',null),this['on']('addCommentThread',(_0x11bae8,_0x38ecca)=>this['_addCommentThread'](_0x38ecca)),this['on']('submitCommentThread',(_0x41f7dd,_0x1fdf8f)=>this['_submitCommentThread'](_0x1fdf8f)),this['on']('resolveCommentThread',(_0x6c5e74,_0x3f02e5)=>this['_resolveCommentThread'](_0x3f02e5)),this['on']('resolveCommentThread',(_0x5c7a4b,_0x4e30bc)=>this['_updateActiveAnnotation'](_0x4e30bc),{'priority':'lowest'}),this['on']('reopenCommentThread',(_0x1b1bed,_0x551118)=>this['_reopenCommentThread'](_0x551118)),this['on']('reopenCommentThread',(_0x1fae2a,_0x596bcc)=>this['_updateActiveAnnotation'](_0x596bcc),{'priority':'lowest'}),this['on']('removeCommentThread',(_0x47e738,_0x341cb2)=>this['_removeCommentThread'](_0x341cb2)),this['on']('updateCommentThread',(_0x43c23a,_0x334a44)=>this['_updateCommentThread'](_0x334a44)),this['on']('updateCommentThread',(_0x552565,_0x110daf)=>this['_updateActiveAnnotation'](_0x110daf),{'priority':'lowest'}),this['on']('addComment',(_0x10b948,_0x1c4b3a)=>this['_addComment'](_0x1c4b3a)),this['on']('updateComment',(_0x111d51,_0x3e5f5b)=>this['_updateComment'](_0x3e5f5b)),this['on']('removeComment',(_0x2d8ef6,_0x1b7547)=>this['_removeComment'](_0x1b7547)),this['on']('addComment',(_0x12cfb8,{threadId:_0x5b91fb,isFromAdapter:_0xf86e})=>{if(_0xf86e)return;const _0x3c7bcd=this['getCommentThread'](_0x5b91fb),_0x4fb941=_0x3c7bcd&&this['_threadToController']['get'](_0x3c7bcd);_0x4fb941&&_0x4fb941['view']['commentsListView']['focus'](-0x1);},{'priority':'lowest'}),this['listenTo'](_0x3fe080,'change:activeAnnotations',(_0xb6bf2,_0x133f1d,_0x5724d4)=>{const _0xec02b4=Array['from'](_0x5724d4)['map'](_0x3b300c=>this['_viewToController']['get'](_0x3b300c['innerView']))['filter'](Boolean)[0x0];this['activeCommentThread']=_0xec02b4?_0xec02b4['model']:null;});}set['adapter'](_0xf3fce4){if(this['_adapter'])throw new ckeditor5['CKEditorError']('commentsrepository-adapter-already-set');this['_adapter']=_0xf3fce4;}get['adapter'](){return this['_adapter'];}['addCommentThread']({channelId:_0x5b9076=_0x424527,threadId:_0xb54cb6=ckeditor5['uid'](),comments:_0x4e1e29=[],unlinkedAt:_0x353a8c=null,resolvedAt:_0x117a27=null,resolvedBy:_0x3173c2=null,target:_0x5ea666=null,context:_0x5841fc=null,attributes:_0x2f9692={},isResolvable:_0x36a8f3=!0x0,isSubmitted:_0x328228=!0x1,isFromAdapter:_0x45af21=!0x1}={}){return this['fire'](toEventName('addCommentThread',_0x5b9076),{'channelId':_0x5b9076,'threadId':_0xb54cb6,'comments':_0x4e1e29,'unlinkedAt':_0x353a8c,'resolvedAt':_0x117a27,'resolvedBy':_0x3173c2,'target':_0x5ea666,'context':_0x5841fc,'attributes':_0x2f9692,'isFromAdapter':_0x45af21,'isResolvable':_0x36a8f3,'isSubmitted':_0x328228}),this['getCommentThread'](_0xb54cb6);}['openNewCommentThread']({channelId:_0x2c3478=_0x424527,threadId:_0x2284f4=ckeditor5['uid'](),target:_0xd5dbca,context:_0x262264=null,isResolvable:_0x178ab4=!0x0}){if(this['_readOnlyChannels']['has'](_0x2c3478)||this['_readOnlyChannels']['has'](void 0x0))return null;if(!_0xd5dbca)throw new ckeditor5['CKEditorError']('commentsrepository-missing-target');const _0x421ea0=this['addCommentThread']({'channelId':_0x2c3478,'threadId':_0x2284f4,'target':_0xd5dbca,'context':_0x262264,'isResolvable':_0x178ab4});if(!_0x421ea0)return null;const _0x5b1492=this['_threadToController']['get'](_0x421ea0),_0x1654fe=_0x5b1492['view']['commentThreadInputView']['commentInputView'],_0x1d7296=this['context']['plugins']['get'](Annotations),_0x2a8e24=_0x1d7296['getByInnerView'](_0x5b1492['view']);return _0x1d7296['activate'](_0x2a8e24),_0x1654fe['once']('editorReady',()=>_0x1654fe['focus']()),_0x421ea0;}['hasCommentThread'](_0x53ff3e){if('string'!=typeof _0x53ff3e)throw new ckeditor5['CKEditorError']('commentsrepository-invalid-comment-thread-id');return this['_threads']['has'](_0x53ff3e);}['updateCommentThread']({channelId:_0x3b2159=_0x424527,threadId:_0xf64f6d,context:_0x524041,unlinkedAt:_0x1a7fa3,attributes:_0x414ce6,isFromAdapter:_0x1eaf08=!0x1}){return this['fire'](toEventName('updateCommentThread',_0x3b2159),{'channelId':_0x3b2159,'threadId':_0xf64f6d,'context':_0x524041,'unlinkedAt':_0x1a7fa3,'attributes':_0x414ce6,'isFromAdapter':_0x1eaf08}),this['getCommentThread'](_0xf64f6d);}['getCommentThread'](_0x236fd3){if('string'!=typeof _0x236fd3)throw new ckeditor5['CKEditorError']('commentsrepository-invalid-comment-thread-id');return this['_threads']['get'](_0x236fd3);}['fetchCommentThread']({channelId:_0x46425f,threadId:_0x3c776d}={}){const _0x1efc80=this['getCommentThread'](_0x3c776d);if(_0x1efc80)return Promise['resolve'](_0x1efc80);if(!this['adapter'])return Promise['resolve'](void 0x0);if('function'!=typeof this['adapter']['getCommentThread'])throw new ckeditor5['CKEditorError']('commentsrepository-missing-thread-and-adapter-method',this['context']);return this['adapter']['getCommentThread']({'channelId':_0x46425f,'threadId':_0x3c776d})['then'](_0x12991f=>this['hasCommentThread'](_0x3c776d)?this['getCommentThread'](_0x3c776d):_0x12991f?this['addCommentThread'](Object['assign']({'isFromAdapter':!0x0,'channelId':_0x46425f},_0x12991f)):void 0x0)['catch'](_0x1acf9e=>{throw console['error'](_0x1acf9e),new ckeditor5['CKEditorError']('commentsrepository-fetch-comment-thread',this['context']);});}['getCommentThreads']({channelId:_0x8a1ac1,skipNotAttached:_0x326206=!0x1,skipEmpty:_0x3efa8e=!0x1,toJSON:_0x55c38d=!0x1}={}){const _0x4b01ae=[];for(const _0x1edd26 of this['_threads']['values']())_0x8a1ac1&&_0x1edd26['channelId']!==_0x8a1ac1||_0x326206&&!_0x1edd26['isAttached']||_0x3efa8e&&0x0===_0x1edd26['length']||_0x4b01ae['push'](_0x1edd26);return _0x55c38d?_0x4b01ae['map'](_0x35da46=>_0x35da46['toJSON']()):_0x4b01ae;}['getAnnotationForCommentThread'](_0x391e38){const _0x19e0c8=this['_threadToController']['get'](_0x391e38);if(!_0x19e0c8)return null;return this['context']['plugins']['get'](Annotations)['getByInnerView'](_0x19e0c8['view'])||null;}['getCommentThreadForAnnotation'](_0xd874ec){const _0x560dee=this['_viewToController']['get'](_0xd874ec['innerView']);return _0x560dee?_0x560dee['model']:null;}['setActiveCommentThread'](_0x32bff4){const _0xd214b6=this['context']['plugins']['get'](Annotations);if(!_0x32bff4)return void(this['activeCommentThread']&&_0xd214b6['deactivateAll']());const _0x2c5a30=this['getCommentThread'](_0x32bff4);if(!_0x2c5a30)throw new ckeditor5['CKEditorError']('commentsrepository-active-missing-comment-thread',null,{'threadId':_0x32bff4});if(!this['_threadToController']['has'](_0x2c5a30))throw new ckeditor5['CKEditorError']('commentsrepository-active-not-attached',null,{'threadId':_0x32bff4});const _0x1c1c14=_0xd214b6['getByInnerView'](this['_threadToController']['get'](_0x2c5a30)['view']);_0xd214b6['activate'](_0x1c1c14);}['switchReadOnly'](_0x12a0a7,_0x5cce44){_0x12a0a7?this['_readOnlyChannels']['add'](_0x5cce44):this['_readOnlyChannels']['delete'](_0x5cce44),this['fire']('change:_readOnlyChannels','_readOnlyChannels',this['_readOnlyChannels'],this['_readOnlyChannels']);}['isReadOnly'](_0x5da72e){return this['_readOnlyChannels']['has'](_0x5da72e)||this['_readOnlyChannels']['has'](void 0x0);}['createCommentThreadController'](_0x1d33ce,_0x2ce2a1){return new CommentThreadController(_0x1d33ce,_0x2ce2a1);}['setPermissions'](_0x36f131,_0x2dcd64=_0x424527){this['_permissions']['set'](_0x2dcd64,_0x36f131),this['fire']('change:_permissions','_permissions',this['_permissions'],this['_permissions']);}['getPermissions'](_0x15f474=_0x424527){return this['_permissions']['has'](_0x15f474)?this['_permissions']['get'](_0x15f474):defaultPermissions;}['_addCommentThread']({channelId:_0x242c1e,threadId:_0x141c13,comments:_0x37ae76,unlinkedAt:_0x525f12,resolvedAt:_0x3402b2,resolvedBy:_0x26aa10,target:_0x8aff93,context:_0x5a0ce5,attributes:_0x5c3311,isFromAdapter:_0x305d92,isResolvable:_0x8fa188,isSubmitted:_0x16807e}){if('string'!=typeof _0x141c13)throw new ckeditor5['CKEditorError']('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x141c13});if(this['hasCommentThread'](_0x141c13))throw new ckeditor5['CKEditorError']('commentsrepository-duplicated-comment-thread-id',null,{'threadId':_0x141c13});const _0x367609=new CommentThread(this,{'channelId':_0x242c1e,'id':_0x141c13,'context':_0x5a0ce5,'attributes':_0x5c3311,'unlinkedAt':_0x525f12,'resolvedAt':_0x3402b2,'resolvedBy':_0x26aa10?this['context']['plugins']['get'](_0x4a3f8f)['getUser'](_0x26aa10):null,'isResolvable':_0x8fa188,'isSubmitted':_0x16807e||_0x305d92});this['_threads']['set'](_0x141c13,_0x367609);for(const _0x53efb8 of _0x37ae76)_0x367609['_add'](this['_createNewComment']({'threadId':_0x141c13,..._0x53efb8}));return _0x8aff93&&_0x367609['attachTo'](_0x8aff93),_0x305d92||!_0x367609['length']?Promise['resolve']():this['_submitCommentThread']({'channelId':_0x242c1e,'threadId':_0x141c13});}['_submitCommentThread']({channelId:_0x214c23,threadId:_0x470775}){if(!this['hasCommentThread'](_0x470775))throw new ckeditor5['CKEditorError']('commentsrepository-missing-comment-thread',this);const _0x56a71d=this['getCommentThread'](_0x470775);if(_0x56a71d['_isSubmitted']=!0x0,!this['adapter']||'function'!=typeof this['adapter']['addCommentThread'])return Promise['resolve']();const {id:_0x54ad30,comments:_0x1e7207,resolvedAt:_0x576b4b,resolvedBy:_0x1fd532,context:_0x222a4f,attributes:_0x379eb7}=_0x56a71d,_0x5b1bf2=this['context']['plugins']['get']('PendingActions'),_0x4daf01=_0x5b1bf2['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['addCommentThread']({'channelId':_0x214c23,'threadId':_0x54ad30,'comments':_0x1e7207['map'](_0x29297b=>_0x29297b['toJSON']()),'resolvedAt':_0x576b4b,'resolvedBy':_0x1fd532?_0x1fd532['id']:_0x1fd532,'context':_0x222a4f,'attributes':_0x379eb7})['then'](({comments:_0x43ad1e})=>{_0x5b1bf2['remove'](_0x4daf01);for(const _0x2526cb of _0x43ad1e)this['_updateComment']({'channelId':_0x214c23,'threadId':_0x470775,'commentId':_0x2526cb['commentId'],'createdAt':_0x2526cb['createdAt'],'isFromAdapter':!0x0});})['catch'](_0x337bdd=>{throw console['error'](_0x337bdd),new ckeditor5['CKEditorError']('commentsrepository-add-comment-thread-internal-error',this);});}['_attachCommentThread']({threadId:_0x2791be,target:_0x4682d7}){const _0x1054b4=this['getCommentThread'](_0x2791be);if(!_0x1054b4)throw new ckeditor5['CKEditorError']('commentsrepository-attach-missing-comment-thread',this);const _0x8fbaae=this['context']['plugins']['get']('PendingActions'),_0x508ca3=this['context']['plugins']['get'](Annotations),_0x404b89=this['_createCommentThreadView'](_0x1054b4),_0x4faf8f=new CommentThreadController(_0x1054b4,_0x404b89);let _0x2081fa=null;_0x404b89['on']('change:isDirty',(_0x42f675,_0x19a6b3,_0x33c7b6)=>{_0x33c7b6?_0x2081fa=_0x8fbaae['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD')):_0x2081fa&&(_0x8fbaae['remove'](_0x2081fa),_0x2081fa=null);}),this['_threadToController']['set'](_0x1054b4,_0x4faf8f),this['_viewToController']['set'](_0x404b89,_0x4faf8f);const _0x1632b8=new AnnotationView(this['context']['locale'],_0x404b89);_0x1632b8['bind']('length')['to'](_0x404b89),_0x1632b8['bind']('isDirty')['to'](_0x404b89,'isDirty',_0x404b89,'length',(_0x5171cc,_0x1c10e1)=>_0x5171cc||!_0x1c10e1),_0x1632b8['bind']('isActive')['to'](_0x404b89),_0x1632b8['type']='comment';const _0x52073c=new Annotation$1({'view':_0x1632b8,'target':_0x4682d7,'type':'comment','isVisible':!_0x1054b4['archivedAt']&&!!('function'==typeof _0x4682d7?_0x4682d7():_0x4682d7)});return _0x404b89['on']('escape',()=>{_0x52073c['fire']('escape');}),this['_bindAnnotationToEditors'](_0x404b89,_0x52073c),_0x508ca3['add'](_0x52073c),_0x52073c;}['_bindAnnotationToEditors'](_0x152bea,_0x1390a7){this['listenTo'](_0x152bea,'editorReady',(_0x3c7cb9,_0x5e12d8)=>{const _0x3eabe1=_0x5e12d8['ui']['view']['body']['bodyCollectionContainer'];_0x1390a7['focusableElements']['add'](_0x3eabe1),this['context']instanceof ckeditor5['Editor']&&this['context']['ui']['focusTracker']['add'](_0x3eabe1);},{'priority':'highest'}),this['listenTo'](_0x152bea,'editorDestroyed',(_0x2beca4,_0x22b092)=>{const _0x3433b6=_0x22b092['ui']['view']['body']['bodyCollectionContainer'];_0x1390a7['focusableElements']['has'](_0x3433b6)&&_0x1390a7['focusableElements']['remove'](_0x3433b6),this['context']instanceof ckeditor5['Editor']&&this['context']['ui']['focusTracker']['remove'](_0x3433b6);});}['_unbindEditors'](_0x2d98db){this['stopListening'](_0x2d98db,'editorReady'),this['stopListening'](_0x2d98db,'editorDestroyed');}['_createCommentThreadView'](_0x248be4){const _0x394444=this['context']['plugins']['get'](_0x4a3f8f),{config:_0x56c974,locale:_0x3baf2f}=this['context'],_0x2b0053=getDateTimeFormatter(_0x56c974['get']('locale'),_0x3baf2f);return new(0x0,(_0x56c974['get']('comments'))['CommentThreadView'])(_0x3baf2f,_0x248be4,_0x394444['me'],{'editorConfig':{..._0x56c974['get']('comments.editorConfig'),'licenseKey':this['context']['config']['get']('licenseKey')},'copyMarkers':_0x56c974['get']('comments.copyMarkers'),'maxCommentsWhenCollapsed':_0x56c974['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x56c974['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x56c974['get']('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':_0x2b0053,'CommentView':_0x56c974['get']('comments')['CommentView']});}['_resolveCommentThread']({threadId:_0x527447,channelId:_0x4127b2,resolvedAt:_0x5065cf,resolvedBy:_0x419c65,isFromAdapter:_0x32d23d}){if(!this['hasCommentThread'](_0x527447))throw new ckeditor5['CKEditorError']('commentsrepository-missing-comment-thread',null,{'threadId':_0x527447});const _0x3deb44=this['getCommentThread'](_0x527447);if(_0x3deb44['isResolved'])throw new ckeditor5['CKEditorError']('commentsrepository-resolved-comment-thread',null,{'threadId':_0x527447});const _0x57030f=this['context']['plugins']['get'](_0x4a3f8f);if(_0x3deb44['resolvedBy']=_0x57030f['getUser'](_0x419c65),_0x3deb44['resolvedAt']=_0x5065cf,_0x32d23d||!this['adapter']||'function'!=typeof this['adapter']['resolveCommentThread'])return Promise['resolve']();const _0x387e99=this['context']['plugins']['get']('PendingActions'),_0x38f5ae=_0x387e99['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['resolveCommentThread']({'channelId':_0x4127b2,'threadId':_0x527447})['then'](({resolvedAt:_0x5177c1,resolvedBy:_0x5a1188})=>{_0x387e99['remove'](_0x38f5ae),_0x3deb44['resolvedBy']['id']!==_0x5a1188&&(_0x3deb44['resolvedBy']=_0x57030f['getUser'](_0x5a1188)),_0x3deb44['resolvedAt']=_0x5177c1;})['catch'](_0x23321c=>{throw console['error'](_0x23321c),new ckeditor5['CKEditorError']('commentsrepository-resolve-comment-thread-internal-error',this);});}['_reopenCommentThread']({threadId:_0x4dff47,channelId:_0xa07f2b,isFromAdapter:_0x8ad644}){if(!this['hasCommentThread'](_0x4dff47))throw new ckeditor5['CKEditorError']('commentsrepository-missing-comment-thread',null,{'threadId':_0x4dff47});const _0x269b82=this['getCommentThread'](_0x4dff47);if(!_0x269b82['isResolved'])throw new ckeditor5['CKEditorError']('commentsrepository-reopen-comment-thread',null,{'threadId':_0x4dff47});if(_0x269b82['resolvedBy']=null,_0x269b82['resolvedAt']=null,_0x8ad644||!this['adapter']||'function'!=typeof this['adapter']['reopenCommentThread'])return Promise['resolve']();const _0x2555cb=this['context']['plugins']['get']('PendingActions'),_0x11e91e=_0x2555cb['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['reopenCommentThread']({'channelId':_0xa07f2b,'threadId':_0x4dff47})['then'](()=>_0x2555cb['remove'](_0x11e91e))['catch'](_0x4050a2=>{throw console['error'](_0x4050a2),new ckeditor5['CKEditorError']('commentsrepository-reopen-comment-thread-internal-error',this);});}['_removeCommentThread']({threadId:_0x502dc5,isFromAdapter:_0x14fbb1}){const _0xc6b08a=this['getCommentThread'](_0x502dc5);if(!_0xc6b08a)throw new ckeditor5['CKEditorError']('commentsrepository-remove-missing-comment-thread',this);if(this['_detachCommentThread'](_0x502dc5),this['_threads']['delete'](_0x502dc5),!_0xc6b08a['isSubmitted']||_0x14fbb1||!this['adapter']||'function'!=typeof this['adapter']['removeCommentThread'])return Promise['resolve']();const _0x2baa9c=this['context']['plugins']['get']('PendingActions'),{channelId:_0x55f54b}=_0xc6b08a,_0x30a02c=_0x2baa9c['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeCommentThread']({'channelId':_0x55f54b,'threadId':_0x502dc5})['then'](()=>_0x2baa9c['remove'](_0x30a02c))['catch'](_0x12f72d=>{throw console['error'](_0x12f72d),new ckeditor5['CKEditorError']('commentsrepository-remove-comment-thread-internal-error',this);});}['_updateCommentThread']({threadId:_0x3f3f4c,unlinkedAt:_0xc597e6,context:_0x4908cd,attributes:_0x484261,isFromAdapter:_0x865ade}){if('string'!=typeof _0x3f3f4c)throw new ckeditor5['CKEditorError']('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x3f3f4c});if(!this['hasCommentThread'](_0x3f3f4c))throw new ckeditor5['CKEditorError']('commentsrepository-missing-comment-thread',null,{'threadId':_0x3f3f4c});const _0x1ab78e=this['getCommentThread'](_0x3f3f4c);let _0x58b181=!0x1;if(void 0x0!==_0x4908cd&&_0x1ab78e['context']!==_0x4908cd&&(_0x1ab78e['context']=_0x4908cd,_0x58b181=!0x0),void 0x0!==_0xc597e6&&_0x1ab78e['unlinkedAt']!==_0xc597e6&&(_0x1ab78e['unlinkedAt']=_0xc597e6,_0x58b181=!0x0),_0x484261&&!_0x3cd9dc(_0x484261,_0x1ab78e['attributes'])&&(_0x1ab78e['attributes']=_0x484261,_0x58b181=!0x0),!_0x58b181)return Promise['resolve']();if(!_0x1ab78e['isSubmitted']||_0x865ade||!this['adapter']||'function'!=typeof this['adapter']['updateCommentThread'])return Promise['resolve']();const _0x19c8e2=this['context']['plugins']['get']('PendingActions'),{channelId:_0x3f6ab9}=_0x1ab78e,_0x5f0a81=_0x19c8e2['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateCommentThread']({'channelId':_0x3f6ab9,'threadId':_0x3f3f4c,'context':_0x4908cd,'unlinkedAt':_0xc597e6,'attributes':_0x484261})['then'](()=>_0x19c8e2['remove'](_0x5f0a81))['catch'](_0x4fcab9=>{throw console['error'](_0x4fcab9),new ckeditor5['CKEditorError']('commentsrepository-update-comment-thread-internal-error',this);});}['_detachCommentThread'](_0x4c7ed9){const _0x2ace6e=this['context']['plugins']['get'](Annotations),_0x509476=this['getCommentThread'](_0x4c7ed9);if(_0x509476['_isAttached']=!0x1,this['_threadToController']['has'](_0x509476)){const _0x320e26=this['_threadToController']['get'](_0x509476),_0x5ee0d1=_0x320e26['view'],_0x1e13f5=_0x2ace6e['getByInnerView'](_0x5ee0d1);this['_threadToController']['delete'](_0x509476),this['_viewToController']['delete'](_0x5ee0d1),_0x1e13f5&&_0x2ace6e['remove'](_0x1e13f5),_0x320e26['destroy'](),_0x5ee0d1['destroy']()['then'](()=>{this['_unbindEditors'](_0x5ee0d1);});}}['_updateActiveAnnotation']({threadId:_0xfef2d2,resolvedAt:_0x3c4434,unlinkedAt:_0x15af16}){const _0x10892c=!!_0x3c4434,_0x30d926=this['context']['plugins']['get'](Annotations),_0x265d4b=this['getCommentThread'](_0xfef2d2);if(this['_threadToController']['has'](_0x265d4b)){const _0x17919b=this['_threadToController']['get'](_0x265d4b)['view'],_0x30a9af=_0x30d926['getByInnerView'](_0x17919b);_0x30a9af&&(_0x10892c&&_0x30d926['_removeActiveAnnotation'](_0x30a9af),_0x15af16?_0x30a9af['isVisible']=!0x1:_0x30a9af['refreshVisibility']());}}['_getExternalAuthor'](_0x1b42c9){const _0x4b71e2=this['context']['plugins']['get'](_0x4a3f8f),_0x144227=hashObject('external:'+_0x1b42c9),_0xfb2096=_0x4b71e2['getUser'](_0x144227);return _0xfb2096||_0x4b71e2['addUser']({'id':_0x144227,'name':_0x1b42c9});}['_createNewComment']({threadId:_0x2a8d60,commentId:_0x36f0cb=ckeditor5['uid'](),content:_0x3c38a5,authorId:_0x484625,createdAt:_0x4bc340,attributes:_0x31c736}){if('string'!=typeof _0x36f0cb)throw new ckeditor5['CKEditorError']('commentsrepository-invalid-commentid');if('string'!=typeof _0x484625)throw new ckeditor5['CKEditorError']('commentsrepository-invalid-comment-authorid');if('string'!=typeof _0x3c38a5||!_0x3c38a5['trim']())throw new ckeditor5['CKEditorError']('commentsrepository-invalid-comment-content');const _0x35a8d3=this['context']['plugins']['get'](_0x4a3f8f)['getUser'](_0x484625);if(!_0x35a8d3)throw new ckeditor5['CKEditorError']('commentsrepository-add-comment-user-not-exists',null,{'authorId':_0x484625});let _0x4f337e=null,_0x3e86ec=_0x4bc340;return _0x31c736?.['@external']&&(_0x4f337e=this['_getExternalAuthor'](_0x31c736['@external']['authorName']),_0x3e86ec=new Date(_0x31c736['@external']['createdAt'])),new Comment$1(this,{'threadId':_0x2a8d60,'id':_0x36f0cb,'author':_0x4f337e||_0x35a8d3,'creator':_0x35a8d3,'content':_0x3c38a5,'createdAt':_0x4bc340,'authoredAt':_0x3e86ec,'attributes':_0x31c736});}['_addComment'](_0x215c30){let {threadId:_0x14d1b6,content:_0x2e766a,attributes:_0x42581c,isFromAdapter:_0xe249f5}=_0x215c30;const _0x44dadb=this['getCommentThread'](_0x215c30['threadId']);if(!_0x44dadb)throw new ckeditor5['CKEditorError']('commentsrepository-add-comment-to-missing-comment-thread',this);const _0x180839=this['_createNewComment'](_0x215c30),{id:_0x4423e4}=_0x180839;if(_0x44dadb['_add'](_0x180839),_0xe249f5||!this['adapter']||'function'!=typeof this['adapter']['addComment']||!_0x44dadb['isSubmitted'])return Promise['resolve']();const _0x3487a8=this['context']['plugins']['get']('PendingActions'),{channelId:_0x5b3fb0}=_0x44dadb,_0xe9d44e=_0x3487a8['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return _0x42581c||(_0x42581c={}),this['adapter']['addComment']({'channelId':_0x5b3fb0,'threadId':_0x14d1b6,'commentId':_0x4423e4,'content':_0x2e766a,'attributes':_0x42581c})['then'](_0x4bfa24=>{_0x3487a8['remove'](_0xe9d44e),_0x4bfa24&&this['_updateComment']({'channelId':_0x5b3fb0,'threadId':_0x14d1b6,'commentId':_0x4423e4,'createdAt':_0x4bfa24['createdAt'],'isFromAdapter':!0x0});})['catch'](_0xb8e147=>{throw console['error'](_0xb8e147),new ckeditor5['CKEditorError']('commentsrepository-add-comment-internal-error',this);});}['_updateComment']({threadId:_0x2d829a,commentId:_0xcfa614,content:_0x3c1c03,createdAt:_0x1e6b43,attributes:_0x176de3,isFromAdapter:_0x30495b}){if(void 0x0!==_0x3c1c03&&('string'!=typeof _0x3c1c03||!_0x3c1c03['trim']()['length']))throw new ckeditor5['CKEditorError']('commentsrepository-update-comment-invalid-content');const _0x4b99ab=this['getCommentThread'](_0x2d829a),_0x4e6ce5=_0x4b99ab['getComment'](_0xcfa614);if(!_0x4e6ce5)throw new ckeditor5['CKEditorError']('commentsrepository-update-missing-comment',this);let _0x34d9fa=!0x1;if(_0x3c1c03&&_0x3c1c03!==_0x4e6ce5['content']&&(_0x4e6ce5['isEditable']||_0x30495b)&&(_0x4e6ce5['content']=_0x3c1c03,_0x34d9fa=!0x0),_0x1e6b43&&_0x1e6b43!==_0x4e6ce5['createdAt']&&(_0x4e6ce5['createdAt']=_0x1e6b43,_0x4e6ce5['attributes']&&_0x4e6ce5['attributes']['@external']||(_0x4e6ce5['authoredAt']=_0x1e6b43),_0x34d9fa=!0x0),_0x176de3&&!_0x3cd9dc(_0x176de3,_0x4e6ce5['attributes'])&&(_0x4e6ce5['attributes']=_0x176de3,_0x34d9fa=!0x0),!_0x34d9fa)return Promise['resolve']();if(_0x4b99ab['fire']('commentUpdated'),_0x30495b||!this['adapter']||'function'!=typeof this['adapter']['updateComment'])return Promise['resolve']();const _0x5ba92d=this['context']['plugins']['get']('PendingActions'),{channelId:_0x40d7e2}=this['getCommentThread'](_0x4e6ce5['threadId']),_0x2374d7=_0x5ba92d['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateComment']({'channelId':_0x40d7e2,'threadId':_0x2d829a,'commentId':_0xcfa614,'content':_0x3c1c03,'attributes':_0x176de3})['then'](()=>_0x5ba92d['remove'](_0x2374d7))['catch'](_0x10de96=>{throw console['error'](_0x10de96),new ckeditor5['CKEditorError']('commentsrepository-update-comment-internal-error',this);});}['_removeComment']({threadId:_0x1f1f01,commentId:_0x3ed713,isFromAdapter:_0x4282fc}){const _0x2bc111=this['getCommentThread'](_0x1f1f01),_0x5543bf=_0x2bc111['getComment'](_0x3ed713);if(!_0x5543bf)throw new ckeditor5['CKEditorError']('commentsrepository-remove-missing-comment',this);if(_0x2bc111['_remove'](_0x5543bf),_0x4282fc||!this['adapter']||'function'!=typeof this['adapter']['removeComment'])return Promise['resolve']();const _0x3c8ee4=this['context']['plugins']['get']('PendingActions'),{channelId:_0x580ea6}=_0x2bc111,_0x293f77=_0x3c8ee4['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeComment']({'channelId':_0x580ea6,'threadId':_0x1f1f01,'commentId':_0x3ed713})['then'](()=>_0x3c8ee4['remove'](_0x293f77))['catch'](_0x1e11bd=>{throw console['error'](_0x1e11bd),new ckeditor5['CKEditorError']('commentsrepository-remove-comment-internal-error',this);});}}class CommentThread extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['channelId'];['id'];['_isAttached'];['_isSubmitted'];['comments'];['_repository'];constructor(_0x1f5b2f,_0x46cd4a){super();const _0x1635c0=_0x46cd4a['isResolvable'];this['channelId']=_0x46cd4a['channelId'],this['id']=_0x46cd4a['id'],this['comments']=new ckeditor5['Collection'](),this['_repository']=_0x1f5b2f,this['_isAttached']=!0x1,this['_isSubmitted']=_0x46cd4a['isSubmitted'],this['set']('_hasTargetInContent',!0x0),this['bind']('isReadOnly')['to'](_0x1f5b2f,'_permissions',_0x1f5b2f,'_readOnlyChannels',()=>_0x1f5b2f['isReadOnly'](this['channelId'])),this['bind']('isRemovable')['to'](_0x1f5b2f,'_permissions',()=>_0x1f5b2f['getPermissions'](this['channelId'])['admin']),this['bind']('canComment')['to'](_0x1f5b2f,'_permissions',()=>{const _0x25d86e=_0x1f5b2f['getPermissions'](this['channelId']);return _0x25d86e['write']||_0x25d86e['admin'];}),this['bind']('isResolvable')['to'](_0x1f5b2f,'_permissions',()=>_0x1635c0&&_0x1f5b2f['getPermissions'](this['channelId'])['resolve']),this['set']('context',_0x46cd4a['context']),this['bind']('archivedAt')['to'](this,'resolvedAt',this,'unlinkedAt',(_0x491323,_0x37fc7e)=>_0x491323?_0x37fc7e?_0x491323<_0x37fc7e?_0x491323:_0x37fc7e:_0x491323:_0x37fc7e),this['set']('unlinkedAt',_0x46cd4a['unlinkedAt']||null),this['set']('resolvedAt',_0x46cd4a['resolvedAt']||null),this['set']('resolvedBy',_0x46cd4a['resolvedBy']||null),this['bind']('isResolved')['to'](this,'resolvedAt',_0x24038a=>!!_0x24038a),this['set']('attributes',_0x46cd4a['attributes']||{});}get['weight'](){return Array['from'](this['comments'])['reduce']((_0xeb0c70,_0x31ad68)=>_0xeb0c70+_0x31ad68['weight'],0x0);}get['length'](){return this['comments']['length'];}get['isAttached'](){return this['_isAttached'];}get['isSubmitted'](){return this['_isSubmitted'];}['submit'](){const {channelId:_0x1f1744,id:_0x3a4ac6}=this;this['_repository']['fire'](toEventName('submitCommentThread',_0x1f1744),{'channelId':_0x1f1744,'threadId':_0x3a4ac6});}['setUnlinkedAt'](_0x2286f3){this['_update']({'unlinkedAt':_0x2286f3});}['resolve']({resolvedAt:_0x366faa=new Date(),resolvedBy:_0x5a2d48='',isFromAdapter:_0x45ec34=!0x1}={}){const _0x3a2fc7=this['_repository']['context']['plugins']['get'](_0x4a3f8f)['me'],{channelId:_0x3bc0c8,id:_0x2e81e8}=this;this['_repository']['fire'](toEventName('resolveCommentThread',_0x3bc0c8),{'channelId':_0x3bc0c8,'threadId':_0x2e81e8,'resolvedAt':_0x366faa,'resolvedBy':_0x5a2d48||_0x3a2fc7['id'],'isFromAdapter':_0x45ec34});}['reopen']({isFromAdapter:_0x4a0929=!0x1}={}){const {channelId:_0x673ad9,id:_0x5b032f}=this;this['_repository']['fire'](toEventName('reopenCommentThread',_0x673ad9),{'channelId':_0x673ad9,'threadId':_0x5b032f,'isFromAdapter':_0x4a0929});}['setContext'](_0x462c4b){this['context']||this['_update']({'context':_0x462c4b});}['setAttribute'](_0xa73c89,_0x2ea54a){const _0xb7741e=_0x564b70(this['attributes']);set(_0xb7741e,_0xa73c89,_0x2ea54a),this['_update']({'attributes':_0xb7741e});}['removeAttribute'](_0x344d48){const _0x107ffa=_0x564b70(this['attributes']);unset(_0x107ffa,_0x344d48),this['_update']({'attributes':_0x107ffa});}['remove']({isFromAdapter:_0x28e328=!0x1}={}){const {channelId:_0x59473b,id:_0x405df9}=this;this['_repository']['fire'](toEventName('removeCommentThread',_0x59473b),{'channelId':_0x59473b,'threadId':_0x405df9,'isFromAdapter':_0x28e328});}['attachTo'](_0x284f44){return this['_repository']['_attachCommentThread']({'threadId':this['id'],'target':_0x284f44});}['addComment'](_0x23abc0){const {channelId:_0x554e12,id:_0x125c25}=this;this['_repository']['fire'](toEventName('addComment',_0x554e12,_0x125c25),Object['assign']({'channelId':_0x554e12,'threadId':_0x125c25},_0x23abc0));}['getComment'](_0x443e3d){if('string'!=typeof _0x443e3d)throw new ckeditor5['CKEditorError']('commentsrepository-get-comment-invalid-id',null,{'commentId':_0x443e3d});return this['comments']['get'](_0x443e3d);}['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'](_0x3ad6fe=>_0x3ad6fe['toJSON']()),'attributes':this['attributes']};}['_add'](_0x1abf1b){return this['listenTo'](_0x1abf1b,'change:authoredAt',()=>{const _0x4af9b8=this['_findOptimalIndex'](_0x1abf1b),_0x2cb9ea=this['comments'];_0x4af9b8-0x1!=_0x2cb9ea['getIndex'](_0x1abf1b)&&_0x4af9b8+0x1!=_0x2cb9ea['getIndex'](_0x1abf1b)&&(this['_remove'](_0x1abf1b),this['_add'](_0x1abf1b));}),this['comments']['add'](_0x1abf1b,this['_findOptimalIndex'](_0x1abf1b));}['_update'](_0x2f1b91){const {channelId:_0x1b088f,id:_0x299c6f}=this;this['_repository']['fire'](toEventName('updateCommentThread',_0x1b088f),{..._0x2f1b91,'channelId':_0x1b088f,'threadId':_0x299c6f});}['_remove'](_0x13c965){return this['stopListening'](_0x13c965),_0x13c965['destroy'](),this['comments']['remove'](_0x13c965);}['_findOptimalIndex'](_0x5848e9){const _0x5b535c=this['comments']['find'](_0xadc253=>new Date(_0xadc253['authoredAt'])['getTime']()>new Date(_0x5848e9['authoredAt'])['getTime']());return _0x5b535c?this['comments']['getIndex'](_0x5b535c):this['length'];}}const _0x22e660=0xc8;function getContentLength(_0x25d439){const _0x325f15=document['createElement']('div');return _0x325f15['innerHTML']=_0x25d439,_0x325f15['textContent']['length'];}let Comment$1=class extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['id'];['threadId'];['author'];['creator'];['isExternal'];['createdAt'];['_repository'];constructor(_0x16cf99,_0x9cacb2){super();const _0x1351ec=_0x16cf99['context']['plugins']['get'](_0x4a3f8f)['me'],_0x33e9b5=_0x16cf99['getCommentThread'](_0x9cacb2['threadId']),_0x41584b=0x0===_0x33e9b5['comments']['length'],_0x196ade=_0x1351ec===_0x9cacb2['author'];this['id']=_0x9cacb2['id'],this['threadId']=_0x9cacb2['threadId'],this['author']=_0x9cacb2['author'],this['creator']=_0x9cacb2['creator'],this['isExternal']=Boolean(_0x9cacb2['attributes']&&_0x9cacb2['attributes']['@external']),this['set']('content',_0x9cacb2['content']),this['createdAt']=_0x9cacb2['createdAt']||new Date(),this['set']('authoredAt',_0x9cacb2['authoredAt']||new Date()),this['bind']('resolvedAt')['to'](_0x33e9b5,'resolvedAt'),this['set']('attributes',_0x9cacb2['attributes']||{}),this['bind']('isEditable')['to'](_0x16cf99,'_permissions',()=>{const _0x157ba0=_0x16cf99['getPermissions'](_0x33e9b5['channelId'])['write'],_0x3ec750=_0x16cf99['getPermissions'](_0x33e9b5['channelId'])['modifyAll'];return _0x196ade&&_0x157ba0||!_0x196ade&&_0x3ec750;}),this['bind']('isRemovable')['to'](_0x33e9b5,'isRemovable',_0x16cf99,'_permissions',_0x2edf87=>{const _0x534504=_0x16cf99['getPermissions'](_0x33e9b5['channelId'])['write'],_0x44cd53=_0x16cf99['getPermissions'](_0x33e9b5['channelId'])['modifyAll'];return _0x196ade&&_0x534504||_0x2edf87&&_0x41584b||!_0x196ade&&_0x44cd53&&!_0x41584b;}),this['bind']('isReadOnly')['to'](_0x33e9b5,'isReadOnly'),this['_repository']=_0x16cf99;}get['weight'](){return Math['max'](getContentLength(this['content']),_0x22e660);}['update'](_0x3f4be6){const {threadId:_0x3e3a6c,id:_0x345087}=this;if(!this['_repository']['hasCommentThread'](_0x3e3a6c))throw new ckeditor5['CKEditorError']('commentsrepository-update-comment-missing-comment-thread',this);const {channelId:_0x47808a}=this['_repository']['getCommentThread'](_0x3e3a6c);this['_repository']['fire'](toEventName('updateComment',_0x47808a,_0x3e3a6c),{'channelId':_0x47808a,'threadId':_0x3e3a6c,'commentId':_0x345087,..._0x3f4be6});}['setAttribute'](_0x5b0aa4,_0x273b9b){const _0x522880=_0x564b70(this['attributes']);set(_0x522880,_0x5b0aa4,_0x273b9b),this['update']({'attributes':_0x522880});}['removeAttribute'](_0x1208a0){const _0x2bdf47=_0x564b70(this['attributes']);unset(_0x2bdf47,_0x1208a0),this['update']({'attributes':_0x2bdf47});}['remove'](_0x3ea64a={}){if(!_0x3ea64a['isFromAdapter']&&!this['isRemovable'])return;const {threadId:_0x3863ce,id:_0x3227ae}=this;if(!this['_repository']['hasCommentThread'](_0x3863ce))throw new ckeditor5['CKEditorError']('commentsrepository-remove-comment-missing-comment-thread',this);const {channelId:_0x136e3b}=this['_repository']['getCommentThread'](_0x3863ce);this['_repository']['fire'](toEventName('removeComment',_0x136e3b,_0x3863ce),{'channelId':_0x136e3b,'threadId':_0x3863ce,'commentId':_0x3227ae,..._0x3ea64a});}['toJSON'](){return{'commentId':this['id'],'content':this['content'],'createdAt':this['createdAt'],'authorId':this['creator']['id'],'attributes':this['attributes']};}['destroy'](){this['stopListening']();}};function toEventName(_0x3ed2bc,..._0x3671fd){for(const _0x14bcc3 of _0x3671fd)void 0x0!==_0x14bcc3&&(_0x3ed2bc+=':'+String(_0x14bcc3));return _0x3ed2bc;}class AddCommentThreadCommand extends ckeditor5['Command']{constructor(_0x3a8a80){super(_0x3a8a80),this['set']('hasContent',!0x1);}['refresh'](){const _0x144062=this['editor']['model']['document']['selection'];this['isEnabled']=!0x0,this['hasContent']=!0x1;for(const _0x2dea82 of _0x144062['getRanges']())if(this['_hasContent'](_0x2dea82))return void(this['hasContent']=!0x0);}['execute']({threadId:_0x4dbbb4=ckeditor5['uid'](),ranges:_0x57fb22,comment:_0x537ce6}={}){const _0x315cde=this['editor']['model'],_0x15242c=_0x57fb22??Array['from'](_0x315cde['document']['selection']['getRanges']()),_0x39e2fc=[];for(const _0x5d7cdb of _0x15242c)this['_hasContent'](_0x5d7cdb)&&_0x39e2fc['push'](this['_trimToContent'](_0x5d7cdb));if(!_0x39e2fc['length'])throw new ckeditor5['CKEditorError']('addcommentthreadcommand-incorrect-ranges',null);_0x537ce6&&this['_createCommentThread'](_0x4dbbb4,_0x537ce6),this['_createMarkersFromRanges'](_0x4dbbb4,_0x39e2fc,!!_0x537ce6);}['_createMarkersFromRanges'](_0x5abfc1,_0x2dcf16,_0xdc4ffa){this['editor']['model']['change'](_0x55ef5a=>{for(const _0x227f73 of _0x2dcf16){const _0x818163=ckeditor5['uid']()['substr'](0x1,0x5),_0x276d4f='comment:'+_0x5abfc1+':'+_0x818163;_0x55ef5a['addMarker'](_0x276d4f,{'range':_0x227f73,'usingOperation':_0xdc4ffa,'affectsData':_0xdc4ffa});}});}['_createCommentThread'](_0x278690,_0x2ac86e){const _0x444c3c=this['editor']['plugins']['get']('CommentsRepository'),_0x609347=this['editor']['config']['get']('collaboration.channelId'),_0x1405c8=this['editor']['plugins']['get']('Users')['me'];if(!_0x1405c8)throw new ckeditor5['CKEditorError']('addcommentthreadcommand-user-not-found',null);_0x444c3c['addCommentThread']({'threadId':_0x278690,'channelId':_0x609347,'comments':[{'authorId':_0x1405c8['id'],'content':_0x2ac86e,'createdAt':new Date(),'attributes':{}}]});}['_hasContent'](_0xe4f7b){for(const _0x465ace of _0xe4f7b['getItems']())if(this['_itemIsContent'](_0x465ace))return!0x0;return!0x1;}['_itemIsContent'](_0x134022){return _0x134022['is']('$textProxy')||this['editor']['model']['schema']['isObject'](_0x134022)&&!_0x134022['is']('element','tableCell');}['_trimToContent'](_0x1852a4){const _0x2c922f=_0x5ee96a=>!this['_itemIsContent'](_0x5ee96a['item']),_0x2dad7e=_0x1852a4['start']['getLastMatchingPosition'](_0x2c922f),_0x50884d=_0x1852a4['end']['getLastMatchingPosition'](_0x2c922f,{'direction':'backward'});return this['editor']['model']['createRange'](_0x2dad7e,_0x50884d);}}class EditorAnnotations extends ckeditor5['Plugin']{['_dataCollectors'];['_editorAnnotations'];static get['requires'](){return[Annotations];}static get['pluginName'](){return'EditorAnnotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3efa5a){super(_0x3efa5a),this['_dataCollectors']=new Set(),this['_editorAnnotations']=new Set();}['init'](){const _0x348ce6=this['editor'],_0x5a0ef4=_0x348ce6['model']['document']['selection'],_0x4413a2=_0x3aca90(()=>this['refreshSelectedViews'](),0xa);_0x5a0ef4['on']('change:range',(_0x5c57f2,_0x24d51b)=>{_0x24d51b['directChange']&&(_0x4413a2['cancel'](),this['refreshSelectedViews']());}),this['listenTo'](_0x348ce6['editing']['view']['document'],'change:isFocused',(_0x5e4de8,_0x5654cc,_0xb45f6c)=>{_0xb45f6c&&_0x4413a2();}),this['listenTo'](_0x348ce6['ui']['focusTracker'],'change:isFocused',(_0x6d6135,_0x10aff5,_0x392bcc)=>{_0x392bcc||this['fire']('blur',{'isAnnotationTracked':_0x303c19=>this['_editorAnnotationsData']['has'](_0x303c19['innerView'])});}),this['listenTo'](this['editor']['ui'],'update',()=>this['fire']('uiUpdate'));}['registerAnnotation'](_0x3d083b){if(this['_editorAnnotations']['has'](_0x3d083b['view']))return;this['_editorAnnotations']['add'](_0x3d083b['view']),this['editor']['ui']['focusTracker']['add'](_0x3d083b['view']['element']);const _0x1a3f99=this['editor']['plugins']['get'](Annotations);this['listenTo'](_0x1a3f99['collection'],'remove',(_0x5c08d3,_0x34711e)=>{this['editor']['ui']['focusTracker']['remove'](_0x34711e['view']['element']),this['_editorAnnotations']['delete'](_0x34711e['view']);});}['hasDomSelection'](){return this['editor']['editing']['view']['hasDomSelection'];}['addSourceCollector'](_0x6ef6b){if('function'!=typeof _0x6ef6b)throw new ckeditor5['CKEditorError']('editorannotations-invalid-source-callback');this['_dataCollectors']['add'](_0x6ef6b);}['refreshSelectedViews'](){this['fire']('refresh');}['getOrderedSelectedAnnotations']({activeAnnotation:_0x23840f,annotations:_0x2afd4b}){const _0x9314d6=[],_0x498a08=this['editor']['model']['document']['selection'],_0x1ed1cc=Array['from'](_0x498a08['getRanges']());for(const [_0x405b4c,_0x27593b]of this['_editorAnnotationsData']){const _0x9fc3f4=_0x5828ef(_0x27593b),_0x2b7085=_0x2afd4b['getByInnerView'](_0x405b4c);_0x9fc3f4&&_0x2b7085&&_0x9314d6['push']({'annotation':_0x2b7085,'range':_0x9fc3f4});}function _0x5828ef(_0x4983c7){for(const _0x5595cf of _0x4983c7)for(const _0x45fcd7 of _0x1ed1cc)if(_0x5595cf['containsRange'](_0x45fcd7,!_0x498a08['isCollapsed']))return _0x5595cf;return null;}return _0x9314d6['sort']((_0x390fc1,_0x2a808b)=>{const _0x3acca3=_0x390fc1['range'],_0x538f7a=_0x2a808b['range'];if(!_0x3acca3['isEqual'](_0x538f7a)){if(_0x3acca3['containsRange'](_0x538f7a,!0x0))return 0x1;if(_0x538f7a['containsRange'](_0x3acca3,!0x0))return-0x1;}return _0x390fc1['annotation']==_0x23840f?-0x1:_0x2a808b['annotation']==_0x23840f?0x1:0x0;})['map'](_0x3c23df=>_0x3c23df['annotation']);}get['_editorAnnotationsData'](){const _0x10e4c8=new Map();for(const _0x29cad7 of Array['from'](this['_dataCollectors']))for(const [_0x134781,_0x3f004c]of _0x29cad7())_0x10e4c8['set'](_0x134781,_0x3f004c);return _0x10e4c8;}}class CommentsRestrictedEditingMode extends ckeditor5['Plugin']{['afterInit'](){const _0x160d40=this['editor'];if(!_0x160d40['plugins']['has']('RestrictedEditingModeEditing'))return;_0x160d40['plugins']['get']('RestrictedEditingModeEditing')['enableCommand']('addCommentThread');}}class CommentsImportWord extends ckeditor5['Plugin']{constructor(_0x2fae3a){super(_0x2fae3a),this['editor']['config']['define']('importWord.formatting.comments','basic');}['afterInit'](){const _0xb0f817=this['editor'],_0x349183=_0xb0f817['commands']['get']('importWord'),_0x4c23b6=_0xb0f817['plugins']['get'](_0x4a3f8f);_0x349183&&(_0x349183['on']('execute',(_0x4a2ce8,[,_0x2a1394])=>{_0x2a1394['collaboration_features']={'comments':!0x0,'user_id':_0x4c23b6['me']['id']};},{'priority':ckeditor5['priorities']['high']+0xa}),this['listenTo'](_0x349183,'dataInsert',this['_handleImportedData']));}['_handleImportedData'](_0x1a81e9,_0x21db1a){const {comment_threads:_0x174aff}=_0x21db1a;_0x174aff&&_0x174aff['forEach'](({thread_id:_0x38f507,comments:_0x1a400a,is_resolved:_0x1b0b7b})=>{const _0x3701b1=new Date(),_0x27a8e9=_0x1a400a['map'](({author:_0xdcf2b4,content:_0x490851,created_at:_0x2c3324})=>({'content':_0x490851,'authorId':this['editor']['plugins']['get'](_0x4a3f8f)['me']['id'],'createdAt':_0x3701b1,'attributes':{'@external':{'authorName':_0xdcf2b4,'createdAt':_0x2c3324?new Date(_0x2c3324):new Date(),'source':'importWord'}}})),_0x27fb74=this['editor']['config']['get']('collaboration.channelId');this['editor']['plugins']['get'](CommentsRepository)['addCommentThread']({'channelId':_0x27fb74,'threadId':_0x38f507,'comments':_0x27a8e9,'resolvedAt':_0x1b0b7b?_0x3701b1:null});});}}class CommentsClipboard extends ckeditor5['Plugin']{constructor(_0x4e6c90){super(_0x4e6c90),this['editor']['config']['define']('comments.copyMarkers','default');}static get['requires'](){return[ckeditor5['ClipboardMarkersUtils'],ckeditor5['ClipboardPipeline']];}['afterInit'](){const _0x3c6a35=this['editor']['plugins']['get']('ClipboardPipeline');this['_registerMarkerInClipboardPipeline'](),this['listenTo'](_0x3c6a35,'contentInsertion',(_0x3946af,_0x3ff08a)=>this['_removeMarkersWithoutThreads'](_0x3ff08a['content']['markers']),{'priority':'highest'});}['_removeMarkersWithoutThreads'](_0x3f6924){if(!this['editor']['plugins']['has']('CommentsRepository'))return _0x3f6924;const _0x61fb07=this['editor']['plugins']['get']('CommentsRepository');for(const _0x29540c of _0x3f6924['keys']()){const [_0x10bffa,_0x2936de]=_0x29540c['split'](':');'comment'!=_0x10bffa||_0x61fb07['hasCommentThread'](_0x2936de)||_0x3f6924['delete'](_0x29540c);}return _0x3f6924;}['_registerMarkerInClipboardPipeline'](){const _0x552b8a=this['editor']['plugins']['get']('ClipboardMarkersUtils'),_0x243c1f=this['_mapCommentsCopyConfigToRegisterConfiguration'](this['editor']['config']['get']('comments.copyMarkers'));_0x243c1f&&_0x552b8a['_registerMarkerToCopy']('comment',_0x243c1f);}['_mapCommentsCopyConfigToRegisterConfiguration'](_0x10fcc0){switch(_0x10fcc0){case'always':return{'allowedActions':'all','copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case'default':return{'allowedActions':['cut','dragstart'],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};default:return null;}}}function splitMarkerName(_0xf795d9){const _0x12cbee=_0xf795d9['split'](':');return{'group':_0x12cbee[0x0],'id':_0x12cbee[0x1],'part':_0x12cbee[0x2]};}class ShowCommentHighlights extends ckeditor5['Plugin']{['init'](){this['overrideMarkerConverters'](),this['overrideHorizontalRuleConverter'](),this['overrideImageInlineConverter'](),this['overrideMediaEmbedConverter']();}['overrideMarkerConverters'](){this['editor']['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'comment','view':(_0x339d97,_0x5edefa)=>{if(!_0x5edefa['options']['showCommentHighlights'])return null;if(_0x5edefa['options']['ignoreResolvedComments']){const {id:_0x54d599}=splitMarkerName(_0x339d97['markerName']),_0x31b563=this['editor']['plugins']['get'](CommentsRepository);if(_0x31b563['getCommentThread'](_0x54d599)?.['isResolved']&&_0x339d97['item'])return _0x5edefa['consumable']['consume'](_0x339d97['item'],'addMarker:'+_0x339d97['markerName']),_0x5edefa['consumable']['consume'](_0x339d97['item'],'removeMarker:'+_0x339d97['markerName']),null;}return{'classes':['ck-comment-marker']};}}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x5273a8=>{_0x5273a8['on']('addMarker:comment',(_0x508863,_0x555053,_0x1ba3c3)=>{if(!_0x1ba3c3['options']['showCommentHighlights'])return;const _0x40c2f4=_0x555053['item'];if(!_0x40c2f4)return;const _0x22aa7e=_0x1ba3c3['mapper']['toViewElement'](_0x40c2f4);this['editor']['model']['schema']['isObject'](_0x40c2f4)&&_0x22aa7e&&!_0x22aa7e['getCustomProperty']('widget')&&_0x22aa7e['is']('containerElement')&&ckeditor5['toWidget'](_0x22aa7e,_0x1ba3c3['writer']);},{'priority':'high'});});}['overrideHorizontalRuleConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0xf4a417,{writer:_0x1aa49d,options:_0x5338aa})=>{if(!_0x5338aa['showCommentHighlights'])return null;const _0x253f58=_0x1aa49d['createContainerElement']('div'),_0x3ab51d=_0x1aa49d['createEmptyElement']('hr');return _0x1aa49d['addClass']('ck-horizontal-line',_0x253f58),_0x1aa49d['insert'](_0x1aa49d['createPositionAt'](_0x253f58,0x0),_0x3ab51d),_0x253f58;},'converterPriority':'high'});}['overrideImageInlineConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToStructure']({'model':'imageInline','view':(_0x1266ec,{writer:_0x1b6e4f,options:_0x30f940})=>{if(!_0x30f940['showCommentHighlights'])return null;const _0x28e86f=_0x1b6e4f['createContainerElement']('span'),_0x3b3640=_0x1b6e4f['createEmptyElement']('img');return _0x1b6e4f['addClass']('image-inline',_0x28e86f),_0x1b6e4f['insert'](_0x1b6e4f['createPositionAt'](_0x28e86f,0x0),_0x3b3640),_0x28e86f;},'converterPriority':'high'});}['overrideMediaEmbedConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x4bc501,{writer:_0x10b127,options:_0x2f642b})=>{if(_0x2f642b['showCommentHighlights'])return _0x10b127['createEmptyElement']('div');},'converterPriority':'high'}),this['editor']['data']['downcastDispatcher']['on']('attribute:url:media',(_0x571efa,_0x158779,_0x419087)=>{_0x419087['options']['showCommentHighlights']&&_0x571efa['stop']();},{'priority':'high'});}}const _0x3f46b3=0x96;class CommentsEditing extends ckeditor5['Plugin']{static get['requires'](){return[CommentsRepository,EditorAnnotations,_0x4a3f8f,CommentsRestrictedEditingMode,CommentsImportWord,CommentsClipboard,ShowCommentHighlights];}static get['pluginName'](){return'CommentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x72536){super(_0x72536),this['set']('isThreadsLoadingPaused',!0x0),_0x72536['data']['once']('ready',()=>this['isThreadsLoadingPaused']=!0x1),this['set']('activeMarker',null),this['on']('change:activeMarker',(_0x3acf90,_0x1fba48,_0x464804,_0x478133)=>{const _0x3fe530=_0x72536['plugins']['get'](CommentsRepository),_0x1fc442=_0x464804?splitMarkerName(_0x464804)['id']:null;_0x72536['model']['change'](()=>{if(_0x1fc442){const _0x510e4e=this['getAllMarkersForId'](_0x1fc442);for(const _0x551cd2 of _0x510e4e)_0x72536['editing']['reconvertMarker'](_0x551cd2);}if(_0x478133){const {id:_0x39734b}=splitMarkerName(_0x478133),_0x343a40=_0x3fe530['getCommentThread'](_0x39734b);if(_0x343a40&&_0x343a40['unlinkedAt'])return;if(_0x343a40&&!_0x343a40['isAttached'])return;const _0xbd167c=this['getAllMarkersForId'](_0x39734b);for(const _0xe41db9 of _0xbd167c)_0x72536['editing']['reconvertMarker'](_0xe41db9);}}),_0x1fc442&&this['scrollToThreadMarker'](_0x1fc442);}),this['_initAriaMarkerChangeAnnouncements']();}['init'](){const _0xe875ab=this['editor'],_0x5e70ae=_0xe875ab['plugins']['get'](CommentsRepository),_0x33a75b=_0xe875ab['config']['get']('collaboration.channelId'),_0x3291f2=_0x5e70ae['getCommentThreads']()['filter'](_0x8c8ec4=>_0x8c8ec4['channelId']!==_0x33a75b);_0xe875ab['commands']['add']('addCommentThread',new AddCommentThreadCommand(_0xe875ab)),this['listenTo'](_0xe875ab,'change:isReadOnly',(_0x10f7a4,_0x23064a,_0x5660e3)=>{_0x5e70ae['switchReadOnly'](_0x5660e3,_0xe875ab['config']['get']('collaboration.channelId'));}),this['listenTo'](_0x5e70ae,createChannelEvent('addCommentThread',_0x33a75b),(_0x3412e4,{threadId:_0xd30be1})=>{const _0x15d9e1=this['editor']['plugins']['get'](CommentsRepository)['getCommentThread'](_0xd30be1);_0x15d9e1?.['unlinkedAt']&&this['_attachArchivedThread'](_0xd30be1);}),this['listenTo'](_0x5e70ae,createChannelEvent('removeCommentThread',_0x33a75b),(_0x1396e4,{threadId:_0x32ee51})=>{_0xe875ab['model']['enqueueChange']({'isUndoable':!0x1},_0x220c79=>{const _0x37ba89=this['getAllMarkersForId'](_0x32ee51);for(const _0x450e6c of _0x37ba89)_0x220c79['removeMarker'](_0x450e6c);});}),this['listenTo'](_0x5e70ae,createChannelEvent('resolveCommentThread',_0x33a75b),(_0x4013f3,{threadId:_0x53ab80})=>{this['_reconvertMarkers'](_0x53ab80);const _0x5b2f0f=this['editor']['plugins']['get'](Annotations);(this['editor']['editing']['view']['hasDomSelection']||_0x5b2f0f['collection']['isFocused'])&&(this['editor']['plugins']['get'](CommentsRepository)['getCommentThread'](_0x53ab80)['unlinkedAt']||this['editor']['editing']['view']['focus']());},{'priority':'low'}),this['listenTo'](_0x5e70ae,createChannelEvent('reopenCommentThread',_0x33a75b),(_0x3ac832,{threadId:_0x4e49e3})=>{this['_reconvertMarkers'](_0x4e49e3);},{'priority':'low'}),this['listenTo'](_0x5e70ae,createChannelEvent('addComment',_0x33a75b),(_0x3a21e3,{threadId:_0x2605bf,isFromAdapter:_0x2b7e9e})=>{const _0x5b5b69=this['getAllMarkersForId'](_0x2605bf);if(_0x2b7e9e||0x0==_0x5b5b69['length']||!_0x5e70ae['hasCommentThread'](_0x2605bf))return;0x1===_0x5e70ae['getCommentThread'](_0x2605bf)['length']&&_0xe875ab['model']['enqueueChange']({'isUndoable':!0x1},_0x376b2c=>{for(const _0x1de4cc of _0x5b5b69)_0x376b2c['updateMarker'](_0x1de4cc,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':'low'}),this['_initializeMarkerConverters'](),this['_handleMarkerAddAndRemove'](),this['_handleInitialThreads'](_0x3291f2);}['afterInit'](){_0x482482(this);}['destroy'](){const _0x4807cf=this['editor']['plugins']['get'](CommentsRepository),_0xf0d15d=this['editor']['config']['get']('collaboration.channelId');for(const _0x40e428 of _0x4807cf['getCommentThreads']({'channelId':_0xf0d15d}))_0x4807cf['_detachCommentThread'](_0x40e428['id']),_0x4807cf['_threads']['delete'](_0x40e428['id']);super['destroy']();}['hasMarkerForId'](_0xf13733){return this['getAllMarkersForId'](_0xf13733)['length']>0x0;}['getAllMarkersForId'](_0x36163f){const _0x1ba54b=[];for(const _0x3841ae of this['editor']['model']['markers'])_0x3841ae['name']['startsWith']('comment:'+_0x36163f)&&_0x1ba54b['push'](_0x3841ae);return _0x1ba54b;}['scrollToThreadMarker'](_0x1d5b99){setTimeout(()=>{const _0x57a112=this['_getTargetForId'](_0x1d5b99);if(!_0x57a112)return;this['activeMarker']&&splitMarkerName(this['activeMarker'])['id']===_0x1d5b99&&ckeditor5['scrollViewportToShowTarget']({'target':_0x57a112[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}['_reconvertMarkers'](_0x2feac5){this['editor']['model']['change'](()=>{for(const _0x43f009 of this['getAllMarkersForId'](_0x2feac5))this['editor']['editing']['reconvertMarker'](_0x43f009);});}['_attachArchivedThread'](_0x2914fe){const _0x200fc1=this['editor']['plugins']['get'](CommentsRepository),_0x3ab5d8=this['editor']['plugins']['get'](EditorAnnotations),_0x1a4b25=_0x200fc1['getCommentThread'](_0x2914fe);if(!_0x1a4b25['isAttached']){const _0x35d8e9=_0x1a4b25['attachTo'](()=>this['_getTargetForId'](_0x1a4b25['id']));_0x3ab5d8['registerAnnotation'](_0x35d8e9),_0x1a4b25['_hasTargetInContent']=!0x1;}}['_initializeMarkerConverters'](){const _0x1c5d7d=this['editor'],_0x42a36a=_0x1c5d7d['plugins']['get'](_0x4a3f8f);_0x1c5d7d['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'comment','view':(_0x1b17c5,_0x1096c1)=>{const {id:_0x41b19d}=splitMarkerName(_0x1b17c5['markerName']),_0x5508a2=_0x1c5d7d['plugins']['get'](CommentsRepository)['getCommentThread'](_0x41b19d),_0x105e85=this['activeMarker']&&splitMarkerName(this['activeMarker'])['id']===_0x41b19d;let _0x403a74;if(_0x5508a2&&_0x5508a2['isResolved']&&!_0x105e85&&_0x1b17c5['item'])return _0x1096c1['consumable']['consume'](_0x1b17c5['item'],'addMarker:'+_0x1b17c5['markerName']),_0x1096c1['consumable']['consume'](_0x1b17c5['item'],'removeMarker:'+_0x1b17c5['markerName']),null;const _0x42246f=['ck-comment-marker'];return _0x105e85&&_0x42246f['push']('ck-comment-marker--active'),_0x403a74=_0x5508a2?.['length']?_0x5508a2['comments']['first']['author']['id']:_0x42a36a['me']['id'],{'classes':_0x42246f,'attributes':{'data-comment':_0x41b19d,'data-author-id':_0x403a74}};}}),_0x1c5d7d['conversion']['for']('dataDowncast')['markerToData']({'model':'comment','view':(_0x257792,{options:_0x2cb417})=>{if(_0x2cb417['showCommentHighlights'])return null;const _0x109543=_0x1c5d7d['plugins']['get'](CommentsRepository),_0x4808ce=_0x1c5d7d['model']['markers']['get'](_0x257792),{id:_0x3e12d1,part:_0x392617}=splitMarkerName(_0x257792);return _0x4808ce&&!_0x4808ce['affectsData']||_0x2cb417['ignoreResolvedComments']&&_0x109543['getCommentThread'](_0x3e12d1)?.['isResolved']?null:{'group':'comment','name':_0x392617?_0x3e12d1+':'+_0x392617:_0x3e12d1};}}),_0x1c5d7d['conversion']['for']('upcast')['elementToElement']({'view':{'name':'comment','attributes':{'id':/^\w/}},'model':(_0x2f0c1c,{writer:_0x5c2676})=>_0x5c2676['createElement']('$marker',{'data-name':'comment:'+_0x2f0c1c['getAttribute']('id')})}),_0x1c5d7d['conversion']['for']('upcast')['dataToMarker']({'view':'comment'});}['_handleMarkerAddAndRemove'](){const _0x59c1b4=this['editor'],_0x930292=_0x59c1b4['plugins']['get'](CommentsRepository),_0x1d1533=new Set(),_0x23d4d8=new Set();_0x59c1b4['model']['document']['registerPostFixer'](_0xfcc5a=>{let _0x29cd91=!0x1;for(const {name:_0x20dac1,data:_0x3765d3}of _0x59c1b4['model']['document']['differ']['getChangedMarkers']()){const {group:_0x4b427b,id:_0x1e4ef9}=splitMarkerName(_0x20dac1);let _0x5b6847=_0x3765d3['newRange'];if('comment'!==_0x4b427b||!_0x5b6847)continue;const _0x476f35='$graveyard'===_0x5b6847['root']['rootName'];_0x476f35||(_0x5b6847=_0x21df53(_0x5b6847,_0x59c1b4['model']),!_0x5b6847||_0x5b6847['isCollapsed']||!_0x3765d3['newRange']||_0x5b6847['isEqual'](_0x3765d3['newRange']))?_0x59c1b4['model']['hasContent'](_0x5b6847)&&!_0x476f35?this['isThreadsLoadingPaused']?_0x1d1533['add'](_0x20dac1):this['_handleThreadMarker'](_0x20dac1,_0x1e4ef9):(_0x23d4d8['add'](_0x20dac1),_0x1d1533['delete'](_0x20dac1),_0xfcc5a['removeMarker'](_0x20dac1),_0x29cd91=!0x0):(_0xfcc5a['updateMarker'](_0x20dac1,{'range':_0x5b6847}),_0x29cd91=!0x0);}return _0x29cd91;}),this['on']('change:isThreadsLoadingPaused',(_0x3ae5db,_0x3fb0b3,_0x1101fe)=>{if(!_0x1101fe&&_0x1d1533['size'])for(const _0x5aae34 of _0x1d1533){const {id:_0x1bd462}=splitMarkerName(_0x5aae34);_0x1d1533['delete'](_0x5aae34),_0x59c1b4['model']['markers']['get'](_0x5aae34)&&this['_handleThreadMarker'](_0x5aae34,_0x1bd462);}}),this['listenTo'](_0x59c1b4['model']['document'],'change',()=>{for(const {name:_0x56a80a,data:{newRange:_0x198bec}}of _0x59c1b4['model']['document']['differ']['getChangedMarkers']()){const {group:_0x5e2e67,id:_0x1cc86d}=splitMarkerName(_0x56a80a);if('comment'!==_0x5e2e67)continue;const _0x29cb3d=_0x930292['getCommentThread'](_0x1cc86d),_0x1b1520=this['hasMarkerForId'](_0x1cc86d);_0x29cb3d&&(!_0x29cb3d['_hasTargetInContent']&&_0x198bec&&_0x59c1b4['editing']['view']['once']('render',()=>{const _0x17046c=_0x59c1b4['plugins']['get'](Annotations),_0x24b2c0=_0x930292['_threadToController']['get'](_0x29cb3d)['view'];_0x17046c['getByInnerView'](_0x24b2c0)['refreshVisibility']();},{'priority':'low'}),_0x29cb3d['_hasTargetInContent']=_0x1b1520||!!_0x198bec),_0x198bec||(_0x23d4d8['add'](_0x56a80a),_0x1d1533['delete'](_0x56a80a));}for(const _0xda1d80 of _0x23d4d8){const {id:_0x5d0a57}=splitMarkerName(_0xda1d80),_0x30de57=_0x930292['getCommentThread'](_0x5d0a57);if(_0x1d1533['delete'](_0xda1d80),!_0x30de57)continue;const _0x5a92a5=this['hasMarkerForId'](_0x5d0a57);_0x5a92a5||_0x30de57['isSubmitted']?_0x5a92a5||_0x30de57['unlinkedAt']||_0x30de57['setUnlinkedAt'](new Date()):_0x30de57['remove']();}_0x23d4d8['clear']();});}['_handleInitialThreads'](_0x5dd6ec){_0x5dd6ec['forEach'](_0x267458=>{_0x267458['unlinkedAt']&&this['_attachArchivedThread'](_0x267458['id']);});}['_getTargetForId'](_0x4af7b4){const _0x2cac82=this['editor'],_0x5b77cd=this['getAllMarkersForId'](_0x4af7b4);return getAllMarkersDomElementsSorted(_0x2cac82['editing'],_0x5b77cd);}['_getTextContext'](_0x198d3a){const _0x58681a=this['getAllMarkersForId'](_0x198d3a);let _0x2674a1='',_0x583093=!0x1;for(const _0x4ef4c9 of _0x58681a){const _0x2ea533=_0x4ef4c9['getRange']();for(const _0x312803 of Array['from'](_0x2ea533['getItems']()))_0x312803['is']('$textProxy')?(_0x2674a1&&_0x583093&&(_0x2674a1+='\x20',_0x583093=!0x1),_0x2674a1+=_0x312803['data']):_0x583093=!0x0;_0x583093=!0x0;}return _0x2674a1['substring'](0x0,_0x3f46b3);}['_attachMarkerToThread'](_0xbc7528,_0x280f41){const _0x3417f0=this['editor'],_0x1ffeef=_0x3417f0['plugins']['get'](CommentsRepository);let _0x13080f=_0x1ffeef['getCommentThread'](_0x280f41);const _0x3fb79d=_0x3417f0['config']['get']('collaboration.channelId'),_0x22f1e9=_0x3417f0['plugins']['get'](EditorAnnotations);if(_0x13080f&&(_0x13080f['unlinkedAt']&&_0x13080f['setUnlinkedAt'](null),_0x13080f['isAttached']))return _0x13080f;return!this['getAllMarkersForId'](_0x280f41)[0x0]['managedUsingOperations']?_0x3417f0['editing']['view']['once']('render',()=>{if(_0x1ffeef['getCommentThread'](_0x280f41))return;const _0x5b3ffa=_0x3417f0['plugins']['get'](Annotations);_0x13080f=_0x1ffeef['openNewCommentThread']({'channelId':_0x3fb79d,'threadId':_0x280f41,'target':()=>this['_getTargetForId'](_0x280f41),'context':{'type':'text','value':this['_getTextContext'](_0x280f41)}});const _0x4eba6e=_0x1ffeef['_threadToController']['get'](_0x13080f)['view'],_0x9c8a7a=_0x5b3ffa['getByInnerView'](_0x4eba6e);_0x9c8a7a&&_0x22f1e9['registerAnnotation'](_0x9c8a7a);},{'priority':'low'}):_0x1ffeef['fetchCommentThread']({'channelId':_0x3fb79d,'threadId':_0x280f41})['then'](_0x279b4d=>{if('destroyed'!==_0x3417f0['state']){if(_0x13080f=_0x279b4d,_0x13080f&&!_0x13080f['isAttached']){const _0x3fd6ae=_0x13080f['attachTo'](()=>this['_getTargetForId'](_0x280f41));_0x22f1e9['registerAnnotation'](_0x3fd6ae),_0x13080f['isResolved']&&this['_reconvertMarkers'](_0x280f41);}else{if(!_0x13080f){const _0x319b0e=this['getAllMarkersForId'](_0x280f41);_0x3417f0['model']['change'](_0x2cdf72=>{for(const _0x593a4c of _0x319b0e)_0x2cdf72['removeMarker'](_0x593a4c);});}}}}),_0x13080f;}['_handleThreadMarker'](_0x15314c,_0x15a1ad){const _0x485be7=this['_attachMarkerToThread'](_0x15314c,_0x15a1ad);_0x485be7&&!_0x485be7['context']&&_0x485be7['setContext']({'type':'text','value':this['_getTextContext'](_0x15a1ad)});}['_initAriaMarkerChangeAnnouncements'](){const _0x244e51=this['editor'];surroundingMarkersDetector(_0x244e51['model'],({left:_0x3b24f0,entered:_0x180fa0})=>{for(const _0x180c92 of _0x3b24f0)if(isCommentMarker(_0x180c92)){_0x244e51['ui']['ariaLiveAnnouncer']['announce'](getTranslation$f(_0x244e51['locale'],'LEAVE_COMMENT_ANNOUNCEMENT'));break;}for(const _0x126a45 of _0x180fa0)if(isCommentMarker(_0x126a45)){_0x244e51['ui']['ariaLiveAnnouncer']['announce'](getTranslation$f(_0x244e51['locale'],'ENTER_COMMENT_ANNOUNCEMENT',ckeditor5['getEnvKeystrokeText'](_0x10eeb2)));break;}});}}function createChannelEvent(_0x3b118f,_0x205d68){return _0x205d68?_0x3b118f+':'+_0x205d68:_0x3b118f;}function _0x21df53(_0x124f75,_0x58f458){const _0x420dc5=_0x58f458['schema'],_0x12b08b=_0x58f458['createRange'](_0x124f75['start']);for(const _0x52b366 of _0x124f75['getWalker']()){const {type:_0x1c46db,item:_0x2e62ec,nextPosition:_0x253ba4}=_0x52b366;if('text'===_0x1c46db||_0x420dc5['isObject'](_0x2e62ec)){const _0x55f42a=_0x58f458['createPositionBefore'](_0x2e62ec);_0x12b08b['isCollapsed']&&(_0x12b08b['start']=_0x55f42a),_0x12b08b['end']=_0x253ba4;}}return _0x12b08b;}function isCommentMarker(_0x279b4a){return'comment'===splitMarkerName(_0x279b4a['name'])['group'];}async function _0x482482(_0x523f99){const _0x24e3a2=_0x33f214([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]),_0x417181=window[_0x33f214([0x44,0x61,0x74,0x65])][_0x33f214([0x6e,0x6f,0x77])](),_0x3b4979=_0x523f99[_0x33f214([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2855d9=new window[(_0x33f214([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a63e3=>{_0x3b4979[_0x33f214([0x6f,0x6e,0x63,0x65])](_0x33f214([0x72,0x65,0x61,0x64,0x79]),_0x4a63e3);}),_0x3464c1={[_0x33f214([0x6b,0x74,0x79])]:_0x33f214([0x45,0x43]),[_0x33f214([0x75,0x73,0x65])]:_0x33f214([0x73,0x69,0x67]),[_0x33f214([0x63,0x72,0x76])]:_0x33f214([0x50,0x2d,0x32,0x35,0x36]),[_0x33f214([0x78])]:_0x33f214([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]),[_0x33f214([0x79])]:_0x33f214([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]),[_0x33f214([0x61,0x6c,0x67])]:_0x33f214([0x45,0x53,0x32,0x35,0x36])},_0x4e5ebd=_0x3b4979[_0x33f214([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x33f214([0x67,0x65,0x74])](_0x33f214([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x56fa4b=await(async function(){let _0x349408,_0x49863b=null,_0x28f1cf=null;try{if(_0x4e5ebd==_0x33f214([0x47,0x50,0x4c]))return _0x33f214([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x349408=(function(){const _0x111c3e=_0x4e5ebd[_0x33f214([0x73,0x70,0x6c,0x69,0x74])](_0x33f214([0x2e]));if(0x3!=_0x111c3e[_0x33f214([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x449181=_0x111c3e[0x1];return _0x269096(_0x449181);function _0x269096(_0x3981b6){const _0x513e9c=_0x19c0d5(_0x3981b6);return _0x513e9c&&_0x2f4a41()?_0x513e9c:null;function _0x2f4a41(){const _0x35f21c=_0x513e9c[_0x33f214([0x6a,0x74,0x69])],_0x4c0d0a=window[_0x33f214([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x35f21c[_0x33f214([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x35f21c[_0x33f214([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xe608dd={..._0x513e9c,[_0x33f214([0x6a,0x74,0x69])]:_0x35f21c[_0x33f214([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x35f21c[_0x33f214([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xe608dd[_0x33f214([0x76,0x63])],_0x29d5bb(_0xe608dd)==_0x4c0d0a;}}}()),!_0x349408)return _0x33f214([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x349408[_0x33f214([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x28f1cf=function(_0x5d1e75,_0xbcdae4){return new window[(_0x33f214([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x421406=>{if(_0x42b000())return _0x421406(_0x33f214([0x56,0x61,0x6c,0x69,0x64]));_0x2e3fad(),_0x3b4979[_0x33f214([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x33f214([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x35005e=!0x1;const _0x5e3183=ckeditor5['uid']();function _0x37a7f9(_0x3d667e){return!!_0x3d667e&&(typeof _0x3d667e===_0x33f214([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3d667e===_0x33f214([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3d667e[_0x33f214([0x74,0x68,0x65,0x6e])]===_0x33f214([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3d667e[_0x33f214([0x63,0x61,0x74,0x63,0x68])]===_0x33f214([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x8d275b(_0x603a82){_0x2ea0a2(_0x603a82)[_0x33f214([0x74,0x68,0x65,0x6e])](_0x1898f0=>{if(!_0x1898f0||_0x1898f0[_0x33f214([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x33f214([0x6f,0x6b]))return _0x33f214([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xe9ce8c(_0x29d5bb(_0x5e3183+_0xbcdae4))!=_0x1898f0[_0x33f214([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x33f214([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x33f214([0x56,0x61,0x6c,0x69,0x64]);})[_0x33f214([0x74,0x68,0x65,0x6e])](_0x1b805b=>(_0x18b870(),_0x1b805b),()=>{const _0x1abea2=_0x4aceeb();return null==_0x1abea2?(_0x18b870(),_0x33f214([0x56,0x61,0x6c,0x69,0x64])):_0x33f214(_0x417181-_0x1abea2>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x33f214([0x74,0x68,0x65,0x6e])](_0x421406)[_0x33f214([0x63,0x61,0x74,0x63,0x68])](()=>{_0x421406(_0x33f214([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2f3a13=0x36ee80;function _0x18b870(){const _0x55447f=_0x33f214([0x6c,0x6c,0x63,0x74,0x2d])+_0xe9ce8c(_0x29d5bb(_0x5d1e75)),_0x2e8d46=_0x168e55(_0xe9ce8c(window[_0x33f214([0x4d,0x61,0x74,0x68])][_0x33f214([0x63,0x65,0x69,0x6c])](_0x417181/_0x2f3a13)));window[_0x33f214([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x33f214([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x55447f,_0x2e8d46);}function _0x4aceeb(){const _0x24188f=_0x33f214([0x6c,0x6c,0x63,0x74,0x2d])+_0xe9ce8c(_0x29d5bb(_0x5d1e75)),_0x4b8097=window[_0x33f214([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x33f214([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x24188f);return _0x4b8097?window[_0x33f214([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x168e55(_0x4b8097),0x10)*_0x2f3a13:null;}function _0x2ea0a2(_0x12bfe0){return new window[(_0x33f214([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2e4058,_0x233ac2)=>{_0x12bfe0[_0x33f214([0x74,0x68,0x65,0x6e])](_0x2e4058,_0x233ac2),window[_0x33f214([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x233ac2,0x1d4c0);});}}_0x3b4979[_0x33f214([0x6f,0x6e])](_0x33f214([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x25cc9f,_0x477ff7)=>{if(_0x477ff7[0x0]!=_0x5d1e75)return _0x421406(_0x33f214([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x477ff7[0x1]={..._0x477ff7[0x1],[_0x33f214([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5e3183};},{[_0x33f214([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x33f214([0x68,0x69,0x67,0x68])}),_0x3b4979[_0x33f214([0x6f,0x6e])](_0x33f214([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3d90b7=>{_0x37a7f9(_0x3d90b7[_0x33f214([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x35005e=!0x0,_0x8d275b(_0x3d90b7[_0x33f214([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x33f214([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x33f214([0x6c,0x6f,0x77])}),_0x2855d9[_0x33f214([0x74,0x68,0x65,0x6e])](()=>{_0x35005e||_0x421406(_0x33f214([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x42b000(){return _0x3b4979[_0x33f214([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x33f214([0x76,0x69,0x65,0x77])][_0x33f214([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x33f214([0x61,0x75,0x74,0x6f]);}function _0x2e3fad(){_0x3b4979[_0x33f214([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x33f214([0x76,0x69,0x65,0x77])][_0x33f214([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x33f214([0x61,0x75,0x74,0x6f]);}}(_0x349408[_0x33f214([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x349408[_0x33f214([0x6a,0x74,0x69])]));const _0x585777=await(async function(){let _0x20a3da=!0x0;try{const _0xb3309f=_0x4e5ebd[_0x33f214([0x73,0x70,0x6c,0x69,0x74])](_0x33f214([0x2e])),[_0x150ad4,_0x176fd5,_0x157049]=_0xb3309f;return _0x34fd0a(_0x150ad4),await _0x4a6d9f(_0x150ad4,_0x176fd5,_0x157049),_0x20a3da;}catch{return!0x1;}function _0x34fd0a(_0x1e77d2){const _0x5cc206=_0x19c0d5(_0x1e77d2);_0x5cc206&&_0x5cc206[_0x33f214([0x61,0x6c,0x67])]==_0x33f214([0x45,0x53,0x32,0x35,0x36])||(_0x20a3da=!0x1);}async function _0x4a6d9f(_0x5594c5,_0x489909,_0x211544){const _0x107d82=window[_0x33f214([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x33f214([0x66,0x72,0x6f,0x6d])](_0x979c35(_0x211544),_0x4fe793=>_0x4fe793[_0x33f214([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3800cd=new window[(_0x33f214([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x33f214([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5594c5+_0x33f214([0x2e])+_0x489909),_0x22a181=window[_0x33f214([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x33f214([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x22a181)return;const _0x4c70a6=await _0x22a181[_0x33f214([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x33f214([0x6a,0x77,0x6b]),_0x3464c1,{[_0x33f214([0x6e,0x61,0x6d,0x65])]:_0x33f214([0x45,0x43,0x44,0x53,0x41]),[_0x33f214([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x33f214([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x33f214([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x22a181[_0x33f214([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x33f214([0x6e,0x61,0x6d,0x65])]:_0x33f214([0x45,0x43,0x44,0x53,0x41]),[_0x33f214([0x68,0x61,0x73,0x68])]:{[_0x33f214([0x6e,0x61,0x6d,0x65])]:_0x33f214([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4c70a6,_0x107d82,_0x3800cd)||(_0x20a3da=!0x1);}}());return _0x585777?(function(){const _0x1367db=_0x349408[_0x33f214([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x1367db)return!0x1;if(_0x1367db[_0x33f214([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33f214([0x2a])))return!0x0;if(_0x1367db[_0x33f214([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33f214([0x43,0x4d,0x54])))return!0x0;if(_0x1367db[_0x33f214([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33f214([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x33f214([0x67,0x6c,0x6f,0x62])]&&window[_0x33f214([0x67,0x6c,0x6f,0x62])][_0x33f214([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;if(_0x1367db[_0x33f214([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33f214([0x52,0x43,0x4d,0x54]))){if(_0x4beec2(_0x33f214([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&(_0x5d2cc5=_0x33f214([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]),_0x3b4979[_0x33f214([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x33f214([0x67,0x65,0x74])](_0x5d2cc5))[_0x33f214([0x73,0x74,0x61,0x74,0x65])]==_0x33f214([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]))return!0x0;if(_0x4beec2(_0x33f214([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]))||_0x4beec2(_0x33f214([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72])))return!0x0;}var _0x5d2cc5;return!0x1;}())?(function(){const _0x491892=[_0x33f214([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x33f214([0x74,0x72,0x69,0x61,0x6c])][_0x33f214([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x349408[_0x33f214([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x417181/0x3e8:0x6a03bf00;return _0x349408[_0x33f214([0x65,0x78,0x70])]<_0x491892;}())?_0x33f214([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x4efb8f=_0x349408[_0x33f214([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4efb8f||0x0==_0x4efb8f[_0x33f214([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x10eaef}=new URL(window[_0x33f214([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4efb8f[_0x33f214([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10eaef))return!0x0;const _0x4a89f2=_0x10eaef[_0x33f214([0x73,0x70,0x6c,0x69,0x74])](_0x33f214([0x2e]));return _0x4efb8f[_0x33f214([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4a4cea=>_0x4a4cea[_0x33f214([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33f214([0x2a])))[_0x33f214([0x6d,0x61,0x70])](_0x566d8f=>_0x566d8f[_0x33f214([0x73,0x70,0x6c,0x69,0x74])](_0x33f214([0x2e])))[_0x33f214([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3e8985=>_0x3e8985[_0x33f214([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4a89f2[_0x33f214([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x33f214([0x6d,0x61,0x70])](_0x5f3b26=>Array(_0x4a89f2[_0x33f214([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5f3b26[_0x33f214([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x33f214([0x66,0x69,0x6c,0x6c])](_0x5f3b26[0x0]===_0x33f214([0x2a])?_0x33f214([0x2a]):'')[_0x33f214([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5f3b26))[_0x33f214([0x73,0x6f,0x6d,0x65])](_0x3d232b=>_0x4a89f2[_0x33f214([0x65,0x76,0x65,0x72,0x79])]((_0x1c0640,_0x3abaef)=>_0x3d232b[_0x3abaef]===_0x1c0640||_0x3d232b[_0x3abaef]===_0x33f214([0x2a])));}())?(_0x349408[_0x33f214([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x33f214([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x49863b=function(_0x2a4095){const _0x43abb0=new window[(_0x33f214([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x417953=>setTimeout(_0x417953,0x93ecc)),_0x3df3b6=_0x2855d9[_0x33f214([0x74,0x68,0x65,0x6e])](()=>new window[(_0x33f214([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c3dab=>{let _0x437ef0=0x0;_0x3b4979[_0x33f214([0x6d,0x6f,0x64,0x65,0x6c])][_0x33f214([0x6f,0x6e])](_0x33f214([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4d7bd9,_0x432937)=>{_0x432937[0x0][_0x33f214([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x437ef0++,0x5e8==_0x437ef0&&(_0x1c3dab(),_0x4d7bd9[_0x33f214([0x6f,0x66,0x66])]());});})),_0x47f90d=[_0x43abb0,_0x3df3b6];return window[_0x33f214([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x33f214([0x72,0x61,0x63,0x65])](_0x47f90d)[_0x33f214([0x74,0x68,0x65,0x6e])](()=>_0x2a4095);}(_0x33f214([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x49863b&&_0x28f1cf)return new window[(_0x33f214([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4cdd56,_0x4c73d1)=>{_0x49863b[_0x33f214([0x74,0x68,0x65,0x6e])](_0x4cdd56,_0x4c73d1),_0x28f1cf[_0x33f214([0x74,0x68,0x65,0x6e])](_0x5499db=>{_0x5499db!=_0x33f214([0x56,0x61,0x6c,0x69,0x64])&&_0x4cdd56(_0x5499db);},_0x4c73d1);});return _0x49863b||_0x28f1cf||_0x33f214([0x56,0x61,0x6c,0x69,0x64]);}())):_0x33f214([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x33f214([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x33f214([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x33f214([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x19c0d5(_0x3ab330){return _0x3ab330[_0x33f214([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x33f214([0x65,0x79]))?JSON[_0x33f214([0x70,0x61,0x72,0x73,0x65])](_0x979c35(_0x3ab330)):null;}function _0x979c35(_0x428bee){return window[_0x33f214([0x61,0x74,0x6f,0x62])](_0x428bee[_0x33f214([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x33f214([0x2b]))[_0x33f214([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x33f214([0x2f])));}function _0x29d5bb(_0x497b12){let _0x1afaa2=0x1505;function _0x207c5b(_0x1c65bd){for(let _0x5042e9=0x0;_0x5042e9<_0x1c65bd[_0x33f214([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5042e9++){const _0x178bff=_0x1c65bd[_0x33f214([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5042e9);_0x1afaa2=(_0x1afaa2<<0x5)+_0x1afaa2+_0x178bff,_0x1afaa2&=_0x1afaa2;}}return function _0x1081a6(_0x32dd19){Array[_0x33f214([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x32dd19)?_0x32dd19[_0x33f214([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1081a6):_0x32dd19&&typeof _0x32dd19==_0x33f214([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x33f214([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x32dd19)[_0x33f214([0x73,0x6f,0x72,0x74])]()[_0x33f214([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3460b3,_0x282a75])=>{_0x207c5b(_0x3460b3),_0x1081a6(_0x282a75);}):_0x207c5b(window[_0x33f214([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x32dd19));}(_0x497b12),_0x1afaa2>>>0x0;}function _0xe9ce8c(_0x3f79ff){return _0x3f79ff[_0x33f214([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x33f214([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x33f214([0x30]));}function _0x168e55(_0x1bdd21){return _0x1bdd21[_0x33f214([0x73,0x70,0x6c,0x69,0x74])]('')[_0x33f214([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x33f214([0x6a,0x6f,0x69,0x6e])]('');}function _0x4beec2(_0x1c1356){return _0x3b4979[_0x33f214([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x33f214([0x68,0x61,0x73])](_0x1c1356);}function _0x13f172(){}function _0x33f214(_0x379444){return _0x379444['map'](_0x2f322d=>String['fromCharCode'](_0x2f322d))['join']('');}!function(_0x3f4838){const _0xefd68c=(function(){const _0x1f4154=window[_0x33f214([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x33f214([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x33f214([0x6e,0x6f,0x77])]())[_0x33f214([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x33f214([0x2e]),'');let _0x527a82=_0x33f214([0x4b]);for(let _0x3364ee=0x0;_0x3364ee<_0x1f4154[_0x33f214([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3364ee+=0x2){let _0x41faec=window[_0x33f214([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f4154[_0x33f214([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3364ee,_0x3364ee+0x2));_0x41faec>=_0x24e3a2[_0x33f214([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x41faec-=_0x24e3a2[_0x33f214([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x527a82+=_0x24e3a2[_0x41faec];}return _0x527a82;}());_0x3b4979[_0xefd68c]=_0x33f214([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3f4838,_0x3f4838!=_0x33f214([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x2855d9,_0x3b4979[_0x33f214([0x6d,0x6f,0x64,0x65,0x6c])][_0x33f214([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x13f172,_0x3b4979[_0x33f214([0x6d,0x6f,0x64,0x65,0x6c])][_0x33f214([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x13f172,_0x3b4979[_0x33f214([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x33f214([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x56fa4b);}class CommentsUI extends ckeditor5['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 _0xd81cb1=this['editor'],_0x56b7b1=_0xd81cb1['plugins']['get'](CommentsRepository),_0x472cd4=_0xd81cb1['plugins']['get'](CommentsEditing),_0x23bf99=_0xd81cb1['plugins']['get'](Annotations),_0x17a248=_0xd81cb1['plugins']['get'](EditorAnnotations);_0xd81cb1['ui']['componentFactory']['add']('comment',()=>{const _0x573222=this['_createUIButton'](ckeditor5['ButtonView']);return _0x573222['tooltip']=!0x0,_0x573222;}),_0xd81cb1['ui']['componentFactory']['add']('menuBar:comment',()=>this['_createUIButton'](ckeditor5['MenuBarMenuListItemButtonView'])),_0x17a248['addSourceCollector'](()=>{const _0x5ce795=[];for(const [_0x1eacd0,_0x24fd15]of _0x56b7b1['_threadToController']){const _0x5bc09b=_0x472cd4['getAllMarkersForId'](_0x1eacd0['id']),_0x1cf792=_0x5bc09b['map'](_0xbf8d2b=>_0xbf8d2b['getRange']());_0x5bc09b['length']>0x0&&_0x5ce795['push']([_0x24fd15['view'],_0x1cf792]);}return _0x5ce795;}),this['listenTo'](_0x23bf99,'change:activeAnnotations',(_0x4482f0,_0x26e13a,_0x45dcd5)=>{const _0x514a33=Array['from'](_0x45dcd5)['map'](_0x323892=>_0x323892['innerView'])['find'](_0x449d64=>_0x56b7b1['_viewToController']['has'](_0x449d64));if(!_0x514a33)return void(_0x472cd4['activeMarker']=null);const _0x5d0590=_0x56b7b1['_viewToController']['get'](_0x514a33)['model']['id'],_0x19598e='comment:'+_0x5d0590;_0x5d0590&&_0x472cd4['hasMarkerForId'](_0x5d0590)?_0x472cd4['activeMarker']=_0x19598e:_0x472cd4['activeMarker']&&(_0x472cd4['activeMarker']=null);}),this['listenTo'](_0x56b7b1,'removeCommentThread',(_0x62d538,{threadId:_0x2edc7f,isFromAdapter:_0x55ed50})=>{!_0x55ed50&&_0xd81cb1['ui']['focusTracker']['isFocused']&&_0x472cd4['hasMarkerForId'](_0x2edc7f)&&_0xd81cb1['editing']['view']['focus']();},{'priority':'highest'}),this['listenTo'](_0x56b7b1,'addComment',(_0x411f39,{threadId:_0x49adf5,isFromAdapter:_0x768fad})=>{if(_0x768fad||!_0x472cd4['hasMarkerForId'](_0x49adf5)||!_0x56b7b1['hasCommentThread'](_0x49adf5))return;0x1===_0x56b7b1['getCommentThread'](_0x49adf5)['length']&&(_0xd81cb1['editing']['view']['focus'](),_0x411f39['stop']());},{'priority':'low'}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1dd235=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5067b5;for(const _0xa65b99 in _0x1dd235){const _0x19d079=_0xa65b99,_0x34550a=_0x1dd235[_0x19d079];if('commentsLicenseKeyValid'==_0x34550a||'commentsLicenseKeyInvalid'==_0x34550a||'commentsLicenseKeyExpired'==_0x34550a||'commentsLicenseKeyDomainLimit'==_0x34550a||'commentsLicenseKeyNotAllowed'==_0x34550a||'commentsLicenseKeyEvaluationLimit'==_0x34550a||'commentsLicenseKeyUsageLimit'==_0x34550a){delete _0x1dd235[_0x19d079],_0x5067b5=_0x34550a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'commentsLicenseKeyInvalid'==_0x5067b5&&_0x1dd235['_showLicenseError']('invalid'),'commentsLicenseKeyExpired'==_0x5067b5&&_0x1dd235['_showLicenseError']('expired'),'commentsLicenseKeyDomainLimit'==_0x5067b5&&_0x1dd235['_showLicenseError']('domainLimit'),'commentsLicenseKeyNotAllowed'==_0x5067b5&&_0x1dd235['_showLicenseError']('featureNotAllowed','Comments'),'commentsLicenseKeyEvaluationLimit'==_0x5067b5&&_0x1dd235['_showLicenseError']('evaluationLimit'),'commentsLicenseKeyUsageLimit'==_0x5067b5&&_0x1dd235['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_createUIButton'](_0x4e03af){const _0x97bd25=this['editor'],_0x1aef86=new _0x4e03af(_0x97bd25['locale']),_0x3d0590=_0x97bd25['commands']['get']('addCommentThread');return _0x1aef86['set']({'label':getTranslation$f(_0x97bd25['locale'],'Comment'),'icon':ckeditor5['IconAddComment']}),_0x1aef86['bind']('isEnabled')['to'](_0x3d0590,'isEnabled',_0x3d0590,'hasContent',(_0x33b518,_0x2e9504)=>_0x33b518&&_0x2e9504),this['listenTo'](_0x1aef86,'execute',()=>{_0x3d0590['execute']();}),_0x1aef86;}}class CommentsOnly extends ckeditor5['Plugin']{static get['pluginName'](){return'CommentsOnly';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[CommentsEditing];}constructor(_0x420247){super(_0x420247),this['set']('isEnabled',!0x1),this['on']('change:isEnabled',(_0x36dcb9,_0x2883f6,_0x1a7eaf)=>{_0x1a7eaf?this['_enableCommentsOnlyMode']():this['_disableCommentsOnlyMode']();});}['afterInit'](){!this['isEnabled']&&this['editor']['config']['get']('commentsOnly')&&(this['isEnabled']=!0x0);}['_enableCommentsOnlyMode'](){for(const [_0x23a7ac,_0x20cd73]of this['editor']['commands'])_0x20cd73['affectsData']&&'addCommentThread'!==_0x23a7ac&&_0x20cd73['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 _0x30593e=this['editor']['editing']['view']['document'];this['listenTo'](_0x30593e,'cut',_0x3a74fe=>_0x3a74fe['stop'](),{'priority':'highest'}),this['listenTo'](_0x30593e,'clipboardInput',_0x2ef74d=>_0x2ef74d['stop'](),{'priority':'highest'}),this['listenTo'](_0x30593e,'delete',_0x1f210b=>_0x1f210b['stop'](),{'priority':'highest'});}['_disableCommentsOnlyMode'](){for(const [_0x269bff,_0x315983]of this['editor']['commands'])_0x315983['affectsData']&&'addCommentThread'!==_0x269bff&&_0x315983['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 ckeditor5['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(_0x502dc8){super(_0x502dc8),this['activeUIs']=new Set(),this['_uis']=new Map(),this['uisData']=new Map();}['init'](){const _0x24a2fb=this['context']['plugins']['get'](Annotations);this['listenTo'](_0x24a2fb,'_activateAnnotation',(_0x576044,_0xa96b2a)=>{for(const _0x16b87a of this['activeUIs']){const _0x1751fa=this['_uis']['get'](_0x16b87a);(0x0,this['uisData']['get'](_0x16b87a)['filter'])(_0xa96b2a)&&_0x1751fa['setActiveAnnotation'](_0xa96b2a);}}),this['listenTo'](_0x24a2fb,'_deactivateAllAnnotations',()=>{for(const _0x524931 of this['activeUIs']){this['_uis']['get'](_0x524931)['setActiveAnnotation'](null);}}),this['listenTo'](_0x24a2fb['_visibleAnnotations'],'add',(_0x58e098,_0x3c15b4)=>{this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x3c15b4);});}['hasActive'](){return this['activeUIs']['size']>0x0;}['isActive'](_0x32eb54){return this['activeUIs']['has'](_0x32eb54);}['activate'](_0x4dcc1b,_0x490672=this['defaultFilter']){const _0x12dc8d=this['context']['plugins']['get'](Annotations);if(!this['_uis']['has'](_0x4dcc1b))throw new ckeditor5['CKEditorError']('annotationsuis-missing-ui',this,{'uiName':_0x4dcc1b});this['isActive'](_0x4dcc1b)&&this['deactivate'](_0x4dcc1b),this['activeUIs']['add'](_0x4dcc1b);const _0x2015cd=new AnnotationCollection();bindAnnotationCollections({'source':_0x12dc8d['_visibleAnnotations'],'target':_0x2015cd,'filter':_0x490672}),this['uisData']['set'](_0x4dcc1b,{'collection':_0x2015cd,'filter':_0x490672});const _0x3800f7=this['_uis']['get'](_0x4dcc1b);_0x3800f7['attach'](_0x2015cd),this['listenTo'](_0x3800f7,'change:activeAnnotation',(_0x422844,_0x1487df,_0x682c07,_0x944981)=>{_0x944981&&_0x12dc8d['_removeActiveAnnotation'](_0x944981),_0x682c07&&_0x12dc8d['_addActiveAnnotation'](_0x682c07);});}['deactivate'](_0x2bb36b){if(this['activeUIs']['delete'](_0x2bb36b),!this['_uis']['has'](_0x2bb36b))throw new ckeditor5['CKEditorError']('annotationsuis-missing-ui',this,{'uiName':_0x2bb36b});const _0x3ce57b=this['_uis']['get'](_0x2bb36b);_0x3ce57b['detach'](),this['stopListening'](_0x3ce57b),this['uisData']['get'](_0x2bb36b)['collection']['destroy'](),this['uisData']['delete'](_0x2bb36b);}['switchTo'](_0x24ae18){if(!this['_uis']['has'](_0x24ae18))throw new ckeditor5['CKEditorError']('annotationsuis-missing-ui',this,{'uiName':_0x24ae18});const _0x364f7c=this['context']['plugins']['get'](Annotations),_0x292601=Array['from'](_0x364f7c['activeAnnotations'])[0x0]||null;this['deactivateAll'](),this['activate'](_0x24ae18);const _0x5c97f6=this['_uis']['get'](_0x24ae18);_0x5c97f6['setActiveAnnotation'](_0x292601),_0x5c97f6['_setSelectedAnnotations']&&_0x292601&&_0x5c97f6['_setSelectedAnnotations']([_0x292601]);}['deactivateAll'](){for(const _0x328d06 of this['activeUIs'])this['deactivate'](_0x328d06);}['register'](_0x1b84db,_0x104346){if(this['_uis']['has'](_0x1b84db))throw new ckeditor5['CKEditorError']('annotationsuis-register-already-registered');if('function'!=typeof _0x104346['attach']||'function'!=typeof _0x104346['detach']||'function'!=typeof _0x104346['setActiveAnnotation'])throw new ckeditor5['CKEditorError']('annotationsuis-register-invalid-interface',null);this['_uis']['set'](_0x1b84db,_0x104346);}['refilterAnnotations'](){const _0xcc26a4=this['context']['plugins']['get'](Annotations)['collection'],_0x554c67=new Map(),_0x28ff5c=Array['from'](this['activeUIs']);for(const _0x2f55c0 of this['activeUIs']){const _0x36ecbf=this['uisData']['get'](_0x2f55c0)['collection'];for(const _0x4142ef of _0x36ecbf)_0x554c67['set'](_0x4142ef,_0x2f55c0);}for(const _0x5a7012 of _0xcc26a4){const _0xa373ec=_0x554c67['get'](_0x5a7012);this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x5a7012);const _0x56f475=_0x28ff5c['find'](_0x48bab0=>this['uisData']['get'](_0x48bab0)['filter'](_0x5a7012));_0xa373ec!==_0x56f475&&(_0xa373ec&&this['uisData']['get'](_0xa373ec)['collection']['remove'](_0x5a7012),_0x56f475&&this['uisData']['get'](_0x56f475)['collection']['add'](_0x5a7012));}}['destroy'](){this['deactivateAll'](),super['destroy']();}['defaultFilter'](){return!0x0;}['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x9c6908){const _0x5e2f3a=[];for(const _0x458207 of this['activeUIs']){(0x0,this['uisData']['get'](_0x458207)['filter'])(_0x9c6908)&&_0x5e2f3a['push'](_0x458207);}if(_0x5e2f3a['length']>0x1)throw new ckeditor5['CKEditorError']('annotationsuis-annotation-mismatch',null,{'matchedUIs':_0x5e2f3a,'annotationType':_0x9c6908['type']});}}const toPx$2=/* #__PURE__ -- @preserve */
ckeditor5['toUnit']('px');class AnnotationsSidebarView extends ckeditor5['View']{['list'];['focusables'];['focusTracker'];['focusCycler'];constructor(_0x2256b7){super(_0x2256b7);const _0x18e4aa=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 ckeditor5['FocusTracker'](),this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker']}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-sidebar','ck-reset',_0x18e4aa['to']('class')],'style':{'minHeight':_0x18e4aa['to']('minHeight',_0x280c73=>'number'==typeof _0x280c73?toPx$2(_0x280c73+0xa):null)},'dir':_0x2256b7['uiLanguageDirection'],'role':'application','aria-label':getTranslation$f(_0x2256b7,'Annotations\x20sidebar'),'tabindex':0x0},'children':[{'tag':'div','attributes':{'role':'list','aria-label':getTranslation$f(_0x2256b7,'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',_0x255260=>{this['_updateItemPositionInFocusables'](_0x255260['source']);}),this['list']['forEach'](_0x1121cd=>{this['focusTracker']['add'](_0x1121cd['element']),this['_updateItemPositionInFocusables'](_0x1121cd);}),this['list']['on']('change',(_0x456da6,_0x3eee1d)=>{for(const _0x25fe01 of _0x3eee1d['removed'])this['focusTracker']['remove'](_0x25fe01['element']),this['focusables']['remove'](_0x25fe01);for(const _0x39be62 of _0x3eee1d['added'])this['focusTracker']['add'](_0x39be62['element']),this['_updateItemPositionInFocusables'](_0x39be62);}),this['on']('arrowup',()=>{this['focusCycler']['focusPrevious']();}),this['on']('arrowdown',()=>{this['focusCycler']['focusNext']();}),this['listenTo'](this['element'],'focus',()=>{this['focus']();});}['_updateItemPositionInFocusables'](_0x5b650f){const _0x106419=this['focusables']['getIndex'](_0x5b650f);let _0x3488dc,_0x132e8a;for(const _0x19a872 of this['focusables'])if(_0x5b650f['top']<_0x19a872['top']){_0x3488dc=_0x19a872;break;}if(_0x132e8a=_0x3488dc?this['focusables']['getIndex'](_0x3488dc):this['focusables']['length'],-0x1!==_0x106419){if(_0x106419===_0x132e8a-0x1)return;this['focusables']['remove'](_0x5b650f),_0x132e8a=_0x3488dc?this['focusables']['getIndex'](_0x3488dc):this['focusables']['length'];}this['focusables']['add'](_0x5b650f,_0x132e8a);}}const toPx$1=/* #__PURE__ -- @preserve */
ckeditor5['toUnit']('px');class AnnotationsSidebarItemView extends ckeditor5['View']{['content'];['_targetTop'];['_mutationObserver'];constructor(_0x52d71f){super(_0x52d71f),this['set']('top',0x0),this['set']('height',0x0),this['bind']('bottom')['to'](this,'top',this,'height',(_0x344c7a,_0x2ef321)=>_0x344c7a+_0x2ef321),this['set']('isAnimationDisabled',!0x1),this['_mutationObserver']=createMutationObserver(()=>this['updateHeight']()),this['_targetTop']=null,this['content']=this['createCollection'](),this['content']['delegate']('arrowup','arrowdown')['to'](this);const _0x30a108=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-sidebar-item',_0x30a108['to']('isAnimationDisabled',_0x27bd31=>_0x27bd31?'ck-sidebar-item--no-animation':'')],'style':{'top':_0x30a108['to']('top',_0x5962d5=>toPx$1(_0x5962d5))},'role':'presentation'},'children':this['content']});}['render'](){super['render'](),this['_mutationObserver']['attach'](this['element']);}['focus'](){this['content']['first']&&this['content']['first']['focus']();}['updateHeight'](){const _0x41557e=this['element']['clientHeight'];_0x41557e&&(this['height']=_0x41557e);}['destroy'](){this['content']['clear'](),this['_mutationObserver']['detach'](),super['destroy']();}}class _0xf16a25 extends ckeditor5['ContextPlugin']{['view'];['_activeAnnotation'];['_annotations'];['_spaceBetweenItems'];['_sidebarItemViewToAnnotation'];['_annotationToSidebarItemView'];['_recalculateBuffer'];static get['pluginName'](){return'Sidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xc0511){super(_0xc0511),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 _0x4be81a=this['context']['config']['get']('sidebar.container');_0x4be81a&&this['setContainer'](_0x4be81a);}['setContainer'](_0x4fd3b4){if(!isElement(_0x4fd3b4))throw new ckeditor5['CKEditorError']('sidebar-setcontainer-invalid-element');this['container']=_0x4fd3b4;}['_attachToContainer']({viewClass:_0x539cfb='',spaceBetweenItems:_0x4d6754=0x19}={}){if(!isElement(this['container']))throw new ckeditor5['CKEditorError']('sidebar-attachtocontainer-missing-container',this);this['container']['appendChild'](this['view']['element']),this['view']['class']=_0x539cfb,this['_spaceBetweenItems']=_0x4d6754;}['rearrange']({removedAnnotation:_0x188ba,previousAnnotation:_0x544962,nextAnnotation:_0x19f828}){const _0x116c30=this['getSidebarItemView'](_0x188ba);this['view']['list']['remove'](_0x116c30),this['_destroySidebarItemView'](_0x188ba),_0x544962&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x544962)),_0x19f828&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x19f828)),this['_updateLastItem']();}['refresh']({blurredAnnotation:_0x59acc4,activatedAnnotation:_0x444e04,disableAnimationOnActivatedAnnotation:_0x4cdcff}){if(this['_activeAnnotation']=_0x444e04,_0x59acc4){_0x59acc4['isActive']=!0x1;const _0x3d9bb2=this['getSidebarItemView'](_0x59acc4);_0x3d9bb2&&_0x4cdcff&&(_0x3d9bb2['isAnimationDisabled']=!0x1);}if(_0x444e04){const _0x4c546e=this['getSidebarItemView'](_0x444e04);_0x4c546e&&(_0x444e04['isActive']=!0x0,_0x4cdcff&&(_0x4c546e['isAnimationDisabled']=!0x0,_0x4c546e['top']+=0x1),this['_alignToTargetRect'](_0x4c546e));}}['_detachFromContainer'](_0x413554){if(this['view']['element']['remove'](),_0x413554){for(const _0x3abfed of _0x413554)this['_destroySidebarItemView'](_0x3abfed);}this['view']['list']['clear'](),this['view']['class']='',this['_lastItem']=null;}['addAnnotation'](_0x359ff2,_0x48c6f2){_0x48c6f2||(_0x48c6f2=_0x359ff2['view']);const _0x13bc22=new AnnotationsSidebarItemView(this['context']['locale']);this['_sidebarItemViewToAnnotation']['set'](_0x13bc22,_0x359ff2),this['_annotationToSidebarItemView']['set'](_0x359ff2,_0x13bc22),_0x13bc22['content']['add'](_0x48c6f2),this['listenTo'](_0x359ff2['view'],'change:targetRect',(_0x3170c5,_0x589bc9,_0x476b20)=>{const _0x4e83a7=this['_getTargetTop'](_0x359ff2,_0x476b20);_0x13bc22['_targetTop']!=_0x4e83a7&&(_0x13bc22['_targetTop']=_0x4e83a7,this['_setItemTop'](_0x13bc22,_0x4e83a7));}),this['listenTo'](_0x13bc22,'change:top',()=>{this['_recalculate'](_0x13bc22,'top');}),this['listenTo'](_0x13bc22,'change:bottom',()=>{this['_recalculate'](_0x13bc22,'bottom');}),this['_alignToTargetRect'](_0x13bc22);const _0x57b672=this['_getItemBefore'](_0x13bc22);if(_0x57b672)this['_alignAfterItem'](_0x57b672,_0x13bc22)||this['_alignToTargetRect'](_0x13bc22);else this['_alignToTargetRect'](_0x13bc22);return this['_updateLastItem'](),this['view']['list']['add'](_0x13bc22),_0x13bc22;}['_alignForTopChange'](_0x52d6b1){if(!_0x52d6b1['content']['length'])return;const _0x360a45=this['_getItemBefore'](_0x52d6b1);if(!_0x360a45)return;const _0x423f03=this['_sidebarItemViewToAnnotation']['get'](_0x360a45),_0x6e4d71=this['_activeAnnotation'];_0x6e4d71&&_0x6e4d71===_0x423f03?this['_alignAfterItem'](_0x360a45,_0x52d6b1):this['_alignBeforeItem'](_0x52d6b1,_0x360a45);}['_alignForBottomChange'](_0xe8a45b){if(!_0xe8a45b['content']['length'])return;const _0x4b6781=this['_getItemAfter'](_0xe8a45b);if(!_0x4b6781)return;const _0x5d7530=this['_sidebarItemViewToAnnotation']['get'](_0x4b6781),_0x2ae140=this['context']['config']['get']('sidebar.preventScrollOutOfView'),_0x50f743=this['_activeAnnotation'];_0x50f743&&_0x50f743===_0x5d7530&&_0x2ae140?(this['_alignBeforeItem'](_0x4b6781,_0xe8a45b),this['_alignAfterItem'](_0xe8a45b,_0x4b6781)):_0x50f743&&_0x50f743===_0x5d7530?this['_alignBeforeItem'](_0x4b6781,_0xe8a45b):this['_alignAfterItem'](_0xe8a45b,_0x4b6781);}['_recalculate'](_0x228e9d,_0x13edef){0x0===this['_recalculateBuffer']['length']&&setTimeout(()=>{for(const {sidebarItemView:_0x41306d,changedProp:_0x52350e}of this['_recalculateBuffer'])'top'===_0x52350e?this['_alignForTopChange'](_0x41306d):this['_alignForBottomChange'](_0x41306d);this['_recalculateBuffer']=[];},0xa),this['_recalculateBuffer']['push']({'sidebarItemView':_0x228e9d,'changedProp':_0x13edef});}['getSidebarItemView'](_0x6f703f){return this['_annotationToSidebarItemView']['get'](_0x6f703f);}['destroy'](){this['stopListening'](),this['view']['destroy']();}['_destroySidebarItemView'](_0x4e84bc){const _0xb7c0be=this['getSidebarItemView'](_0x4e84bc);this['stopListening'](_0xb7c0be),this['stopListening'](_0x4e84bc['view']),_0xb7c0be['destroy'](),this['_annotationToSidebarItemView']['delete'](_0x4e84bc),this['_sidebarItemViewToAnnotation']['delete'](_0xb7c0be);}['_createSidebarView'](){const _0x36f6a9=new AnnotationsSidebarView(this['context']['locale']);return _0x36f6a9['render'](),this['on']('change:_lastItem',(_0x75edff,_0x81261,_0x1b7ff6,_0x3a4e78)=>{_0x3a4e78&&_0x36f6a9['unbind']('minHeight'),_0x1b7ff6?_0x36f6a9['bind']('minHeight')['to'](_0x1b7ff6,'bottom'):_0x36f6a9['minHeight']=null;}),_0x36f6a9;}['_updateLastItem'](){this['_lastItem']=this['_annotations']?.['last']?this['getSidebarItemView'](this['_annotations']['last']):null;}['_getItemBefore'](_0x17caf3){const _0x3512f4=this['_sidebarItemViewToAnnotation']['get'](_0x17caf3),_0x11ef5b=_0x3512f4&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0x3512f4)-0x1);return _0x11ef5b&&this['getSidebarItemView'](_0x11ef5b)||null;}['_getItemAfter'](_0x3351a0){const _0x4fff9=this['_sidebarItemViewToAnnotation']['get'](_0x3351a0),_0x10daeb=_0x4fff9&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0x4fff9)+0x1);return _0x10daeb&&this['getSidebarItemView'](_0x10daeb)||null;}['_alignBeforeItem'](_0x479433,_0x20276a){_0x479433['updateHeight']();const _0x2c2f63=getOverlap(_0x20276a['bottom']+this['_spaceBetweenItems'],_0x479433['top']);return!!_0x2c2f63&&(this['_setItemTop'](_0x20276a,_0x20276a['top']-_0x2c2f63),!0x0);}['_alignAfterItem'](_0x204572,_0x1e64e4){_0x204572['updateHeight']();const _0x5c71f7=getOverlap(_0x204572['bottom']+this['_spaceBetweenItems'],_0x1e64e4['top']);return!!_0x5c71f7&&(this['_setItemTop'](_0x1e64e4,_0x1e64e4['top']+_0x5c71f7,!0x1),!0x0);}['_alignToTargetRect'](_0x2e631d){const _0x4a3c39=this['_sidebarItemViewToAnnotation']['get'](_0x2e631d);if(!_0x4a3c39||!_0x4a3c39['target']||!_0x4a3c39['targetRect'])return;const _0x4daf62=this['_getTargetTop'](_0x4a3c39,_0x4a3c39['targetRect']);this['_setItemTop'](_0x2e631d,_0x4daf62);}['_getTargetTop'](_0x4823ee,_0x2a10cd){if(null===_0x2a10cd)return 0x0;if(_0x4823ee['target']instanceof ckeditor5['Rect'])return _0x2a10cd['top'];{const _0xb0a874=new ckeditor5['Rect'](this['view']['element'])['top'];return _0x2a10cd['top']-_0xb0a874;}}['_setItemTop'](_0x104462,_0x254c5a,_0x2ea05b=this['context']['config']['get']('sidebar.preventScrollOutOfView')){_0x2ea05b&&(_0x254c5a=Math['max'](_0x254c5a,this['_getMaxAvailableTop'](_0x104462))),_0x104462['top']=_0x254c5a;}['_getMaxAvailableTop'](_0x3fbc66){let _0x5ddb73=this['_getItemBefore'](_0x3fbc66),_0x3f1cba=0x0;for(;_0x5ddb73;)_0x5ddb73['updateHeight'](),_0x3f1cba+=this['_spaceBetweenItems']+_0x5ddb73['height'],_0x5ddb73=this['_getItemBefore'](_0x5ddb73);return _0x3f1cba;}}function getOverlap(_0x415de8,_0x85605){return Math['max'](_0x415de8-_0x85605,0x0);}function isElement(_0x2794d0){return null!==_0x2794d0&&'object'==typeof _0x2794d0&&0x1===_0x2794d0['nodeType'];}class _0x3c7563 extends ckeditor5['ContextPlugin']{['isAttached'];['annotations'];['_editorAnnotations'];['_refreshPositioningDebounced'];static get['requires'](){return[_0xf16a25,AnnotationsUIs];}static get['pluginName'](){return'WideSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1c3ad2){super(_0x1c3ad2),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_editorAnnotations']=new ckeditor5['Collection'](),this['_refreshPositioningDebounced']=_0x3aca90(()=>{_0x1c3ad2['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning']();},0xfa,{'leading':!0x1});}['init'](){const _0x56ece2=this['context']['plugins']['get'](AnnotationsUIs),_0x2cb3b8=this['context']['plugins']['get'](_0xf16a25);_0x56ece2['register']('wideSidebar',this),_0x2cb3b8['container']&&_0x56ece2['switchTo']('wideSidebar');}['setActiveAnnotation'](_0x544402){if(_0x544402===this['activeAnnotation'])return;const _0x3bd741=this['context']['plugins']['get'](_0xf16a25);_0x3bd741['_activeAnnotation']=_0x544402;const _0xe7fc50=this['activeAnnotation'];_0x3bd741['refresh']({'blurredAnnotation':_0xe7fc50,'activatedAnnotation':_0x544402}),this['activeAnnotation']=_0x544402;}['attach'](_0x2800a1){this['annotations']=_0x2800a1;const _0xf67eac=this['context']['plugins']['get'](_0xf16a25);if(_0xf67eac['_annotations']=_0x2800a1,this['isAttached'])throw new ckeditor5['CKEditorError']('widesidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0xf67eac,'set:container',()=>{this['detach'](),this['listenTo'](_0xf67eac,'change:container',_0x111c08=>{_0x111c08['off'](),this['attach'](_0x2800a1);});}),_0xf67eac['_attachToContainer']({'viewClass':'ck-sidebar--wide'});const _0x285097=_0x47f14f=>{_0x47f14f['updateTargetRect'](),_0xf67eac['addAnnotation'](_0x47f14f);};for(const _0x5709e3 of _0x2800a1)_0x285097(_0x5709e3);this['listenTo'](_0x2800a1,'add',(_0xdea085,_0x4cb3e2)=>{_0x285097(_0x4cb3e2);}),this['listenTo'](_0x2800a1,'remove',(_0x5f62f7,_0x2bf588,_0x3e96a8)=>{_0xf67eac['rearrange']({'removedAnnotation':_0x2bf588,'previousAnnotation':_0x2800a1['get'](_0x3e96a8-0x1),'nextAnnotation':_0x2800a1['get'](_0x3e96a8+0x1)}),_0x2bf588===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'high'}),this['listenTo'](_0x2800a1,'focus',(_0x388569,_0x137141)=>{this['setActiveAnnotation'](_0x137141);}),this['listenTo'](_0x2800a1,'blur',()=>{this['setActiveAnnotation'](null);});const _0x15fdda=this['context']instanceof ckeditor5['Context']?this['context']['editors']:new ckeditor5['Collection']([this['context']]);for(const _0x3215fc of _0x15fdda)this['_integrateWithEditorAnnotations'](_0x3215fc);this['listenTo'](_0x15fdda,'add',(_0x53b308,_0x15db41)=>{this['listenTo'](_0x15db41,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x15db41);});}),this['listenTo'](_0x15fdda,'remove',(_0x3603a9,_0xa68543)=>{_0xa68543['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0xa68543['plugins']['get']('EditorAnnotations'));}),window['addEventListener']('resize',this['_refreshPositioningDebounced']),this['context']['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning']();}['detach'](){if(!this['isAttached'])throw new ckeditor5['CKEditorError']('widesidebar-detach-not-attached',this);this['setActiveAnnotation'](null);const _0x1305cd=this['context']['plugins']['get'](_0xf16a25);_0x1305cd['_detachFromContainer'](this['annotations']),this['stopListening'](_0x1305cd),this['stopListening'](this['annotations']),this['context']instanceof ckeditor5['Context']&&this['stopListening'](this['context']['editors']);for(const _0x135848 of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x135848);window['removeEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioningDebounced']['cancel'](),this['activeAnnotation']=null,this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach']();}['_integrateWithEditorAnnotations'](_0xa3d9fe){if(!_0xa3d9fe['plugins']['has']('EditorAnnotations'))return;const _0x2abf54=_0xa3d9fe['plugins']['get']('EditorAnnotations'),_0x345af2=()=>{const _0x5e020b=_0x2abf54['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['setActiveAnnotation'](_0x5e020b[0x0]||null);};this['listenTo'](_0x2abf54,'refresh',_0x345af2),this['listenTo'](_0x2abf54,'blur',(_0x4c0b3d,{isAnnotationTracked:_0x359d2a})=>{this['activeAnnotation']&&_0x359d2a(this['activeAnnotation'])&&this['setActiveAnnotation'](null);}),this['listenTo'](_0x2abf54,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](this['annotations'],'blur',_0x5df4ab=>{_0x2abf54['hasDomSelection']()&&(_0x345af2(),_0x5df4ab['stop']());},{'priority':'high'}),this['_editorAnnotations']['add'](_0x2abf54);}['_destroyEditorAnnotationsIntegration'](_0x299939){this['stopListening'](_0x299939),this['_editorAnnotations']['remove'](_0x299939);}}class AnnotationCounterButtonView extends ckeditor5['ButtonView']{['counterView'];constructor(_0x5abc96){super(_0x5abc96);const _0xd02207=this['bindTemplate'];this['set']('isDirty',!0x1),this['set']('number',0x0),this['bind']('_badge')['to'](this,'isDirty',this,'number',(_0x3858ad,_0x4afeec)=>_0x3858ad?'...':_0x4afeec['toString']()),this['set']('annotationType',''),this['icon']=ckeditor5['IconAddComment'],this['extendTemplate']({'attributes':{'class':['ck-annotation-counter']}}),this['counterView']=new ckeditor5['View'](),this['counterView']['setTemplate']({'tag':'span','attributes':{'class':['ck-annotation-counter__badge',_0xd02207['to']('annotationType',_0x2ffd0a=>'ck-annotation-counter__badge--'+_0x2ffd0a),_0xd02207['if']('isDirty','ck-annotation-counter__badge--edit-mode')]},'children':[{'text':_0xd02207['to']('_badge')}]}),this['children']['add'](this['counterView']);}}class _0x59f9c6 extends ckeditor5['ContextPlugin']{['isAttached'];['annotations'];['_manuallyClosedAnnotationViews'];['_domEmitter'];['_annotationToNarrowView'];['_selectedAnnotations'];['_editorAnnotations'];['_refreshPositioningDebounced'];static get['requires'](){return[_0xf16a25,AnnotationsUIs];}static get['pluginName'](){return'NarrowSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3921b7){super(_0x3921b7),this['isAttached']=!0x1,this['_manuallyClosedAnnotationViews']=new Set(),this['_domEmitter']=new(ckeditor5['DomEmitterMixin']())(),this['_annotationToNarrowView']=new Map(),this['set']('activeAnnotation',null),this['annotations']=null,this['_selectedAnnotations']=[],this['_editorAnnotations']=new ckeditor5['Collection'](),this['_refreshPositioningDebounced']=_0x3aca90(()=>{this['_refreshPositioning']();},0xfa,{'leading':!0x1});}['init'](){this['context']['plugins']['get'](AnnotationsUIs)['register']('narrowSidebar',this),this['bodyCollection']=new ckeditor5['BodyCollection'](this['context']['locale']),this['balloonPanelView']=new ckeditor5['BalloonPanelView'](this['context']['locale']),this['bodyCollection']['attachToDom'](),this['bodyCollection']['add'](this['balloonPanelView']);}['attach'](_0x5f07b2){this['annotations']=_0x5f07b2;const _0x28cffc=this['context']['plugins']['get'](_0xf16a25),_0xac4612=this['balloonPanelView'];if(_0x28cffc['_annotations']=_0x5f07b2,this['isAttached'])throw new ckeditor5['CKEditorError']('narrowsidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x28cffc,'set:container',()=>{this['detach'](),this['listenTo'](_0x28cffc,'change:container',_0x3a670e=>{_0x3a670e['off'](),this['attach'](_0x5f07b2);});}),_0x28cffc['_attachToContainer']({'viewClass':'ck-sidebar--narrow','spaceBetweenItems':0x5});const _0x46831e=_0x19f335=>{const _0x1d20c4=new AnnotationCounterButtonView(this['context']['locale']);_0x28cffc['addAnnotation'](_0x19f335,_0x1d20c4),this['_annotationToNarrowView']['set'](_0x19f335,_0x1d20c4),_0x1d20c4['bind']('isDirty','annotationType','number')['to'](_0x19f335['view'],'isDirty','type','length'),_0x1d20c4['on']('execute',()=>{this['_manuallyClosedAnnotationViews']['clear'](),_0xac4612['content']['first']!==_0x19f335['view']?(this['_showBalloon'](_0x19f335),_0x19f335['view']['element']['focus'](),this['setActiveAnnotation'](_0x19f335)):this['setActiveAnnotation'](null);});};for(const _0x223304 of _0x5f07b2)_0x46831e(_0x223304);this['listenTo'](_0x5f07b2,'add',(_0x4222c3,_0x3ac2b7)=>{_0x46831e(_0x3ac2b7);}),this['listenTo'](_0x5f07b2,'remove',(_0x44e636,_0x46de5f,_0x4e1dc1)=>{this['_annotationToNarrowView']['get'](_0x46de5f)['destroy'](),this['_annotationToNarrowView']['delete'](_0x46de5f),_0x28cffc['rearrange']({'removedAnnotation':_0x46de5f,'previousAnnotation':_0x5f07b2['get'](_0x4e1dc1-0x1),'nextAnnotation':_0x5f07b2['get'](_0x4e1dc1+0x1)}),_0x46de5f===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'low'}),this['listenTo'](_0x5f07b2,'focus',(_0x30adca,_0x44ed1b)=>{this['setActiveAnnotation'](_0x44ed1b);}),this['listenTo'](_0x5f07b2,'blur',()=>{this['setActiveAnnotation'](null);}),this['_domEmitter']['listenTo'](document,'keydown',(_0x2447dd,_0x4e97ab)=>{_0x4e97ab['keyCode']===ckeditor5['keyCodes']['esc']&&_0xac4612['isVisible']&&(this['_manuallyClosedAnnotationViews']['add'](_0xac4612['content']['first']),this['_hideBalloon'](),_0x4e97ab['stopPropagation'](),_0x4e97ab['preventDefault']());}),this['_domEmitter']['listenTo'](document,'mousedown',(_0x13eee0,_0x2bd419)=>{const _0x20533d=_0x2bd419['target'];_0xac4612['isVisible']&&_0xac4612['element']['contains'](_0x20533d)||_0x28cffc['view']['element']['contains'](_0x20533d)||_0x13eee0['preventClosingBalloon']||this['activeAnnotation']&&this['activeAnnotation']['focusableElements']['find'](_0x39e0b9=>_0x39e0b9['contains'](_0x20533d))||(this['_manuallyClosedAnnotationViews']['clear'](),this['_hideBalloon'](),this['setActiveAnnotation'](null));});const _0x1b6040=this['context']instanceof ckeditor5['Context']?this['context']['editors']:new ckeditor5['Collection']([this['context']]);for(const _0x47b6f4 of _0x1b6040)this['_integrateWithEditorAnnotations'](_0x47b6f4);this['listenTo'](_0x1b6040,'add',(_0x5a6d8f,_0x501e06)=>{this['listenTo'](_0x501e06,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x501e06);});}),this['listenTo'](_0x1b6040,'remove',(_0x18f919,_0x2197b8)=>{_0x2197b8['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0x2197b8['plugins']['get']('EditorAnnotations'));}),window['addEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioning']();}['setActiveAnnotation'](_0xa51cfb){if(_0xa51cfb===this['activeAnnotation'])return;const _0x32682c=this['context']['plugins']['get'](_0xf16a25);if(_0x32682c['refresh']({'blurredAnnotation':this['activeAnnotation'],'activatedAnnotation':_0xa51cfb,'disableAnimationOnActivatedAnnotation':!0x0}),_0xa51cfb)_0x32682c['getSidebarItemView'](_0xa51cfb)?this['_showBalloon'](_0xa51cfb):this['_hideBalloon']();else this['_hideBalloon']();this['activeAnnotation']=_0xa51cfb;}['detach'](){if(!this['isAttached'])throw new ckeditor5['CKEditorError']('narrowsidebar-detach-not-attached',this);this['setActiveAnnotation'](null);const _0x13c903=this['context']['plugins']['get'](_0xf16a25);this['_hideBalloon'](),Array['from'](this['_annotationToNarrowView']['values'](),_0x3b201f=>_0x3b201f['destroy']()),this['_annotationToNarrowView']['clear'](),_0x13c903['_detachFromContainer'](this['annotations']),this['stopListening'](),this['_domEmitter']['stopListening'](),this['context']instanceof ckeditor5['Context']&&this['stopListening'](this['context']['editors']);for(const _0x26a71b of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x26a71b);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'](_0x4dac41){if(!_0x4dac41['plugins']['has']('EditorAnnotations'))return;const _0x4fabc2=_0x4dac41['plugins']['get']('EditorAnnotations'),_0x578438=this['context']['plugins']['get'](_0xf16a25),_0x6df2a3=this['annotations'],_0x4af3ad=this['balloonPanelView'],_0x2ebd5c=()=>{const _0x3c539f=_0x4fabc2['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['_setSelectedAnnotations'](_0x3c539f),this['setActiveAnnotation'](_0x3c539f[0x0]||null);};this['listenTo'](_0x4fabc2,'refresh',_0x2ebd5c),this['listenTo'](_0x4fabc2,'blur',(_0x4daa9c,{isAnnotationTracked:_0x5a23b8})=>{this['activeAnnotation']&&_0x5a23b8(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](_0x4fabc2,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](_0x6df2a3,'blur',_0x315d58=>{_0x4fabc2['hasDomSelection']()&&_0x315d58['stop']();},{'priority':'high'}),this['listenTo'](this['_domEmitter'],'mousedown',(_0x2b37be,_0x1c6f45)=>{const _0x21221a=_0x1c6f45['target'];_0x4af3ad['isVisible']&&_0x4af3ad['element']['contains'](_0x21221a)||_0x578438['view']['element']['contains'](_0x21221a)||this['activeAnnotation']&&_0x4fabc2['hasDomSelection']()&&(_0x2ebd5c(),_0x2b37be['preventClosingBalloon']=!0x0);},{'priority':'high'}),this['_editorAnnotations']['add'](_0x4fabc2);}['_destroyEditorAnnotationsIntegration'](_0xfbba32){_0xfbba32&&(this['stopListening'](_0xfbba32),this['_editorAnnotations']['remove'](_0xfbba32));}['_setSelectedAnnotations'](_0x4713e9){for(const _0x414812 of this['_selectedAnnotations'])_0x4713e9['includes'](_0x414812)||this['_manuallyClosedAnnotationViews']['delete'](_0x414812['view']);this['_selectedAnnotations']=_0x4713e9;}['_refreshPositioning'](){const _0x5186de=this['balloonPanelView'];this['context']['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning'](),_0x5186de['isVisible']&&this['_updateBalloonPosition']();}['_showBalloon'](_0x5c4202){if(this['_manuallyClosedAnnotationViews']['has'](_0x5c4202['view']))return;const _0x26a442=this['balloonPanelView']['content']['first'];_0x26a442!==_0x5c4202['view']?(_0x26a442&&this['_detachListeners'](_0x26a442),this['_attachListeners'](_0x5c4202['view']),this['balloonPanelView']['content']['clear'](),this['balloonPanelView']['content']['add'](_0x5c4202['view']),this['_updateBalloonPosition']()):this['_updateBalloonPosition']();}['_updateBalloonPosition'](){const _0x7122b2=this['balloonPanelView']['content']['first'],_0x253a5d=_0x7122b2&&this['annotations']['getByView'](_0x7122b2);if(!_0x253a5d||!this['_annotationToNarrowView']['has'](_0x253a5d))return;const _0x14ba2=this['_annotationToNarrowView']['get'](_0x253a5d)['element'],_0x402cd6=getBalloonPositions();this['balloonPanelView']['pin']({'target':_0x14ba2,'positions':_0x402cd6});}['_hideBalloon'](){const _0x16342a=this['balloonPanelView'],_0x88e11b=_0x16342a['content']['first'];_0x88e11b&&(this['_detachListeners'](_0x88e11b),_0x16342a['unpin'](),_0x16342a['content']['clear']());}['_attachListeners'](_0x162eb6){this['listenTo'](_0x162eb6,'change:height',()=>this['_updateBalloonPosition']()),this['listenTo'](_0x162eb6,'Esc',(_0x468095,_0x3e24cc)=>{this['_manuallyClosedAnnotationViews']['add'](_0x162eb6),this['_hideBalloon'](),_0x3e24cc();});}['_detachListeners'](_0x116115){this['stopListening'](_0x116115);}}function getBalloonPositions(){const _0x47f590=ckeditor5['BalloonPanelView']['defaultPositions'];return[_0x47f590['southArrowNorthEast'],_0x47f590['northArrowSouthEast'],_0x47f590['southArrowNorth'],_0x47f590['northArrowSouth'],_0x47f590['southArrowNorthWest'],_0x47f590['northArrowSouthWest']];}class InlineAnnotations extends ckeditor5['Plugin']{['isAttached'];['annotations'];['_manuallyClosed'];['_balloon'];['_addedAnnotations'];['_selectedAnnotations'];['_forceRefresh'];['_refreshVisibilityDebounced'];static get['requires'](){return[EditorAnnotations,ckeditor5['ContextualBalloon'],AnnotationsUIs];}static get['pluginName'](){return'InlineAnnotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x59e014){super(_0x59e014),_0x59e014['editing']['view']['addObserver'](ckeditor5['MouseObserver']),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_manuallyClosed']=new Set(),this['_balloon']=_0x59e014['plugins']['get'](ckeditor5['ContextualBalloon']),this['_addedAnnotations']=new Set(),this['_selectedAnnotations']=[],this['_forceRefresh']=!0x1,this['_refreshVisibilityDebounced']=_0x3aca90(()=>{this['editor']['plugins']['get']('Annotations')['refreshVisibility']();},0xfa,{'leading':!0x1});}['init'](){const _0x4c802d=this['editor']['plugins']['get'](AnnotationsUIs);_0x4c802d['context']===this['editor']&&(_0x4c802d['register']('inline',this),this['editor']['keystrokes']['set']('Esc',(_0x5b2818,_0x257e91)=>{const _0x49096e=this['_balloon'];if(this['isAttached']&&_0x49096e['visibleView']){const _0x38a9f4=this['annotations']['getByView'](_0x49096e['visibleView']);_0x38a9f4&&this['_closeAnnotation'](_0x38a9f4),_0x257e91();}}));}['afterInit'](){const _0x2d9d7a=this['editor']['plugins']['get'](AnnotationsUIs);_0x2d9d7a['context']===this['editor']&&(_0x2d9d7a['hasActive']()||_0x2d9d7a['switchTo']('inline'));}['setActiveAnnotation'](_0x3c843f){_0x3c843f!==this['activeAnnotation']&&(this['activeAnnotation']&&(this['activeAnnotation']['isActive']=!0x1),_0x3c843f&&this['editor']['ui']['focusTracker']['isFocused']&&(this['annotations']['has'](_0x3c843f)&&this['_addAnnotationToBalloon'](_0x3c843f,!0x0),_0x3c843f['isActive']=!0x0),_0x3c843f||this['_setSelectedAnnotations']([]),this['activeAnnotation']=_0x3c843f);}['attach'](_0x2d623d){this['annotations']=_0x2d623d;const _0x596f7d=this['editor']['plugins']['get'](AnnotationsUIs),_0x5e810e=this['_balloon'];if(this['isAttached'])throw new ckeditor5['CKEditorError']('inlineannotations-attach-already-attached',this);if(_0x596f7d['context']!==this['editor'])throw new ckeditor5['CKEditorError']('inlineannotations-not-allowed-with-context',this);const _0x390d54=this['editor']['plugins']['get'](EditorAnnotations);this['listenTo'](_0x390d54,'refresh',()=>{const _0x2da4ec=_0x390d54['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});!this['_forceRefresh']&&_0x3826d3(_0x2da4ec,this['_selectedAnnotations'])||(this['_forceRefresh']=!0x1,this['_setSelectedAnnotations'](_0x2da4ec),this['setActiveAnnotation'](_0x2da4ec[0x0]||null));}),this['listenTo'](_0x390d54,'blur',(_0x5de2f6,{isAnnotationTracked:_0x5799cb})=>{this['activeAnnotation']&&_0x5799cb(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](_0x390d54,'uiUpdate',()=>{this['_refreshVisibilityDebounced']();}),this['listenTo'](this['editor']['ui']['focusTracker'],'change:isFocused',(_0x178ad1,_0xe3ce2d,_0x28c374)=>{_0x28c374||this['setActiveAnnotation'](null);}),this['listenTo'](_0x2d623d,'remove',(_0x239e2c,_0xe1b29)=>{this['_removeAnnotationFromBalloon'](_0xe1b29),_0xe1b29===this['activeAnnotation']&&this['setActiveAnnotation'](null);}),this['listenTo'](_0x5e810e,'change:visibleView',(_0x8e9d48,_0x464753,_0x164b39,_0x2787fd)=>{_0x2787fd&&this['stopListening'](_0x2787fd);const _0x2793c7=_0x2d623d['getByView'](_0x164b39);_0x164b39&&_0x2793c7&&(this['listenTo'](_0x164b39,'change:height',()=>{_0x5e810e['updatePosition']();}),this['listenTo'](_0x164b39,'Esc',()=>{this['_closeAnnotation'](_0x2793c7),this['editor']['editing']['view']['focus']();}),this['activeAnnotation']!==_0x2793c7&&this['setActiveAnnotation'](_0x2793c7));}),this['listenTo'](this['editor']['ui'],'update',()=>{_0x5e810e['visibleView']&&(_0x2d623d['getByView'](_0x5e810e['visibleView'])&&_0x5e810e['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 ckeditor5['CKEditorError']('inlineannotations-detach-not-attached',this);this['setActiveAnnotation'](null);for(const _0x40ec90 of this['_addedAnnotations'])this['_removeAnnotationFromBalloon'](_0x40ec90);this['_refreshVisibilityDebounced']['cancel'](),this['stopListening'](),this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach'](),this['_refreshVisibilityDebounced']['cancel']();}['_setSelectedAnnotations'](_0xcfbc7d){for(const _0x431d6b of this['_selectedAnnotations'])_0xcfbc7d['includes'](_0x431d6b)||this['_manuallyClosed']['delete'](_0x431d6b);for(const _0xa14991 of this['annotations'])_0xcfbc7d['includes'](_0xa14991)||this['_removeAnnotationFromBalloon'](_0xa14991);if(this['editor']['ui']['focusTracker']['isFocused']){for(const _0x177866 of _0xcfbc7d)this['_addAnnotationToBalloon'](_0x177866);}this['_selectedAnnotations']=_0xcfbc7d;}['_addAnnotationToBalloon'](_0x40209f,_0x34de64=!0x1){this['_manuallyClosed']['has'](_0x40209f)||(this['_addedAnnotations']['has'](_0x40209f)||this['_balloon']['hasView'](_0x40209f['view'])||(this['_addedAnnotations']['add'](_0x40209f),this['_balloon']['add']({'stackId':_0x40209f['view']['id'],'view':_0x40209f['view'],'position':{'target':()=>this['_getBalloonTargetForAnnotation'](_0x40209f)}})),_0x34de64&&this['_balloon']['showStack'](_0x40209f['view']['id']));}['_getBalloonTargetForAnnotation'](_0x1999b9){const _0x285bd7=_0x1999b9['target'],_0x516940=this['editor']['editing']['view'],_0x738ef9=_0x516940['document']['selection']['getFirstRange'](),_0x1dd3c5=_0x516940['domConverter']['viewRangeToDom'](_0x738ef9);if(_0x1dd3c5['collapse'](!0x0),_0x285bd7){if(_0x285bd7 instanceof ckeditor5['Rect'])return _0x285bd7;let _0x4f4f20=[];for(const _0x294d8c of _0x285bd7)_0x4f4f20['push'](...ckeditor5['Rect']['getDomElementRects'](_0x294d8c));_0x4f4f20=joinClientRects(_0x4f4f20);const _0x25ee6e=_0x1dd3c5['getBoundingClientRect']();return _0x4f4f20['find'](_0x133e10=>_0x133e10['top']<=_0x25ee6e['top']&&_0x133e10['bottom']>=_0x25ee6e['bottom']&&_0x133e10['left']<=_0x25ee6e['left']&&_0x133e10['right']>=_0x25ee6e['right'])||_0x4f4f20[0x0];}return _0x1999b9['targetRect']||_0x1dd3c5;}['_removeAnnotationFromBalloon'](_0x4e3287){this['_addedAnnotations']['has'](_0x4e3287)&&this['_balloon']['hasView'](_0x4e3287['view'])&&(this['_addedAnnotations']['delete'](_0x4e3287),this['_balloon']['remove'](_0x4e3287['view']));}['_closeAnnotation'](_0xda688f){this['_manuallyClosed']['add'](_0xda688f),this['_removeAnnotationFromBalloon'](_0xda688f);}}function _0x3826d3(_0x2bb26c,_0x555f54){return _0x2bb26c['length']===_0x555f54['length']&&_0x2bb26c['every'](_0x1fba9c=>_0x555f54['includes'](_0x1fba9c));}function joinClientRects(_0x3720b0){const _0x45e375=[];let _0x710b37=_0x3720b0[0x0];for(let _0x2f6222=0x1;_0x2f6222<_0x3720b0['length'];_0x2f6222++)if(canJoinRects(_0x710b37,_0x3720b0[_0x2f6222])){const _0x2c38bd=_0x3720b0[_0x2f6222]['width'];_0x710b37['width']+=_0x2c38bd,_0x710b37['right']+=_0x2c38bd;}else _0x45e375['push'](_0x710b37),_0x710b37=_0x3720b0[_0x2f6222];return _0x45e375['push'](_0x710b37),_0x45e375;}function canJoinRects(_0x1bb938,_0x39ede4){return _0x1bb938['top']===_0x39ede4['top']&&_0x1bb938['bottom']===_0x39ede4['bottom']&&_0x1bb938['right']===_0x39ede4['left'];}class CommentsArchiveView extends ckeditor5['View']{['focusTracker'];['focusCycler'];['_annotationViews'];constructor(_0x370187,_0x177f5a){super(_0x370187),this['set']('isEmpty',!_0x177f5a['length']),this['focusTracker']=new ckeditor5['FocusTracker'](),this['_annotationViews']=_0x177f5a,this['_annotationViews']['delegate']('arrowup','arrowdown')['to'](this),this['on']('arrowup',()=>{this['focusCycler']['focusPrevious']();}),this['on']('arrowdown',()=>{this['focusCycler']['focusNext']();}),this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':_0x177f5a,'focusTracker':this['focusTracker']}),this['listenTo'](_0x177f5a,'add',()=>{this['isEmpty']=!0x1;}),this['listenTo'](_0x177f5a,'remove',(_0x582132,_0x3d74bc)=>{_0x3d74bc['isActive']&&this['focus'](),_0x177f5a['length']||(this['isEmpty']=!0x0);});const _0x42e340=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'dir':'auto','class':['ck','ck-comments-archive'],'tabindex':-0x1,'role':'list','aria-label':getTranslation$f(_0x370187,'COMMENTS_ARCHIVE_LIST_LABEL')},'children':[{'tag':'div','attributes':{'class':['ck-comments-archive__content'],'role':'presentation'},'children':[{'tag':'div','attributes':{'role':'presentation'},'children':_0x177f5a},{'tag':'p','attributes':{'class':['ck-comments-archive__info',_0x42e340['if']('isEmpty','ck-hidden',_0x9f2073=>!_0x9f2073)]},'children':[{'text':getTranslation$f(_0x370187,'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 _0x33c990 of this['_annotationViews'])this['focusTracker']['add'](_0x33c990['element']);this['_annotationViews']['on']('change',(_0x8a2ebc,{added:_0x380aac,removed:_0x2e6fb2})=>{for(const _0x2d456a of _0x380aac)this['focusTracker']['add'](_0x2d456a['element']);for(const _0x3697b8 of _0x2e6fb2)this['focusTracker']['remove'](_0x3697b8['element']);});}}class CommentsArchive extends ckeditor5['ContextPlugin']{static get['pluginName'](){return'CommentsArchive';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[CommentsRepository,Annotations];}constructor(_0x2e2ecf){super(_0x2e2ecf),this['archivedThreads']=new ckeditor5['Collection']();}['init'](){const _0x20cb2d=this['context'],_0x1e8820=_0x20cb2d['plugins']['get'](CommentsRepository),_0x750005=_0x20cb2d['plugins']['get'](Annotations);this['listenTo'](_0x1e8820,'addCommentThread',(_0x342fb6,{threadId:_0x49a592})=>{const _0x4d7e80=_0x1e8820['getCommentThread'](_0x49a592);_0x4d7e80['archivedAt']&&this['archivedThreads']['add'](_0x4d7e80,this['_calculatePosition'](_0x4d7e80['archivedAt'])),this['listenTo'](_0x4d7e80,'change:archivedAt',(_0x51d749,_0x11fc4f,_0x4c8949)=>{_0x4c8949?this['archivedThreads']['has'](_0x4d7e80)||this['archivedThreads']['add'](_0x4d7e80,this['_calculatePosition'](_0x4d7e80['archivedAt'])):this['archivedThreads']['has'](_0x4d7e80)&&this['archivedThreads']['remove'](_0x4d7e80);});}),this['listenTo'](_0x1e8820,'removeCommentThread',(_0x96cebe,{threadId:_0x429ff7})=>{const _0x5207c8=_0x1e8820['getCommentThread'](_0x429ff7);this['stopListening'](_0x5207c8),this['archivedThreads']['has'](_0x5207c8)&&this['archivedThreads']['remove'](_0x5207c8);},{'priority':'highest'}),this['listenTo'](_0x750005['collection'],'focus',(_0x4640e4,_0x2ac66e)=>{_0x2ac66e['isVisible']||(_0x2ac66e['isActive']=!0x0,_0x750005['activate'](_0x2ac66e));});}['_calculatePosition'](_0x541905){const _0x34e6a6=[...this['archivedThreads']]['findIndex'](_0x3439c8=>_0x3439c8['archivedAt']<_0x541905);return _0x34e6a6>-0x1?_0x34e6a6:this['archivedThreads']['length'];}}class CommentsArchiveUI extends ckeditor5['Plugin']{['commentsArchiveView'];['annotationViews'];['_pendingThreads'];static get['pluginName'](){return'CommentsArchiveUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[CommentsArchive,ckeditor5['Dialog']];}constructor(_0x422841){super(_0x422841),this['annotationViews']=new ckeditor5['ViewCollection'](),this['_pendingThreads']=[];}['init'](){const _0x4e859a=this['editor'],_0x4cf66d=this['_hideDialogOnAnnotationEscape']['bind'](this);_0x4e859a['ui']['componentFactory']['add']('commentsArchive',()=>this['_createCommentsArchiveButton'](ckeditor5['ButtonView'],!0x0)),_0x4e859a['ui']['componentFactory']['add']('menuBar:commentsArchive',()=>{const _0x4d1b5c=this['_createCommentsArchiveButton'](ckeditor5['MenuBarMenuListItemButtonView']);return _0x4d1b5c['set']({'role':'menuitemcheckbox'}),_0x4d1b5c;});const _0x55caac=_0x4e859a['plugins']['get'](CommentsArchive),_0x320ec1=_0x4e859a['plugins']['get']('Annotations'),_0x277dab=_0x4e859a['plugins']['get']('CommentsRepository');_0x55caac['archivedThreads']['forEach'](_0x29b390=>{this['_handleNewThread'](_0x29b390);}),this['listenTo'](_0x55caac['archivedThreads'],'add',(_0x1afd1f,_0x6897e8)=>{this['_handleNewThread'](_0x6897e8);}),this['listenTo'](_0x320ec1['collection'],'add',(_0xcec91c,_0x1fed48)=>{const _0x59752b=this['_pendingThreads']['find'](_0x5d4d48=>{const _0x3f0a0d=_0x277dab['_threadToController']['get'](_0x5d4d48);return _0x3f0a0d&&_0x1fed48['innerView']===_0x3f0a0d['view'];});if(_0x59752b){const _0x450cc5=this['_calculatePosition'](_0x59752b['archivedAt']);this['_addAnnotationToArchive'](_0x1fed48,_0x450cc5),this['_pendingThreads']['splice'](this['_pendingThreads']['indexOf'](_0x59752b),0x1);}}),this['listenTo'](_0x55caac['archivedThreads'],'remove',(_0x1f4582,_0x520faf)=>{const _0x490de3=_0x4e859a['config']['get']('collaboration.channelId');if(!_0x490de3||_0x520faf['channelId']===_0x490de3){if(this['_pendingThreads']['includes'](_0x520faf))this['_pendingThreads']['splice'](this['_pendingThreads']['indexOf'](_0x520faf),0x1);else{const _0x517889=_0x277dab['_threadToController']['get'](_0x520faf),_0x1c260e=_0x320ec1['getByInnerView'](_0x517889['view']);this['annotationViews']['remove'](_0x1c260e['view']),this['stopListening'](_0x1c260e),this['stopListening'](_0x1c260e['focusableElements']);}}}),this['listenTo'](_0x320ec1['collection'],'add',(_0x4411fa,_0x43a0bc)=>{this['listenTo'](_0x43a0bc,'escape',_0x4cf66d);}),this['listenTo'](_0x320ec1['collection'],'remove',(_0x3358f4,_0x421b3e)=>{this['stopListening'](_0x421b3e,'escape',_0x4cf66d);});}['_addAnnotationToArchive'](_0x4e82f4,_0x3cb223){this['listenTo'](_0x4e82f4,'set:isVisible',_0x221e46=>{_0x221e46['return']=!0x1,_0x221e46['stop']();}),this['annotationViews']['add'](_0x4e82f4['view'],_0x3cb223);}['_handleNewThread'](_0x1957f0){const _0x380e72=this['editor']['plugins']['get']('CommentsRepository'),_0x4987ca=this['editor']['plugins']['get']('Annotations'),_0x3f0551=this['editor']['config']['get']('collaboration.channelId');if(!_0x3f0551||_0x1957f0['channelId']===_0x3f0551){const _0x495e1c=_0x380e72['_threadToController']['get'](_0x1957f0);if(!_0x495e1c)return void this['_pendingThreads']['push'](_0x1957f0);const _0x4d5d7a=this['_calculatePosition'](_0x1957f0['archivedAt']),_0x3dd47d=_0x4987ca['getByInnerView'](_0x495e1c['view']);_0x3dd47d['isVisible']&&_0x4987ca['_visibleAnnotations']['remove'](_0x3dd47d),this['_addAnnotationToArchive'](_0x3dd47d,_0x4d5d7a);}}['_calculatePosition'](_0x41d18a){const _0x5301ec=this['editor']['config']['get']('collaboration.channelId'),_0x2f085d=[...this['editor']['plugins']['get'](CommentsArchive)['archivedThreads']]['filter'](_0x4a64d6=>_0x4a64d6['channelId']===_0x5301ec)['findIndex'](_0x736b2f=>_0x736b2f['archivedAt']<_0x41d18a);return _0x2f085d<0x0||_0x2f085d>this['annotationViews']['length']?this['annotationViews']['length']:_0x2f085d-0x1;}['_toggleDialog'](){const _0x108d51=this['editor'],_0x1a8179=_0x108d51['plugins']['get']('Dialog');this['commentsArchiveView']||(this['commentsArchiveView']=new CommentsArchiveView(_0x108d51['locale'],this['annotationViews'])),'commentsArchive'===_0x1a8179['id']?_0x1a8179['hide']():_0x1a8179['show']({'id':'commentsArchive','title':getTranslation$f(_0x108d51['locale'],'COMMENTS_ARCHIVE'),'icon':ckeditor5['IconCommentsArchive'],'hasCloseButton':!0x0,'content':this['commentsArchiveView'],'position':ckeditor5['DialogViewPosition']['EDITOR_TOP_SIDE']});}['_createCommentsArchiveButton'](_0x42f8f1,_0x3980cf=!0x1){const _0x1c75d5=this['editor']['locale'],_0x35fd14=this['editor']['plugins']['get']('Dialog'),_0x165aff=new _0x42f8f1(_0x1c75d5);return _0x165aff['bind']('isEnabled')['to'](this,'isEnabled'),_0x165aff['bind']('isOn')['to'](_0x35fd14,'id',_0x40497c=>'commentsArchive'===_0x40497c),_0x165aff['set']({'label':getTranslation$f(_0x1c75d5,'COMMENTS_ARCHIVE'),'icon':ckeditor5['IconCommentsArchive'],'isToggleable':!0x0}),_0x3980cf&&(_0x165aff['tooltip']=!0x0),this['listenTo'](_0x165aff,'execute',()=>this['_toggleDialog']()),_0x165aff;}['_hideDialogOnAnnotationEscape']=_0x2c5fe7=>{const _0x3cb395=_0x2c5fe7['source'];if(!this['annotationViews']['has'](_0x3cb395['view']))return;const _0x48f41c=this['editor']['plugins']['get']('Dialog');_0x48f41c['isOpen']&&'commentsArchive'===_0x48f41c['id']&&(_0x48f41c['hide'](),_0x2c5fe7['stop']());};}class Comments extends ckeditor5['Plugin']{static get['requires'](){return[CommentsRepository,CommentsEditing,CommentsUI,CommentsArchive,CommentsArchiveUI,CommentsOnly,_0x3c7563,_0x59f9c6,InlineAnnotations];}static get['pluginName'](){return'Comments';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function getElementText(_0x555e3e){let _0x5af6f7='';for(const _0x55955b of _0x555e3e['getChildren']())_0x55955b instanceof ckeditor5['ModelText']&&(_0x5af6f7+=_0x55955b['data']);return _0x5af6f7;}function getDefaultFeatureHeadingNames(_0x55b99d){const _0x1df765=_0x55b99d['config']['get']('heading.options');return _0x1df765?_0x1df765['reduce']((_0x17463c,_0x16c344)=>('paragraph'!==_0x16c344['model']&&_0x17463c['push'](_0x16c344['model']),_0x17463c),[]):_0x55b99d['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}class DocumentOutlineUtils extends ckeditor5['Plugin']{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x3cfbb2=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x48cb40=[];_0x3cfbb2['model']['document']['on']('change',_0x3aca90(()=>{const _0x1e1eb4=_0x48cb40;_0x48cb40=this['_getOutlineDefinitions']();const _0xd884af=ckeditor5['diff'](_0x1e1eb4,_0x48cb40,(_0x5b0d77,_0x50f59b)=>_0x5b0d77['level']===_0x50f59b['level']&&_0x5b0d77['text']===_0x50f59b['text']&&_0x5b0d77['modelElement']===_0x50f59b['modelElement']),_0x54be5e=ckeditor5['diffToChanges'](_0xd884af,_0x48cb40),_0x1e0821=this['_getActiveHeading'](),_0xf3a56d=_0x48cb40['findIndex'](_0x5a44c3=>_0x5a44c3['modelElement']===_0x1e0821);_0x54be5e['length']&&this['fire']('change',{'outlineDefinitions':_0x48cb40,'activeItemIndex':_0xf3a56d,'outlineChanges':_0x54be5e}),this['fire']('activeItemIndex',{'index':_0xf3a56d});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x42b61f=this['editor'],_0x46c63a=[],_0x33827b=this['_headingNames'];for(const _0x432f3f of _0x42b61f['model']['document']['getRootNames']())_0x465d5c(_0x42b61f['model']['document']['getRoot'](_0x432f3f));function _0x465d5c(_0x5b561a){for(const _0x165a91 of _0x5b561a['getChildren']())_0x165a91['is']('element')&&(_0x33827b['includes'](_0x165a91['name'])&&_0x46c63a['push']({'level':_0x33827b['indexOf'](_0x165a91['name'])+0x1,'text':getElementText(_0x165a91),'modelElement':_0x165a91}),_0x465d5c(_0x165a91));}return _0x46c63a;}['_getActiveHeading'](){const _0x246572=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x2322d9=new ckeditor5['ModelTreeWalker']({'direction':'backward','startPosition':_0x246572});for(const _0x3b9f44 of _0x2322d9)if(_0x3b9f44['item']['is']('element')&&this['_headingNames']['includes'](_0x3b9f44['item']['name']))return _0x3b9f44['item'];}['_getHeadingNames'](){const _0x45eba0=this['editor']['config']['get']('documentOutline.headings');return _0x45eba0||getDefaultFeatureHeadingNames(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x2dd5e2=this['editor'],_0x938138=['h1','h2','h3','h4','h5','h6'],_0x93964a=[];for(const _0xa2a935 of _0x938138){const _0x1d58a5=_0x2dd5e2['editing']['view']['domConverter']['domToView'](document['createElement'](_0xa2a935)),_0x46f48d=_0x2dd5e2['data']['toModel'](_0x1d58a5)['getChild'](0x0);_0x46f48d?.['is']('element')&&_0x93964a['push'](_0x46f48d['name']);}this['_headingNames']=_0x93964a;}}function getTranslation$e(_0x29d324,_0x423839){const t=_0x29d324['t'];switch(_0x423839){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 _0x423839;}}class DocumentOutlineItemView extends ckeditor5['View']{constructor(_0x3e2ae5,_0x2aebe9=!0x1){super(_0x3e2ae5);const _0x197df7=this['bindTemplate'],_0x59f340=_0x2aebe9?'['+getTranslation$e(_0x3e2ae5,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x316716=>!_0x316716),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x197df7['to']('level',_0xf6665a=>'ck-document-outline__item_level-'+_0xf6665a),_0x197df7['if']('isActive','ck-document-outline__item_active'),_0x197df7['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x197df7['to']('text')},'children':[{'text':_0x197df7['to']('text',_0x2a3d79=>_0x2a3d79||_0x59f340)}],'on':{'click':_0x197df7['to']('click')}});}}class DocumentOutlineView extends ckeditor5['View']{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0x5b407c,_0x57c977=!0x1,_0x343f8a){super(_0x5b407c),this['showEmptyHeadingText']=_0x57c977,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x343f8a,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x738aa4,_0x49b93f,_0x269c86,_0x22038b)=>{this['_setActiveItem'](_0x22038b,_0x269c86);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x5b407c['contentLanguageDirection'],'data-document-outline-empty-placeholder':getTranslation$e(_0x5b407c,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x1e857f){_0x1e857f['forEach'](_0x13efcc=>{'insert'==_0x13efcc['type']?this['_insertItem'](_0x13efcc['index'],..._0x13efcc['values']):'delete'==_0x13efcc['type']&&this['_deleteItem'](_0x13efcc['index'],_0x13efcc['howMany']);});}['_setActiveItem'](_0x164582,_0x29d7fa){if(-0x1!==_0x164582){const _0x428cd9=this['items']['get'](_0x164582);_0x428cd9&&(_0x428cd9['isActive']=!0x1);}-0x1!==_0x29d7fa&&(this['items']['get'](_0x29d7fa)['isActive']=!0x0,this['_scrollToItem'](_0x29d7fa));}['_insertItem'](_0x41851b,..._0x59c597){const _0x22a663=_0x59c597['map']((_0x2ec91d,_0x433198)=>{const _0x5a7124=new DocumentOutlineItemView(this['locale'],this['showEmptyHeadingText']);return _0x5a7124['text']=_0x2ec91d['text'],_0x5a7124['level']=_0x2ec91d['level'],_0x41851b+_0x433198===this['activeItemIndex']&&(_0x5a7124['isActive']=!0x0),_0x5a7124;});this['items']['addMany'](_0x22a663,_0x41851b);}['_deleteItem'](_0x14c123,_0x522d0b){do{this['items']['remove'](_0x14c123);}while(--_0x522d0b);}['_handleItemClick'](_0x557fd5){const _0x1a1604=this['items']['getIndex'](_0x557fd5['source']);this['fire']('itemSelected',_0x1a1604);}['_scrollToItem'](_0x325f54){ckeditor5['scrollAncestorsToShowTarget'](this['items']['get'](_0x325f54)['element'],0x14,this['documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class DocumentOutlineUI extends ckeditor5['Plugin']{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x47744f){super(_0x47744f),this['view']=new DocumentOutlineView(_0x47744f['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=throttle(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x310a7f=this['editor'],_0x38e46c=_0x310a7f['plugins']['get']('DocumentOutlineUtils');let _0x3937a0=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x310a7f['config']['get']('documentOutline.container'))throw new ckeditor5['CKEditorError']('document-outline-container-not-provided',{'editor':_0x310a7f});_0x310a7f['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x38e46c['on']('change',this['_handleOutlineChange']['bind'](this)),_0x38e46c['on']('activeItemIndex',(_0x16343c,{index:_0x48d15e})=>this['_setActiveViewItem'](_0x48d15e)),this['view']['on']('itemSelected',(_0x15dbf7,_0x147011)=>{_0x3937a0=!0x0,this['_handleItemSelected'](_0x147011);}),this['view']['listenTo'](ckeditor5['global']['document'],'scroll',()=>{_0x3937a0?_0x3937a0=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](ckeditor5['global']['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){_0x222f22(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x303cd1,{outlineDefinitions:_0x486a78,outlineChanges:_0x24417e}){this['_currentOutlineDefinitions']=_0x486a78,this['view']['sync'](_0x24417e);}['_setActiveViewItem'](_0x1455cc){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x1455cc]&&(this['view']['activeItemIndex']=_0x1455cc);}['_handleItemSelected'](_0x5a1336){const _0x45ed57=this['_currentOutlineDefinitions'][_0x5a1336]['modelElement'];this['editor']['model']['change'](_0x23e198=>{_0x23e198['setSelection'](_0x45ed57,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x5a1336);}['_updateActiveDefinitionOnViewportChange'](){const _0x3c4172=this['editor'];let _0x10bccc;for(const _0xbd56d8 of _0x3c4172['model']['document']['getRootNames']()){const _0x1908cb=_0x3c4172['editing']['view']['getDomRoot'](_0xbd56d8),_0x3bfcb1=_0x1908cb&&new ckeditor5['Rect'](_0x1908cb)['getVisible']();if(_0x3bfcb1){const _0x22c48a=new ckeditor5['Rect'](ckeditor5['global']['window'])['getIntersection'](_0x3bfcb1);_0x22c48a&&(_0x10bccc=_0x22c48a['top']+0.25*_0x22c48a['height']);}}if(void 0x0===_0x10bccc)return;const _0x24726d=binaryActiveDefinitionSearch(_0x3c4172['editing'],this['_currentOutlineDefinitions'],_0x10bccc);_0x24726d?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x24726d)):this['_setActiveViewItem'](-0x1);}}function binaryActiveDefinitionSearch(_0x56defe,_0x460e77,_0x29f12d,_0x233867=0x0,_0x3f4391=_0x460e77['length']-0x1){const _0x23a098=Math['floor'](_0x233867+(_0x3f4391-_0x233867)/0x2);if(_0x3f4391>=_0x233867){const _0x4fe2e4=_0x460e77[_0x23a098],_0xa77f33=_0x56defe['mapper']['toViewElement'](_0x4fe2e4['modelElement']);if(!_0xa77f33)return null;const _0x203dd4=_0x56defe['view']['domConverter']['mapViewToDom'](_0xa77f33);return new ckeditor5['Rect'](_0x203dd4)['bottom']>_0x29f12d?binaryActiveDefinitionSearch(_0x56defe,_0x460e77,_0x29f12d,_0x233867,_0x23a098-0x1):binaryActiveDefinitionSearch(_0x56defe,_0x460e77,_0x29f12d,_0x23a098+0x1,_0x3f4391);}return _0x23a098<0x0?null:_0x460e77[_0x23a098];}async function _0x222f22(_0xa00fb){const _0x32f721=_0x3c90b4([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]),_0x21d516=window[_0x3c90b4([0x44,0x61,0x74,0x65])][_0x3c90b4([0x6e,0x6f,0x77])](),_0x21f559=_0xa00fb[_0x3c90b4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5adfb0=new window[(_0x3c90b4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x42fb77=>{_0x21f559[_0x3c90b4([0x6f,0x6e,0x63,0x65])](_0x3c90b4([0x72,0x65,0x61,0x64,0x79]),_0x42fb77);}),_0x3a4495={[_0x3c90b4([0x6b,0x74,0x79])]:_0x3c90b4([0x45,0x43]),[_0x3c90b4([0x75,0x73,0x65])]:_0x3c90b4([0x73,0x69,0x67]),[_0x3c90b4([0x63,0x72,0x76])]:_0x3c90b4([0x50,0x2d,0x32,0x35,0x36]),[_0x3c90b4([0x78])]:_0x3c90b4([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]),[_0x3c90b4([0x79])]:_0x3c90b4([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]),[_0x3c90b4([0x61,0x6c,0x67])]:_0x3c90b4([0x45,0x53,0x32,0x35,0x36])},_0xeb5f04=_0x21f559[_0x3c90b4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3c90b4([0x67,0x65,0x74])](_0x3c90b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x407468=await(async function(){let _0x5de5b8,_0x177a57=null,_0x2792fb=null;try{if(_0xeb5f04==_0x3c90b4([0x47,0x50,0x4c]))return _0x3c90b4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5de5b8=(function(){const _0x35b018=_0xeb5f04[_0x3c90b4([0x73,0x70,0x6c,0x69,0x74])](_0x3c90b4([0x2e]));if(0x3!=_0x35b018[_0x3c90b4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x5883db=_0x35b018[0x1];return _0x5ec96b(_0x5883db);function _0x5ec96b(_0x5bc6f8){const _0x1bfb39=_0x3e0167(_0x5bc6f8);return _0x1bfb39&&_0x4de26d()?_0x1bfb39:null;function _0x4de26d(){const _0x3792fa=_0x1bfb39[_0x3c90b4([0x6a,0x74,0x69])],_0x42fc13=window[_0x3c90b4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3792fa[_0x3c90b4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3792fa[_0x3c90b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3467de={..._0x1bfb39,[_0x3c90b4([0x6a,0x74,0x69])]:_0x3792fa[_0x3c90b4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3792fa[_0x3c90b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3467de[_0x3c90b4([0x76,0x63])],_0x149155(_0x3467de)==_0x42fc13;}}}()),!_0x5de5b8)return _0x3c90b4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x5de5b8[_0x3c90b4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2792fb=function(_0x255192,_0x1b4058){return new window[(_0x3c90b4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26ec61=>{if(_0x2675e0())return _0x26ec61(_0x3c90b4([0x56,0x61,0x6c,0x69,0x64]));_0x56cab5(),_0x21f559[_0x3c90b4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3c90b4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4e356a=!0x1;const _0x3cef17=ckeditor5['uid']();function _0x2cd94a(_0x3b1030){return!!_0x3b1030&&(typeof _0x3b1030===_0x3c90b4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3b1030===_0x3c90b4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3b1030[_0x3c90b4([0x74,0x68,0x65,0x6e])]===_0x3c90b4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3b1030[_0x3c90b4([0x63,0x61,0x74,0x63,0x68])]===_0x3c90b4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5738d6(_0x8f69ef){_0x53f95e(_0x8f69ef)[_0x3c90b4([0x74,0x68,0x65,0x6e])](_0xbd084c=>{if(!_0xbd084c||_0xbd084c[_0x3c90b4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3c90b4([0x6f,0x6b]))return _0x3c90b4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3874cf(_0x149155(_0x3cef17+_0x1b4058))!=_0xbd084c[_0x3c90b4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3c90b4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3c90b4([0x56,0x61,0x6c,0x69,0x64]);})[_0x3c90b4([0x74,0x68,0x65,0x6e])](_0x5aceed=>(_0x267a20(),_0x5aceed),()=>{const _0x5a20a3=_0x16f482();return null==_0x5a20a3?(_0x267a20(),_0x3c90b4([0x56,0x61,0x6c,0x69,0x64])):_0x3c90b4(_0x21d516-_0x5a20a3>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3c90b4([0x74,0x68,0x65,0x6e])](_0x26ec61)[_0x3c90b4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x26ec61(_0x3c90b4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1f1a1e=0x36ee80;function _0x267a20(){const _0xa9e1d7=_0x3c90b4([0x6c,0x6c,0x63,0x74,0x2d])+_0x3874cf(_0x149155(_0x255192)),_0x53f7ee=_0x5a2087(_0x3874cf(window[_0x3c90b4([0x4d,0x61,0x74,0x68])][_0x3c90b4([0x63,0x65,0x69,0x6c])](_0x21d516/_0x1f1a1e)));window[_0x3c90b4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3c90b4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xa9e1d7,_0x53f7ee);}function _0x16f482(){const _0x227f07=_0x3c90b4([0x6c,0x6c,0x63,0x74,0x2d])+_0x3874cf(_0x149155(_0x255192)),_0x18e85e=window[_0x3c90b4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3c90b4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x227f07);return _0x18e85e?window[_0x3c90b4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a2087(_0x18e85e),0x10)*_0x1f1a1e:null;}function _0x53f95e(_0x38814e){return new window[(_0x3c90b4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x18992d,_0x3cae66)=>{_0x38814e[_0x3c90b4([0x74,0x68,0x65,0x6e])](_0x18992d,_0x3cae66),window[_0x3c90b4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3cae66,0x1d4c0);});}}_0x21f559[_0x3c90b4([0x6f,0x6e])](_0x3c90b4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4ddc7d,_0x2798c5)=>{if(_0x2798c5[0x0]!=_0x255192)return _0x26ec61(_0x3c90b4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2798c5[0x1]={..._0x2798c5[0x1],[_0x3c90b4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3cef17};},{[_0x3c90b4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3c90b4([0x68,0x69,0x67,0x68])}),_0x21f559[_0x3c90b4([0x6f,0x6e])](_0x3c90b4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x30f1a8=>{_0x2cd94a(_0x30f1a8[_0x3c90b4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4e356a=!0x0,_0x5738d6(_0x30f1a8[_0x3c90b4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3c90b4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3c90b4([0x6c,0x6f,0x77])}),_0x5adfb0[_0x3c90b4([0x74,0x68,0x65,0x6e])](()=>{_0x4e356a||_0x26ec61(_0x3c90b4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2675e0(){return _0x21f559[_0x3c90b4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3c90b4([0x76,0x69,0x65,0x77])][_0x3c90b4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3c90b4([0x61,0x75,0x74,0x6f]);}function _0x56cab5(){_0x21f559[_0x3c90b4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3c90b4([0x76,0x69,0x65,0x77])][_0x3c90b4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3c90b4([0x61,0x75,0x74,0x6f]);}}(_0x5de5b8[_0x3c90b4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5de5b8[_0x3c90b4([0x6a,0x74,0x69])]));const _0x211709=await(async function(){let _0x5ac5f2=!0x0;try{const _0x5110b6=_0xeb5f04[_0x3c90b4([0x73,0x70,0x6c,0x69,0x74])](_0x3c90b4([0x2e])),[_0x43a7cd,_0x1a09ff,_0x3678a2]=_0x5110b6;return _0x37bb60(_0x43a7cd),await _0x307781(_0x43a7cd,_0x1a09ff,_0x3678a2),_0x5ac5f2;}catch{return!0x1;}function _0x37bb60(_0x2b5958){const _0x49e3a4=_0x3e0167(_0x2b5958);_0x49e3a4&&_0x49e3a4[_0x3c90b4([0x61,0x6c,0x67])]==_0x3c90b4([0x45,0x53,0x32,0x35,0x36])||(_0x5ac5f2=!0x1);}async function _0x307781(_0x353efa,_0x57b82c,_0x488f30){const _0x8d55ea=window[_0x3c90b4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3c90b4([0x66,0x72,0x6f,0x6d])](_0xd2dee2(_0x488f30),_0x50d61f=>_0x50d61f[_0x3c90b4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x92919f=new window[(_0x3c90b4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3c90b4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x353efa+_0x3c90b4([0x2e])+_0x57b82c),_0x2aecaf=window[_0x3c90b4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3c90b4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2aecaf)return;const _0x1b8ebd=await _0x2aecaf[_0x3c90b4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3c90b4([0x6a,0x77,0x6b]),_0x3a4495,{[_0x3c90b4([0x6e,0x61,0x6d,0x65])]:_0x3c90b4([0x45,0x43,0x44,0x53,0x41]),[_0x3c90b4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3c90b4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3c90b4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2aecaf[_0x3c90b4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3c90b4([0x6e,0x61,0x6d,0x65])]:_0x3c90b4([0x45,0x43,0x44,0x53,0x41]),[_0x3c90b4([0x68,0x61,0x73,0x68])]:{[_0x3c90b4([0x6e,0x61,0x6d,0x65])]:_0x3c90b4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1b8ebd,_0x8d55ea,_0x92919f)||(_0x5ac5f2=!0x1);}}());return _0x211709?(function(){const _0x51e63d=_0x5de5b8[_0x3c90b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x51e63d)return!0x1;if(_0x51e63d[_0x3c90b4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c90b4([0x2a])))return!0x0;if(_0x51e63d[_0x3c90b4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c90b4([0x44,0x4f])))return!0x0;if(_0x51e63d[_0x3c90b4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c90b4([0x50,0x50])))return!0x0;if(_0x51e63d[_0x3c90b4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c90b4([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x3c90b4([0x67,0x6c,0x6f,0x62])]&&window[_0x3c90b4([0x67,0x6c,0x6f,0x62])][_0x3c90b4([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;return!0x1;}())?(function(){const _0x59bd06=[_0x3c90b4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3c90b4([0x74,0x72,0x69,0x61,0x6c])][_0x3c90b4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5de5b8[_0x3c90b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x21d516/0x3e8:0x6a03bf00;return _0x5de5b8[_0x3c90b4([0x65,0x78,0x70])]<_0x59bd06;}())?_0x3c90b4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x561111=_0x5de5b8[_0x3c90b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x561111||0x0==_0x561111[_0x3c90b4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5dd9b4}=new URL(window[_0x3c90b4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x561111[_0x3c90b4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5dd9b4))return!0x0;const _0x3d7d0c=_0x5dd9b4[_0x3c90b4([0x73,0x70,0x6c,0x69,0x74])](_0x3c90b4([0x2e]));return _0x561111[_0x3c90b4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e64b3=>_0x1e64b3[_0x3c90b4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c90b4([0x2a])))[_0x3c90b4([0x6d,0x61,0x70])](_0x22575d=>_0x22575d[_0x3c90b4([0x73,0x70,0x6c,0x69,0x74])](_0x3c90b4([0x2e])))[_0x3c90b4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3a5067=>_0x3a5067[_0x3c90b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3d7d0c[_0x3c90b4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3c90b4([0x6d,0x61,0x70])](_0x52c593=>Array(_0x3d7d0c[_0x3c90b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x52c593[_0x3c90b4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3c90b4([0x66,0x69,0x6c,0x6c])](_0x52c593[0x0]===_0x3c90b4([0x2a])?_0x3c90b4([0x2a]):'')[_0x3c90b4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x52c593))[_0x3c90b4([0x73,0x6f,0x6d,0x65])](_0x325589=>_0x3d7d0c[_0x3c90b4([0x65,0x76,0x65,0x72,0x79])]((_0x300544,_0xaf0f25)=>_0x325589[_0xaf0f25]===_0x300544||_0x325589[_0xaf0f25]===_0x3c90b4([0x2a])));}())?(_0x5de5b8[_0x3c90b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3c90b4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x177a57=function(_0x4bd174){const _0x694eec=new window[(_0x3c90b4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39fd91=>setTimeout(_0x39fd91,0x93ecc)),_0x1399c3=_0x5adfb0[_0x3c90b4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3c90b4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ed8ee=>{let _0x438eb4=0x0;_0x21f559[_0x3c90b4([0x6d,0x6f,0x64,0x65,0x6c])][_0x3c90b4([0x6f,0x6e])](_0x3c90b4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x106640,_0x1f184c)=>{_0x1f184c[0x0][_0x3c90b4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x438eb4++,0x5e8==_0x438eb4&&(_0x4ed8ee(),_0x106640[_0x3c90b4([0x6f,0x66,0x66])]());});})),_0x2d1fcf=[_0x694eec,_0x1399c3];return window[_0x3c90b4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3c90b4([0x72,0x61,0x63,0x65])](_0x2d1fcf)[_0x3c90b4([0x74,0x68,0x65,0x6e])](()=>_0x4bd174);}(_0x3c90b4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x177a57&&_0x2792fb)return new window[(_0x3c90b4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x18a67b,_0x39ff35)=>{_0x177a57[_0x3c90b4([0x74,0x68,0x65,0x6e])](_0x18a67b,_0x39ff35),_0x2792fb[_0x3c90b4([0x74,0x68,0x65,0x6e])](_0x131134=>{_0x131134!=_0x3c90b4([0x56,0x61,0x6c,0x69,0x64])&&_0x18a67b(_0x131134);},_0x39ff35);});return _0x177a57||_0x2792fb||_0x3c90b4([0x56,0x61,0x6c,0x69,0x64]);}())):_0x3c90b4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3c90b4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3c90b4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3c90b4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x3e0167(_0x1eeaca){return _0x1eeaca[_0x3c90b4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3c90b4([0x65,0x79]))?JSON[_0x3c90b4([0x70,0x61,0x72,0x73,0x65])](_0xd2dee2(_0x1eeaca)):null;}function _0xd2dee2(_0x4f66e2){return window[_0x3c90b4([0x61,0x74,0x6f,0x62])](_0x4f66e2[_0x3c90b4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3c90b4([0x2b]))[_0x3c90b4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3c90b4([0x2f])));}function _0x149155(_0x491e51){let _0x13f130=0x1505;function _0xe3101f(_0x5c71ea){for(let _0x39737d=0x0;_0x39737d<_0x5c71ea[_0x3c90b4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x39737d++){const _0x25c73c=_0x5c71ea[_0x3c90b4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x39737d);_0x13f130=(_0x13f130<<0x5)+_0x13f130+_0x25c73c,_0x13f130&=_0x13f130;}}return function _0x39ffb7(_0x5412e8){Array[_0x3c90b4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5412e8)?_0x5412e8[_0x3c90b4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x39ffb7):_0x5412e8&&typeof _0x5412e8==_0x3c90b4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3c90b4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5412e8)[_0x3c90b4([0x73,0x6f,0x72,0x74])]()[_0x3c90b4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2e88a9,_0x521e44])=>{_0xe3101f(_0x2e88a9),_0x39ffb7(_0x521e44);}):_0xe3101f(window[_0x3c90b4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5412e8));}(_0x491e51),_0x13f130>>>0x0;}function _0x3874cf(_0x9c756f){return _0x9c756f[_0x3c90b4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3c90b4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3c90b4([0x30]));}function _0x5a2087(_0x1bf83e){return _0x1bf83e[_0x3c90b4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3c90b4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3c90b4([0x6a,0x6f,0x69,0x6e])]('');}function _0x57cae2(){}function _0x3c90b4(_0x382db4){return _0x382db4['map'](_0x5bbe26=>String['fromCharCode'](_0x5bbe26))['join']('');}!function(_0x568234){const _0x5b5773=(function(){const _0x265ad0=window[_0x3c90b4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3c90b4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3c90b4([0x6e,0x6f,0x77])]())[_0x3c90b4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3c90b4([0x2e]),'');let _0x2b878c=_0x3c90b4([0x61]);for(let _0x171ebe=0x0;_0x171ebe<_0x265ad0[_0x3c90b4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x171ebe+=0x2){let _0xfd5536=window[_0x3c90b4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x265ad0[_0x3c90b4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x171ebe,_0x171ebe+0x2));_0xfd5536>=_0x32f721[_0x3c90b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xfd5536-=_0x32f721[_0x3c90b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2b878c+=_0x32f721[_0xfd5536];}return _0x2b878c;}());_0x21f559[_0x5b5773]=_0x3c90b4([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])+_0x568234,_0x568234!=_0x3c90b4([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x5adfb0,_0x21f559[_0x3c90b4([0x6d,0x6f,0x64,0x65,0x6c])][_0x3c90b4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x57cae2,_0x21f559[_0x3c90b4([0x6d,0x6f,0x64,0x65,0x6c])][_0x3c90b4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x57cae2,_0x21f559[_0x3c90b4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3c90b4([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x407468);}class DocumentOutline extends ckeditor5['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 _0x12d1e7=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x119ef8;for(const _0x3a9d6c in _0x12d1e7){const _0x29666c=_0x3a9d6c,_0x480e97=_0x12d1e7[_0x29666c];if('documentOutlineLicenseKeyValid'==_0x480e97||'documentOutlineLicenseKeyInvalid'==_0x480e97||'documentOutlineLicenseKeyExpired'==_0x480e97||'documentOutlineLicenseKeyDomainLimit'==_0x480e97||'documentOutlineLicenseKeyNotAllowed'==_0x480e97||'documentOutlineLicenseKeyEvaluationLimit'==_0x480e97||'documentOutlineLicenseKeyUsageLimit'==_0x480e97){delete _0x12d1e7[_0x29666c],_0x119ef8=_0x480e97,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x119ef8&&_0x12d1e7['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x119ef8&&_0x12d1e7['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x119ef8&&_0x12d1e7['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x119ef8&&_0x12d1e7['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x119ef8&&_0x12d1e7['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x119ef8&&_0x12d1e7['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TableOfContentsCommand extends ckeditor5['Command']{['execute'](){this['editor']['model']['change'](_0x4eb7d7=>{this['editor']['model']['insertObject'](_0x4eb7d7['createElement']('tableOfContents'));});}['refresh'](){const _0x26f884=this['editor']['model'],_0x17ecb1=_0x26f884['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x17ecb1&&_0x26f884['schema']['findAllowedParent'](_0x17ecb1,'tableOfContents'));}}class _0x513067 extends ckeditor5['Plugin']{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x39b8ba=this['editor'];if(_0x39b8ba['config']['get']('headingId.modelAttributeName'))return;getDefaultHeadingMapNames(this['editor']['config']['get']('heading.options'))['forEach']((_0x386ecd,_0x1f11c4)=>{this['_customUpcastHeadingsConversion'](_0x1f11c4),this['_customDataDowncastHeadingsConversion'](_0x386ecd),_0x39b8ba['model']['schema']['isRegistered'](_0x386ecd)&&_0x39b8ba['model']['schema']['extend'](_0x386ecd,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']();}['_customUpcastHeadingsConversion'](_0x7d4388){this['editor']['conversion']['for']('upcast')['add'](_0x237a73=>_0x237a73['on']('element:'+_0x7d4388,(_0x4410e9,_0x42190f,_0x2da8fe)=>{const {consumable:_0xb18dff,writer:_0xf8c53b}=_0x2da8fe,_0x5929fd=_0x42190f['viewItem']['getAttribute']('id'),_0x229c1d=_0x42190f['modelRange']['getContainedElement']();if(_0x229c1d)return _0x5929fd&&_0x5929fd['length']||_0x229c1d['hasAttribute']('headingId')?void(_0xb18dff['consume'](_0x42190f['viewItem'],{'attributes':['id']})&&_0xf8c53b['setAttribute']('headingId',_0x5929fd,_0x229c1d)):(_0xb18dff['consume'](_0x42190f['viewItem'],{'attributes':['id']}),void _0xf8c53b['setAttribute']('headingId',ckeditor5['uid'](),_0x229c1d));},{'priority':ckeditor5['priorities']['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x2d687f){this['editor']['conversion']['for']('downcast')['add'](_0x14e150=>_0x14e150['on']('attribute:headingId:'+_0x2d687f,(_0xfd2348,_0x2b3673,_0x3204ce)=>{if(!_0x3204ce['consumable']['consume'](_0x2b3673['item'],_0xfd2348['name']))return;const _0x402324=_0x2b3673['item']['getAttribute']('headingId'),_0x2f61f5=_0x3204ce['mapper']['toViewElement'](_0x2b3673['item']);_0x3204ce['writer']['setAttribute']('id',_0x402324,_0x2f61f5);}));}['_registerHeadingIdAttributePostfixer'](){const _0x267f57=this['editor'],_0x3c50fc=new Set(),_0x4fd035=new Set();function _0x5a9614(_0x1b8ab7,_0x44045b){const _0x204a15=ckeditor5['uid']();return _0x4fd035['add'](_0x204a15),_0x1b8ab7['setAttribute']('headingId',_0x204a15,_0x44045b),_0x204a15;}function _0xc85d72(_0x15141f,_0x2b9a73){_0x15141f['removeAttribute']('headingId',_0x2b9a73);}_0x267f57['model']['document']['registerPostFixer'](_0x4d3129=>{const _0x425499=_0x267f57['model']['document']['differ']['getChanges']();let _0x314ab6=!0x1;for(const _0x104ad0 of _0x425499)if('insert'==_0x104ad0['type']&&_0x104ad0['name']){if(_0x100d67(_0x104ad0['name'])){const _0x252bb7=_0x104ad0['attributes']['get']('headingId');'string'==typeof _0x252bb7?_0x3c50fc['has'](_0x252bb7)?(_0x5a9614(_0x4d3129,_0x104ad0['position']['nodeAfter']),_0x314ab6=!0x0):_0x4fd035['add'](_0x252bb7):(_0x5a9614(_0x4d3129,_0x104ad0['position']['nodeAfter']),_0x314ab6=!0x0);}else'string'==typeof _0x104ad0['attributes']['get']('headingId')&&(_0xc85d72(_0x4d3129,_0x104ad0['position']['nodeAfter']),_0x314ab6=!0x0);}else{if('remove'==_0x104ad0['type']){const _0x25dd1a=_0x104ad0['attributes']['get']('headingId');'string'==typeof _0x25dd1a&&_0x3c50fc['delete'](_0x25dd1a);}}return _0x314ab6;}),_0x267f57['model']['document']['on']('change',()=>{_0x4fd035['forEach'](_0x2f2476=>_0x3c50fc['add'](_0x2f2476)),_0x4fd035['clear']();});}}function _0x100d67(_0x27d1c7){return!!_0x27d1c7['match'](/heading\d/);}function getDefaultHeadingMapNames(_0x8f430b){const _0x1441e0=new Map();return _0x8f430b?(_0x8f430b['forEach'](_0x9c5754=>{'paragraph'!==_0x9c5754['model']&&_0x1441e0['set'](_0x9c5754['view'],_0x9c5754['model']);}),_0x1441e0['get']('h1')||_0x1441e0['set']('h1','heading1'),_0x1441e0):_0x1441e0;}class TableOfContentsEditing extends ckeditor5['Plugin']{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[ckeditor5['Widget'],DocumentOutlineUtils,_0x513067];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x272a43){super(_0x272a43),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x346576=this['editor'],_0x1af8fd=_0x346576['editing']['view']['document'];_0x346576['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x346576['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x1af8fd,'click',(_0x13d7c3,_0x3a8323)=>{if(!_0x3a8323['target'])return;const _0x1d6712=_0x3a8323['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x1d6712)&&(_0x3a8323['domEvent']['preventDefault'](),_0x13d7c3['stop'](),this['_handleScrollToHeading'](_0x1d6712));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x346576['commands']['add']('insertTableOfContents',new TableOfContentsCommand(_0x346576));const _0x306e76=_0x346576['config']['get']('tableOfContents.headings');if(_0x306e76&&_0x306e76['length'])this['listenTo'](_0x346576['model']['document'],'change:data',()=>{this['_currentOutlineDefinitions']=this['_getOutlineDefinitions'](_0x306e76),this['_updateTableOfContentsElements']();});else _0x346576['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x4af163,_0x3cd204)=>{this['_currentOutlineDefinitions']=_0x3cd204['outlineDefinitions'],this['_updateTableOfContentsElements']();});this['listenTo'](_0x346576['model']['document'],'change',()=>{this['_trackNewToCElements']();});}['afterInit'](){_0x15a08b(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x1b9ed0=>{'$graveyard'!==_0x1b9ed0['rootName']&&this['editor']['editing']['reconvertItem'](_0x1b9ed0);});}['_trackNewToCElements'](){for(const _0x2490f3 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x2490f3['type']||'tableOfContents'!==_0x2490f3['name'])return;this['_tableOfContentsElements']['add'](_0x2490f3['position']['nodeAfter']);}}['_getOutlineDefinitions'](_0x48d8f0){const _0x437bac=this['editor'],_0x2e9a92=[];for(const _0xb389dc of _0x437bac['model']['document']['getRootNames']())_0x30578b(_0x437bac['model']['document']['getRoot'](_0xb389dc));function _0x30578b(_0x2d31c8){for(const _0x43df10 of _0x2d31c8['getChildren']())_0x43df10['is']('element')&&(_0x48d8f0['includes'](_0x43df10['name'])&&_0x2e9a92['push']({'level':_0x48d8f0['indexOf'](_0x43df10['name'])+0x1,'text':getElementText(_0x43df10),'modelElement':_0x43df10}),_0x30578b(_0x43df10));}return _0x2e9a92;}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x81be23=this['editor']['conversion'];_0x81be23['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x81be23['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x176276,{writer:_0xb5fb2})=>this['_createTableOfContents'](_0xb5fb2,!0x0)}),_0x81be23['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x10fd77,{writer:_0x2c5fe3})=>{this['_tableOfContentsElements']['add'](_0x10fd77);const _0xcba5cf=this['_createTableOfContents'](_0x2c5fe3);return ckeditor5['toWidget'](_0xcba5cf,_0x2c5fe3,{'label':getTranslation$e(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'](_0x23d6dc,_0x2fd421=!0x1){const {locale:_0x181471}=this['editor'],_0x8b43ab=_0x23d6dc['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x2fd421&&{'data-table-of-contents-label':getTranslation$e(_0x181471,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x2fd421&&_0x23d6dc['insert'](_0x23d6dc['createPositionAt'](_0x8b43ab,'end'),_0x23d6dc['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x23d6dc['createText'](getTranslation$e(_0x181471,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x5ad99e=_0x2fd421?'':'['+getTranslation$e(_0x181471,'Empty\x20heading')+']';let _0x23b6ac=_0x8b43ab;return this['_currentOutlineDefinitions']['forEach']((_0xad90a9,_0x1ca20e,_0x21d127)=>{const _0x450675=this['editor']['model']['hasContent'](_0xad90a9['modelElement'],{'ignoreWhitespaces':!0x0}),_0x2eb77c=_0x450675?_0xad90a9['text']:_0x5ad99e,_0x2cadd2=_0xad90a9['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x3fe4b5=_0x23d6dc['createContainerElement']('a',{'href':'#'+_0x2cadd2,...!_0x2fd421&&{'tabindex':'-1'}},[_0x23d6dc['createText'](_0x2eb77c)]),_0x408955=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x23d6dc['setCustomProperty']('tableOfContentsHeadingIndex',_0x1ca20e,_0x3fe4b5);const _0x3e8ded=_0x23d6dc['createContainerElement']('li',null,[_0x450675||!_0x2fd421&&_0x408955?_0x3fe4b5:_0x23d6dc['createText']('')]),_0x1f488d=_0x1ca20e?_0x21d127[_0x1ca20e-0x1]['level']:0x0,_0x4a2579=Math['abs'](_0xad90a9['level']-_0x1f488d);if(_0xad90a9['level']>_0x1f488d){const _0x5078e8=wrapInList(_0x3e8ded,_0x4a2579,_0x23d6dc);_0x23d6dc['insert'](_0x23d6dc['createPositionAt'](_0x23b6ac,'end'),_0x5078e8);}else{const _0x58e819=getOuterListByLevelDifference(_0x23b6ac,_0x4a2579);_0x23d6dc['insert'](_0x23d6dc['createPositionAt'](_0x58e819,'end'),_0x3e8ded);}_0x23b6ac=_0x3e8ded;}),_0x8b43ab;}['_handleScrollToHeading'](_0xbd38cf){const _0x2cc000=this['_currentOutlineDefinitions'][_0xbd38cf]['modelElement'];this['editor']['model']['change'](_0x241b7f=>{_0x241b7f['setSelection'](_0x2cc000,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x5c996e,_0xab2b69)=>{const _0x588364=_0xab2b69['mapper'],_0x344440=_0x588364['findMappedViewAncestor'](_0xab2b69['viewPosition']),_0x50fb9f=_0x588364['toModelElement'](_0x344440);_0x50fb9f['is']('element','tableOfContents')&&(_0xab2b69['modelPosition']=this['editor']['model']['createPositionAt'](_0x50fb9f,0x0),_0x5c996e['stop']());};}}function wrapInList(_0x260504,_0x4f4e2c,_0x3624a4){return 0x1===_0x4f4e2c?_0x3624a4['createContainerElement']('ol',null,[_0x260504]):_0x3624a4['createContainerElement']('ol',null,[_0x3624a4['createContainerElement']('li',null,[wrapInList(_0x260504,_0x4f4e2c-0x1,_0x3624a4)])]);}function getOuterListByLevelDifference(_0x21842b,_0x29570f){return _0x21842b['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x27ba24=>_0x27ba24['is']('element','ol'))[_0x29570f];}async function _0x15a08b(_0x2a1f43){const _0x76a346=_0x193f9e([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]),_0x5aaf33=window[_0x193f9e([0x44,0x61,0x74,0x65])][_0x193f9e([0x6e,0x6f,0x77])](),_0x31c0b4=_0x2a1f43[_0x193f9e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2c4088=new window[(_0x193f9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4bb144=>{_0x31c0b4[_0x193f9e([0x6f,0x6e,0x63,0x65])](_0x193f9e([0x72,0x65,0x61,0x64,0x79]),_0x4bb144);}),_0x1a78f9={[_0x193f9e([0x6b,0x74,0x79])]:_0x193f9e([0x45,0x43]),[_0x193f9e([0x75,0x73,0x65])]:_0x193f9e([0x73,0x69,0x67]),[_0x193f9e([0x63,0x72,0x76])]:_0x193f9e([0x50,0x2d,0x32,0x35,0x36]),[_0x193f9e([0x78])]:_0x193f9e([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]),[_0x193f9e([0x79])]:_0x193f9e([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]),[_0x193f9e([0x61,0x6c,0x67])]:_0x193f9e([0x45,0x53,0x32,0x35,0x36])},_0x12c897=_0x31c0b4[_0x193f9e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x193f9e([0x67,0x65,0x74])](_0x193f9e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x433e04=await(async function(){let _0xe1caad,_0x1c1443=null,_0x3601d5=null;try{if(_0x12c897==_0x193f9e([0x47,0x50,0x4c]))return _0x193f9e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xe1caad=(function(){const _0x538b56=_0x12c897[_0x193f9e([0x73,0x70,0x6c,0x69,0x74])](_0x193f9e([0x2e]));if(0x3!=_0x538b56[_0x193f9e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x471609=_0x538b56[0x1];return _0x2d730b(_0x471609);function _0x2d730b(_0x3afc03){const _0x5b440a=_0x406b1a(_0x3afc03);return _0x5b440a&&_0x3f33c9()?_0x5b440a:null;function _0x3f33c9(){const _0x50ade5=_0x5b440a[_0x193f9e([0x6a,0x74,0x69])],_0x1fded8=window[_0x193f9e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x50ade5[_0x193f9e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x50ade5[_0x193f9e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x579913={..._0x5b440a,[_0x193f9e([0x6a,0x74,0x69])]:_0x50ade5[_0x193f9e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x50ade5[_0x193f9e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x579913[_0x193f9e([0x76,0x63])],_0x12617b(_0x579913)==_0x1fded8;}}}()),!_0xe1caad)return _0x193f9e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0xe1caad[_0x193f9e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3601d5=function(_0x450f3a,_0x305477){return new window[(_0x193f9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c3707=>{if(_0x43740f())return _0x1c3707(_0x193f9e([0x56,0x61,0x6c,0x69,0x64]));_0x115b38(),_0x31c0b4[_0x193f9e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x193f9e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xa2794c=!0x1;const _0x5ab807=ckeditor5['uid']();function _0x2a7b6b(_0x17519c){return!!_0x17519c&&(typeof _0x17519c===_0x193f9e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x17519c===_0x193f9e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x17519c[_0x193f9e([0x74,0x68,0x65,0x6e])]===_0x193f9e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x17519c[_0x193f9e([0x63,0x61,0x74,0x63,0x68])]===_0x193f9e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4f4ae3(_0x5f447a){_0x56c79c(_0x5f447a)[_0x193f9e([0x74,0x68,0x65,0x6e])](_0x494414=>{if(!_0x494414||_0x494414[_0x193f9e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x193f9e([0x6f,0x6b]))return _0x193f9e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x57c2d6(_0x12617b(_0x5ab807+_0x305477))!=_0x494414[_0x193f9e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x193f9e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x193f9e([0x56,0x61,0x6c,0x69,0x64]);})[_0x193f9e([0x74,0x68,0x65,0x6e])](_0x57a4f9=>(_0x5bffa3(),_0x57a4f9),()=>{const _0x3f9134=_0x3ac638();return null==_0x3f9134?(_0x5bffa3(),_0x193f9e([0x56,0x61,0x6c,0x69,0x64])):_0x193f9e(_0x5aaf33-_0x3f9134>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x193f9e([0x74,0x68,0x65,0x6e])](_0x1c3707)[_0x193f9e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1c3707(_0x193f9e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1b412c=0x36ee80;function _0x5bffa3(){const _0x4c07b6=_0x193f9e([0x6c,0x6c,0x63,0x74,0x2d])+_0x57c2d6(_0x12617b(_0x450f3a)),_0x18e43e=_0x1691c9(_0x57c2d6(window[_0x193f9e([0x4d,0x61,0x74,0x68])][_0x193f9e([0x63,0x65,0x69,0x6c])](_0x5aaf33/_0x1b412c)));window[_0x193f9e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x193f9e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c07b6,_0x18e43e);}function _0x3ac638(){const _0x2f9e66=_0x193f9e([0x6c,0x6c,0x63,0x74,0x2d])+_0x57c2d6(_0x12617b(_0x450f3a)),_0x489967=window[_0x193f9e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x193f9e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2f9e66);return _0x489967?window[_0x193f9e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1691c9(_0x489967),0x10)*_0x1b412c:null;}function _0x56c79c(_0x45d985){return new window[(_0x193f9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x242f4c,_0x3b2248)=>{_0x45d985[_0x193f9e([0x74,0x68,0x65,0x6e])](_0x242f4c,_0x3b2248),window[_0x193f9e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3b2248,0x1d4c0);});}}_0x31c0b4[_0x193f9e([0x6f,0x6e])](_0x193f9e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x30dbad,_0x52904a)=>{if(_0x52904a[0x0]!=_0x450f3a)return _0x1c3707(_0x193f9e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x52904a[0x1]={..._0x52904a[0x1],[_0x193f9e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5ab807};},{[_0x193f9e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x193f9e([0x68,0x69,0x67,0x68])}),_0x31c0b4[_0x193f9e([0x6f,0x6e])](_0x193f9e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5a01b8=>{_0x2a7b6b(_0x5a01b8[_0x193f9e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xa2794c=!0x0,_0x4f4ae3(_0x5a01b8[_0x193f9e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x193f9e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x193f9e([0x6c,0x6f,0x77])}),_0x2c4088[_0x193f9e([0x74,0x68,0x65,0x6e])](()=>{_0xa2794c||_0x1c3707(_0x193f9e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x43740f(){return _0x31c0b4[_0x193f9e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x193f9e([0x76,0x69,0x65,0x77])][_0x193f9e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x193f9e([0x61,0x75,0x74,0x6f]);}function _0x115b38(){_0x31c0b4[_0x193f9e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x193f9e([0x76,0x69,0x65,0x77])][_0x193f9e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x193f9e([0x61,0x75,0x74,0x6f]);}}(_0xe1caad[_0x193f9e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xe1caad[_0x193f9e([0x6a,0x74,0x69])]));const _0x559d10=await(async function(){let _0x3994b1=!0x0;try{const _0x3c83a3=_0x12c897[_0x193f9e([0x73,0x70,0x6c,0x69,0x74])](_0x193f9e([0x2e])),[_0x36ffdc,_0x2629d9,_0x4eb6e1]=_0x3c83a3;return _0x22ba13(_0x36ffdc),await _0x268fef(_0x36ffdc,_0x2629d9,_0x4eb6e1),_0x3994b1;}catch{return!0x1;}function _0x22ba13(_0xb4aec2){const _0x3d5626=_0x406b1a(_0xb4aec2);_0x3d5626&&_0x3d5626[_0x193f9e([0x61,0x6c,0x67])]==_0x193f9e([0x45,0x53,0x32,0x35,0x36])||(_0x3994b1=!0x1);}async function _0x268fef(_0x10ad73,_0x298bef,_0x41a9f0){const _0x423df9=window[_0x193f9e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x193f9e([0x66,0x72,0x6f,0x6d])](_0x3d39c0(_0x41a9f0),_0xb214dc=>_0xb214dc[_0x193f9e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5008e4=new window[(_0x193f9e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x193f9e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x10ad73+_0x193f9e([0x2e])+_0x298bef),_0x55661d=window[_0x193f9e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x193f9e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x55661d)return;const _0x51cc5d=await _0x55661d[_0x193f9e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x193f9e([0x6a,0x77,0x6b]),_0x1a78f9,{[_0x193f9e([0x6e,0x61,0x6d,0x65])]:_0x193f9e([0x45,0x43,0x44,0x53,0x41]),[_0x193f9e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x193f9e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x193f9e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x55661d[_0x193f9e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x193f9e([0x6e,0x61,0x6d,0x65])]:_0x193f9e([0x45,0x43,0x44,0x53,0x41]),[_0x193f9e([0x68,0x61,0x73,0x68])]:{[_0x193f9e([0x6e,0x61,0x6d,0x65])]:_0x193f9e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x51cc5d,_0x423df9,_0x5008e4)||(_0x3994b1=!0x1);}}());return _0x559d10?(function(){const _0x48f6f1=_0xe1caad[_0x193f9e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x48f6f1)return!0x1;if(_0x48f6f1[_0x193f9e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x193f9e([0x2a])))return!0x0;if(_0x48f6f1[_0x193f9e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x193f9e([0x54,0x4f,0x43])))return!0x0;if(_0x48f6f1[_0x193f9e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x193f9e([0x50,0x50])))return!0x0;if(_0x48f6f1[_0x193f9e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x193f9e([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x193f9e([0x67,0x6c,0x6f,0x62])]&&window[_0x193f9e([0x67,0x6c,0x6f,0x62])][_0x193f9e([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;return!0x1;}())?(function(){const _0x397c61=[_0x193f9e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x193f9e([0x74,0x72,0x69,0x61,0x6c])][_0x193f9e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe1caad[_0x193f9e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5aaf33/0x3e8:0x6a03bf00;return _0xe1caad[_0x193f9e([0x65,0x78,0x70])]<_0x397c61;}())?_0x193f9e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x286091=_0xe1caad[_0x193f9e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x286091||0x0==_0x286091[_0x193f9e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x57128d}=new URL(window[_0x193f9e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x286091[_0x193f9e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57128d))return!0x0;const _0x491de7=_0x57128d[_0x193f9e([0x73,0x70,0x6c,0x69,0x74])](_0x193f9e([0x2e]));return _0x286091[_0x193f9e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xf95f6b=>_0xf95f6b[_0x193f9e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x193f9e([0x2a])))[_0x193f9e([0x6d,0x61,0x70])](_0x1f58be=>_0x1f58be[_0x193f9e([0x73,0x70,0x6c,0x69,0x74])](_0x193f9e([0x2e])))[_0x193f9e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x325b36=>_0x325b36[_0x193f9e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x491de7[_0x193f9e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x193f9e([0x6d,0x61,0x70])](_0x336175=>Array(_0x491de7[_0x193f9e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x336175[_0x193f9e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x193f9e([0x66,0x69,0x6c,0x6c])](_0x336175[0x0]===_0x193f9e([0x2a])?_0x193f9e([0x2a]):'')[_0x193f9e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x336175))[_0x193f9e([0x73,0x6f,0x6d,0x65])](_0xc5b798=>_0x491de7[_0x193f9e([0x65,0x76,0x65,0x72,0x79])]((_0x213963,_0x4b2eec)=>_0xc5b798[_0x4b2eec]===_0x213963||_0xc5b798[_0x4b2eec]===_0x193f9e([0x2a])));}())?(_0xe1caad[_0x193f9e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x193f9e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1c1443=function(_0x5ebed1){const _0x4d1b65=new window[(_0x193f9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4cd870=>setTimeout(_0x4cd870,0x93ecc)),_0x5a48a8=_0x2c4088[_0x193f9e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x193f9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44edde=>{let _0x454daf=0x0;_0x31c0b4[_0x193f9e([0x6d,0x6f,0x64,0x65,0x6c])][_0x193f9e([0x6f,0x6e])](_0x193f9e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3b5c7c,_0x162a33)=>{_0x162a33[0x0][_0x193f9e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x454daf++,0x5e8==_0x454daf&&(_0x44edde(),_0x3b5c7c[_0x193f9e([0x6f,0x66,0x66])]());});})),_0x2f5549=[_0x4d1b65,_0x5a48a8];return window[_0x193f9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x193f9e([0x72,0x61,0x63,0x65])](_0x2f5549)[_0x193f9e([0x74,0x68,0x65,0x6e])](()=>_0x5ebed1);}(_0x193f9e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x1c1443&&_0x3601d5)return new window[(_0x193f9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x18c3ca,_0x507700)=>{_0x1c1443[_0x193f9e([0x74,0x68,0x65,0x6e])](_0x18c3ca,_0x507700),_0x3601d5[_0x193f9e([0x74,0x68,0x65,0x6e])](_0x28b877=>{_0x28b877!=_0x193f9e([0x56,0x61,0x6c,0x69,0x64])&&_0x18c3ca(_0x28b877);},_0x507700);});return _0x1c1443||_0x3601d5||_0x193f9e([0x56,0x61,0x6c,0x69,0x64]);}())):_0x193f9e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x193f9e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x193f9e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x193f9e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x406b1a(_0x5ae58e){return _0x5ae58e[_0x193f9e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x193f9e([0x65,0x79]))?JSON[_0x193f9e([0x70,0x61,0x72,0x73,0x65])](_0x3d39c0(_0x5ae58e)):null;}function _0x3d39c0(_0x6f2508){return window[_0x193f9e([0x61,0x74,0x6f,0x62])](_0x6f2508[_0x193f9e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x193f9e([0x2b]))[_0x193f9e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x193f9e([0x2f])));}function _0x12617b(_0x42ef50){let _0xd5c270=0x1505;function _0x4b3161(_0x48021e){for(let _0x280107=0x0;_0x280107<_0x48021e[_0x193f9e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x280107++){const _0x2756de=_0x48021e[_0x193f9e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x280107);_0xd5c270=(_0xd5c270<<0x5)+_0xd5c270+_0x2756de,_0xd5c270&=_0xd5c270;}}return function _0x49fd9e(_0x3b4599){Array[_0x193f9e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3b4599)?_0x3b4599[_0x193f9e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x49fd9e):_0x3b4599&&typeof _0x3b4599==_0x193f9e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x193f9e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3b4599)[_0x193f9e([0x73,0x6f,0x72,0x74])]()[_0x193f9e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x488602,_0x586e26])=>{_0x4b3161(_0x488602),_0x49fd9e(_0x586e26);}):_0x4b3161(window[_0x193f9e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3b4599));}(_0x42ef50),_0xd5c270>>>0x0;}function _0x57c2d6(_0x24bfd0){return _0x24bfd0[_0x193f9e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x193f9e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x193f9e([0x30]));}function _0x1691c9(_0x18f0b8){return _0x18f0b8[_0x193f9e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x193f9e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x193f9e([0x6a,0x6f,0x69,0x6e])]('');}function _0x372967(){}function _0x193f9e(_0xf78904){return _0xf78904['map'](_0x49625e=>String['fromCharCode'](_0x49625e))['join']('');}!function(_0x430fb6){const _0x33b373=(function(){const _0x78bf1f=window[_0x193f9e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x193f9e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x193f9e([0x6e,0x6f,0x77])]())[_0x193f9e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x193f9e([0x2e]),'');let _0x3ee52d=_0x193f9e([0x6d]);for(let _0x7f0c54=0x0;_0x7f0c54<_0x78bf1f[_0x193f9e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x7f0c54+=0x2){let _0x52e6e1=window[_0x193f9e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x78bf1f[_0x193f9e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x7f0c54,_0x7f0c54+0x2));_0x52e6e1>=_0x76a346[_0x193f9e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x52e6e1-=_0x76a346[_0x193f9e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3ee52d+=_0x76a346[_0x52e6e1];}return _0x3ee52d;}());_0x31c0b4[_0x33b373]=_0x193f9e([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])+_0x430fb6,_0x430fb6!=_0x193f9e([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x2c4088,_0x31c0b4[_0x193f9e([0x6d,0x6f,0x64,0x65,0x6c])][_0x193f9e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x372967,_0x31c0b4[_0x193f9e([0x6d,0x6f,0x64,0x65,0x6c])][_0x193f9e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x372967,_0x31c0b4[_0x193f9e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x193f9e([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x433e04);}class TableOfContentsUI extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x45d311=this['editor'];_0x45d311['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x53c369=this['_createButton'](ckeditor5['ButtonView']);return _0x53c369['tooltip']=!0x0,_0x53c369;}),_0x45d311['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](ckeditor5['MenuBarMenuListItemButtonView'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5133b7=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x125891;for(const _0x34ccb8 in _0x5133b7){const _0x223c4c=_0x34ccb8,_0x47657a=_0x5133b7[_0x223c4c];if('tableOfContentsLicenseKeyValid'==_0x47657a||'tableOfContentsLicenseKeyInvalid'==_0x47657a||'tableOfContentsLicenseKeyExpired'==_0x47657a||'tableOfContentsLicenseKeyDomainLimit'==_0x47657a||'tableOfContentsLicenseKeyNotAllowed'==_0x47657a||'tableOfContentsLicenseKeyEvaluationLimit'==_0x47657a||'tableOfContentsLicenseKeyUsageLimit'==_0x47657a){delete _0x5133b7[_0x223c4c],_0x125891=_0x47657a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x125891&&_0x5133b7['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x125891&&_0x5133b7['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x125891&&_0x5133b7['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x125891&&_0x5133b7['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x125891&&_0x5133b7['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x125891&&_0x5133b7['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x596f02){const _0x24eb29=this['editor'],_0x1a8d4b=_0x24eb29['locale'],_0xdcfca8=_0x24eb29['commands']['get']('insertTableOfContents'),_0x557073=new _0x596f02(_0x1a8d4b);return _0x557073['set']({'label':getTranslation$e(_0x1a8d4b,'Table\x20of\x20contents'),'icon':ckeditor5['IconTableOfContents']}),_0x557073['bind']('isEnabled')['to'](_0xdcfca8,'isEnabled'),this['listenTo'](_0x557073,'execute',()=>{_0x24eb29['execute']('insertTableOfContents'),_0x24eb29['editing']['view']['focus']();}),_0x557073;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TableOfContents extends ckeditor5['Plugin']{static get['requires'](){return[TableOfContentsEditing,TableOfContentsUI];}static get['pluginName'](){return'TableOfContents';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const _0x3fb9d5='https://ckeditor.com/docs/ckeditor5/latest';class EmailConfigurationLogger extends ckeditor5['Plugin']{static get['pluginName'](){return'EmailConfigurationLogger';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x221764){super(_0x221764),_0x221764['config']['define']('email.logs',{'suppress':[],'suppressAll':!0x1});}['afterInit'](){_0x5baf4c(this);}['_logSuppressibleWarning'](_0x4e4b8b,_0x4457c5){if(this['_isSuppressedLog'](_0x4e4b8b,_0x4457c5))return;const _0x3d8fbd=_0x3fb9d5+'/support/error-codes.html#error-'+_0x4e4b8b;console['warn']('%cEmailConfigurationHelper%c\x20'+_0x4e4b8b,'background:\x20#E65100;\x20color:\x20white;\x20padding:\x202px\x204px;','',..._0x4457c5?[_0x4457c5]:[],'\x0aRead\x20more:\x20'+_0x3d8fbd);}['_logSuppressibleInfo'](_0x4abf9f,_0xaf91d5,_0x3fd7e3){if(this['_isSuppressedLog'](_0x4abf9f))return;let _0x385cf1=_0xaf91d5;_0x3fd7e3&&(_0x385cf1+='\x0aRead\x20more:\x20'+(_0x3fb9d5+'/'+_0x3fd7e3)),console['info']('%cEmailConfigurationHelper%c\x20'+_0x4abf9f,'background:\x20#4169E1;\x20color:\x20white;\x20padding:\x202px\x204px;','',_0x385cf1);}['_checkUnsupportedPlugin'](_0x5244f6,_0xe8f778){this['editor']['plugins']['has'](_0x5244f6)&&this['_logSuppressibleWarning']('email-configuration-unsupported-plugin',{'pluginName':_0x5244f6,..._0xe8f778});}['_validateConfigColorValue'](_0x22f6c0){const _0x166f63=this['editor']['config']['get'](_0x22f6c0);if(!_0x166f63)return;const _0x28555c=Array['isArray'](_0x166f63),_0x118ce2=_0x28555c?_0x166f63:[_0x166f63];for(const [_0x4854af,_0x27307f]of _0x118ce2['entries']()){const _0x4da73b='string'==typeof _0x27307f?_0x27307f:_0x27307f['color'];isUnsupportedEmailColorValue(_0x4da73b)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-value',{'configPath':_0x28555c?_0x22f6c0+'['+_0x4854af+']':_0x22f6c0,'color':_0x4da73b});}}['_validateConfigColorFormat'](_0x656720){const _0x410403=this['editor']['config']['get'](_0x656720);_0x410403&&isUnsupportedEmailColorFormat(_0x410403)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-format',{'configPath':_0x656720,'format':_0x410403});}['_isSuppressedLog'](_0x2bb829,_0x5cd37b){const _0x387c2f=this['editor']['config']['get']('email.logs');return!!_0x387c2f['suppressAll']||(!('function'!=typeof _0x387c2f['suppress']||!_0x387c2f['suppress'](_0x2bb829,_0x5cd37b))||!(!Array['isArray'](_0x387c2f['suppress'])||!_0x387c2f['suppress']['includes'](_0x2bb829)));}}const _0x5e2a68=['hsl','hsla','hwb','lab','lch','oklab','oklch','color-mix','rgba'];function isUnsupportedEmailColorValue(_0x3e95b6){return!!_0x3e95b6&&_0x5e2a68['some'](_0x591513=>_0x3e95b6['includes'](_0x591513+'('));}function isUnsupportedEmailColorFormat(_0x2219e0){return!!_0x2219e0&&_0x5e2a68['includes'](_0x2219e0);}async function _0x5baf4c(_0x365773){const _0x4bf8c1=_0x34db14([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]),_0x4e5d7a=window[_0x34db14([0x44,0x61,0x74,0x65])][_0x34db14([0x6e,0x6f,0x77])](),_0x4119a4=_0x365773[_0x34db14([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3afffd=new window[(_0x34db14([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x100b79=>{_0x4119a4[_0x34db14([0x6f,0x6e,0x63,0x65])](_0x34db14([0x72,0x65,0x61,0x64,0x79]),_0x100b79);}),_0x474d01={[_0x34db14([0x6b,0x74,0x79])]:_0x34db14([0x45,0x43]),[_0x34db14([0x75,0x73,0x65])]:_0x34db14([0x73,0x69,0x67]),[_0x34db14([0x63,0x72,0x76])]:_0x34db14([0x50,0x2d,0x32,0x35,0x36]),[_0x34db14([0x78])]:_0x34db14([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]),[_0x34db14([0x79])]:_0x34db14([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]),[_0x34db14([0x61,0x6c,0x67])]:_0x34db14([0x45,0x53,0x32,0x35,0x36])},_0x513845=_0x4119a4[_0x34db14([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x34db14([0x67,0x65,0x74])](_0x34db14([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x287e76=await(async function(){let _0x5c93f8,_0x123605=null,_0x1f862b=null;try{if(_0x513845==_0x34db14([0x47,0x50,0x4c]))return _0x34db14([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5c93f8=(function(){const _0x4036c3=_0x513845[_0x34db14([0x73,0x70,0x6c,0x69,0x74])](_0x34db14([0x2e]));if(0x3!=_0x4036c3[_0x34db14([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x1d81a1=_0x4036c3[0x1];return _0x5644d0(_0x1d81a1);function _0x5644d0(_0x1197b1){const _0x4d45f9=_0x4deb4b(_0x1197b1);return _0x4d45f9&&_0x5db131()?_0x4d45f9:null;function _0x5db131(){const _0x5cc9b2=_0x4d45f9[_0x34db14([0x6a,0x74,0x69])],_0x376a35=window[_0x34db14([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5cc9b2[_0x34db14([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5cc9b2[_0x34db14([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x31cfe3={..._0x4d45f9,[_0x34db14([0x6a,0x74,0x69])]:_0x5cc9b2[_0x34db14([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5cc9b2[_0x34db14([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x31cfe3[_0x34db14([0x76,0x63])],_0x179ba6(_0x31cfe3)==_0x376a35;}}}()),!_0x5c93f8)return _0x34db14([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x5c93f8[_0x34db14([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1f862b=function(_0x39b7b0,_0x4aa5d8){return new window[(_0x34db14([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x471a73=>{if(_0x5bca26())return _0x471a73(_0x34db14([0x56,0x61,0x6c,0x69,0x64]));_0x103ebf(),_0x4119a4[_0x34db14([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x34db14([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x262623=!0x1;const _0x23fff3=ckeditor5['uid']();function _0x54f4e8(_0x34f2a2){return!!_0x34f2a2&&(typeof _0x34f2a2===_0x34db14([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x34f2a2===_0x34db14([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x34f2a2[_0x34db14([0x74,0x68,0x65,0x6e])]===_0x34db14([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x34f2a2[_0x34db14([0x63,0x61,0x74,0x63,0x68])]===_0x34db14([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1458fc(_0x55b386){_0x53483d(_0x55b386)[_0x34db14([0x74,0x68,0x65,0x6e])](_0x41fe3d=>{if(!_0x41fe3d||_0x41fe3d[_0x34db14([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x34db14([0x6f,0x6b]))return _0x34db14([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x14c393(_0x179ba6(_0x23fff3+_0x4aa5d8))!=_0x41fe3d[_0x34db14([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x34db14([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x34db14([0x56,0x61,0x6c,0x69,0x64]);})[_0x34db14([0x74,0x68,0x65,0x6e])](_0x3806b7=>(_0x4ab1f5(),_0x3806b7),()=>{const _0x28e645=_0x5c0f9b();return null==_0x28e645?(_0x4ab1f5(),_0x34db14([0x56,0x61,0x6c,0x69,0x64])):_0x34db14(_0x4e5d7a-_0x28e645>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x34db14([0x74,0x68,0x65,0x6e])](_0x471a73)[_0x34db14([0x63,0x61,0x74,0x63,0x68])](()=>{_0x471a73(_0x34db14([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4f3f39=0x36ee80;function _0x4ab1f5(){const _0x2139f4=_0x34db14([0x6c,0x6c,0x63,0x74,0x2d])+_0x14c393(_0x179ba6(_0x39b7b0)),_0x568d0=_0x1c58dc(_0x14c393(window[_0x34db14([0x4d,0x61,0x74,0x68])][_0x34db14([0x63,0x65,0x69,0x6c])](_0x4e5d7a/_0x4f3f39)));window[_0x34db14([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x34db14([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2139f4,_0x568d0);}function _0x5c0f9b(){const _0x302aea=_0x34db14([0x6c,0x6c,0x63,0x74,0x2d])+_0x14c393(_0x179ba6(_0x39b7b0)),_0x1f90bb=window[_0x34db14([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x34db14([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x302aea);return _0x1f90bb?window[_0x34db14([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1c58dc(_0x1f90bb),0x10)*_0x4f3f39:null;}function _0x53483d(_0xccbd72){return new window[(_0x34db14([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x364f94,_0x4ca684)=>{_0xccbd72[_0x34db14([0x74,0x68,0x65,0x6e])](_0x364f94,_0x4ca684),window[_0x34db14([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4ca684,0x1d4c0);});}}_0x4119a4[_0x34db14([0x6f,0x6e])](_0x34db14([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5719ff,_0x2cd5ad)=>{if(_0x2cd5ad[0x0]!=_0x39b7b0)return _0x471a73(_0x34db14([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2cd5ad[0x1]={..._0x2cd5ad[0x1],[_0x34db14([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x23fff3};},{[_0x34db14([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x34db14([0x68,0x69,0x67,0x68])}),_0x4119a4[_0x34db14([0x6f,0x6e])](_0x34db14([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4dd996=>{_0x54f4e8(_0x4dd996[_0x34db14([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x262623=!0x0,_0x1458fc(_0x4dd996[_0x34db14([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x34db14([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x34db14([0x6c,0x6f,0x77])}),_0x3afffd[_0x34db14([0x74,0x68,0x65,0x6e])](()=>{_0x262623||_0x471a73(_0x34db14([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5bca26(){return _0x4119a4[_0x34db14([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x34db14([0x76,0x69,0x65,0x77])][_0x34db14([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x34db14([0x61,0x75,0x74,0x6f]);}function _0x103ebf(){_0x4119a4[_0x34db14([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x34db14([0x76,0x69,0x65,0x77])][_0x34db14([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x34db14([0x61,0x75,0x74,0x6f]);}}(_0x5c93f8[_0x34db14([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5c93f8[_0x34db14([0x6a,0x74,0x69])]));const _0x41c49b=await(async function(){let _0x16c4c9=!0x0;try{const _0x5ebcce=_0x513845[_0x34db14([0x73,0x70,0x6c,0x69,0x74])](_0x34db14([0x2e])),[_0x4c1ddb,_0x3f3226,_0x391f46]=_0x5ebcce;return _0x5ee48a(_0x4c1ddb),await _0x57feea(_0x4c1ddb,_0x3f3226,_0x391f46),_0x16c4c9;}catch{return!0x1;}function _0x5ee48a(_0x26d03a){const _0x32cdf0=_0x4deb4b(_0x26d03a);_0x32cdf0&&_0x32cdf0[_0x34db14([0x61,0x6c,0x67])]==_0x34db14([0x45,0x53,0x32,0x35,0x36])||(_0x16c4c9=!0x1);}async function _0x57feea(_0x459446,_0x58b536,_0x1077f7){const _0x5279b6=window[_0x34db14([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x34db14([0x66,0x72,0x6f,0x6d])](_0x16a011(_0x1077f7),_0xa15be4=>_0xa15be4[_0x34db14([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x9831c2=new window[(_0x34db14([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x34db14([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x459446+_0x34db14([0x2e])+_0x58b536),_0x32d219=window[_0x34db14([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x34db14([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x32d219)return;const _0x5f31e5=await _0x32d219[_0x34db14([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x34db14([0x6a,0x77,0x6b]),_0x474d01,{[_0x34db14([0x6e,0x61,0x6d,0x65])]:_0x34db14([0x45,0x43,0x44,0x53,0x41]),[_0x34db14([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x34db14([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x34db14([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x32d219[_0x34db14([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x34db14([0x6e,0x61,0x6d,0x65])]:_0x34db14([0x45,0x43,0x44,0x53,0x41]),[_0x34db14([0x68,0x61,0x73,0x68])]:{[_0x34db14([0x6e,0x61,0x6d,0x65])]:_0x34db14([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5f31e5,_0x5279b6,_0x9831c2)||(_0x16c4c9=!0x1);}}());return _0x41c49b?(function(){const _0xcf2a8f=_0x5c93f8[_0x34db14([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0xcf2a8f)return!0x1;if(_0xcf2a8f[_0x34db14([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34db14([0x2a])))return!0x0;if(_0xcf2a8f[_0x34db14([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34db14([0x45,0x43,0x48])))return!0x0;return!0x1;}())?(function(){const _0x4c5120=[_0x34db14([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x34db14([0x74,0x72,0x69,0x61,0x6c])][_0x34db14([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c93f8[_0x34db14([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4e5d7a/0x3e8:0x6a03bf00;return _0x5c93f8[_0x34db14([0x65,0x78,0x70])]<_0x4c5120;}())?_0x34db14([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x8dcfa7=_0x5c93f8[_0x34db14([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x8dcfa7||0x0==_0x8dcfa7[_0x34db14([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x404836}=new URL(window[_0x34db14([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x8dcfa7[_0x34db14([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x404836))return!0x0;const _0x18e31a=_0x404836[_0x34db14([0x73,0x70,0x6c,0x69,0x74])](_0x34db14([0x2e]));return _0x8dcfa7[_0x34db14([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x8d018d=>_0x8d018d[_0x34db14([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34db14([0x2a])))[_0x34db14([0x6d,0x61,0x70])](_0x2a9cbb=>_0x2a9cbb[_0x34db14([0x73,0x70,0x6c,0x69,0x74])](_0x34db14([0x2e])))[_0x34db14([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3bd923=>_0x3bd923[_0x34db14([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x18e31a[_0x34db14([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x34db14([0x6d,0x61,0x70])](_0x3183f5=>Array(_0x18e31a[_0x34db14([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3183f5[_0x34db14([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x34db14([0x66,0x69,0x6c,0x6c])](_0x3183f5[0x0]===_0x34db14([0x2a])?_0x34db14([0x2a]):'')[_0x34db14([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3183f5))[_0x34db14([0x73,0x6f,0x6d,0x65])](_0x3f2fd8=>_0x18e31a[_0x34db14([0x65,0x76,0x65,0x72,0x79])]((_0x7bf24f,_0x524d7a)=>_0x3f2fd8[_0x524d7a]===_0x7bf24f||_0x3f2fd8[_0x524d7a]===_0x34db14([0x2a])));}())?(_0x5c93f8[_0x34db14([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x34db14([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x123605=function(_0x254067){const _0x2fe987=new window[(_0x34db14([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15887f=>setTimeout(_0x15887f,0x93ecc)),_0x1884f1=_0x3afffd[_0x34db14([0x74,0x68,0x65,0x6e])](()=>new window[(_0x34db14([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3aaf79=>{let _0x279530=0x0;_0x4119a4[_0x34db14([0x6d,0x6f,0x64,0x65,0x6c])][_0x34db14([0x6f,0x6e])](_0x34db14([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x7a6e48,_0x1195ca)=>{_0x1195ca[0x0][_0x34db14([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x279530++,0x5e8==_0x279530&&(_0x3aaf79(),_0x7a6e48[_0x34db14([0x6f,0x66,0x66])]());});})),_0x5df34d=[_0x2fe987,_0x1884f1];return window[_0x34db14([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x34db14([0x72,0x61,0x63,0x65])](_0x5df34d)[_0x34db14([0x74,0x68,0x65,0x6e])](()=>_0x254067);}(_0x34db14([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x123605&&_0x1f862b)return new window[(_0x34db14([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1fbd23,_0x58d703)=>{_0x123605[_0x34db14([0x74,0x68,0x65,0x6e])](_0x1fbd23,_0x58d703),_0x1f862b[_0x34db14([0x74,0x68,0x65,0x6e])](_0x49f3d2=>{_0x49f3d2!=_0x34db14([0x56,0x61,0x6c,0x69,0x64])&&_0x1fbd23(_0x49f3d2);},_0x58d703);});return _0x123605||_0x1f862b||_0x34db14([0x56,0x61,0x6c,0x69,0x64]);}())):_0x34db14([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x34db14([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x34db14([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x34db14([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x4deb4b(_0x354953){return _0x354953[_0x34db14([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x34db14([0x65,0x79]))?JSON[_0x34db14([0x70,0x61,0x72,0x73,0x65])](_0x16a011(_0x354953)):null;}function _0x16a011(_0x3b3df0){return window[_0x34db14([0x61,0x74,0x6f,0x62])](_0x3b3df0[_0x34db14([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x34db14([0x2b]))[_0x34db14([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x34db14([0x2f])));}function _0x179ba6(_0x49e2c7){let _0x3df128=0x1505;function _0x299aa0(_0x191e12){for(let _0x201845=0x0;_0x201845<_0x191e12[_0x34db14([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x201845++){const _0x5517c8=_0x191e12[_0x34db14([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x201845);_0x3df128=(_0x3df128<<0x5)+_0x3df128+_0x5517c8,_0x3df128&=_0x3df128;}}return function _0x57bed7(_0x102fc5){Array[_0x34db14([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x102fc5)?_0x102fc5[_0x34db14([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x57bed7):_0x102fc5&&typeof _0x102fc5==_0x34db14([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x34db14([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x102fc5)[_0x34db14([0x73,0x6f,0x72,0x74])]()[_0x34db14([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x27cdb6,_0x184b89])=>{_0x299aa0(_0x27cdb6),_0x57bed7(_0x184b89);}):_0x299aa0(window[_0x34db14([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x102fc5));}(_0x49e2c7),_0x3df128>>>0x0;}function _0x14c393(_0x232e7d){return _0x232e7d[_0x34db14([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x34db14([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x34db14([0x30]));}function _0x1c58dc(_0x40627d){return _0x40627d[_0x34db14([0x73,0x70,0x6c,0x69,0x74])]('')[_0x34db14([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x34db14([0x6a,0x6f,0x69,0x6e])]('');}function _0x26f655(){}function _0x34db14(_0x2cb81e){return _0x2cb81e['map'](_0x2b26dc=>String['fromCharCode'](_0x2b26dc))['join']('');}!function(_0x31414e){const _0x279cf6=(function(){const _0x5b9483=window[_0x34db14([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x34db14([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x34db14([0x6e,0x6f,0x77])]())[_0x34db14([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x34db14([0x2e]),'');let _0xe95d6e=_0x34db14([0x75]);for(let _0x219441=0x0;_0x219441<_0x5b9483[_0x34db14([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x219441+=0x2){let _0x34719b=window[_0x34db14([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5b9483[_0x34db14([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x219441,_0x219441+0x2));_0x34719b>=_0x4bf8c1[_0x34db14([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x34719b-=_0x4bf8c1[_0x34db14([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xe95d6e+=_0x4bf8c1[_0x34719b];}return _0xe95d6e;}());_0x4119a4[_0x279cf6]=_0x34db14([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])+_0x31414e,_0x31414e!=_0x34db14([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x3afffd,_0x4119a4[_0x34db14([0x6d,0x6f,0x64,0x65,0x6c])][_0x34db14([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x26f655,_0x4119a4[_0x34db14([0x6d,0x6f,0x64,0x65,0x6c])][_0x34db14([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x26f655,_0x4119a4[_0x34db14([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x34db14([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x287e76);}class HighlightEmailIntegration extends ckeditor5['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 calculate=function(_0x3cc7b6){var _0x232089,_0x1075c0,_0x4ea793,_0x13f2df,_0x2b2a4c=[];for(_0x4ea793=0x0,_0x13f2df=(_0x232089=_0x3cc7b6['split'](','))['length'];_0x4ea793<_0x13f2df;_0x4ea793+=0x1)(_0x1075c0=_0x232089[_0x4ea793])['length']>0x0&&_0x2b2a4c['push'](calculateSingle(_0x1075c0));return _0x2b2a4c;},calculateSingle=function(_0x403a8a){var _0x973196,_0x2ee416,_0x4ea3cd=_0x403a8a,_0x12e6b6={'a':0x0,'b':0x0,'c':0x0},_0x4d3b2b=[];return _0x973196=function(_0x9e5f44,_0x13144e){var _0x3cd58d,_0x4c7f8d,_0x25facf,_0x214d30,_0x598881,_0x53d94f;if(_0x9e5f44['test'](_0x4ea3cd)){for(_0x4c7f8d=0x0,_0x25facf=(_0x3cd58d=_0x4ea3cd['match'](_0x9e5f44))['length'];_0x4c7f8d<_0x25facf;_0x4c7f8d+=0x1)_0x12e6b6[_0x13144e]+=0x1,_0x214d30=_0x3cd58d[_0x4c7f8d],_0x598881=_0x4ea3cd['indexOf'](_0x214d30),_0x53d94f=_0x214d30['length'],_0x4d3b2b['push']({'selector':_0x403a8a['substr'](_0x598881,_0x53d94f),'type':_0x13144e,'index':_0x598881,'length':_0x53d94f}),_0x4ea3cd=_0x4ea3cd['replace'](_0x214d30,Array(_0x53d94f+0x1)['join']('\x20'));}},_0x2ee416=function(_0x229f13){var _0x3334a7,_0x2b10ac,_0x38b1dc,_0x1f76c7;if(_0x229f13['test'](_0x4ea3cd)){for(_0x2b10ac=0x0,_0x38b1dc=(_0x3334a7=_0x4ea3cd['match'](_0x229f13))['length'];_0x2b10ac<_0x38b1dc;_0x2b10ac+=0x1)_0x1f76c7=_0x3334a7[_0x2b10ac],_0x4ea3cd=_0x4ea3cd['replace'](_0x1f76c7,Array(_0x1f76c7['length']+0x1)['join']('A'));}},_0x2ee416(/\\[0-9A-Fa-f]{6}\s?/g),_0x2ee416(/\\[0-9A-Fa-f]{1,5}\s/g),_0x2ee416(/\\./g),(function(){var _0x1899e7,_0x4f89a1,_0x95c8d7,_0x43059e,_0x718ce9=/{[^]*/gm;if(_0x718ce9['test'](_0x4ea3cd)){for(_0x4f89a1=0x0,_0x95c8d7=(_0x1899e7=_0x4ea3cd['match'](_0x718ce9))['length'];_0x4f89a1<_0x95c8d7;_0x4f89a1+=0x1)_0x43059e=_0x1899e7[_0x4f89a1],_0x4ea3cd=_0x4ea3cd['replace'](_0x43059e,Array(_0x43059e['length']+0x1)['join']('\x20'));}}()),_0x973196(/(\[[^\]]+\])/g,'b'),_0x973196(/(#[^\#\s\+>~\.\[:\)]+)/g,'a'),_0x973196(/(\.[^\s\+>~\.\[:\)]+)/g,'b'),_0x973196(/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,'c'),_0x973196(/(:(?!not|global|local)[\w-]+\([^\)]*\))/gi,'b'),_0x973196(/(:(?!not|global|local)[^\s\+>~\.\[:]+)/g,'b'),_0x4ea3cd=(_0x4ea3cd=(_0x4ea3cd=(_0x4ea3cd=(_0x4ea3cd=(_0x4ea3cd=_0x4ea3cd['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'),_0x973196(/([^\s\+>~\.\[:]+)/g,'c'),_0x4d3b2b['sort'](function(_0x35e8c0,_0x5a2d3b){return _0x35e8c0['index']-_0x5a2d3b['index'];}),{'selector':_0x403a8a,'specificity':'0,'+_0x12e6b6['a']['toString']()+','+_0x12e6b6['b']['toString']()+','+_0x12e6b6['c']['toString'](),'specificityArray':[0x0,_0x12e6b6['a'],_0x12e6b6['b'],_0x12e6b6['c']],'parts':_0x4d3b2b};},_0x57e9a4=function(_0xd8fd4,_0x120474){var _0xd2d4f5,_0x3022db,_0x168cd4;if('string'==typeof _0xd8fd4){if(-0x1!==_0xd8fd4['indexOf'](','))throw'Invalid\x20CSS\x20selector';_0xd2d4f5=calculateSingle(_0xd8fd4)['specificityArray'];}else{if(!Array['isArray'](_0xd8fd4))throw'Invalid\x20CSS\x20selector\x20or\x20specificity\x20array';if(0x4!==_0xd8fd4['filter'](function(_0x4a5b6f){return'number'==typeof _0x4a5b6f;})['length'])throw'Invalid\x20specificity\x20array';_0xd2d4f5=_0xd8fd4;}if('string'==typeof _0x120474){if(-0x1!==_0x120474['indexOf'](','))throw'Invalid\x20CSS\x20selector';_0x3022db=calculateSingle(_0x120474)['specificityArray'];}else{if(!Array['isArray'](_0x120474))throw'Invalid\x20CSS\x20selector\x20or\x20specificity\x20array';if(0x4!==_0x120474['filter'](function(_0x5be105){return'number'==typeof _0x5be105;})['length'])throw'Invalid\x20specificity\x20array';_0x3022db=_0x120474;}for(_0x168cd4=0x0;_0x168cd4<0x4;_0x168cd4+=0x1){if(_0xd2d4f5[_0x168cd4]<_0x3022db[_0x168cd4])return-0x1;if(_0xd2d4f5[_0x168cd4]>_0x3022db[_0x168cd4])return 0x1;}return 0x0;};function splitByTopLevelComma(_0x10c592){const _0x561c98=[];let _0x388a5e='',_0x5add31=0x0;for(;_0x5add31<_0x10c592['length'];){const _0x54fca8=_0x10c592[_0x5add31];if('('===_0x54fca8){const _0x2a236a=findMatchingParenthesis(_0x10c592,_0x5add31+0x1);if(-0x1===_0x2a236a)return[];_0x388a5e+=_0x10c592['slice'](_0x5add31,_0x2a236a+0x1),_0x5add31=_0x2a236a+0x1;}else','!==_0x54fca8||_0x388a5e['endsWith']('\x5c')?(_0x388a5e+=_0x54fca8,_0x5add31++):(_0x561c98['push'](_0x388a5e['trim']()),_0x388a5e='',_0x5add31++);}return _0x388a5e['trim']()&&_0x561c98['push'](_0x388a5e['trim']()),_0x561c98['filter'](Boolean);}function findMatchingParenthesis(_0x343110,_0x498835){let _0x2bbc8d=0x1;for(let _0x44ecd4=_0x498835;_0x44ecd4<_0x343110['length'];_0x44ecd4++){const _0x9981b0=_0x343110[_0x44ecd4];if('('===_0x9981b0)_0x2bbc8d++;else{if(')'===_0x9981b0&&(_0x2bbc8d--,0x0===_0x2bbc8d))return _0x44ecd4;}}return-0x1;}function dropImportantStyleSuffix(_0x130804){return _0x130804['replace'](/!\s*important/i,'')['trim']();}function collectRootStylesheetsVariables(_0x59b1ae){const _0x12e791=new Map();for(const {stylesMap:_0x302ced,flatSelector:_0x2a3222}of _0x59b1ae){if(':root'!==_0x2a3222)continue;const _0x820fbb=inlineStylesMapCSSVariables(_0x12e791['get']['bind'](_0x12e791),_0x302ced);for(const [_0x88fb05,_0x20b368]of _0x820fbb)_0x12e791['set'](_0x88fb05,_0x20b368);}return _0x12e791;}function inlineStylesMapCSSVariables(_0x1b5604,_0x3db96a){const _0x1e182f=new Map(),_0xbc2f8=_0xccc560=>_0x1e182f['has'](_0xccc560)?_0x1e182f['get'](_0xccc560):_0x1b5604(_0xccc560);for(const [_0x505da6,_0x270e6d]of _0x3db96a['getStylesEntries']())if(_0x270e6d&&_0x505da6['startsWith']('--')){const _0xfed6ca=inlineCSSVariablesInString(_0xbc2f8,_0x270e6d);_0x1e182f['set'](_0x505da6,_0xfed6ca),_0x3db96a['remove'](_0x505da6);}for(const [_0x9473c4,_0x54ee85]of _0x3db96a['getStylesEntries']())if(_0x54ee85){const _0x5c2519=inlineCSSVariablesInString(_0xbc2f8,_0x54ee85);_0x3db96a['set'](_0x9473c4,_0x5c2519);}return _0x1e182f;}function inlineCSSVariablesInString(_0x5bc181,_0x2c9c67){return _0x5ef8f1(_0x2c9c67,_0x105f68=>{const [_0x5b3985,_0x5d2d9f]=splitByTopLevelComma(_0x105f68),_0x1ca119=_0x5bc181(_0x5b3985);return void 0x0!==_0x1ca119?_0x1ca119:_0x5d2d9f?inlineCSSVariablesInString(_0x5bc181,_0x5d2d9f):'var('+_0x5b3985+')';});}function _0x5ef8f1(_0x3b34e8,_0x8ce7e){let _0x5f735a='',_0x2fd749=0x0;for(;_0x2fd749<_0x3b34e8['length'];){const _0x5d7bc4=_0x3b34e8['indexOf']('var(',_0x2fd749);if(-0x1===_0x5d7bc4){_0x5f735a+=_0x3b34e8['slice'](_0x2fd749);break;}_0x5f735a+=_0x3b34e8['slice'](_0x2fd749,_0x5d7bc4);const _0x528326=_0x5d7bc4+0x4,_0x4ab687=findMatchingParenthesis(_0x3b34e8,_0x528326);_0x5f735a+=_0x8ce7e(_0x3b34e8['substring'](_0x528326,_0x4ab687)),_0x2fd749=_0x4ab687+0x1;}return _0x5f735a;}async function collectAndProcessStylesheets(_0x334742){const _0x3fc0a9=[await ckeditor5['collectStylesheets'](_0x334742['stylesheets']),_0x334742['inlineCss']]['filter'](_0x4f8f4e=>_0x4f8f4e&&_0x4f8f4e['length'])['join']('\x0a'),_0x2beb95=await convertRawStylesheetToParsedCSSRules(_0x334742['stylesProcessor'],_0x3fc0a9);return{'parsedCssRules':_0x2beb95,'rootCssVariables':collectRootStylesheetsVariables(_0x2beb95)};}async function convertRawStylesheetToParsedCSSRules(_0x3af7d9,_0xd70485){const _0x2082bc=new CSSStyleSheet();return await _0x2082bc['replace'](_0xd70485),dropCSSNesting(Array['from'](_0x2082bc['cssRules'])['filter'](_0x40f838=>_0x40f838 instanceof CSSStyleRule))['flatMap'](({selectorText:_0x1903ca,contentCssText:_0x2d6fad})=>{const _0x29ba99=splitByTopLevelComma(_0x1903ca),_0x5a31dc=new ckeditor5['StylesMap'](_0x3af7d9)['setTo'](_0x2d6fad);return _0x29ba99['map'](_0x359b59=>{const _0x3d48e7=_0x35474e(_0x359b59),_0x3f2138=_0x3d48e7?calculate(_0x3d48e7)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0];return{'stylesMap':_0x5a31dc,'flatSelector':_0x359b59,'specificity':_0x3f2138};});})['sort']((_0x228ff6,_0x37f81c)=>_0x57e9a4(_0x228ff6['specificity'],_0x37f81c['specificity']));}function _0x35474e(_0x439011){const _0x24e0cd=':where(';let _0x4cb55b=_0x439011,_0x336d17=0x0;for(let _0xe43ed9=0x0;_0xe43ed9<0x64;_0xe43ed9++){const _0x36459f=_0x4cb55b['indexOf'](_0x24e0cd,_0x336d17);if(-0x1===_0x36459f)break;let _0xd8f791=0x0;for(let _0x4d547c=0x0;_0x4d547c<_0x36459f;_0x4d547c++)'('===_0x4cb55b[_0x4d547c]?_0xd8f791++:')'===_0x4cb55b[_0x4d547c]&&_0xd8f791--;if(_0xd8f791>0x0){_0x336d17=_0x36459f+0x7;continue;}let _0x3b55fa=-0x1;for(let _0x533f9a=_0x36459f+0x7,_0x2918a0=0x1;_0x533f9a<_0x4cb55b['length'];_0x533f9a++)if('('===_0x4cb55b[_0x533f9a]?_0x2918a0++:')'===_0x4cb55b[_0x533f9a]&&_0x2918a0--,!_0x2918a0){_0x3b55fa=_0x533f9a;break;}-0x1!==_0x3b55fa?(_0x4cb55b=_0x4cb55b['slice'](0x0,_0x36459f)+_0x4cb55b['slice'](_0x3b55fa+0x1),_0x336d17=_0x36459f):_0x336d17=_0x36459f+0x7;}return _0x4cb55b['replace'](/\s+/g,'\x20')['trim']();}function dropCSSNesting(_0x55c335,_0x3f4303=''){return _0x55c335['flatMap'](_0x20591c=>{const {selectorText:_0x3338b6,cssText:_0x23dfa8,cssRules:_0x9c0be0}=_0x20591c;if(!_0x3338b6)return[];const _0x58b7e7=_0x3338b6['replace'](/&/g,_0x3f4303);let _0x3f399d=_0x23dfa8['replace'](_0x3338b6,'')['trim']()['replace'](/^{|}$/g,'');if(!_0x9c0be0||!_0x9c0be0['length'])return[{'selectorText':_0x58b7e7,'contentCssText':_0x3f399d}];for(const _0x514609 of _0x9c0be0)_0x3f399d=_0x3f399d['replace'](_0x514609['cssText'],'')['trim']();return[{'selectorText':_0x58b7e7,'contentCssText':_0x3f399d},...dropCSSNesting(Array['from'](_0x9c0be0),_0x58b7e7)];});}function getElementInlineStyles(_0x147687){const _0x2d8e54=_0x147687['element']['getAttribute']('style')||'',_0x55ee90=_0x147687['parsedCssRules']['filter'](_0x481529=>_0x147687['element']['matches'](_0x481529['flatSelector']))['map'](_0x2256e5=>_0x2256e5['stylesMap']),_0x4e93b1=concatStylesMaps(_0x147687['stylesProcessor'],[..._0x55ee90,_0x2d8e54]);return{'localCSSVariables':inlineStylesMapCSSVariables(_0x147687['fallbackCSSVariablesLookup'],_0x4e93b1),'stylesMap':_0x4e93b1};}function concatStylesMaps(_0x3c487f,_0x280a7e){const _0x427790=new ckeditor5['StylesMap'](_0x3c487f);for(const _0x569dfc of _0x280a7e){let _0x2b64c5=null;if(_0x2b64c5='string'==typeof _0x569dfc?new ckeditor5['StylesMap'](_0x3c487f)['setTo'](_0x569dfc):_0x569dfc,_0x2b64c5){for(const [_0x2f4c71,_0x4fb535]of _0x2b64c5['getStylesEntries']())_0x427790['set'](_0x2f4c71,_0x4fb535);}}return _0x427790;}class ExportInlineStylesCommand extends ckeditor5['Command']{['_stylesProcessor'];constructor(_0x3a5af2){super(_0x3a5af2),this['set']('isBusy',!0x1),this['_stylesProcessor']=this['editor']['data']['stylesProcessor'],ckeditor5['addMarginStylesRules'](this['_stylesProcessor']),ckeditor5['addPaddingStylesRules'](this['_stylesProcessor']),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}async['execute'](_0x502f4b){const _0x222f0f=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x4c7042}=this['editor']['locale'],{rootName:_0x133a85='main',dataControllerDowncastOptions:_0x1f3347={},transformations:_0x7a8046=_0x222f0f['transformations']||[]}=_0x502f4b||{};this['isBusy']=!0x0,this['refresh']();const _0x24065e=this['_getRootDataHTMLFragment'](_0x133a85,_0x1f3347),_0x19b6c0=ckeditor5['createElement'](_0x24065e['ownerDocument'],'div',{'dir':_0x4c7042,'class':'ck-content'},[_0x24065e]);return this['_collectAndApplyStyles'](_0x7a8046,_0x19b6c0)['then'](()=>{const _0x347b82=extractElementChildrenAsFragment(_0x19b6c0),_0x2757f4=_0x19b6c0['getAttribute']('style');if(_0x2757f4)for(const _0x4d39bf of _0x347b82['children']){const _0x511603=_0x4d39bf['getAttribute']('style'),_0x3f41f1=concatStylesMaps(this['_stylesProcessor'],[_0x2757f4,_0x511603]);_0x4d39bf['setAttribute']('style',dumpNonSortedStylesMap$1(_0x3f41f1));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x347b82);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x15a089,_0x40143c){const {data:_0x434912,model:_0x1046f8}=this['editor'],_0x8c7d4=_0x1046f8['document']['getRoot'](_0x15a089),_0x5e4124=_0x434912['toView'](_0x8c7d4,_0x40143c);return _0x434912['htmlProcessor']['domConverter']['viewToDom'](_0x5e4124);}async['_collectAndApplyStyles'](_0x3d7337,_0x5ad3a3){const {stylesheets:_0x1ff8d5,inlineCss:_0x52ae77,stripCssClasses:_0x4112c8}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0x59c256,rootCssVariables:_0x565526}=await collectAndProcessStylesheets({'stylesheets':_0x1ff8d5||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0x52ae77}),_0x3ff78c=[];this['_processElementTree']({'transformations':_0x3d7337,'parsedCssRules':_0x59c256,'element':_0x5ad3a3,'stripCssClasses':_0x4112c8,'parentCSSVariablesLookup':_0x565526['get']['bind'](_0x565526),'runAfterDocumentTransformation':_0x457f44=>{_0x3ff78c['unshift'](_0x457f44);}});for(const _0x15c4e4 of _0x3ff78c)_0x15c4e4();}['_processElementTree']({element:_0x5e7229,parsedCssRules:_0xed6255,parentCSSVariablesLookup:_0x8bd48,runAfterDocumentTransformation:_0x30f3f3,stripCssClasses:_0x4a724b,transformations:_0x49b74c}){const {stylesMap:_0x348bbe,localCSSVariables:_0x1a1feb}=getElementInlineStyles({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x8bd48,'parsedCssRules':_0xed6255,'element':_0x5e7229}),_0x3a459e=[];for(const _0x25fc82 of _0x49b74c){const _0x31c811=_0x25fc82(_0x5e7229,_0x348bbe,{'runAfterDocumentTransformation':_0x30f3f3,'runAfterChildrenTransformation':_0x5ce649=>{_0x3a459e['unshift'](_0x5ce649);}});_0x31c811&&_0x31c811 instanceof HTMLElement&&(_0x5e7229=_0x31c811);}_0x348bbe['size']?_0x5e7229['setAttribute']('style',dumpNonSortedStylesMap$1(_0x348bbe)):_0x5e7229['removeAttribute']('style');const _0x44b876=_0x5b1692=>_0x1a1feb['has'](_0x5b1692)?_0x1a1feb['get'](_0x5b1692):_0x8bd48(_0x5b1692);for(const _0xa20a65 of _0x5e7229['children'])_0xa20a65 instanceof HTMLElement&&this['_processElementTree']({'element':_0xa20a65,'parsedCssRules':_0xed6255,'stripCssClasses':_0x4a724b,'transformations':_0x49b74c,'parentCSSVariablesLookup':_0x44b876,'runAfterDocumentTransformation':_0x30f3f3});_0x4a724b&&_0x5e7229['removeAttribute']('class');for(const _0x380947 of _0x3a459e)_0x380947();}}function dumpNonSortedStylesMap$1(_0x5cbd77){return _0x5cbd77['getStylesEntries']()['map'](_0x44372d=>_0x44372d['join'](':'))['join'](';')+';';}function extractElementChildrenAsFragment(_0x35388a){const _0x21645f=_0x35388a['ownerDocument']['createDocumentFragment']();for(;_0x35388a['firstChild'];)_0x21645f['appendChild'](_0x35388a['firstChild']);return _0x21645f;}class ExportInlineStylesEditing extends ckeditor5['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'](){_0x424c3c(this);}}async function _0x424c3c(_0x521c38){const _0x13ab70=_0x54ce7a([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]),_0x371af2=window[_0x54ce7a([0x44,0x61,0x74,0x65])][_0x54ce7a([0x6e,0x6f,0x77])](),_0x52c877=_0x521c38[_0x54ce7a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x7f447f=new window[(_0x54ce7a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a017d=>{_0x52c877[_0x54ce7a([0x6f,0x6e,0x63,0x65])](_0x54ce7a([0x72,0x65,0x61,0x64,0x79]),_0x4a017d);}),_0x3a6c20={[_0x54ce7a([0x6b,0x74,0x79])]:_0x54ce7a([0x45,0x43]),[_0x54ce7a([0x75,0x73,0x65])]:_0x54ce7a([0x73,0x69,0x67]),[_0x54ce7a([0x63,0x72,0x76])]:_0x54ce7a([0x50,0x2d,0x32,0x35,0x36]),[_0x54ce7a([0x78])]:_0x54ce7a([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]),[_0x54ce7a([0x79])]:_0x54ce7a([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]),[_0x54ce7a([0x61,0x6c,0x67])]:_0x54ce7a([0x45,0x53,0x32,0x35,0x36])},_0x4f3483=_0x52c877[_0x54ce7a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x54ce7a([0x67,0x65,0x74])](_0x54ce7a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x4150f0=await(async function(){let _0x1b9e70,_0x5784c3=null,_0x253340=null;try{if(_0x4f3483==_0x54ce7a([0x47,0x50,0x4c]))return _0x54ce7a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1b9e70=(function(){const _0x1200ab=_0x4f3483[_0x54ce7a([0x73,0x70,0x6c,0x69,0x74])](_0x54ce7a([0x2e]));if(0x3!=_0x1200ab[_0x54ce7a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x221f11=_0x1200ab[0x1];return _0x100c9e(_0x221f11);function _0x100c9e(_0xfae7c2){const _0x5ae3b9=_0x19e596(_0xfae7c2);return _0x5ae3b9&&_0x80a4c()?_0x5ae3b9:null;function _0x80a4c(){const _0x1f5675=_0x5ae3b9[_0x54ce7a([0x6a,0x74,0x69])],_0x1109ec=window[_0x54ce7a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f5675[_0x54ce7a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1f5675[_0x54ce7a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2cfba7={..._0x5ae3b9,[_0x54ce7a([0x6a,0x74,0x69])]:_0x1f5675[_0x54ce7a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1f5675[_0x54ce7a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2cfba7[_0x54ce7a([0x76,0x63])],_0x1b8ec5(_0x2cfba7)==_0x1109ec;}}}()),!_0x1b9e70)return _0x54ce7a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x1b9e70[_0x54ce7a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x253340=function(_0x10a3e2,_0x4cbf68){return new window[(_0x54ce7a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x386856=>{if(_0x3e6167())return _0x386856(_0x54ce7a([0x56,0x61,0x6c,0x69,0x64]));_0xdd7b5e(),_0x52c877[_0x54ce7a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x54ce7a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x17f482=!0x1;const _0x14ee5d=ckeditor5['uid']();function _0xa00248(_0xbe103d){return!!_0xbe103d&&(typeof _0xbe103d===_0x54ce7a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xbe103d===_0x54ce7a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xbe103d[_0x54ce7a([0x74,0x68,0x65,0x6e])]===_0x54ce7a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xbe103d[_0x54ce7a([0x63,0x61,0x74,0x63,0x68])]===_0x54ce7a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x307321(_0x1c18dd){_0x2764ba(_0x1c18dd)[_0x54ce7a([0x74,0x68,0x65,0x6e])](_0x588252=>{if(!_0x588252||_0x588252[_0x54ce7a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x54ce7a([0x6f,0x6b]))return _0x54ce7a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3ff029(_0x1b8ec5(_0x14ee5d+_0x4cbf68))!=_0x588252[_0x54ce7a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x54ce7a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x54ce7a([0x56,0x61,0x6c,0x69,0x64]);})[_0x54ce7a([0x74,0x68,0x65,0x6e])](_0x9e5aaa=>(_0x3111e9(),_0x9e5aaa),()=>{const _0x679f38=_0x237f40();return null==_0x679f38?(_0x3111e9(),_0x54ce7a([0x56,0x61,0x6c,0x69,0x64])):_0x54ce7a(_0x371af2-_0x679f38>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x54ce7a([0x74,0x68,0x65,0x6e])](_0x386856)[_0x54ce7a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x386856(_0x54ce7a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x6b1de5=0x36ee80;function _0x3111e9(){const _0x745325=_0x54ce7a([0x6c,0x6c,0x63,0x74,0x2d])+_0x3ff029(_0x1b8ec5(_0x10a3e2)),_0x3ff442=_0x289a58(_0x3ff029(window[_0x54ce7a([0x4d,0x61,0x74,0x68])][_0x54ce7a([0x63,0x65,0x69,0x6c])](_0x371af2/_0x6b1de5)));window[_0x54ce7a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x54ce7a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x745325,_0x3ff442);}function _0x237f40(){const _0x43d7b8=_0x54ce7a([0x6c,0x6c,0x63,0x74,0x2d])+_0x3ff029(_0x1b8ec5(_0x10a3e2)),_0x5dad5b=window[_0x54ce7a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x54ce7a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x43d7b8);return _0x5dad5b?window[_0x54ce7a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x289a58(_0x5dad5b),0x10)*_0x6b1de5:null;}function _0x2764ba(_0x2c64d1){return new window[(_0x54ce7a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x50c9a1,_0x38fb57)=>{_0x2c64d1[_0x54ce7a([0x74,0x68,0x65,0x6e])](_0x50c9a1,_0x38fb57),window[_0x54ce7a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x38fb57,0x1d4c0);});}}_0x52c877[_0x54ce7a([0x6f,0x6e])](_0x54ce7a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5cfe2d,_0x387248)=>{if(_0x387248[0x0]!=_0x10a3e2)return _0x386856(_0x54ce7a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x387248[0x1]={..._0x387248[0x1],[_0x54ce7a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x14ee5d};},{[_0x54ce7a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x54ce7a([0x68,0x69,0x67,0x68])}),_0x52c877[_0x54ce7a([0x6f,0x6e])](_0x54ce7a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x106857=>{_0xa00248(_0x106857[_0x54ce7a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x17f482=!0x0,_0x307321(_0x106857[_0x54ce7a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x54ce7a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x54ce7a([0x6c,0x6f,0x77])}),_0x7f447f[_0x54ce7a([0x74,0x68,0x65,0x6e])](()=>{_0x17f482||_0x386856(_0x54ce7a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3e6167(){return _0x52c877[_0x54ce7a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x54ce7a([0x76,0x69,0x65,0x77])][_0x54ce7a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x54ce7a([0x61,0x75,0x74,0x6f]);}function _0xdd7b5e(){_0x52c877[_0x54ce7a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x54ce7a([0x76,0x69,0x65,0x77])][_0x54ce7a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x54ce7a([0x61,0x75,0x74,0x6f]);}}(_0x1b9e70[_0x54ce7a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1b9e70[_0x54ce7a([0x6a,0x74,0x69])]));const _0x3ed004=await(async function(){let _0x3b626c=!0x0;try{const _0x298564=_0x4f3483[_0x54ce7a([0x73,0x70,0x6c,0x69,0x74])](_0x54ce7a([0x2e])),[_0x5b5e99,_0xf724e5,_0x20daa9]=_0x298564;return _0x68a67e(_0x5b5e99),await _0x4a013c(_0x5b5e99,_0xf724e5,_0x20daa9),_0x3b626c;}catch{return!0x1;}function _0x68a67e(_0x28bcc0){const _0x12df00=_0x19e596(_0x28bcc0);_0x12df00&&_0x12df00[_0x54ce7a([0x61,0x6c,0x67])]==_0x54ce7a([0x45,0x53,0x32,0x35,0x36])||(_0x3b626c=!0x1);}async function _0x4a013c(_0x48c9bf,_0xa1a55c,_0x1f4c3b){const _0x3bb72d=window[_0x54ce7a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x54ce7a([0x66,0x72,0x6f,0x6d])](_0x4d16cd(_0x1f4c3b),_0x74b81d=>_0x74b81d[_0x54ce7a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4bd7f1=new window[(_0x54ce7a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x54ce7a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x48c9bf+_0x54ce7a([0x2e])+_0xa1a55c),_0x2e54e9=window[_0x54ce7a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x54ce7a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2e54e9)return;const _0x16f2ac=await _0x2e54e9[_0x54ce7a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x54ce7a([0x6a,0x77,0x6b]),_0x3a6c20,{[_0x54ce7a([0x6e,0x61,0x6d,0x65])]:_0x54ce7a([0x45,0x43,0x44,0x53,0x41]),[_0x54ce7a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x54ce7a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x54ce7a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2e54e9[_0x54ce7a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x54ce7a([0x6e,0x61,0x6d,0x65])]:_0x54ce7a([0x45,0x43,0x44,0x53,0x41]),[_0x54ce7a([0x68,0x61,0x73,0x68])]:{[_0x54ce7a([0x6e,0x61,0x6d,0x65])]:_0x54ce7a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x16f2ac,_0x3bb72d,_0x4bd7f1)||(_0x3b626c=!0x1);}}());return _0x3ed004?(function(){const _0x453660=_0x1b9e70[_0x54ce7a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x453660)return!0x1;if(_0x453660[_0x54ce7a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54ce7a([0x2a])))return!0x0;if(_0x453660[_0x54ce7a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54ce7a([0x45,0x49,0x53])))return!0x0;return!0x1;}())?(function(){const _0x108a8a=[_0x54ce7a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x54ce7a([0x74,0x72,0x69,0x61,0x6c])][_0x54ce7a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b9e70[_0x54ce7a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x371af2/0x3e8:0x6a03bf00;return _0x1b9e70[_0x54ce7a([0x65,0x78,0x70])]<_0x108a8a;}())?_0x54ce7a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x3278c1=_0x1b9e70[_0x54ce7a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3278c1||0x0==_0x3278c1[_0x54ce7a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3c3313}=new URL(window[_0x54ce7a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3278c1[_0x54ce7a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c3313))return!0x0;const _0x3af60e=_0x3c3313[_0x54ce7a([0x73,0x70,0x6c,0x69,0x74])](_0x54ce7a([0x2e]));return _0x3278c1[_0x54ce7a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x11a575=>_0x11a575[_0x54ce7a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54ce7a([0x2a])))[_0x54ce7a([0x6d,0x61,0x70])](_0xa72b4a=>_0xa72b4a[_0x54ce7a([0x73,0x70,0x6c,0x69,0x74])](_0x54ce7a([0x2e])))[_0x54ce7a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x14532b=>_0x14532b[_0x54ce7a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3af60e[_0x54ce7a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x54ce7a([0x6d,0x61,0x70])](_0x22c3d9=>Array(_0x3af60e[_0x54ce7a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x22c3d9[_0x54ce7a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x54ce7a([0x66,0x69,0x6c,0x6c])](_0x22c3d9[0x0]===_0x54ce7a([0x2a])?_0x54ce7a([0x2a]):'')[_0x54ce7a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x22c3d9))[_0x54ce7a([0x73,0x6f,0x6d,0x65])](_0x331622=>_0x3af60e[_0x54ce7a([0x65,0x76,0x65,0x72,0x79])]((_0x4de5a7,_0x5ecf95)=>_0x331622[_0x5ecf95]===_0x4de5a7||_0x331622[_0x5ecf95]===_0x54ce7a([0x2a])));}())?(_0x1b9e70[_0x54ce7a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x54ce7a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5784c3=function(_0x49a4e9){const _0xd47a59=new window[(_0x54ce7a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36a216=>setTimeout(_0x36a216,0x93ecc)),_0xfe5409=_0x7f447f[_0x54ce7a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x54ce7a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3e1f7=>{let _0x53ff65=0x0;_0x52c877[_0x54ce7a([0x6d,0x6f,0x64,0x65,0x6c])][_0x54ce7a([0x6f,0x6e])](_0x54ce7a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4711ac,_0x355474)=>{_0x355474[0x0][_0x54ce7a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x53ff65++,0x5e8==_0x53ff65&&(_0x3e1f7(),_0x4711ac[_0x54ce7a([0x6f,0x66,0x66])]());});})),_0x32babe=[_0xd47a59,_0xfe5409];return window[_0x54ce7a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x54ce7a([0x72,0x61,0x63,0x65])](_0x32babe)[_0x54ce7a([0x74,0x68,0x65,0x6e])](()=>_0x49a4e9);}(_0x54ce7a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x5784c3&&_0x253340)return new window[(_0x54ce7a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x59b191,_0xbfac9b)=>{_0x5784c3[_0x54ce7a([0x74,0x68,0x65,0x6e])](_0x59b191,_0xbfac9b),_0x253340[_0x54ce7a([0x74,0x68,0x65,0x6e])](_0x38ea5f=>{_0x38ea5f!=_0x54ce7a([0x56,0x61,0x6c,0x69,0x64])&&_0x59b191(_0x38ea5f);},_0xbfac9b);});return _0x5784c3||_0x253340||_0x54ce7a([0x56,0x61,0x6c,0x69,0x64]);}())):_0x54ce7a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x54ce7a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x54ce7a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x54ce7a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x19e596(_0x4dfd53){return _0x4dfd53[_0x54ce7a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x54ce7a([0x65,0x79]))?JSON[_0x54ce7a([0x70,0x61,0x72,0x73,0x65])](_0x4d16cd(_0x4dfd53)):null;}function _0x4d16cd(_0xcd6215){return window[_0x54ce7a([0x61,0x74,0x6f,0x62])](_0xcd6215[_0x54ce7a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x54ce7a([0x2b]))[_0x54ce7a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x54ce7a([0x2f])));}function _0x1b8ec5(_0x487d26){let _0x27c09f=0x1505;function _0xac7edb(_0x2eada4){for(let _0x3304f8=0x0;_0x3304f8<_0x2eada4[_0x54ce7a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3304f8++){const _0x55e49b=_0x2eada4[_0x54ce7a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3304f8);_0x27c09f=(_0x27c09f<<0x5)+_0x27c09f+_0x55e49b,_0x27c09f&=_0x27c09f;}}return function _0x1c2c0b(_0x36835c){Array[_0x54ce7a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x36835c)?_0x36835c[_0x54ce7a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1c2c0b):_0x36835c&&typeof _0x36835c==_0x54ce7a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x54ce7a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x36835c)[_0x54ce7a([0x73,0x6f,0x72,0x74])]()[_0x54ce7a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x45f849,_0x5dab6b])=>{_0xac7edb(_0x45f849),_0x1c2c0b(_0x5dab6b);}):_0xac7edb(window[_0x54ce7a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x36835c));}(_0x487d26),_0x27c09f>>>0x0;}function _0x3ff029(_0x3c7fe0){return _0x3c7fe0[_0x54ce7a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x54ce7a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x54ce7a([0x30]));}function _0x289a58(_0x25293f){return _0x25293f[_0x54ce7a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x54ce7a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x54ce7a([0x6a,0x6f,0x69,0x6e])]('');}function _0x7f5ca5(){}function _0x54ce7a(_0x5a2b41){return _0x5a2b41['map'](_0x1f0a12=>String['fromCharCode'](_0x1f0a12))['join']('');}!function(_0x35a27d){const _0x1f682b=(function(){const _0x48f654=window[_0x54ce7a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x54ce7a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x54ce7a([0x6e,0x6f,0x77])]())[_0x54ce7a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x54ce7a([0x2e]),'');let _0x436fa4=_0x54ce7a([0x44]);for(let _0xc78b1d=0x0;_0xc78b1d<_0x48f654[_0x54ce7a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xc78b1d+=0x2){let _0x5ebdd3=window[_0x54ce7a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x48f654[_0x54ce7a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xc78b1d,_0xc78b1d+0x2));_0x5ebdd3>=_0x13ab70[_0x54ce7a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5ebdd3-=_0x13ab70[_0x54ce7a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x436fa4+=_0x13ab70[_0x5ebdd3];}return _0x436fa4;}());_0x52c877[_0x1f682b]=_0x54ce7a([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])+_0x35a27d,_0x35a27d!=_0x54ce7a([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x7f447f;const _0x18922b=_0x52c877['commands'][_0x54ce7a([0x67,0x65,0x74])](_0x54ce7a([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0x18922b&&_0x18922b[_0x54ce7a([0x6f,0x6e])](_0x54ce7a([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0x13ff30=>{_0x13ff30['stop']();},{'priority':_0x54ce7a([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),(_0x52c877[_0x54ce7a([0x6d,0x6f,0x64,0x65,0x6c])][_0x54ce7a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x7f5ca5,_0x52c877[_0x54ce7a([0x6d,0x6f,0x64,0x65,0x6c])][_0x54ce7a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x7f5ca5,_0x52c877[_0x54ce7a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x54ce7a([0x6d,0x6f,0x64,0x65,0x6c])));}());}(_0x4150f0);}class ExportInlineStyles extends ckeditor5['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 _0x5b8b95=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1558ca;for(const _0x15f690 in _0x5b8b95){const _0x594611=_0x15f690,_0x587135=_0x5b8b95[_0x594611];if('exportInlineStylesLicenseKeyValid'==_0x587135||'exportInlineStylesLicenseKeyInvalid'==_0x587135||'exportInlineStylesLicenseKeyExpired'==_0x587135||'exportInlineStylesLicenseKeyDomainLimit'==_0x587135||'exportInlineStylesLicenseKeyNotAllowed'==_0x587135||'exportInlineStylesLicenseKeyEvaluationLimit'==_0x587135||'exportInlineStylesLicenseKeyUsageLimit'==_0x587135){delete _0x5b8b95[_0x594611],_0x1558ca=_0x587135,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0x1558ca&&_0x5b8b95['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0x1558ca&&_0x5b8b95['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0x1558ca&&_0x5b8b95['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0x1558ca&&_0x5b8b95['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0x1558ca&&_0x5b8b95['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0x1558ca&&_0x5b8b95['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function wrapWithFallbackTables(_0x4fa34c,_0x47ba9){const _0x4373f3=_0x4fa34c['ownerDocument'],{table:_0x3d6374,cell:_0x315bed}=createWrapperTable(_0x4373f3,'100%');_0x47ba9['align']&&_0x315bed['setAttribute']('align',dropImportantStyleSuffix(_0x47ba9['align']));let _0x4fbd9e=_0x315bed;if(_0x47ba9['width']){const {table:_0x4c6191,cell:_0xcdb61b}=createWrapperTable(_0x4373f3,dropImportantStyleSuffix(_0x47ba9['width']));_0x315bed['appendChild'](_0x4c6191),_0x4fbd9e=_0xcdb61b;}return _0x4fa34c['replaceWith'](_0x3d6374),_0x4fa34c['removeAttribute']('align'),_0x4fa34c['removeAttribute']('width'),_0x4fbd9e['appendChild'](_0x4fa34c),_0x4fbd9e;}function createWrapperTable(_0x1abc73,_0x207dd3){const _0x2a4519=_0x1abc73['createElement']('table');_0x207dd3&&(_0x2a4519['style']['width']=_0x207dd3,_0x2a4519['setAttribute']('width',normalizeLegacyNumericAttribute(_0x207dd3))),_0x2a4519['setAttribute']('cellpadding','0'),_0x2a4519['setAttribute']('cellspacing','0'),_0x2a4519['setAttribute']('border','0'),_0x2a4519['setAttribute']('role','presentation');const _0x296551=_0x1abc73['createElement']('tbody'),_0x27864b=_0x1abc73['createElement']('tr'),_0x4d85e9=_0x1abc73['createElement']('td');return _0x2a4519['appendChild'](_0x296551),_0x296551['appendChild'](_0x27864b),_0x27864b['appendChild'](_0x4d85e9),{'table':_0x2a4519,'cell':_0x4d85e9};}function getAlignFromMargins(_0x113b81){const _0x2dcc2b=_0x113b81['getAsString']('margin-left'),_0xf5d4b5=_0x113b81['getAsString']('margin-right'),_0x51749e=_0x2dcc2b&&dropImportantStyleSuffix(_0x2dcc2b),_0x339bdf=_0xf5d4b5&&dropImportantStyleSuffix(_0xf5d4b5);return'auto'===_0x51749e&&'auto'===_0x339bdf?'center':'auto'===_0x51749e?'right':'auto'===_0x339bdf?'left':void 0x0;}function shallowCloneHTMLElement(_0x44721f,_0x563b23){const _0x12018c=_0x44721f['ownerDocument']['createElement'](_0x563b23);for(const _0x1e2ff5 of Array['from'](_0x44721f['attributes']))_0x12018c['setAttribute'](_0x1e2ff5['name'],_0x1e2ff5['value']);for(;_0x44721f['firstChild'];)_0x12018c['appendChild'](_0x44721f['firstChild']);return _0x12018c;}function _0x574053(_0xd4ce0b){if('TABLE'!==_0xd4ce0b['tagName'])return!0x1;if('presentation'!==_0xd4ce0b['getAttribute']('role'))return!0x1;const _0x4849ee=getWrapperTableCell(_0xd4ce0b);return null!==_0x4849ee&&_0x4849ee['hasAttribute']('align');}function getWrapperTableCell(_0xbe4f80){let _0x406b3d=_0xbe4f80;0x1===_0xbe4f80['children']['length']&&'TBODY'===_0xbe4f80['children'][0x0]['tagName']&&(_0x406b3d=_0xbe4f80['children'][0x0]);const _0x5f5d2a=_0x406b3d['children'];if(0x1!==_0x5f5d2a['length']||'TR'!==_0x5f5d2a[0x0]['tagName'])return null;const _0x45413c=_0x5f5d2a[0x0]['children'];return 0x1!==_0x45413c['length']||'TD'!==_0x45413c[0x0]['tagName']?null:_0x45413c[0x0];}function normalizeLegacyNumericAttribute(_0x1b5d14){return _0x244c9c(dropImportantStyleSuffix(_0x1b5d14));}function _0x244c9c(_0x5802d7){return _0x5802d7['endsWith']('px')?_0x5802d7['slice'](0x0,-0x2):_0x5802d7;}function dumpNonSortedStylesMap(_0xc176f3){return _0xc176f3['getStylesEntries']()['map'](_0x4a0c76=>_0x4a0c76['join'](':'))['join'](';')+';';}const transformEmailFigureToTable=(_0x259f6f,_0x81298,{runAfterDocumentTransformation:_0x3defcc,runAfterChildrenTransformation:_0x761e6a})=>{if('FIGURE'!==_0x259f6f['tagName'])return;const _0x1b64fe=_0x81298['getAsString']('float');if(_0x1b64fe){if(getSingleTableChild(_0x259f6f))_0x3defcc(()=>{const _0x1b2e9d=getSingleTableChild(_0x259f6f);_0x1b2e9d&&promoteInnerTable(_0x259f6f,_0x1b2e9d,{'align':_0x1b64fe});});else{const {table:_0x3784ff,cell:_0x289441}=createWrapperTable(_0x259f6f['ownerDocument']);_0x3784ff['setAttribute']('align',dropImportantStyleSuffix(_0x1b64fe)),_0x3784ff['setAttribute']('style',dumpNonSortedStylesMap(_0x81298)),_0x761e6a(()=>{for(const _0x208a8e of Array['from'](_0x259f6f['childNodes']))_0x289441['appendChild'](_0x208a8e);}),_0x3defcc(()=>{_0x259f6f['replaceWith'](_0x3784ff);});}}else{const _0x1ff121=getAlignFromMargins(_0x81298),_0x2de94a=_0x81298['getAsString']('width');if(!_0x1ff121&&!_0x2de94a)return;wrapWithFallbackTables(_0x259f6f,{'align':_0x1ff121,'width':_0x2de94a}),_0x2de94a&&_0x81298['set']('width','100%'),_0x81298['remove']('margin-left'),_0x81298['remove']('margin-right'),_0x81298['remove']('min-width'),_0x81298['remove']('max-width'),_0x3defcc(()=>{const _0x1bf402=getSingleTableChild(_0x259f6f);if(_0x1bf402)promoteInnerTable(_0x259f6f,_0x1bf402);else{const _0xf22804=shallowCloneHTMLElement(_0x259f6f,'div');_0x259f6f['replaceWith'](_0xf22804);}});}};function promoteInnerTable(_0x33ffa7,_0x819fa9,_0x2709f9={}){for(const _0x574539 of['id','class']){const _0x5267e9=_0x33ffa7['getAttribute'](_0x574539);_0x5267e9&&_0x819fa9['setAttribute'](_0x574539,_0x5267e9);}for(const _0x523e58 of['display','float','width','height'])_0x819fa9['style']['removeProperty'](_0x523e58);const _0x505a8e=_0x33ffa7['getAttribute']('style');if(_0x505a8e){const _0x3f41e2=_0x819fa9['getAttribute']('style')||'';_0x819fa9['setAttribute']('style',_0x505a8e+_0x3f41e2);}_0x2709f9['align']&&_0x819fa9['setAttribute']('align',dropImportantStyleSuffix(_0x2709f9['align'])),_0x33ffa7['replaceWith'](_0x819fa9);}function getSingleTableChild(_0x49807d){const _0x59039c=Array['from'](_0x49807d['children']);return 0x1===_0x59039c['length']&&'TABLE'===_0x59039c[0x0]['tagName']?_0x59039c[0x0]:null;}class ImageEmailIntegration extends ckeditor5['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'ImageEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0x137f67,plugins:_0x40d359}=this['editor'],_0x4b0041=_0x137f67['get']('exportInlineStyles');if(_0x4b0041?.['transformations']?.['includes'](transformEmailFigureToTable))return;_0x40d359['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 ckeditor5['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 ckeditor5['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'ExportInlineStylesEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x53c45e=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('ExportInlineStyles')||_0x53c45e['_logSuppressibleWarning']('email-configuration-missing-export-inline-styles-plugin');}}class ListEmailIntegration extends ckeditor5['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'ListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x107f08=this['editor']['plugins']['get'](EmailConfigurationLogger),_0x364466=this['editor']['config']['get']('list');_0x364466&&_0x364466['properties']&&_0x364466['properties']['reversed']&&_0x107f08['_logSuppressibleWarning']('email-configuration-unsupported-reversed-list'),_0x364466&&_0x364466['enableListItemMarkerFormatting']&&_0x107f08['_logSuppressibleWarning']('email-configuration-unsupported-list-item-marker-formatting');}}class TableEmailIntegration extends ckeditor5['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:_0x11f1c3}=this['editor'],_0x25938c=_0x11f1c3['get'](EmailConfigurationLogger);_0x11f1c3['has']('Table')&&(_0x11f1c3['has']('PlainTableOutput')||_0x25938c['_logSuppressibleWarning']('email-configuration-missing-plain-table-output-plugin'),_0x11f1c3['has']('TableLayout')||_0x25938c['_logSuppressibleWarning']('email-configuration-missing-table-layout-plugin'));}['_checkTableConfig'](){const {config:_0xdee123,plugins:_0x22b5a5}=this['editor'];_0xdee123['get']('table')&&_0x22b5a5['has']('Table')&&(this['_checkTablePropertiesConfig']('tableCellProperties'),this['_checkTablePropertiesConfig']('tableProperties'));}['_checkTablePropertiesConfig'](_0x5199a7){const _0x5ec6a1=this['editor']['plugins']['get'](EmailConfigurationLogger);_0x5ec6a1['_validateConfigColorValue']('table.'+_0x5199a7+'.borderColors'),_0x5ec6a1['_validateConfigColorValue']('table.'+_0x5199a7+'.backgroundColors'),_0x5ec6a1['_validateConfigColorValue']('table.'+_0x5199a7+'.defaultProperties.borderColor'),_0x5ec6a1['_validateConfigColorValue']('table.'+_0x5199a7+'.defaultProperties'),_0x5ec6a1['_validateConfigColorFormat']('table.'+_0x5199a7+'.colorPicker.format');}}class EmptyBlockEmailIntegration extends ckeditor5['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'EmptyBlockEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x299f9a=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('EmptyBlock')||_0x299f9a['_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 ckeditor5['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'FontEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0x5a0830}=this['editor'];_0x5a0830['has']('FontColorEditing')&&this['_checkColorConfig']('fontColor'),_0x5a0830['has']('FontBackgroundColorEditing')&&this['_checkColorConfig']('fontBackgroundColor');}['_checkColorConfig'](_0x5b1b87){const _0x765c20=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['config']['get'](_0x5b1b87)&&(_0x765c20['_validateConfigColorValue'](_0x5b1b87+'.colors'),_0x765c20['_validateConfigColorValue'](_0x5b1b87+'.documentColors'),_0x765c20['_validateConfigColorFormat'](_0x5b1b87+'.colorPicker.format'));}}class SourceEditingEmailIntegration extends ckeditor5['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'SourceEditingEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0xf20060}=this['editor'],_0x35e02d=_0xf20060['get'](EmailConfigurationLogger);_0xf20060['has']('SourceEditing')||_0xf20060['has']('SourceEditingEnhanced')||_0x35e02d['_logSuppressibleWarning']('email-configuration-missing-source-editing-plugin');}}class MarkdownEmailIntegration extends ckeditor5['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 ckeditor5['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:_0x11d07e}=this['editor'];if(!_0x11d07e['has']('DataFilter'))return;const _0x462245=_0x11d07e['get']('DataFilter'),_0x1b1231=_0x11d07e['get'](EmailConfigurationLogger);for(const _0x39efa3 of GeneralHtmlIntegrationSupport['UNSUPPORTED_ELEMENTS'])_0x462245['once']('register:'+_0x39efa3,(_0x66e957,_0x13a7b9)=>{_0x1b1231['_logSuppressibleWarning']('email-unsupported-html-element',{'element':_0x13a7b9['view']});});}}class MergeFieldsEmailIntegration extends ckeditor5['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'MergeFieldsEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x166948=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('MergeFields')||_0x166948['_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 ckeditor5['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'TemplateEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x176ce4=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('Template')||_0x176ce4['_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 ckeditor5['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 ckeditor5['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 ckeditor5['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 ckeditor5['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 ckeditor5['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'LinkEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0x584713,plugins:_0xcb865f}=this['editor'],_0x45f63b=_0xcb865f['get'](EmailConfigurationLogger),_0x21efb2=_0x584713['get']('exportInlineStyles');_0x21efb2?.['transformations']?.['includes'](transformEmailFigureToTable)||_0x45f63b['_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 ckeditor5['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 _0x3d2dc1=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4a8656;for(const _0x1e8623 in _0x3d2dc1){const _0x8915e6=_0x1e8623,_0x5bd9bf=_0x3d2dc1[_0x8915e6];if('emailConfigurationHelperLicenseKeyValid'==_0x5bd9bf||'emailConfigurationHelperLicenseKeyInvalid'==_0x5bd9bf||'emailConfigurationHelperLicenseKeyExpired'==_0x5bd9bf||'emailConfigurationHelperLicenseKeyDomainLimit'==_0x5bd9bf||'emailConfigurationHelperLicenseKeyNotAllowed'==_0x5bd9bf||'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x5bd9bf||'emailConfigurationHelperLicenseKeyUsageLimit'==_0x5bd9bf){delete _0x3d2dc1[_0x8915e6],_0x4a8656=_0x5bd9bf,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'emailConfigurationHelperLicenseKeyInvalid'==_0x4a8656&&_0x3d2dc1['_showLicenseError']('invalid'),'emailConfigurationHelperLicenseKeyExpired'==_0x4a8656&&_0x3d2dc1['_showLicenseError']('expired'),'emailConfigurationHelperLicenseKeyDomainLimit'==_0x4a8656&&_0x3d2dc1['_showLicenseError']('domainLimit'),'emailConfigurationHelperLicenseKeyNotAllowed'==_0x4a8656&&_0x3d2dc1['_showLicenseError']('featureNotAllowed','EmailConfigurationHelper'),'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x4a8656&&_0x3d2dc1['_showLicenseError']('evaluationLimit'),'emailConfigurationHelperLicenseKeyUsageLimit'==_0x4a8656&&_0x3d2dc1['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}const transformEmailFloatToAlign=(_0x10824c,_0x10cb9b)=>{if(!['TABLE','IMG']['includes'](_0x10824c['tagName']))return;const _0x3071f4=_0x10cb9b['getAsString']('float');if(_0x3071f4){const _0x556abd=dropImportantStyleSuffix(_0x3071f4);'left'!==_0x556abd&&'right'!==_0x556abd||_0x10824c['setAttribute']('align',_0x556abd);}},transformEmailMarginToAlign=(_0x11be77,_0x375c69)=>{if('TABLE'!==_0x11be77['tagName']||_0x375c69['has']('float'))return;const _0x778ed4=getAlignFromMargins(_0x375c69),_0x10e1aa=_0x375c69['getAsString']('width');_0x778ed4&&(wrapWithFallbackTables(_0x11be77,{'align':_0x778ed4}),_0x10e1aa?_0x11be77['setAttribute']('width',normalizeLegacyNumericAttribute(_0x10e1aa)):_0x375c69['remove']('width'),_0x375c69['remove']('margin-left'),_0x375c69['remove']('margin-right'));},transformEmailImageWidthAttributes=(_0x132bed,_0x244563)=>{if('IMG'!==_0x132bed['tagName'])return;const _0x3c1492=_0x244563['getAsString']('width');_0x3c1492&&(_0x132bed['setAttribute']('width',normalizeLegacyNumericAttribute(_0x3c1492)),_0x132bed['setAttribute']('height','auto'));},transformEmailFigcaptionToDiv=(_0x19b582,_0x2d2efc,{runAfterDocumentTransformation:_0x18835a})=>{if('FIGCAPTION'!==_0x19b582['tagName'])return;const _0x3c1133=_0x2d2efc['getAsString']('display'),_0x2042b1=_0x2d2efc['getAsString']('caption-side');_0x2d2efc['remove']('caption-side'),_0x3c1133&&'table-caption'===dropImportantStyleSuffix(_0x3c1133)&&_0x2d2efc['remove']('display');const _0x4ed3d9=_0x2042b1&&'top'===dropImportantStyleSuffix(_0x2042b1);_0x18835a(()=>{const _0x72b260=shallowCloneHTMLElement(_0x19b582,'div'),_0x2dbc4b=_0x19b582['previousElementSibling'];_0x4ed3d9&&_0x2dbc4b&&'TABLE'===_0x2dbc4b['tagName']?(_0x2dbc4b['before'](_0x72b260),_0x19b582['remove']()):_0x19b582['replaceWith'](_0x72b260);});},transformEmailAlignToAttribute=(_0x3d4e85,_0x4d01e5,{runAfterChildrenTransformation:_0x3ddc8d})=>{'TD'===_0x3d4e85['tagName']&&_0x3ddc8d(()=>{const _0x140a8b=Array['from'](_0x3d4e85['children']);if(0x0===_0x140a8b['length'])return;const _0x1a4086=_0x140a8b['map'](getEffectiveChildAlign),_0x3d10ab=_0x1a4086[0x0];if(_0x3d10ab&&_0x1a4086['every'](_0x266079=>_0x266079===_0x3d10ab)){_0x3d4e85['setAttribute']('align',_0x3d10ab);for(const _0x14acb9 of _0x140a8b)if(_0x574053(_0x14acb9)){const _0x43d4b0=getWrapperTableCell(_0x14acb9);_0x14acb9['replaceWith'](...Array['from'](_0x43d4b0['childNodes']));}else _0x14acb9['style']['removeProperty']('text-align'),_0x14acb9['style']['length']||_0x14acb9['removeAttribute']('style');}});};function getEffectiveChildAlign(_0xaf4ae0){if(_0x574053(_0xaf4ae0))return getWrapperTableCell(_0xaf4ae0)['getAttribute']('align');return _0xaf4ae0['style']['textAlign']||void 0x0;}function getEmailInlineStylesTransformations(_0x17983e={}){const _0x28d77d=[];return _0x17983e['useFigureToTableFallback']&&_0x28d77d['push'](transformEmailFigureToTable,transformEmailFigcaptionToDiv,transformEmailAlignToAttribute),_0x28d77d['push'](transformEmailFloatToAlign,transformEmailMarginToAlign,transformEmailImageWidthAttributes),_0x28d77d;}function getTranslation$d(_0x16a8d5,_0x3bb431){const t=_0x16a8d5['t'];switch(_0x3bb431){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 _0x3bb431;}}class ExportPdfCommand extends ckeditor5['Command']{constructor(_0x535a73){super(_0x535a73),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x3a9fbf={}){const {editor:_0x1c9154}=this,_0x349089=_0x3a9fbf['version']||_0x1c9154['config']['get']('exportPdf.version'),_0x5b0454=_0x3a9fbf['converterUrl']||getProductionConverterURL(_0x349089),_0x20d2a5=_0x3a9fbf['dataCallback']||(_0x5bc6a1=>_0x5bc6a1['data']['get']()),_0x533ca9=_0x1c9154['plugins']['get']('ExportPdf'),_0x3c5364=_0x3a9fbf['token']||_0x533ca9['_token'];return this['isBusy']=!0x0,this['refresh'](),ckeditor5['collectStylesheets'](_0x3a9fbf['stylesheets']||['EDITOR_STYLES'])['then'](async _0x508c1d=>{if(_0x1c9154['ui']['ariaLiveAnnouncer']['announce'](getTranslation$d(_0x1c9154['locale'],'PDF\x20export\x20started')),_0x1c9154['plugins']['has']('MergeFields')){_0x3a9fbf['converterOptions']||(_0x3a9fbf['converterOptions']={});const _0x44200d=_0x1c9154['plugins']['get']('MergeFieldsEditing'),_0x1a6fc8=_0x44200d['previewMode'],{prefix:_0x51fa04,suffix:_0x453733}=_0x1c9154['config']['get']('mergeFields'),_0x49c8cd='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=',_0x59fe5a={'prefix':_0x51fa04,'suffix':_0x453733,'data':{}};if('$labels'===_0x1a6fc8){for(const _0x4b2c78 of _0x44200d['getMergeFieldsIds']())'image'===_0x44200d['getMergeFieldType'](_0x4b2c78)?_0x59fe5a['data'][_0x4b2c78]=_0x49c8cd:_0x59fe5a['data'][_0x4b2c78]=_0x44200d['wrapInAffixes'](_0x44200d['getLabel'](_0x4b2c78)||_0x4b2c78);}else{const _0x3520e7='$defaultValues'===_0x1a6fc8?_0x44200d['getDefaultValues']():_0x44200d['getDataSetValues'](_0x1a6fc8,!0x0);for(const _0x21068b of Object['entries'](_0x3520e7)){const [_0x473c6c,_0xb98e73]=_0x21068b;'image'===_0x44200d['getMergeFieldType'](_0x473c6c)?_0x59fe5a['data'][_0x473c6c]=null!==_0xb98e73?_0xb98e73:_0x49c8cd:_0x59fe5a['data'][_0x473c6c]=null!==_0xb98e73?_0xb98e73:_0x44200d['getLabel'](_0x473c6c)||_0x473c6c;}}_0x3a9fbf['converterOptions']['merge_fields']=_0x59fe5a;}const _0x3b12e4=0x2===_0x349089?prepareContentInlineStyleV2(_0x3a9fbf['converterOptions']):prepareContentInlineStyle(_0x3a9fbf['converterOptions']),_0x46a124={'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'+_0x1c9154['locale']['contentLanguageDirection']+'\x22\x20style=\x22'+_0x3b12e4+'\x22>\x0a\x09\x09\x09\x09\x09\x09\x09\x09'+await _0x20d2a5(_0x1c9154)+'\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':_0x508c1d,[0x2===_0x349089?'config':'options']:_0x3a9fbf['converterOptions']},_0xca7fbb={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/pdf',..._0x3c5364?{'Authorization':_0x3c5364['value']}:null,'x-cs-app-id':_0x3a9fbf['appID']||'cke5'},'body':JSON['stringify'](_0x46a124)};return window['fetch'](_0x5b0454,_0xca7fbb)['then'](_0x83cf8a=>{if(0xc8!==_0x83cf8a['status'])throw _0x83cf8a;return _0x83cf8a['blob']();})['then'](_0x22350b=>{_0x1c9154['ui']['ariaLiveAnnouncer']['announce'](getTranslation$d(_0x1c9154['locale'],'PDF\x20export\x20successful'));const _0x33f3ea='function'==typeof _0x3a9fbf['fileName']?_0x3a9fbf['fileName']():_0x3a9fbf['fileName'];this['_downloadFile'](_0x22350b,_0x33f3ea||'document.pdf');});})['catch'](_0x141f5d=>{const _0x23f588=_0x1c9154['plugins']['get']('Notification');throw _0x1c9154['ui']['ariaLiveAnnouncer']['announce'](getTranslation$d(_0x1c9154['locale'],'PDF\x20export\x20failed'),{'politeness':'assertive'}),_0x23f588['showWarning'](getTranslation$d(_0x1c9154['locale'],'An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.')),_0x141f5d;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x48c6cd,_0x558db8){const _0x4dd244=document['createElement']('a');_0x4dd244['href']=window['URL']['createObjectURL'](_0x48c6cd),_0x4dd244['download']=_0x558db8,_0x4dd244['click'](),_0x4dd244['remove']();}}function getProductionConverterURL(_0x5d031b){return 0x2===_0x5d031b?'https://pdf-converter.cke-cs.com/v2/convert/html-pdf':'https://pdf-converter.cke-cs.com/v1/convert/';}function prepareContentInlineStyle(_0xd76446){return generatePageWidthStyle({'pageWidth':pageFormatToWidth(_0xd76446?.['format']||'A4'),'marginLeft':_0xd76446?.['margin_left'],'marginRight':_0xd76446?.['margin_right']});}function prepareContentInlineStyleV2(_0x57b1a9){const _0x223b15=_0x57b1a9?.['document']?.['margins'];return generatePageWidthStyle({'pageWidth':pageFormatToWidth(_0x57b1a9?.['document']?.['size']||'A4'),'marginLeft':_0x223b15?.['left'],'marginRight':_0x223b15?.['right']});}function generatePageWidthStyle({pageWidth:_0x10403e,marginLeft:_0x29b227,marginRight:_0x51253d}){return'width:calc('+[_0x10403e,_0x29b227,_0x51253d]['filter'](Boolean)['join']('\x20-\x20')+');';}function pageFormatToWidth(_0x2a24b4){if('object'==typeof _0x2a24b4&&'width'in _0x2a24b4)return _0x2a24b4['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']}[_0x2a24b4['toLowerCase']()][0x0];}class ExportPdfUI extends ckeditor5['Plugin']{static get['pluginName'](){return'ExportPdfUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xe856e2=this['editor'];_0xe856e2['ui']['componentFactory']['add']('exportPdf',()=>{const _0x73119b=this['_createButton'](ckeditor5['ButtonView']),_0x480647=_0xe856e2['commands']['get']('exportPdf');return _0x73119b['set']({'tooltip':!0x0}),_0x73119b['bind']('isOn')['to'](_0x480647,'isBusy'),_0x73119b;}),_0xe856e2['ui']['componentFactory']['add']('menuBar:exportPdf',()=>this['_createButton'](ckeditor5['MenuBarMenuListItemButtonView']));}['_createButton'](_0x40ecd9){const _0x595b99=this['editor'],_0x18bdd7=_0x595b99['config']['get']('exportPdf'),_0x5d52c8=_0x595b99['commands']['get']('exportPdf'),_0x57671a=new _0x40ecd9(_0x595b99['locale']),_0x2759fa=new ckeditor5['SpinnerView']();return _0x57671a['children']['add'](_0x2759fa),_0x2759fa['bind']('isVisible')['to'](_0x5d52c8,'isBusy'),_0x57671a['iconView']['bind']('isVisible')['to'](_0x5d52c8,'isBusy',_0x34e926=>!_0x34e926),_0x57671a['set']({'icon':ckeditor5['IconExportPdf']}),_0x57671a['bind']('isEnabled')['to'](_0x5d52c8,'isEnabled'),_0x57671a['bind']('label')['to'](_0x5d52c8,'isBusy',_0x34dbee=>getTranslation$d(_0x595b99['locale'],_0x34dbee?'Exporting\x20PDF\x20document':'Export\x20to\x20PDF')),this['listenTo'](_0x57671a,'execute',()=>{_0x595b99['execute']('exportPdf',_0x18bdd7),_0x595b99['editing']['view']['focus']();}),_0x57671a;}}class ExportPdf extends ckeditor5['Plugin']{['_token'];static get['pluginName'](){return'ExportPdf';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[ckeditor5['CloudServices'],ckeditor5['Notification'],ExportPdfUI];}['init'](){const {editor:_0x16169a}=this;_0x16169a['config']['define']('exportPdf.version',0x2),_0x16169a['commands']['add']('exportPdf',new ExportPdfCommand(_0x16169a));const _0xda9796=_0x16169a['plugins']['get'](ckeditor5['CloudServices']),_0x24188c=_0x16169a['config']['get']('exportPdf');!0x1===_0x24188c['tokenUrl']?this['_token']=null:_0x24188c['tokenUrl']?_0xda9796['registerTokenUrl'](_0x24188c['tokenUrl'])['then'](_0x37e965=>{this['_token']=_0x37e965;}):this['_token']=_0xda9796['token'];}}function getConverterOptions(_0x459d95,_0x41120b={}){const _0x4cac5d=_0x459d95['plugins']['has']('Users'),_0x4ee2b8=_0x459d95['plugins']['has']('CommentsRepository'),_0x11139b=_0x459d95['plugins']['has']('TrackChanges'),_0x19010d=_0x41120b;if(_0x4cac5d&&_0x4ee2b8){const _0x363f94=getComments(_0x459d95['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object['keys'](_0x363f94)['length']&&(_0x19010d['comments']=_0x363f94);}if(_0x4cac5d&&_0x11139b){const _0x131785=_0x459d95['plugins']['get']('TrackChanges'),_0x1d194c=_0x459d95['plugins']['get']('Users'),_0x3ee9d2=getSuggestions(_0x131785['getSuggestions']({'toJSON':!0x0}),_0x1d194c['users']);Object['keys'](_0x3ee9d2)['length']&&(_0x19010d['suggestions']=_0x3ee9d2);}return(_0x19010d['suggestions']||_0x19010d['comments'])&&(_0x19010d['timezone']=new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']),_0x19010d;}function getComments(_0xc3d098){const _0x21b74c={};if(!_0xc3d098['length'])return _0x21b74c;for(const _0x3604c5 of _0xc3d098)_0x3604c5['comments']['map'](_0x4330d7=>{void 0x0===_0x21b74c[_0x3604c5['id']]&&(_0x21b74c[_0x3604c5['id']]=[]),_0x21b74c[_0x3604c5['id']]['push']({'author':_0x4330d7['author']['name'],'content':_0x4330d7['content'],'created':_0x4330d7['createdAt'],'is_resolved':_0x3604c5['isResolved']});});return _0x21b74c;}function getSuggestions(_0x39f219,_0x2a3289){const _0x4f5cf2={};if(!_0x39f219['length']||!_0x2a3289['length'])return _0x4f5cf2;for(const {id:_0x3e16a7,createdAt:_0x2e20dd,authorId:_0x26bee1,attributes:_0x32b94b}of _0x39f219){const _0x5b3544=_0x32b94b&&_0x32b94b['@external'],_0x44b5e9=_0x5b3544?_0x5b3544['authorName']:_0x2a3289['get'](_0x26bee1)['name'];_0x4f5cf2[_0x3e16a7]={'author':_0x44b5e9,'created':_0x2e20dd};}return _0x4f5cf2;}function getConverterOptionsV2(_0x4a9dd5,_0x291fd1={}){const _0x5d5fcd=_0x4a9dd5['plugins']['has']('Users'),_0x1ae200=_0x4a9dd5['plugins']['has']('CommentsRepository'),_0xa5a68=_0x4a9dd5['plugins']['has']('TrackChanges'),_0x2c7c98=_0x4a9dd5['plugins']['has']('MergeFields'),_0x2b9258=_0x4a9dd5['locale']['contentLanguage'],_0x220e4e=_0x291fd1,_0x3de1fc={};if(_0x220e4e['document']=_0x220e4e['document']||{},_0x220e4e['document']['language']=_0x220e4e['document']['language']||_0x2b9258,_0x5d5fcd&&_0x1ae200){const _0x4c737e=getCommentsV2(_0x4a9dd5['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x4c737e['length']&&(_0x3de1fc['comment_threads']=_0x4c737e);}if(_0x5d5fcd&&_0xa5a68){const _0x3cfd21=_0x4a9dd5['plugins']['get']('TrackChanges'),_0x2cc8c4=_0x4a9dd5['plugins']['get']('Users'),_0x3b5acf=getSuggestionsV2(_0x3cfd21['getSuggestions']({'toJSON':!0x0}),_0x2cc8c4['users']);_0x3b5acf['length']&&(_0x3de1fc['suggestions']=_0x3b5acf);}if(_0x2c7c98){const _0x5c9d94=_0x4a9dd5['plugins']['get']('MergeFieldsEditing'),_0x5e7bb0=_0x5c9d94['previewMode'],{prefix:_0x4aeff2,suffix:_0xb9afdb}=_0x4a9dd5['config']['get']('mergeFields');if(_0x220e4e['merge_fields']={'prefix':_0x4aeff2,'suffix':_0xb9afdb},'$labels'!==_0x5e7bb0){_0x220e4e['merge_fields']['data']={};const _0x5de66a='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=',_0x46cdc9='$defaultValues'===_0x5e7bb0?_0x5c9d94['getDefaultValues']():_0x5c9d94['getDataSetValues'](_0x5e7bb0,!0x0);for(const _0x55ed60 of Object['entries'](_0x46cdc9)){const [_0x56d135,_0x384b54]=_0x55ed60;'image'===_0x5c9d94['getMergeFieldType'](_0x56d135)?_0x220e4e['merge_fields']['data'][_0x56d135]=null!==_0x384b54?_0x384b54:_0x5de66a:_0x220e4e['merge_fields']['data'][_0x56d135]=null!==_0x384b54?_0x384b54:_0x5c9d94['getLabel'](_0x56d135)||_0x56d135;}}}return(_0x3de1fc['comment_threads']||_0x3de1fc['suggestions'])&&(_0x220e4e['timezone']=new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone'],_0x220e4e['collaboration_features']=_0x3de1fc),_0x220e4e;}function getCommentsV2(_0x47ed2a){const _0x16afa2=[];if(!_0x47ed2a['length'])return _0x16afa2;for(const _0x221328 of _0x47ed2a){const _0x40f228=_0x221328['comments']['map'](_0x37a6e7=>({'author':_0x37a6e7['author']['name'],'content':_0x37a6e7['content'],'created_at':_0x37a6e7['createdAt']}));_0x16afa2['push']({'thread_id':_0x221328['id'],'is_resolved':_0x221328['isResolved'],'comments':_0x40f228});}return _0x16afa2;}function getSuggestionsV2(_0x5c2187,_0x6ba72b){return _0x5c2187['length']&&_0x6ba72b['length']?_0x5c2187['map'](({id:_0x4705f0,createdAt:_0x101267,authorId:_0x86e0c3,attributes:_0x132d7e})=>{const _0x5941f6=_0x132d7e&&_0x132d7e['@external'];return{'id':_0x4705f0,'author':_0x5941f6?_0x5941f6['authorName']:_0x6ba72b['get'](_0x86e0c3)['name'],'created_at':_0x101267};}):[];}function getTranslation$c(_0x88bfe6,_0x2174a2){const t=_0x88bfe6['t'];switch(_0x2174a2){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 _0x2174a2;}}const _0x419c43='https://docx-converter.cke-cs.com/v1/convert',_0x3eed02='https://docx-converter.cke-cs.com/v2/convert/html-docx',firstVersionApiKeys=['orientation','margin_top','margin_right','margin_bottom','margin_left','format','header','footer','comments','suggestions'];class ExportWordCommand extends ckeditor5['Command']{constructor(_0x4d07a6){super(_0x4d07a6),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x14df50={}){const _0x552b57=this['editor'],_0x31a2b9=_0x14df50['version']||0x2,_0x395bbd=0x1===_0x31a2b9,_0x16113d=_0x14df50['converterUrl']||(_0x395bbd?_0x419c43:_0x3eed02),_0x274db7=_0x14df50['converterOptions']||{},_0x32c5d=_0x552b57['plugins']['get']('ExportWord'),_0x2fa51c=_0x14df50['token']||_0x32c5d['_token'],_0x1140e0=!0x0===_0x274db7['auto_pagination'],_0x27a09f=_0x14df50['dataCallback']||(_0x2c583a=>_0x2c583a['data']['get']({'pagination':_0x1140e0}));return 0x2===_0x31a2b9&&_0x44c385(_0x274db7)&&ckeditor5['logWarning']('export-word-v1-api-is-deprecated'),this['isBusy']=!0x0,this['refresh'](),ckeditor5['collectStylesheets'](_0x14df50['stylesheets']||['EDITOR_STYLES'])['then'](async _0x1c61f6=>{_0x552b57['ui']['ariaLiveAnnouncer']['announce'](getTranslation$c(_0x552b57['locale'],'Word\x20document\x20export\x20started'));const _0x118e8f=await _0x27a09f(_0x552b57),_0x2e7869={'html':'<div\x20class=\x22ck-content\x22\x20dir=\x22'+_0x552b57['locale']['contentLanguageDirection']+'\x22>'+_0x118e8f+'</div>','css':_0x1c61f6,[_0x395bbd?'options':'config']:{..._0x274db7,..._0x395bbd?getConverterOptions(_0x552b57,_0x274db7):getConverterOptionsV2(_0x552b57,_0x274db7)}},_0x504ceb={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/docx',..._0x2fa51c?{'Authorization':_0x2fa51c['value']}:null},'body':JSON['stringify'](_0x2e7869)};return window['fetch'](_0x16113d,_0x504ceb)['then'](_0x3f944a=>{if(0xc8!==_0x3f944a['status'])throw _0x3f944a;return _0x3f944a['blob']();})['then'](_0x300668=>{_0x552b57['ui']['ariaLiveAnnouncer']['announce'](getTranslation$c(_0x552b57['locale'],'Word\x20document\x20export\x20successful'));const _0x5d4c06='function'==typeof _0x14df50['fileName']?_0x14df50['fileName']():_0x14df50['fileName'];this['_downloadFile'](_0x300668,_0x5d4c06||'document.docx');});})['catch'](_0x42da59=>{const _0x400655=_0x552b57['plugins']['get']('Notification');throw _0x552b57['ui']['ariaLiveAnnouncer']['announce'](getTranslation$c(_0x552b57['locale'],'Word\x20document\x20export\x20failed'),{'politeness':'assertive'}),_0x400655['showWarning'](getTranslation$c(_0x552b57['locale'],'An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.')),_0x42da59;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x189461,_0x26d014){const _0x5a124d=document['createElement']('a');_0x5a124d['href']=window['URL']['createObjectURL'](_0x189461),_0x5a124d['download']=_0x26d014,_0x5a124d['click'](),_0x5a124d['remove']();}}function _0x44c385(_0x137151){for(const _0x3cb8a3 of firstVersionApiKeys)if(void 0x0!==_0x137151[_0x3cb8a3])return!0x0;return!0x1;}class ExportWordUI extends ckeditor5['Plugin']{static get['pluginName'](){return'ExportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4ce451=this['editor'];_0x4ce451['ui']['componentFactory']['add']('exportWord',()=>{const _0x55a2ae=_0x4ce451['commands']['get']('exportWord'),_0x1c7ebd=this['_createButton'](ckeditor5['ButtonView']);return _0x1c7ebd['set']({'tooltip':!0x0}),_0x1c7ebd['bind']('isOn')['to'](_0x55a2ae,'isBusy'),_0x1c7ebd;}),_0x4ce451['ui']['componentFactory']['add']('menuBar:exportWord',()=>this['_createButton'](ckeditor5['MenuBarMenuListItemButtonView']));}['_createButton'](_0x497728){const _0x3ac943=this['editor'],_0x1c7d8b=_0x3ac943['config']['get']('exportWord')||{},_0x4d7edf=_0x3ac943['commands']['get']('exportWord'),_0x18467a=new _0x497728(_0x3ac943['locale']),_0x5c89c7=new ckeditor5['SpinnerView']();return _0x18467a['children']['add'](_0x5c89c7),_0x5c89c7['bind']('isVisible')['to'](_0x4d7edf,'isBusy'),_0x18467a['iconView']['bind']('isVisible')['to'](_0x4d7edf,'isBusy',_0x46f5e1=>!_0x46f5e1),_0x18467a['set']({'icon':ckeditor5['IconExportWord']}),_0x18467a['bind']('isEnabled')['to'](_0x4d7edf,'isEnabled'),_0x18467a['bind']('label')['to'](_0x4d7edf,'isBusy',_0x44e79b=>getTranslation$c(_0x3ac943['locale'],_0x44e79b?'Exporting\x20Word\x20document':'Export\x20to\x20Word')),this['listenTo'](_0x18467a,'execute',()=>{_0x3ac943['execute']('exportWord',_0x1c7d8b),_0x3ac943['editing']['view']['focus']();}),_0x18467a;}}class ExportWord extends ckeditor5['Plugin']{['_token'];static get['pluginName'](){return'ExportWord';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[ckeditor5['CloudServices'],ckeditor5['Notification'],ExportWordUI];}['init'](){const _0x56f1af=this['editor'],_0x1ef0ce=_0x56f1af['config']['get']('exportWord')||{};_0x56f1af['commands']['add']('exportWord',new ExportWordCommand(_0x56f1af));const _0x232f0a=_0x56f1af['plugins']['get'](ckeditor5['CloudServices']);!0x1===_0x1ef0ce['tokenUrl']?this['_token']=null:_0x1ef0ce['tokenUrl']?_0x232f0a['registerTokenUrl'](_0x1ef0ce['tokenUrl'])['then'](_0x4d6efc=>{this['_token']=_0x4d6efc;}):this['_token']=_0x232f0a['token'];}}class ModelElementTracker{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x396942,_0x3c761e){this['_model']=_0x396942,this['_elementName']=_0x3c761e['elementName'],this['_getElementKey']=_0x3c761e['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x2f9ac0){const _0x3e9e02=new Set(),_0x2aadfa=new Map();for(const _0x8a5099 of _0x2f9ac0){if('insert'===_0x8a5099['type']&&'$text'!==_0x8a5099['name']&&_0x8a5099['position']['nodeAfter']){const _0x46a4e9=this['_model']['createRangeOn'](_0x8a5099['position']['nodeAfter']);for(const _0xa38ac2 of _0x46a4e9['getItems']()){if(!_0xa38ac2['is']('element',this['_elementName']))continue;const _0x4cc834=this['_getElementKey'](_0xa38ac2);_0x2aadfa['has'](_0x4cc834)||_0x2aadfa['set'](_0x4cc834,[]),_0x2aadfa['get'](_0x4cc834)['push'](_0xa38ac2);}}if('remove'===_0x8a5099['type']&&_0x8a5099['name']===this['_elementName']){const _0x36e748=this['_getElementKey']({'getAttribute':_0x5a2aa0=>_0x8a5099['attributes']['get'](_0x5a2aa0)});_0x3e9e02['add'](_0x36e748);}}for(const [_0x312882,_0x1955ef]of this['_trackedElements'])'$graveyard'===_0x1955ef['root']['rootName']&&_0x3e9e02['add'](_0x312882);for(const _0xe0978d of _0x3e9e02)this['_trackedElements']['delete'](_0xe0978d);for(const [_0x1fef87,_0x292a14]of _0x2aadfa)this['_trackedElements']['set'](_0x1fef87,_0x292a14[_0x292a14['length']-0x1]);const _0x5a8b0e=new Set();for(const [_0x1b6e39,_0x5091f4]of _0x2aadfa)_0x3e9e02['has'](_0x1b6e39)&&(_0x5a8b0e['add'](_0x5091f4[0x0]),_0x5091f4['length']>0x1?_0x2aadfa['set'](_0x1b6e39,_0x5091f4['slice'](0x1)):_0x2aadfa['delete'](_0x1b6e39),_0x3e9e02['delete'](_0x1b6e39));return{'removed':Array['from'](_0x3e9e02),'inserted':Array['from'](_0x2aadfa['values']())['flat'](),'moved':Array['from'](_0x5a8b0e)};}}class FootnotesTracker extends ckeditor5['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(_0x2e0341){super(_0x2e0341),this['_footnoteDefsContainerTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x37aafb=>_0x37aafb['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x2cdda6=>_0x2cdda6['getAttribute']('footnoteId')});}['init'](){const {editor:_0x4cfe52}=this,{model:_0x570245,data:_0x5adc9a}=_0x4cfe52;_0x570245['document']['registerPostFixer'](_0x4c2bab=>{const _0x2b021c=_0x570245['document']['differ']['getChanges']();let _0x15f22f=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x4c2bab,_0x2b021c)&&(_0x15f22f=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x4c2bab,_0x2b021c)&&(_0x15f22f=!0x0),this['_handleFootnoteReferencesChanges'](_0x4c2bab,_0x2b021c)&&(_0x15f22f=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x4c2bab)&&(_0x15f22f=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x4c2bab)&&(_0x15f22f=!0x0),this['_sortFootnoteDefinitions'](_0x4c2bab)&&(_0x15f22f=!0x0),_0x15f22f;}),this['listenTo'](_0x570245['document'],'change:data',()=>{_0x570245['enqueueChange']({'isUndoable':!0x1},_0x15acbc=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x15acbc);});},{'priority':'low'}),this['listenTo'](_0x5adc9a,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x8a7212){return this['_footnotes']['find'](_0x10fa23=>_0x10fa23['id']===_0x8a7212)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x57b271){this['_footnoteFormatter']=_0x57b271;}['_updateFootnotesCounters'](_0x3a16db,_0x3e956e=0x0){let _0x1e36fc=!0x1;for(let _0x35ab5b=_0x3e956e;_0x35ab5b<this['_footnotes']['length'];_0x35ab5b++)this['_updateFootnoteRefCounter'](_0x3a16db,_0x35ab5b)&&(_0x1e36fc=!0x0);return _0x1e36fc;}['_insertEmptyFootnotesDefinitionsContainer'](_0x45bdc4,_0x306ae4){const _0x447b91=_0x45bdc4['createElement']('footnotesDefinitions',{});return _0x45bdc4['append'](_0x447b91,_0x306ae4),this['_footnotesDefinitions']=_0x447b91,_0x447b91;}['_ensureFootnotesDefinitionsContainerExists'](_0x512bea){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x1fd52c=this['_footnotes'][0x0]['reference']['root'],_0x51a18f=this['_insertEmptyFootnotesDefinitionsContainer'](_0x512bea,_0x1fd52c);for(const _0x1e3ff7 of this['_footnotes'])_0x1e3ff7['definition']['parent']||_0x512bea['insert'](_0x1e3ff7['definition'],_0x51a18f,'end');this['_updateFootnotesCounters'](_0x512bea);}['_handleFootnotesDefinitionsObjectChanges'](_0x11fef4,_0x5ecd37){let _0x5f5d05=!0x1;const {inserted:_0x226337,removed:_0x5044c2,moved:_0x4ec48a}=this['_footnoteDefsContainerTracker']['getChanges'](_0x5ecd37);if(_0x4ec48a['length']&&(this['_footnotesDefinitions']=_0x4ec48a[0x0]),_0x226337['length']){if(_0x226337['length']>0x1||this['_footnotesDefinitions']&&_0x226337['some'](_0xc45a30=>_0xc45a30!==this['_footnotesDefinitions'])){const _0x4686ba=_0x11fef4['createElement']('footnotesDefinitions',{}),_0x437b5b=[];this['_footnotesDefinitions']&&_0x437b5b['push'](this['_footnotesDefinitions']),_0x437b5b['push'](..._0x226337),_0x11fef4['insert'](_0x4686ba,_0x437b5b[0x0],'before');for(const _0xa4dddf of _0x437b5b)_0x11fef4['move'](_0x11fef4['createRangeIn'](_0xa4dddf),_0x11fef4['createPositionAt'](_0x4686ba,'end')),_0x11fef4['remove'](_0xa4dddf);this['_footnotesDefinitions']=_0x4686ba,this['_updateFootnotesCounters'](_0x11fef4),_0x5f5d05=!0x0;}else this['_footnotesDefinitions']=_0x226337[0x0];}if(_0x5044c2['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x432c70 of this['_footnotes'])_0x11fef4['remove'](_0x432c70['reference']),_0x5f5d05=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x5f5d05;}['_handleFootnoteDefinitionsChanges'](_0x32d519,_0x1da934){let _0x3efa0d=!0x1;const _0x100740=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x56b2ff,moved:_0x2b5510}=this['_footnoteDefsTracker']['getChanges'](_0x1da934);for(const _0x386fe9 of[..._0x2b5510,..._0x56b2ff]){const _0x5b7265=_0x386fe9['getAttribute']('footnoteId'),_0x647df=this['getFootnote'](_0x5b7265);_0x647df&&(_0x647df['definition']=_0x386fe9),ensureDefinitionIsNotEmpty(_0x32d519,_0x100740,_0x386fe9)&&(_0x3efa0d=!0x0);}return _0x3efa0d;}['_handleFootnoteReferencesChanges'](_0x5c70c9,_0x24d866){let _0x3ebde0=!0x1;const {removed:_0x45fdbd,inserted:_0x5b34fd,moved:_0x3d3eb2}=this['_footnoteRefsTracker']['getChanges'](_0x24d866);for(const _0x559c0c of _0x45fdbd)this['_handleRemoveFootnoteReferenceById'](_0x5c70c9,_0x559c0c)&&(_0x3ebde0=!0x0);for(const _0x117fb6 of _0x5b34fd)this['_handleInsertedFootnoteReference'](_0x5c70c9,_0x117fb6)&&(_0x3ebde0=!0x0);for(const _0x1fae2d of _0x3d3eb2)this['_handleMovedFootnoteReference'](_0x5c70c9,_0x1fae2d)&&(_0x3ebde0=!0x0);return _0x3ebde0;}['_handleFootnotesDefinitionsObjectSync'](_0x338866){if(!this['_footnotesDefinitions'])return!0x1;let _0x17224c=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x546218=[];for(const _0x10b897 of this['_footnotesDefinitions']['getChildren']()){const _0x3e2752=_0x10b897['getAttribute']('footnoteId');this['getFootnote'](_0x3e2752)||(_0x546218['unshift'](_0x10b897),_0x17224c=!0x0);}for(const _0x30f347 of _0x546218)_0x338866['remove'](_0x30f347);}const _0x2e4cb7=new Set(),_0x26e162=[];for(const _0x714ca5 of this['_footnotesDefinitions']['getChildren']()){const _0x1bf10f=_0x714ca5['getAttribute']('footnoteId');_0x2e4cb7['has'](_0x1bf10f)?(_0x26e162['unshift'](_0x714ca5),_0x17224c=!0x0):_0x2e4cb7['add'](_0x1bf10f);}for(const _0x4115bb of _0x26e162)_0x338866['remove'](_0x4115bb);return this['_footnotesDefinitions']['childCount']||(_0x338866['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x17224c=!0x0),_0x17224c;}['_handleInsertedFootnoteReference'](_0x1d041b,_0x2991d7){if(this['_footnotes']['find'](_0x3ea5c3=>_0x3ea5c3['reference']===_0x2991d7))return!0x1;let _0xe6d3aa=!0x1;const _0x8a965f=_0x2991d7['getAttribute']('footnoteId'),_0x2b4fd2=this['_footnotes']['findIndex'](_0x573390=>_0x573390['id']===_0x8a965f);-0x1!==_0x2b4fd2&&(_0x1d041b['remove'](this['_footnotes'][_0x2b4fd2]['reference']),this['_footnotes']['splice'](_0x2b4fd2,0x1),_0xe6d3aa=!0x0);let _0x1d84e2=this['_footnotesDefinitions']?findFootnoteDefinitionInContainer(this['_footnotesDefinitions'],_0x8a965f):null;_0x1d84e2||(_0x1d84e2=_0x1d041b['createElement']('footnoteDefinition',{'footnoteId':_0x8a965f}),this['_footnotesDefinitions']&&(_0x1d041b['insert'](_0x1d84e2,this['_footnotesDefinitions'],'end'),_0xe6d3aa=!0x0));const _0x475ed={'id':_0x8a965f,'reference':_0x2991d7,'definition':_0x1d84e2},_0x5e807c=findInsertFootnoteReferenceIndex(this['editor']['model'],this['_footnotes'],_0x2991d7);this['_footnotes']['splice'](_0x5e807c,0x0,_0x475ed);let _0x252c2a=_0x5e807c;return-0x1!==_0x2b4fd2&&(_0x252c2a=Math['min'](_0x5e807c,_0x2b4fd2)),this['_updateFootnotesCounters'](_0x1d041b,_0x252c2a)&&(_0xe6d3aa=!0x0),_0xe6d3aa;}['_handleRemoveFootnoteReferenceById'](_0x152742,_0x11537f){const _0x509ff3=this['_footnotes']['findIndex'](_0x580a06=>_0x580a06['id']===_0x11537f);if(-0x1===_0x509ff3)return!0x1;let _0x153cff=!0x1;const _0x500c1c=this['_footnotes'][_0x509ff3];return'$graveyard'!==_0x500c1c['definition']['root']['rootName']&&(_0x152742['remove'](_0x500c1c['definition']),_0x153cff=!0x0),this['_footnotes']['splice'](_0x509ff3,0x1),this['_updateFootnotesCounters'](_0x152742,_0x509ff3)&&(_0x153cff=!0x0),_0x153cff;}['_handleMovedFootnoteReference'](_0x9b4576,_0x53d271){const _0x8d2e73=_0x53d271['getAttribute']('footnoteId'),_0x1f3733=this['_footnotes']['findIndex'](_0x273865=>_0x273865['id']===_0x8d2e73),_0x9df484=this['_footnotes'][_0x1f3733];let _0x2f68ff=!0x1;_0x9df484['reference']=_0x53d271,this['_footnotes']['splice'](_0x1f3733,0x1);const _0x300bbb=findInsertFootnoteReferenceIndex(this['editor']['model'],this['_footnotes'],_0x53d271);return this['_footnotes']['splice'](_0x300bbb,0x0,_0x9df484),this['_updateFootnotesCounters'](_0x9b4576,Math['min'](_0x1f3733,_0x300bbb))&&(_0x2f68ff=!0x0),_0x2f68ff;}['_updateFootnoteRefCounter'](_0x2d0b35,_0x35743a){if(!this['_footnotesDefinitions'])return!0x1;const _0x25fda4=this['_footnotes'][_0x35743a];let _0x1bc515;return _0x1bc515=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x25fda4,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x35743a+0x1}):String(_0x35743a+0x1),_0x25fda4['reference']['getAttribute']('footnoteCounter')!=_0x1bc515&&(_0x2d0b35['setAttribute']('footnoteCounter',_0x1bc515,_0x25fda4['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x485944){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(_0x40e67d(this['_footnotes']['map'](_0x12f76a=>_0x12f76a['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x56d48c=>_0x56d48c['getAttribute']('footnoteId'))))return!0x1;let _0x7b0c4b=!0x1;for(let _0x39fa5b=0x0;_0x39fa5b<this['_footnotes']['length'];_0x39fa5b++){const _0x5077b8=this['_footnotes'][_0x39fa5b],_0x220ba8=_0x485944['createPositionBefore'](_0x5077b8['definition']),_0x5eb6c5=_0x485944['createPositionAt'](this['_footnotesDefinitions'],_0x39fa5b);_0x220ba8['isEqual'](_0x5eb6c5)||(_0x485944['move'](_0x485944['createRangeOn'](_0x5077b8['definition']),_0x5eb6c5),_0x7b0c4b=!0x0);}return _0x7b0c4b;}['_ensureFootnotesReferencesHaveProperOrder'](_0x464bc1){if(!this['_footnotes']['length'])return!0x1;const {model:_0x40bae2}=this['editor'];let _0x59aef2=!0x1;for(let _0x3987b2=0x0;_0x3987b2<this['_footnotes']['length']-0x1;_0x3987b2++){const _0x2315a9=this['_footnotes'][_0x3987b2],_0x4988b7=this['_footnotes'][_0x3987b2+0x1],_0x35c6f1=_0x40bae2['createPositionBefore'](_0x2315a9['reference']),_0x14d583=_0x40bae2['createPositionBefore'](_0x4988b7['reference']);'after'===_0x35c6f1['compareWith'](_0x14d583)&&(this['_handleMovedFootnoteReference'](_0x464bc1,_0x2315a9['reference']),_0x3987b2=-0x1,_0x59aef2=!0x0);}return _0x59aef2;}}function ensureDefinitionIsNotEmpty(_0x5e5a8e,_0x3ac1e8,_0x22b945){if(_0x22b945['childCount'])return!0x1;const _0x372888=_0x3ac1e8?'paragraph':'footnoteInlineContent';return _0x5e5a8e['insert'](_0x5e5a8e['createElement'](_0x372888),_0x22b945),!0x0;}function findFootnoteDefinitionInContainer(_0x82e68c,_0x3c2504){for(const _0x3e2402 of _0x82e68c['getChildren']())if(_0x3e2402['getAttribute']('footnoteId')===_0x3c2504)return _0x3e2402;return null;}function findInsertFootnoteReferenceIndex(_0x1dd4fc,_0x20443b,_0xa528cd){if(0x0===_0x20443b['length'])return 0x0;const _0x4c8281=_0x1dd4fc['createPositionBefore'](_0xa528cd);for(let _0x257573=0x0;_0x257573<_0x20443b['length'];_0x257573++){const _0x4eff14=_0x20443b[_0x257573],_0x3f8ba2=_0x1dd4fc['createPositionBefore'](_0x4eff14['reference']);if('before'===_0x4c8281['compareWith'](_0x3f8ba2))return _0x257573;}const _0x5c4683=_0xa528cd['root'];let _0x3af22c=-0x1;for(let _0x23253c=_0x20443b['length']-0x1;_0x23253c>=0x0;_0x23253c--)if(_0x20443b[_0x23253c]['reference']['root']===_0x5c4683){_0x3af22c=_0x23253c;break;}if(-0x1!==_0x3af22c)return _0x3af22c+0x1;const _0x1476e3=_0x1dd4fc['document']['getRootNames'](),_0x44be4e=_0x1476e3['indexOf'](_0x5c4683['rootName']),_0x3ed9bf=_0x1476e3[_0x44be4e+0x1];if(_0x3ed9bf){for(let _0x495e72=0x0;_0x495e72<_0x20443b['length'];_0x495e72++)if(_0x20443b[_0x495e72]['reference']['root']['rootName']===_0x3ed9bf)return _0x495e72;}return _0x20443b['length'];}function _0x40e67d(_0x1c0c0a,_0x4bccb7){if(_0x1c0c0a['length']!==_0x4bccb7['length'])return!0x1;for(let _0x318008=0x0;_0x318008<_0x1c0c0a['length'];_0x318008++)if(_0x1c0c0a[_0x318008]!==_0x4bccb7[_0x318008])return!0x1;return!0x0;}class InsertFootnoteCommand extends ckeditor5['Command']{['refresh'](){const _0x15fe9f=this['editor']['model']['document']['selection'],_0x472a29=this['_getPositionToInsertFootnote'](_0x15fe9f);this['isEnabled']=!!_0x472a29;}['execute'](_0x44db8c){const {editor:_0x596967}=this,{model:_0x49ae51}=_0x596967,{selection:_0x2c2702}=_0x49ae51['document'],_0x17569e=this['_getPositionToInsertFootnote'](_0x2c2702);if(!_0x17569e)return;const _0x314582=_0x596967['plugins']['get']('FootnotesEditing'),_0x138e99=_0x44db8c?.['footnoteId']??ckeditor5['uid']();isFootnoteIdValid(_0x138e99)?(_0x49ae51['change'](_0x5c3ab6=>{const _0xb2f858=_0x5c3ab6['createElement']('footnoteRef',{'footnoteId':_0x138e99});_0x49ae51['insertObject'](_0xb2f858,_0x17569e,null);}),_0x314582['_moveSelectionToFootnoteDefinition'](_0x138e99)):ckeditor5['logWarning']('insert-footnote-command-executed-with-invalid-id');}['_getPositionToInsertFootnote'](_0x289364){const {model:_0x52a3cb}=this['editor'],{schema:_0xa46939}=_0x52a3cb,_0x1bbcc3=_0x289364['getFirstRange']();for(const _0x9223b9 of _0x1bbcc3['getItems']())if(_0xa46939['isBlock'](_0x9223b9)||_0xa46939['isObject'](_0x9223b9))return null;const _0x44c864=_0x1bbcc3['end'];return _0xa46939['checkChild'](_0x44c864,'footnoteRef')?_0x44c864:null;}}function isFootnoteIdValid(_0x3b6cfe){return'string'==typeof _0x3b6cfe&&_0x3b6cfe['length']>0x0&&!/\s/['test'](_0x3b6cfe)&&!/^\d/['test'](_0x3b6cfe);}class FootnotesEditing extends ckeditor5['Plugin']{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[FootnotesTracker];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x322f8c}=this;_0x322f8c['config']['define']('footnotes.multiBlock',!0x0),_0x322f8c['commands']['add']('insertFootnote',new InsertFootnoteCommand(_0x322f8c)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){_0x43ce1a(this);}['_moveSelectionToFootnoteDefinition'](_0x517ab8){const {plugins:_0xe4bbf1,editing:_0x3c9add,model:_0x537289}=this['editor'],_0x778fc1=_0xe4bbf1['get'](FootnotesTracker)['getFootnote'](_0x517ab8);return!!_0x778fc1&&(_0x537289['change'](_0x5db3ca=>{_0x5db3ca['setSelection'](_0x5db3ca['createPositionAt'](_0x778fc1['definition'],'end'));}),_0x3c9add['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x13516a){const {plugins:_0x69e2c7,editing:_0x13ad88,model:_0x1daa64}=this['editor'],_0x8b0d79=_0x69e2c7['get'](FootnotesTracker)['getFootnote'](_0x13516a);return!!_0x8b0d79&&(_0x1daa64['change'](_0x3f4570=>{_0x3f4570['setSelection'](_0x8b0d79['reference'],'on');}),_0x13ad88['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x51812d}=this['editor']['model'],_0x37f2c3=this['editor']['config']['get']('footnotes.multiBlock');_0x51812d['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x51812d['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x51812d['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x37f2c3?_0x51812d['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x51812d['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x51812d['addChildCheck'](_0x54a13a=>{for(const _0x586292 of _0x54a13a)if('footnoteDefinition'===_0x586292['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x566141}=this,{conversion:_0x278686,editing:_0x3283b2}=_0x566141,{t:t}=_0x566141['locale'];_0x278686['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x3b7841,{writer:_0x287546,consumable:_0x1121c1})=>{const _0xe7b77b=_0x3b7841['getChild'](0x0);if(!_0xe7b77b||!_0xe7b77b['is']('element','a'))return null;const _0x1b6167=_0xe7b77b['getAttribute']('href')||'';if(!_0x1b6167['startsWith']('#'))return null;const _0x6c91d4=_0x1b6167['replace'](/^#/,'');if(!_0x6c91d4)return null;_0x1121c1['consume'](_0xe7b77b,{'name':!0x0,'attributes':['href']});for(const {item:_0xf1c827}of _0x3283b2['view']['createRangeIn'](_0xe7b77b))_0xf1c827['is']('$textProxy')?_0x1121c1['consume'](_0xf1c827['textNode'],{'name':!0x0}):_0xf1c827['is']('element')&&_0x1121c1['consume'](_0xf1c827,{'name':!0x0});return _0x287546['createElement']('footnoteRef',{'footnoteId':_0x6c91d4});}}),_0x278686['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4a4372,{writer:_0x1b0e07})=>createFootnoteRefView(_0x4a4372,_0x1b0e07)}),_0x278686['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0xc68249,{writer:_0x3d2c28})=>{const _0x4b8dff=_0xc68249['getAttribute']('footnoteCounter');return ckeditor5['toWidget'](createFootnoteRefView(_0xc68249,_0x3d2c28),_0x3d2c28,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x4b8dff)});}});}['_defineDefinitionsConverters'](){const {editor:_0x41f898}=this,{t:t}=_0x41f898['locale'],{conversion:_0x513a15}=_0x41f898;_0x513a15['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x513a15['for']('upcast')['add'](_0x485428=>{_0x485428['on']('element:ol',(_0x4c89f9,_0x342e7e,_0x4df3b0)=>{const _0x3bb49c=_0x342e7e['viewItem'];if(!_0x3bb49c['hasClass']('footnotes-list')||!_0x342e7e['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x4df3b0['consumable']['consume'](_0x3bb49c,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x53606a,modelCursor:_0x4ebfb3}=_0x4df3b0['convertChildren'](_0x342e7e['viewItem'],_0x342e7e['modelCursor']);_0x342e7e['modelRange']=_0x53606a,_0x342e7e['modelCursor']=_0x4ebfb3;}),_0x485428['on']('element:hr',(_0x38a29f,_0x35233d,_0x26fbd0)=>{const _0x2f088d=_0x35233d['viewItem'];_0x2f088d['hasClass']('footnotes-divider')&&_0x35233d['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x26fbd0['consumable']['consume'](_0x2f088d,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x513a15['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x293dcf,{writer:_0x177d05})=>createFootnotesWrapperView(_0x177d05)}),_0x513a15['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x360a31,{writer:_0x4c8e37})=>{const _0x1c30b5=createFootnotesWrapperView(_0x4c8e37,{'data-footnotes-list-label':t('Footnotes')}),_0xfdbc8f=ckeditor5['toWidget'](_0x1c30b5,_0x4c8e37,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x4c8e37['setCustomProperty']('footnotesDefinitions',!0x0,_0xfdbc8f),_0xfdbc8f;}});}['_defineDefinitionConverters'](){const {editor:_0x1cb6e8}=this,{conversion:_0x4349a0,locale:_0x2846d9}=_0x1cb6e8,_0xc6dfdc=_0x1cb6e8['config']['get']('footnotes.multiBlock');_0x4349a0['for']('upcast')['add'](_0xc07710=>{_0xc07710['on']('element:li',(_0x28ac5f,_0x3e4ecc,_0x7e5b6)=>{const _0x9049ae=_0x3e4ecc['viewItem'];if(!_0x9049ae['hasClass']('footnote-definition')||!_0x9049ae['getAttribute']('id'))return;const _0xc4e562=_0x9049ae['parent'];if(!_0xc4e562['is']('element','ol')||!_0xc4e562['hasClass']('footnotes-list'))return;if(!_0x7e5b6['consumable']['test'](_0x9049ae,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x5644ca=_0x7e5b6['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x9049ae['getAttribute']('id')});if(!_0x7e5b6['safeInsert'](_0x5644ca,_0x3e4ecc['modelCursor']))return;_0x7e5b6['consumable']['consume'](_0x9049ae,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x15284f=Array['from'](_0x9049ae['getChildren']())['find'](_0x146b29=>_0x146b29['is']('element')&&_0x146b29['hasClass']('footnote-content'));for(const _0x4c662f of _0x9049ae['getChildren']())_0x4c662f['is']('element')&&(_0x7e5b6['consumable']['consume'](_0x4c662f,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x7e5b6['consumable']['consume'](_0x4c662f,{'name':!0x0,'classes':'footnote-content'}));if(_0x15284f){if(_0xc6dfdc)_0x7e5b6['convertChildren'](_0x15284f,_0x5644ca);else{const _0x35c01f=_0x7e5b6['writer']['createElement']('footnoteInlineContent');_0x7e5b6['writer']['insert'](_0x35c01f,_0x5644ca),_0x7e5b6['convertChildren'](_0x15284f,_0x35c01f);}}_0x7e5b6['updateConversionResult'](_0x5644ca,_0x3e4ecc);});}),_0x4349a0['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2969d8,{writer:_0x138dd6})=>createFootnoteDefinitionView(_0x2969d8,_0x138dd6,_0x2846d9,{'dataPipeline':!0x0})}),_0x4349a0['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x1ec052,{writer:_0x38ca9f})=>createFootnoteDefinitionView(_0x1ec052,_0x38ca9f,_0x2846d9)});}['_defineBogusParagraphConverters'](){const {editor:_0x5e2de0}=this,{conversion:_0x32d574}=_0x5e2de0;_0x5e2de0['config']['get']('footnotes.multiBlock')?(_0x32d574['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':footnoteBogusParagraphCreator(),'converterPriority':'high'}),_0x32d574['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':footnoteBogusParagraphCreator({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x5e2de0['model']['document'],'change:data',()=>{footnoteDefinitionRefreshHandler(_0x5e2de0['model'],_0x5e2de0['editing']);})):(_0x32d574['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':footnoteBogusParagraphCreator()}),_0x32d574['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x1f6aa0,{writer:_0x20c16a})=>{const _0x2529b0=_0x20c16a['createContainerElement']('span');return _0x20c16a['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2529b0),_0x2529b0;}}));}['_defineKeyboardHandlers'](){const {editor:_0x4bec96}=this,{editing:_0x15f329,t:t}=_0x4bec96,_0x2d248f=_0x4bec96['model']['document']['selection'];_0x4bec96['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x4bec96['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x15f329['view']['document'],'enter',(_0x35ff68,_0x58277e)=>{const _0x124c11=getSelectedFootnoteRef(_0x2d248f);if(_0x124c11){const _0x7f56a4=_0x124c11['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x7f56a4),_0x58277e['preventDefault'](),_0x35ff68['stop']();}},{'context':ckeditor5['isWidget']});}['_defineClickHandlers'](){const {editor:_0x531e05}=this,{editing:_0x2db170}=_0x531e05;_0x531e05['editing']['view']['addObserver'](ckeditor5['PointerObserver']),_0x531e05['editing']['view']['addObserver'](ckeditor5['ClickObserver']);let _0x40818c=!0x1;this['listenTo'](_0x2db170['view']['document'],'pointerdown',(_0x39c065,_0x38ac2b)=>{const {target:_0x3289f0}=_0x38ac2b,_0x3db469=_0x2db170['view']['document']['selection'];_0x40818c=!!(_0x3289f0?.['is']('element','a')&&_0x3289f0['parent']?.['is']('element','sup')&&_0x3289f0['parent']['hasClass']('footnote'))&&_0x3db469['getSelectedElement']()===_0x3289f0['parent'];},{'priority':'high'}),this['listenTo'](_0x2db170['view']['document'],'click',(_0x43d2a1,_0x35c5f8)=>{const {target:_0xfabfda}=_0x35c5f8;if(!_0xfabfda?.['is']('element','a'))return;if(_0xfabfda['parent']?.['is']('element','sup')&&_0xfabfda['parent']['hasClass']('footnote')&&!_0x40818c)return void _0x35c5f8['preventDefault']();let _0x52bf63=_0xfabfda['getAttribute']('href');if(!_0x52bf63?.['startsWith']('#'))return;_0x52bf63=_0x52bf63['slice'](0x1);let _0x3bfa00=!0x1;(_0x52bf63['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x52bf63['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x52bf63))&&(_0x3bfa00=!0x0),_0x3bfa00&&(_0x35c5f8['preventDefault'](),_0x43d2a1['stop']());},{'priority':'high','context':'$capture'});}}function getSelectedFootnoteRef(_0x3e02b2){const _0x455820=_0x3e02b2['getSelectedElement']();return _0x455820?.['is']('element','footnoteRef')?_0x455820:null;}function footnoteBogusParagraphCreator({dataPipeline:_0x597d8a}={}){return(_0x5c6108,{writer:_0x355c8e})=>{if(!shouldUseBogusParagraphInFootnote(_0x5c6108))return null;if(!_0x597d8a)return _0x355c8e['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x25e62f=_0x355c8e['createContainerElement']('p');return _0x355c8e['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x25e62f),_0x25e62f;};}function shouldUseBogusParagraphInFootnote(_0x4efc17){const {parent:_0x23b80a}=_0x4efc17;if(!_0x23b80a?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x23b80a['childCount'])return!0x1;for(const _0x203fdb of _0x4efc17['getAttributeKeys']())if(!_0x203fdb['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x203fdb)return!0x1;return!0x0;}function footnoteDefinitionRefreshHandler(_0x4e64ba,_0x2d2008){const _0x254225=_0x4e64ba['document']['differ'],_0xc9869e=new Set();for(const _0x26a857 of _0x254225['getChanges']()){const _0x4618bd='attribute'==_0x26a857['type']?_0x26a857['range']['start']['parent']:_0x26a857['position']['parent'];_0x4618bd['is']('element','footnoteDefinition')&&_0xc9869e['add'](_0x4618bd);}for(const _0x27a2ba of _0xc9869e['values']()){const _0x2e949a=Array['from'](_0x27a2ba['getChildren']())['filter'](_0x34dd19=>_0x31f6a3(_0x34dd19,_0x2d2008['mapper']));for(const _0x28af10 of _0x2e949a)_0x2d2008['reconvertItem'](_0x28af10);}}function _0x31f6a3(_0x3457f6,_0x15f316){if(!_0x3457f6['is']('element','paragraph'))return!0x1;const _0x3a2e77=_0x15f316['toViewElement'](_0x3457f6);return!!_0x3a2e77&&shouldUseBogusParagraphInFootnote(_0x3457f6)!==_0x3a2e77['is']('element','span');}function isFootnotesDefinitionsWidget(_0x1fb553){return ckeditor5['isWidget'](_0x1fb553)&&_0x1fb553['is']('containerElement')&&!!_0x1fb553['getCustomProperty']('footnotesDefinitions');}function createFootnotesWrapperView(_0x4b49e1,_0x3e4ca1={}){const _0x328f4b=_0x4b49e1['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x4a0a5f=_0x4b49e1['createContainerElement']('ol',{'class':'footnotes-list'},_0x4b49e1['createSlot']());return _0x4b49e1['createContainerElement']('div',{'class':'footnotes',..._0x3e4ca1},[_0x328f4b,_0x4a0a5f]);}function createFootnoteRefView(_0x991ce9,_0x543a72){const _0x5d74dd=_0x991ce9['getAttribute']('footnoteId'),_0x19737e=_0x991ce9['getAttribute']('footnoteCounter'),_0xf9d7=_0x543a72['createUIElement']('a',{'href':'#'+_0x5d74dd},function(_0x591c49){const _0x584255=this['toDomElement'](_0x591c49);return _0x584255['textContent']=_0x19737e,_0x584255;}),_0x15cd23=_0x543a72['createContainerElement']('sup',{'id':'ref-'+_0x5d74dd,'class':'footnote'},[_0xf9d7]);return _0x15cd23['getFillerOffset']=()=>null,_0x15cd23;}function createFootnoteDefinitionView(_0x16d860,_0x4eedb2,_0x19f80c,{dataPipeline:_0x3d5524}={}){const {t:t}=_0x19f80c,_0x732e50=_0x16d860['getAttribute']('footnoteId'),_0x56a5c4=_0x4eedb2['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x732e50},function(_0x2c3233){const _0x227813=this['toDomElement'](_0x2c3233);return _0x227813['innerText']='^',_0x227813;}),_0x37401d=_0x3d5524?_0x4eedb2['createContainerElement']('div',{'class':'footnote-content'}):ckeditor5['toWidgetEditable'](_0x4eedb2['createEditableElement']('div',{'class':'footnote-content'}),_0x4eedb2,{'label':t('Footnote\x20content.')});return _0x4eedb2['insert'](_0x4eedb2['createPositionAt'](_0x37401d,0x0),_0x4eedb2['createSlot']()),_0x4eedb2['createContainerElement']('li',{'class':'footnote-definition','id':_0x732e50},[_0x56a5c4,_0x37401d]);}async function _0x43ce1a(_0x37dc8a){const _0x5c57c6=_0x45816a([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]),_0x1b98d0=window[_0x45816a([0x44,0x61,0x74,0x65])][_0x45816a([0x6e,0x6f,0x77])](),_0x4a9741=_0x37dc8a[_0x45816a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x528d26=new window[(_0x45816a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x8cf7db=>{_0x4a9741[_0x45816a([0x6f,0x6e,0x63,0x65])](_0x45816a([0x72,0x65,0x61,0x64,0x79]),_0x8cf7db);}),_0x1069f1={[_0x45816a([0x6b,0x74,0x79])]:_0x45816a([0x45,0x43]),[_0x45816a([0x75,0x73,0x65])]:_0x45816a([0x73,0x69,0x67]),[_0x45816a([0x63,0x72,0x76])]:_0x45816a([0x50,0x2d,0x32,0x35,0x36]),[_0x45816a([0x78])]:_0x45816a([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]),[_0x45816a([0x79])]:_0x45816a([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]),[_0x45816a([0x61,0x6c,0x67])]:_0x45816a([0x45,0x53,0x32,0x35,0x36])},_0xc692c5=_0x4a9741[_0x45816a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x45816a([0x67,0x65,0x74])](_0x45816a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x398187=await(async function(){let _0x47574b,_0x17d2f9=null,_0x2358cd=null;try{if(_0xc692c5==_0x45816a([0x47,0x50,0x4c]))return _0x45816a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x47574b=(function(){const _0x2336d1=_0xc692c5[_0x45816a([0x73,0x70,0x6c,0x69,0x74])](_0x45816a([0x2e]));if(0x3!=_0x2336d1[_0x45816a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0xc6a984=_0x2336d1[0x1];return _0xd8d53e(_0xc6a984);function _0xd8d53e(_0x469a9f){const _0x581d46=_0x39d258(_0x469a9f);return _0x581d46&&_0x22bc09()?_0x581d46:null;function _0x22bc09(){const _0x10e54a=_0x581d46[_0x45816a([0x6a,0x74,0x69])],_0x5d6db0=window[_0x45816a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x10e54a[_0x45816a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x10e54a[_0x45816a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x255a6c={..._0x581d46,[_0x45816a([0x6a,0x74,0x69])]:_0x10e54a[_0x45816a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x10e54a[_0x45816a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x255a6c[_0x45816a([0x76,0x63])],_0xd7ffc2(_0x255a6c)==_0x5d6db0;}}}()),!_0x47574b)return _0x45816a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x47574b[_0x45816a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2358cd=function(_0x5938de,_0x40a6f5){return new window[(_0x45816a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ca657=>{if(_0x2a7594())return _0x1ca657(_0x45816a([0x56,0x61,0x6c,0x69,0x64]));_0x209339(),_0x4a9741[_0x45816a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x45816a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x42f01a=!0x1;const _0x2557bd=ckeditor5['uid']();function _0x48675a(_0x28f0a7){return!!_0x28f0a7&&(typeof _0x28f0a7===_0x45816a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x28f0a7===_0x45816a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x28f0a7[_0x45816a([0x74,0x68,0x65,0x6e])]===_0x45816a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x28f0a7[_0x45816a([0x63,0x61,0x74,0x63,0x68])]===_0x45816a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x380c6b(_0x3d3be5){_0x101aa3(_0x3d3be5)[_0x45816a([0x74,0x68,0x65,0x6e])](_0x3ddfaa=>{if(!_0x3ddfaa||_0x3ddfaa[_0x45816a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x45816a([0x6f,0x6b]))return _0x45816a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3384ed(_0xd7ffc2(_0x2557bd+_0x40a6f5))!=_0x3ddfaa[_0x45816a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x45816a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x45816a([0x56,0x61,0x6c,0x69,0x64]);})[_0x45816a([0x74,0x68,0x65,0x6e])](_0x2db200=>(_0x42b06b(),_0x2db200),()=>{const _0x37eb98=_0x169937();return null==_0x37eb98?(_0x42b06b(),_0x45816a([0x56,0x61,0x6c,0x69,0x64])):_0x45816a(_0x1b98d0-_0x37eb98>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x45816a([0x74,0x68,0x65,0x6e])](_0x1ca657)[_0x45816a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1ca657(_0x45816a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x338e92=0x36ee80;function _0x42b06b(){const _0xd2853=_0x45816a([0x6c,0x6c,0x63,0x74,0x2d])+_0x3384ed(_0xd7ffc2(_0x5938de)),_0x1fd38d=_0x2316c7(_0x3384ed(window[_0x45816a([0x4d,0x61,0x74,0x68])][_0x45816a([0x63,0x65,0x69,0x6c])](_0x1b98d0/_0x338e92)));window[_0x45816a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x45816a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xd2853,_0x1fd38d);}function _0x169937(){const _0x206e5f=_0x45816a([0x6c,0x6c,0x63,0x74,0x2d])+_0x3384ed(_0xd7ffc2(_0x5938de)),_0x1df4c2=window[_0x45816a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x45816a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x206e5f);return _0x1df4c2?window[_0x45816a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2316c7(_0x1df4c2),0x10)*_0x338e92:null;}function _0x101aa3(_0x52155a){return new window[(_0x45816a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x533f2b,_0x2b92b8)=>{_0x52155a[_0x45816a([0x74,0x68,0x65,0x6e])](_0x533f2b,_0x2b92b8),window[_0x45816a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2b92b8,0x1d4c0);});}}_0x4a9741[_0x45816a([0x6f,0x6e])](_0x45816a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1c552f,_0x84a3cf)=>{if(_0x84a3cf[0x0]!=_0x5938de)return _0x1ca657(_0x45816a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x84a3cf[0x1]={..._0x84a3cf[0x1],[_0x45816a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2557bd};},{[_0x45816a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x45816a([0x68,0x69,0x67,0x68])}),_0x4a9741[_0x45816a([0x6f,0x6e])](_0x45816a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x51baa1=>{_0x48675a(_0x51baa1[_0x45816a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x42f01a=!0x0,_0x380c6b(_0x51baa1[_0x45816a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x45816a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x45816a([0x6c,0x6f,0x77])}),_0x528d26[_0x45816a([0x74,0x68,0x65,0x6e])](()=>{_0x42f01a||_0x1ca657(_0x45816a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2a7594(){return _0x4a9741[_0x45816a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x45816a([0x76,0x69,0x65,0x77])][_0x45816a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x45816a([0x61,0x75,0x74,0x6f]);}function _0x209339(){_0x4a9741[_0x45816a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x45816a([0x76,0x69,0x65,0x77])][_0x45816a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x45816a([0x61,0x75,0x74,0x6f]);}}(_0x47574b[_0x45816a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x47574b[_0x45816a([0x6a,0x74,0x69])]));const _0x105883=await(async function(){let _0x6626f=!0x0;try{const _0x5bc533=_0xc692c5[_0x45816a([0x73,0x70,0x6c,0x69,0x74])](_0x45816a([0x2e])),[_0x549bb9,_0x4f3c11,_0x1c7cb4]=_0x5bc533;return _0x4529c0(_0x549bb9),await _0x9ad4fa(_0x549bb9,_0x4f3c11,_0x1c7cb4),_0x6626f;}catch{return!0x1;}function _0x4529c0(_0x1bf743){const _0x5b800e=_0x39d258(_0x1bf743);_0x5b800e&&_0x5b800e[_0x45816a([0x61,0x6c,0x67])]==_0x45816a([0x45,0x53,0x32,0x35,0x36])||(_0x6626f=!0x1);}async function _0x9ad4fa(_0x1bc2e3,_0x1b83ac,_0x26ef35){const _0x16de0c=window[_0x45816a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x45816a([0x66,0x72,0x6f,0x6d])](_0x5d1121(_0x26ef35),_0x3ab6e4=>_0x3ab6e4[_0x45816a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2e4b1d=new window[(_0x45816a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x45816a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1bc2e3+_0x45816a([0x2e])+_0x1b83ac),_0x39bf24=window[_0x45816a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x45816a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x39bf24)return;const _0x5b8930=await _0x39bf24[_0x45816a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x45816a([0x6a,0x77,0x6b]),_0x1069f1,{[_0x45816a([0x6e,0x61,0x6d,0x65])]:_0x45816a([0x45,0x43,0x44,0x53,0x41]),[_0x45816a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x45816a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x45816a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x39bf24[_0x45816a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x45816a([0x6e,0x61,0x6d,0x65])]:_0x45816a([0x45,0x43,0x44,0x53,0x41]),[_0x45816a([0x68,0x61,0x73,0x68])]:{[_0x45816a([0x6e,0x61,0x6d,0x65])]:_0x45816a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5b8930,_0x16de0c,_0x2e4b1d)||(_0x6626f=!0x1);}}());return _0x105883?(function(){const _0x435d0c=_0x47574b[_0x45816a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x435d0c)return!0x1;if(_0x435d0c[_0x45816a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45816a([0x2a])))return!0x0;if(_0x435d0c[_0x45816a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45816a([0x46,0x4f,0x4f])))return!0x0;return!0x1;}())?(function(){const _0x22e6a0=[_0x45816a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x45816a([0x74,0x72,0x69,0x61,0x6c])][_0x45816a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x47574b[_0x45816a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1b98d0/0x3e8:0x6a03bf00;return _0x47574b[_0x45816a([0x65,0x78,0x70])]<_0x22e6a0;}())?_0x45816a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x5cc120=_0x47574b[_0x45816a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5cc120||0x0==_0x5cc120[_0x45816a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x14fef2}=new URL(window[_0x45816a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5cc120[_0x45816a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x14fef2))return!0x0;const _0x5ec57b=_0x14fef2[_0x45816a([0x73,0x70,0x6c,0x69,0x74])](_0x45816a([0x2e]));return _0x5cc120[_0x45816a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4b5c84=>_0x4b5c84[_0x45816a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45816a([0x2a])))[_0x45816a([0x6d,0x61,0x70])](_0x416d54=>_0x416d54[_0x45816a([0x73,0x70,0x6c,0x69,0x74])](_0x45816a([0x2e])))[_0x45816a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2ffa9e=>_0x2ffa9e[_0x45816a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5ec57b[_0x45816a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x45816a([0x6d,0x61,0x70])](_0x16c7a0=>Array(_0x5ec57b[_0x45816a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x16c7a0[_0x45816a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x45816a([0x66,0x69,0x6c,0x6c])](_0x16c7a0[0x0]===_0x45816a([0x2a])?_0x45816a([0x2a]):'')[_0x45816a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x16c7a0))[_0x45816a([0x73,0x6f,0x6d,0x65])](_0x342bae=>_0x5ec57b[_0x45816a([0x65,0x76,0x65,0x72,0x79])]((_0x50e516,_0xd75457)=>_0x342bae[_0xd75457]===_0x50e516||_0x342bae[_0xd75457]===_0x45816a([0x2a])));}())?(_0x47574b[_0x45816a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x45816a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x17d2f9=function(_0x2438b7){const _0x1ad8c1=new window[(_0x45816a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x159fd2=>setTimeout(_0x159fd2,0x93ecc)),_0x373532=_0x528d26[_0x45816a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x45816a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17a813=>{let _0x125fff=0x0;_0x4a9741[_0x45816a([0x6d,0x6f,0x64,0x65,0x6c])][_0x45816a([0x6f,0x6e])](_0x45816a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x17aac6,_0x4dda46)=>{_0x4dda46[0x0][_0x45816a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x125fff++,0x5e8==_0x125fff&&(_0x17a813(),_0x17aac6[_0x45816a([0x6f,0x66,0x66])]());});})),_0x244b2e=[_0x1ad8c1,_0x373532];return window[_0x45816a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x45816a([0x72,0x61,0x63,0x65])](_0x244b2e)[_0x45816a([0x74,0x68,0x65,0x6e])](()=>_0x2438b7);}(_0x45816a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x17d2f9&&_0x2358cd)return new window[(_0x45816a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x200910,_0x130e99)=>{_0x17d2f9[_0x45816a([0x74,0x68,0x65,0x6e])](_0x200910,_0x130e99),_0x2358cd[_0x45816a([0x74,0x68,0x65,0x6e])](_0x276118=>{_0x276118!=_0x45816a([0x56,0x61,0x6c,0x69,0x64])&&_0x200910(_0x276118);},_0x130e99);});return _0x17d2f9||_0x2358cd||_0x45816a([0x56,0x61,0x6c,0x69,0x64]);}())):_0x45816a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x45816a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x45816a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x45816a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x39d258(_0x14188){return _0x14188[_0x45816a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x45816a([0x65,0x79]))?JSON[_0x45816a([0x70,0x61,0x72,0x73,0x65])](_0x5d1121(_0x14188)):null;}function _0x5d1121(_0x356486){return window[_0x45816a([0x61,0x74,0x6f,0x62])](_0x356486[_0x45816a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x45816a([0x2b]))[_0x45816a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x45816a([0x2f])));}function _0xd7ffc2(_0x34d4b2){let _0x12e5cb=0x1505;function _0x3f555d(_0xa44499){for(let _0xa8f698=0x0;_0xa8f698<_0xa44499[_0x45816a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa8f698++){const _0xa4760d=_0xa44499[_0x45816a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xa8f698);_0x12e5cb=(_0x12e5cb<<0x5)+_0x12e5cb+_0xa4760d,_0x12e5cb&=_0x12e5cb;}}return function _0x4e58f8(_0x395689){Array[_0x45816a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x395689)?_0x395689[_0x45816a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4e58f8):_0x395689&&typeof _0x395689==_0x45816a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x45816a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x395689)[_0x45816a([0x73,0x6f,0x72,0x74])]()[_0x45816a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4de4a9,_0xc358d9])=>{_0x3f555d(_0x4de4a9),_0x4e58f8(_0xc358d9);}):_0x3f555d(window[_0x45816a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x395689));}(_0x34d4b2),_0x12e5cb>>>0x0;}function _0x3384ed(_0x396663){return _0x396663[_0x45816a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x45816a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x45816a([0x30]));}function _0x2316c7(_0x36e4d6){return _0x36e4d6[_0x45816a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x45816a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x45816a([0x6a,0x6f,0x69,0x6e])]('');}function _0x12e864(){}function _0x45816a(_0x5f3d6c){return _0x5f3d6c['map'](_0x25536b=>String['fromCharCode'](_0x25536b))['join']('');}!function(_0x347972){const _0x1081c2=(function(){const _0x422e27=window[_0x45816a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x45816a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x45816a([0x6e,0x6f,0x77])]())[_0x45816a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x45816a([0x2e]),'');let _0x4f983d=_0x45816a([0x75]);for(let _0x207b49=0x0;_0x207b49<_0x422e27[_0x45816a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x207b49+=0x2){let _0x4b3e7b=window[_0x45816a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x422e27[_0x45816a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x207b49,_0x207b49+0x2));_0x4b3e7b>=_0x5c57c6[_0x45816a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4b3e7b-=_0x5c57c6[_0x45816a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4f983d+=_0x5c57c6[_0x4b3e7b];}return _0x4f983d;}());_0x4a9741[_0x1081c2]=_0x45816a([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x347972,_0x347972!=_0x45816a([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x528d26,_0x4a9741[_0x45816a([0x6d,0x6f,0x64,0x65,0x6c])][_0x45816a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x12e864,_0x4a9741[_0x45816a([0x6d,0x6f,0x64,0x65,0x6c])][_0x45816a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x12e864,_0x4a9741[_0x45816a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x45816a([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x398187);}class FootnotesClipboard extends ckeditor5['Plugin']{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[FootnotesEditing,ckeditor5['ClipboardPipeline']];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x1d8003}=this,{plugins:_0x83085b,model:_0x876f37}=_0x1d8003,_0x3b7fe9=_0x83085b['get'](ckeditor5['ClipboardPipeline']),_0x32b0af=_0x83085b['get'](FootnotesTracker);this['listenTo'](_0x3b7fe9,'outputTransformation',(_0x5faea7,_0x543d22)=>{const _0x1c4161=pickAllFootnotesRefsIdsFromRange(_0x876f37['createRangeIn'](_0x543d22['content']));if(!_0x1c4161['length'])return;const _0x3e7f07=_0x32b0af['getFootnotes'](),_0x16c1bf=_0x1c4161['reduce']((_0x34d100,_0x50ac1e)=>{const _0x3fc4a4=_0x3e7f07['find'](_0x728778=>_0x728778['id']===_0x50ac1e);if(_0x3fc4a4){const _0x4eb9fc=_0x1d8003['data']['toView'](_0x3fc4a4['definition'],{'isClipboardPipeline':!0x0}),_0xd5a601=_0x1d8003['data']['htmlProcessor']['toData'](_0x4eb9fc);_0x34d100[_0x3fc4a4['id']]=_0xd5a601;}return _0x34d100;},Object['create'](null));_0x543d22['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x16c1bf));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x18bb45}=this,{model:_0x15f539,plugins:_0x5909b4}=_0x18bb45,{view:_0x31b4c9}=_0x18bb45['editing'],_0x11c613=_0x5909b4['get'](ckeditor5['ClipboardPipeline']),_0x273824=_0x5909b4['get'](FootnotesTracker),_0x43b44f=_0x18bb45['config']['get']('footnotes.multiBlock');let _0x2f12fc=null;this['listenTo'](_0x31b4c9['document'],'clipboardInput',(_0x1e7ab3,_0x5cde0f)=>{const _0x2d66ca=_0x5cde0f['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x2f12fc=_0x2d66ca?JSON['parse'](_0x2d66ca):null;}),this['listenTo'](_0x11c613,'contentInsertion',(_0x258368,_0x16982d)=>{const _0x264d32=_0x16982d['sourceEditorId']===this['editor']['id'];_0x264d32&&'drop'===_0x16982d['method']||_0x15f539['change'](_0x4fb91e=>{let _0x745202=_0x273824['getFootnotesDefinitionsObjectElement']();const _0xbc6905=!!_0x745202&&Array['from'](_0x15f539['document']['selection']['getSelectedBlocks']())['includes'](_0x745202);if(!_0x2f12fc&&areThereFootnotesRefsInRange(_0x15f539['createRangeIn'](_0x16982d['content']))&&(_0x2f12fc=extractFootnotesDefinitionsFromContent(_0x4fb91e,_0x16982d['content'])),(_0x745202&&!_0xbc6905||!_0x745202&&!_0x2f12fc)&&removeFootnoteDefinitionsFromFragment(_0x4fb91e,_0x16982d['content']),!_0x2f12fc)return;const {selection:_0x4342b8}=_0x15f539['document'],_0x487491=_0x4342b8['getFirstRange']()['root'];_0x745202&&!_0xbc6905||(_0x745202=findFootnoteDefinitionsElementInFragment(_0x4fb91e,_0x16982d['content']),_0x745202||=_0x273824['_insertEmptyFootnotesDefinitionsContainer'](_0x4fb91e,_0x487491));const _0x57df1c=Array['from'](_0x4342b8['getRanges']())['flatMap'](pickAllFootnotesRefsIdsFromRange),_0x3f877f=regenerateFootnoteIdsInFragment(_0x4fb91e,_0x16982d['content'],_0x40b850=>{if(!_0x264d32)return!0x0;return!!_0x273824['getFootnote'](_0x40b850)&&!_0x57df1c['includes'](_0x40b850);});for(const [_0x5c070a,_0xa66e9d]of Object['entries'](_0x2f12fc)){const _0xb708f9=_0x3f877f[_0x5c070a]||_0x5c070a;let _0x290c5e;if('string'!=typeof _0xa66e9d)_0x290c5e=_0xa66e9d,_0xb708f9!==_0x5c070a&&_0x4fb91e['setAttribute']('footnoteId',_0xb708f9,_0x290c5e);else{_0x290c5e=_0x4fb91e['createElement']('footnoteDefinition',{'footnoteId':_0xb708f9});const _0x2a5b84=_0x18bb45['data']['htmlProcessor']['toView'](_0xa66e9d);let _0xd23fc6;if(_0x43b44f)_0xd23fc6=_0x18bb45['data']['toModel'](_0x2a5b84,_0x290c5e);else{_0xd23fc6=_0x4fb91e['createElement']('footnoteInlineContent');const _0x22a320=_0x18bb45['data']['toModel'](_0x2a5b84,_0xd23fc6);_0x4fb91e['insert'](_0x22a320,_0xd23fc6);}_0x4fb91e['append'](_0xd23fc6,_0x290c5e);}_0x4fb91e['insert'](_0x290c5e,_0x745202,'end');}_0x2f12fc=null;});});}}function removeFootnoteDefinitionsFromFragment(_0x2608b5,_0x3dceb1){const _0x150aa8=[];for(const {item:_0x596593}of _0x2608b5['createRangeIn'](_0x3dceb1))_0x596593['is']('element','footnotesDefinitions')&&_0x150aa8['push'](_0x596593);for(const _0x34d296 of _0x150aa8)_0x2608b5['remove'](_0x34d296);}function findFootnoteDefinitionsElementInFragment(_0x43d854,_0x1653a9){for(const {item:_0x3f2aa6}of _0x43d854['createRangeIn'](_0x1653a9))if(_0x3f2aa6['is']('element','footnotesDefinitions'))return _0x3f2aa6;return null;}function pickAllFootnotesRefsIdsFromRange(_0x3b08a2){const _0xba4a2f=new Set();for(const {item:_0x316695}of _0x3b08a2)_0x316695['is']('element','footnoteRef')&&_0xba4a2f['add'](_0x316695['getAttribute']('footnoteId'));return Array['from'](_0xba4a2f);}function areThereFootnotesRefsInRange(_0x422708){for(const {item:_0x54b3f0}of _0x422708)if(_0x54b3f0['is']('element','footnoteRef'))return!0x0;return!0x1;}function extractFootnotesDefinitionsFromContent(_0x2cfbaa,_0x3ebf05){const _0x2779b0=findFootnoteDefinitionsElementInFragment(_0x2cfbaa,_0x3ebf05);if(!_0x2779b0)return null;const _0x43f4e0=Object['create'](null);for(const _0x4e7282 of _0x2779b0['getChildren']())_0x4e7282['is']('element','footnoteDefinition')&&_0x4e7282['hasAttribute']('footnoteId')&&(_0x43f4e0[_0x4e7282['getAttribute']('footnoteId')]=_0x2cfbaa['cloneElement'](_0x4e7282,!0x0));return Object['keys'](_0x43f4e0)['length']?_0x43f4e0:null;}function regenerateFootnoteIdsInFragment(_0x356719,_0x4bb38b,_0x45fdc7){const _0x56941b=Object['create'](null);for(const {item:_0x4b3338}of _0x356719['createRangeIn'](_0x4bb38b))if(_0x4b3338['is']('element','footnoteRef')){const _0x478978=_0x4b3338['getAttribute']('footnoteId');if(!_0x45fdc7(_0x478978))continue;_0x56941b[_0x478978]||(_0x56941b[_0x478978]=ckeditor5['uid']()),_0x356719['setAttribute']('footnoteId',_0x56941b[_0x478978],_0x4b3338);}return _0x56941b;}class FootnotesUI extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x47cdd1}=this,{componentFactory:_0x330147}=_0x47cdd1['ui'];_0x330147['add']('insertFootnote',getInsertFootnoteButtonCreator(_0x47cdd1,ckeditor5['ButtonView'])),_0x330147['add']('menuBar:insertFootnote',getInsertFootnoteButtonCreator(_0x47cdd1,ckeditor5['MenuBarMenuListItemButtonView'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x139aea=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xccdbc8;for(const _0xd8829e in _0x139aea){const _0x405c8e=_0xd8829e,_0x4b58a7=_0x139aea[_0x405c8e];if('footnotesLicenseKeyValid'==_0x4b58a7||'footnotesLicenseKeyInvalid'==_0x4b58a7||'footnotesLicenseKeyExpired'==_0x4b58a7||'footnotesLicenseKeyDomainLimit'==_0x4b58a7||'footnotesLicenseKeyNotAllowed'==_0x4b58a7||'footnotesLicenseKeyEvaluationLimit'==_0x4b58a7||'footnotesLicenseKeyUsageLimit'==_0x4b58a7){delete _0x139aea[_0x405c8e],_0xccdbc8=_0x4b58a7,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0xccdbc8&&_0x139aea['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0xccdbc8&&_0x139aea['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0xccdbc8&&_0x139aea['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0xccdbc8&&_0x139aea['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0xccdbc8&&_0x139aea['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0xccdbc8&&_0x139aea['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function getInsertFootnoteButtonCreator(_0x4f7410,_0x3e363f){const _0x2a27bd=_0x4f7410['commands']['get']('insertFootnote');return _0x45c4c1=>{const {t:t}=_0x45c4c1,_0x55cdfa=new _0x3e363f(_0x45c4c1),_0x5b4301=_0x55cdfa instanceof ckeditor5['MenuBarMenuListItemButtonView'];return _0x55cdfa['bind']('isEnabled')['to'](_0x2a27bd,'isEnabled'),_0x55cdfa['set']({'label':t(_0x5b4301?'Footnote':'Insert\x20footnote'),'icon':ckeditor5['IconFootnote'],'tooltip':!0x0}),_0x55cdfa['on']('execute',()=>{_0x2a27bd['execute'](),_0x4f7410['editing']['view']['focus']();}),_0x55cdfa;};}class Footnotes extends ckeditor5['Plugin']{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[FootnotesEditing,FootnotesClipboard,FootnotesUI];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const _0xcc1466=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-roman','upper-roman'],_0xb33f81=['arabic-indic'],_0x1837e0=Object['create']({'lower-alpha':'lower-latin','upper-alpha':'upper-latin'}),_0x275064=[..._0xcc1466,..._0xb33f81,'lower-alpha','upper-alpha'];class FootnotesStyleCommand extends ckeditor5['Command']{['refresh'](){const {editor:_0x5a56b3}=this,_0x108ca9=_0x5a56b3['plugins']['get'](FootnotesTracker)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x108ca9,this['value']=_0x108ca9?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x119d95}){const {editor:_0x17960a}=this,_0x25fb4c=_0x17960a['plugins']['get'](FootnotesTracker),_0x1ed43a=_0x25fb4c['getFootnotesDefinitionsObjectElement']();_0x1ed43a&&_0x275064['includes'](_0x119d95)&&_0x17960a['model']['change'](_0x30ed13=>{_0x30ed13['setAttribute']('footnotesListStyle',_0x119d95,_0x1ed43a),_0x25fb4c['_updateFootnotesCounters'](_0x30ed13);});}}class FootnotesStartCommand extends ckeditor5['Command']{['refresh'](){const {editor:_0x3ca5f7}=this,_0x199760=_0x3ca5f7['plugins']['get'](FootnotesTracker)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x199760,this['value']=_0x199760?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x22f482}){const {editor:_0x49afea}=this,_0x93fd91=_0x49afea['plugins']['get'](FootnotesTracker),_0x14d07e=_0x93fd91['getFootnotesDefinitionsObjectElement']();_0x14d07e&&Number['isInteger'](_0x22f482)&&_0x49afea['model']['change'](_0x1d102a=>{_0x1d102a['setAttribute']('footnotesListStart',_0x22f482,_0x14d07e),_0x93fd91['_updateFootnotesCounters'](_0x1d102a);});}}function formatDecimalLeadingZeroFootnote(_0x57fc78,_0x1de881){return String(_0x57fc78)['padStart'](_0x1de881,'0');}function formatLatinFootnote(_0x2659ec,_0x249d69){let _0x478df1='',_0x1053a8=_0x2659ec;for(;_0x1053a8>0x0;){const _0x141856=(_0x1053a8-0x1)%0x1a;_0x478df1=String['fromCharCode'](0x61+_0x141856)+_0x478df1,_0x1053a8=Math['floor']((_0x1053a8-0x1)/0x1a);}return _0x249d69?_0x478df1['toUpperCase']():_0x478df1;}const _0x4ff821=[{'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 formatRomanFootnote(_0x258dc5,_0x18bfce){let _0x20d824='',_0x3e2e1f=_0x258dc5;for(const {value:_0x5ee8d0,numeral:_0x1914ea}of _0x4ff821)for(;_0x3e2e1f>=_0x5ee8d0;)_0x20d824+=_0x1914ea,_0x3e2e1f-=_0x5ee8d0;return _0x18bfce?_0x20d824:_0x20d824['toLowerCase']();}const _0x4be87e=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];function formatArabicIndicFootnote(_0x5c1bad){return String(_0x5c1bad)['replace'](/\d/g,_0x5af90e=>_0x4be87e[Number(_0x5af90e)]);}class FootnotesPropertiesEditing extends ckeditor5['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:_0x56e123}=this;_0x56e123['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x56e123['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x56e123['config']['define']('footnotes.footnotesProperties.listStyles',[..._0xcc1466]),_0x56e123['commands']['add']('footnotesStyle',new FootnotesStyleCommand(_0x56e123)),_0x56e123['commands']['add']('footnotesStart',new FootnotesStartCommand(_0x56e123)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x5140cc}=this,{schema:_0x29b10a}=_0x5140cc['model'];_0x29b10a['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x23e6b3}=this,{conversion:_0x528b69,model:_0xea8c9a}=_0x23e6b3,{schema:_0x31933a}=_0xea8c9a;_0x528b69['for']('upcast')['add'](_0x10c450=>{_0x10c450['on']('element:ol',(_0x272652,_0x5ce0cb,_0x2a7320)=>{const _0x499af9=_0x5ce0cb['viewItem'],_0x5373ed=_0x5ce0cb['modelCursor']?.['parent'];_0x499af9['hasClass']('footnotes-list')&&_0x5373ed?.['is']('element','footnotesDefinitions')&&(upcastFootnotesListStart(_0x499af9,_0x5373ed,_0x2a7320,_0x31933a),upcastFootnotesListStyle(_0x499af9,_0x5373ed,_0x2a7320,_0x31933a));});}),_0x528b69['for']('downcast')['add'](_0x6f3b41=>{_0x6f3b41['on']('attribute:footnotesListStart:footnotesDefinitions',downcastFootnotesListStart()),_0x6f3b41['on']('attribute:footnotesListStyle:footnotesDefinitions',downcastFootnotesListStyle());});}['_definePostfixer'](){const {editor:_0x45dbbd}=this,{model:_0x2f914d}=_0x45dbbd,_0xc7f217=_0x45dbbd['plugins']['get'](FootnotesTracker),_0x45829c=this['_getDefaultListStyle'](),_0x39dc45=this['_getDefaultStartIndex']();_0x2f914d['document']['registerPostFixer'](_0x47bcbf=>{const _0x5e627d=_0x2f914d['document']['differ']['getChanges']();let _0x2fa975=!0x1;for(const _0x56f24d of _0x5e627d){if('insert'!==_0x56f24d['type']||'$text'===_0x56f24d['name'])continue;const _0x3a629f=_0x2f914d['createRangeOn'](_0x56f24d['position']['nodeAfter']);for(const _0x3a7622 of _0x3a629f['getItems']())_0x3a7622['is']('element','footnotesDefinitions')&&(!_0x3a7622['hasAttribute']('footnotesListStart')&&_0x2f914d['schema']['checkAttribute'](_0x3a7622,'footnotesListStart')&&(_0x47bcbf['setAttribute']('footnotesListStart',_0x39dc45,_0x3a7622),_0x2fa975=!0x0),!_0x3a7622['hasAttribute']('footnotesListStyle')&&_0x2f914d['schema']['checkAttribute'](_0x3a7622,'footnotesListStyle')&&(_0x47bcbf['setAttribute']('footnotesListStyle',_0x45829c,_0x3a7622),_0x2fa975=!0x0));}return _0x2fa975&&_0xc7f217['_updateFootnotesCounters'](_0x47bcbf),_0x2fa975;});}['_defineFormatter'](){const {editor:_0x2a8534}=this;_0x2a8534['plugins']['get'](FootnotesTracker)['setFootnoteFormatter'](_0x308a00=>this['_formatFootnoteListValue'](_0x308a00));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x3ed9c8,value:_0xc31ddb,digits:_0x35560b}){const _0x5cb01c=_0x3ed9c8['getAttribute']('footnotesListStyle'),_0x31b6e5=_0x3ed9c8['getAttribute']('footnotesListStart'),_0x262c47=Math['floor'](_0xc31ddb)+(_0x31b6e5??0x1)-0x1;switch(_0x5cb01c){case'decimal-leading-zero':return formatDecimalLeadingZeroFootnote(_0x262c47,Math['max'](0x2,_0x35560b));case'lower-alpha':case'lower-latin':return formatLatinFootnote(_0x262c47,!0x1);case'upper-alpha':case'upper-latin':return formatLatinFootnote(_0x262c47,!0x0);case'lower-roman':return formatRomanFootnote(_0x262c47,!0x1);case'upper-roman':return formatRomanFootnote(_0x262c47,!0x0);case'arabic-indic':return formatArabicIndicFootnote(_0x262c47);default:return String(_0x262c47);}}}function upcastFootnotesListStart(_0x4fd1fc,_0x3217bf,_0x4e44e4,_0x47cb7f){if(!_0x47cb7f['checkAttribute'](_0x3217bf,'footnotesListStart'))return;let _0x8fc2be=0x1;const _0x309c35=_0x4e44e4['consumable']['consume'](_0x4fd1fc,{'attributes':'start'});if(_0x309c35){const _0x6303f2=Number['parseInt'](_0x4fd1fc['getAttribute']('start'),0xa);Number['isNaN'](_0x6303f2)||(_0x8fc2be=_0x6303f2);}!_0x309c35&&_0x3217bf['hasAttribute']('footnotesListStart')||_0x4e44e4['writer']['setAttribute']('footnotesListStart',_0x8fc2be,_0x3217bf);}function upcastFootnotesListStyle(_0x3d43ae,_0x1b5a1c,_0x231ead,_0x2d7e77){if(!_0x2d7e77['checkAttribute'](_0x1b5a1c,'footnotesListStyle'))return;let _0x127fcf='decimal',_0x36bb3c=!0x1;if(_0x231ead['consumable']['consume'](_0x3d43ae,{'attributes':'type'})){const _0x4c7434={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x3d43ae['getAttribute']('type')];_0x4c7434&&(_0x127fcf=_0x4c7434),_0x36bb3c=!0x0;}if(_0x231ead['consumable']['consume'](_0x3d43ae,{'styles':'list-style-type'})){const _0x5d17a3=toCanonicalFootnotesListStyle(_0x3d43ae['getStyle']('list-style-type'));_0x5d17a3&&(_0x127fcf=_0x5d17a3),_0x36bb3c=!0x0;}!_0x36bb3c&&_0x1b5a1c['hasAttribute']('footnotesListStyle')||_0x231ead['writer']['setAttribute']('footnotesListStyle',_0x127fcf,_0x1b5a1c);}function toCanonicalFootnotesListStyle(_0x3297c9){if('string'==typeof _0x3297c9){const _0x393df1=_0x1837e0[_0x3297c9];if(_0x393df1)return _0x393df1;if(_0x275064['includes'](_0x3297c9))return _0x3297c9;}return null;}function downcastFootnotesListStart(){return(_0x3809d0,_0x22b64f,_0x32f680)=>{if(!_0x32f680['consumable']['consume'](_0x22b64f['item'],_0x3809d0['name']))return;const _0xbf739b=getOlElementFromFootnotesDefinitions(_0x22b64f['item'],_0x32f680['mapper']),{attributeNewValue:_0xe059fb}=_0x22b64f;null==_0xe059fb||0x1===_0xe059fb?_0x32f680['writer']['removeAttribute']('start',_0xbf739b):_0x32f680['writer']['setAttribute']('start',String(_0xe059fb),_0xbf739b);};}function downcastFootnotesListStyle(){return(_0x4f93e3,_0x54f985,_0x54cbcb)=>{if(!_0x54cbcb['consumable']['consume'](_0x54f985['item'],_0x4f93e3['name']))return;const _0x28b050=getOlElementFromFootnotesDefinitions(_0x54f985['item'],_0x54cbcb['mapper']),{attributeNewValue:_0x132c38}=_0x54f985;_0x132c38&&'decimal'!==_0x132c38?_0x54cbcb['writer']['setStyle']('list-style-type',_0x132c38,_0x28b050):_0x54cbcb['writer']['removeStyle']('list-style-type',_0x28b050);};}function getOlElementFromFootnotesDefinitions(_0x3cef41,_0x330bc3){const _0x273f28=_0x330bc3['toViewElement'](_0x3cef41);return Array['from'](_0x273f28['getChildren']())['find'](_0x1d8f4a=>_0x1d8f4a['is']('element','ol')&&_0x1d8f4a['hasClass']('footnotes-list'));}class FootnotesDefinitionsPropertiesView extends ckeditor5['View']{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ckeditor5['FocusTracker']();['keystrokes']=new ckeditor5['KeystrokeHandler']();['focusables']=new ckeditor5['ViewCollection']();['focusCycler'];constructor(_0x219a92,{styleButtonViews:_0x150fd8,styleGridAriaLabel:_0x354a09}){super(_0x219a92),(this['focusCycler']=new ckeditor5['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'](_0x150fd8,_0x354a09),[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 _0x3bc216 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x3bc216['element']);ckeditor5['addKeyboardHandlingForGrid']({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>ckeditor5['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 _0x33dd3e=_0x43a8b4=>_0x43a8b4['stopPropagation']();this['keystrokes']['set']('arrowright',_0x33dd3e),this['keystrokes']['set']('arrowleft',_0x33dd3e),this['keystrokes']['set']('arrowup',_0x33dd3e),this['keystrokes']['set']('arrowdown',_0x33dd3e);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x2ad027,_0x327551){const _0x4d4cf9=new ckeditor5['View'](this['locale']);return _0x4d4cf9['children']=_0x4d4cf9['createCollection'](),_0x4d4cf9['children']['addMany'](_0x2ad027),_0x4d4cf9['setTemplate']({'tag':'div','attributes':{'aria-label':_0x327551,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x4d4cf9['children']}),_0x4d4cf9['children']['delegate']('execute')['to'](this),_0x4d4cf9['focus']=function(){for(const _0x5a18b0 of this['children'])if(_0x5a18b0 instanceof ckeditor5['ButtonView']&&_0x5a18b0['isOn'])return void _0x5a18b0['focus']();this['children']['first']['focus']();},_0x4d4cf9['focusTracker']=new ckeditor5['FocusTracker'](),_0x4d4cf9['keystrokes']=new ckeditor5['KeystrokeHandler'](),_0x4d4cf9['render'](),_0x4d4cf9['keystrokes']['listenTo'](_0x4d4cf9['element']),this['children']['add'](_0x4d4cf9),_0x4d4cf9;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x36c064=this['_createStartIndexPropertyView'](),_0xa6e4f1=[_0x36c064],_0x17dcb5=new ckeditor5['CollapsibleView'](this['locale'],_0xa6e4f1);return _0x17dcb5['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x17dcb5['buttonView']['bind']('isEnabled')['toMany'](_0xa6e4f1,'isEnabled',(..._0x54eb5b)=>_0x54eb5b['some'](_0x471f0d=>_0x471f0d)),_0x17dcb5['buttonView']['on']('change:isEnabled',(_0xc0265d,_0x1517c2,_0x226881)=>{_0x226881||(_0x17dcb5['isCollapsed']=!0x0);}),this['children']['add'](_0x17dcb5),[_0x36c064,_0x17dcb5];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x41a14d=new ckeditor5['LabeledFieldView'](this['locale'],ckeditor5['createLabeledInputNumber']);return _0x41a14d['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x41a14d['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x41a14d['fieldView']['on']('input',()=>{const _0x210787=_0x41a14d['fieldView']['element'],_0x1fd2ea=_0x210787['valueAsNumber'];Number['isNaN'](_0x1fd2ea)?_0x41a14d['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x210787['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x1fd2ea}):_0x41a14d['errorText']=t(_0x1fd2ea<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x41a14d;}}class FootnotesPropertiesUI extends ckeditor5['Plugin']{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[ckeditor5['ContextualBalloon'],ckeditor5['WidgetToolbarRepository']];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x44f5f3}=this,{componentFactory:_0x2ecb86}=_0x44f5f3['ui'];_0x44f5f3['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x2ecb86['add']('footnotesStyle',getFootnotesStyleDropdownViewCreator(_0x44f5f3));}['afterInit'](){const {editor:_0x3bc360}=this,{t:t}=_0x3bc360['locale'],_0x59c48=_0x3bc360['plugins']['get'](ckeditor5['WidgetToolbarRepository']),{defaultPositions:_0x39124d}=ckeditor5['BalloonPanelView'];_0x59c48['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x3bc360['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x4fbb44=>{let _0x939ebf=_0x4fbb44['getFirstPosition']()?.['parent'];return _0x939ebf?.['is']('$text')&&(_0x939ebf=_0x939ebf['parent']),_0x939ebf?.['is']('element')?_0x939ebf['findAncestor'](isFootnotesDefinitionsWidget):null;},'positions':[_0x39124d['southArrowNorth'],_0x39124d['southArrowNorthMiddleWest'],_0x39124d['southArrowNorthMiddleEast'],_0x39124d['southArrowNorthWest'],_0x39124d['southArrowNorthEast'],_0x39124d['northArrowSouth'],_0x39124d['northArrowSouthMiddleWest'],_0x39124d['northArrowSouthMiddleEast'],_0x39124d['northArrowSouthWest'],_0x39124d['northArrowSouthEast'],_0x39124d['viewportStickyNorth']]});}}function getFootnotesStyleDropdownViewCreator(_0x83f569){return _0x1f3b3b=>{const {t:t}=_0x1f3b3b,_0x4b1cef=_0x83f569['commands']['get']('footnotesStyle'),_0x7fe6f3=ckeditor5['createDropdown'](_0x1f3b3b),{buttonView:_0x2e3f2f}=_0x7fe6f3;return _0x7fe6f3['class']='ck-footnotes-styles-dropdown',_0x7fe6f3['bind']('isEnabled')['to'](_0x4b1cef,'isEnabled'),_0x2e3f2f['set']({'label':t('Footnotes\x20style'),'icon':ckeditor5['IconFootnote'],'tooltip':!0x0}),_0x7fe6f3['once']('change:isOpen',()=>{const _0x19fba1=createFootnotesDefinitionsPropertiesView({'editor':_0x83f569,'dropdownView':_0x7fe6f3});_0x7fe6f3['panelView']['children']['add'](_0x19fba1);}),_0x7fe6f3;};}function createFootnotesDefinitionsPropertiesView({editor:_0xf350cc,dropdownView:_0x88173f}){const {t:t}=_0xf350cc['locale'],_0x3a80da=t('Footnotes\x20definitions\x20styles'),_0x301dc0=createFootnotesDefinitionStyleButtons(_0xf350cc),_0x794968=new FootnotesDefinitionsPropertiesView(_0xf350cc['locale'],{'styleGridAriaLabel':_0x3a80da,'styleButtonViews':_0x301dc0}),_0x2c2d6b=_0xf350cc['commands']['get']('footnotesStart');return _0x794968['startIndexFieldView']['bind']('isEnabled')['to'](_0x2c2d6b),_0x794968['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x2c2d6b),_0x794968['on']('footnotesListStart',(_0x28fcbc,_0x2fa66d)=>{_0xf350cc['execute']('footnotesStart',{'value':_0x2fa66d['startIndex']});}),_0x794968['delegate']('execute')['to'](_0x88173f),_0x794968;}function createFootnotesDefinitionStyleButtons(_0x317b8f){const {t:t}=_0x317b8f['locale'],_0x4472bd=_0x317b8f['config']['get']('footnotes.footnotesProperties.listStyles'),_0x4250f6=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':ckeditor5['IconListStyleDecimal']},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':ckeditor5['IconListStyleDecimalLeadingZero']},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':ckeditor5['IconListStyleLowerRoman']},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':ckeditor5['IconListStyleUpperRoman']},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':ckeditor5['IconListStyleLowerLatin']},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':ckeditor5['IconListStyleUpperLatin']},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':ckeditor5['IconListStyleArabicIndic']}];return _0x4472bd['map'](_0x1ab606=>{const _0x571e41=toCanonicalFootnotesListStyle(_0x1ab606),_0x587e0e=_0x4250f6['find'](_0x34fc3b=>_0x34fc3b['style']===_0x571e41);return createFootnoteStyleButton(_0x317b8f,_0x587e0e);});}function createFootnoteStyleButton(_0x536417,_0x3f831e){const {locale:_0x303e2f}=_0x536417,{label:_0x24bd44,icon:_0x55bd7f,tooltip:_0x14c29f,style:_0x30d734}=_0x3f831e,_0x487bd9=_0x536417['commands']['get']('footnotesStyle'),_0x25bd57=new ckeditor5['ButtonView'](_0x303e2f);return _0x25bd57['set']({'label':_0x24bd44,'icon':_0x55bd7f,'tooltip':_0x14c29f}),_0x25bd57['bind']('isOn')['to'](_0x487bd9,'value',_0x39ac63=>_0x39ac63===_0x30d734),_0x25bd57['bind']('isEnabled')['to'](_0x487bd9,'isEnabled'),_0x25bd57['on']('execute',()=>{_0x536417['execute']('footnotesStyle',{'value':_0x30d734}),_0x536417['editing']['view']['focus']();}),_0x25bd57;}class FootnotesProperties extends ckeditor5['Plugin']{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[FootnotesPropertiesEditing,FootnotesPropertiesUI];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const _0x674c30='copyFormat',_0x58feaf='pasteFormat',_0x4959d2='ck-format-painter-active';class CopyFormatCommand extends ckeditor5['Command']{constructor(_0x42276a){super(_0x42276a),this['value']=void 0x0,this['on']('change:isEnabled',(_0x2cb4b1,_0x1db8c8,_0x5505e3)=>{_0x5505e3||this['reset']();}),this['on']('change:value',()=>_0x42276a['commands']['get'](_0x58feaf)['refresh']());}['execute'](){this['value']=this['_getFormattingAttributes']();}['reset'](){this['value']=void 0x0;}['_getFormattingAttributes'](){const _0x13d4fb=this['editor']['model'],_0x215b6c=_0x13d4fb['document']['selection'];return Object['fromEntries'](Array['from'](_0x215b6c['getAttributes']())['filter'](([_0x26d80c])=>_0x13d4fb['schema']['getAttributeProperties'](_0x26d80c)['isFormatting']));}}class PasteFormatCommand extends ckeditor5['Command']{constructor(_0x354d51){super(_0x354d51),this['_removeFormatCommand']=new ckeditor5['RemoveFormatCommand'](_0x354d51);}['execute'](_0x58b215={}){const _0x3c3cf2=this['editor']['model'],_0x1f2b00=_0x3c3cf2['document']['selection'],_0x2b6f75=Array['from'](_0x1f2b00['getRanges']()),_0x4c0ebd=_0x1f2b00['isCollapsed']?[this['_createRangeOnEntireWord'](_0x3c3cf2,_0x1f2b00)]:_0x2b6f75;_0x3c3cf2['change'](_0x2cb866=>{_0x2cb866['setSelection'](_0x4c0ebd),this['_removeFormatCommand']['execute']();for(const _0x4b372f in _0x58b215)for(const _0xd25364 of _0x3c3cf2['schema']['getValidRanges'](_0x4c0ebd,_0x4b372f))_0x2cb866['setAttribute'](_0x4b372f,_0x58b215[_0x4b372f],_0xd25364);_0x2cb866['setSelection'](_0x2b6f75);});}['_createRangeOnEntireWord'](_0x4c7a63,_0x415516){const _0x40c960=_0x4c7a63['createSelection'](_0x415516);_0x4c7a63['modifySelection'](_0x40c960,{'unit':'word','direction':'backward'});const _0x5a60ff=_0x40c960['getFirstPosition']();_0x4c7a63['modifySelection'](_0x40c960,{'unit':'word','direction':'forward'});const _0x38edae=_0x40c960['getLastPosition']();return _0x4c7a63['createRange'](_0x5a60ff,_0x38edae);}}class FormatPainterEditing extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FormatPainterEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1d6938=this['editor'];_0x1d6938['commands']['add'](_0x674c30,new CopyFormatCommand(_0x1d6938)),_0x1d6938['commands']['add'](_0x58feaf,new PasteFormatCommand(_0x1d6938)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1b007f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1223e8;for(const _0x2a4845 in _0x1b007f){const _0x1316bb=_0x2a4845,_0x8d653=_0x1b007f[_0x1316bb];if('formatPainterLicenseKeyValid'==_0x8d653||'formatPainterLicenseKeyInvalid'==_0x8d653||'formatPainterLicenseKeyExpired'==_0x8d653||'formatPainterLicenseKeyDomainLimit'==_0x8d653||'formatPainterLicenseKeyNotAllowed'==_0x8d653||'formatPainterLicenseKeyEvaluationLimit'==_0x8d653||'formatPainterLicenseKeyUsageLimit'==_0x8d653){delete _0x1b007f[_0x1316bb],_0x1223e8=_0x8d653,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'formatPainterLicenseKeyInvalid'==_0x1223e8&&_0x1b007f['_showLicenseError']('invalid'),'formatPainterLicenseKeyExpired'==_0x1223e8&&_0x1b007f['_showLicenseError']('expired'),'formatPainterLicenseKeyDomainLimit'==_0x1223e8&&_0x1b007f['_showLicenseError']('domainLimit'),'formatPainterLicenseKeyNotAllowed'==_0x1223e8&&_0x1b007f['_showLicenseError']('featureNotAllowed','FormatPainter'),'formatPainterLicenseKeyEvaluationLimit'==_0x1223e8&&_0x1b007f['_showLicenseError']('evaluationLimit'),'formatPainterLicenseKeyUsageLimit'==_0x1223e8&&_0x1b007f['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function getTranslation$b(_0x1f8ce9,_0x24d1d6){const t=_0x1f8ce9['t'];switch(_0x24d1d6){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 _0x24d1d6;}}class FormatPainterUI extends/* #__PURE__ -- @preserve */
ckeditor5['DomEmitterMixin'](ckeditor5['Plugin']){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x65751b=this['editor'];_0x65751b['editing']['view']['addObserver'](ckeditor5['ClickObserver']),_0x65751b['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':getTranslation$b(_0x65751b['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':getTranslation$b(_0x65751b['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x65751b['ui']['componentFactory']['add']('formatPainter',_0x10a603=>{const _0x5cbb48=ckeditor5['createDropdown'](_0x10a603,ckeditor5['SplitButtonView']),_0x90aaac=_0x65751b['commands']['get'](_0x674c30);_0x5cbb48['buttonView']['set']({'label':getTranslation$b(_0x65751b['locale'],'Paint\x20formatting'),'icon':ckeditor5['IconPaintRoller'],'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x5cbb48['class']='ck-format-painter-dropdown',_0x90aaac&&(_0x5cbb48['bind']('isEnabled')['to'](_0x90aaac,'isEnabled'),this['listenTo'](_0x90aaac,'change:isEnabled',(_0x35fc5f,_0x3493a5,_0x301c5)=>{_0x301c5||this['_finishPainting']();}),_0x5cbb48['buttonView']['bind']('isOn')['to'](_0x90aaac,'value',_0x3171e6=>!!_0x3171e6),this['listenTo'](_0x65751b,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x90aaac,'change:value',(_0x2c6214,_0x8c3855,_0x1619a2)=>{this['_toggleSpecialCursor'](!!_0x1619a2);}));const _0x1dc2c1=new ckeditor5['UIModel']({'withText':!0x0,'label':getTranslation$b(_0x65751b['locale'],'Continuous\x20painting'),'tooltip':getTranslation$b(_0x65751b['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});ckeditor5['addListToDropdown'](_0x5cbb48,new ckeditor5['Collection']([{'type':'switchbutton','model':_0x1dc2c1}]),{'role':'menu'});const _0x1e6ace=()=>{this['_copyFormatting'](),this['listenTo'](ckeditor5['global']['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x1dc2c1['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x5cbb48,'execute',()=>{_0x1dc2c1['isOn']=!_0x1dc2c1['isOn'];}),this['listenTo'](_0x5cbb48['buttonView'],'execute',()=>{_0x65751b['editing']['view']['focus'](),_0x5cbb48['buttonView']['isOn']?this['_finishPainting']():_0x1e6ace();}),_0x65751b['keystrokes']['set']('Ctrl+Alt+C',(_0x2e8f65,_0x3a1cbc)=>{_0x1e6ace(),_0x1dc2c1['isOn']=!0x0,_0x3a1cbc();},{'priority':'high'}),_0x65751b['keystrokes']['set']('Ctrl+Alt+V',(_0x2406b5,_0x57d471)=>{_0x5cbb48['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x1dc2c1['isOn']||this['_finishPainting'](),_0x57d471());},{'priority':'high'}),_0x65751b['keystrokes']['set']('Esc',(_0x22c790,_0x5986a9)=>{_0x5cbb48['buttonView']['isOn']&&(_0x1dc2c1['isOn']=!0x1,this['_finishPainting'](),_0x65751b['ui']['ariaLiveAnnouncer']['announce'](getTranslation$b(_0x65751b['locale'],'Painting\x20cancelled.')),_0x5986a9());}),_0x5cbb48;});}['afterInit'](){_0x5ee2d6(this);}['_toggleSpecialCursor'](_0x16d239){this['editor']['editing']['view']['change'](_0x153021=>{for(const _0x4b23af of this['editor']['editing']['view']['document']['roots'])_0x16d239?_0x153021['addClass'](_0x4959d2,_0x4b23af):_0x153021['removeClass'](_0x4959d2,_0x4b23af);});}['_copyFormatting'](){const {editor:_0x3a9ef4}=this;_0x3a9ef4['execute'](_0x674c30),_0x3a9ef4['ui']['ariaLiveAnnouncer']['announce'](getTranslation$b(_0x3a9ef4['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x160a46}=this,_0x114247=_0x160a46['commands']['get'](_0x674c30)['value'];_0x160a46['execute'](_0x58feaf,_0x114247),_0x160a46['ui']['ariaLiveAnnouncer']['announce'](getTranslation$b(_0x160a46['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](_0x674c30)['reset'](),this['stopListening'](ckeditor5['global']['window']['document'],'mouseup');}}async function _0x5ee2d6(_0x4de6f7){const _0x2863e9=_0x3ca4ef([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]),_0x576282=window[_0x3ca4ef([0x44,0x61,0x74,0x65])][_0x3ca4ef([0x6e,0x6f,0x77])](),_0x415cc2=_0x4de6f7[_0x3ca4ef([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x54c00f=new window[(_0x3ca4ef([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55473b=>{_0x415cc2[_0x3ca4ef([0x6f,0x6e,0x63,0x65])](_0x3ca4ef([0x72,0x65,0x61,0x64,0x79]),_0x55473b);}),_0x3a3f4e={[_0x3ca4ef([0x6b,0x74,0x79])]:_0x3ca4ef([0x45,0x43]),[_0x3ca4ef([0x75,0x73,0x65])]:_0x3ca4ef([0x73,0x69,0x67]),[_0x3ca4ef([0x63,0x72,0x76])]:_0x3ca4ef([0x50,0x2d,0x32,0x35,0x36]),[_0x3ca4ef([0x78])]:_0x3ca4ef([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]),[_0x3ca4ef([0x79])]:_0x3ca4ef([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]),[_0x3ca4ef([0x61,0x6c,0x67])]:_0x3ca4ef([0x45,0x53,0x32,0x35,0x36])},_0x528997=_0x415cc2[_0x3ca4ef([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3ca4ef([0x67,0x65,0x74])](_0x3ca4ef([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0xe5ce85=await(async function(){let _0xa4ffe0,_0x41dddc=null,_0x19eca4=null;try{if(_0x528997==_0x3ca4ef([0x47,0x50,0x4c]))return _0x3ca4ef([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xa4ffe0=(function(){const _0x5ac221=_0x528997[_0x3ca4ef([0x73,0x70,0x6c,0x69,0x74])](_0x3ca4ef([0x2e]));if(0x3!=_0x5ac221[_0x3ca4ef([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x3743da=_0x5ac221[0x1];return _0x411272(_0x3743da);function _0x411272(_0x270017){const _0x387040=_0x4cb388(_0x270017);return _0x387040&&_0x2f39f7()?_0x387040:null;function _0x2f39f7(){const _0x39b873=_0x387040[_0x3ca4ef([0x6a,0x74,0x69])],_0x239168=window[_0x3ca4ef([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x39b873[_0x3ca4ef([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x39b873[_0x3ca4ef([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x487215={..._0x387040,[_0x3ca4ef([0x6a,0x74,0x69])]:_0x39b873[_0x3ca4ef([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x39b873[_0x3ca4ef([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x487215[_0x3ca4ef([0x76,0x63])],_0x2613bf(_0x487215)==_0x239168;}}}()),!_0xa4ffe0)return _0x3ca4ef([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0xa4ffe0[_0x3ca4ef([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x19eca4=function(_0x1daaf1,_0x3a349e){return new window[(_0x3ca4ef([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40bff1=>{if(_0x4cadd3())return _0x40bff1(_0x3ca4ef([0x56,0x61,0x6c,0x69,0x64]));_0x45ef6d(),_0x415cc2[_0x3ca4ef([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3ca4ef([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x485e1d=!0x1;const _0x457a90=ckeditor5['uid']();function _0x363d8c(_0x184a58){return!!_0x184a58&&(typeof _0x184a58===_0x3ca4ef([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x184a58===_0x3ca4ef([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x184a58[_0x3ca4ef([0x74,0x68,0x65,0x6e])]===_0x3ca4ef([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x184a58[_0x3ca4ef([0x63,0x61,0x74,0x63,0x68])]===_0x3ca4ef([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x765c2(_0x835c2a){_0x3f5528(_0x835c2a)[_0x3ca4ef([0x74,0x68,0x65,0x6e])](_0x4f2e29=>{if(!_0x4f2e29||_0x4f2e29[_0x3ca4ef([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3ca4ef([0x6f,0x6b]))return _0x3ca4ef([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5972e9(_0x2613bf(_0x457a90+_0x3a349e))!=_0x4f2e29[_0x3ca4ef([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3ca4ef([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3ca4ef([0x56,0x61,0x6c,0x69,0x64]);})[_0x3ca4ef([0x74,0x68,0x65,0x6e])](_0x3552aa=>(_0x3ed82c(),_0x3552aa),()=>{const _0x15aea4=_0x55c61c();return null==_0x15aea4?(_0x3ed82c(),_0x3ca4ef([0x56,0x61,0x6c,0x69,0x64])):_0x3ca4ef(_0x576282-_0x15aea4>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3ca4ef([0x74,0x68,0x65,0x6e])](_0x40bff1)[_0x3ca4ef([0x63,0x61,0x74,0x63,0x68])](()=>{_0x40bff1(_0x3ca4ef([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5ca77d=0x36ee80;function _0x3ed82c(){const _0x2411fb=_0x3ca4ef([0x6c,0x6c,0x63,0x74,0x2d])+_0x5972e9(_0x2613bf(_0x1daaf1)),_0x10fdb6=_0x420e77(_0x5972e9(window[_0x3ca4ef([0x4d,0x61,0x74,0x68])][_0x3ca4ef([0x63,0x65,0x69,0x6c])](_0x576282/_0x5ca77d)));window[_0x3ca4ef([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3ca4ef([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2411fb,_0x10fdb6);}function _0x55c61c(){const _0x13e8ab=_0x3ca4ef([0x6c,0x6c,0x63,0x74,0x2d])+_0x5972e9(_0x2613bf(_0x1daaf1)),_0xb0fe24=window[_0x3ca4ef([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3ca4ef([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x13e8ab);return _0xb0fe24?window[_0x3ca4ef([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x420e77(_0xb0fe24),0x10)*_0x5ca77d:null;}function _0x3f5528(_0x1346a1){return new window[(_0x3ca4ef([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5940f5,_0x291588)=>{_0x1346a1[_0x3ca4ef([0x74,0x68,0x65,0x6e])](_0x5940f5,_0x291588),window[_0x3ca4ef([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x291588,0x1d4c0);});}}_0x415cc2[_0x3ca4ef([0x6f,0x6e])](_0x3ca4ef([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x73e20b,_0x519656)=>{if(_0x519656[0x0]!=_0x1daaf1)return _0x40bff1(_0x3ca4ef([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x519656[0x1]={..._0x519656[0x1],[_0x3ca4ef([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x457a90};},{[_0x3ca4ef([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3ca4ef([0x68,0x69,0x67,0x68])}),_0x415cc2[_0x3ca4ef([0x6f,0x6e])](_0x3ca4ef([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5eb2e1=>{_0x363d8c(_0x5eb2e1[_0x3ca4ef([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x485e1d=!0x0,_0x765c2(_0x5eb2e1[_0x3ca4ef([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3ca4ef([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3ca4ef([0x6c,0x6f,0x77])}),_0x54c00f[_0x3ca4ef([0x74,0x68,0x65,0x6e])](()=>{_0x485e1d||_0x40bff1(_0x3ca4ef([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4cadd3(){return _0x415cc2[_0x3ca4ef([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3ca4ef([0x76,0x69,0x65,0x77])][_0x3ca4ef([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3ca4ef([0x61,0x75,0x74,0x6f]);}function _0x45ef6d(){_0x415cc2[_0x3ca4ef([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3ca4ef([0x76,0x69,0x65,0x77])][_0x3ca4ef([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3ca4ef([0x61,0x75,0x74,0x6f]);}}(_0xa4ffe0[_0x3ca4ef([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xa4ffe0[_0x3ca4ef([0x6a,0x74,0x69])]));const _0x18eb79=await(async function(){let _0x3f0dfa=!0x0;try{const _0xe0db8b=_0x528997[_0x3ca4ef([0x73,0x70,0x6c,0x69,0x74])](_0x3ca4ef([0x2e])),[_0x30413a,_0x4e9dac,_0x1d297f]=_0xe0db8b;return _0x345693(_0x30413a),await _0xdb30ea(_0x30413a,_0x4e9dac,_0x1d297f),_0x3f0dfa;}catch{return!0x1;}function _0x345693(_0x317cbf){const _0x1854c6=_0x4cb388(_0x317cbf);_0x1854c6&&_0x1854c6[_0x3ca4ef([0x61,0x6c,0x67])]==_0x3ca4ef([0x45,0x53,0x32,0x35,0x36])||(_0x3f0dfa=!0x1);}async function _0xdb30ea(_0x5acf83,_0x434a56,_0x4a0f00){const _0x1965a0=window[_0x3ca4ef([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3ca4ef([0x66,0x72,0x6f,0x6d])](_0x43fa81(_0x4a0f00),_0x49b6ef=>_0x49b6ef[_0x3ca4ef([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x41a4d7=new window[(_0x3ca4ef([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3ca4ef([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5acf83+_0x3ca4ef([0x2e])+_0x434a56),_0x461e75=window[_0x3ca4ef([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3ca4ef([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x461e75)return;const _0x225dfb=await _0x461e75[_0x3ca4ef([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3ca4ef([0x6a,0x77,0x6b]),_0x3a3f4e,{[_0x3ca4ef([0x6e,0x61,0x6d,0x65])]:_0x3ca4ef([0x45,0x43,0x44,0x53,0x41]),[_0x3ca4ef([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3ca4ef([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3ca4ef([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x461e75[_0x3ca4ef([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3ca4ef([0x6e,0x61,0x6d,0x65])]:_0x3ca4ef([0x45,0x43,0x44,0x53,0x41]),[_0x3ca4ef([0x68,0x61,0x73,0x68])]:{[_0x3ca4ef([0x6e,0x61,0x6d,0x65])]:_0x3ca4ef([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x225dfb,_0x1965a0,_0x41a4d7)||(_0x3f0dfa=!0x1);}}());return _0x18eb79?(function(){const _0x391fd1=_0xa4ffe0[_0x3ca4ef([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x391fd1)return!0x1;if(_0x391fd1[_0x3ca4ef([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ca4ef([0x2a])))return!0x0;if(_0x391fd1[_0x3ca4ef([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ca4ef([0x46,0x50])))return!0x0;if(_0x391fd1[_0x3ca4ef([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ca4ef([0x50,0x50])))return!0x0;if(_0x391fd1[_0x3ca4ef([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ca4ef([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x3ca4ef([0x67,0x6c,0x6f,0x62])]&&window[_0x3ca4ef([0x67,0x6c,0x6f,0x62])][_0x3ca4ef([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;return!0x1;}())?(function(){const _0x182e37=[_0x3ca4ef([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3ca4ef([0x74,0x72,0x69,0x61,0x6c])][_0x3ca4ef([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa4ffe0[_0x3ca4ef([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x576282/0x3e8:0x6a03bf00;return _0xa4ffe0[_0x3ca4ef([0x65,0x78,0x70])]<_0x182e37;}())?_0x3ca4ef([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x281ae3=_0xa4ffe0[_0x3ca4ef([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x281ae3||0x0==_0x281ae3[_0x3ca4ef([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x578e43}=new URL(window[_0x3ca4ef([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x281ae3[_0x3ca4ef([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x578e43))return!0x0;const _0x3099c3=_0x578e43[_0x3ca4ef([0x73,0x70,0x6c,0x69,0x74])](_0x3ca4ef([0x2e]));return _0x281ae3[_0x3ca4ef([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5177fa=>_0x5177fa[_0x3ca4ef([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ca4ef([0x2a])))[_0x3ca4ef([0x6d,0x61,0x70])](_0x35e465=>_0x35e465[_0x3ca4ef([0x73,0x70,0x6c,0x69,0x74])](_0x3ca4ef([0x2e])))[_0x3ca4ef([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5e6163=>_0x5e6163[_0x3ca4ef([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3099c3[_0x3ca4ef([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3ca4ef([0x6d,0x61,0x70])](_0x3c9446=>Array(_0x3099c3[_0x3ca4ef([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3c9446[_0x3ca4ef([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3ca4ef([0x66,0x69,0x6c,0x6c])](_0x3c9446[0x0]===_0x3ca4ef([0x2a])?_0x3ca4ef([0x2a]):'')[_0x3ca4ef([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3c9446))[_0x3ca4ef([0x73,0x6f,0x6d,0x65])](_0x5f3e2f=>_0x3099c3[_0x3ca4ef([0x65,0x76,0x65,0x72,0x79])]((_0x32cdeb,_0x52be36)=>_0x5f3e2f[_0x52be36]===_0x32cdeb||_0x5f3e2f[_0x52be36]===_0x3ca4ef([0x2a])));}())?(_0xa4ffe0[_0x3ca4ef([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3ca4ef([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x41dddc=function(_0x30659a){const _0x54848d=new window[(_0x3ca4ef([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4281ec=>setTimeout(_0x4281ec,0x93ecc)),_0x7a9a7b=_0x54c00f[_0x3ca4ef([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3ca4ef([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54f3f0=>{let _0x5029e4=0x0;_0x415cc2[_0x3ca4ef([0x6d,0x6f,0x64,0x65,0x6c])][_0x3ca4ef([0x6f,0x6e])](_0x3ca4ef([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3811ee,_0x445cb2)=>{_0x445cb2[0x0][_0x3ca4ef([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5029e4++,0x5e8==_0x5029e4&&(_0x54f3f0(),_0x3811ee[_0x3ca4ef([0x6f,0x66,0x66])]());});})),_0x23f826=[_0x54848d,_0x7a9a7b];return window[_0x3ca4ef([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3ca4ef([0x72,0x61,0x63,0x65])](_0x23f826)[_0x3ca4ef([0x74,0x68,0x65,0x6e])](()=>_0x30659a);}(_0x3ca4ef([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x41dddc&&_0x19eca4)return new window[(_0x3ca4ef([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x42e7a3,_0x23443d)=>{_0x41dddc[_0x3ca4ef([0x74,0x68,0x65,0x6e])](_0x42e7a3,_0x23443d),_0x19eca4[_0x3ca4ef([0x74,0x68,0x65,0x6e])](_0x402c39=>{_0x402c39!=_0x3ca4ef([0x56,0x61,0x6c,0x69,0x64])&&_0x42e7a3(_0x402c39);},_0x23443d);});return _0x41dddc||_0x19eca4||_0x3ca4ef([0x56,0x61,0x6c,0x69,0x64]);}())):_0x3ca4ef([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3ca4ef([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3ca4ef([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3ca4ef([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x4cb388(_0x48b2f3){return _0x48b2f3[_0x3ca4ef([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3ca4ef([0x65,0x79]))?JSON[_0x3ca4ef([0x70,0x61,0x72,0x73,0x65])](_0x43fa81(_0x48b2f3)):null;}function _0x43fa81(_0x2024c9){return window[_0x3ca4ef([0x61,0x74,0x6f,0x62])](_0x2024c9[_0x3ca4ef([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3ca4ef([0x2b]))[_0x3ca4ef([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3ca4ef([0x2f])));}function _0x2613bf(_0x2f71bc){let _0x358d39=0x1505;function _0xd5641a(_0x3d7b70){for(let _0x5daacc=0x0;_0x5daacc<_0x3d7b70[_0x3ca4ef([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5daacc++){const _0x2cf90a=_0x3d7b70[_0x3ca4ef([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5daacc);_0x358d39=(_0x358d39<<0x5)+_0x358d39+_0x2cf90a,_0x358d39&=_0x358d39;}}return function _0x49622b(_0x8d6a59){Array[_0x3ca4ef([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x8d6a59)?_0x8d6a59[_0x3ca4ef([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x49622b):_0x8d6a59&&typeof _0x8d6a59==_0x3ca4ef([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3ca4ef([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x8d6a59)[_0x3ca4ef([0x73,0x6f,0x72,0x74])]()[_0x3ca4ef([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x567d94,_0x2f88ee])=>{_0xd5641a(_0x567d94),_0x49622b(_0x2f88ee);}):_0xd5641a(window[_0x3ca4ef([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x8d6a59));}(_0x2f71bc),_0x358d39>>>0x0;}function _0x5972e9(_0x5a9432){return _0x5a9432[_0x3ca4ef([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3ca4ef([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3ca4ef([0x30]));}function _0x420e77(_0x40ba4d){return _0x40ba4d[_0x3ca4ef([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3ca4ef([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3ca4ef([0x6a,0x6f,0x69,0x6e])]('');}function _0x2bfcd3(){}function _0x3ca4ef(_0xd24d87){return _0xd24d87['map'](_0x3158b8=>String['fromCharCode'](_0x3158b8))['join']('');}!function(_0x43fc9e){const _0x3bf006=(function(){const _0x23cc22=window[_0x3ca4ef([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3ca4ef([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3ca4ef([0x6e,0x6f,0x77])]())[_0x3ca4ef([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3ca4ef([0x2e]),'');let _0x36992a=_0x3ca4ef([0x51]);for(let _0xc5eb21=0x0;_0xc5eb21<_0x23cc22[_0x3ca4ef([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xc5eb21+=0x2){let _0x443b83=window[_0x3ca4ef([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x23cc22[_0x3ca4ef([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xc5eb21,_0xc5eb21+0x2));_0x443b83>=_0x2863e9[_0x3ca4ef([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x443b83-=_0x2863e9[_0x3ca4ef([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x36992a+=_0x2863e9[_0x443b83];}return _0x36992a;}());_0x415cc2[_0x3bf006]=_0x3ca4ef([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x43fc9e,_0x43fc9e!=_0x3ca4ef([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x54c00f,_0x415cc2[_0x3ca4ef([0x6d,0x6f,0x64,0x65,0x6c])][_0x3ca4ef([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2bfcd3,_0x415cc2[_0x3ca4ef([0x6d,0x6f,0x64,0x65,0x6c])][_0x3ca4ef([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2bfcd3,_0x415cc2[_0x3ca4ef([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3ca4ef([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0xe5ce85);}class FormatPainter extends ckeditor5['Plugin']{static get['requires'](){return[FormatPainterEditing,FormatPainterUI];}static get['pluginName'](){return'FormatPainter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function getTranslation$a(_0x393c7b,_0x33ab3d){const t=_0x393c7b['t'];switch(_0x33ab3d){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 _0x33ab3d;}}class ImportWordUI extends ckeditor5['Plugin']{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x469fa3=this['editor'];_0x469fa3['ui']['componentFactory']['add']('importWord',()=>{const _0x1eb435=this['_createButton'](ckeditor5['FileDialogButtonView']),_0x20f097=_0x469fa3['commands']['get']('importWord');return _0x1eb435['bind']('isOn')['to'](_0x20f097,'isBusy'),_0x1eb435['tooltip']=!0x0,_0x1eb435;}),_0x469fa3['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](ckeditor5['MenuBarMenuListItemFileDialogButtonView']));}['_createButton'](_0x3f3339){const _0x2e158f=this['editor'],_0x15d70b=_0x2e158f['commands']['get']('importWord'),_0x2a1ad2=new _0x3f3339(_0x2e158f['locale']),_0x5b71c8=new ckeditor5['SpinnerView']();return _0x2a1ad2['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x2a1ad2['set']({'icon':ckeditor5['IconImportWord']}),_0x2a1ad2['bind']('isEnabled')['to'](_0x15d70b),_0x2a1ad2['bind']('label')['to'](_0x15d70b,'isBusy',_0x58fd23=>getTranslation$a(_0x2e158f['locale'],_0x58fd23?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x5b71c8['bind']('isVisible')['to'](_0x15d70b,'isBusy'),_0x2a1ad2['iconView']['bind']('isVisible')['to'](_0x15d70b,'isBusy',_0x526209=>!_0x526209),_0x2a1ad2['children']['add'](_0x5b71c8),_0x2a1ad2['on']('done',(_0x2bdef1,_0x4ab931)=>{_0x2e158f['execute']('importWord',_0x4ab931[0x0],{}),_0x2e158f['editing']['view']['focus']();}),_0x2a1ad2;}}class ImportWordCommand extends ckeditor5['Command']{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x9c59d7){super(_0x9c59d7),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x2fdbdd,_0x323c51)=>{const _0x43c046=new DataTransfer();_0x43c046['setData']('text/html',_0x323c51['html']);const _0x3dcb46=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x6bc120=>{this['_importMarker']['stopListening'](),_0x6bc120['setSelection'](_0x3dcb46),_0x9c59d7['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x43c046});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x5f536c,_0xffa052={}){if(this['isBusy'])return Promise['resolve']();const _0x5dd210=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0xbf73ea,suffix:_0x3136c6}=this['editor']['config']['get']('mergeFields');_0xffa052['merge_fields']={'prefix':_0xbf73ea,'suffix':_0x3136c6};}const _0x408dac={'url':_0x5dd210['converterUrl'],'file':_0x5f536c,'serviceConfig':{..._0xffa052,'formatting':_0x5dd210['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x408dac)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x8a96c8=this['editor']['model'],_0x1340df=_0x8a96c8['schema'],_0x2d8ab3=_0x8a96c8['document']['selection'],_0x16aa83=ckeditor5['first'](_0x2d8ab3['getSelectedBlocks']());return!!_0x16aa83&&_0x1340df['checkChild'](_0x16aa83['parent'],'paragraph');}['_prepareForImport'](){const _0x2ce6b6=this['editor'],_0x17b2c3=_0x2ce6b6['model'],_0x290c48=_0x17b2c3['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x2ce6b6['model']['createBatch']({'isUndoable':!0x0}),_0x17b2c3['enqueueChange'](this['_undoStepBatch'],_0x3a35b2=>{_0x290c48['isCollapsed']||_0x17b2c3['deleteContent'](_0x290c48,{'leaveUnmerged':!0x0});const _0x3e3599=_0x290c48['getFirstPosition'](),_0x2573fa=ckeditor5['first'](_0x290c48['getSelectedBlocks']());let _0xe4d8c1;_0xe4d8c1=_0x2573fa['is']('element','paragraph')&&_0x2573fa['isEmpty']?_0x3e3599:_0x3e3599['isAtStart']?_0x17b2c3['createPositionBefore'](_0x2573fa):_0x3e3599['isAtEnd']?_0x17b2c3['createPositionAfter'](_0x2573fa):_0x3a35b2['split'](_0x3e3599)['position'],this['_importMarker']=_0x3a35b2['addMarker']('importWord:'+ckeditor5['uid'](),{'usingOperation':!0x1,'affectsData':!0x1,'range':new ckeditor5['ModelRange'](_0xe4d8c1)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x123236=this['editor']['model'];_0x123236['markers']['has'](this['_importMarker'])&&_0x123236['enqueueChange'](this['_undoStepBatch'],_0x6f948a=>{_0x6f948a['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}async['_sendImportRequest']({url:_0x4fd245,file:_0x26a873,serviceConfig:_0x204583}){const _0x4c4ff5=this['editor'],_0x5dd156=await _0x4c4ff5['plugins']['get']('ImportWordEditing')['getToken'](),_0x11712f=new FormData();_0x11712f['set']('config',JSON['stringify'](_0x204583)),_0x11712f['set']('file',_0x26a873);const _0x42c524={'method':'POST','headers':{},'body':_0x11712f,'signal':this['_abortController']['signal']};return _0x5dd156&&(_0x42c524['headers']['Authorization']=_0x5dd156['value']),fetch(_0x4fd245,_0x42c524);}['_handleImportResponse'](_0x4624ba){return _0x4624ba['ok']?_0x4624ba['json']()['then'](_0x2e8c2b=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',{..._0x2e8c2b,'undoStepBatch':this['_undoStepBatch']});}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void ckeditor5['logWarning']('import-word-plugin-import-cancelled');const _0x22cd13=this['editor'],_0x23ffee=getTranslation$a(_0x22cd13['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x22cd13['plugins']['get']('Notification')['showWarning'](_0x23ffee),ckeditor5['logError']('import-word-plugin-conversion-failed');}}class ImportWordEditing extends ckeditor5['Plugin']{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[ckeditor5['Notification'],ckeditor5['ClipboardPipeline'],ckeditor5['CloudServices']];}['init'](){const _0xe07ce0=this['editor'],_0x308fad=_0xe07ce0['plugins']['get'](ckeditor5['CloudServices']);_0xe07ce0['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0xe07ce0['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0xe07ce0['commands']['add']('importWord',new ImportWordCommand(_0xe07ce0));const {tokenUrl:_0x33a9aa}=_0xe07ce0['config']['get']('importWord');if(_0x33a9aa){const {tokenUrl:_0x34015a}=_0xe07ce0['config']['get']('cloudServices')||{};this['_token']=_0x33a9aa===_0x34015a?Promise['resolve'](_0x308fad['token']):_0x308fad['registerTokenUrl'](_0x33a9aa);}else this['_token']=Promise['resolve'](null);}['getToken'](){return this['_token'];}}class ImportWord extends ckeditor5['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 ckeditor5['Command']{['refresh'](){const _0x3b14f0=this['editor']['model']['document'],_0x4d2dd6=ckeditor5['first'](_0x3b14f0['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x4d2dd6)&&this['_canHaveLineHeight'](_0x4d2dd6),this['value']=this['isEnabled']&&_0x4d2dd6['getAttribute']('lineHeight');}['execute'](_0x2c184b={}){const _0x5bc9d1=this['editor']['model'],_0x396479=_0x5bc9d1['document']['selection'],_0x27096b=_0x2c184b['value'];_0x5bc9d1['change'](_0x1458bc=>{const _0x3e4f59=Array['from'](_0x396479['getSelectedBlocks']())['filter'](_0x5f5cc1=>this['_canHaveLineHeight'](_0x5f5cc1));for(const _0x2574b4 of _0x3e4f59)_0x27096b?_0x1458bc['setAttribute']('lineHeight',_0x27096b,_0x2574b4):_0x1458bc['removeAttribute']('lineHeight',_0x2574b4);});}['_canHaveLineHeight'](_0x4259d8){return this['editor']['model']['schema']['checkAttribute'](_0x4259d8,'lineHeight');}}const namedPresets={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 isLineHeightDefaultValue(_0x562553){return'string'==typeof _0x562553&&'default'===_0x562553['toLowerCase']();}function normalizeOptions(_0x2bfd94){return _0x2bfd94['options']['map'](_0x23b83d=>isLineHeightDefaultValue(_0x23b83d)?{'title':String(_0x2bfd94['defaultValue']),'model':'default'}:('number'==typeof _0x23b83d&&(_0x23b83d=String(_0x23b83d)),'string'!=typeof _0x23b83d?_0x23b83d:parseFloat(_0x23b83d)?{'title':_0x23b83d,'model':_0x23b83d,'view':{'name':'span','styles':{'line-height':_0x23b83d}}}:findPreset(_0x23b83d)))['filter'](_0x596172=>void 0x0!==_0x596172);}function findPreset(_0x51ad57){return'string'==typeof _0x51ad57?namedPresets[_0x51ad57]:namedPresets[_0x51ad57['model']];}function buildDefinition(_0x2ecaa4,_0x538a59){const _0x3aea84={'model':{'key':_0x2ecaa4,'values':[]},'view':{}};for(const _0x50aa15 of _0x538a59)'class'===_0x50aa15['view']?.['key']?(_0x3aea84['model']['values']['push'](_0x50aa15['model']),_0x3aea84['view'][_0x50aa15['model']]={'key':'class','value':_0x50aa15['view']['value']}):(_0x3aea84['model']['values']['push'](_0x50aa15['model']),_0x3aea84['view'][_0x50aa15['model']]={'key':'style','value':'line-height:'+_0x50aa15['model']+';'});return _0x3aea84;}class LineHeightTodoListIntegration extends ckeditor5['Plugin']{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x2c9c69,conversion:_0x369d61}=this['editor'];if(!_0x2c9c69['has']('ListEditing')||!_0x2c9c69['has']('TodoListEditing'))return;_0x2c9c69['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x179302,_0x50aa9f,_0x499c09,_0x636ab6,_0x1a397d){'todo'==_0x1a397d['getAttribute']('listType')&&_0x50aa9f&&(_0x179302['addClass']('ck-list-marker-line-height',_0x499c09),_0x179302['setStyle']('--ck-content-list-marker-line-height',_0x50aa9f,_0x499c09));}}),_0x369d61['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x369d61['for']('upcast')['add'](_0x23fee1=>{_0x23fee1['on']('element:li',attributeUpcastConsumingConverter({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}function attributeUpcastConsumingConverter(_0x329909){const _0x452447=new ckeditor5['Matcher'](_0x329909);return(_0xfbd37c,_0x396580,_0x16f6bb)=>{const _0x46ca21=_0x452447['match'](_0x396580['viewItem']);if(!_0x46ca21)return;const _0x3658e0=_0x46ca21['match'];_0x3658e0['name']=!0x1,_0x16f6bb['consumable']['consume'](_0x396580['viewItem'],_0x3658e0);};}class LineHeightEditing extends ckeditor5['Plugin']{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[LineHeightTodoListIntegration];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x384bfe){super(_0x384bfe),_0x384bfe['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x3876ac=this['editor'];this['_validateConfig'](),_0x3876ac['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x3876ac['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x3876ac['commands']['add']('lineHeight',new LineHeightCommand(_0x3876ac)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){_0x266d55(this);}['_validateConfig'](){const _0x1be972=this['editor'];if(!_0x1be972['config']['get']('lineHeight.supportAllValues'))return;const _0x44de62=_0x1be972['config']['get']('lineHeight.options')['filter'](_0x39d1e7=>'string'==typeof _0x39d1e7&&(!isLineHeightDefaultValue(_0x39d1e7)&&isNaN(Number(_0x39d1e7))));if(_0x44de62['length'])throw new ckeditor5['CKEditorError']('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x44de62});}['_prepareAnyValueConverters'](){const _0x19d915=this['editor'],_0x541484=this['editor']['config']['get']('lineHeight.defaultValue');_0x19d915['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x4be2a5=>String(_0x4be2a5)===String(_0x541484)?null:{'key':'style','value':{'line-height':_0x4be2a5}}}),_0x19d915['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x2d7bb2=>{let _0x2fdf09=_0x2d7bb2['getStyle']('line-height');return ckeditor5['isPercentageStyleValue'](_0x2fdf09)&&(_0x2fdf09=String(Number(_0x2fdf09['slice'](0x0,-0x1))/0x64)),String(_0x2fdf09)===String(_0x541484)?null:_0x2fdf09;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x20b525=this['editor'],_0x51f6ee=this['editor']['config']['get']('lineHeight.defaultValue'),_0x4b4df8=buildDefinition('lineHeight',normalizeOptions(this['editor']['config']['get']('lineHeight'))['filter'](_0x5c4270=>_0x5c4270['model']));_0x20b525['conversion']['attributeToAttribute'](_0x4b4df8),_0x20b525['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x2d7370=>{let _0x2dfacc=_0x2d7370['getStyle']('line-height');return ckeditor5['isPercentageStyleValue'](_0x2dfacc)&&(_0x2dfacc=String(Number(_0x2dfacc['slice'](0x0,-0x1))/0x64)),_0x2dfacc===String(_0x51f6ee)?null:_0x4b4df8['model']['values']['includes'](_0x2dfacc)?_0x2dfacc:null;}}});}}async function _0x266d55(_0x24fab4){const _0x171ad9=_0x234629([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]),_0x455378=window[_0x234629([0x44,0x61,0x74,0x65])][_0x234629([0x6e,0x6f,0x77])](),_0x58c1e6=_0x24fab4[_0x234629([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x141b08=new window[(_0x234629([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ac896=>{_0x58c1e6[_0x234629([0x6f,0x6e,0x63,0x65])](_0x234629([0x72,0x65,0x61,0x64,0x79]),_0x3ac896);}),_0x2cb880={[_0x234629([0x6b,0x74,0x79])]:_0x234629([0x45,0x43]),[_0x234629([0x75,0x73,0x65])]:_0x234629([0x73,0x69,0x67]),[_0x234629([0x63,0x72,0x76])]:_0x234629([0x50,0x2d,0x32,0x35,0x36]),[_0x234629([0x78])]:_0x234629([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]),[_0x234629([0x79])]:_0x234629([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]),[_0x234629([0x61,0x6c,0x67])]:_0x234629([0x45,0x53,0x32,0x35,0x36])},_0x3ad46b=_0x58c1e6[_0x234629([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x234629([0x67,0x65,0x74])](_0x234629([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x52a0c4=await(async function(){let _0x1bde48,_0x3f40f1=null,_0x4151d1=null;try{if(_0x3ad46b==_0x234629([0x47,0x50,0x4c]))return _0x234629([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1bde48=(function(){const _0x46068b=_0x3ad46b[_0x234629([0x73,0x70,0x6c,0x69,0x74])](_0x234629([0x2e]));if(0x3!=_0x46068b[_0x234629([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x5e7951=_0x46068b[0x1];return _0x1cabea(_0x5e7951);function _0x1cabea(_0x212350){const _0x4b08dc=_0x47d89b(_0x212350);return _0x4b08dc&&_0x44c501()?_0x4b08dc:null;function _0x44c501(){const _0x1d8df0=_0x4b08dc[_0x234629([0x6a,0x74,0x69])],_0x1e961d=window[_0x234629([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d8df0[_0x234629([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1d8df0[_0x234629([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x285971={..._0x4b08dc,[_0x234629([0x6a,0x74,0x69])]:_0x1d8df0[_0x234629([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1d8df0[_0x234629([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x285971[_0x234629([0x76,0x63])],_0x3708ec(_0x285971)==_0x1e961d;}}}()),!_0x1bde48)return _0x234629([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x1bde48[_0x234629([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4151d1=function(_0x414cd7,_0x4317dd){return new window[(_0x234629([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5cdcfa=>{if(_0x2e9ab9())return _0x5cdcfa(_0x234629([0x56,0x61,0x6c,0x69,0x64]));_0xafae52(),_0x58c1e6[_0x234629([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x234629([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x24626e=!0x1;const _0x531ea8=ckeditor5['uid']();function _0x208dae(_0x1da194){return!!_0x1da194&&(typeof _0x1da194===_0x234629([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1da194===_0x234629([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1da194[_0x234629([0x74,0x68,0x65,0x6e])]===_0x234629([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1da194[_0x234629([0x63,0x61,0x74,0x63,0x68])]===_0x234629([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x357af8(_0x49ef61){_0x2555dd(_0x49ef61)[_0x234629([0x74,0x68,0x65,0x6e])](_0xd8e595=>{if(!_0xd8e595||_0xd8e595[_0x234629([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x234629([0x6f,0x6b]))return _0x234629([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3a7452(_0x3708ec(_0x531ea8+_0x4317dd))!=_0xd8e595[_0x234629([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x234629([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x234629([0x56,0x61,0x6c,0x69,0x64]);})[_0x234629([0x74,0x68,0x65,0x6e])](_0x54daf0=>(_0x2dd8d0(),_0x54daf0),()=>{const _0x3ea02d=_0x4217cf();return null==_0x3ea02d?(_0x2dd8d0(),_0x234629([0x56,0x61,0x6c,0x69,0x64])):_0x234629(_0x455378-_0x3ea02d>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x234629([0x74,0x68,0x65,0x6e])](_0x5cdcfa)[_0x234629([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5cdcfa(_0x234629([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1ce716=0x36ee80;function _0x2dd8d0(){const _0x450082=_0x234629([0x6c,0x6c,0x63,0x74,0x2d])+_0x3a7452(_0x3708ec(_0x414cd7)),_0x5cf72b=_0xb7dac6(_0x3a7452(window[_0x234629([0x4d,0x61,0x74,0x68])][_0x234629([0x63,0x65,0x69,0x6c])](_0x455378/_0x1ce716)));window[_0x234629([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x234629([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x450082,_0x5cf72b);}function _0x4217cf(){const _0x150f89=_0x234629([0x6c,0x6c,0x63,0x74,0x2d])+_0x3a7452(_0x3708ec(_0x414cd7)),_0x5a8bbf=window[_0x234629([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x234629([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x150f89);return _0x5a8bbf?window[_0x234629([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xb7dac6(_0x5a8bbf),0x10)*_0x1ce716:null;}function _0x2555dd(_0x4798e9){return new window[(_0x234629([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4574c8,_0x466085)=>{_0x4798e9[_0x234629([0x74,0x68,0x65,0x6e])](_0x4574c8,_0x466085),window[_0x234629([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x466085,0x1d4c0);});}}_0x58c1e6[_0x234629([0x6f,0x6e])](_0x234629([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x298ab8,_0x41d890)=>{if(_0x41d890[0x0]!=_0x414cd7)return _0x5cdcfa(_0x234629([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x41d890[0x1]={..._0x41d890[0x1],[_0x234629([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x531ea8};},{[_0x234629([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x234629([0x68,0x69,0x67,0x68])}),_0x58c1e6[_0x234629([0x6f,0x6e])](_0x234629([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4ae2cd=>{_0x208dae(_0x4ae2cd[_0x234629([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x24626e=!0x0,_0x357af8(_0x4ae2cd[_0x234629([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x234629([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x234629([0x6c,0x6f,0x77])}),_0x141b08[_0x234629([0x74,0x68,0x65,0x6e])](()=>{_0x24626e||_0x5cdcfa(_0x234629([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2e9ab9(){return _0x58c1e6[_0x234629([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x234629([0x76,0x69,0x65,0x77])][_0x234629([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x234629([0x61,0x75,0x74,0x6f]);}function _0xafae52(){_0x58c1e6[_0x234629([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x234629([0x76,0x69,0x65,0x77])][_0x234629([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x234629([0x61,0x75,0x74,0x6f]);}}(_0x1bde48[_0x234629([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1bde48[_0x234629([0x6a,0x74,0x69])]));const _0x202bcb=await(async function(){let _0x16003a=!0x0;try{const _0x12ed7b=_0x3ad46b[_0x234629([0x73,0x70,0x6c,0x69,0x74])](_0x234629([0x2e])),[_0x2926fd,_0x41c344,_0x450be5]=_0x12ed7b;return _0x49d058(_0x2926fd),await _0x1aa9e3(_0x2926fd,_0x41c344,_0x450be5),_0x16003a;}catch{return!0x1;}function _0x49d058(_0x15ca36){const _0x1fa2b8=_0x47d89b(_0x15ca36);_0x1fa2b8&&_0x1fa2b8[_0x234629([0x61,0x6c,0x67])]==_0x234629([0x45,0x53,0x32,0x35,0x36])||(_0x16003a=!0x1);}async function _0x1aa9e3(_0x3ff778,_0x445ad6,_0x4c9280){const _0x1789e8=window[_0x234629([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x234629([0x66,0x72,0x6f,0x6d])](_0x17fd30(_0x4c9280),_0x1ba81a=>_0x1ba81a[_0x234629([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1a7462=new window[(_0x234629([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x234629([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3ff778+_0x234629([0x2e])+_0x445ad6),_0x3966e9=window[_0x234629([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x234629([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3966e9)return;const _0x128f33=await _0x3966e9[_0x234629([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x234629([0x6a,0x77,0x6b]),_0x2cb880,{[_0x234629([0x6e,0x61,0x6d,0x65])]:_0x234629([0x45,0x43,0x44,0x53,0x41]),[_0x234629([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x234629([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x234629([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3966e9[_0x234629([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x234629([0x6e,0x61,0x6d,0x65])]:_0x234629([0x45,0x43,0x44,0x53,0x41]),[_0x234629([0x68,0x61,0x73,0x68])]:{[_0x234629([0x6e,0x61,0x6d,0x65])]:_0x234629([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x128f33,_0x1789e8,_0x1a7462)||(_0x16003a=!0x1);}}());return _0x202bcb?(function(){const _0x1a9701=_0x1bde48[_0x234629([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x1a9701)return!0x1;if(_0x1a9701[_0x234629([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x234629([0x2a])))return!0x0;if(_0x1a9701[_0x234629([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x234629([0x4c,0x48])))return!0x0;return!0x1;}())?(function(){const _0x38687b=[_0x234629([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x234629([0x74,0x72,0x69,0x61,0x6c])][_0x234629([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1bde48[_0x234629([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x455378/0x3e8:0x6a03bf00;return _0x1bde48[_0x234629([0x65,0x78,0x70])]<_0x38687b;}())?_0x234629([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0xb5ad3a=_0x1bde48[_0x234629([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xb5ad3a||0x0==_0xb5ad3a[_0x234629([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x48be38}=new URL(window[_0x234629([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xb5ad3a[_0x234629([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48be38))return!0x0;const _0x414a9f=_0x48be38[_0x234629([0x73,0x70,0x6c,0x69,0x74])](_0x234629([0x2e]));return _0xb5ad3a[_0x234629([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x27162f=>_0x27162f[_0x234629([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x234629([0x2a])))[_0x234629([0x6d,0x61,0x70])](_0x3a021e=>_0x3a021e[_0x234629([0x73,0x70,0x6c,0x69,0x74])](_0x234629([0x2e])))[_0x234629([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x16b125=>_0x16b125[_0x234629([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x414a9f[_0x234629([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x234629([0x6d,0x61,0x70])](_0x5a1da4=>Array(_0x414a9f[_0x234629([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5a1da4[_0x234629([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x234629([0x66,0x69,0x6c,0x6c])](_0x5a1da4[0x0]===_0x234629([0x2a])?_0x234629([0x2a]):'')[_0x234629([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5a1da4))[_0x234629([0x73,0x6f,0x6d,0x65])](_0x24f01f=>_0x414a9f[_0x234629([0x65,0x76,0x65,0x72,0x79])]((_0x3da37e,_0xb92307)=>_0x24f01f[_0xb92307]===_0x3da37e||_0x24f01f[_0xb92307]===_0x234629([0x2a])));}())?(_0x1bde48[_0x234629([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x234629([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3f40f1=function(_0x5b3517){const _0x4477e5=new window[(_0x234629([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x324564=>setTimeout(_0x324564,0x93ecc)),_0x5ec809=_0x141b08[_0x234629([0x74,0x68,0x65,0x6e])](()=>new window[(_0x234629([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xea1c25=>{let _0x133f58=0x0;_0x58c1e6[_0x234629([0x6d,0x6f,0x64,0x65,0x6c])][_0x234629([0x6f,0x6e])](_0x234629([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4f6659,_0x18660f)=>{_0x18660f[0x0][_0x234629([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x133f58++,0x5e8==_0x133f58&&(_0xea1c25(),_0x4f6659[_0x234629([0x6f,0x66,0x66])]());});})),_0x7b5858=[_0x4477e5,_0x5ec809];return window[_0x234629([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x234629([0x72,0x61,0x63,0x65])](_0x7b5858)[_0x234629([0x74,0x68,0x65,0x6e])](()=>_0x5b3517);}(_0x234629([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x3f40f1&&_0x4151d1)return new window[(_0x234629([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5c95a3,_0x40dea0)=>{_0x3f40f1[_0x234629([0x74,0x68,0x65,0x6e])](_0x5c95a3,_0x40dea0),_0x4151d1[_0x234629([0x74,0x68,0x65,0x6e])](_0x346735=>{_0x346735!=_0x234629([0x56,0x61,0x6c,0x69,0x64])&&_0x5c95a3(_0x346735);},_0x40dea0);});return _0x3f40f1||_0x4151d1||_0x234629([0x56,0x61,0x6c,0x69,0x64]);}())):_0x234629([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x234629([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x234629([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x234629([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x47d89b(_0x2bea6e){return _0x2bea6e[_0x234629([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x234629([0x65,0x79]))?JSON[_0x234629([0x70,0x61,0x72,0x73,0x65])](_0x17fd30(_0x2bea6e)):null;}function _0x17fd30(_0xd2c0a6){return window[_0x234629([0x61,0x74,0x6f,0x62])](_0xd2c0a6[_0x234629([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x234629([0x2b]))[_0x234629([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x234629([0x2f])));}function _0x3708ec(_0x43ce48){let _0x54155e=0x1505;function _0x3a42a3(_0x5f37c0){for(let _0x290fb1=0x0;_0x290fb1<_0x5f37c0[_0x234629([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x290fb1++){const _0xd4ad76=_0x5f37c0[_0x234629([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x290fb1);_0x54155e=(_0x54155e<<0x5)+_0x54155e+_0xd4ad76,_0x54155e&=_0x54155e;}}return function _0x3fedb4(_0xe16944){Array[_0x234629([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xe16944)?_0xe16944[_0x234629([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3fedb4):_0xe16944&&typeof _0xe16944==_0x234629([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x234629([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xe16944)[_0x234629([0x73,0x6f,0x72,0x74])]()[_0x234629([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1051a9,_0x55b40e])=>{_0x3a42a3(_0x1051a9),_0x3fedb4(_0x55b40e);}):_0x3a42a3(window[_0x234629([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xe16944));}(_0x43ce48),_0x54155e>>>0x0;}function _0x3a7452(_0xdd97cf){return _0xdd97cf[_0x234629([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x234629([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x234629([0x30]));}function _0xb7dac6(_0x5e30f9){return _0x5e30f9[_0x234629([0x73,0x70,0x6c,0x69,0x74])]('')[_0x234629([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x234629([0x6a,0x6f,0x69,0x6e])]('');}function _0x260d77(){}function _0x234629(_0xcd4cd0){return _0xcd4cd0['map'](_0x37f8b5=>String['fromCharCode'](_0x37f8b5))['join']('');}!function(_0x23d7d4){const _0x4c3232=(function(){const _0x4e931c=window[_0x234629([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x234629([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x234629([0x6e,0x6f,0x77])]())[_0x234629([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x234629([0x2e]),'');let _0x23900b=_0x234629([0x50]);for(let _0x32b421=0x0;_0x32b421<_0x4e931c[_0x234629([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x32b421+=0x2){let _0x256b48=window[_0x234629([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e931c[_0x234629([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x32b421,_0x32b421+0x2));_0x256b48>=_0x171ad9[_0x234629([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x256b48-=_0x171ad9[_0x234629([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x23900b+=_0x171ad9[_0x256b48];}return _0x23900b;}());_0x58c1e6[_0x4c3232]=_0x234629([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x23d7d4,_0x23d7d4!=_0x234629([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x141b08,_0x58c1e6[_0x234629([0x6d,0x6f,0x64,0x65,0x6c])][_0x234629([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x260d77,_0x58c1e6[_0x234629([0x6d,0x6f,0x64,0x65,0x6c])][_0x234629([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x260d77,_0x58c1e6[_0x234629([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x234629([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x52a0c4);}class LineHeightUI extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3cf6dd={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x3cf6dd),this['_registerMenuBarComponent'](_0x3cf6dd),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4a9642=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x49e2ac;for(const _0x444df2 in _0x4a9642){const _0xa11f22=_0x444df2,_0x46b26c=_0x4a9642[_0xa11f22];if('lineHeightLicenseKeyValid'==_0x46b26c||'lineHeightLicenseKeyInvalid'==_0x46b26c||'lineHeightLicenseKeyExpired'==_0x46b26c||'lineHeightLicenseKeyDomainLimit'==_0x46b26c||'lineHeightLicenseKeyNotAllowed'==_0x46b26c||'lineHeightLicenseKeyEvaluationLimit'==_0x46b26c||'lineHeightLicenseKeyUsageLimit'==_0x46b26c){delete _0x4a9642[_0xa11f22],_0x49e2ac=_0x46b26c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x49e2ac&&_0x4a9642['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x49e2ac&&_0x4a9642['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x49e2ac&&_0x4a9642['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x49e2ac&&_0x4a9642['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x49e2ac&&_0x4a9642['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x49e2ac&&_0x4a9642['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x2d33f6=this['editor'],t=_0x2d33f6['t'],_0x3bb8c8=_0x2d33f6['config']['get']('lineHeight'),_0x4894e8={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return normalizeOptions(_0x3bb8c8)['map'](_0x3dc9bb=>{const _0x1080bb=_0x4894e8[_0x3dc9bb['title']];return _0x1080bb&&_0x1080bb!=_0x3dc9bb['title']&&(_0x3dc9bb=Object['assign']({},_0x3dc9bb,{'title':_0x1080bb})),_0x3dc9bb;});}['_prepareListOptions'](){const _0x193099=this['editor']['commands']['get']('lineHeight'),_0x2524b4=this['editor']['config']['get']('lineHeight.defaultValue'),_0x57d44a=this['_getLocalizedLineHeightOptions'](),_0x325cf1=new ckeditor5['Collection'](),_0xaed785=_0x292519=>'default'===_0x292519||String(_0x2524b4)===_0x292519;for(const _0x3f6e03 of _0x57d44a){const _0x13ed62={'type':'button','model':new ckeditor5['UIModel']({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x3f6e03['title'],'withText':!0x0})};_0xaed785(_0x3f6e03['model'])?(_0x13ed62['model']['bind']('isOn')['to'](_0x193099,'value',_0x5a61a9=>!_0x5a61a9),_0x13ed62['model']['commandParam']=void 0x0):(_0x13ed62['model']['bind']('isOn')['to'](_0x193099,'value',_0x3eda25=>_0x3eda25===_0x3f6e03['model']),_0x13ed62['model']['commandParam']=_0x3f6e03['model']),_0x325cf1['add'](_0x13ed62);}if(this['_shouldRenderCustomValueOption']()){const _0x47a051=this['_getCustomValueOptionDefinition'](_0x57d44a);_0x325cf1['add'](_0x47a051);}return _0x325cf1;}['_getCustomValueOptionDefinition'](_0x525381){const _0x8ea19=this['editor'],t=_0x8ea19['t'],_0x3a29cf=_0x8ea19['commands']['get']('lineHeight'),_0x5be05d=_0x525381['map'](_0x1a52e7=>_0x1a52e7['model']),_0x42f7e4={'type':'button','model':new ckeditor5['UIModel']({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x42f7e4['model']['bind']('commandParam')['to'](_0x3a29cf,'value'),_0x42f7e4['model']['bind']('isOn')['to'](_0x3a29cf,'value',_0x5e3429=>!!_0x5e3429&&!_0x5be05d['includes'](String(_0x5e3429))),_0x42f7e4['model']['bind']('label')['to'](_0x3a29cf,'value',_0x1be9ae=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x1be9ae))),_0x42f7e4;}['_registerToolbarComponent']({accessibleLabel:_0x903fc7,options:_0x511fcf}){const _0x517e1e=this['editor'],_0x21e4e3=_0x517e1e['commands']['get']('lineHeight');_0x517e1e['ui']['componentFactory']['add']('lineHeight',_0x1dbf7d=>{const _0x5e9cd4=ckeditor5['createDropdown'](_0x1dbf7d);return ckeditor5['addListToDropdown'](_0x5e9cd4,_0x511fcf,{'role':'menu','ariaLabel':_0x903fc7}),_0x5e9cd4['buttonView']['set']({'label':_0x903fc7,'tooltip':!0x0,'icon':ckeditor5['IconLineHeight']}),_0x5e9cd4['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x5e9cd4['bind']('isEnabled')['to'](_0x21e4e3),this['listenTo'](_0x5e9cd4,'execute',_0x4cb5bf=>{_0x517e1e['execute'](_0x4cb5bf['source']['commandName'],{'value':_0x4cb5bf['source']['commandParam']}),_0x517e1e['editing']['view']['focus']();}),_0x5e9cd4['once']('change:isOpen',()=>{const _0x52f0e4=_0x5e9cd4['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x5e9cd4,_0x511fcf,_0x52f0e4);}),_0x5e9cd4;});}['_registerMenuBarComponent']({accessibleLabel:_0x132480,options:_0x37cc8b}){const _0x38ca0f=this['editor'],_0x5032af=_0x38ca0f['commands']['get']('lineHeight');_0x38ca0f['ui']['componentFactory']['add']('menuBar:lineHeight',_0x187780=>{const _0x17df0c=new ckeditor5['MenuBarMenuView'](_0x187780);_0x17df0c['buttonView']['set']({'label':_0x132480,'icon':ckeditor5['IconLineHeight']}),_0x17df0c['bind']('isEnabled')['to'](_0x5032af);const _0x3c7365=new ckeditor5['MenuBarMenuListView'](_0x187780);for(const _0x342a30 of _0x37cc8b){const _0x3304dd=new ckeditor5['MenuBarMenuListItemView'](_0x187780,_0x17df0c),_0x4ca535=new ckeditor5['MenuBarMenuListItemButtonView'](_0x187780);_0x4ca535['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x4ca535['bind'](...Object['keys'](_0x342a30['model']))['to'](_0x342a30['model']),_0x4ca535['delegate']('execute')['to'](_0x17df0c),_0x4ca535['on']('execute',()=>{_0x38ca0f['execute'](_0x342a30['model']['commandName'],{'value':_0x342a30['model']['commandParam']}),_0x38ca0f['editing']['view']['focus']();}),_0x3304dd['children']['add'](_0x4ca535),_0x3c7365['items']['add'](_0x3304dd);}return _0x17df0c['panelView']['children']['add'](_0x3c7365),this['_attachCustomOptionVisibilityHandler'](_0x17df0c,_0x37cc8b,_0x3c7365),_0x17df0c;});}['_attachCustomOptionVisibilityHandler'](_0x3beb5a,_0x48d82b,_0x1458b3){if(!this['_shouldRenderCustomValueOption']())return;const _0x40be56=()=>{if(!_0x3beb5a['isOpen'])return;_0x1458b3['items']['last']['isVisible']=Boolean(_0x48d82b['last']['model']['isOn']);};_0x40be56(),_0x3beb5a['on']('change:isOpen',()=>{_0x40be56();});}}class LineHeight extends ckeditor5['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 ckeditor5['Command']{['defaultListMarkerStyle'];['_listDefinitions'];['_listUtils'];constructor(_0x1d66d8,_0x552c94,_0x4445aa){super(_0x1d66d8),this['defaultListMarkerStyle']=_0x552c94,this['_listDefinitions']=_0x4445aa,this['_listUtils']=this['editor']['plugins']['get']('ListUtils');}['refresh'](){this['value']=this['_getValue'](),this['isEnabled']=this['_checkEnabled']();}['execute'](_0x50c59d={}){const _0x292d23=this['editor']['model'],_0x41923e=_0x50c59d['listMarkerStyle']||this['defaultListMarkerStyle'];_0x292d23['change'](()=>{const _0x193dea=this['_getListTypeFromListMarkerStyle'](_0x41923e);if(!_0x193dea)return;const _0x5521b7=_0x193dea+'List';this['editor']['execute'](_0x5521b7,{'additionalAttributes':{'listMarkerStyle':_0x41923e}});});}['_getValue'](){const _0x3b83c0=ckeditor5['first'](this['editor']['model']['document']['selection']['getSelectedBlocks']());return this['_listUtils']['isListItemBlock'](_0x3b83c0)?_0x3b83c0['getAttribute']('listMarkerStyle'):null;}['_checkEnabled'](){const _0xf8f9d9=this['editor'],_0x3923bc=_0xf8f9d9['commands']['get']('customNumberedList'),_0x1ced29=_0xf8f9d9['commands']['get']('customBulletedList');return _0x3923bc['isEnabled']||_0x1ced29['isEnabled'];}['_getListTypeFromListMarkerStyle'](_0x2d7ef0){const _0x4a3910=this['_listDefinitions']['find'](_0x512cb8=>_0x512cb8['listMarkerStyle']==_0x2d7ef0);return _0x4a3910?_0x4a3910['listType']:null;}}class MultiLevelListEditing extends ckeditor5['Plugin']{['_listDefinitions'];static get['pluginName'](){return'MultiLevelListEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[ckeditor5['ListEditing']];}constructor(_0x3dfc4f){super(_0x3dfc4f);const _0x2c14cb=this['editor']['config']['get']('listMultiLevel.listDefinitions')||[];this['_listDefinitions']=[{'listType':'customNumbered','listMarkerStyle':'legal','className':'legal-list','listMarkers':[{'marker':_0x25b785=>_0x25b785+'.'}]},..._0x2c14cb];}['init'](){const _0x13d7e1=this['editor'],_0x507013=_0x13d7e1['model'],_0x55a3ce=_0x13d7e1['editing']['view'],_0x5ab80b=_0x13d7e1['plugins']['get'](ckeditor5['ListEditing']);_0x13d7e1['commands']['add']('multiLevelList',new MultiLevelListCommand(_0x13d7e1,'legal',this['_listDefinitions'])),_0x507013['schema']['extend']('$listItem',{'allowAttributes':['listMarkerStyle','listMarker']}),_0x507013['schema']['addAttributeCheck']((_0x5b52a2,_0x2453c4)=>{const _0x4c07d4=_0x5b52a2['last'];if('listMarker'==_0x2453c4||'listMarkerStyle'==_0x2453c4)return!(!_0x4c07d4['getAttribute']('listItemId')||!this['_listDefinitions']['find'](_0x27e144=>_0x27e144['listType']==_0x4c07d4['getAttribute']('listType')))&&void 0x0;});for(const _0xf89bbb of this['_listDefinitions'])_0x13d7e1['conversion']['for']('upcast')['add'](_0x5a4cf1=>{_0x5a4cf1['on']('element:'+('customNumbered'==_0xf89bbb['listType']?'ol':'ul'),multiLevelListUpcastConverter(_0xf89bbb,_0x507013['schema']),{'priority':'low'});}),_0x5ab80b['registerDowncastStrategy']({'scope':'list','attributeName':'listMarkerStyle','setAttributeOnDowncast'(_0x3fa91c,_0x333279,_0x18b85b){_0x333279==_0xf89bbb['listMarkerStyle']?(_0x3fa91c['addClass'](['multi-level-list',_0xf89bbb['className']],_0x18b85b),_0x3fa91c['setStyle']('list-style-type','none',_0x18b85b)):(_0x3fa91c['removeClass'](['multi-level-list',_0xf89bbb['className']],_0x18b85b),_0x3fa91c['removeStyle']('list-style-type',_0x18b85b));}}),_0x5ab80b['registerDowncastStrategy']({'scope':'itemMarker','attributeName':'listMarker','createElement'(_0x3e898b,_0x148ad9,{dataPipeline:_0x2e8684}){if(!_0x148ad9['hasAttribute']('listMarker'))return null;if(_0x148ad9['getAttribute']('listType')!=_0xf89bbb['listType']||_0x148ad9['getAttribute']('listMarkerStyle')!=_0xf89bbb['listMarkerStyle'])return null;const _0x492005=String(_0x148ad9['getAttribute']('listMarker')),_0x3fc049=this['canInjectMarkerIntoElement'](_0x148ad9);return _0x3e898b['createUIElement']('span',{'class':'multi-level-list__marker',...!_0x2e8684&&{'contenteditable':'false','data-multi-level-list-marker':_0x492005}},function(_0x460b38){const _0x2baa70=this['toDomElement'](_0x460b38);return _0x3fc049?(_0x2baa70['appendChild'](ckeditor5['createElement'](_0x460b38,'span',{},_0x2e8684?_0x460b38['createTextNode'](_0x492005):[])),_0x2baa70['appendChild'](_0x460b38['createTextNode']('\u00a0'))):_0x2e8684&&_0x2baa70['appendChild'](_0x460b38['createTextNode'](_0x492005)),_0x2baa70;});},'canInjectMarkerIntoElement':_0x1c3c3f=>_0x507013['schema']['checkChild'](_0x1c3c3f,'$text')&&_0x507013['schema']['checkChild'](_0x1c3c3f,'$inlineObject')&&!_0x507013['schema']['isLimit'](_0x1c3c3f)&&_0x1c3c3f['getAttribute']('listType')==_0xf89bbb['listType']&&_0x1c3c3f['getAttribute']('listMarkerStyle')==_0xf89bbb['listMarkerStyle']});_0x13d7e1['conversion']['for']('upcast')['add'](_0x1eb237=>{_0x1eb237['on']('element:span',multiLevelListMarkerUpcastConverter(_0x55a3ce));}),_0x5ab80b['on']('postFixer',(_0x232a53,{listNodes:_0x395384,writer:_0x5d9ed5})=>{const _0x25d015=[];for(const {node:_0x331943,previousNodeInList:_0x9c7596}of _0x395384){const _0x5df699=_0x331943['getAttribute']('listType'),_0x51fc15=_0x331943['getAttribute']('listMarkerStyle')||('customNumbered'==_0x5df699?'legal':void 0x0),_0x523cc2=this['_listDefinitions']['find'](_0x57d639=>_0x57d639['listType']==_0x5df699&&_0x57d639['listMarkerStyle']==_0x51fc15);if('customNumbered'!=_0x5df699&&'customBulleted'!=_0x5df699&&(_0x331943['hasAttribute']('listMarker')&&(_0x5d9ed5['removeAttribute']('listMarker',_0x331943),_0x232a53['return']=!0x0),_0x331943['hasAttribute']('listMarkerStyle')&&(_0x5d9ed5['removeAttribute']('listMarkerStyle',_0x331943),_0x232a53['return']=!0x0)),!_0x523cc2){'customBulleted'!=_0x5df699||_0x51fc15||(_0x5d9ed5['setAttribute']('listType','bulleted',_0x331943),_0x232a53['return']=!0x0);continue;}_0x331943['hasAttribute']('listMarkerStyle')||(_0x5d9ed5['setAttribute']('listMarkerStyle',_0x51fc15,_0x331943),_0x232a53['return']=!0x0);const _0x37f7f8=_0x331943['getAttribute']('listIndent');if(_0x9c7596&&_0x9c7596['getAttribute']('listItemId')==_0x331943['getAttribute']('listItemId'))continue;_0x25d015['length']=_0x37f7f8+0x1,_0x9c7596||_0x25d015[_0x37f7f8]?_0x9c7596&&_0x9c7596['getAttribute']('listType')!=_0x523cc2['listType']?_0x25d015[_0x37f7f8]=0x1:_0x25d015[_0x37f7f8]++:_0x25d015[_0x37f7f8]=_0x331943['getAttribute']('listStart')||0x1;const _0x531380=generateMarker(_0x37f7f8,_0x523cc2,_0x25d015);_0x331943['getAttribute']('listMarker')!=_0x531380&&(_0x5d9ed5['setAttribute']('listMarker',_0x531380,_0x331943),_0x232a53['return']=!0x0);}}),_0x5ab80b['on']('checkElement',(_0x3cae4b,{modelElement:_0x11b09b,viewElement:_0x23a2d3})=>{const _0x53ff63=_0x11b09b['getAttribute']('listType');if('customNumbered'!=_0x53ff63&&'customBulleted'!=_0x53ff63)return;if(_0x507013['schema']['checkChild'](_0x11b09b,'$text'))return;const _0x316812=ckeditor5['_isFirstBlockOfListItem'](_0x11b09b);let _0x2f1c22=!0x1;const _0x33b258=_0x55a3ce['createPositionBefore'](_0x23a2d3)['getWalker']({'direction':'backward'});for(const {item:_0x46b895}of _0x33b258)if(_0x46b895['is']('element')){if(_0x13d7e1['editing']['mapper']['toModelElement'](_0x46b895))break;if(_0x46b895['getCustomProperty']('listItemMarker')){_0x2f1c22=!0x0;break;}}_0x2f1c22!=_0x316812&&(_0x3cae4b['return']=!0x0,_0x3cae4b['stop']());});const _0x24f39e=_0x13d7e1['editing']['view']['document'];this['listenTo'](_0x24f39e,'clipboardOutput',(_0x2a05e1,_0x291360)=>{const _0x5dd15c=new ckeditor5['Matcher']({'name':'span','classes':'multi-level-list__marker'}),_0x2fe59a=new ckeditor5['Matcher']({'name':'ol','classes':'multi-level-list','styles':{'list-style-type':'none'}}),_0x1e8d4f=new ckeditor5['ViewUpcastWriter'](_0x291360['content']['document']),_0x23f4c3=[];for(const _0xe2bfc6 of _0x1e8d4f['createRangeIn'](_0x291360['content'])['getItems']())_0xe2bfc6['is']('element')&&_0x5dd15c['match'](_0xe2bfc6)&&_0x23f4c3['push'](_0xe2bfc6),_0xe2bfc6['is']('element')&&_0x2fe59a['match'](_0xe2bfc6)&&_0x1e8d4f['removeStyle']('list-style-type',_0xe2bfc6);for(const _0x1d0a39 of _0x23f4c3)_0x1e8d4f['remove'](_0x1d0a39);});}['afterInit'](){_0x5569a6(this);}}function generateMarker(_0x85cf63,_0x1fb805,_0x40d798){let _0x31de9f=_0x1fb805['listMarkers'][_0x85cf63%_0x1fb805['listMarkers']['length']];if(void 0x0===_0x31de9f['showMarkerPath']||_0x31de9f['showMarkerPath'])return _0x40d798['slice'](0x0,_0x85cf63+0x1)['map']((_0x108756,_0x375538)=>(_0x31de9f=_0x1fb805['listMarkers'][_0x375538%_0x1fb805['listMarkers']['length']],getMarkerString(_0x31de9f['marker'],_0x108756)))['join']('');{const _0x5da2db=_0x40d798[_0x40d798['length']-0x1];return getMarkerString(_0x31de9f['marker'],_0x5da2db);}}function getMarkerString(_0x1a09cd,_0x416c0e){return'function'==typeof _0x1a09cd?_0x1a09cd(_0x416c0e):_0x1a09cd;}function multiLevelListUpcastConverter(_0x44c51a,_0x3ef78d){return(_0x26c7fb,_0x2aed7b,_0x7633b3)=>{const _0x4c16b9=_0x2aed7b['viewItem'];if(_0x2aed7b['modelRange']||Object['assign'](_0x2aed7b,_0x7633b3['convertChildren'](_0x2aed7b['viewItem'],_0x2aed7b['modelCursor'])),!_0x7633b3['consumable']['test'](_0x4c16b9,{'classes':_0x44c51a['className']}))return;const _0x352c31=Array['from'](_0x2aed7b['modelRange']['getItems']({'shallow':!0x0}))['filter'](_0x4d74cc=>_0x3ef78d['checkAttribute'](_0x4d74cc,'listItemId'));if(!_0x352c31['length'])return;_0x7633b3['consumable']['consume'](_0x4c16b9,{'classes':_0x44c51a['className']}),_0x7633b3['consumable']['consume'](_0x4c16b9,{'classes':'multi-level-list'}),_0x7633b3['consumable']['consume'](_0x4c16b9,{'styles':'list-style-type'});const _0x11d456=_0x352c31[0x0]['getAttribute']('listIndent');for(const _0x1ac169 of _0x352c31)_0x1ac169['getAttribute']('listIndent')==_0x11d456&&(_0x7633b3['writer']['setAttribute']('listType',_0x44c51a['listType'],_0x1ac169),_0x7633b3['writer']['setAttribute']('listMarkerStyle',_0x44c51a['listMarkerStyle'],_0x1ac169));};}function multiLevelListMarkerUpcastConverter(_0x286736){return(_0x3b74ed,_0x3a1ea5,{writer:_0x5bb840,consumable:_0x223ae4})=>{const _0x1f906c=_0x3a1ea5['modelCursor'],_0x4ee62a=_0x1f906c['parent'],_0x48d242=_0x3a1ea5['viewItem'];if(_0x223ae4['consume'](_0x48d242,{'name':!0x0,'classes':'multi-level-list__marker'})&&_0x1f906c['isAtStart']&&_0x4ee62a['hasAttribute']('listType')&&_0x48d242['childCount']>0x0){const _0x405a1a=_0x286736['createRangeIn'](_0x48d242);let _0x2225b5='';for(const _0x1abc01 of _0x405a1a['getItems']())_0x1abc01['is']('$textProxy')?(_0x2225b5+=_0x1abc01['data']['trim'](),_0x223ae4['consume'](_0x1abc01['textNode'])):_0x223ae4['consume'](_0x1abc01,{'name':!0x0});_0x5bb840['setAttribute']('listMarker',_0x2225b5['trim'](),_0x4ee62a);}};}async function _0x5569a6(_0x126837){const _0x3ba2d3=_0xa73925([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]),_0x44c29a=window[_0xa73925([0x44,0x61,0x74,0x65])][_0xa73925([0x6e,0x6f,0x77])](),_0x33f53a=_0x126837[_0xa73925([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x31fa7d=new window[(_0xa73925([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ac062=>{_0x33f53a[_0xa73925([0x6f,0x6e,0x63,0x65])](_0xa73925([0x72,0x65,0x61,0x64,0x79]),_0x3ac062);}),_0x1e9c37={[_0xa73925([0x6b,0x74,0x79])]:_0xa73925([0x45,0x43]),[_0xa73925([0x75,0x73,0x65])]:_0xa73925([0x73,0x69,0x67]),[_0xa73925([0x63,0x72,0x76])]:_0xa73925([0x50,0x2d,0x32,0x35,0x36]),[_0xa73925([0x78])]:_0xa73925([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]),[_0xa73925([0x79])]:_0xa73925([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]),[_0xa73925([0x61,0x6c,0x67])]:_0xa73925([0x45,0x53,0x32,0x35,0x36])},_0x50c236=_0x33f53a[_0xa73925([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xa73925([0x67,0x65,0x74])](_0xa73925([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x360dc3=await(async function(){let _0x48111f,_0x2934e9=null,_0x2adaff=null;try{if(_0x50c236==_0xa73925([0x47,0x50,0x4c]))return _0xa73925([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x48111f=(function(){const _0x459d34=_0x50c236[_0xa73925([0x73,0x70,0x6c,0x69,0x74])](_0xa73925([0x2e]));if(0x3!=_0x459d34[_0xa73925([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x4c6110=_0x459d34[0x1];return _0x4528fb(_0x4c6110);function _0x4528fb(_0x137a1a){const _0x1633b3=_0x5c7d68(_0x137a1a);return _0x1633b3&&_0x29eaa0()?_0x1633b3:null;function _0x29eaa0(){const _0x5d8272=_0x1633b3[_0xa73925([0x6a,0x74,0x69])],_0x48410c=window[_0xa73925([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d8272[_0xa73925([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5d8272[_0xa73925([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1e911c={..._0x1633b3,[_0xa73925([0x6a,0x74,0x69])]:_0x5d8272[_0xa73925([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5d8272[_0xa73925([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1e911c[_0xa73925([0x76,0x63])],_0x1ea31a(_0x1e911c)==_0x48410c;}}}()),!_0x48111f)return _0xa73925([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x48111f[_0xa73925([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2adaff=function(_0x340340,_0x96064d){return new window[(_0xa73925([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43aadc=>{if(_0x894b53())return _0x43aadc(_0xa73925([0x56,0x61,0x6c,0x69,0x64]));_0x333297(),_0x33f53a[_0xa73925([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xa73925([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5e6ba4=!0x1;const _0x435070=ckeditor5['uid']();function _0xae2c14(_0xd5256a){return!!_0xd5256a&&(typeof _0xd5256a===_0xa73925([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xd5256a===_0xa73925([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xd5256a[_0xa73925([0x74,0x68,0x65,0x6e])]===_0xa73925([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xd5256a[_0xa73925([0x63,0x61,0x74,0x63,0x68])]===_0xa73925([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x160850(_0xe4888){_0x413c51(_0xe4888)[_0xa73925([0x74,0x68,0x65,0x6e])](_0x5922e1=>{if(!_0x5922e1||_0x5922e1[_0xa73925([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xa73925([0x6f,0x6b]))return _0xa73925([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4274a6(_0x1ea31a(_0x435070+_0x96064d))!=_0x5922e1[_0xa73925([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xa73925([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xa73925([0x56,0x61,0x6c,0x69,0x64]);})[_0xa73925([0x74,0x68,0x65,0x6e])](_0x38f5ea=>(_0x3511a3(),_0x38f5ea),()=>{const _0x50bd49=_0x20814b();return null==_0x50bd49?(_0x3511a3(),_0xa73925([0x56,0x61,0x6c,0x69,0x64])):_0xa73925(_0x44c29a-_0x50bd49>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xa73925([0x74,0x68,0x65,0x6e])](_0x43aadc)[_0xa73925([0x63,0x61,0x74,0x63,0x68])](()=>{_0x43aadc(_0xa73925([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5233ae=0x36ee80;function _0x3511a3(){const _0x59dd78=_0xa73925([0x6c,0x6c,0x63,0x74,0x2d])+_0x4274a6(_0x1ea31a(_0x340340)),_0x5d7c05=_0x1089dc(_0x4274a6(window[_0xa73925([0x4d,0x61,0x74,0x68])][_0xa73925([0x63,0x65,0x69,0x6c])](_0x44c29a/_0x5233ae)));window[_0xa73925([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xa73925([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x59dd78,_0x5d7c05);}function _0x20814b(){const _0x11a3c1=_0xa73925([0x6c,0x6c,0x63,0x74,0x2d])+_0x4274a6(_0x1ea31a(_0x340340)),_0x532b61=window[_0xa73925([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xa73925([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x11a3c1);return _0x532b61?window[_0xa73925([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1089dc(_0x532b61),0x10)*_0x5233ae:null;}function _0x413c51(_0x373390){return new window[(_0xa73925([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3a105f,_0x3a39e8)=>{_0x373390[_0xa73925([0x74,0x68,0x65,0x6e])](_0x3a105f,_0x3a39e8),window[_0xa73925([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3a39e8,0x1d4c0);});}}_0x33f53a[_0xa73925([0x6f,0x6e])](_0xa73925([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3bc158,_0x3ae35a)=>{if(_0x3ae35a[0x0]!=_0x340340)return _0x43aadc(_0xa73925([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3ae35a[0x1]={..._0x3ae35a[0x1],[_0xa73925([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x435070};},{[_0xa73925([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xa73925([0x68,0x69,0x67,0x68])}),_0x33f53a[_0xa73925([0x6f,0x6e])](_0xa73925([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2b0921=>{_0xae2c14(_0x2b0921[_0xa73925([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5e6ba4=!0x0,_0x160850(_0x2b0921[_0xa73925([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xa73925([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xa73925([0x6c,0x6f,0x77])}),_0x31fa7d[_0xa73925([0x74,0x68,0x65,0x6e])](()=>{_0x5e6ba4||_0x43aadc(_0xa73925([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x894b53(){return _0x33f53a[_0xa73925([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xa73925([0x76,0x69,0x65,0x77])][_0xa73925([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xa73925([0x61,0x75,0x74,0x6f]);}function _0x333297(){_0x33f53a[_0xa73925([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xa73925([0x76,0x69,0x65,0x77])][_0xa73925([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xa73925([0x61,0x75,0x74,0x6f]);}}(_0x48111f[_0xa73925([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x48111f[_0xa73925([0x6a,0x74,0x69])]));const _0x5b2408=await(async function(){let _0x62eca8=!0x0;try{const _0x1a4a21=_0x50c236[_0xa73925([0x73,0x70,0x6c,0x69,0x74])](_0xa73925([0x2e])),[_0x1f800c,_0x439d8e,_0x4a35af]=_0x1a4a21;return _0x59dd7e(_0x1f800c),await _0x5d238b(_0x1f800c,_0x439d8e,_0x4a35af),_0x62eca8;}catch{return!0x1;}function _0x59dd7e(_0x214934){const _0x5d7994=_0x5c7d68(_0x214934);_0x5d7994&&_0x5d7994[_0xa73925([0x61,0x6c,0x67])]==_0xa73925([0x45,0x53,0x32,0x35,0x36])||(_0x62eca8=!0x1);}async function _0x5d238b(_0x1ddf14,_0x15a1ff,_0x5c2b64){const _0x501ee5=window[_0xa73925([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xa73925([0x66,0x72,0x6f,0x6d])](_0x14096e(_0x5c2b64),_0x1c9d9e=>_0x1c9d9e[_0xa73925([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3b9098=new window[(_0xa73925([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xa73925([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1ddf14+_0xa73925([0x2e])+_0x15a1ff),_0x237df6=window[_0xa73925([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xa73925([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x237df6)return;const _0x12d604=await _0x237df6[_0xa73925([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xa73925([0x6a,0x77,0x6b]),_0x1e9c37,{[_0xa73925([0x6e,0x61,0x6d,0x65])]:_0xa73925([0x45,0x43,0x44,0x53,0x41]),[_0xa73925([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xa73925([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xa73925([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x237df6[_0xa73925([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xa73925([0x6e,0x61,0x6d,0x65])]:_0xa73925([0x45,0x43,0x44,0x53,0x41]),[_0xa73925([0x68,0x61,0x73,0x68])]:{[_0xa73925([0x6e,0x61,0x6d,0x65])]:_0xa73925([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x12d604,_0x501ee5,_0x3b9098)||(_0x62eca8=!0x1);}}());return _0x5b2408?(function(){const _0x2dc15c=_0x48111f[_0xa73925([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x2dc15c)return!0x1;if(_0x2dc15c[_0xa73925([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa73925([0x2a])))return!0x0;if(_0x2dc15c[_0xa73925([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa73925([0x4d,0x4c,0x4c])))return!0x0;return!0x1;}())?(function(){const _0x56d3ef=[_0xa73925([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xa73925([0x74,0x72,0x69,0x61,0x6c])][_0xa73925([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48111f[_0xa73925([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x44c29a/0x3e8:0x6a03bf00;return _0x48111f[_0xa73925([0x65,0x78,0x70])]<_0x56d3ef;}())?_0xa73925([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x5495c2=_0x48111f[_0xa73925([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5495c2||0x0==_0x5495c2[_0xa73925([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x538564}=new URL(window[_0xa73925([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5495c2[_0xa73925([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x538564))return!0x0;const _0x5c8bb4=_0x538564[_0xa73925([0x73,0x70,0x6c,0x69,0x74])](_0xa73925([0x2e]));return _0x5495c2[_0xa73925([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2fcdb9=>_0x2fcdb9[_0xa73925([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa73925([0x2a])))[_0xa73925([0x6d,0x61,0x70])](_0x5a8455=>_0x5a8455[_0xa73925([0x73,0x70,0x6c,0x69,0x74])](_0xa73925([0x2e])))[_0xa73925([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x230133=>_0x230133[_0xa73925([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5c8bb4[_0xa73925([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xa73925([0x6d,0x61,0x70])](_0x4928a3=>Array(_0x5c8bb4[_0xa73925([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4928a3[_0xa73925([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xa73925([0x66,0x69,0x6c,0x6c])](_0x4928a3[0x0]===_0xa73925([0x2a])?_0xa73925([0x2a]):'')[_0xa73925([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4928a3))[_0xa73925([0x73,0x6f,0x6d,0x65])](_0x155d46=>_0x5c8bb4[_0xa73925([0x65,0x76,0x65,0x72,0x79])]((_0x44adeb,_0x69ef85)=>_0x155d46[_0x69ef85]===_0x44adeb||_0x155d46[_0x69ef85]===_0xa73925([0x2a])));}())?(_0x48111f[_0xa73925([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xa73925([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2934e9=function(_0x49c09f){const _0x512d35=new window[(_0xa73925([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23839=>setTimeout(_0x23839,0x93ecc)),_0x49d52b=_0x31fa7d[_0xa73925([0x74,0x68,0x65,0x6e])](()=>new window[(_0xa73925([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x46b187=>{let _0x3459fc=0x0;_0x33f53a[_0xa73925([0x6d,0x6f,0x64,0x65,0x6c])][_0xa73925([0x6f,0x6e])](_0xa73925([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4215be,_0x2e9374)=>{_0x2e9374[0x0][_0xa73925([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3459fc++,0x5e8==_0x3459fc&&(_0x46b187(),_0x4215be[_0xa73925([0x6f,0x66,0x66])]());});})),_0x578e4b=[_0x512d35,_0x49d52b];return window[_0xa73925([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xa73925([0x72,0x61,0x63,0x65])](_0x578e4b)[_0xa73925([0x74,0x68,0x65,0x6e])](()=>_0x49c09f);}(_0xa73925([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x2934e9&&_0x2adaff)return new window[(_0xa73925([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x264bd3,_0x5835ba)=>{_0x2934e9[_0xa73925([0x74,0x68,0x65,0x6e])](_0x264bd3,_0x5835ba),_0x2adaff[_0xa73925([0x74,0x68,0x65,0x6e])](_0x5b7255=>{_0x5b7255!=_0xa73925([0x56,0x61,0x6c,0x69,0x64])&&_0x264bd3(_0x5b7255);},_0x5835ba);});return _0x2934e9||_0x2adaff||_0xa73925([0x56,0x61,0x6c,0x69,0x64]);}())):_0xa73925([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xa73925([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xa73925([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xa73925([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x5c7d68(_0x38af77){return _0x38af77[_0xa73925([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xa73925([0x65,0x79]))?JSON[_0xa73925([0x70,0x61,0x72,0x73,0x65])](_0x14096e(_0x38af77)):null;}function _0x14096e(_0x569f0e){return window[_0xa73925([0x61,0x74,0x6f,0x62])](_0x569f0e[_0xa73925([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xa73925([0x2b]))[_0xa73925([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xa73925([0x2f])));}function _0x1ea31a(_0x5e69ed){let _0x421b2d=0x1505;function _0x416ae6(_0x37a121){for(let _0x36ea98=0x0;_0x36ea98<_0x37a121[_0xa73925([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x36ea98++){const _0x32aa71=_0x37a121[_0xa73925([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x36ea98);_0x421b2d=(_0x421b2d<<0x5)+_0x421b2d+_0x32aa71,_0x421b2d&=_0x421b2d;}}return function _0x2b61f2(_0x37b716){Array[_0xa73925([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x37b716)?_0x37b716[_0xa73925([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2b61f2):_0x37b716&&typeof _0x37b716==_0xa73925([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xa73925([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x37b716)[_0xa73925([0x73,0x6f,0x72,0x74])]()[_0xa73925([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3bfa06,_0x2d5147])=>{_0x416ae6(_0x3bfa06),_0x2b61f2(_0x2d5147);}):_0x416ae6(window[_0xa73925([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x37b716));}(_0x5e69ed),_0x421b2d>>>0x0;}function _0x4274a6(_0x396f89){return _0x396f89[_0xa73925([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xa73925([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xa73925([0x30]));}function _0x1089dc(_0x28e802){return _0x28e802[_0xa73925([0x73,0x70,0x6c,0x69,0x74])]('')[_0xa73925([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xa73925([0x6a,0x6f,0x69,0x6e])]('');}function _0x495a88(){}function _0xa73925(_0x3b13a0){return _0x3b13a0['map'](_0x5bf62f=>String['fromCharCode'](_0x5bf62f))['join']('');}!function(_0x5c429){const _0x7e98e5=(function(){const _0x1f3ebf=window[_0xa73925([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xa73925([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xa73925([0x6e,0x6f,0x77])]())[_0xa73925([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xa73925([0x2e]),'');let _0x5e687f=_0xa73925([0x75]);for(let _0x2698b7=0x0;_0x2698b7<_0x1f3ebf[_0xa73925([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2698b7+=0x2){let _0x326d9e=window[_0xa73925([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f3ebf[_0xa73925([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2698b7,_0x2698b7+0x2));_0x326d9e>=_0x3ba2d3[_0xa73925([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x326d9e-=_0x3ba2d3[_0xa73925([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5e687f+=_0x3ba2d3[_0x326d9e];}return _0x5e687f;}());_0x33f53a[_0x7e98e5]=_0xa73925([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5c429,_0x5c429!=_0xa73925([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x31fa7d,_0x33f53a[_0xa73925([0x6d,0x6f,0x64,0x65,0x6c])][_0xa73925([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x495a88,_0x33f53a[_0xa73925([0x6d,0x6f,0x64,0x65,0x6c])][_0xa73925([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x495a88,_0x33f53a[_0xa73925([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xa73925([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x360dc3);}function getTranslation$9(_0x456d65,_0x19178e){const _0x374971=_0x456d65['t'],t=_0x456d65['t'];switch(_0x19178e){case'Start\x20at':return _0x374971('Start\x20at');case'Start\x20index\x20must\x20be\x20greater\x20than\x200.':return _0x374971('Start\x20index\x20must\x20be\x20greater\x20than\x200.');case'Invalid\x20start\x20index\x20value.':return _0x374971('Invalid\x20start\x20index\x20value.');case'List\x20properties':return _0x374971('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 _0x19178e;}}class MultiLevelListView extends ckeditor5['View']{['children'];['stylesView']=null;['additionalPropertiesCollapsibleView']=null;['startIndexFieldView']=null;['focusTracker']=new ckeditor5['FocusTracker']();['keystrokes']=new ckeditor5['KeystrokeHandler']();['focusables']=new ckeditor5['ViewCollection']();['focusCycler'];constructor(_0x1004bd,{enabledProperties:_0x357508,styleButtonViews:_0x52c742,styleGridAriaLabel:_0x42d7d7}){super(_0x1004bd);const _0x3c2685=['ck','ck-multi-level-list-properties'];this['children']=this['createCollection'](),this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),_0x357508['styles']?(this['stylesView']=this['_createStylesView'](_0x52c742,_0x42d7d7),this['children']['add'](this['stylesView'])):_0x3c2685['push']('ck-multi-level-list-properties_without-styles'),_0x357508['startIndex']&&(this['_addListPropertyViews'](_0x357508),_0x3c2685['push']('ck-multi-level-list-properties_with-multi-level-properties')),this['setTemplate']({'tag':'div','attributes':{'class':_0x3c2685},'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 _0x4aa85f of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x4aa85f['element']);ckeditor5['addKeyboardHandlingForGrid']({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>ckeditor5['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 _0x2573a1=_0x69550f=>_0x69550f['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2573a1),this['keystrokes']['set']('arrowleft',_0x2573a1),this['keystrokes']['set']('arrowup',_0x2573a1),this['keystrokes']['set']('arrowdown',_0x2573a1);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_createStylesView'](_0x160903,_0x1adbc3){const _0x4173c9=new ckeditor5['View'](this['locale']);return _0x4173c9['children']=_0x4173c9['createCollection'](),_0x4173c9['children']['addMany'](_0x160903),_0x4173c9['setTemplate']({'tag':'div','attributes':{'aria-label':_0x1adbc3,'class':['ck','ck-multi-level-list-styles']},'children':_0x4173c9['children']}),_0x4173c9['children']['delegate']('execute')['to'](this),_0x4173c9['focus']=function(){this['children']['first']['focus']();},_0x4173c9['focusTracker']=new ckeditor5['FocusTracker'](),_0x4173c9['keystrokes']=new ckeditor5['KeystrokeHandler'](),_0x4173c9['render'](),_0x4173c9['keystrokes']['listenTo'](_0x4173c9['element']),_0x4173c9;}['_addListPropertyViews'](_0x335132){const _0x2c9d6a=[];_0x335132['startIndex']&&(this['startIndexFieldView']=this['_createStartIndexField'](),_0x2c9d6a['push'](this['startIndexFieldView'])),_0x335132['styles']?(this['additionalPropertiesCollapsibleView']=new ckeditor5['CollapsibleView'](this['locale'],_0x2c9d6a),this['additionalPropertiesCollapsibleView']['set']({'label':getTranslation$9(this['locale'],'List\x20properties'),'isCollapsed':!0x0}),this['additionalPropertiesCollapsibleView']['buttonView']['bind']('isEnabled')['toMany'](_0x2c9d6a,'isEnabled',(..._0x497750)=>_0x497750['some'](_0x564539=>_0x564539)),this['additionalPropertiesCollapsibleView']['buttonView']['on']('change:isEnabled',(_0x1cd0fa,_0x3fe970,_0x4cff9e)=>{_0x4cff9e||(this['additionalPropertiesCollapsibleView']['isCollapsed']=!0x0);}),this['children']['add'](this['additionalPropertiesCollapsibleView'])):this['children']['addMany'](_0x2c9d6a);}['_createStartIndexField'](){const _0x25cc62=new ckeditor5['LabeledFieldView'](this['locale'],ckeditor5['createLabeledInputNumber']);return _0x25cc62['set']({'label':getTranslation$9(this['locale'],'Start\x20at'),'class':'ck-multi-level-list-properties__start-index'}),_0x25cc62['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x25cc62['fieldView']['on']('input',()=>{const _0x36d54b=_0x25cc62['fieldView']['element'],_0x59484d=_0x36d54b['valueAsNumber'];Number['isNaN'](_0x59484d)?_0x25cc62['errorText']=getTranslation$9(this['locale'],'Invalid\x20start\x20index\x20value.'):_0x36d54b['checkValidity']()?this['fire']('listStart',{'startIndex':_0x59484d}):_0x25cc62['errorText']=getTranslation$9(this['locale'],'Start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x25cc62;}}class MultiLevelListUI extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'MultiLevelListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3205b7=this['editor'];_0x3205b7['ui']['componentFactory']['add']('multiLevelList',getViewCreator({'editor':_0x3205b7,'parentCommandName':'multiLevelList','buttonLabel':getTranslation$9(_0x3205b7['locale'],'Multi-level\x20List'),'buttonIcon':ckeditor5['IconMultiLevelList'],'styleGridAriaLabel':getTranslation$9(_0x3205b7['locale'],'Multi-level\x20list\x20styles\x20toolbar'),'styleDefinitions':[]})),_0x3205b7['ui']['componentFactory']['add']('menuBar:multiLevelList',()=>{const _0x18ff47=_0x3205b7['commands']['get']('multiLevelList'),_0x39d7f7=new ckeditor5['MenuBarMenuListItemButtonView'](_0x3205b7['locale']);return _0x39d7f7['set']({'label':getTranslation$9(_0x3205b7['locale'],'Multi-level\x20List'),'icon':ckeditor5['IconMultiLevelList']}),_0x39d7f7['bind']('isEnabled')['to'](_0x18ff47),_0x39d7f7['bind']('isOn')['to'](_0x18ff47,'value',_0x48a022=>!!_0x48a022),_0x39d7f7['on']('execute',()=>{_0x3205b7['execute']('multiLevelList'),_0x3205b7['editing']['view']['focus']();}),_0x39d7f7;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x574fff=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4ed2ea;for(const _0x548fc7 in _0x574fff){const _0x3d7ad1=_0x548fc7,_0x11a798=_0x574fff[_0x3d7ad1];if('multiLevelListLicenseKeyValid'==_0x11a798||'multiLevelListLicenseKeyInvalid'==_0x11a798||'multiLevelListLicenseKeyExpired'==_0x11a798||'multiLevelListLicenseKeyDomainLimit'==_0x11a798||'multiLevelListLicenseKeyNotAllowed'==_0x11a798||'multiLevelListLicenseKeyEvaluationLimit'==_0x11a798||'multiLevelListLicenseKeyUsageLimit'==_0x11a798){delete _0x574fff[_0x3d7ad1],_0x4ed2ea=_0x11a798,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'multiLevelListLicenseKeyInvalid'==_0x4ed2ea&&_0x574fff['_showLicenseError']('invalid'),'multiLevelListLicenseKeyExpired'==_0x4ed2ea&&_0x574fff['_showLicenseError']('expired'),'multiLevelListLicenseKeyDomainLimit'==_0x4ed2ea&&_0x574fff['_showLicenseError']('domainLimit'),'multiLevelListLicenseKeyNotAllowed'==_0x4ed2ea&&_0x574fff['_showLicenseError']('featureNotAllowed','MultiLevelList'),'multiLevelListLicenseKeyEvaluationLimit'==_0x4ed2ea&&_0x574fff['_showLicenseError']('evaluationLimit'),'multiLevelListLicenseKeyUsageLimit'==_0x4ed2ea&&_0x574fff['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function getViewCreator({editor:_0x391232,parentCommandName:_0x56773d,buttonLabel:_0x520362,buttonIcon:_0x4c2a7a,styleGridAriaLabel:_0x100f4e,styleDefinitions:_0x5d76fa}){const _0x39499b=_0x391232['commands']['get'](_0x56773d),_0x46607a=_0x391232['config']['get']('list.properties')||{},_0x3c53a4=_0x391232['plugins']['has']('ListProperties'),_0x2d5d72=_0x46607a['startIndex'];return _0x3c53a4&&_0x2d5d72?_0x19af70=>{const _0xdebd4e=ckeditor5['createDropdown'](_0x19af70,ckeditor5['SplitButtonView']),_0x4b0551=_0xdebd4e['buttonView'];return _0xdebd4e['bind']('isEnabled')['to'](_0x39499b),_0xdebd4e['class']='ck-list-styles-dropdown',_0x4b0551['on']('execute',()=>{_0x391232['execute'](_0x56773d),_0x391232['editing']['view']['focus']();}),_0x4b0551['set']({'label':_0x520362,'icon':_0x4c2a7a,'tooltip':!0x0,'isToggleable':!0x0}),_0x4b0551['bind']('isOn')['to'](_0x39499b,'value',_0x5e6ae3=>!!_0x5e6ae3),_0xdebd4e['once']('change:isOpen',()=>{const _0x186d57=createListPropertiesView({'editor':_0x391232,'dropdownView':_0xdebd4e,'styleGridAriaLabel':_0x100f4e,'styleDefinitions':_0x5d76fa});_0xdebd4e['panelView']['children']['add'](_0x186d57);}),_0xdebd4e['on']('execute',()=>{_0x391232['editing']['view']['focus']();}),_0xdebd4e;}:_0x532e09=>{const _0x271d9b=new ckeditor5['ButtonView'](_0x532e09);return _0x271d9b['set']({'label':_0x520362,'icon':_0x4c2a7a,'tooltip':!0x0,'isToggleable':!0x0}),_0x271d9b['bind']('isOn')['to'](_0x39499b,'value',_0x552f93=>!!_0x552f93),_0x271d9b['on']('execute',()=>{_0x391232['execute'](_0x56773d),_0x391232['editing']['view']['focus']();}),_0x271d9b;};}function createListPropertiesView({editor:_0x4548b5,dropdownView:_0x186293,styleDefinitions:_0x1e65a5,styleGridAriaLabel:_0x36c191}){const _0x9f409b=_0x4548b5['locale'],_0x1459b9=_0x4548b5['config']['get']('list.properties');_0x1459b9['reversed']=!0x1,_0x1e65a5['length']||(_0x1459b9['styles']=!0x1);const _0x2c2fd3=new MultiLevelListView(_0x9f409b,{'styleGridAriaLabel':_0x36c191,'enabledProperties':_0x1459b9,'styleButtonViews':null});if(_0x1459b9['startIndex']){const _0x5ca9ab=_0x4548b5['commands']['get']('listStart');_0x2c2fd3['startIndexFieldView']['bind']('isEnabled')['to'](_0x5ca9ab),_0x2c2fd3['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x5ca9ab),_0x2c2fd3['on']('listStart',(_0x5f1523,_0x56adc6)=>_0x4548b5['execute']('listStart',_0x56adc6));}return _0x2c2fd3['delegate']('execute')['to'](_0x186293),_0x2c2fd3;}class MultiLevelList extends ckeditor5['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 ckeditor5['Command']{['refresh'](){const _0x5c7b91=this['editor']['model'],_0x30c013=_0x5c7b91['schema']['checkChild'](_0x5c7b91['document']['selection']['focus'],'mergeField');this['isEnabled']=_0x30c013;}['execute'](_0x12798c){if(!_0x12798c||'string'!=typeof _0x12798c)return;const _0x2416bc=this['editor']['model'];_0x2416bc['change'](_0x356969=>{_0x2416bc['deleteContent'](_0x2416bc['document']['selection']);const _0x2a0631=_0x356969['createElement']('mergeField',{'id':_0x12798c});for(const [_0x216fc6,_0xbcd0bc]of _0x2416bc['document']['selection']['getAttributes']())_0x2416bc['schema']['checkAttribute'](_0x2a0631,_0x216fc6)&&_0x356969['setAttribute'](_0x216fc6,_0xbcd0bc,_0x2a0631);_0x2416bc['insertContent'](_0x2a0631,_0x2416bc['document']['selection'],0x0,{'setSelection':'after'});});}}class InsertMergeFieldBlockCommand extends ckeditor5['Command']{['refresh'](){const _0x2920b2=this['editor']['model'],_0x449238=_0x2920b2['document']['selection'];this['isEnabled']=isAllowedInParent(_0x449238,_0x2920b2);}['execute'](_0x22be54,_0x1327e6){if(!_0x22be54||'string'!=typeof _0x22be54)return;const _0xdaba24=this['editor']['model'];_0xdaba24['change'](_0x5ae648=>{const _0x30bd01=_0x5ae648['createElement']('mergeFieldBlock',{'id':_0x22be54});_0xdaba24['insertObject'](_0x30bd01,_0xdaba24['document']['selection'],null,{'setSelection':'on','findOptimalPosition':!0x1===_0x1327e6?void 0x0:'auto'});});}}function isAllowedInParent(_0x4fb526,_0x55e52e){let _0x53c3ac=ckeditor5['findOptimalInsertionRange'](_0x4fb526,_0x55e52e)['start']['parent'];return _0x53c3ac['isEmpty']&&!_0x55e52e['schema']['isLimit'](_0x53c3ac)&&(_0x53c3ac=_0x53c3ac['parent']),_0x55e52e['schema']['checkChild'](_0x53c3ac,'mergeFieldBlock');}class InsertMergeFieldImageCommand extends ckeditor5['Command']{constructor(_0x3daaf1){super(_0x3daaf1),this['bind']('isEnabled')['to'](this['editor']['commands']['get']('insertImage'));}['execute'](_0x4b3463,_0x509537){if(!_0x4b3463||'string'!=typeof _0x4b3463)return;const _0x23ce47=this['editor']['plugins']['get']('MergeFieldsEditing'),_0x2154ca=_0x23ce47['getMergeFieldWidth'](_0x4b3463),_0x4ec132=_0x23ce47['getMergeFieldHeight'](_0x4b3463);this['editor']['execute']('insertImage',{'source':{'src':_0x23ce47['wrapInAffixes'](_0x4b3463),'width':_0x2154ca,'height':_0x4ec132},'breakBlock':_0x509537&&_0x509537['breakBlock']});}}class _0x291c7e extends ckeditor5['Command']{constructor(_0x50be0e){super(_0x50be0e);const _0x26ca23=this['editor']['plugins']['get']('MergeFieldsEditing');this['bind']('value')['to'](_0x26ca23,'previewMode'),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x37e22d){this['editor']['plugins']['get']('MergeFieldsEditing')['previewMode']=_0x37e22d;}}const _0x15f7cc=0x78,_0x108dc7=0x190,_0xf34399=0x190,_0x34997e=/^[a-zA-Z0-9_.-]+$/;class MergeFieldsEditing extends ckeditor5['Plugin']{['availablePreviewModes'];['flattenedMergeFieldDefinitions']=[];['_mergeFieldElements'];['_mergeFieldPrefix'];['_mergeFieldSuffix'];['_mergeFieldRegExp'];['_shouldPreviewHtmlValues'];static get['requires'](){return[ckeditor5['ImageUtils'],ckeditor5['ImageEditing']];}static get['pluginName'](){return'MergeFieldsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1c6589){super(_0x1c6589),_0x1c6589['config']['define']('mergeFields.previewModes',['$labels','$defaultValues','$dataSets']),_0x1c6589['config']['define']('mergeFields.dataSets',[]),_0x1c6589['config']['define']('mergeFields.definitions',[]),_0x1c6589['config']['define']('mergeFields.prefix','{{'),_0x1c6589['config']['define']('mergeFields.suffix','}}'),_0x1c6589['config']['define']('mergeFields.previewHtmlValues',!0x1),_0x1c6589['config']['define']('mergeFields.sanitizeHtml',_0x10b501=>(ckeditor5['logWarning']('merge-fields-provide-sanitize-function'),{'html':_0x10b501,'hasChanged':!0x1})),this['_mergeFieldPrefix']=_0x1c6589['config']['get']('mergeFields.prefix'),this['_mergeFieldSuffix']=_0x1c6589['config']['get']('mergeFields.suffix'),this['_shouldPreviewHtmlValues']=_0x1c6589['config']['get']('mergeFields.previewHtmlValues'),this['flattenedMergeFieldDefinitions']=this['_getFlattenedMergeFieldDefinitions'](),this['_validateConfig']();const _0xc5c87='\x5c'+this['_mergeFieldPrefix']['split']('')['join']('\x5c'),_0x5601a='\x5c'+this['_mergeFieldSuffix']['split']('')['join']('\x5c');this['_mergeFieldRegExp']=new RegExp('('+_0xc5c87+'[^'+(_0xc5c87+_0x5601a)+'\x20]+'+_0x5601a+')','g'),this['availablePreviewModes']=this['_getAvailablePreviewModes']();const _0x1f9f39=_0x1c6589['config']['get']('mergeFields.initialPreviewMode')||this['availablePreviewModes'][0x0];this['_validatePreviewMode'](_0x1f9f39),this['set']('previewMode',_0x1f9f39),this['_mergeFieldElements']=new Set();}['init'](){const _0xd9db54=this['editor'];_0xd9db54['commands']['add']('insertMergeField',new InsertMergeFieldCommand(_0xd9db54)),_0xd9db54['commands']['add']('insertMergeFieldBlock',new InsertMergeFieldBlockCommand(_0xd9db54)),_0xd9db54['commands']['add']('insertMergeFieldImage',new InsertMergeFieldImageCommand(_0xd9db54)),_0xd9db54['commands']['add']('previewMergeFields',new _0x291c7e(_0xd9db54)),this['_defineSchema'](),this['_defineConverters'](),this['_registerConversionPostFixer'](),this['listenTo'](this['editor']['editing']['view']['document'],'imageLoaded',this['_setupTooltipsTogglingForImageMergeField']),this['on']('change:previewMode',(_0x2f6452,_0x2599c5,_0x5c2cce)=>{this['_validatePreviewMode'](_0x5c2cce),this['refreshMergeFields']();}),this['listenTo'](_0xd9db54['model']['document'],'change:data',()=>{this['_trackAddedMergeFields']();}),_0xd9db54['editing']['mapper']['on']('viewToModelPosition',ckeditor5['viewToModelPositionOutsideModelElement'](_0xd9db54['model'],_0x236281=>_0x236281['hasClass']('ck-merge-field'))),_0xd9db54['editing']['mapper']['on']('viewToModelPosition',ckeditor5['viewToModelPositionOutsideModelElement'](_0xd9db54['model'],_0x1bf451=>_0x1bf451['hasClass']('ck-merge-field-block'))),_0xd9db54['editing']['view']['domConverter']['registerInlineObjectMatcher']({'name':'span','classes':['ck-merge-field']});}['afterInit'](){this['_disableCommandOnMergeFields']('ckboxImageEdit'),this['_disableCommandOnMergeFields']('uploadcareImageEdit'),_0x28d129(this);}['isMergeField'](_0x28e86a){return'mergeField'===_0x28e86a['name']||'mergeFieldBlock'===_0x28e86a['name']||!!('imageBlock'===_0x28e86a['name']||'imageInline'===_0x28e86a['name']&&_0x28e86a['getAttribute']('src'))&&!!_0x28e86a['getAttribute']('src')['match'](this['_mergeFieldRegExp']);}['getDefaultValues'](){const _0x562331={},_0x43e6be=this['getMergeFieldsIds']();for(const _0x4deae7 of _0x43e6be)_0x562331[_0x4deae7]=this['getMergeFieldDefaultValue'](_0x4deae7);return _0x562331;}['getDataSetValues'](_0x529368,_0x153594=!0x1){const _0x24f334={},_0x279e1a=this['getMergeFieldsIds']();for(const _0x56d59b of _0x279e1a){let _0x2d433d=this['getMergeFieldValue'](_0x56d59b,_0x529368);null===_0x2d433d&&_0x153594&&(_0x2d433d=this['getMergeFieldDefaultValue'](_0x56d59b)),_0x24f334[_0x56d59b]=_0x2d433d;}return _0x24f334;}['getLabel'](_0x2a4f9a){const _0x2b1a77=this['getDefinition'](_0x2a4f9a);return _0x2b1a77&&_0x2b1a77['label']?_0x2b1a77['label']:null;}['getMergeFieldDefaultValue'](_0x2ee5c7){const _0x3cb4ad=this['getDefinition'](_0x2ee5c7);if(!_0x3cb4ad||void 0x0===_0x3cb4ad['defaultValue'])return null;const _0x50cca6='function'==typeof _0x3cb4ad['defaultValue']?_0x3cb4ad['defaultValue'](this['editor']):_0x3cb4ad['defaultValue'];return String(_0x50cca6);}['getMergeFieldValue'](_0x5217fc,_0x4a5eb3){const _0x2f8b3a=this['editor']['config']['get']('mergeFields.dataSets')['find'](_0x324b50=>_0x324b50['id']===_0x4a5eb3);if(!_0x2f8b3a)throw new ckeditor5['CKEditorError']('merge-fields-data-set-not-found',null);const _0x36ee0b=_0x2f8b3a['values'][_0x5217fc];if(void 0x0===_0x36ee0b)return null;const _0x4dfe77='function'==typeof _0x36ee0b?_0x36ee0b(this['editor']):_0x36ee0b;return String(_0x4dfe77);}['getMergeFieldType'](_0x406e94){if('string'!=typeof _0x406e94){const _0x29ead3=_0x406e94;return'mergeField'===_0x29ead3['name']?'text':'mergeFieldBlock'===_0x29ead3['name']?'block':'imageBlock'!==_0x29ead3['name']&&'imageInline'!==_0x29ead3['name']||!_0x29ead3['getAttribute']('src')?null:_0x29ead3['getAttribute']('src')['match'](this['_mergeFieldRegExp'])?'image':null;}const _0x278414=this['getDefinition'](_0x406e94);return _0x278414&&_0x278414['type']?_0x278414['type']:'text';}['getMergeFieldHeight'](_0x45a94d){const _0xb5e858=this['getDefinition'](_0x45a94d);return _0xb5e858&&'block'===_0xb5e858['type']?_0xb5e858['height']||_0x15f7cc:_0xb5e858&&'image'===_0xb5e858['type']?_0xb5e858['height']||_0x108dc7:null;}['getMergeFieldWidth'](_0x87fe65){const _0x2a1857=this['getDefinition'](_0x87fe65);return _0x2a1857&&'image'===_0x2a1857['type']?_0x2a1857['width']||_0xf34399:null;}['getDocumentMergeFieldsIds'](){const _0x353f28=new Set();for(const _0xa65f82 of this['_mergeFieldElements'])'$graveyard'!==_0xa65f82['root']['rootName']&&('image'===this['getMergeFieldType'](_0xa65f82)?_0x353f28['add'](this['unwrapAffixes'](_0xa65f82['getAttribute']('src'))):_0x353f28['add'](_0xa65f82['getAttribute']('id')));return Array['from'](_0x353f28);}['getMergeFieldsIds'](){const _0x47886f=this['flattenedMergeFieldDefinitions']['map'](_0x58f6aa=>_0x58f6aa['id']),_0x224b61=this['getDocumentMergeFieldsIds']();return Array['from'](new Set([..._0x47886f,..._0x224b61]));}['getDefinition'](_0x399bf4){return this['flattenedMergeFieldDefinitions']['find'](_0x149585=>_0x149585['id']===_0x399bf4)||null;}['refreshMergeFields'](){this['_mergeFieldElements']['forEach'](_0x36f6f1=>{'$graveyard'!==_0x36f6f1['root']['rootName']&&this['editor']['editing']['reconvertItem'](_0x36f6f1);});}['wrapInAffixes'](_0x40526e){return this['_mergeFieldPrefix']+_0x40526e+this['_mergeFieldSuffix'];}['unwrapAffixes'](_0x72773e){return _0x72773e['slice'](this['_mergeFieldPrefix']['length'],_0x72773e['length']-this['_mergeFieldSuffix']['length']);}['_getFlattenedMergeFieldDefinitions'](){const _0x286d68=new Set(),_0x1b289a=this['editor'];return _0x1b289a['config']['get']('mergeFields.definitions')['reduce']((_0x4233e2,_0x53cb09)=>{if('groupId'in _0x53cb09){if(_0x286d68['has'](_0x53cb09['groupId']))throw new ckeditor5['CKEditorError']('merge-fields-duplicate-group-id',_0x1b289a,{'duplicateId':_0x53cb09['groupId']});_0x286d68['add'](_0x53cb09['groupId']);}return'groupId'in _0x53cb09?function(_0xcb86e8,_0x46c393){for(const _0x101e59 of _0x46c393['definitions'])_0xcb86e8=_0xcb86e8['concat'](_0x101e59);return _0xcb86e8;}['bind'](_0x1b289a)(_0x4233e2,_0x53cb09):_0x4233e2['concat'](_0x53cb09);},new Array());}['_validateConfig'](){const _0x41eba9=/^['"`!#%:;=@{}~$()*+/?[\\\]^|]+$/;if(!_0x41eba9['test'](this['_mergeFieldPrefix'])||!_0x41eba9['test'](this['_mergeFieldSuffix']))throw new ckeditor5['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 ckeditor5['CKEditorError']('merge-fields-prefix-or-suffix-too-long',this,{'prefix':this['_mergeFieldPrefix'],'suffix':this['_mergeFieldSuffix'],'limit':0x8});const _0x1a958b=new Set();if(this['flattenedMergeFieldDefinitions']['map'](_0x1dc1f7=>{if(!_0x34997e['test'](_0x1dc1f7['id']))throw new ckeditor5['CKEditorError']('merge-fields-invalid-id',this,{'incorrectId':_0x1dc1f7['id']});if(_0x1a958b['has'](_0x1dc1f7['id']))throw new ckeditor5['CKEditorError']('merge-fields-duplicate-merge-field-id',this,{'duplicateId':_0x1dc1f7['id']});_0x1a958b['add'](_0x1dc1f7['id']);}),this['_mergeFieldPrefix']===this['_mergeFieldSuffix'])throw new ckeditor5['CKEditorError']('merge-fields-prefix-and-suffix-must-differ',this);const _0x577aac=this['editor']['config']['get']('mergeFields.previewModes'),_0x31437a=['$labels','$defaultValues','$dataSets'];if(!_0x577aac['length']||!_0x577aac['every'](_0x2f70e2=>_0x31437a['includes'](_0x2f70e2)))throw new ckeditor5['CKEditorError']('merge-fields-invalid-preview-modes-configuration',this,{'invalidConfig':_0x577aac});const _0x53516d=new Set(),_0x3e92fe=this['editor']['config']['get']('mergeFields.dataSets');for(const _0x145464 of _0x3e92fe){if(_0x53516d['has'](_0x145464['id']))throw new ckeditor5['CKEditorError']('merge-fields-duplicate-data-set-id',this,{'duplicateId':_0x145464['id']});_0x53516d['add'](_0x145464['id']);}}['_getAvailablePreviewModes'](){const _0x2d4631=this['editor']['config']['get']('mergeFields.previewModes'),_0x5c348f=[];if(_0x2d4631['includes']('$labels')&&_0x5c348f['push']('$labels'),_0x2d4631['includes']('$defaultValues')&&_0x5c348f['push']('$defaultValues'),_0x2d4631['includes']('$dataSets')){const _0x46e723=this['editor']['config']['get']('mergeFields.dataSets');_0x5c348f['push'](..._0x46e723['map'](_0x576f25=>_0x576f25['id']));}return _0x5c348f;}['_defineSchema'](){const _0x293df5=this['editor']['model']['schema'];_0x293df5['register']('mergeField',{'inheritAllFrom':'$inlineObject','allowAttributes':['id'],'allowWhere':'$text'}),_0x293df5['register']('mergeFieldBlock',{'inheritAllFrom':'$blockObject','allowAttributes':['id']});}['_defineConverters'](){const _0x58f833=this['editor']['conversion'];_0x58f833['for']('upcast')['add'](_0xf5d3ce=>{_0xf5d3ce['on']('text',(_0x3e2c41,_0x22fc21,_0x5d31aa)=>{const {writer:_0x12b080,safeInsert:_0x1f046e}=_0x5d31aa,{viewItem:_0x3afe82}=_0x22fc21,_0x10bdac=_0x3afe82['data']['split'](this['_mergeFieldRegExp'])['filter'](_0xdd75d7=>_0xdd75d7);if(0x1===_0x10bdac['length']&&!_0x10bdac[0x0]['match'](this['_mergeFieldRegExp']))return;if(!_0x22fc21['modelRange'])return;const _0x5e7035=_0x12b080['createElement']('$cursor');_0x12b080['insert'](_0x5e7035,_0x22fc21['modelCursor']);const _0x34e56e=[];for(const _0xbb61d1 of _0x22fc21['modelRange']['getItems']()){if(!_0xbb61d1['is']('$textProxy'))continue;const _0x363e5b=_0xbb61d1['textNode']['data']['matchAll'](this['_mergeFieldRegExp']),_0x2381f0=_0xbb61d1['parent'],_0x25ff82=_0xbb61d1['textNode']['startOffset'];for(const _0x2c5d17 of[..._0x363e5b]['reverse']()){const _0x3da8a0=_0x2c5d17[0x0],_0xa7c557=_0x12b080['createPositionAt'](_0x2381f0,_0x2c5d17['index']+_0x25ff82),_0x3c72e4=_0xa7c557['getShiftedBy'](_0x3da8a0['length']),_0x482007=_0x12b080['createRange'](_0xa7c557,_0x3c72e4),_0x3aa303=this['unwrapAffixes'](_0x3da8a0),_0x117a9e=this['getMergeFieldType'](_0x3aa303),_0x5dadc3='block'==_0x117a9e?'mergeFieldBlock':'mergeField',_0x48427f=_0x12b080['createElement'](_0x5dadc3,{'id':_0x3aa303});_0x12b080['remove'](_0x482007),_0x12b080['insert'](_0x48427f,_0xa7c557),'block'==_0x117a9e&&_0x34e56e['push'](_0x48427f);}}_0x34e56e['reverse']();for(const _0x4f75dc of _0x34e56e){const _0x1fa717=_0x12b080['createPositionBefore'](_0x4f75dc),_0x34381c=_0x4f75dc['nextSibling']==_0x5e7035;_0x12b080['remove'](_0x4f75dc),_0x1f046e(_0x4f75dc,_0x1fa717)&&_0x34381c&&_0x12b080['move'](_0x12b080['createRangeOn'](_0x5e7035),_0x12b080['createPositionAfter'](_0x4f75dc));}_0x22fc21['modelCursor']=_0x12b080['createPositionBefore'](_0x5e7035),_0x22fc21['modelRange']=_0x12b080['createRange'](_0x22fc21['modelRange']['start'],_0x22fc21['modelCursor']),_0x12b080['remove'](_0x5e7035);},{'priority':ckeditor5['priorities']['get']('lowest')-0x1});}),_0x58f833['for']('upcast')['elementToElement']({'view':{'name':'span','attributes':'data-ck-merge-field'},'model':(_0xfeff68,{writer:_0x591bac})=>_0x591bac['createElement']('mergeField',{'id':_0xfeff68['getAttribute']('data-ck-merge-field')})}),_0x58f833['for']('upcast')['elementToElement']({'view':{'name':'div','attributes':'data-ck-merge-field'},'model':(_0x5d907c,{writer:_0x3e93aa})=>_0x3e93aa['createElement']('mergeFieldBlock',{'id':_0x5d907c['getAttribute']('data-ck-merge-field')})}),_0x58f833['for']('upcast')['add'](this['_upcastSrcAttributeFromClipboard']()),_0x58f833['for']('editingDowncast')['elementToElement']({'model':'mergeField','view':(_0x474713,{writer:_0x15e317})=>this['_createMergeFieldWidget'](_0x474713,_0x15e317,'text')}),_0x58f833['for']('dataDowncast')['elementToElement']({'model':'mergeField','view':(_0x3b2f0c,{writer:_0x3097f2,options:_0x48084d})=>this['_createTextualMergeField'](_0x3b2f0c,_0x3097f2,_0x48084d)}),_0x58f833['for']('editingDowncast')['elementToElement']({'model':'mergeFieldBlock','view':(_0x2d3606,{writer:_0x512982})=>this['_createMergeFieldWidget'](_0x2d3606,_0x512982,'block')}),_0x58f833['for']('dataDowncast')['elementToElement']({'model':'mergeFieldBlock','view':(_0xdd6d7d,{writer:_0x296885,options:_0xe2f4be})=>this['_createTextualMergeField'](_0xdd6d7d,_0x296885,_0xe2f4be)}),_0x58f833['for']('editingDowncast')['add'](this['_downcastSrcAttributeToEditing']('imageBlock'))['add'](this['_downcastSrcAttributeToEditing']('imageInline')),_0x58f833['for']('dataDowncast')['add'](this['_downcastSrcAttributeToData']('imageBlock'))['add'](this['_downcastSrcAttributeToData']('imageInline'));}['_upcastSrcAttributeFromClipboard'](){return _0x3cb4fc=>{_0x3cb4fc['on']('element:img',(_0x1cdc40,_0x2b7134,_0x1ed8d9)=>{_0x1ed8d9['consumable']['test'](_0x2b7134['viewItem'],{'attributes':'data-ck-merge-field'})&&(_0x1ed8d9['writer']['setAttribute']('src',this['wrapInAffixes'](_0x2b7134['viewItem']['getAttribute']('data-ck-merge-field')),_0x2b7134['modelCursor']['nodeBefore']),_0x1ed8d9['consumable']['consume'](_0x2b7134['viewItem'],{'attributes':'data-ck-merge-field'}));},{'priority':'low'});};}['_downcastSrcAttributeToData'](_0x211086){const _0x232444=this['editor']['plugins']['get'](ckeditor5['ImageUtils']),_0x544e96=(_0xde8028,_0x12995f,_0x56b801)=>{if(!0x1!==_0x56b801['consumable']['test'](_0x12995f['item'],_0xde8028['name']))return;if(!String(_0x12995f['attributeNewValue'])['match'](this['_mergeFieldRegExp']))return;const _0x5f2595=_0x56b801['writer'],_0x575b43=_0x56b801['mapper']['toViewElement'](_0x12995f['item']),_0x3dd9c3=_0x232444['findViewImgElement'](_0x575b43),_0x25248b=String(_0x12995f['attributeNewValue']),_0x41bb33=this['unwrapAffixes'](_0x25248b),_0x2b4069=_0x56b801['options']['mergeFieldsData'];if(_0x56b801['options']['isClipboardPipeline']&&'$labels'!==this['previewMode']){let _0x4318e5;return _0x4318e5='$defaultValues'===this['previewMode']?this['getMergeFieldDefaultValue'](_0x41bb33)||this['getLabel'](_0x41bb33)||this['wrapInAffixes'](_0x41bb33):this['getMergeFieldValue'](_0x41bb33,this['previewMode'])||this['getMergeFieldDefaultValue'](_0x41bb33)||this['getLabel'](_0x41bb33)||this['wrapInAffixes'](_0x41bb33),_0x5f2595['setAttribute']('data-ck-merge-field',_0x41bb33,_0x3dd9c3),void _0x5f2595['setAttribute'](_0x12995f['attributeKey'],_0x4318e5,_0x3dd9c3);}const _0x3c2c3b=_0x2b4069&&_0x2b4069[_0x41bb33]?_0x2b4069[_0x41bb33]:_0x25248b;_0x5f2595['setAttribute'](_0x12995f['attributeKey'],_0x3c2c3b,_0x3dd9c3);};return _0x120365=>{_0x120365['on']('attribute:src:'+_0x211086,_0x544e96,{'priority':'low'});};}['_downcastSrcAttributeToEditing'](_0x1a9272){const _0x288e65=this['editor']['plugins']['get'](ckeditor5['ImageUtils']),_0x5a5859=(_0x57dd5c,_0x53661e,_0x4c9585)=>{if(!0x1!==_0x4c9585['consumable']['test'](_0x53661e['item'],_0x57dd5c['name']))return;if(!String(_0x53661e['attributeNewValue'])['match'](this['_mergeFieldRegExp']))return;const _0x3d9129=_0x4c9585['writer'],_0xdf5016=_0x4c9585['mapper']['toViewElement'](_0x53661e['item']),_0x42a6dd=_0x288e65['findViewImgElement'](_0xdf5016),_0x2bc83b=String(_0x53661e['attributeNewValue']),_0x104bf1=this['unwrapAffixes'](_0x2bc83b),_0x2734ed=this['getMergeFieldDefaultValue'](_0x104bf1),_0xe86c33='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAAtJREFUGFdjYAACAAAFAAGq1chRAAAAAElFTkSuQmCC';let _0x26c1dd,_0x311dd5='',_0x560e3d='';if('$labels'===this['previewMode'])_0x26c1dd=_0xe86c33;else{if('$defaultValues'===this['previewMode'])_0x2734ed?(_0x26c1dd=_0x2734ed,_0x560e3d='\x20ck-merge-field-image_with-value'):(_0x26c1dd=_0xe86c33,_0x311dd5='WARNING_MISSING_DEFAULT_VALUE',_0x560e3d='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_no-default');else{const _0x5527c2=this['getMergeFieldValue'](_0x104bf1,this['previewMode']);_0x5527c2?(_0x26c1dd=_0x5527c2,_0x560e3d='\x20ck-merge-field-image_with-value'):_0x2734ed?(_0x26c1dd=_0x2734ed,_0x560e3d='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_default-value-used',_0x311dd5='WARNING_MISSING_DATA_USED_DEFAULT_VALUE'):(_0x26c1dd=_0xe86c33,_0x560e3d='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_missing-data',_0x311dd5='WARNING_MISSING_DATA');}}if(_0x3d9129['addClass']('ck-merge-field-image'+_0x560e3d,_0xdf5016),_0x3d9129['setAttribute'](_0x53661e['attributeKey'],_0x26c1dd,_0x42a6dd),'$labels'===this['previewMode']){const _0x93652c='imageInline'===_0x1a9272?'span':'div',_0x407544=this['_mergeFieldPrefix'],_0x3e4bbe=this['_mergeFieldSuffix'],_0x4bcac6=_0x3d9129['createContainerElement'](_0x93652c,{'class':'ck-merge-field','data-cke-tooltip-instant':'true'},[_0x3d9129['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x1bf5ff){const _0x161b03=this['toDomElement'](_0x1bf5ff);return _0x161b03['innerHTML']=_0x407544,_0x161b03;}),_0x3d9129['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x3d9129['createText'](this['getLabel'](_0x104bf1)||_0x104bf1)),_0x3d9129['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x4f923e){const _0x76014=this['toDomElement'](_0x4f923e);return _0x76014['innerHTML']=_0x3e4bbe,_0x76014;})]);_0x3d9129['insert'](_0x3d9129['createPositionAt'](_0xdf5016,'end'),_0x4bcac6),_0x3d9129['setAttribute']('data-cke-tooltip-text',this['getLabel'](_0x104bf1)||_0x104bf1,_0x4bcac6);}else{if(_0x311dd5&&['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0x311dd5)){const _0x395881='imageInline'===_0x1a9272?'span':'div',_0x43388b=_0x560e3d['replace'](/ck-merge-field-image/g,'ck-merge-field'),_0x1f5b21=_0x3d9129['createContainerElement'](_0x395881,{'class':'ck-merge-field'+_0x43388b,'data-cke-tooltip-instant':'true'},[_0x3d9129['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x3d9129['createText'](this['getLabel'](_0x104bf1)||_0x104bf1))]),_0x578b44=_0x3d9129['createUIElement']('span',{'class':'ck-merge-field__icon'},function(_0xd71482){const _0x47cc6b=this['toDomElement'](_0xd71482),_0x3db920=new ckeditor5['IconView']();return _0x3db920['set']({'content':ckeditor5['IconWarning']}),_0x3db920['render'](),_0x47cc6b['appendChild'](_0x3db920['element']),_0x47cc6b;});_0x3d9129['insert'](_0x3d9129['createPositionAt'](_0x1f5b21,'end'),_0x578b44),_0x3d9129['insert'](_0x3d9129['createPositionAt'](_0xdf5016,'end'),_0x1f5b21),_0x3d9129['setCustomProperty']('mergeFieldStatus',_0x311dd5,_0x1f5b21),_0x3d9129['setAttribute']('data-cke-tooltip-text',this['getLabel'](_0x104bf1)||_0x104bf1,_0x1f5b21);}}_0x3d9129['setAttribute']('data-merge-field-name',_0x104bf1,_0xdf5016),_0x311dd5&&_0x3d9129['setCustomProperty']('mergeFieldStatus',_0x311dd5,_0xdf5016);};return _0x19960a=>{_0x19960a['on']('attribute:src:'+_0x1a9272,_0x5a5859,{'priority':'low'});};}['_setupTooltipsTogglingForImageMergeField'](_0x1823c2,_0x4e23ca){if(!_0x4e23ca['target'])return null;const _0x3b2c46=_0x4e23ca['target']['parentElement'];return _0x3b2c46&&_0x3b2c46['classList']['contains']('ck-merge-field-image')?new ckeditor5['ResizeObserver'](_0x3b2c46,_0x30ea9=>{const _0x30b0f7=_0x30ea9['target'],_0x1a812f=_0x30b0f7['querySelector']('.ck-merge-field'),_0x220de2=_0x30b0f7['querySelector']('.ck-merge-field__content');_0x1a812f&&_0x220de2&&(_0x220de2['scrollWidth']>_0x220de2['getBoundingClientRect']()['width']?_0x1a812f['removeAttribute']('data-cke-tooltip-disabled'):_0x1a812f['setAttribute']('data-cke-tooltip-disabled','true'));}):null;}['_createMergeFieldWidget'](_0x3a13a4,_0x214875,_0x9bd0f7){const {label:_0x5d3e06,classes:_0x4b0195,status:_0x4bb414,height:_0x558d6b}=this['_prepareViewElementData'](_0x3a13a4),_0x585eaf=this['_mergeFieldPrefix'],_0x1b97b2=this['_mergeFieldSuffix'],_0x55d37d=this['editor']['config']['get']('mergeFields.sanitizeHtml'),_0x4be78d='text'===_0x9bd0f7?'span':'div';let _0xe03c13;if('$labels'===this['previewMode'])_0xe03c13=_0x214875['createContainerElement'](_0x4be78d,{'class':_0x4b0195},[_0x214875['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x5ba23c){const _0x4ee9ed=this['toDomElement'](_0x5ba23c);return _0x4ee9ed['innerHTML']=_0x585eaf,_0x4ee9ed;}),_0x214875['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x214875['createText'](String(_0x5d3e06))),_0x214875['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x584195){const _0x1c776c=this['toDomElement'](_0x584195);return _0x1c776c['innerHTML']=_0x1b97b2,_0x1c776c;})]);else{if(_0x4bb414){const _0x17ca6a=this['_shouldPreviewHtmlValues']?_0x214875['createRawElement']('span',{'class':'ck-merge-field__content'},function(_0x3db3df,_0x42d9d1){_0x42d9d1['setContentOf'](_0x3db3df,_0x55d37d(_0x5d3e06)['html']);}):_0x214875['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x214875['createText'](_0x5d3e06));if(_0xe03c13=_0x214875['createContainerElement'](_0x4be78d,{'class':_0x4b0195},[_0x17ca6a]),'text'===_0x9bd0f7||['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0x4bb414)){const _0x3964dc=_0x214875['createUIElement']('span',{'class':'ck-merge-field__icon'},function(_0x2df600){const _0x5b86ce=this['toDomElement'](_0x2df600),_0x83abf3=new ckeditor5['IconView']();return _0x83abf3['set']({'content':ckeditor5['IconWarning']}),_0x83abf3['render'](),_0x5b86ce['appendChild'](_0x83abf3['element']),_0x5b86ce;});_0x214875['insert'](_0x214875['createPositionAt'](_0xe03c13,'end'),_0x3964dc);}_0x214875['setCustomProperty']('mergeFieldStatus',_0x4bb414,_0xe03c13);}else{const _0x4081e8=this['_shouldPreviewHtmlValues']?_0x214875['createRawElement'](_0x4be78d,{},function(_0x51d559,_0x1dda01){_0x1dda01['setContentOf'](_0x51d559,_0x55d37d(_0x5d3e06)['html']);}):_0x214875['createText'](_0x5d3e06);_0xe03c13=_0x214875['createContainerElement'](_0x4be78d,{'class':_0x4b0195},_0x4081e8);}}if('block'===_0x9bd0f7){const _0x34aad1=_0x214875['createContainerElement']('div',{'class':'ck-merge-field-block'},[_0xe03c13]);if(('$labels'===this['previewMode']||_0x4bb414&&['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0x4bb414))&&_0x214875['setAttribute']('style','height:\x20'+_0x558d6b+'px',_0x34aad1),_0xe03c13['hasClass']('ck-merge-field_with-value'))_0x214875['addClass']('ck-merge-field-block_with-value',_0x34aad1);else{if(_0xe03c13['hasClass']('ck-merge-field_with-warning')){for(const _0x3aa865 of _0xe03c13['getClassNames']())if('ck-merge-field'!==_0x3aa865){const _0x41469f=_0x3aa865['replace']('ck-merge-field','ck-merge-field-block');_0x214875['addClass'](_0x41469f,_0x34aad1);}_0x214875['setCustomProperty']('mergeFieldStatus',_0x4bb414,_0x34aad1);}}return _0x214875['setCustomProperty']('mergeFieldBlock',!0x0,_0x34aad1),_0x214875['setAttribute']('data-merge-field-name',_0x3a13a4['getAttribute']('id'),_0x34aad1),ckeditor5['toWidget'](_0x34aad1,_0x214875,{'hasSelectionHandle':!0x0});}return _0x214875['setCustomProperty']('mergeField',!0x0,_0xe03c13),_0x214875['setAttribute']('data-merge-field-name',_0x3a13a4['getAttribute']('id'),_0xe03c13),ckeditor5['toWidget'](_0xe03c13,_0x214875);}['_prepareViewElementData'](_0x4fa536){const _0x55bb96=_0x4fa536['getAttribute']('id'),_0x3e4831=this['getDefinition'](_0x55bb96);if(!_0x3e4831)return'$labels'===this['previewMode']?{'label':_0x55bb96,'classes':'ck-merge-field'}:{'label':_0x55bb96,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-definition','status':'WARNING_MISSING_DATA'};const _0x1448d0=this['getLabel'](_0x55bb96)||_0x55bb96,_0x2d7f6d=this['getMergeFieldDefaultValue'](_0x55bb96),_0x17d379=this['getMergeFieldHeight'](_0x55bb96);if('$labels'===this['previewMode'])return{'label':_0x1448d0,'height':_0x17d379,'classes':'ck-merge-field'};if('$defaultValues'===this['previewMode'])return _0x2d7f6d?{'label':_0x2d7f6d,'height':_0x17d379,'classes':'ck-merge-field\x20ck-merge-field_with-value'}:{'label':_0x1448d0,'height':_0x17d379,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_no-default','status':'WARNING_MISSING_DEFAULT_VALUE'};const _0x3527e5=this['getMergeFieldValue'](_0x3e4831['id'],this['previewMode']);return _0x3527e5?{'label':_0x3527e5,'height':_0x17d379,'classes':'ck-merge-field\x20ck-merge-field_with-value'}:_0x2d7f6d?{'label':_0x2d7f6d,'height':_0x17d379,'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':_0x1448d0,'height':_0x17d379,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-data','status':'WARNING_MISSING_DATA'};}['_createTextualMergeField'](_0x5ce2ba,_0x1f3e13,_0x3bd460){const _0x45d7ff=_0x5ce2ba['getAttribute']('id');let _0x10c4c5;if(_0x3bd460['isClipboardPipeline']&&'$labels'!==this['previewMode'])return this['_downcastForClipboard'](_0x45d7ff,_0x1f3e13);const _0x1ef419=_0x3bd460['mergeFieldsData'],_0x524d66=_0x1ef419&&_0x1ef419[_0x45d7ff]?_0x1ef419[_0x45d7ff]:this['wrapInAffixes'](_0x45d7ff);if(_0x1ef419)_0x10c4c5=_0x1f3e13['createRawElement']('span',{},function(_0x5a029d,_0x28640d){_0x28640d['setContentOf'](_0x5a029d,String(_0x524d66));});else{_0x10c4c5=_0x1f3e13['createContainerElement']('span');const _0x1cb26d=_0x1f3e13['createText'](_0x524d66);_0x1f3e13['insert'](_0x1f3e13['createPositionAt'](_0x10c4c5,'end'),_0x1cb26d);}return _0x1f3e13['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x10c4c5),_0x10c4c5;}['_downcastForClipboard'](_0x4bc3b,_0x577653){const _0x3fc7e1='block'===this['getMergeFieldType'](_0x4bc3b)?'div':'span';let _0x23e7d8,_0x3ac949;_0x23e7d8='$defaultValues'===this['previewMode']?this['getMergeFieldDefaultValue'](_0x4bc3b)||this['getLabel'](_0x4bc3b)||this['wrapInAffixes'](_0x4bc3b):this['getMergeFieldValue'](_0x4bc3b,this['previewMode'])||this['getMergeFieldDefaultValue'](_0x4bc3b)||this['getLabel'](_0x4bc3b)||this['wrapInAffixes'](_0x4bc3b);const _0x49c76=this['editor']['config']['get']('mergeFields.sanitizeHtml');return _0x3ac949=this['_shouldPreviewHtmlValues']?_0x577653['createRawElement'](_0x3fc7e1,{'data-ck-merge-field':_0x4bc3b},function(_0x405647,_0x16963f){_0x16963f['setContentOf'](_0x405647,_0x49c76(_0x23e7d8)['html']);}):_0x577653['createContainerElement'](_0x3fc7e1,{'data-ck-merge-field':_0x4bc3b},_0x577653['createText'](_0x23e7d8)),_0x3ac949;}['_validatePreviewMode'](_0x442306){if(!this['availablePreviewModes']['includes'](_0x442306))throw new ckeditor5['CKEditorError']('merge-fields-invalid-preview-mode-set',this,{'availablePreviewModes':this['availablePreviewModes'],'previewMode':_0x442306});}['_trackAddedMergeFields'](){for(const _0x3c9caa of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x3c9caa['type']||'$text'===_0x3c9caa['name'])continue;if('mergeField'===_0x3c9caa['name']||'mergeFieldBlock'===_0x3c9caa['name']){this['_mergeFieldElements']['add'](_0x3c9caa['position']['nodeAfter']);continue;}if('imageInline'===_0x3c9caa['name']||'imageBlock'===_0x3c9caa['name']&&_0x3c9caa['attributes']['get']('src')&&String(_0x3c9caa['attributes']['get']('src'))['match'](this['_mergeFieldRegExp'])){this['_mergeFieldElements']['add'](_0x3c9caa['position']['nodeAfter']);continue;}const _0x4482ee=this['editor']['model']['createRangeIn'](_0x3c9caa['position']['nodeAfter']);for(const _0x3e1258 of _0x4482ee['getItems']())_0x3e1258['is']('element')&&this['isMergeField'](_0x3e1258)&&this['_mergeFieldElements']['add'](_0x3e1258);}}['_registerConversionPostFixer'](){const _0x91b1f0=this['editor'];_0x91b1f0['model']['document']['registerPostFixer'](_0x5170fc=>{if(!_0x5170fc['batch']['isLocal'])return!0x1;const _0x466ca0=[],_0x2d0f44=new Set(),_0x1b0e10=this['_mergeFieldRegExp'];let _0x466a72=!0x1;for(const _0x33076f of _0x91b1f0['model']['document']['differ']['getChanges']())if('insert'===_0x33076f['type']||'remove'===_0x33076f['type']){let _0x14ad7e='$text'==_0x33076f['name']?_0x33076f['position']['parent']:_0x33076f['position']['nodeAfter'];if(!_0x14ad7e)continue;_0x14ad7e['is']('$text')&&(_0x14ad7e=_0x14ad7e['parent']),_0x1ca361(_0x14ad7e);}for(const _0x514bb3 of _0x466ca0['reverse']()){const {match:_0x15963c,item:_0x4e2fa9}=_0x514bb3,_0x1c69d5=_0x5170fc['createPositionAt'](_0x4e2fa9,_0x15963c['index']),_0x55fed2=_0x1c69d5['getShiftedBy'](_0x15963c[0x0]['length']),_0x1ac61c=_0x5170fc['createRange'](_0x1c69d5,_0x55fed2),_0x29db50=_0x15963c[0x0],_0x2b6bf8=this['unwrapAffixes'](_0x29db50),_0x2a8e98=_0x265324(_0x1ac61c),_0x467f2f=this['getMergeFieldType'](_0x2b6bf8);if(_0x34997e['test'](_0x2b6bf8)){if(_0x2a8e98['set']('id',_0x2b6bf8),'block'===_0x467f2f){const _0x1d6f45=_0x5170fc['createElement']('mergeFieldBlock',{'id':_0x2b6bf8});_0x5170fc['remove'](_0x1ac61c),_0x91b1f0['model']['insertObject'](_0x1d6f45,null,null,{'setSelection':'on','findOptimalPosition':void 0x0});}else{if('image'===_0x467f2f){const _0x2d4a44=_0x5170fc['createElement']('imageBlock',{'src':this['wrapInAffixes'](_0x2b6bf8)});_0x5170fc['remove'](_0x1ac61c),_0x91b1f0['model']['insertObject'](_0x2d4a44,null,null,{'setSelection':'on','findOptimalPosition':void 0x0});}else{const _0x5d8199=_0x5170fc['createElement']('mergeField',_0x2a8e98);_0x91b1f0['model']['schema']['checkChild'](_0x1ac61c['start'],'mergeField')?_0x91b1f0['model']['insertObject'](_0x5d8199,_0x1ac61c):_0x5170fc['remove'](_0x1ac61c);}}_0x466a72=!0x0;}}return _0x466a72;function _0x1ca361(_0x16bfab){let _0x1a6b35='',_0x5a6060=0x0;if(!_0x2d0f44['has'](_0x16bfab))for(const _0x5567dd of _0x16bfab['getChildren']()){const _0x2995d4=_0x5567dd['nextSibling'];if(_0x5567dd['is']('$text')&&(''===_0x1a6b35&&_0x5567dd['startOffset']&&(_0x5a6060=_0x5567dd['startOffset']),_0x1a6b35+=_0x5567dd['data']),!_0x2995d4||_0x2995d4['is']('element')){for(const _0x86906f of _0x1a6b35['matchAll'](_0x1b0e10))_0x86906f['index']=_0x86906f['index']+_0x5a6060,_0x466ca0['push']({'match':_0x86906f,'item':_0x16bfab});_0x2d0f44['add'](_0x16bfab),_0x1a6b35='';}_0x5567dd['is']('element')&&_0x1ca361(_0x5567dd);}}function _0x265324(_0x2810a2){const _0x252b57=_0x2810a2['getItems'](),_0x31816d=_0x252b57['next']()['value'],_0xa29555=new Map(_0x31816d['getAttributes']());for(const _0x4547db of _0x252b57)for(const [_0x1e78a5,_0x411bf0]of _0xa29555)_0x4547db['getAttribute'](_0x1e78a5)!==_0x411bf0&&_0xa29555['delete'](_0x1e78a5);return _0xa29555;}});}['_disableCommandOnMergeFields'](_0x7b90dc){const _0x25bfc2=this['editor'],_0xe4b19a=_0x25bfc2['commands']['get'](_0x7b90dc);_0xe4b19a&&_0xe4b19a['on']('set:isEnabled',(_0x36980c,_0x28ab59,_0x43083c)=>{if(0x1==_0x43083c){const _0x44ec07=_0x25bfc2['model']['document']['selection']['getSelectedElement']();_0x44ec07&&this['isMergeField'](_0x44ec07)&&(_0x36980c['return']=!0x1,_0x36980c['stop']());}});}}async function _0x28d129(_0x250e6a){const _0x53d2bd=_0x500565([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]),_0xdf6920=window[_0x500565([0x44,0x61,0x74,0x65])][_0x500565([0x6e,0x6f,0x77])](),_0x3be832=_0x250e6a[_0x500565([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x156d4e=new window[(_0x500565([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d426f=>{_0x3be832[_0x500565([0x6f,0x6e,0x63,0x65])](_0x500565([0x72,0x65,0x61,0x64,0x79]),_0x3d426f);}),_0x21b7ab={[_0x500565([0x6b,0x74,0x79])]:_0x500565([0x45,0x43]),[_0x500565([0x75,0x73,0x65])]:_0x500565([0x73,0x69,0x67]),[_0x500565([0x63,0x72,0x76])]:_0x500565([0x50,0x2d,0x32,0x35,0x36]),[_0x500565([0x78])]:_0x500565([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]),[_0x500565([0x79])]:_0x500565([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]),[_0x500565([0x61,0x6c,0x67])]:_0x500565([0x45,0x53,0x32,0x35,0x36])},_0x440504=_0x3be832[_0x500565([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x500565([0x67,0x65,0x74])](_0x500565([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x4f9be2=await(async function(){let _0x274625,_0x19c430=null,_0x2c7228=null;try{if(_0x440504==_0x500565([0x47,0x50,0x4c]))return _0x500565([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x274625=(function(){const _0x247396=_0x440504[_0x500565([0x73,0x70,0x6c,0x69,0x74])](_0x500565([0x2e]));if(0x3!=_0x247396[_0x500565([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x2f44fd=_0x247396[0x1];return _0x52ac96(_0x2f44fd);function _0x52ac96(_0x59ef2){const _0x2e9b31=_0x399855(_0x59ef2);return _0x2e9b31&&_0x2875d7()?_0x2e9b31:null;function _0x2875d7(){const _0x1c3590=_0x2e9b31[_0x500565([0x6a,0x74,0x69])],_0x5e13e7=window[_0x500565([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1c3590[_0x500565([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1c3590[_0x500565([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2066f9={..._0x2e9b31,[_0x500565([0x6a,0x74,0x69])]:_0x1c3590[_0x500565([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1c3590[_0x500565([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2066f9[_0x500565([0x76,0x63])],_0x35f24f(_0x2066f9)==_0x5e13e7;}}}()),!_0x274625)return _0x500565([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x274625[_0x500565([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2c7228=function(_0x21da8c,_0x504da2){return new window[(_0x500565([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20937b=>{if(_0x16d1d3())return _0x20937b(_0x500565([0x56,0x61,0x6c,0x69,0x64]));_0x358b32(),_0x3be832[_0x500565([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x500565([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3da023=!0x1;const _0x5339c7=ckeditor5['uid']();function _0x452373(_0x1d5769){return!!_0x1d5769&&(typeof _0x1d5769===_0x500565([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1d5769===_0x500565([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1d5769[_0x500565([0x74,0x68,0x65,0x6e])]===_0x500565([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1d5769[_0x500565([0x63,0x61,0x74,0x63,0x68])]===_0x500565([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5ccc5f(_0x21a575){_0x28c517(_0x21a575)[_0x500565([0x74,0x68,0x65,0x6e])](_0x16d415=>{if(!_0x16d415||_0x16d415[_0x500565([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x500565([0x6f,0x6b]))return _0x500565([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5ad450(_0x35f24f(_0x5339c7+_0x504da2))!=_0x16d415[_0x500565([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x500565([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x500565([0x56,0x61,0x6c,0x69,0x64]);})[_0x500565([0x74,0x68,0x65,0x6e])](_0x30323c=>(_0x3a53a4(),_0x30323c),()=>{const _0x2330be=_0x171ccd();return null==_0x2330be?(_0x3a53a4(),_0x500565([0x56,0x61,0x6c,0x69,0x64])):_0x500565(_0xdf6920-_0x2330be>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x500565([0x74,0x68,0x65,0x6e])](_0x20937b)[_0x500565([0x63,0x61,0x74,0x63,0x68])](()=>{_0x20937b(_0x500565([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5a0f96=0x36ee80;function _0x3a53a4(){const _0x3e7b70=_0x500565([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ad450(_0x35f24f(_0x21da8c)),_0x766273=_0x26e5a1(_0x5ad450(window[_0x500565([0x4d,0x61,0x74,0x68])][_0x500565([0x63,0x65,0x69,0x6c])](_0xdf6920/_0x5a0f96)));window[_0x500565([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x500565([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3e7b70,_0x766273);}function _0x171ccd(){const _0x2dd34f=_0x500565([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ad450(_0x35f24f(_0x21da8c)),_0x9c061a=window[_0x500565([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x500565([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2dd34f);return _0x9c061a?window[_0x500565([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26e5a1(_0x9c061a),0x10)*_0x5a0f96:null;}function _0x28c517(_0x305409){return new window[(_0x500565([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4fcfb8,_0x1ecacb)=>{_0x305409[_0x500565([0x74,0x68,0x65,0x6e])](_0x4fcfb8,_0x1ecacb),window[_0x500565([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1ecacb,0x1d4c0);});}}_0x3be832[_0x500565([0x6f,0x6e])](_0x500565([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5baf5d,_0x29f7f4)=>{if(_0x29f7f4[0x0]!=_0x21da8c)return _0x20937b(_0x500565([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x29f7f4[0x1]={..._0x29f7f4[0x1],[_0x500565([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5339c7};},{[_0x500565([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x500565([0x68,0x69,0x67,0x68])}),_0x3be832[_0x500565([0x6f,0x6e])](_0x500565([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x34aa6b=>{_0x452373(_0x34aa6b[_0x500565([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3da023=!0x0,_0x5ccc5f(_0x34aa6b[_0x500565([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x500565([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x500565([0x6c,0x6f,0x77])}),_0x156d4e[_0x500565([0x74,0x68,0x65,0x6e])](()=>{_0x3da023||_0x20937b(_0x500565([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x16d1d3(){return _0x3be832[_0x500565([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x500565([0x76,0x69,0x65,0x77])][_0x500565([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x500565([0x61,0x75,0x74,0x6f]);}function _0x358b32(){_0x3be832[_0x500565([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x500565([0x76,0x69,0x65,0x77])][_0x500565([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x500565([0x61,0x75,0x74,0x6f]);}}(_0x274625[_0x500565([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x274625[_0x500565([0x6a,0x74,0x69])]));const _0xb43660=await(async function(){let _0x2d48b0=!0x0;try{const _0x3eb03b=_0x440504[_0x500565([0x73,0x70,0x6c,0x69,0x74])](_0x500565([0x2e])),[_0x52612c,_0x2e241a,_0x1a9da7]=_0x3eb03b;return _0x388eef(_0x52612c),await _0x3997b4(_0x52612c,_0x2e241a,_0x1a9da7),_0x2d48b0;}catch{return!0x1;}function _0x388eef(_0x45528d){const _0x4b778a=_0x399855(_0x45528d);_0x4b778a&&_0x4b778a[_0x500565([0x61,0x6c,0x67])]==_0x500565([0x45,0x53,0x32,0x35,0x36])||(_0x2d48b0=!0x1);}async function _0x3997b4(_0x442849,_0x31a2f7,_0x4876e1){const _0x3b8f0e=window[_0x500565([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x500565([0x66,0x72,0x6f,0x6d])](_0x46c05f(_0x4876e1),_0x51ab8b=>_0x51ab8b[_0x500565([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x42f4ec=new window[(_0x500565([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x500565([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x442849+_0x500565([0x2e])+_0x31a2f7),_0x1e2051=window[_0x500565([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x500565([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1e2051)return;const _0x49b69b=await _0x1e2051[_0x500565([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x500565([0x6a,0x77,0x6b]),_0x21b7ab,{[_0x500565([0x6e,0x61,0x6d,0x65])]:_0x500565([0x45,0x43,0x44,0x53,0x41]),[_0x500565([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x500565([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x500565([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1e2051[_0x500565([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x500565([0x6e,0x61,0x6d,0x65])]:_0x500565([0x45,0x43,0x44,0x53,0x41]),[_0x500565([0x68,0x61,0x73,0x68])]:{[_0x500565([0x6e,0x61,0x6d,0x65])]:_0x500565([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x49b69b,_0x3b8f0e,_0x42f4ec)||(_0x2d48b0=!0x1);}}());return _0xb43660?(function(){const _0x163f37=_0x274625[_0x500565([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x163f37)return!0x1;if(_0x163f37[_0x500565([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x500565([0x2a])))return!0x0;if(_0x163f37[_0x500565([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x500565([0x4d,0x46])))return!0x0;return!0x1;}())?(function(){const _0x27922c=[_0x500565([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x500565([0x74,0x72,0x69,0x61,0x6c])][_0x500565([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x274625[_0x500565([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xdf6920/0x3e8:0x6a03bf00;return _0x274625[_0x500565([0x65,0x78,0x70])]<_0x27922c;}())?_0x500565([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x5dcf73=_0x274625[_0x500565([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5dcf73||0x0==_0x5dcf73[_0x500565([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x382a15}=new URL(window[_0x500565([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5dcf73[_0x500565([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x382a15))return!0x0;const _0x5eea9a=_0x382a15[_0x500565([0x73,0x70,0x6c,0x69,0x74])](_0x500565([0x2e]));return _0x5dcf73[_0x500565([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3bc3e6=>_0x3bc3e6[_0x500565([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x500565([0x2a])))[_0x500565([0x6d,0x61,0x70])](_0x3951d3=>_0x3951d3[_0x500565([0x73,0x70,0x6c,0x69,0x74])](_0x500565([0x2e])))[_0x500565([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2bcc71=>_0x2bcc71[_0x500565([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5eea9a[_0x500565([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x500565([0x6d,0x61,0x70])](_0x83543e=>Array(_0x5eea9a[_0x500565([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x83543e[_0x500565([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x500565([0x66,0x69,0x6c,0x6c])](_0x83543e[0x0]===_0x500565([0x2a])?_0x500565([0x2a]):'')[_0x500565([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x83543e))[_0x500565([0x73,0x6f,0x6d,0x65])](_0x21b6fb=>_0x5eea9a[_0x500565([0x65,0x76,0x65,0x72,0x79])]((_0x121a73,_0x423b14)=>_0x21b6fb[_0x423b14]===_0x121a73||_0x21b6fb[_0x423b14]===_0x500565([0x2a])));}())?(_0x274625[_0x500565([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x500565([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x19c430=function(_0x535868){const _0x4590e2=new window[(_0x500565([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x387fde=>setTimeout(_0x387fde,0x93ecc)),_0x2db32e=_0x156d4e[_0x500565([0x74,0x68,0x65,0x6e])](()=>new window[(_0x500565([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4450d9=>{let _0x50f488=0x0;_0x3be832[_0x500565([0x6d,0x6f,0x64,0x65,0x6c])][_0x500565([0x6f,0x6e])](_0x500565([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x439198,_0x4d9606)=>{_0x4d9606[0x0][_0x500565([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x50f488++,0x5e8==_0x50f488&&(_0x4450d9(),_0x439198[_0x500565([0x6f,0x66,0x66])]());});})),_0xef288a=[_0x4590e2,_0x2db32e];return window[_0x500565([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x500565([0x72,0x61,0x63,0x65])](_0xef288a)[_0x500565([0x74,0x68,0x65,0x6e])](()=>_0x535868);}(_0x500565([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x19c430&&_0x2c7228)return new window[(_0x500565([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x216fdc,_0x60e934)=>{_0x19c430[_0x500565([0x74,0x68,0x65,0x6e])](_0x216fdc,_0x60e934),_0x2c7228[_0x500565([0x74,0x68,0x65,0x6e])](_0xdb3b9a=>{_0xdb3b9a!=_0x500565([0x56,0x61,0x6c,0x69,0x64])&&_0x216fdc(_0xdb3b9a);},_0x60e934);});return _0x19c430||_0x2c7228||_0x500565([0x56,0x61,0x6c,0x69,0x64]);}())):_0x500565([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x500565([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x500565([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x500565([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x399855(_0x1c6e8e){return _0x1c6e8e[_0x500565([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x500565([0x65,0x79]))?JSON[_0x500565([0x70,0x61,0x72,0x73,0x65])](_0x46c05f(_0x1c6e8e)):null;}function _0x46c05f(_0x22a9ee){return window[_0x500565([0x61,0x74,0x6f,0x62])](_0x22a9ee[_0x500565([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x500565([0x2b]))[_0x500565([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x500565([0x2f])));}function _0x35f24f(_0x59382b){let _0x11b093=0x1505;function _0xb41e3c(_0xf931de){for(let _0x1cca63=0x0;_0x1cca63<_0xf931de[_0x500565([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1cca63++){const _0x156bbc=_0xf931de[_0x500565([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1cca63);_0x11b093=(_0x11b093<<0x5)+_0x11b093+_0x156bbc,_0x11b093&=_0x11b093;}}return function _0x15ce8(_0x24e062){Array[_0x500565([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x24e062)?_0x24e062[_0x500565([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x15ce8):_0x24e062&&typeof _0x24e062==_0x500565([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x500565([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x24e062)[_0x500565([0x73,0x6f,0x72,0x74])]()[_0x500565([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xce7580,_0x53d835])=>{_0xb41e3c(_0xce7580),_0x15ce8(_0x53d835);}):_0xb41e3c(window[_0x500565([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x24e062));}(_0x59382b),_0x11b093>>>0x0;}function _0x5ad450(_0x471995){return _0x471995[_0x500565([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x500565([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x500565([0x30]));}function _0x26e5a1(_0x4a7c42){return _0x4a7c42[_0x500565([0x73,0x70,0x6c,0x69,0x74])]('')[_0x500565([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x500565([0x6a,0x6f,0x69,0x6e])]('');}function _0x392045(){}function _0x500565(_0x39d2f6){return _0x39d2f6['map'](_0xf5b2b8=>String['fromCharCode'](_0xf5b2b8))['join']('');}!function(_0x1e2022){const _0x34bf4b=(function(){const _0x4b1a14=window[_0x500565([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x500565([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x500565([0x6e,0x6f,0x77])]())[_0x500565([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x500565([0x2e]),'');let _0x5936a0=_0x500565([0x63]);for(let _0x3d12dc=0x0;_0x3d12dc<_0x4b1a14[_0x500565([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d12dc+=0x2){let _0x280019=window[_0x500565([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b1a14[_0x500565([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3d12dc,_0x3d12dc+0x2));_0x280019>=_0x53d2bd[_0x500565([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x280019-=_0x53d2bd[_0x500565([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5936a0+=_0x53d2bd[_0x280019];}return _0x5936a0;}());_0x3be832[_0x34bf4b]=_0x500565([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1e2022,_0x1e2022!=_0x500565([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x156d4e,_0x3be832[_0x500565([0x6d,0x6f,0x64,0x65,0x6c])][_0x500565([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x392045,_0x3be832[_0x500565([0x6d,0x6f,0x64,0x65,0x6c])][_0x500565([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x392045,_0x3be832[_0x500565([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x500565([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x4f9be2);}class MergeFieldsListView extends ckeditor5['ListView']{['filter'](_0x1d714b){return ckeditor5['filterGroupAndItemNames'](_0x1d714b,this['items']);}}class _0x158a46 extends ckeditor5['View']{constructor(_0x139217){super(_0x139217),this['set']('text','');const _0x42102b=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':_0x42102b['to']('text')}]}]});}}function getTranslation$8(_0x422ea7,_0x219189){const t=_0x422ea7['t'];switch(_0x219189){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 _0x219189;}}class _0x120fbc extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];['_balloon'];['_balloonPanelView']=null;static get['requires'](){return[ckeditor5['Mention'],MergeFieldsEditing,ckeditor5['ContextualBalloon'],ckeditor5['Widget']];}static get['pluginName'](){return'MergeFieldsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1bbee4){super(_0x1bbee4),this['_removeDefaultValuesPreviewIfUnnecessary'](),this['_removeMenuBarButtonIfUnnecessary'](),this['_setupMentionConfiguration']();}['init'](){const _0x1196a4=this['editor'];_0x1196a4['ui']['componentFactory']['add']('insertMergeField',_0x4a1be6=>{const _0x54ab10=createInsertMergeFieldDropdown(_0x4a1be6);return _0x54ab10['bind']('isEnabled')['toMany']([_0x1196a4['commands']['get']('insertMergeField'),_0x1196a4['commands']['get']('insertMergeFieldBlock'),_0x1196a4['commands']['get']('insertMergeFieldImage')],'isEnabled',(..._0x228f6e)=>_0x228f6e['some'](_0x43edd2=>_0x43edd2)),_0x54ab10['once']('change:isOpen',()=>{const _0x448847={'insertInline':_0x1196a4['commands']['get']('insertMergeField'),'insertBlock':_0x1196a4['commands']['get']('insertMergeFieldBlock'),'insertImage':_0x1196a4['commands']['get']('insertMergeFieldImage')},_0x8ae32c=createMergeFieldsListView(_0x4a1be6,_0x1196a4['config']['get']('mergeFields.definitions'),_0x448847);_0x8ae32c['delegate']('execute')['to'](_0x54ab10),_0x54ab10['on']('execute',(_0xf647d4,_0x53294b)=>{const _0x4a1733=_0x1196a4['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x53294b);'image'===_0x4a1733?_0x1196a4['execute']('insertMergeFieldImage',_0x53294b):'block'===_0x4a1733?_0x1196a4['execute']('insertMergeFieldBlock',_0x53294b):_0x1196a4['execute']('insertMergeField',_0x53294b),_0x1196a4['editing']['view']['focus']();});const _0x1e8f65=createMergeFieldsSearchTextView(_0x4a1be6,_0x8ae32c);_0x54ab10['panelView']['children']['add'](_0x1e8f65),_0x54ab10['on']('change:isOpen',(_0xa55223,_0x3b0fa9,_0x19ba0c)=>{_0x19ba0c&&_0x1e8f65['reset']();});}),_0x54ab10;}),_0x1196a4['ui']['componentFactory']['add']('menuBar:insertMergeField',_0x748870=>{const _0x166b0d=new ckeditor5['MenuBarMenuView'](_0x748870),_0x331f46={'insertInline':_0x1196a4['commands']['get']('insertMergeField'),'insertBlock':_0x1196a4['commands']['get']('insertMergeFieldBlock'),'insertImage':_0x1196a4['commands']['get']('insertMergeFieldImage')};_0x166b0d['buttonView']['set']({'label':getTranslation$8(_0x748870,'Merge\x20field'),'icon':ckeditor5['IconInsertMergeField']}),_0x166b0d['bind']('isEnabled')['toMany']([...Object['values'](_0x331f46)],'isEnabled',(..._0x4bdfaf)=>_0x4bdfaf['some'](_0xe446f6=>_0xe446f6));const _0x3bb1b3=[],_0x44de5e=new ckeditor5['MenuBarMenuListView'](_0x748870);for(const _0x11bf43 of _0x1196a4['config']['get']('mergeFields.definitions'))if('groupId'in _0x11bf43){const _0xb95dd5=new ckeditor5['MenuBarMenuListItemView'](_0x748870,_0x166b0d),_0x37e24d=createMenuBarSubmenu(_0x748870,_0x11bf43,_0x331f46);_0xb95dd5['children']['add'](_0x37e24d),_0x37e24d['delegate']('execute')['to'](_0x166b0d),_0x44de5e['items']['add'](_0xb95dd5);}else _0x3bb1b3['push'](_0x11bf43);if(_0x3bb1b3['length']){if(0x0===_0x44de5e['items']['length'])for(const _0x13e4e8 of _0x3bb1b3){let _0x38bad3;_0x38bad3='block'===_0x13e4e8['type']?_0x331f46['insertBlock']:'image'===_0x13e4e8['type']?_0x331f46['insertImage']:_0x331f46['insertInline'];const _0x1d1d22=createMenuBarListItem(_0x748870,_0x13e4e8,_0x166b0d,_0x38bad3);_0x44de5e['items']['add'](_0x1d1d22);}else{const _0x530ed2=new ckeditor5['MenuBarMenuListItemView'](_0x748870,_0x166b0d),_0x25635a=createMenuBarSubmenu(_0x748870,{'groupId':'Other','definitions':_0x3bb1b3},_0x331f46);_0x530ed2['children']['add'](_0x25635a),_0x25635a['delegate']('execute')['to'](_0x166b0d),_0x44de5e['items']['add'](_0x530ed2);}}return _0x166b0d['panelView']['children']['add'](_0x44de5e),_0x166b0d['on']('execute',(_0x2bc38e,_0x57abbe)=>{const _0x33d908=_0x1196a4['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x57abbe);'image'===_0x33d908?_0x1196a4['execute']('insertMergeFieldImage',_0x57abbe):'block'===_0x33d908?_0x1196a4['execute']('insertMergeFieldBlock',_0x57abbe):_0x1196a4['execute']('insertMergeField',_0x57abbe),_0x1196a4['editing']['view']['focus']();}),_0x166b0d;});const _0x1790d9=_0x1196a4['config']['get']('mergeFields.previewModes'),_0x1ad4c3=[];if(_0x1790d9['includes']('$labels')&&_0x1ad4c3['push']({'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':getTranslation$8(this['editor']['locale'],'Labels'),'commandValue':'$labels'})}),_0x1790d9['includes']('$defaultValues')&&_0x1ad4c3['push']({'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':getTranslation$8(this['editor']['locale'],'Default\x20values'),'commandValue':'$defaultValues'})}),_0x1790d9['includes']('$dataSets')){const _0x39f904=_0x1196a4['config']['get']('mergeFields.dataSets');if(_0x39f904['length']){for(const _0x294396 of _0x39f904)_0x1ad4c3['push']({'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':_0x294396['label']||_0x294396['id'],'commandValue':_0x294396['id']})});}}_0x1196a4['ui']['componentFactory']['add']('previewMergeFields',_0x596f73=>{const _0x5182ff=_0x1196a4['commands']['get']('previewMergeFields'),_0xb5ba14=new ckeditor5['Collection']();for(const _0x32b623 of _0x564b70(_0x1ad4c3))_0x32b623['model']['bind']('isOn')['to'](_0x5182ff,'value',_0x37f36f=>_0x37f36f===_0x32b623['model']['commandValue']),_0xb5ba14['add'](_0x32b623);const _0x2c5ac3=ckeditor5['createDropdown'](_0x596f73),_0x92d46f=getTranslation$8(_0x596f73,'Merge\x20fields\x20preview');return _0x2c5ac3['bind']('isEnabled')['to'](_0x5182ff),ckeditor5['addListToDropdown'](_0x2c5ac3,_0xb5ba14,{'ariaLabel':_0x92d46f,'role':'menu'}),_0x2c5ac3['set']({'class':'ck-merge-fields-preview-dropdown'}),_0x2c5ac3['buttonView']['set']({'label':_0x92d46f,'ariaLabel':_0x92d46f,'ariaLabelledBy':void 0x0,'isOn':!0x1,'icon':ckeditor5['IconPreviewMergeFields'],'tooltip':!0x0}),this['listenTo'](_0x2c5ac3,'execute',_0x122068=>{const {commandValue:_0x592985}=_0x122068['source'];_0x1196a4['execute']('previewMergeFields',_0x592985),_0x1196a4['editing']['view']['focus']();}),_0x2c5ac3;}),_0x1196a4['ui']['componentFactory']['add']('menuBar:previewMergeFields',_0x55d59d=>{const _0x3c331a=new ckeditor5['MenuBarMenuView'](_0x55d59d),_0x420506=_0x1196a4['commands']['get']('previewMergeFields');_0x3c331a['buttonView']['set']({'label':getTranslation$8(_0x55d59d,'Merge\x20fields\x20preview'),'icon':ckeditor5['IconPreviewMergeFields']}),_0x3c331a['bind']('isEnabled')['to'](_0x420506);const _0x4dc20c=new ckeditor5['MenuBarMenuListView'](_0x55d59d);_0x4dc20c['set']({'ariaLabel':getTranslation$8(_0x55d59d,'Merge\x20fields\x20preview')});for(const _0x1916ae of _0x564b70(_0x1ad4c3)){const _0x1ae50e=new ckeditor5['MenuBarMenuListItemView'](_0x55d59d,_0x3c331a),_0x1a20cc=new ckeditor5['MenuBarMenuListItemButtonView'](_0x55d59d);_0x1916ae['model']['bind']('isOn')['to'](_0x420506,'value',_0x7f9b18=>_0x7f9b18===_0x1916ae['model']['commandValue']),_0x1a20cc['isToggleable']=!0x0,_0x1a20cc['bind'](...Object['keys'](_0x1916ae['model']))['to'](_0x1916ae['model']),_0x1a20cc['delegate']('execute')['to'](_0x3c331a),_0x1a20cc['on']('execute',_0x24d453=>{const {commandValue:_0x2da093}=_0x24d453['source'];_0x1196a4['execute']('previewMergeFields',_0x2da093),_0x1196a4['editing']['view']['focus']();}),_0x1ae50e['children']['add'](_0x1a20cc),_0x4dc20c['items']['add'](_0x1ae50e);}return _0x3c331a['panelView']['children']['add'](_0x4dc20c),_0x3c331a;}),this['_balloon']=_0x1196a4['plugins']['get'](ckeditor5['ContextualBalloon']),this['listenTo'](_0x1196a4['ui'],'update',()=>{this['_updateBalloonVisibility']();},{'priority':'low'}),this['listenTo'](_0x1196a4['ui']['focusTracker'],'change:isFocused',(_0x2d8bb6,_0x5c3fc0,_0x25334f)=>{this['_balloon']['visibleView']&&this['_balloon']['visibleView']===this['_balloonPanelView']&&(_0x25334f?this['_updateBalloonVisibility']():this['_hideBalloon']());},{'priority':'low'}),this['editor']['once']('ready',this['_overrideMentionExecuteListener']['bind'](this)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x12ea7c=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1e9bb8;for(const _0x246589 in _0x12ea7c){const _0x3d00d9=_0x246589,_0x5095a5=_0x12ea7c[_0x3d00d9];if('mergeFieldsLicenseKeyValid'==_0x5095a5||'mergeFieldsLicenseKeyInvalid'==_0x5095a5||'mergeFieldsLicenseKeyExpired'==_0x5095a5||'mergeFieldsLicenseKeyDomainLimit'==_0x5095a5||'mergeFieldsLicenseKeyNotAllowed'==_0x5095a5||'mergeFieldsLicenseKeyEvaluationLimit'==_0x5095a5||'mergeFieldsLicenseKeyUsageLimit'==_0x5095a5){delete _0x12ea7c[_0x3d00d9],_0x1e9bb8=_0x5095a5,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'mergeFieldsLicenseKeyInvalid'==_0x1e9bb8&&_0x12ea7c['_showLicenseError']('invalid'),'mergeFieldsLicenseKeyExpired'==_0x1e9bb8&&_0x12ea7c['_showLicenseError']('expired'),'mergeFieldsLicenseKeyDomainLimit'==_0x1e9bb8&&_0x12ea7c['_showLicenseError']('domainLimit'),'mergeFieldsLicenseKeyNotAllowed'==_0x1e9bb8&&_0x12ea7c['_showLicenseError']('featureNotAllowed','MergeFields'),'mergeFieldsLicenseKeyEvaluationLimit'==_0x1e9bb8&&_0x12ea7c['_showLicenseError']('evaluationLimit'),'mergeFieldsLicenseKeyUsageLimit'==_0x1e9bb8&&_0x12ea7c['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_updateBalloonVisibility'](){const _0x1870a9=this['editor']['editing']['view']['document']['selection']['getSelectedElement'](),_0x2f28e0=!(!_0x1870a9||!_0x1870a9['getCustomProperty']('mergeFieldStatus'));if(this['_balloon']['hasView'](this['_balloonPanelView'])&&this['_balloon']['visibleView']===this['_balloonPanelView']){if(_0x2f28e0){const _0x2e04cd=_0x1870a9['getCustomProperty']('mergeFieldStatus');this['_balloonPanelView']['text']=getTranslation$8(this['editor']['locale'],_0x2e04cd),this['_balloon']['updatePosition'](this['_getBalloonPositionData']());}else this['_hideBalloon']();}else{if(_0x2f28e0){const _0x3d682e=_0x1870a9['getCustomProperty']('mergeFieldStatus');this['_showBalloon'](getTranslation$8(this['editor']['locale'],_0x3d682e));}}}['_showBalloon'](_0x2234fd){this['_balloonPanelView']||(this['_balloonPanelView']=new _0x158a46(this['editor']['locale']),this['_balloonPanelView']['text']=_0x2234fd),this['_balloon']['hasView'](this['_balloonPanelView'])||(this['_balloon']['add']({'stackId':'mergeFieldsStatus','view':this['_balloonPanelView'],'position':this['_getBalloonPositionData']()}),this['_balloon']['showStack']('mergeFieldsStatus'));}['_getBalloonPositionData'](){const _0x120717=this['editor']['editing']['view'];return{'target':()=>{const _0x1c4acc=_0x120717['document']['selection']['getFirstRange'](),_0x5c6a23=_0x120717['domConverter']['mapViewToDom'](_0x1c4acc['getContainedElement']());return _0x5c6a23?Array['from'](_0x5c6a23['getClientRects']())[0x0]:_0x120717['domConverter']['viewRangeToDom'](_0x1c4acc);}};}['_hideBalloon'](){this['_balloon']['remove'](this['_balloonPanelView']);}['_removeDefaultValuesPreviewIfUnnecessary'](){if(Object['values'](this['editor']['plugins']['get']('MergeFieldsEditing')['getDefaultValues']())['some'](_0x3e040b=>_0x3e040b))return;const _0x2230ee=this['editor']['config']['get']('mergeFields.previewModes');_0x2230ee['indexOf']('$defaultValues')>-0x1&&_0x2230ee['length']>0x1&&(_0x2230ee['splice'](_0x2230ee['indexOf']('$defaultValues'),0x1),this['editor']['config']['set']('mergeFields.previewModes',_0x2230ee));}['_removeMenuBarButtonIfUnnecessary'](){const _0x4d8594=this['editor']['config'];if(_0x4d8594['get']('mergeFields.previewModes')){const _0x1179d2=_0x4d8594['get']('mergeFields.previewModes');if(0x1===_0x1179d2['length']){if(_0x1179d2['includes']('$dataSets'))0x1===_0x4d8594['get']('mergeFields.dataSets')['length']&&_0x222e55();else _0x222e55();}}function _0x222e55(){const _0x43d061=_0x4d8594['get']('menuBar.removeItems');_0x43d061?(_0x43d061['push']('menuBar:previewMergeFields'),_0x4d8594['set']('menuBar.removeItems',_0x43d061)):_0x4d8594['set']('menuBar.removeItems',['menuBar:previewMergeFields']);}}['_setupMentionConfiguration'](){const _0x2d3266=this['editor'],_0x9b217d=_0x2d3266['config']['get']('mention.feeds'),_0x32f264=_0x2d3266['config']['get']('mergeFields.prefix');_0x9b217d['push']({'marker':_0x32f264,'dropdownLimit':0xa,'feed':_0x4b4f7b=>_0x2d3266['plugins']['get']('MergeFieldsEditing')['flattenedMergeFieldDefinitions']['filter'](_0x265ff7=>{const _0x55ae25=_0x2d3266['commands']['get']('insertMergeField')['isEnabled'],_0x54c875=_0x2d3266['commands']['get']('insertMergeFieldBlock')['isEnabled'],_0x4ce518=_0x2d3266['commands']['get']('insertMergeFieldImage')['isEnabled'],_0x171402=_0x2d3266['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x265ff7['id']);if('text'===_0x171402&&!_0x55ae25)return!0x1;if('block'===_0x171402&&!_0x54c875)return!0x1;if('image'===_0x171402&&!_0x4ce518)return!0x1;return(_0x2d3266['plugins']['get']('MergeFieldsEditing')['getLabel'](_0x265ff7['id'])||_0x265ff7['id'])['toLowerCase']()['includes'](_0x4b4f7b['toLowerCase']());}),'itemRenderer':_0x4703ff=>{const _0x2c8883=document['createElement']('button');return _0x2c8883['innerHTML']=''+(_0x4703ff['label']||_0x4703ff['id']),_0x2c8883;}}),_0x2d3266['config']['set']('mention.feeds',_0x9b217d);}['_overrideMentionExecuteListener'](){const _0x49503f=this['editor'];_0x49503f['commands']['get']('mention')['on']('execute',(_0x2fe7b1,_0x533fba)=>{const _0x5d481b=_0x533fba[0x0];_0x5d481b['marker']===_0x49503f['config']['get']('mergeFields.prefix')&&_0x49503f['model']['change'](_0x532fbf=>{_0x532fbf['remove'](_0x5d481b['range']);const _0x39351d=_0x5d481b['mention']['id'],_0x2f12b7=_0x49503f['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x39351d);'text'===_0x2f12b7?_0x49503f['execute']('insertMergeField',_0x39351d):'block'===_0x2f12b7?_0x49503f['execute']('insertMergeFieldBlock',_0x39351d,!0x1):_0x49503f['execute']('insertMergeFieldImage',_0x39351d,{'breakBlock':!0x0}),_0x2fe7b1['stop']();});},{'priority':'high'});}}function createInsertMergeFieldDropdown(_0x8b6dde){const _0x34384b=ckeditor5['createDropdown'](_0x8b6dde);return _0x34384b['set']({'class':'ck-insert-merge-field-dropdown','isEnabled':!0x0}),_0x34384b['buttonView']['set']({'label':getTranslation$8(_0x8b6dde,'Insert\x20merge\x20field'),'icon':ckeditor5['IconInsertMergeField'],'tooltip':!0x0}),_0x34384b;}function createMergeFieldsListView(_0x44c581,_0x3b1958,_0x31eb3e){const _0x25e868=new MergeFieldsListView(_0x44c581),_0x56a5b5=[],_0x1ae2b5=[];for(const _0x1ed480 of _0x3b1958)if('groupId'in _0x1ed480){const _0x50c8c2=createMergeFieldsGroupView(_0x44c581,_0x1ed480['groupLabel']||_0x1ed480['groupId'],_0x1ed480['definitions'],_0x31eb3e);_0x50c8c2['delegate']('execute')['to'](_0x25e868),_0x1ae2b5['push'](_0x50c8c2);}else _0x56a5b5['push'](_0x1ed480);if(_0x56a5b5['length']){const _0x4ed085=createMergeFieldsGroupView(_0x44c581,'Other',_0x56a5b5,_0x31eb3e);_0x4ed085['delegate']('execute')['to'](_0x25e868),_0x1ae2b5['push'](_0x4ed085);}return _0x25e868['items']['addMany'](_0x1ae2b5),_0x25e868;}function createMergeFieldsGroupView(_0x435f9d,_0x53234d,_0x3cc734,_0x4b4c08){const _0x18698b=new ckeditor5['ListItemGroupView'](_0x435f9d,new ckeditor5['LabelWithHighlightView']());_0x18698b['label']=_0x53234d;for(const _0x3be8d9 of _0x3cc734){let _0x4d92d0;_0x4d92d0='block'===_0x3be8d9['type']?_0x4b4c08['insertBlock']:'image'===_0x3be8d9['type']?_0x4b4c08['insertImage']:_0x4b4c08['insertInline'];const _0x5c0aa6=createMergeFieldListItemView(_0x435f9d,_0x3be8d9,_0x4d92d0);_0x5c0aa6['delegate']('execute')['to'](_0x18698b),_0x18698b['items']['add'](_0x5c0aa6);}return _0x18698b;}function createMergeFieldListItemView(_0x40bd4e,_0x5df36,_0x4b7704){const _0x6e3b8f=new ckeditor5['ListItemView'](_0x40bd4e),_0x31bbd6=new ckeditor5['ButtonLabelWithHighlightView'](),_0x14cceb=new ckeditor5['ButtonView'](_0x40bd4e,_0x31bbd6);return _0x6e3b8f['children']['add'](_0x14cceb),_0x14cceb['set']({'label':_0x5df36['label']||_0x5df36['id'],'withText':!0x0}),_0x14cceb['bind']('isEnabled')['to'](_0x4b7704),_0x14cceb['on']('execute',()=>{_0x6e3b8f['fire']('execute',_0x5df36['id']);}),_0x6e3b8f;}function createMergeFieldsSearchTextView(_0x3fecf9,_0x3dfc9f){return new ckeditor5['SearchTextView'](_0x3fecf9,{'filteredView':_0x3dfc9f,'queryView':{'label':getTranslation$8(_0x3fecf9,'Search\x20merge\x20field')},'class':'ck-merge-fields-search','infoView':{'text':{'notFound':{'primary':getTranslation$8(_0x3fecf9,'No\x20merge\x20fields\x20found')},'noSearchableItems':{'primary':getTranslation$8(_0x3fecf9,'No\x20merge\x20fields\x20available')}}}});}function createMenuBarSubmenu(_0x364bbb,_0x50d4f9,_0x2e9150){const _0x55ac8e=new ckeditor5['MenuBarMenuView'](_0x364bbb),_0x171327=new ckeditor5['MenuBarMenuListView'](_0x364bbb);for(const _0x363f88 of _0x50d4f9['definitions']){let _0x49db56;_0x49db56='block'===_0x363f88['type']?_0x2e9150['insertBlock']:'image'===_0x363f88['type']?_0x2e9150['insertImage']:_0x2e9150['insertInline'];const _0x55ab08=createMenuBarListItem(_0x364bbb,_0x363f88,_0x55ac8e,_0x49db56);_0x171327['items']['add'](_0x55ab08);}return _0x55ac8e['set']({'class':'ck-menu-bar__merge-fields-submenu'}),_0x55ac8e['buttonView']['set']({'label':_0x50d4f9['groupLabel']||_0x50d4f9['groupId']}),_0x55ac8e['panelView']['children']['add'](_0x171327),_0x55ac8e;}function createMenuBarListItem(_0x17ed6a,_0x271f2a,_0x1c365a,_0xf630a7){const _0x2e8b59=new ckeditor5['MenuBarMenuListItemView'](_0x17ed6a,_0x1c365a),_0x363348=new ckeditor5['MenuBarMenuListItemButtonView'](_0x17ed6a);return _0x363348['set']({'label':_0x271f2a['label']||_0x271f2a['id']}),_0x2e8b59['delegate']('execute')['to'](_0x1c365a),_0x2e8b59['children']['add'](_0x363348),_0x363348['bind']('isEnabled')['to'](_0xf630a7),_0x363348['on']('execute',()=>{_0x2e8b59['fire']('execute',_0x271f2a['id']);}),_0x2e8b59;}class _0x5b4cb7 extends ckeditor5['Plugin']{static get['requires'](){return[MergeFieldsEditing,_0x120fbc];}static get['pluginName'](){return'MergeFields';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const _0x249466=0x64,_0x2e7ed5=0xc8;class PaginationLookup extends ckeditor5['Plugin']{['_recalculatePageBreaksDebounced']=_0x3aca90(()=>this['_recalculatePageBreaks'](),_0x2e7ed5);['_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 ckeditor5['logWarning']('pagination-config-not-found',this['editor']['config']);const _0x57b733=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x57b733),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x37d09e,_0x49b3d6,_0x5179f9)=>{_0x5179f9&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){_0x41ed05(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x17168f=this['editor'],_0x36eb74=_0x17168f['editing']['view'],_0x584a50=this['_getAttachedDomRoot']();if(!_0x584a50||0x0===_0x584a50['childElementCount'])return void _0x17168f['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x48c82a,pageHeight:_0xc98ec6}=_0x17168f['config']['get']('pagination'),{top:_0x3d8736,left:_0x3a769b,bottom:_0x267147,right:_0x338124}=this['_configuredPaddings'];this['_pagesContainer']=new ckeditor5['View'](_0x17168f['locale']);const _0x3b9e7b=this['_pagesContainer'];_0x3b9e7b['set']('class',''),_0x3b9e7b['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x48c82a,'width':_0x48c82a,'height':'calc(\x20'+_0xc98ec6+'\x20-\x20'+_0x3d8736+'\x20-\x20'+_0x267147+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x338124+'\x200\x20'+_0x3a769b,'columnGap':'calc('+_0x3a769b+'\x20+\x20'+_0x338124+'\x20+\x20'+_0x249466+'px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x3b9e7b['bindTemplate']['to']('class')}}),_0x3b9e7b['render'](),_0x584a50['parentNode']['insertBefore'](_0x3b9e7b['element'],_0x584a50['nextSibling']),this['listenTo'](_0x36eb74,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x2c4134 of this['editor']['editing']['view']['domRoots']['values']())if(_0x2c4134['ownerDocument']['body']['contains'](_0x2c4134))return _0x2c4134;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x367311=this['editor']['editing']['view'],_0x2aceef=this['_pagesContainer'],_0x1917f8=this['_getAttachedDomRoot']();if(!_0x1917f8)return Promise['resolve']();for(_0x2aceef['class']=['ck-reset','ck-pagination-view',..._0x1917f8['classList']]['join']('\x20');_0x2aceef['element']['firstChild'];)_0x2aceef['element']['firstChild']['remove']();const _0x38d7e0=Array['from'](_0x367311['domRoots']);_0x38d7e0['sort'](([,_0x876476],[,_0x3ce7d0])=>_0x876476['compareDocumentPosition'](_0x3ce7d0)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x540a41,_0x2af203]of _0x38d7e0){const _0xb9df49=_0x2af203['cloneNode'](!0x0);'attributeStyleMap'in _0xb9df49&&_0xb9df49['attributeStyleMap']['clear'](),_0xb9df49['dataset']['rootName']=_0x540a41,_0xb9df49['className']='ck-content\x20ck-pagination_enabled',_0xb9df49['removeAttribute']('id'),_0xb9df49['tabIndex']=-0x1,_0x2aceef['element']['append'](_0xb9df49);}const _0x41090f=Array['from'](_0x2aceef['element']['querySelectorAll']('img'));return _0x1cd8ab(_0x41090f)['then'](()=>{for(const _0x1e9991 of _0x41090f['filter'](_0x2e3e1a=>!_0x2e3e1a['closest']('table')))if(_0x1e9991['offsetParent']){const _0x4e5f19=ckeditor5['global']['window']['getComputedStyle'](_0x1e9991),_0x3d4b3f=ckeditor5['global']['document']['createElement']('span');for(const _0x2611e1 of _0x4e5f19)_0x3d4b3f['style']['setProperty'](_0x2611e1,_0x4e5f19[_0x2611e1]);_0x3d4b3f['style']['backgroundImage']='url(\x20'+_0x1e9991['src']+'\x20)',_0x3d4b3f['style']['breakInside']='avoid','PICTURE'==_0x1e9991['parentElement']?.['tagName']?_0x1e9991['parentElement']['replaceWith'](_0x3d4b3f):_0x1e9991['replaceWith'](_0x3d4b3f);}return nextAnimationFrame();})['then'](()=>{this['_updatePageBreaksData']();});}['_updatePageBreaksData'](){const _0x473bfb=this['_pagesContainer']['element'];if(!_0x473bfb['ownerDocument']['body']['contains'](_0x473bfb))return;const _0x20f3eb=new ckeditor5['Rect'](_0x473bfb)['excludeScrollbarsAndBorders'](),_0x587d0a=Math['floor'](_0x20f3eb['width']+_0x249466),_0x46f2ec=findPageStarterInfos(_0x473bfb,Math['floor'](_0x20f3eb['left']-_0x473bfb['scrollLeft']),_0x587d0a,_0x20f3eb['height'])['map'](_0x1a56fd=>this['_mapPageStarterInfoToPageBreakInfo'](_0x1a56fd))['filter'](_0x49c857=>!0x1!==_0x49c857);_0x46f2ec['every'](_0x15cb2a=>!!_0x15cb2a)&&(this['pageBreaks']=_0x46f2ec);}['_mapPageStarterInfoToPageBreakInfo'](_0x15ac46){const _0x1b33f7=this['editor']['editing']['view'],_0x272cad=this['editor']['editing']['mapper'],_0x3014f1=_0x1b33f7['domConverter'],_0x5ee2fd=_0x15ac46['path']['shift'](),_0x4e3bb0=this['_pagesContainer']['element']['childNodes'][_0x5ee2fd]['dataset']['rootName'],_0x5d187b=_0x1b33f7['getDomRoot'](_0x4e3bb0);if(!_0x5d187b)return null;const _0x8a61c7=pageElementToViewElement(_0x5d187b,_0x15ac46);if(!_0x8a61c7)return null;const _0x30965b=_0x3014f1['domPositionToView'](_0x8a61c7,_0x15ac46['textOffset']||0x0);return _0x30965b?'manual'==_0x15ac46['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x30965b,_0x8a61c7):'text'==_0x15ac46['type']&&_0x272cad['toModelPosition'](_0x30965b)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x30965b,_0x8a61c7,_0x15ac46['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x30965b,_0x8a61c7,_0x15ac46['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x5edeb9,_0xe0b958){const _0x4eef83=this['editor']['model'],_0x5500eb=this['editor']['editing']['mapper']['toModelElement'](_0x5edeb9['parent']),_0x40ba53=_0x4eef83['createRangeOn'](_0x5500eb);return new _0x5faa2({'type':'manual','modelRange':_0x40ba53,'domNode':_0xe0b958,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x79813d,_0x3dbb6c,_0x17384e){const _0x3dadae=this['editor']['model'],_0x2fae47=this['editor']['editing']['mapper'],_0xa92a38=this['editor']['editing']['view']['domConverter'];if(_0x17384e>=_0x3dbb6c['length'])return null;const _0x38ec65=_0x2fae47['toModelPosition'](_0x79813d),_0x3cf46f=_0x3dadae['createRange'](_0x38ec65),_0x5b4a38=_0x2fae47['findMappedViewAncestor'](_0x79813d),_0x35a89d=_0xa92a38['mapViewToDom'](_0x5b4a38);return new _0x5faa2({'type':'text','modelRange':_0x3cf46f,'domNode':_0x3dbb6c,'offset':findOffsetTopForTextOffset(_0x3dbb6c,_0x17384e,_0x35a89d)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x243f83,_0x1adb3b,_0x230a10){const _0x3dca85=this['editor']['model'],_0x586024=this['editor']['editing'],_0x3be54d=_0x586024['mapper'],_0x58b89b=_0x586024['view']['domConverter'],_0x3617bf=_0x3be54d['findMappedViewAncestor'](_0x243f83),_0x11c9e9=_0x3be54d['toModelElement'](_0x3617bf);if(!_0x11c9e9||_0x11c9e9['is']('element','$root'))return!0x1;const _0x5687a5=getTopMostParentBlockTouchingPosition(_0x3dca85['createPositionBefore'](_0x11c9e9))||_0x11c9e9;let _0x39bb6c=_0x3be54d['toViewElement'](_0x5687a5),_0x1bc8c0=_0x3dca85['createRangeOn'](_0x5687a5);const _0x1960a2=_0x3dca85['createPositionBefore'](_0x5687a5)['nodeBefore'];if(_0x1960a2&&_0x1960a2['is']('element','imageBlock')){const _0xb6076=_0x3be54d['toViewElement'](_0x1960a2),_0x58968b=_0x58b89b['mapViewToDom'](_0xb6076),_0x10cc17=ckeditor5['global']['window']['getComputedStyle'](_0x58968b)['float'];'left'!=_0x10cc17&&'right'!=_0x10cc17||(_0x1bc8c0=_0x3dca85['createRangeOn'](_0x1960a2));}for(;_0x39bb6c['parent']!==_0x39bb6c['root']&&0x0===_0x39bb6c['index'];)_0x39bb6c=_0x39bb6c['parent'];const _0x22ff1d=new ckeditor5['Rect'](isHTMLElement(_0x1adb3b)?_0x1adb3b:createDomRangeOn(_0x1adb3b)),_0x375264=_0x230a10?_0x22ff1d['height']-_0x230a10:0x0,_0x48e760=_0x58b89b['mapViewToDom'](_0x39bb6c),_0xaefd16=new ckeditor5['Rect'](_0x48e760);return new _0x5faa2({'type':'element','modelRange':_0x1bc8c0,'domNode':_0x48e760,'offset':Math['round'](_0x375264)||_0x3617bf!=findBlockAncestor(_0x243f83)?_0x375264+_0x22ff1d['top']-_0xaefd16['top']:0x0});}get['_configuredPaddings'](){const _0x1947bb=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x1947bb);}static['_findPageStarterInfos'](_0x5345df,_0x5b3a9c,_0x261d04,_0x229f84,_0x52d866){return findPageStarterInfos(_0x5345df,_0x5b3a9c,_0x261d04,_0x229f84,_0x52d866);}}class _0x5faa2{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x143340,modelRange:_0x4d5f93,domNode:_0x5924af,offset:_0x241e08}){this['type']=_0x143340,this['modelRange']=_0x4d5f93,this['_domNode']=_0x5924af,this['_offset']=_0x241e08;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x755856=new ckeditor5['Rect'](isHTMLElement(this['_domNode'])?this['_domNode']:createDomRangeOn(this['_domNode']));return'manual'==this['type']?_0x755856['top']+_0x755856['height']/0x2:_0x755856['top']+this['_offset'];}}function _0x212504(_0x2010e8){return!(!_0x2010e8||!isHTMLElement(_0x2010e8))&&Boolean(_0x2010e8['classList']['contains']('page-break')||_0x2010e8['closest']('.page-break'));}function pageElementToViewElement(_0x3e7702,_0x1887e4){let _0x4a1fb2=_0x3e7702;for(const _0x2a6cc1 of _0x1887e4['path']){if(!_0x4a1fb2)return null;_0x4a1fb2=_0x4a1fb2['childNodes'][_0x2a6cc1];}return _0x4a1fb2;}function findOffsetTopForTextOffset(_0x2d0c49,_0x3386a7,_0x556efd){const _0x24bc59=createDomRangeOn(_0x2d0c49),_0x188b6d=createDomRangeIn(_0x556efd);let _0x1e83bb;_0x1e83bb=0x0==_0x3386a7?createDomRangeMultiNode(_0x188b6d['startContainer'],_0x188b6d['startOffset'],_0x2d0c49['parentNode'],Array['from'](_0x2d0c49['parentNode']['childNodes'])['indexOf'](_0x2d0c49)):createDomRangeMultiNode(_0x188b6d['startContainer'],_0x188b6d['startOffset'],_0x2d0c49,_0x3386a7);const _0x45a25d=createDomRangeMultiNode(_0x2d0c49,_0x3386a7,_0x188b6d['endContainer'],_0x188b6d['endOffset']),_0x442074=new ckeditor5['Rect'](_0x1e83bb)['bottom'];return(new ckeditor5['Rect'](_0x45a25d)['top']+_0x442074)/0x2-new ckeditor5['Rect'](_0x24bc59)['top'];}function getTopMostParentBlockTouchingPosition(_0x154853){const _0x1d5225=_0x154853['parent'],_0x537818=_0x1d5225['root']['document']['model'],_0x125318=_0x1d5225['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x22e5a9=null;for(const _0x49a0ae of _0x125318){if(_0x49a0ae['is']('rootElement'))return _0x22e5a9;if(!_0x537818['createPositionBefore'](_0x49a0ae)['isTouching'](_0x154853))return _0x22e5a9;_0x22e5a9=_0x49a0ae;}}function findBlockAncestor(_0x4cce8e){let _0x218a93=_0x4cce8e['parent'];for(;_0x218a93['is']('$text')||_0x218a93['is']('attributeElement');)_0x218a93=_0x218a93['parent'];return _0x218a93;}function _0x1cd8ab(_0x30b782){return Promise['all'](_0x30b782['map'](_0x534b9e=>Promise['race']([_0x41ae2c(_0x534b9e),timeout(0x3e8)])));}function _0x41ae2c(_0x5325ed){return _0x5325ed['hasAttribute']('width')&&_0x5325ed['hasAttribute']('height')?Promise['resolve']():new Promise(_0x1a05e4=>{function _0xaa29a7(){_0x5325ed['removeEventListener']('load',_0xaa29a7),_0x5325ed['removeEventListener']('error',_0xaa29a7),_0x1a05e4();}_0x5325ed['complete']?_0x1a05e4():(_0x5325ed['addEventListener']('load',_0xaa29a7),_0x5325ed['addEventListener']('error',_0xaa29a7));});}function timeout(_0x63de){return new Promise(_0xb10fe8=>setTimeout(_0xb10fe8,_0x63de));}function nextAnimationFrame(){return new Promise(_0x3a8f18=>ckeditor5['global']['window']['requestAnimationFrame'](()=>_0x3a8f18()));}function createDomRangeOn(_0x14d0fc){const _0x143d4e=ckeditor5['global']['document']['createRange']();return _0x143d4e['selectNode'](_0x14d0fc),_0x143d4e;}function createDomRangeIn(_0xfda0bb){const _0x37b1cc=ckeditor5['global']['document']['createRange']();return _0x37b1cc['selectNodeContents'](_0xfda0bb),_0x37b1cc;}function createDomRange(_0x2e9ee3,_0x1e0630,_0x148b18){const _0x231359=ckeditor5['global']['document']['createRange']();return _0x231359['setStart'](_0x2e9ee3,_0x1e0630),_0x231359['setEnd'](_0x2e9ee3,_0x148b18),_0x231359;}function createDomRangeMultiNode(_0x29d5e8,_0x31db37,_0x14d3f0,_0xfe261){const _0x59d568=ckeditor5['global']['document']['createRange']();return _0x59d568['setStart'](_0x29d5e8,_0x31db37),_0x59d568['setEnd'](_0x14d3f0,_0xfe261),_0x59d568;}function findPageStarterInfos(_0x48a014,_0x37ccc5,_0x513f48,_0x531a00,_0x2f3fdb){const _0x53e7cf=[];for(const [_0x371ef7,_0xbc18e1]of _0x48a014['childNodes']['entries']()){let _0x3708bb=[];isHTMLElement(_0xbc18e1)&&_0xbc18e1['offsetParent']&&['static','relative']['includes'](ckeditor5['global']['window']['getComputedStyle'](_0xbc18e1)['position'])?_0x3708bb=findPageStartersInElementNode(_0xbc18e1,_0x371ef7,_0x37ccc5,_0x513f48,_0x531a00,_0x2f3fdb):isText(_0xbc18e1)&&(_0x3708bb=findPageStartersInTextNode(_0xbc18e1,_0x371ef7,_0x37ccc5,_0x513f48,_0x2f3fdb)),_0x3708bb['length']&&(_0x53e7cf['push'](..._0x3708bb),_0x37ccc5+=_0x3708bb['length']*_0x513f48,_0x2f3fdb=!0x1);}return _0x53e7cf;}function findPageStartersInElementNode(_0x4c90b5,_0x561aa0,_0x6b0fdd,_0x9607dd,_0x5c6a12,_0x5b4ae2){const _0x33b28f=[];if(_0x212504(_0x4c90b5['previousSibling'])&&(_0x33b28f['push']({'type':'manual','offset':0x0,'path':[_0x561aa0-0x1]}),_0x5b4ae2=!0x0),'table-row'==ckeditor5['global']['window']['getComputedStyle'](_0x4c90b5)['display']){let _0x496055=0x0,_0x4d8adc=!0x1;for(const _0xd42672 of _0x4c90b5['getClientRects']())_0x496055+=_0xd42672['height'],_0xd42672['left']>=_0x6b0fdd&&(_0x4d8adc=!0x0);if(_0x496055<_0x5c6a12&&_0x4d8adc)return _0x5b4ae2||_0x33b28f['push']({'type':'element','offset':0x0,'path':[_0x561aa0]}),_0x33b28f;}const _0x741390=_0x4c90b5['closest']('figure.image');if(_0x741390&&_0x46dffb(_0x741390)){const _0x5773a6=ckeditor5['global']['window']['getComputedStyle'](_0x741390)['float'];if('left'==_0x5773a6||'right'==_0x5773a6)return _0x33b28f;}const _0x5928ff=findPageStarterInfos(_0x4c90b5,_0x6b0fdd,_0x9607dd,_0x5c6a12,_0x5b4ae2);if(_0x5928ff['length']){for(const _0x4e9a83 of _0x5928ff)_0x33b28f['push']({'type':_0x4e9a83['type'],'offset':_0x4e9a83['offset'],'textOffset':_0x4e9a83['textOffset'],'path':[_0x561aa0,..._0x4e9a83['path']]}),_0x6b0fdd+=_0x9607dd,_0x5b4ae2=!0x1;return _0x33b28f;}return _0x33b28f['push'](...findPageStartersInLeafElementNode(_0x4c90b5,_0x561aa0,_0x6b0fdd,_0x9607dd,_0x5b4ae2)),_0x33b28f;}function findPageStartersInLeafElementNode(_0x358ad0,_0x458429,_0x22c776,_0x117640,_0x27b967){const _0x2cac8a=[];if('table-cell'==ckeditor5['global']['window']['getComputedStyle'](_0x358ad0)['display'])return[];const _0x2cdab9=[];for(const _0x5f3e27 of _0x358ad0['getClientRects']())if(_0x5f3e27['left']>=_0x22c776){for(const _0x548cab of _0x2cdab9)_0x548cab['height']+=_0x5f3e27['height'];_0x2cdab9['push']({'height':_0x5f3e27['height']}),_0x22c776+=_0x117640;}for(const _0x4137a1 of _0x2cdab9)_0x27b967||_0x2cac8a['push']({'type':'element','offset':_0x4137a1['height'],'textOffset':0x0,'path':[_0x458429]}),_0x27b967=!0x1;return _0x2cac8a;}function findPageStartersInTextNode(_0x40a6a3,_0x1fd8e8,_0x197f4b,_0x2440c5,_0x53c707){const _0x3b4e37=createDomRangeOn(_0x40a6a3),_0x85e91e=[];let _0x1f543a=0x0;for(const _0x978a09 of _0x3b4e37['getClientRects']())if(_0x978a09['left']>=_0x197f4b){const _0x574c70=findLastTextOffsetOnPage(_0x40a6a3,_0x1f543a,_0x197f4b,_0x2440c5);_0x53c707||_0x85e91e['push']({'type':'text','path':[_0x1fd8e8],'textOffset':_0x574c70}),_0x1f543a=_0x574c70,_0x197f4b+=_0x2440c5,_0x53c707=!0x1;}return _0x85e91e;}function findLastTextOffsetOnPage(_0x167685,_0x2632d5,_0x3a6468,_0x5cf498){let _0x1a7024=_0x2632d5,_0x1b636a=_0x167685['length'];for(;_0x1b636a-_0x1a7024>0x1;){const _0x3096b7=Math['ceil']((_0x1a7024+_0x1b636a)/0x2);domRangeContainsPageBreak(createDomRange(_0x167685,_0x1a7024,_0x3096b7),_0x3a6468,_0x5cf498)?_0x1b636a=_0x3096b7:_0x1a7024=_0x3096b7;}return _0x1a7024;}function domRangeContainsPageBreak(_0x240bab,_0x2c86cc,_0x53cd22){for(const _0x5e24cb of _0x240bab['getClientRects']())if(_0x5e24cb['left']>=_0x2c86cc&&_0x5e24cb['left']<_0x2c86cc+_0x53cd22)return!0x0;return!0x1;}function _0x46dffb(_0x272fb7){let _0x33dd23=!0x1;const _0x4fcacc=_0x272fb7['parentElement']['dataset']['rootName'],_0x1e872=_0x272fb7['nextElementSibling'],_0x4dc516=_0x272fb7['previousElementSibling'],_0x485396=_0x1e872&&ckeditor5['global']['window']['getComputedStyle'](_0x1e872)['float'],_0x18af03=_0x1e872&&'ck-fake-selection-container'===_0x1e872['className'];return!_0x4fcacc||_0x1e872||_0x4dc516||(_0x33dd23=!0x0),_0x4fcacc&&!_0x4dc516&&_0x18af03&&(_0x33dd23=!0x0),_0x4fcacc&&!_0x4dc516&&'none'!==_0x485396&&(_0x33dd23=!0x0),!_0x33dd23;}function isHTMLElement(_0x2df078){return _0x2df078['nodeType']==Node['ELEMENT_NODE'];}function isText(_0x503906){return _0x503906['nodeType']==Node['TEXT_NODE'];}async function _0x41ed05(_0x4b1ffd){const _0x4a13b3=_0x4a7b80([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]),_0x518bd7=window[_0x4a7b80([0x44,0x61,0x74,0x65])][_0x4a7b80([0x6e,0x6f,0x77])](),_0x19cbbf=_0x4b1ffd[_0x4a7b80([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x201d44=new window[(_0x4a7b80([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x293b52=>{_0x19cbbf[_0x4a7b80([0x6f,0x6e,0x63,0x65])](_0x4a7b80([0x72,0x65,0x61,0x64,0x79]),_0x293b52);}),_0x14de86={[_0x4a7b80([0x6b,0x74,0x79])]:_0x4a7b80([0x45,0x43]),[_0x4a7b80([0x75,0x73,0x65])]:_0x4a7b80([0x73,0x69,0x67]),[_0x4a7b80([0x63,0x72,0x76])]:_0x4a7b80([0x50,0x2d,0x32,0x35,0x36]),[_0x4a7b80([0x78])]:_0x4a7b80([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]),[_0x4a7b80([0x79])]:_0x4a7b80([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]),[_0x4a7b80([0x61,0x6c,0x67])]:_0x4a7b80([0x45,0x53,0x32,0x35,0x36])},_0x84d303=_0x19cbbf[_0x4a7b80([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4a7b80([0x67,0x65,0x74])](_0x4a7b80([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x237c79=await(async function(){let _0x1b3e82,_0x193608=null,_0x965f4c=null;try{if(_0x84d303==_0x4a7b80([0x47,0x50,0x4c]))return _0x4a7b80([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1b3e82=(function(){const _0x1fb66e=_0x84d303[_0x4a7b80([0x73,0x70,0x6c,0x69,0x74])](_0x4a7b80([0x2e]));if(0x3!=_0x1fb66e[_0x4a7b80([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0xe56d1c=_0x1fb66e[0x1];return _0x45d227(_0xe56d1c);function _0x45d227(_0x32d611){const _0x41b12a=_0x2f3a60(_0x32d611);return _0x41b12a&&_0x269cee()?_0x41b12a:null;function _0x269cee(){const _0x466611=_0x41b12a[_0x4a7b80([0x6a,0x74,0x69])],_0x24c4b2=window[_0x4a7b80([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x466611[_0x4a7b80([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x466611[_0x4a7b80([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x56968f={..._0x41b12a,[_0x4a7b80([0x6a,0x74,0x69])]:_0x466611[_0x4a7b80([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x466611[_0x4a7b80([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x56968f[_0x4a7b80([0x76,0x63])],_0x32f6f4(_0x56968f)==_0x24c4b2;}}}()),!_0x1b3e82)return _0x4a7b80([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x1b3e82[_0x4a7b80([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x965f4c=function(_0x4dc2f3,_0x40e1d4){return new window[(_0x4a7b80([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x45d12e=>{if(_0x32a7dc())return _0x45d12e(_0x4a7b80([0x56,0x61,0x6c,0x69,0x64]));_0x12b121(),_0x19cbbf[_0x4a7b80([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4a7b80([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x115202=!0x1;const _0x24b46d=ckeditor5['uid']();function _0x255bf1(_0x3c84b6){return!!_0x3c84b6&&(typeof _0x3c84b6===_0x4a7b80([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3c84b6===_0x4a7b80([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3c84b6[_0x4a7b80([0x74,0x68,0x65,0x6e])]===_0x4a7b80([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3c84b6[_0x4a7b80([0x63,0x61,0x74,0x63,0x68])]===_0x4a7b80([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x58cb83(_0x4e6b7c){_0x5f337d(_0x4e6b7c)[_0x4a7b80([0x74,0x68,0x65,0x6e])](_0x46b411=>{if(!_0x46b411||_0x46b411[_0x4a7b80([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4a7b80([0x6f,0x6b]))return _0x4a7b80([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5bb9c3(_0x32f6f4(_0x24b46d+_0x40e1d4))!=_0x46b411[_0x4a7b80([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4a7b80([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4a7b80([0x56,0x61,0x6c,0x69,0x64]);})[_0x4a7b80([0x74,0x68,0x65,0x6e])](_0x12b358=>(_0xa41f04(),_0x12b358),()=>{const _0x1a1643=_0xf2d921();return null==_0x1a1643?(_0xa41f04(),_0x4a7b80([0x56,0x61,0x6c,0x69,0x64])):_0x4a7b80(_0x518bd7-_0x1a1643>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4a7b80([0x74,0x68,0x65,0x6e])](_0x45d12e)[_0x4a7b80([0x63,0x61,0x74,0x63,0x68])](()=>{_0x45d12e(_0x4a7b80([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2e5730=0x36ee80;function _0xa41f04(){const _0xe87bff=_0x4a7b80([0x6c,0x6c,0x63,0x74,0x2d])+_0x5bb9c3(_0x32f6f4(_0x4dc2f3)),_0x4671a7=_0x51c286(_0x5bb9c3(window[_0x4a7b80([0x4d,0x61,0x74,0x68])][_0x4a7b80([0x63,0x65,0x69,0x6c])](_0x518bd7/_0x2e5730)));window[_0x4a7b80([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a7b80([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xe87bff,_0x4671a7);}function _0xf2d921(){const _0x104fdb=_0x4a7b80([0x6c,0x6c,0x63,0x74,0x2d])+_0x5bb9c3(_0x32f6f4(_0x4dc2f3)),_0x3fc822=window[_0x4a7b80([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a7b80([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x104fdb);return _0x3fc822?window[_0x4a7b80([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x51c286(_0x3fc822),0x10)*_0x2e5730:null;}function _0x5f337d(_0x162755){return new window[(_0x4a7b80([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5d3a00,_0x4c831e)=>{_0x162755[_0x4a7b80([0x74,0x68,0x65,0x6e])](_0x5d3a00,_0x4c831e),window[_0x4a7b80([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4c831e,0x1d4c0);});}}_0x19cbbf[_0x4a7b80([0x6f,0x6e])](_0x4a7b80([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3ca1a1,_0x5b85cf)=>{if(_0x5b85cf[0x0]!=_0x4dc2f3)return _0x45d12e(_0x4a7b80([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5b85cf[0x1]={..._0x5b85cf[0x1],[_0x4a7b80([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x24b46d};},{[_0x4a7b80([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a7b80([0x68,0x69,0x67,0x68])}),_0x19cbbf[_0x4a7b80([0x6f,0x6e])](_0x4a7b80([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x30dbc7=>{_0x255bf1(_0x30dbc7[_0x4a7b80([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x115202=!0x0,_0x58cb83(_0x30dbc7[_0x4a7b80([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4a7b80([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a7b80([0x6c,0x6f,0x77])}),_0x201d44[_0x4a7b80([0x74,0x68,0x65,0x6e])](()=>{_0x115202||_0x45d12e(_0x4a7b80([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x32a7dc(){return _0x19cbbf[_0x4a7b80([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a7b80([0x76,0x69,0x65,0x77])][_0x4a7b80([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4a7b80([0x61,0x75,0x74,0x6f]);}function _0x12b121(){_0x19cbbf[_0x4a7b80([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a7b80([0x76,0x69,0x65,0x77])][_0x4a7b80([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4a7b80([0x61,0x75,0x74,0x6f]);}}(_0x1b3e82[_0x4a7b80([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1b3e82[_0x4a7b80([0x6a,0x74,0x69])]));const _0x214271=await(async function(){let _0x13bcc0=!0x0;try{const _0xcd263b=_0x84d303[_0x4a7b80([0x73,0x70,0x6c,0x69,0x74])](_0x4a7b80([0x2e])),[_0x213835,_0x5fb81,_0x222d86]=_0xcd263b;return _0x3bf19c(_0x213835),await _0x5c7105(_0x213835,_0x5fb81,_0x222d86),_0x13bcc0;}catch{return!0x1;}function _0x3bf19c(_0x2cdd3){const _0x3fd5e5=_0x2f3a60(_0x2cdd3);_0x3fd5e5&&_0x3fd5e5[_0x4a7b80([0x61,0x6c,0x67])]==_0x4a7b80([0x45,0x53,0x32,0x35,0x36])||(_0x13bcc0=!0x1);}async function _0x5c7105(_0x2981af,_0x5af2bd,_0x2b5c51){const _0x2a4d1a=window[_0x4a7b80([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4a7b80([0x66,0x72,0x6f,0x6d])](_0x3466f0(_0x2b5c51),_0x2c49f3=>_0x2c49f3[_0x4a7b80([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4772c6=new window[(_0x4a7b80([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4a7b80([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2981af+_0x4a7b80([0x2e])+_0x5af2bd),_0x20cfc7=window[_0x4a7b80([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4a7b80([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x20cfc7)return;const _0x29a996=await _0x20cfc7[_0x4a7b80([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4a7b80([0x6a,0x77,0x6b]),_0x14de86,{[_0x4a7b80([0x6e,0x61,0x6d,0x65])]:_0x4a7b80([0x45,0x43,0x44,0x53,0x41]),[_0x4a7b80([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4a7b80([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4a7b80([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x20cfc7[_0x4a7b80([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4a7b80([0x6e,0x61,0x6d,0x65])]:_0x4a7b80([0x45,0x43,0x44,0x53,0x41]),[_0x4a7b80([0x68,0x61,0x73,0x68])]:{[_0x4a7b80([0x6e,0x61,0x6d,0x65])]:_0x4a7b80([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x29a996,_0x2a4d1a,_0x4772c6)||(_0x13bcc0=!0x1);}}());return _0x214271?(function(){const _0x3e7d0e=_0x1b3e82[_0x4a7b80([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x3e7d0e)return!0x1;if(_0x3e7d0e[_0x4a7b80([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a7b80([0x2a])))return!0x0;if(_0x3e7d0e[_0x4a7b80([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a7b80([0x50,0x41,0x47])))return!0x0;return!0x1;}())?(function(){const _0x46ef68=[_0x4a7b80([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4a7b80([0x74,0x72,0x69,0x61,0x6c])][_0x4a7b80([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b3e82[_0x4a7b80([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x518bd7/0x3e8:0x6a03bf00;return _0x1b3e82[_0x4a7b80([0x65,0x78,0x70])]<_0x46ef68;}())?_0x4a7b80([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x4aaa4b=_0x1b3e82[_0x4a7b80([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4aaa4b||0x0==_0x4aaa4b[_0x4a7b80([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2fef7e}=new URL(window[_0x4a7b80([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4aaa4b[_0x4a7b80([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fef7e))return!0x0;const _0x42f310=_0x2fef7e[_0x4a7b80([0x73,0x70,0x6c,0x69,0x74])](_0x4a7b80([0x2e]));return _0x4aaa4b[_0x4a7b80([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1fd759=>_0x1fd759[_0x4a7b80([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a7b80([0x2a])))[_0x4a7b80([0x6d,0x61,0x70])](_0x1b4e5b=>_0x1b4e5b[_0x4a7b80([0x73,0x70,0x6c,0x69,0x74])](_0x4a7b80([0x2e])))[_0x4a7b80([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x142481=>_0x142481[_0x4a7b80([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x42f310[_0x4a7b80([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a7b80([0x6d,0x61,0x70])](_0x4e1515=>Array(_0x42f310[_0x4a7b80([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4e1515[_0x4a7b80([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a7b80([0x66,0x69,0x6c,0x6c])](_0x4e1515[0x0]===_0x4a7b80([0x2a])?_0x4a7b80([0x2a]):'')[_0x4a7b80([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4e1515))[_0x4a7b80([0x73,0x6f,0x6d,0x65])](_0x2ccc18=>_0x42f310[_0x4a7b80([0x65,0x76,0x65,0x72,0x79])]((_0x30ce22,_0x237aa3)=>_0x2ccc18[_0x237aa3]===_0x30ce22||_0x2ccc18[_0x237aa3]===_0x4a7b80([0x2a])));}())?(_0x1b3e82[_0x4a7b80([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4a7b80([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x193608=function(_0x50551f){const _0x31c568=new window[(_0x4a7b80([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x579193=>setTimeout(_0x579193,0x93ecc)),_0x3ca3f5=_0x201d44[_0x4a7b80([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4a7b80([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x218b56=>{let _0x534906=0x0;_0x19cbbf[_0x4a7b80([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a7b80([0x6f,0x6e])](_0x4a7b80([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3eca2e,_0x199c47)=>{_0x199c47[0x0][_0x4a7b80([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x534906++,0x5e8==_0x534906&&(_0x218b56(),_0x3eca2e[_0x4a7b80([0x6f,0x66,0x66])]());});})),_0x31770e=[_0x31c568,_0x3ca3f5];return window[_0x4a7b80([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4a7b80([0x72,0x61,0x63,0x65])](_0x31770e)[_0x4a7b80([0x74,0x68,0x65,0x6e])](()=>_0x50551f);}(_0x4a7b80([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x193608&&_0x965f4c)return new window[(_0x4a7b80([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x39c241,_0x16a9eb)=>{_0x193608[_0x4a7b80([0x74,0x68,0x65,0x6e])](_0x39c241,_0x16a9eb),_0x965f4c[_0x4a7b80([0x74,0x68,0x65,0x6e])](_0x224099=>{_0x224099!=_0x4a7b80([0x56,0x61,0x6c,0x69,0x64])&&_0x39c241(_0x224099);},_0x16a9eb);});return _0x193608||_0x965f4c||_0x4a7b80([0x56,0x61,0x6c,0x69,0x64]);}())):_0x4a7b80([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4a7b80([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4a7b80([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4a7b80([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x2f3a60(_0x2dcbc7){return _0x2dcbc7[_0x4a7b80([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4a7b80([0x65,0x79]))?JSON[_0x4a7b80([0x70,0x61,0x72,0x73,0x65])](_0x3466f0(_0x2dcbc7)):null;}function _0x3466f0(_0x1583dc){return window[_0x4a7b80([0x61,0x74,0x6f,0x62])](_0x1583dc[_0x4a7b80([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4a7b80([0x2b]))[_0x4a7b80([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4a7b80([0x2f])));}function _0x32f6f4(_0x5c1788){let _0x1e011f=0x1505;function _0x356de2(_0x17bcae){for(let _0x27acf7=0x0;_0x27acf7<_0x17bcae[_0x4a7b80([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x27acf7++){const _0x32be2f=_0x17bcae[_0x4a7b80([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x27acf7);_0x1e011f=(_0x1e011f<<0x5)+_0x1e011f+_0x32be2f,_0x1e011f&=_0x1e011f;}}return function _0x8aba50(_0x43fc66){Array[_0x4a7b80([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x43fc66)?_0x43fc66[_0x4a7b80([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x8aba50):_0x43fc66&&typeof _0x43fc66==_0x4a7b80([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4a7b80([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x43fc66)[_0x4a7b80([0x73,0x6f,0x72,0x74])]()[_0x4a7b80([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1a5ff1,_0x418fc8])=>{_0x356de2(_0x1a5ff1),_0x8aba50(_0x418fc8);}):_0x356de2(window[_0x4a7b80([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x43fc66));}(_0x5c1788),_0x1e011f>>>0x0;}function _0x5bb9c3(_0x4ebeb5){return _0x4ebeb5[_0x4a7b80([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4a7b80([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4a7b80([0x30]));}function _0x51c286(_0x406c56){return _0x406c56[_0x4a7b80([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4a7b80([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4a7b80([0x6a,0x6f,0x69,0x6e])]('');}function _0x42d64f(){}function _0x4a7b80(_0x2e324b){return _0x2e324b['map'](_0x4a6db7=>String['fromCharCode'](_0x4a6db7))['join']('');}!function(_0x2f0e41){const _0x403de8=(function(){const _0x174cc8=window[_0x4a7b80([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4a7b80([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4a7b80([0x6e,0x6f,0x77])]())[_0x4a7b80([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4a7b80([0x2e]),'');let _0x3ca2c8=_0x4a7b80([0x49]);for(let _0x431759=0x0;_0x431759<_0x174cc8[_0x4a7b80([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x431759+=0x2){let _0x5d3067=window[_0x4a7b80([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x174cc8[_0x4a7b80([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x431759,_0x431759+0x2));_0x5d3067>=_0x4a13b3[_0x4a7b80([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5d3067-=_0x4a13b3[_0x4a7b80([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3ca2c8+=_0x4a13b3[_0x5d3067];}return _0x3ca2c8;}());_0x19cbbf[_0x403de8]=_0x4a7b80([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2f0e41,_0x2f0e41!=_0x4a7b80([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x201d44,_0x19cbbf[_0x4a7b80([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a7b80([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x42d64f,_0x19cbbf[_0x4a7b80([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a7b80([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x42d64f,_0x19cbbf[_0x4a7b80([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4a7b80([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x237c79);}const toPx=/* #__PURE__ -- @preserve */
ckeditor5['toUnit']('px');let _0x520d17=class extends ckeditor5['View']{constructor(){super();const _0xc25275=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0xc25275['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0xc25275['if']('isVisible','ck-hidden',_0x19bfdd=>!_0x19bfdd)],'style':{'left':_0xc25275['to']('left',_0x2dea35=>toPx(_0x2dea35)),'top':_0xc25275['to']('top',_0x467984=>toPx(_0x467984)),'width':_0xc25275['to']('width',_0x490d53=>toPx(_0x490d53))}}});}};class LinesRepository{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x418648){this['_viewCollection']=_0x418648['ui']['view']['body'];}['destroy'](){for(const _0xd38f5e of this['_hiddenLines'])_0xd38f5e['destroy']();}['cleanLines'](){for(const _0x5efb5a of this['_visibleLines'])_0x5efb5a['isVisible']=!0x1,this['_hiddenLines']['add'](_0x5efb5a);this['_visibleLines']['clear']();}['showLine'](_0x25531c,_0x37190d,_0x36f7dc,_0x5c9fdf){let _0xa4e270;this['_hiddenLines']['size']?(_0xa4e270=ckeditor5['first'](this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0xa4e270)):_0xa4e270=new _0x520d17(),_0xa4e270['set']({'pageNumber':_0x5c9fdf,'left':_0x25531c,'top':_0x37190d,'width':_0x36f7dc}),_0xa4e270['isVisible']=!0x0,this['_viewCollection']['has'](_0xa4e270)||this['_viewCollection']['add'](_0xa4e270),this['_visibleLines']['add'](_0xa4e270);}['setViewCollection'](_0x27ba4b){for(const _0x46e0cf of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x46e0cf)&&this['_viewCollection']['remove'](_0x46e0cf);this['_viewCollection']=_0x27ba4b;}}const _0xc78967='ck-pagination_enabled';class PaginationRenderer extends ckeditor5['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'](_0xc78967),this['on']('change:isEnabled',(_0x34034b,_0x4a739b,_0x4d28b3)=>{_0x4d28b3||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](_0xc78967,_0x4d28b3);});}['destroy'](){this['_toggleEditingRootsClass'](_0xc78967,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x3e6ea7){if(!this['isEnabled'])return;const _0x1fc473=_0x3e6ea7>0x1?this['_getPageBreakLineOffset'](_0x3e6ea7-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x1fc473-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':ckeditor5['env']['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x44e458=this['editor'],_0xc7330e=this['_getAttachedDomRoot']();_0xc7330e?(this['_scrollableEditingRootDomAncestor']&&_0x44e458['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=findScrollableElement(_0xc7330e),_0x44e458['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new ckeditor5['ResizeObserver'](this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x44e458['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0xcabed=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0xcabed['ui']['view']['listenTo'](ckeditor5['global']['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0xcabed['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x4282d7 of this['editor']['editing']['view']['domRoots']['values']())if(_0x4282d7['ownerDocument']['body']['contains'](_0x4282d7))return _0x4282d7;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x53fc64=this['_getAttachedDomRoot'](),_0xe8f52a=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x53fc64||0x1==_0xe8f52a['length'])return void(this['pageNumber']=0x1);const _0x79507d=new ckeditor5['Rect'](_0x53fc64)['excludeScrollbarsAndBorders'](),_0xa724ff=new ckeditor5['Rect'](this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x1a14ea=_0xa724ff['top']+_0xa724ff['height']/0x3;let _0x1d2fa1=!0x1;const _0x5ccffc=[];for(let _0x183053=0x1;_0x183053<_0xe8f52a['length'];_0x183053++){const _0x4e472b=this['_getPageBreakLineOffset'](_0x183053,_0xa724ff);if(!_0x4e472b)continue;const _0x1978ee=_0xa724ff['top']+_0x4e472b-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x5ccffc['push']({'pageOffsetTop':_0x1978ee,'domRootRect':_0x79507d,'domScrollableRect':_0xa724ff,'pageNumber':_0x183053}),_0x1978ee>_0x1a14ea&&!_0x1d2fa1&&(this['pageNumber']=_0x183053,_0x1d2fa1=!0x0);}this['_renderPageBreakLines'](_0x5ccffc),_0x1d2fa1||(this['pageNumber']=_0xe8f52a['length']);}['_renderPageBreakLines'](_0x13e509){const {scrollX:_0x4c6682,scrollY:_0x490688}=ckeditor5['global']['window'];if(_0x13e509['length']){for(const {domScrollableRect:_0x2d32cf,pageOffsetTop:_0x1772e4,domRootRect:_0x2c455c,pageNumber:_0x161172}of _0x13e509)_0x2d32cf['top']<_0x1772e4&&_0x1772e4<_0x2d32cf['bottom']&&this['linesRepository']['showLine'](_0x2c455c['left']+_0x4c6682,_0x1772e4+_0x490688,_0x2c455c['width'],_0x161172+0x1);}}['_getPageBreakLineOffset'](_0x3c421f,_0x102288=null){const _0x2a7a8d=this['_paginationLookupPlugin']['pageBreaks'][_0x3c421f]['offset'];return _0x2a7a8d?(_0x102288||(_0x102288=new ckeditor5['Rect'](this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x2a7a8d-_0x102288['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0xfa0a02,_0x25199e=!0x0){const _0x3b1de2=this['editor']['editing']['view'];_0x3b1de2['change'](_0x1c1b60=>{for(const _0x530638 of _0x3b1de2['document']['roots'])_0x25199e?_0x1c1b60['addClass'](_0xfa0a02,_0x530638):_0x1c1b60['removeClass'](_0xfa0a02,_0x530638);});}}function findScrollableElement(_0x1e7fb8){let _0x1ea798=_0x1e7fb8;do{_0x1ea798=_0x1ea798['parentElement'];const _0x5698f0=ckeditor5['global']['window']['getComputedStyle'](_0x1ea798)['overflowY'];if('auto'==_0x5698f0||'scroll'==_0x5698f0)break;}while('BODY'!=_0x1ea798['tagName']);return _0x1ea798;}function getTranslation$7(_0x32ac98,_0x360894,..._0x4460a3){const t=_0x32ac98['t'];switch(_0x360894){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)',..._0x4460a3);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 _0x360894;}}class PaginationEditing extends ckeditor5['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 _0x318556=this['editor']['plugins']['get']('Pagination'),_0x5c5c94=this['editor']['plugins']['get'](PaginationLookup),_0x270d83=this['editor']['plugins']['get'](PaginationRenderer);this['bind']('isEnabled')['to'](_0x318556),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x270d83),this['listenTo'](_0x5c5c94,'change:pageBreaks',(_0x1b9c64,_0x51d6ad,_0x49b939,_0xe253af)=>{this['totalPages']=_0x49b939['length'],this['_updatePageBreakMarkers'](_0x49b939,_0xe253af);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x157e11=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x117f28;for(const _0x174cf1 in _0x157e11){const _0x342af9=_0x174cf1,_0x457d7e=_0x157e11[_0x342af9];if('paginationLicenseKeyValid'==_0x457d7e||'paginationLicenseKeyInvalid'==_0x457d7e||'paginationLicenseKeyExpired'==_0x457d7e||'paginationLicenseKeyDomainLimit'==_0x457d7e||'paginationLicenseKeyNotAllowed'==_0x457d7e||'paginationLicenseKeyEvaluationLimit'==_0x457d7e||'paginationLicenseKeyUsageLimit'==_0x457d7e){delete _0x157e11[_0x342af9],_0x117f28=_0x457d7e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x117f28&&_0x157e11['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x117f28&&_0x157e11['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x117f28&&_0x157e11['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x117f28&&_0x157e11['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x117f28&&_0x157e11['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x117f28&&_0x157e11['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x181812){if(!this['isEnabled'])return;this['editor']['plugins']['get'](PaginationRenderer)['scrollToPage'](this['_validatePageNumber'](_0x181812));}['moveSelectionToPage'](_0x3deb39){if(!this['isEnabled'])return;const _0xe71da6=this['editor'],_0x5e4002=this['editor']['plugins']['get'](PaginationLookup)['pageBreaks'][_0x3deb39-0x1];_0x5e4002&&_0xe71da6['model']['change'](_0x144d70=>{switch(_0x5e4002['type']){case'manual':{const _0x30d709=_0xe71da6['model']['schema']['getNearestSelectionRange'](_0x5e4002['modelRange']['end'],'forward');_0x144d70['setSelection'](_0x30d709);break;}case'element':{const _0x39d3e5=_0xe71da6['model']['schema']['getNearestSelectionRange'](_0x5e4002['modelRange']['start'],'forward');_0x144d70['setSelection'](_0x39d3e5);break;}case'text':{const _0x2d8b81=_0x5e4002['modelRange']['start'];if(_0x2d8b81['textNode']&&'\x20'===_0x2d8b81['textNode']['data'][_0x2d8b81['offset']]){const _0x7b4fde=_0x144d70['createPositionAt'](_0x2d8b81['parent'],_0x2d8b81['offset']+0x1);_0x144d70['setSelection'](_0x7b4fde);}else _0x144d70['setSelection'](_0x5e4002['modelRange']);}}_0xe71da6['editing']['view']['focus']();});}['goToNextPage'](){const _0x20506a=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x20506a),this['scrollToPage'](_0x20506a);}['goToPreviousPage'](){const _0x88f137=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x88f137),this['scrollToPage'](_0x88f137);}['_updatePageBreakMarkers'](_0x274a87,_0x1af873){const _0x24a903=this['editor']['model'];this['isEnabled']&&_0x24a903['change'](_0xff034d=>{for(let _0x2839b4=0x1;_0x2839b4<_0x274a87['length'];_0x2839b4++){const _0x2813ed=_0x274a87[_0x2839b4]['modelRange'],_0x2f6e60='pagination:'+(_0x2839b4+0x1);_0x24a903['markers']['has'](_0x2f6e60)?_0xff034d['updateMarker'](_0x2f6e60,{'range':_0x2813ed}):_0xff034d['addMarker'](_0x2f6e60,{'range':_0x2813ed,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0xcb40be=_0x274a87['length'];_0xcb40be<_0x1af873['length'];_0xcb40be++){const _0x1806ea='pagination:'+(_0xcb40be+0x1);_0x24a903['markers']['has'](_0x1806ea)&&_0xff034d['removeMarker'](_0x1806ea);}});}['_setUpDataDowncastConversion'](){const _0x50ba5d='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x175d36=>{_0x175d36['on']('addMarker:'+_0x50ba5d,(_0x2d10a5,{markerRange:_0x4375fb,markerName:_0x2a3483},_0x182c2c)=>{if(!_0x182c2c['options']['pagination'])return;if(!_0x182c2c['consumable']['consume'](_0x4375fb,_0x2d10a5['name']))return;const _0x29f420=_0x4375fb['getContainedElement']();let _0x3015c1=_0x29f420?_0x182c2c['mapper']['toViewElement'](_0x29f420):null;if(!_0x3015c1){const _0x22641d=_0x4375fb['start'];if(_0x182c2c['schema']['checkChild'](_0x22641d,'$text')){const _0x2b296c=_0x182c2c['mapper']['toViewPosition'](_0x22641d);_0x3015c1=_0x182c2c['writer']['createContainerElement']('span'),_0x3015c1['getFillerOffset']=()=>null,_0x182c2c['writer']['insert'](_0x2b296c,_0x3015c1);}else{const _0x3391ca=_0x22641d['nodeAfter'];_0x3015c1=_0x182c2c['mapper']['toViewElement'](_0x3391ca);}}for(;_0x3015c1['parent']!==_0x3015c1['root']&&0x0===_0x3015c1['index'];)_0x3015c1=_0x3015c1['parent'];const _0x4c7000=_0x2a3483['substring'](0xb);_0x3015c1['hasClass']('page-break')||(_0x182c2c['writer']['setStyle']('page-break-before','always',_0x3015c1),_0x182c2c['writer']['setAttribute']('data-pagination-page',_0x4c7000,_0x3015c1),_0x182c2c['mapper']['bindElementToMarker'](_0x3015c1,_0x2a3483)),_0x2d10a5['stop']();});});}['_setupKeystrokes'](){const _0x461370=this['editor'];_0x461370['keystrokes']['set']('Shift+Pageup',(_0x5f1140,_0x22971d)=>{this['goToPreviousPage'](),_0x22971d();}),_0x461370['keystrokes']['set']('Shift+Pagedown',(_0x1dc2e1,_0x127ccb)=>{this['goToNextPage'](),_0x127ccb();}),_0x461370['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':getTranslation$7(_0x461370['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':getTranslation$7(_0x461370['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':getTranslation$7(_0x461370['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x2aa3c3){return _0x2aa3c3<0x1&&(_0x2aa3c3=0x1),_0x2aa3c3>this['totalPages']&&(_0x2aa3c3=this['totalPages']),_0x2aa3c3;}}class PageNavigatorView extends ckeditor5['View']{['pageNumberView'];constructor(_0x1dda7c){super(_0x1dda7c);const _0x46681e=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new ckeditor5['InputNumberView'](_0x1dda7c,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x48b4cd=>getTranslation$7(_0x1dda7c,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x48b4cd)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x2953ab=>!_0x2953ab),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x46681e['if']('isEnabled','ck-disabled',_0x3a34f8=>!_0x3a34f8)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x46681e['to']('totalPages')}]}]});}['render'](){super['render']();const _0x4f592d=this['pageNumberView']['element'],_0x5c320d=_0x59e287=>{this['pageNumberView']['element']['value']=String(_0x59e287);};_0x5c320d(this['pageNumber']),this['on']('change:pageNumber',(_0x562ba4,_0x33b172,_0x34aeb6)=>{_0x5c320d(_0x34aeb6);}),this['listenTo'](_0x4f592d,'keydown',(_0x187332,_0x3d9205)=>{if('ArrowUp'===_0x3d9205['key']||'ArrowDown'===_0x3d9205['key'])return void _0x3d9205['stopPropagation']();if(_0x3d9205['keyCode']!==ckeditor5['keyCodes']['enter'])return;_0x3d9205['preventDefault']();const _0x3976c6=_0x4f592d['valueAsNumber'];Number['isNaN'](_0x3976c6)?_0x4f592d['value']=String(this['pageNumber']):(_0x4f592d['checkValidity']()?this['pageNumber']=_0x3976c6:_0x3976c6>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x4f592d['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x4f592d['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x4f592d,'blur',()=>{_0x4f592d['value']=String(this['pageNumber']);}),this['listenTo'](_0x4f592d,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class PaginationUI extends ckeditor5['Plugin']{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x381cad=this['editor'],_0x3f1386=_0x381cad['plugins']['get']('PaginationEditing');_0x381cad['ui']['componentFactory']['add']('pageNavigation',_0x26a567=>{const _0x2846a3=new PageNavigatorView(_0x26a567);return _0x2846a3['bind']('pageNumber')['to'](_0x3f1386),_0x2846a3['bind']('totalPages')['to'](_0x3f1386),_0x2846a3['bind']('isEnabled')['to'](_0x3f1386),_0x2846a3['on']('navigation',(_0x536119,_0x9eb08f)=>{_0x3f1386['moveSelectionToPage'](_0x9eb08f),_0x3f1386['scrollToPage'](_0x9eb08f);}),_0x2846a3;}),_0x381cad['ui']['componentFactory']['add']('nextPage',_0x1fa31b=>{const _0xc64a6a=new ckeditor5['ButtonView'](_0x1fa31b);return _0xc64a6a['isEnabled']=!0x0,_0xc64a6a['label']=getTranslation$7(_0x381cad['locale'],'Go\x20to\x20next\x20page'),_0xc64a6a['icon']=ckeditor5['IconArrowDown'],_0xc64a6a['tooltip']=!0x0,_0xc64a6a['keystroke']='Shift+PageDown',_0xc64a6a['bind']('isEnabled')['to'](_0x3f1386),this['listenTo'](_0xc64a6a,'execute',()=>{_0x3f1386['goToNextPage']();}),_0xc64a6a;}),_0x381cad['ui']['componentFactory']['add']('previousPage',_0x26df7=>{const _0x3e282b=new ckeditor5['ButtonView'](_0x26df7);return _0x3e282b['isEnabled']=!0x0,_0x3e282b['label']=getTranslation$7(_0x381cad['locale'],'Go\x20to\x20previous\x20page'),_0x3e282b['icon']=ckeditor5['IconArrowUp'],_0x3e282b['tooltip']=!0x0,_0x3e282b['keystroke']='Shift+PageUp',_0x3e282b['bind']('isEnabled')['to'](_0x3f1386),this['listenTo'](_0x3e282b,'execute',()=>{_0x3f1386['goToPreviousPage']();}),_0x3e282b;});}}class Pagination extends ckeditor5['Plugin']{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[PaginationEditing,PaginationUI];}constructor(_0x347214){super(_0x347214),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x416722=this['editor']['plugins']['get'](PaginationEditing);this['bind']('pageNumber')['to'](_0x416722),this['bind']('totalPages')['to'](_0x416722),ckeditor5['env']['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x1c8c41){this['editor']['plugins']['get'](PaginationEditing)['scrollToPage'](_0x1c8c41);}}const _0x1aaaea=/<meta\s*name="?generator"?\s*content="?microsoft\s*excel\s*\d+"?\/?>/i;function isMSExcelContent(_0x46b802){return _0x1aaaea['test'](_0x46b802);}const _0x4590bd=/^(?<tagName>(?!\.)[\w-]+)?(\.(?<className>[\w-]+))?$/i;function getMatchingStyles(_0x402d52,_0x37d1eb){const _0x18fe9a=new Map();for(const [_0x3ade12,_0x486eaa]of _0x37d1eb){if(!_0x3ade12['tagName']&&!_0x3ade12['className'])continue;const _0x30d2ca=!_0x3ade12['tagName']||_0x402d52['name']===_0x3ade12['tagName'],_0x135922=!_0x3ade12['className']||_0x402d52['hasClass'](_0x3ade12['className']);_0x30d2ca&&_0x135922&&_0x18fe9a['set'](_0x3ade12,_0x486eaa);}return _0x18fe9a;}function extractStyles(_0x77e80d){const _0x6d260d={};for(const _0xb13a3e of _0x77e80d)for(const _0x497701 of _0xb13a3e['cssRules'])if(_0x497701 instanceof CSSStyleRule){const _0x54c99a=parseCSSStyleDeclaration(_0x497701['style']);_0x6d260d[_0x497701['selectorText']]=Object['assign']({},_0x6d260d[_0x497701['selectorText']]||{},_0x54c99a);}return _0x6d260d;}function expandStyles(_0x1ab814){const _0x3c8c68=new Map();for(const _0x818b08 in _0x1ab814){const _0x529bca=parseCSSSelector(_0x818b08),_0x3f1584=_0x1ab814[_0x818b08];for(const _0x2e56f0 of _0x529bca)_0x3c8c68['set'](_0x2e56f0,_0x3f1584);}return _0x3c8c68;}function parseCSSStyleDeclaration(_0x20d82e){const _0xbd351a={};for(let _0x3de1d3=0x0;_0x3de1d3<_0x20d82e['length'];_0x3de1d3++){const _0x3fde7a=_0x20d82e[_0x3de1d3],_0x4f705e=_0x20d82e['getPropertyValue'](_0x3fde7a);'initial'!==_0x4f705e&&(_0xbd351a[_0x3fde7a]=_0x4f705e);}return _0xbd351a;}function parseCSSSelector(_0x557102){const _0x430ca3=_0x557102['split'](',')['map'](_0x206ac7=>_0x206ac7['trim']()),_0x2803c0=[];for(const _0x25b8cc of _0x430ca3){const _0x3c6a28=_0x4590bd['exec'](_0x25b8cc);_0x3c6a28&&_0x2803c0['push'](_0x3c6a28['groups']);}return _0x2803c0;}function extractMsoPatternBackgroundColors(_0x42c50f){const _0x47530d={},_0x463faa=/(?<selector>[^{}]+)\{[^}]*mso-pattern:\s*(?<color>#[0-9A-Fa-f]{3,6}|[a-z]+)\s+(?<patternType>[\w-]+)[^}]*\}/gi,_0x44ca51=/\.(?<className>[\w-]+)/g;let _0x53bc38;for(;null!==(_0x53bc38=_0x463faa['exec'](_0x42c50f));){const {selector:_0x4a2772,color:_0x47f8cb,patternType:_0x54baa4}=_0x53bc38['groups'];if('auto'!==_0x47f8cb['toLowerCase']()&&'none'!==_0x54baa4['toLowerCase']()&&'auto'!==_0x54baa4['toLowerCase']()){for(const _0x3b2afe of _0x4a2772['matchAll'](_0x44ca51))_0x47530d[_0x3b2afe['groups']['className']]=_0x47f8cb;}}return _0x47530d;}function flattenStyleDefinitions(_0x46de3e){const _0x22ccfa={};for(const _0x25030b of _0x46de3e)Object['assign'](_0x22ccfa,_0x25030b);return _0x22ccfa;}class MSOfficeStylesInliner extends ckeditor5['PasteFromOfficeMSWordNormalizer']{['execute'](_0x48eb06){const {body:_0x2e191e,styles:_0x2f036c,stylesString:_0x255cc0}=_0x48eb06['_parsedData'],_0x521648=new ckeditor5['ViewUpcastWriter'](_0x2e191e['document']),_0x5e5b03=_0x521648['createRangeIn'](_0x2e191e),_0x5dee46=expandStyles(extractStyles(_0x2f036c)),_0x37cd49=extractMsoPatternBackgroundColors(_0x255cc0);for(const _0x3c4bb1 of _0x5e5b03){if('elementStart'!==_0x3c4bb1['type'])continue;const _0x366b74=_0x3c4bb1['item'],_0x1abe3a=getMatchingStyles(_0x366b74,_0x5dee46),_0x29db25=_0x1abe3a['size']?flattenStyleDefinitions(Array['from'](_0x1abe3a['values']())):{};if(!('background-color'in _0x29db25)&&!('background'in _0x29db25)){for(const [_0x27a051,_0x597c91]of Object['entries'](_0x37cd49))if(_0x366b74['hasClass'](_0x27a051)){_0x29db25['background-color']=_0x597c91;break;}}for(const _0x3be93a in _0x29db25)_0x366b74['hasStyle'](_0x3be93a)||_0x521648['setStyle'](_0x3be93a,_0x29db25[_0x3be93a],_0x366b74);}_0x48eb06['content']=_0x2e191e;}['isActive'](_0x1727d2){return super['isActive'](_0x1727d2)||isMSExcelContent(_0x1727d2);}}class PasteFromOfficeEnhancedInliner extends ckeditor5['Plugin']{static get['pluginName'](){return'PasteFromOfficeEnhancedInliner';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[ckeditor5['PasteFromOffice']];}['init'](){const _0x269550=this['editor'],_0x14b63c=_0x269550['plugins']['get']('ClipboardPipeline'),_0x369d18=_0x269550['editing']['view']['document'],_0x247ef=new MSOfficeStylesInliner(_0x369d18);_0x14b63c['on']('inputTransformation',(_0x356de1,_0xe1bf52)=>{const _0x42cc7b=_0xe1bf52['dataTransfer']['getData']('text/html');_0x247ef['isActive'](_0x42cc7b)&&(_0xe1bf52['_parsedData']||(_0xe1bf52['_parsedData']=ckeditor5['parsePasteOfficeHtml'](_0x42cc7b,_0x369d18['stylesProcessor'])),_0x247ef['execute'](_0xe1bf52));},{'priority':ckeditor5['priorities']['get']('high')+0xb});}['afterInit'](){_0x47285a(this);}}async function _0x47285a(_0xc1c77){const _0x94e984=_0x3216d4([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]),_0x4e22be=window[_0x3216d4([0x44,0x61,0x74,0x65])][_0x3216d4([0x6e,0x6f,0x77])](),_0x194f41=_0xc1c77[_0x3216d4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1d0aae=new window[(_0x3216d4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55dc59=>{_0x194f41[_0x3216d4([0x6f,0x6e,0x63,0x65])](_0x3216d4([0x72,0x65,0x61,0x64,0x79]),_0x55dc59);}),_0x34a410={[_0x3216d4([0x6b,0x74,0x79])]:_0x3216d4([0x45,0x43]),[_0x3216d4([0x75,0x73,0x65])]:_0x3216d4([0x73,0x69,0x67]),[_0x3216d4([0x63,0x72,0x76])]:_0x3216d4([0x50,0x2d,0x32,0x35,0x36]),[_0x3216d4([0x78])]:_0x3216d4([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]),[_0x3216d4([0x79])]:_0x3216d4([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]),[_0x3216d4([0x61,0x6c,0x67])]:_0x3216d4([0x45,0x53,0x32,0x35,0x36])},_0xaaa8d1=_0x194f41[_0x3216d4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3216d4([0x67,0x65,0x74])](_0x3216d4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x2bc28f=await(async function(){let _0x1ed98b,_0x2ccd34=null,_0x4d0a1e=null;try{if(_0xaaa8d1==_0x3216d4([0x47,0x50,0x4c]))return _0x3216d4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1ed98b=(function(){const _0x43dcdb=_0xaaa8d1[_0x3216d4([0x73,0x70,0x6c,0x69,0x74])](_0x3216d4([0x2e]));if(0x3!=_0x43dcdb[_0x3216d4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x26deff=_0x43dcdb[0x1];return _0x3c4cc2(_0x26deff);function _0x3c4cc2(_0x5bfd72){const _0x5d362d=_0x42a181(_0x5bfd72);return _0x5d362d&&_0x2ef6fa()?_0x5d362d:null;function _0x2ef6fa(){const _0x2e721b=_0x5d362d[_0x3216d4([0x6a,0x74,0x69])],_0x17687e=window[_0x3216d4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e721b[_0x3216d4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2e721b[_0x3216d4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1639fe={..._0x5d362d,[_0x3216d4([0x6a,0x74,0x69])]:_0x2e721b[_0x3216d4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2e721b[_0x3216d4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1639fe[_0x3216d4([0x76,0x63])],_0x11efd8(_0x1639fe)==_0x17687e;}}}()),!_0x1ed98b)return _0x3216d4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x1ed98b[_0x3216d4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4d0a1e=function(_0x5da1c6,_0x53f451){return new window[(_0x3216d4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x524694=>{if(_0x34cc88())return _0x524694(_0x3216d4([0x56,0x61,0x6c,0x69,0x64]));_0x473197(),_0x194f41[_0x3216d4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3216d4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2c1b5a=!0x1;const _0x4701dd=ckeditor5['uid']();function _0x50ecd7(_0x394a28){return!!_0x394a28&&(typeof _0x394a28===_0x3216d4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x394a28===_0x3216d4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x394a28[_0x3216d4([0x74,0x68,0x65,0x6e])]===_0x3216d4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x394a28[_0x3216d4([0x63,0x61,0x74,0x63,0x68])]===_0x3216d4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x191544(_0x5bc6b0){_0x5130f7(_0x5bc6b0)[_0x3216d4([0x74,0x68,0x65,0x6e])](_0x1aff84=>{if(!_0x1aff84||_0x1aff84[_0x3216d4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3216d4([0x6f,0x6b]))return _0x3216d4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x360492(_0x11efd8(_0x4701dd+_0x53f451))!=_0x1aff84[_0x3216d4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3216d4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3216d4([0x56,0x61,0x6c,0x69,0x64]);})[_0x3216d4([0x74,0x68,0x65,0x6e])](_0x33c0bb=>(_0x280eba(),_0x33c0bb),()=>{const _0x523317=_0x35790a();return null==_0x523317?(_0x280eba(),_0x3216d4([0x56,0x61,0x6c,0x69,0x64])):_0x3216d4(_0x4e22be-_0x523317>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3216d4([0x74,0x68,0x65,0x6e])](_0x524694)[_0x3216d4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x524694(_0x3216d4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4512b8=0x36ee80;function _0x280eba(){const _0x2bfb13=_0x3216d4([0x6c,0x6c,0x63,0x74,0x2d])+_0x360492(_0x11efd8(_0x5da1c6)),_0x5cc5d6=_0x2edab1(_0x360492(window[_0x3216d4([0x4d,0x61,0x74,0x68])][_0x3216d4([0x63,0x65,0x69,0x6c])](_0x4e22be/_0x4512b8)));window[_0x3216d4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3216d4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2bfb13,_0x5cc5d6);}function _0x35790a(){const _0xf36207=_0x3216d4([0x6c,0x6c,0x63,0x74,0x2d])+_0x360492(_0x11efd8(_0x5da1c6)),_0x63de76=window[_0x3216d4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3216d4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xf36207);return _0x63de76?window[_0x3216d4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2edab1(_0x63de76),0x10)*_0x4512b8:null;}function _0x5130f7(_0x4f9c09){return new window[(_0x3216d4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2b61ea,_0xf53352)=>{_0x4f9c09[_0x3216d4([0x74,0x68,0x65,0x6e])](_0x2b61ea,_0xf53352),window[_0x3216d4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xf53352,0x1d4c0);});}}_0x194f41[_0x3216d4([0x6f,0x6e])](_0x3216d4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x42c38f,_0x674c98)=>{if(_0x674c98[0x0]!=_0x5da1c6)return _0x524694(_0x3216d4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x674c98[0x1]={..._0x674c98[0x1],[_0x3216d4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4701dd};},{[_0x3216d4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3216d4([0x68,0x69,0x67,0x68])}),_0x194f41[_0x3216d4([0x6f,0x6e])](_0x3216d4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5498f0=>{_0x50ecd7(_0x5498f0[_0x3216d4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2c1b5a=!0x0,_0x191544(_0x5498f0[_0x3216d4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3216d4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3216d4([0x6c,0x6f,0x77])}),_0x1d0aae[_0x3216d4([0x74,0x68,0x65,0x6e])](()=>{_0x2c1b5a||_0x524694(_0x3216d4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x34cc88(){return _0x194f41[_0x3216d4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3216d4([0x76,0x69,0x65,0x77])][_0x3216d4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3216d4([0x61,0x75,0x74,0x6f]);}function _0x473197(){_0x194f41[_0x3216d4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3216d4([0x76,0x69,0x65,0x77])][_0x3216d4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3216d4([0x61,0x75,0x74,0x6f]);}}(_0x1ed98b[_0x3216d4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1ed98b[_0x3216d4([0x6a,0x74,0x69])]));const _0x5029e8=await(async function(){let _0x252f63=!0x0;try{const _0x259bfc=_0xaaa8d1[_0x3216d4([0x73,0x70,0x6c,0x69,0x74])](_0x3216d4([0x2e])),[_0x59c46d,_0x3dd564,_0x1831db]=_0x259bfc;return _0x1106ed(_0x59c46d),await _0x3a798d(_0x59c46d,_0x3dd564,_0x1831db),_0x252f63;}catch{return!0x1;}function _0x1106ed(_0x5c1465){const _0x3af517=_0x42a181(_0x5c1465);_0x3af517&&_0x3af517[_0x3216d4([0x61,0x6c,0x67])]==_0x3216d4([0x45,0x53,0x32,0x35,0x36])||(_0x252f63=!0x1);}async function _0x3a798d(_0x5055f1,_0x10fbc4,_0x408a49){const _0x3e7249=window[_0x3216d4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3216d4([0x66,0x72,0x6f,0x6d])](_0x2dab51(_0x408a49),_0x696de=>_0x696de[_0x3216d4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x519a7d=new window[(_0x3216d4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3216d4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5055f1+_0x3216d4([0x2e])+_0x10fbc4),_0x21222d=window[_0x3216d4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3216d4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x21222d)return;const _0x1a6dfe=await _0x21222d[_0x3216d4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3216d4([0x6a,0x77,0x6b]),_0x34a410,{[_0x3216d4([0x6e,0x61,0x6d,0x65])]:_0x3216d4([0x45,0x43,0x44,0x53,0x41]),[_0x3216d4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3216d4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3216d4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x21222d[_0x3216d4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3216d4([0x6e,0x61,0x6d,0x65])]:_0x3216d4([0x45,0x43,0x44,0x53,0x41]),[_0x3216d4([0x68,0x61,0x73,0x68])]:{[_0x3216d4([0x6e,0x61,0x6d,0x65])]:_0x3216d4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1a6dfe,_0x3e7249,_0x519a7d)||(_0x252f63=!0x1);}}());return _0x5029e8?(function(){const _0x1a7523=_0x1ed98b[_0x3216d4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x1a7523)return!0x1;if(_0x1a7523[_0x3216d4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3216d4([0x2a])))return!0x0;if(_0x1a7523[_0x3216d4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3216d4([0x50,0x4f,0x45])))return!0x0;if(_0x1a7523[_0x3216d4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3216d4([0x50,0x50])))return!0x0;if(_0x1a7523[_0x3216d4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3216d4([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x3216d4([0x67,0x6c,0x6f,0x62])]&&window[_0x3216d4([0x67,0x6c,0x6f,0x62])][_0x3216d4([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;return!0x1;}())?(function(){const _0x5bed9b=[_0x3216d4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3216d4([0x74,0x72,0x69,0x61,0x6c])][_0x3216d4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ed98b[_0x3216d4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4e22be/0x3e8:0x6a03bf00;return _0x1ed98b[_0x3216d4([0x65,0x78,0x70])]<_0x5bed9b;}())?_0x3216d4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x4a2173=_0x1ed98b[_0x3216d4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4a2173||0x0==_0x4a2173[_0x3216d4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3e6bbe}=new URL(window[_0x3216d4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4a2173[_0x3216d4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e6bbe))return!0x0;const _0x45caa3=_0x3e6bbe[_0x3216d4([0x73,0x70,0x6c,0x69,0x74])](_0x3216d4([0x2e]));return _0x4a2173[_0x3216d4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3171d4=>_0x3171d4[_0x3216d4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3216d4([0x2a])))[_0x3216d4([0x6d,0x61,0x70])](_0x2328b7=>_0x2328b7[_0x3216d4([0x73,0x70,0x6c,0x69,0x74])](_0x3216d4([0x2e])))[_0x3216d4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xd6cbf1=>_0xd6cbf1[_0x3216d4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x45caa3[_0x3216d4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3216d4([0x6d,0x61,0x70])](_0x13b71e=>Array(_0x45caa3[_0x3216d4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x13b71e[_0x3216d4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3216d4([0x66,0x69,0x6c,0x6c])](_0x13b71e[0x0]===_0x3216d4([0x2a])?_0x3216d4([0x2a]):'')[_0x3216d4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x13b71e))[_0x3216d4([0x73,0x6f,0x6d,0x65])](_0x2555e1=>_0x45caa3[_0x3216d4([0x65,0x76,0x65,0x72,0x79])]((_0x1ca763,_0x5eadd6)=>_0x2555e1[_0x5eadd6]===_0x1ca763||_0x2555e1[_0x5eadd6]===_0x3216d4([0x2a])));}())?(_0x1ed98b[_0x3216d4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3216d4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2ccd34=function(_0x10b30e){const _0x572d0b=new window[(_0x3216d4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1576b7=>setTimeout(_0x1576b7,0x93ecc)),_0x234188=_0x1d0aae[_0x3216d4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3216d4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x516835=>{let _0x462d22=0x0;_0x194f41[_0x3216d4([0x6d,0x6f,0x64,0x65,0x6c])][_0x3216d4([0x6f,0x6e])](_0x3216d4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3bac8a,_0x3fa489)=>{_0x3fa489[0x0][_0x3216d4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x462d22++,0x5e8==_0x462d22&&(_0x516835(),_0x3bac8a[_0x3216d4([0x6f,0x66,0x66])]());});})),_0x55f8c1=[_0x572d0b,_0x234188];return window[_0x3216d4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3216d4([0x72,0x61,0x63,0x65])](_0x55f8c1)[_0x3216d4([0x74,0x68,0x65,0x6e])](()=>_0x10b30e);}(_0x3216d4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x2ccd34&&_0x4d0a1e)return new window[(_0x3216d4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x34e559,_0x116382)=>{_0x2ccd34[_0x3216d4([0x74,0x68,0x65,0x6e])](_0x34e559,_0x116382),_0x4d0a1e[_0x3216d4([0x74,0x68,0x65,0x6e])](_0x4d4ab8=>{_0x4d4ab8!=_0x3216d4([0x56,0x61,0x6c,0x69,0x64])&&_0x34e559(_0x4d4ab8);},_0x116382);});return _0x2ccd34||_0x4d0a1e||_0x3216d4([0x56,0x61,0x6c,0x69,0x64]);}())):_0x3216d4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3216d4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3216d4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3216d4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x42a181(_0x117b10){return _0x117b10[_0x3216d4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3216d4([0x65,0x79]))?JSON[_0x3216d4([0x70,0x61,0x72,0x73,0x65])](_0x2dab51(_0x117b10)):null;}function _0x2dab51(_0x1696e1){return window[_0x3216d4([0x61,0x74,0x6f,0x62])](_0x1696e1[_0x3216d4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3216d4([0x2b]))[_0x3216d4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3216d4([0x2f])));}function _0x11efd8(_0x48e7d6){let _0x2630c6=0x1505;function _0xeaa6b9(_0xe196bd){for(let _0xbc7e20=0x0;_0xbc7e20<_0xe196bd[_0x3216d4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xbc7e20++){const _0x1f1e8c=_0xe196bd[_0x3216d4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xbc7e20);_0x2630c6=(_0x2630c6<<0x5)+_0x2630c6+_0x1f1e8c,_0x2630c6&=_0x2630c6;}}return function _0x263a61(_0x392b39){Array[_0x3216d4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x392b39)?_0x392b39[_0x3216d4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x263a61):_0x392b39&&typeof _0x392b39==_0x3216d4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3216d4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x392b39)[_0x3216d4([0x73,0x6f,0x72,0x74])]()[_0x3216d4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x35968,_0x1bb494])=>{_0xeaa6b9(_0x35968),_0x263a61(_0x1bb494);}):_0xeaa6b9(window[_0x3216d4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x392b39));}(_0x48e7d6),_0x2630c6>>>0x0;}function _0x360492(_0x3c1996){return _0x3c1996[_0x3216d4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3216d4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3216d4([0x30]));}function _0x2edab1(_0x5d0274){return _0x5d0274[_0x3216d4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3216d4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3216d4([0x6a,0x6f,0x69,0x6e])]('');}function _0x59631c(){}function _0x3216d4(_0x4c57a2){return _0x4c57a2['map'](_0x4109c6=>String['fromCharCode'](_0x4109c6))['join']('');}!function(_0x2dd214){const _0x18e1d2=(function(){const _0x331543=window[_0x3216d4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3216d4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3216d4([0x6e,0x6f,0x77])]())[_0x3216d4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3216d4([0x2e]),'');let _0x5e3c72=_0x3216d4([0x73]);for(let _0x42bb47=0x0;_0x42bb47<_0x331543[_0x3216d4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x42bb47+=0x2){let _0xe122dc=window[_0x3216d4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x331543[_0x3216d4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x42bb47,_0x42bb47+0x2));_0xe122dc>=_0x94e984[_0x3216d4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xe122dc-=_0x94e984[_0x3216d4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5e3c72+=_0x94e984[_0xe122dc];}return _0x5e3c72;}());_0x194f41[_0x18e1d2]=_0x3216d4([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])+_0x2dd214,_0x2dd214!=_0x3216d4([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x1d0aae,_0x194f41[_0x3216d4([0x6d,0x6f,0x64,0x65,0x6c])][_0x3216d4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x59631c,_0x194f41[_0x3216d4([0x6d,0x6f,0x64,0x65,0x6c])][_0x3216d4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x59631c,_0x194f41[_0x3216d4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3216d4([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x2bc28f);}const _0x199562=['color','font-family','font-size','text-decoration','text-decoration-line','font-weight','font-style','vertical-align'],_0x3f4540=['color','font-family','font-size'],_0x2d2fce={'font-style':[['italic','i']],'font-weight':[['medium','strong'],['bold','strong'],['bolder','strong'],[_0x206e0b=>Number(_0x206e0b)>=0x258,'strong']],'text-decoration':[['underline','u'],['line-through','s']],'text-decoration-line':[['underline','u'],['line-through','s']],'vertical-align':[['sub','sub'],['super','sup']]};function isPropertyToBePropagated(_0x47f3c6){return _0x199562['includes'](_0x47f3c6);}function isPropertyToBePropagatedAsSpan(_0x2281e0){return _0x3f4540['includes'](_0x2281e0);}function isPropertyToBePropagatedAsHTMLElement(_0x2b018f){return _0x2b018f in _0x2d2fce;}function getStylePropertyNamesToPropagate(_0x348fd7){return Array['from'](_0x348fd7['getStyleNames']())['filter'](isPropertyToBePropagated);}function propagateStyleProperties(_0x562698,_0x109ea1,_0x11d58a){const {spanStyles:_0x16c716,stylesToBeHtmlElements:_0x55c924}=getStylesToPropagate(_0x562698,_0x11d58a);propagateStylesAsHTMLElements(_0x562698,_0x109ea1,_0x55c924),propagateStylesAsSpan(_0x562698,_0x109ea1,_0x16c716);}function propagateStylesAsHTMLElements(_0x738487,_0x2ca2fc,_0x19cd8f){for(const _0x2f3093 in _0x19cd8f){_0x19cd8f[_0x2f3093]['forEach'](([,_0x2825b8])=>{const _0x1dbb6f=_0x2ca2fc['createElement'](_0x2825b8,[],_0x738487['getChildren']());_0x2ca2fc['insertChild'](0x0,_0x1dbb6f,_0x738487);}),_0x2ca2fc['removeStyle'](_0x2f3093,_0x738487);}}function propagateSpanStylesToExistingChildren(_0x37bc12,_0x5e8780,_0x317a9f){const {spanStyles:_0x5132e5}=getStylesToPropagate(_0x37bc12,_0x317a9f),_0x3d8036=Object['keys'](_0x5132e5);if(!_0x3d8036['length'])return;let _0x2e4a2a=!0x1;for(const _0x5eec57 of _0x37bc12['getChildren']())if(_0x5eec57['is']('element','span')){_0x2e4a2a=!0x0;for(const [_0x1d8de1,_0x38ebd7]of Object['entries'](_0x5132e5))_0x5eec57['hasStyle'](_0x1d8de1)||_0x5e8780['setStyle']({[_0x1d8de1]:_0x38ebd7},_0x5eec57);}_0x2e4a2a&&_0x5e8780['removeStyle'](_0x3d8036,_0x37bc12);}function propagateStylesAsSpan(_0x123876,_0x2608f8,_0x12a0b5){if(!Object['keys'](_0x12a0b5)['length'])return;const _0x26367d=_0x2608f8['createElement']('span',[],_0x123876['getChildren']());_0x2608f8['setStyle'](_0x12a0b5,_0x26367d),_0x2608f8['insertChild'](0x0,_0x26367d,_0x123876),_0x2608f8['removeStyle'](Object['keys'](_0x12a0b5),_0x123876);}function getStylesToPropagate(_0x2cc46f,_0x3e85b4){const _0x626d5d={},_0x459535={};return _0x3e85b4['forEach'](_0x4e8213=>{const _0x592df9=_0x2cc46f['getStyle'](_0x4e8213);if(_0x592df9){if(isPropertyToBePropagatedAsSpan(_0x4e8213))_0x626d5d[_0x4e8213]=_0x592df9;else{if(isPropertyToBePropagatedAsHTMLElement(_0x4e8213)){const _0x2119cf=_0x592df9['split']('\x20');_0x2d2fce[_0x4e8213]['forEach'](([_0x94e3d7,_0xeb95c4])=>{for(const _0x3b2021 of _0x2119cf){('function'==typeof _0x94e3d7&&_0x94e3d7(_0x3b2021)||_0x94e3d7===_0x3b2021)&&(_0x459535[_0x4e8213]=[..._0x459535[_0x4e8213]||[],[_0x94e3d7,_0xeb95c4]]);}});}}}}),{'spanStyles':_0x626d5d,'stylesToBeHtmlElements':_0x459535};}class MSOfficeInlineStylePropagator extends ckeditor5['PasteFromOfficeMSWordNormalizer']{['execute'](_0x5ec77f){const {body:_0x337c38}=_0x5ec77f['_parsedData'],_0x2ce709=new ckeditor5['ViewUpcastWriter'](_0x337c38['document']),_0x8e02dc=_0x2ce709['createRangeIn'](_0x337c38),_0x554c29=new ckeditor5['ViewDocument'](_0x2ce709['document']['stylesProcessor']),_0x328701=[...new ckeditor5['ViewDomConverter'](_0x554c29)['blockElements'],'font'],_0x3e6641=_0x8e02dc['getItems']();for(const _0x3bab08 of _0x3e6641)if(_0x3bab08['is']('element')&&_0x328701['includes'](_0x3bab08['name'])){if(_0x3bab08['hasStyle']('mso-list')&&'none'!==_0x3bab08['getStyle']('mso-list')){propagateSpanStylesToExistingChildren(_0x3bab08,_0x2ce709,getStylePropertyNamesToPropagate(_0x3bab08));continue;}propagateStyleProperties(_0x3bab08,_0x2ce709,getStylePropertyNamesToPropagate(_0x3bab08));}_0x5ec77f['content']=_0x337c38;}['isActive'](_0x3bfbc3){return super['isActive'](_0x3bfbc3)||isMSExcelContent(_0x3bfbc3);}}class PasteFromOfficeEnhancedPropagator extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PasteFromOfficeEnhancedPropagator';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[ckeditor5['PasteFromOffice']];}['init'](){const _0x118515=this['editor'],_0x22527d=_0x118515['plugins']['get']('ClipboardPipeline'),_0x44d9fd=_0x118515['editing']['view']['document'],_0x96ffdd=new MSOfficeInlineStylePropagator(_0x44d9fd);_0x22527d['on']('inputTransformation',(_0x4c2588,_0x462d5f)=>{const _0x44374d=_0x462d5f['dataTransfer']['getData']('text/html');_0x96ffdd['isActive'](_0x44374d)&&(_0x462d5f['_parsedData']||(_0x462d5f['_parsedData']=ckeditor5['parsePasteOfficeHtml'](_0x44374d,_0x44d9fd['stylesProcessor'])),_0x96ffdd['execute'](_0x462d5f));},{'priority':ckeditor5['priorities']['get']('high')+0xa}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3514ca=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x553fcc;for(const _0x4e0722 in _0x3514ca){const _0x22558b=_0x4e0722,_0x4e8b03=_0x3514ca[_0x22558b];if('pasteFromOfficeEnhancedLicenseKeyValid'==_0x4e8b03||'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x4e8b03||'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x4e8b03||'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x4e8b03||'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x4e8b03||'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x4e8b03||'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x4e8b03){delete _0x3514ca[_0x22558b],_0x553fcc=_0x4e8b03,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x553fcc&&_0x3514ca['_showLicenseError']('invalid'),'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x553fcc&&_0x3514ca['_showLicenseError']('expired'),'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x553fcc&&_0x3514ca['_showLicenseError']('domainLimit'),'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x553fcc&&_0x3514ca['_showLicenseError']('featureNotAllowed','PasteFromOfficeEnhanced'),'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x553fcc&&_0x3514ca['_showLicenseError']('evaluationLimit'),'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x553fcc&&_0x3514ca['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class PasteFromOfficeEnhanced extends ckeditor5['Plugin']{static get['pluginName'](){return'PasteFromOfficeEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[ckeditor5['PasteFromOffice'],PasteFromOfficeEnhancedInliner,PasteFromOfficeEnhancedPropagator];}}var _0x54d32b='undefined'!=typeof globalThis?globalThis:'undefined'!=typeof window?window:'undefined'!=typeof global?global:'undefined'!=typeof self?self:{},_0x42d377={},_0x3b9fd7={},_0x5df43b,_0xe9345c;function requireAspromise(){if(_0xe9345c)return _0x5df43b;return _0xe9345c=0x1,_0x5df43b=function(_0x4f13d5,_0x233382){var _0x5d8a44=new Array(arguments['length']-0x1),_0x5818d6=0x0,_0x49ecba=0x2,_0xec1be5=!0x0;for(;_0x49ecba<arguments['length'];)_0x5d8a44[_0x5818d6++]=arguments[_0x49ecba++];return new Promise(function(_0x197cff,_0x1b2493){_0x5d8a44[_0x5818d6]=function(_0x26c7f7){if(_0xec1be5){if(_0xec1be5=!0x1,_0x26c7f7)_0x1b2493(_0x26c7f7);else{for(var _0x24c193=new Array(arguments['length']-0x1),_0x5dfa3d=0x0;_0x5dfa3d<_0x24c193['length'];)_0x24c193[_0x5dfa3d++]=arguments[_0x5dfa3d];_0x197cff['apply'](null,_0x24c193);}}};try{_0x4f13d5['apply'](_0x233382||null,_0x5d8a44);}catch(_0x953914){_0xec1be5&&(_0xec1be5=!0x1,_0x1b2493(_0x953914));}});},_0x5df43b;}var _0x5e4007={},_0xff696e,eventemitter,hasRequiredEventemitter,float,hasRequiredFloat,_0x1f9652,_0x47bded;function requireBase64(){return _0xff696e||(_0xff696e=0x1,function(_0x276f91){var _0x4ef623=_0x276f91;_0x4ef623['length']=function(_0x214613){var _0xfc6b29=_0x214613['length'];if(!_0xfc6b29)return 0x0;for(var _0x40b39c=0x0;--_0xfc6b29%0x4>0x1&&'='===_0x214613['charAt'](_0xfc6b29);)++_0x40b39c;return Math['ceil'](0x3*_0x214613['length'])/0x4-_0x40b39c;};for(var _0x2a21aa=new Array(0x40),_0x5c33c3=new Array(0x7b),_0x2f3310=0x0;_0x2f3310<0x40;)_0x5c33c3[_0x2a21aa[_0x2f3310]=_0x2f3310<0x1a?_0x2f3310+0x41:_0x2f3310<0x34?_0x2f3310+0x47:_0x2f3310<0x3e?_0x2f3310-0x4:_0x2f3310-0x3b|0x2b]=_0x2f3310++;_0x4ef623['encode']=function(_0x3feac2,_0x2fa7db,_0x189b89){for(var t,_0x4b5f8d=null,_0x25c5f0=[],_0x3061a9=0x0,_0x1ab09d=0x0;_0x2fa7db<_0x189b89;){var _0x20f225=_0x3feac2[_0x2fa7db++];switch(_0x1ab09d){case 0x0:_0x25c5f0[_0x3061a9++]=_0x2a21aa[_0x20f225>>0x2],t=(0x3&_0x20f225)<<0x4,_0x1ab09d=0x1;break;case 0x1:_0x25c5f0[_0x3061a9++]=_0x2a21aa[t|_0x20f225>>0x4],t=(0xf&_0x20f225)<<0x2,_0x1ab09d=0x2;break;case 0x2:_0x25c5f0[_0x3061a9++]=_0x2a21aa[t|_0x20f225>>0x6],_0x25c5f0[_0x3061a9++]=_0x2a21aa[0x3f&_0x20f225],_0x1ab09d=0x0;}_0x3061a9>0x1fff&&((_0x4b5f8d||(_0x4b5f8d=[]))['push'](String['fromCharCode']['apply'](String,_0x25c5f0)),_0x3061a9=0x0);}return _0x1ab09d&&(_0x25c5f0[_0x3061a9++]=_0x2a21aa[t],_0x25c5f0[_0x3061a9++]=0x3d,0x1===_0x1ab09d&&(_0x25c5f0[_0x3061a9++]=0x3d)),_0x4b5f8d?(_0x3061a9&&_0x4b5f8d['push'](String['fromCharCode']['apply'](String,_0x25c5f0['slice'](0x0,_0x3061a9))),_0x4b5f8d['join']('')):String['fromCharCode']['apply'](String,_0x25c5f0['slice'](0x0,_0x3061a9));};var _0x1dc929='invalid\x20encoding';_0x4ef623['decode']=function(_0x101a22,_0x4a5ce5,_0x117411){for(var t,_0x56d40f=_0x117411,_0x1a01d0=0x0,_0x4ad6e9=0x0;_0x4ad6e9<_0x101a22['length'];){var _0x10c030=_0x101a22['charCodeAt'](_0x4ad6e9++);if(0x3d===_0x10c030&&_0x1a01d0>0x1)break;if(void 0x0===(_0x10c030=_0x5c33c3[_0x10c030]))throw Error(_0x1dc929);switch(_0x1a01d0){case 0x0:t=_0x10c030,_0x1a01d0=0x1;break;case 0x1:_0x4a5ce5[_0x117411++]=t<<0x2|(0x30&_0x10c030)>>0x4,t=_0x10c030,_0x1a01d0=0x2;break;case 0x2:_0x4a5ce5[_0x117411++]=(0xf&t)<<0x4|(0x3c&_0x10c030)>>0x2,t=_0x10c030,_0x1a01d0=0x3;break;case 0x3:_0x4a5ce5[_0x117411++]=(0x3&t)<<0x6|_0x10c030,_0x1a01d0=0x0;}}if(0x1===_0x1a01d0)throw Error(_0x1dc929);return _0x117411-_0x56d40f;},_0x4ef623['test']=function(_0x364f31){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/['test'](_0x364f31);};}(_0x5e4007)),_0x5e4007;}function requireEventemitter(){if(hasRequiredEventemitter)return eventemitter;function _0x577c11(){this['_listeners']={};}return hasRequiredEventemitter=0x1,eventemitter=_0x577c11,_0x577c11['prototype']['on']=function(_0x250e3a,_0xf4e22f,_0x3b5ab2){return(this['_listeners'][_0x250e3a]||(this['_listeners'][_0x250e3a]=[]))['push']({'fn':_0xf4e22f,'ctx':_0x3b5ab2||this}),this;},_0x577c11['prototype']['off']=function(_0x2f0046,_0x7b4cf0){if(void 0x0===_0x2f0046)this['_listeners']={};else{if(void 0x0===_0x7b4cf0)this['_listeners'][_0x2f0046]=[];else{for(var _0x1db05d=this['_listeners'][_0x2f0046],_0x2fd085=0x0;_0x2fd085<_0x1db05d['length'];)_0x1db05d[_0x2fd085]['fn']===_0x7b4cf0?_0x1db05d['splice'](_0x2fd085,0x1):++_0x2fd085;}}return this;},_0x577c11['prototype']['emit']=function(_0x5b3b61){var _0x482434=this['_listeners'][_0x5b3b61];if(_0x482434){for(var _0x4ae3f6=[],_0x416a3d=0x1;_0x416a3d<arguments['length'];)_0x4ae3f6['push'](arguments[_0x416a3d++]);for(_0x416a3d=0x0;_0x416a3d<_0x482434['length'];)_0x482434[_0x416a3d]['fn']['apply'](_0x482434[_0x416a3d++]['ctx'],_0x4ae3f6);}return this;},eventemitter;}function requireFloat(){if(hasRequiredFloat)return float;function _0x11d8c1(_0x535c58){return'undefined'!=typeof Float32Array?(function(){var _0x3771e6=new Float32Array([-0x0]),_0x3f96e2=new Uint8Array(_0x3771e6['buffer']),_0xb3d607=0x80===_0x3f96e2[0x3];function _0x490467(_0x3fceec,_0x12c708,_0x1e9b77){_0x3771e6[0x0]=_0x3fceec,_0x12c708[_0x1e9b77]=_0x3f96e2[0x0],_0x12c708[_0x1e9b77+0x1]=_0x3f96e2[0x1],_0x12c708[_0x1e9b77+0x2]=_0x3f96e2[0x2],_0x12c708[_0x1e9b77+0x3]=_0x3f96e2[0x3];}function _0x29cef0(_0x2ef0c5,_0x48dce6,_0x3f5c6d){_0x3771e6[0x0]=_0x2ef0c5,_0x48dce6[_0x3f5c6d]=_0x3f96e2[0x3],_0x48dce6[_0x3f5c6d+0x1]=_0x3f96e2[0x2],_0x48dce6[_0x3f5c6d+0x2]=_0x3f96e2[0x1],_0x48dce6[_0x3f5c6d+0x3]=_0x3f96e2[0x0];}function _0x3cb477(_0x56a43b,_0x217185){return _0x3f96e2[0x0]=_0x56a43b[_0x217185],_0x3f96e2[0x1]=_0x56a43b[_0x217185+0x1],_0x3f96e2[0x2]=_0x56a43b[_0x217185+0x2],_0x3f96e2[0x3]=_0x56a43b[_0x217185+0x3],_0x3771e6[0x0];}function _0x4a33e4(_0x272f57,_0x28866e){return _0x3f96e2[0x3]=_0x272f57[_0x28866e],_0x3f96e2[0x2]=_0x272f57[_0x28866e+0x1],_0x3f96e2[0x1]=_0x272f57[_0x28866e+0x2],_0x3f96e2[0x0]=_0x272f57[_0x28866e+0x3],_0x3771e6[0x0];}_0x535c58['writeFloatLE']=_0xb3d607?_0x490467:_0x29cef0,_0x535c58['writeFloatBE']=_0xb3d607?_0x29cef0:_0x490467,_0x535c58['readFloatLE']=_0xb3d607?_0x3cb477:_0x4a33e4,_0x535c58['readFloatBE']=_0xb3d607?_0x4a33e4:_0x3cb477;}()):(function(){function _0x241252(_0x24aaf0,_0x4534bb,_0x57dafa,_0x5572d2){var _0x19df88=_0x4534bb<0x0?0x1:0x0;if(_0x19df88&&(_0x4534bb=-_0x4534bb),0x0===_0x4534bb)_0x24aaf0(0x1/_0x4534bb>0x0?0x0:0x80000000,_0x57dafa,_0x5572d2);else{if(isNaN(_0x4534bb))_0x24aaf0(0x7fc00000,_0x57dafa,_0x5572d2);else{if(_0x4534bb>0xffffff00000000000000000000000000)_0x24aaf0((_0x19df88<<0x1f|0x7f800000)>>>0x0,_0x57dafa,_0x5572d2);else{if(_0x4534bb<1.1754943508222875e-38)_0x24aaf0((_0x19df88<<0x1f|Math['round'](_0x4534bb/1.401298464324817e-45))>>>0x0,_0x57dafa,_0x5572d2);else{var _0xbe7bff=Math['floor'](Math['log'](_0x4534bb)/Math['LN2']);_0x24aaf0((_0x19df88<<0x1f|_0xbe7bff+0x7f<<0x17|0x7fffff&Math['round'](_0x4534bb*Math['pow'](0x2,-_0xbe7bff)*0x800000))>>>0x0,_0x57dafa,_0x5572d2);}}}}}function _0x4d787f(_0x2accb0,_0xad7832,_0x506f48){var _0x54767b=_0x2accb0(_0xad7832,_0x506f48),_0x268e7c=0x2*(_0x54767b>>0x1f)+0x1,_0x1953da=_0x54767b>>>0x17&0xff,_0xb0d875=0x7fffff&_0x54767b;return 0xff===_0x1953da?_0xb0d875?NaN:_0x268e7c*(0x1/0x0):0x0===_0x1953da?1.401298464324817e-45*_0x268e7c*_0xb0d875:_0x268e7c*Math['pow'](0x2,_0x1953da-0x96)*(_0xb0d875+0x800000);}_0x535c58['writeFloatLE']=_0x241252['bind'](null,_0x565b70),_0x535c58['writeFloatBE']=_0x241252['bind'](null,_0x203e1),_0x535c58['readFloatLE']=_0x4d787f['bind'](null,_0x308587),_0x535c58['readFloatBE']=_0x4d787f['bind'](null,_0x5cc43b);}()),'undefined'!=typeof Float64Array?(function(){var _0xb3be23=new Float64Array([-0x0]),_0x595492=new Uint8Array(_0xb3be23['buffer']),_0x1e5779=0x80===_0x595492[0x7];function _0x4c9a50(_0x258671,_0x44d558,_0x4cbe84){_0xb3be23[0x0]=_0x258671,_0x44d558[_0x4cbe84]=_0x595492[0x0],_0x44d558[_0x4cbe84+0x1]=_0x595492[0x1],_0x44d558[_0x4cbe84+0x2]=_0x595492[0x2],_0x44d558[_0x4cbe84+0x3]=_0x595492[0x3],_0x44d558[_0x4cbe84+0x4]=_0x595492[0x4],_0x44d558[_0x4cbe84+0x5]=_0x595492[0x5],_0x44d558[_0x4cbe84+0x6]=_0x595492[0x6],_0x44d558[_0x4cbe84+0x7]=_0x595492[0x7];}function _0xeab78c(_0x2920a3,_0x53beef,_0x331865){_0xb3be23[0x0]=_0x2920a3,_0x53beef[_0x331865]=_0x595492[0x7],_0x53beef[_0x331865+0x1]=_0x595492[0x6],_0x53beef[_0x331865+0x2]=_0x595492[0x5],_0x53beef[_0x331865+0x3]=_0x595492[0x4],_0x53beef[_0x331865+0x4]=_0x595492[0x3],_0x53beef[_0x331865+0x5]=_0x595492[0x2],_0x53beef[_0x331865+0x6]=_0x595492[0x1],_0x53beef[_0x331865+0x7]=_0x595492[0x0];}function _0x2cef44(_0x442bab,_0x47f750){return _0x595492[0x0]=_0x442bab[_0x47f750],_0x595492[0x1]=_0x442bab[_0x47f750+0x1],_0x595492[0x2]=_0x442bab[_0x47f750+0x2],_0x595492[0x3]=_0x442bab[_0x47f750+0x3],_0x595492[0x4]=_0x442bab[_0x47f750+0x4],_0x595492[0x5]=_0x442bab[_0x47f750+0x5],_0x595492[0x6]=_0x442bab[_0x47f750+0x6],_0x595492[0x7]=_0x442bab[_0x47f750+0x7],_0xb3be23[0x0];}function _0x2b5df9(_0x191633,_0x2e4e80){return _0x595492[0x7]=_0x191633[_0x2e4e80],_0x595492[0x6]=_0x191633[_0x2e4e80+0x1],_0x595492[0x5]=_0x191633[_0x2e4e80+0x2],_0x595492[0x4]=_0x191633[_0x2e4e80+0x3],_0x595492[0x3]=_0x191633[_0x2e4e80+0x4],_0x595492[0x2]=_0x191633[_0x2e4e80+0x5],_0x595492[0x1]=_0x191633[_0x2e4e80+0x6],_0x595492[0x0]=_0x191633[_0x2e4e80+0x7],_0xb3be23[0x0];}_0x535c58['writeDoubleLE']=_0x1e5779?_0x4c9a50:_0xeab78c,_0x535c58['writeDoubleBE']=_0x1e5779?_0xeab78c:_0x4c9a50,_0x535c58['readDoubleLE']=_0x1e5779?_0x2cef44:_0x2b5df9,_0x535c58['readDoubleBE']=_0x1e5779?_0x2b5df9:_0x2cef44;}()):(function(){function _0xd01790(_0x5bb0e1,_0x180b23,_0x47d8cc,_0xd52630,_0x5a9874,_0x4b033e){var _0x4d6bc7=_0xd52630<0x0?0x1:0x0;if(_0x4d6bc7&&(_0xd52630=-_0xd52630),0x0===_0xd52630)_0x5bb0e1(0x0,_0x5a9874,_0x4b033e+_0x180b23),_0x5bb0e1(0x1/_0xd52630>0x0?0x0:0x80000000,_0x5a9874,_0x4b033e+_0x47d8cc);else{if(isNaN(_0xd52630))_0x5bb0e1(0x0,_0x5a9874,_0x4b033e+_0x180b23),_0x5bb0e1(0x7ff80000,_0x5a9874,_0x4b033e+_0x47d8cc);else{if(_0xd52630>0xfffffffffffff800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)_0x5bb0e1(0x0,_0x5a9874,_0x4b033e+_0x180b23),_0x5bb0e1((_0x4d6bc7<<0x1f|0x7ff00000)>>>0x0,_0x5a9874,_0x4b033e+_0x47d8cc);else{var _0x56c20e;if(_0xd52630<2.2250738585072014e-308)_0x5bb0e1((_0x56c20e=_0xd52630/5e-324)>>>0x0,_0x5a9874,_0x4b033e+_0x180b23),_0x5bb0e1((_0x4d6bc7<<0x1f|_0x56c20e/0x100000000)>>>0x0,_0x5a9874,_0x4b033e+_0x47d8cc);else{var _0x3a5020=Math['floor'](Math['log'](_0xd52630)/Math['LN2']);0x400===_0x3a5020&&(_0x3a5020=0x3ff),_0x5bb0e1(0x10000000000000*(_0x56c20e=_0xd52630*Math['pow'](0x2,-_0x3a5020))>>>0x0,_0x5a9874,_0x4b033e+_0x180b23),_0x5bb0e1((_0x4d6bc7<<0x1f|_0x3a5020+0x3ff<<0x14|0x100000*_0x56c20e&0xfffff)>>>0x0,_0x5a9874,_0x4b033e+_0x47d8cc);}}}}}function _0x2e6fc6(_0x59cb01,_0x3939a6,_0x7d1191,_0x432bb2,_0x573c75){var _0x279d52=_0x59cb01(_0x432bb2,_0x573c75+_0x3939a6),_0x534455=_0x59cb01(_0x432bb2,_0x573c75+_0x7d1191),_0x5bca67=0x2*(_0x534455>>0x1f)+0x1,_0x3cac74=_0x534455>>>0x14&0x7ff,_0x11e67c=0x100000000*(0xfffff&_0x534455)+_0x279d52;return 0x7ff===_0x3cac74?_0x11e67c?NaN:_0x5bca67*(0x1/0x0):0x0===_0x3cac74?5e-324*_0x5bca67*_0x11e67c:_0x5bca67*Math['pow'](0x2,_0x3cac74-0x433)*(_0x11e67c+0x10000000000000);}_0x535c58['writeDoubleLE']=_0xd01790['bind'](null,_0x565b70,0x0,0x4),_0x535c58['writeDoubleBE']=_0xd01790['bind'](null,_0x203e1,0x4,0x0),_0x535c58['readDoubleLE']=_0x2e6fc6['bind'](null,_0x308587,0x0,0x4),_0x535c58['readDoubleBE']=_0x2e6fc6['bind'](null,_0x5cc43b,0x4,0x0);}()),_0x535c58;}function _0x565b70(_0x4e669c,_0x5e48dc,_0x41a869){_0x5e48dc[_0x41a869]=0xff&_0x4e669c,_0x5e48dc[_0x41a869+0x1]=_0x4e669c>>>0x8&0xff,_0x5e48dc[_0x41a869+0x2]=_0x4e669c>>>0x10&0xff,_0x5e48dc[_0x41a869+0x3]=_0x4e669c>>>0x18;}function _0x203e1(_0x125ead,_0x43d432,_0x4d3d7a){_0x43d432[_0x4d3d7a]=_0x125ead>>>0x18,_0x43d432[_0x4d3d7a+0x1]=_0x125ead>>>0x10&0xff,_0x43d432[_0x4d3d7a+0x2]=_0x125ead>>>0x8&0xff,_0x43d432[_0x4d3d7a+0x3]=0xff&_0x125ead;}function _0x308587(_0x2604ff,_0x420c04){return(_0x2604ff[_0x420c04]|_0x2604ff[_0x420c04+0x1]<<0x8|_0x2604ff[_0x420c04+0x2]<<0x10|_0x2604ff[_0x420c04+0x3]<<0x18)>>>0x0;}function _0x5cc43b(_0x15acce,_0x497635){return(_0x15acce[_0x497635]<<0x18|_0x15acce[_0x497635+0x1]<<0x10|_0x15acce[_0x497635+0x2]<<0x8|_0x15acce[_0x497635+0x3])>>>0x0;}return hasRequiredFloat=0x1,float=_0x11d8c1(_0x11d8c1);}function requireInquire(){if(_0x47bded)return _0x1f9652;function _0x61e33f(_0x34d4d6){try{var _0x49ef12=eval('quire'['replace'](/^/,'re'))(_0x34d4d6);if(_0x49ef12&&(_0x49ef12['length']||Object['keys'](_0x49ef12)['length']))return _0x49ef12;}catch(_0x96a84f){}return null;}return _0x47bded=0x1,_0x1f9652=_0x61e33f,_0x1f9652;}var utf8={},hasRequiredUtf8,_0x352dcf,_0x385231,longbits,hasRequiredLongbits,_0x2cf777,writer,hasRequiredWriter,writer_buffer,hasRequiredWriter_buffer,_0x336025,_0x3a459d,_0x3920ac,_0x2c438d;function requireUtf8(){return hasRequiredUtf8||(hasRequiredUtf8=0x1,function(_0x4d5708){var _0x17aa3e=_0x4d5708;_0x17aa3e['length']=function(_0x532981){for(var _0x334a05=0x0,_0x5adb5f=0x0,_0x5c1429=0x0;_0x5c1429<_0x532981['length'];++_0x5c1429)(_0x5adb5f=_0x532981['charCodeAt'](_0x5c1429))<0x80?_0x334a05+=0x1:_0x5adb5f<0x800?_0x334a05+=0x2:0xd800==(0xfc00&_0x5adb5f)&&0xdc00==(0xfc00&_0x532981['charCodeAt'](_0x5c1429+0x1))?(++_0x5c1429,_0x334a05+=0x4):_0x334a05+=0x3;return _0x334a05;},_0x17aa3e['read']=function(_0x39a68a,_0x4fee49,_0x5c42a3){if(_0x5c42a3-_0x4fee49<0x1)return'';for(var t,_0x3dcd1e=null,_0x156b30=[],_0x1d55e7=0x0;_0x4fee49<_0x5c42a3;)(t=_0x39a68a[_0x4fee49++])<0x80?_0x156b30[_0x1d55e7++]=t:t>0xbf&&t<0xe0?_0x156b30[_0x1d55e7++]=(0x1f&t)<<0x6|0x3f&_0x39a68a[_0x4fee49++]:t>0xef&&t<0x16d?(t=((0x7&t)<<0x12|(0x3f&_0x39a68a[_0x4fee49++])<<0xc|(0x3f&_0x39a68a[_0x4fee49++])<<0x6|0x3f&_0x39a68a[_0x4fee49++])-0x10000,_0x156b30[_0x1d55e7++]=0xd800+(t>>0xa),_0x156b30[_0x1d55e7++]=0xdc00+(0x3ff&t)):_0x156b30[_0x1d55e7++]=(0xf&t)<<0xc|(0x3f&_0x39a68a[_0x4fee49++])<<0x6|0x3f&_0x39a68a[_0x4fee49++],_0x1d55e7>0x1fff&&((_0x3dcd1e||(_0x3dcd1e=[]))['push'](String['fromCharCode']['apply'](String,_0x156b30)),_0x1d55e7=0x0);return _0x3dcd1e?(_0x1d55e7&&_0x3dcd1e['push'](String['fromCharCode']['apply'](String,_0x156b30['slice'](0x0,_0x1d55e7))),_0x3dcd1e['join']('')):String['fromCharCode']['apply'](String,_0x156b30['slice'](0x0,_0x1d55e7));},_0x17aa3e['write']=function(_0x3b9432,_0x494969,_0x416c06){for(var _0xcfcf3,_0x5752e8,_0x33e87f=_0x416c06,_0xa2e29a=0x0;_0xa2e29a<_0x3b9432['length'];++_0xa2e29a)(_0xcfcf3=_0x3b9432['charCodeAt'](_0xa2e29a))<0x80?_0x494969[_0x416c06++]=_0xcfcf3:_0xcfcf3<0x800?(_0x494969[_0x416c06++]=_0xcfcf3>>0x6|0xc0,_0x494969[_0x416c06++]=0x3f&_0xcfcf3|0x80):0xd800==(0xfc00&_0xcfcf3)&&0xdc00==(0xfc00&(_0x5752e8=_0x3b9432['charCodeAt'](_0xa2e29a+0x1)))?(_0xcfcf3=0x10000+((0x3ff&_0xcfcf3)<<0xa)+(0x3ff&_0x5752e8),++_0xa2e29a,_0x494969[_0x416c06++]=_0xcfcf3>>0x12|0xf0,_0x494969[_0x416c06++]=_0xcfcf3>>0xc&0x3f|0x80,_0x494969[_0x416c06++]=_0xcfcf3>>0x6&0x3f|0x80,_0x494969[_0x416c06++]=0x3f&_0xcfcf3|0x80):(_0x494969[_0x416c06++]=_0xcfcf3>>0xc|0xe0,_0x494969[_0x416c06++]=_0xcfcf3>>0x6&0x3f|0x80,_0x494969[_0x416c06++]=0x3f&_0xcfcf3|0x80);return _0x416c06-_0x33e87f;};}(utf8)),utf8;}function requirePool(){if(_0x385231)return _0x352dcf;return _0x385231=0x1,_0x352dcf=function(_0x4036bc,_0x84a1e4,_0x310d52){var _0x3ef003=_0x310d52||0x2000,_0x43a067=_0x3ef003>>>0x1,_0x26081b=null,_0x291a52=_0x3ef003;return function(_0x924003){if(_0x924003<0x1||_0x924003>_0x43a067)return _0x4036bc(_0x924003);_0x291a52+_0x924003>_0x3ef003&&(_0x26081b=_0x4036bc(_0x3ef003),_0x291a52=0x0);var _0x25a59e=_0x84a1e4['call'](_0x26081b,_0x291a52,_0x291a52+=_0x924003);return 0x7&_0x291a52&&(_0x291a52=0x1+(0x7|_0x291a52)),_0x25a59e;};},_0x352dcf;}function requireLongbits(){if(hasRequiredLongbits)return longbits;hasRequiredLongbits=0x1,longbits=_0x2aa35e;var _0x48dc86=requireMinimal$1();function _0x2aa35e(_0x2c0fcc,_0x57e365){this['lo']=_0x2c0fcc>>>0x0,this['hi']=_0x57e365>>>0x0;}var _0x3f7e33=_0x2aa35e['zero']=new _0x2aa35e(0x0,0x0);_0x3f7e33['toNumber']=function(){return 0x0;},_0x3f7e33['zzEncode']=_0x3f7e33['zzDecode']=function(){return this;},_0x3f7e33['length']=function(){return 0x1;};var _0x3b77f7=_0x2aa35e['zeroHash']='\x00\x00\x00\x00\x00\x00\x00\x00';_0x2aa35e['fromNumber']=function(_0x2a428d){if(0x0===_0x2a428d)return _0x3f7e33;var _0x505930=_0x2a428d<0x0;_0x505930&&(_0x2a428d=-_0x2a428d);var _0x521604=_0x2a428d>>>0x0,_0x367b80=(_0x2a428d-_0x521604)/0x100000000>>>0x0;return _0x505930&&(_0x367b80=~_0x367b80>>>0x0,_0x521604=~_0x521604>>>0x0,++_0x521604>0xffffffff&&(_0x521604=0x0,++_0x367b80>0xffffffff&&(_0x367b80=0x0))),new _0x2aa35e(_0x521604,_0x367b80);},_0x2aa35e['from']=function(_0x106430){if('number'==typeof _0x106430)return _0x2aa35e['fromNumber'](_0x106430);if(_0x48dc86['isString'](_0x106430)){if(!_0x48dc86['Long'])return _0x2aa35e['fromNumber'](parseInt(_0x106430,0xa));_0x106430=_0x48dc86['Long']['fromString'](_0x106430);}return _0x106430['low']||_0x106430['high']?new _0x2aa35e(_0x106430['low']>>>0x0,_0x106430['high']>>>0x0):_0x3f7e33;},_0x2aa35e['prototype']['toNumber']=function(_0x3f2584){if(!_0x3f2584&&this['hi']>>>0x1f){var _0x5b33b0=0x1+~this['lo']>>>0x0,_0x5e7214=~this['hi']>>>0x0;return _0x5b33b0||(_0x5e7214=_0x5e7214+0x1>>>0x0),-(_0x5b33b0+0x100000000*_0x5e7214);}return this['lo']+0x100000000*this['hi'];},_0x2aa35e['prototype']['toLong']=function(_0x4537e8){return _0x48dc86['Long']?new _0x48dc86['Long'](0x0|this['lo'],0x0|this['hi'],Boolean(_0x4537e8)):{'low':0x0|this['lo'],'high':0x0|this['hi'],'unsigned':Boolean(_0x4537e8)};};var _0x56705c=String['prototype']['charCodeAt'];return _0x2aa35e['fromHash']=function(_0x50a466){return _0x50a466===_0x3b77f7?_0x3f7e33:new _0x2aa35e((_0x56705c['call'](_0x50a466,0x0)|_0x56705c['call'](_0x50a466,0x1)<<0x8|_0x56705c['call'](_0x50a466,0x2)<<0x10|_0x56705c['call'](_0x50a466,0x3)<<0x18)>>>0x0,(_0x56705c['call'](_0x50a466,0x4)|_0x56705c['call'](_0x50a466,0x5)<<0x8|_0x56705c['call'](_0x50a466,0x6)<<0x10|_0x56705c['call'](_0x50a466,0x7)<<0x18)>>>0x0);},_0x2aa35e['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);},_0x2aa35e['prototype']['zzEncode']=function(){var _0xfe6e9=this['hi']>>0x1f;return this['hi']=((this['hi']<<0x1|this['lo']>>>0x1f)^_0xfe6e9)>>>0x0,this['lo']=(this['lo']<<0x1^_0xfe6e9)>>>0x0,this;},_0x2aa35e['prototype']['zzDecode']=function(){var _0x3d7292=-(0x1&this['lo']);return this['lo']=((this['lo']>>>0x1|this['hi']<<0x1f)^_0x3d7292)>>>0x0,this['hi']=(this['hi']>>>0x1^_0x3d7292)>>>0x0,this;},_0x2aa35e['prototype']['length']=function(){var _0x481b06=this['lo'],_0x493e8e=(this['lo']>>>0x1c|this['hi']<<0x4)>>>0x0,_0x320b6b=this['hi']>>>0x18;return 0x0===_0x320b6b?0x0===_0x493e8e?_0x481b06<0x4000?_0x481b06<0x80?0x1:0x2:_0x481b06<0x200000?0x3:0x4:_0x493e8e<0x4000?_0x493e8e<0x80?0x5:0x6:_0x493e8e<0x200000?0x7:0x8:_0x320b6b<0x80?0x9:0xa;},longbits;}function requireMinimal$1(){return _0x2cf777||(_0x2cf777=0x1,function(_0x4166d0){var _0x13e5d5=_0x4166d0;function _0x1f5681(_0x3ac157,_0x487f65,_0x46f591){for(var _0xed4fce=Object['keys'](_0x487f65),_0x5e21ba=0x0;_0x5e21ba<_0xed4fce['length'];++_0x5e21ba)void 0x0!==_0x3ac157[_0xed4fce[_0x5e21ba]]&&_0x46f591||(_0x3ac157[_0xed4fce[_0x5e21ba]]=_0x487f65[_0xed4fce[_0x5e21ba]]);return _0x3ac157;}function _0x5c45da(_0x1749f7){function _0x4b2c5e(_0xd190b2,_0x46216f){if(!(this instanceof _0x4b2c5e))return new _0x4b2c5e(_0xd190b2,_0x46216f);Object['defineProperty'](this,'message',{'get':function(){return _0xd190b2;}}),Error['captureStackTrace']?Error['captureStackTrace'](this,_0x4b2c5e):Object['defineProperty'](this,'stack',{'value':new Error()['stack']||''}),_0x46216f&&_0x1f5681(this,_0x46216f);}return _0x4b2c5e['prototype']=Object['create'](Error['prototype'],{'constructor':{'value':_0x4b2c5e,'writable':!0x0,'enumerable':!0x1,'configurable':!0x0},'name':{'get':function(){return _0x1749f7;},'set':void 0x0,'enumerable':!0x1,'configurable':!0x0},'toString':{'value':function(){return this['name']+':\x20'+this['message'];},'writable':!0x0,'enumerable':!0x1,'configurable':!0x0}}),_0x4b2c5e;}_0x13e5d5['asPromise']=requireAspromise(),_0x13e5d5['base64']=requireBase64(),_0x13e5d5['EventEmitter']=requireEventemitter(),_0x13e5d5['float']=requireFloat(),_0x13e5d5['inquire']=requireInquire(),_0x13e5d5['utf8']=requireUtf8(),_0x13e5d5['pool']=requirePool(),_0x13e5d5['LongBits']=requireLongbits(),_0x13e5d5['isNode']=Boolean(void 0x0!==_0x54d32b&&_0x54d32b&&_0x54d32b['process']&&_0x54d32b['process']['versions']&&_0x54d32b['process']['versions']['node']),_0x13e5d5['global']=_0x13e5d5['isNode']&&_0x54d32b||'undefined'!=typeof window&&window||'undefined'!=typeof self&&self||_0x3b9fd7,_0x13e5d5['emptyArray']=Object['freeze']?Object['freeze']([]):[],_0x13e5d5['emptyObject']=Object['freeze']?Object['freeze']({}):{},_0x13e5d5['isInteger']=Number['isInteger']||function(_0x447845){return'number'==typeof _0x447845&&isFinite(_0x447845)&&Math['floor'](_0x447845)===_0x447845;},_0x13e5d5['isString']=function(_0x15f8a3){return'string'==typeof _0x15f8a3||_0x15f8a3 instanceof String;},_0x13e5d5['isObject']=function(_0xfe53c2){return _0xfe53c2&&'object'==typeof _0xfe53c2;},_0x13e5d5['isset']=_0x13e5d5['isSet']=function(_0x59d44e,_0x247f6a){var _0x3321f3=_0x59d44e[_0x247f6a];return!(null==_0x3321f3||!_0x59d44e['hasOwnProperty'](_0x247f6a))&&('object'!=typeof _0x3321f3||(Array['isArray'](_0x3321f3)?_0x3321f3['length']:Object['keys'](_0x3321f3)['length'])>0x0);},_0x13e5d5['Buffer']=(function(){try{var _0x2805be=_0x13e5d5['inquire']('buffer')['Buffer'];return _0x2805be['prototype']['utf8Write']?_0x2805be:null;}catch(_0x1bbf8f){return null;}}()),_0x13e5d5['_Buffer_from']=null,_0x13e5d5['_Buffer_allocUnsafe']=null,_0x13e5d5['newBuffer']=function(_0x4aa135){return'number'==typeof _0x4aa135?_0x13e5d5['Buffer']?_0x13e5d5['_Buffer_allocUnsafe'](_0x4aa135):new _0x13e5d5['Array'](_0x4aa135):_0x13e5d5['Buffer']?_0x13e5d5['_Buffer_from'](_0x4aa135):'undefined'==typeof Uint8Array?_0x4aa135:new Uint8Array(_0x4aa135);},_0x13e5d5['Array']='undefined'!=typeof Uint8Array?Uint8Array:Array,_0x13e5d5['Long']=_0x13e5d5['global']['dcodeIO']&&_0x13e5d5['global']['dcodeIO']['Long']||_0x13e5d5['global']['Long']||_0x13e5d5['inquire']('long'),_0x13e5d5['key2Re']=/^true|false|0|1$/,_0x13e5d5['key32Re']=/^-?(?:0|[1-9][0-9]*)$/,_0x13e5d5['key64Re']=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,_0x13e5d5['longToHash']=function(_0x3eb1de){return _0x3eb1de?_0x13e5d5['LongBits']['from'](_0x3eb1de)['toHash']():_0x13e5d5['LongBits']['zeroHash'];},_0x13e5d5['longFromHash']=function(_0x5a4781,_0x2ccecc){var _0x2a2b26=_0x13e5d5['LongBits']['fromHash'](_0x5a4781);return _0x13e5d5['Long']?_0x13e5d5['Long']['fromBits'](_0x2a2b26['lo'],_0x2a2b26['hi'],_0x2ccecc):_0x2a2b26['toNumber'](Boolean(_0x2ccecc));},_0x13e5d5['merge']=_0x1f5681,_0x13e5d5['lcFirst']=function(_0x566c51){return _0x566c51['charAt'](0x0)['toLowerCase']()+_0x566c51['substring'](0x1);},_0x13e5d5['newError']=_0x5c45da,_0x13e5d5['ProtocolError']=_0x5c45da('ProtocolError'),_0x13e5d5['oneOfGetter']=function(_0x3f5386){for(var _0x4c2d4e={},_0x169aa2=0x0;_0x169aa2<_0x3f5386['length'];++_0x169aa2)_0x4c2d4e[_0x3f5386[_0x169aa2]]=0x1;return function(){for(var _0x5d334b=Object['keys'](this),_0x44d397=_0x5d334b['length']-0x1;_0x44d397>-0x1;--_0x44d397)if(0x1===_0x4c2d4e[_0x5d334b[_0x44d397]]&&void 0x0!==this[_0x5d334b[_0x44d397]]&&null!==this[_0x5d334b[_0x44d397]])return _0x5d334b[_0x44d397];};},_0x13e5d5['oneOfSetter']=function(_0x1fdce6){return function(_0x4d46f6){for(var _0x479d99=0x0;_0x479d99<_0x1fdce6['length'];++_0x479d99)_0x1fdce6[_0x479d99]!==_0x4d46f6&&delete this[_0x1fdce6[_0x479d99]];};},_0x13e5d5['toJSONOptions']={'longs':String,'enums':String,'bytes':String,'json':!0x0},_0x13e5d5['_configure']=function(){var _0x83b218=_0x13e5d5['Buffer'];_0x83b218?(_0x13e5d5['_Buffer_from']=_0x83b218['from']!==Uint8Array['from']&&_0x83b218['from']||function(_0x1797a9,_0x1952e3){return new _0x83b218(_0x1797a9,_0x1952e3);},_0x13e5d5['_Buffer_allocUnsafe']=_0x83b218['allocUnsafe']||function(_0x191c6b){return new _0x83b218(_0x191c6b);}):_0x13e5d5['_Buffer_from']=_0x13e5d5['_Buffer_allocUnsafe']=null;};}(_0x3b9fd7)),_0x3b9fd7;}function requireWriter(){if(hasRequiredWriter)return writer;hasRequiredWriter=0x1,writer=_0x3771c1;var _0x5b1c97,_0x3d1964=requireMinimal$1(),_0x8a58bc=_0x3d1964['LongBits'],_0x350579=_0x3d1964['base64'],_0x4bac0d=_0x3d1964['utf8'];function _0x5a6261(_0x13e84d,_0x50ac37,_0x2b1d28){this['fn']=_0x13e84d,this['len']=_0x50ac37,this['next']=void 0x0,this['val']=_0x2b1d28;}function _0x502530(){}function _0x2731e1(_0x5949f4){this['head']=_0x5949f4['head'],this['tail']=_0x5949f4['tail'],this['len']=_0x5949f4['len'],this['next']=_0x5949f4['states'];}function _0x3771c1(){this['len']=0x0,this['head']=new _0x5a6261(_0x502530,0x0,0x0),this['tail']=this['head'],this['states']=null;}var _0x1d8d27=function(){return _0x3d1964['Buffer']?function(){return(_0x3771c1['create']=function(){return new _0x5b1c97();})();}:function(){return new _0x3771c1();};};function _0x212505(_0x17ad03,_0x24b1ec,_0x538856){_0x24b1ec[_0x538856]=0xff&_0x17ad03;}function _0x5baa67(_0x572c1a,_0x3edff5){this['len']=_0x572c1a,this['next']=void 0x0,this['val']=_0x3edff5;}function _0x570dca(_0x8ed443,_0x41abeb,_0x14708f){for(;_0x8ed443['hi'];)_0x41abeb[_0x14708f++]=0x7f&_0x8ed443['lo']|0x80,_0x8ed443['lo']=(_0x8ed443['lo']>>>0x7|_0x8ed443['hi']<<0x19)>>>0x0,_0x8ed443['hi']>>>=0x7;for(;_0x8ed443['lo']>0x7f;)_0x41abeb[_0x14708f++]=0x7f&_0x8ed443['lo']|0x80,_0x8ed443['lo']=_0x8ed443['lo']>>>0x7;_0x41abeb[_0x14708f++]=_0x8ed443['lo'];}function _0x25ae7c(_0x1e32b2,_0x28ebc6,_0x37bf17){_0x28ebc6[_0x37bf17]=0xff&_0x1e32b2,_0x28ebc6[_0x37bf17+0x1]=_0x1e32b2>>>0x8&0xff,_0x28ebc6[_0x37bf17+0x2]=_0x1e32b2>>>0x10&0xff,_0x28ebc6[_0x37bf17+0x3]=_0x1e32b2>>>0x18;}_0x3771c1['create']=_0x1d8d27(),_0x3771c1['alloc']=function(_0x2192e8){return new _0x3d1964['Array'](_0x2192e8);},_0x3d1964['Array']!==Array&&(_0x3771c1['alloc']=_0x3d1964['pool'](_0x3771c1['alloc'],_0x3d1964['Array']['prototype']['subarray'])),_0x3771c1['prototype']['_push']=function(_0x45cd83,_0x5316ab,_0x2efe87){return this['tail']=this['tail']['next']=new _0x5a6261(_0x45cd83,_0x5316ab,_0x2efe87),this['len']+=_0x5316ab,this;},_0x5baa67['prototype']=Object['create'](_0x5a6261['prototype']),_0x5baa67['prototype']['fn']=function(_0x3bfd66,_0x5248c2,_0x347184){for(;_0x3bfd66>0x7f;)_0x5248c2[_0x347184++]=0x7f&_0x3bfd66|0x80,_0x3bfd66>>>=0x7;_0x5248c2[_0x347184]=_0x3bfd66;},_0x3771c1['prototype']['uint32']=function(_0x513817){return this['len']+=(this['tail']=this['tail']['next']=new _0x5baa67((_0x513817>>>=0x0)<0x80?0x1:_0x513817<0x4000?0x2:_0x513817<0x200000?0x3:_0x513817<0x10000000?0x4:0x5,_0x513817))['len'],this;},_0x3771c1['prototype']['int32']=function(_0x3aa785){return _0x3aa785<0x0?this['_push'](_0x570dca,0xa,_0x8a58bc['fromNumber'](_0x3aa785)):this['uint32'](_0x3aa785);},_0x3771c1['prototype']['sint32']=function(_0x4682e9){return this['uint32']((_0x4682e9<<0x1^_0x4682e9>>0x1f)>>>0x0);},_0x3771c1['prototype']['uint64']=function(_0x7e3e3e){var _0x2eb72b=_0x8a58bc['from'](_0x7e3e3e);return this['_push'](_0x570dca,_0x2eb72b['length'](),_0x2eb72b);},_0x3771c1['prototype']['int64']=_0x3771c1['prototype']['uint64'],_0x3771c1['prototype']['sint64']=function(_0x209d71){var _0x8b42ea=_0x8a58bc['from'](_0x209d71)['zzEncode']();return this['_push'](_0x570dca,_0x8b42ea['length'](),_0x8b42ea);},_0x3771c1['prototype']['bool']=function(_0x564dbd){return this['_push'](_0x212505,0x1,_0x564dbd?0x1:0x0);},_0x3771c1['prototype']['fixed32']=function(_0xb80ab9){return this['_push'](_0x25ae7c,0x4,_0xb80ab9>>>0x0);},_0x3771c1['prototype']['sfixed32']=_0x3771c1['prototype']['fixed32'],_0x3771c1['prototype']['fixed64']=function(_0x7f4d88){var _0x13efe5=_0x8a58bc['from'](_0x7f4d88);return this['_push'](_0x25ae7c,0x4,_0x13efe5['lo'])['_push'](_0x25ae7c,0x4,_0x13efe5['hi']);},_0x3771c1['prototype']['sfixed64']=_0x3771c1['prototype']['fixed64'],_0x3771c1['prototype']['float']=function(_0xde8b68){return this['_push'](_0x3d1964['float']['writeFloatLE'],0x4,_0xde8b68);},_0x3771c1['prototype']['double']=function(_0x4a01b0){return this['_push'](_0x3d1964['float']['writeDoubleLE'],0x8,_0x4a01b0);};var _0x3caaa6=_0x3d1964['Array']['prototype']['set']?function(_0x366718,_0x2b96ba,_0xa4fe96){_0x2b96ba['set'](_0x366718,_0xa4fe96);}:function(_0x5a0341,_0x3545aa,_0x4f5882){for(var _0x23ead8=0x0;_0x23ead8<_0x5a0341['length'];++_0x23ead8)_0x3545aa[_0x4f5882+_0x23ead8]=_0x5a0341[_0x23ead8];};return _0x3771c1['prototype']['bytes']=function(_0x5abac6){var _0x4d1c9b=_0x5abac6['length']>>>0x0;if(!_0x4d1c9b)return this['_push'](_0x212505,0x1,0x0);if(_0x3d1964['isString'](_0x5abac6)){var _0x3b33a3=_0x3771c1['alloc'](_0x4d1c9b=_0x350579['length'](_0x5abac6));_0x350579['decode'](_0x5abac6,_0x3b33a3,0x0),_0x5abac6=_0x3b33a3;}return this['uint32'](_0x4d1c9b)['_push'](_0x3caaa6,_0x4d1c9b,_0x5abac6);},_0x3771c1['prototype']['string']=function(_0x5832b2){var _0x22a559=_0x4bac0d['length'](_0x5832b2);return _0x22a559?this['uint32'](_0x22a559)['_push'](_0x4bac0d['write'],_0x22a559,_0x5832b2):this['_push'](_0x212505,0x1,0x0);},_0x3771c1['prototype']['fork']=function(){return this['states']=new _0x2731e1(this),this['head']=this['tail']=new _0x5a6261(_0x502530,0x0,0x0),this['len']=0x0,this;},_0x3771c1['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 _0x5a6261(_0x502530,0x0,0x0),this['len']=0x0),this;},_0x3771c1['prototype']['ldelim']=function(){var _0x15d955=this['head'],_0x24150d=this['tail'],_0x1996de=this['len'];return this['reset']()['uint32'](_0x1996de),_0x1996de&&(this['tail']['next']=_0x15d955['next'],this['tail']=_0x24150d,this['len']+=_0x1996de),this;},_0x3771c1['prototype']['finish']=function(){for(var _0x5b5459=this['head']['next'],_0x3b6fd7=this['constructor']['alloc'](this['len']),_0x3b1eed=0x0;_0x5b5459;)_0x5b5459['fn'](_0x5b5459['val'],_0x3b6fd7,_0x3b1eed),_0x3b1eed+=_0x5b5459['len'],_0x5b5459=_0x5b5459['next'];return _0x3b6fd7;},_0x3771c1['_configure']=function(_0x302274){_0x5b1c97=_0x302274,_0x3771c1['create']=_0x1d8d27(),_0x5b1c97['_configure']();},writer;}function requireWriter_buffer(){if(hasRequiredWriter_buffer)return writer_buffer;hasRequiredWriter_buffer=0x1,writer_buffer=_0x36973b;var _0x2c9c94=requireWriter();(_0x36973b['prototype']=Object['create'](_0x2c9c94['prototype']))['constructor']=_0x36973b;var _0x27a1bb=requireMinimal$1();function _0x36973b(){_0x2c9c94['call'](this);}function _0x43d36a(_0x11bbe4,_0x3ecb92,_0x4f4925){_0x11bbe4['length']<0x28?_0x27a1bb['utf8']['write'](_0x11bbe4,_0x3ecb92,_0x4f4925):_0x3ecb92['utf8Write']?_0x3ecb92['utf8Write'](_0x11bbe4,_0x4f4925):_0x3ecb92['write'](_0x11bbe4,_0x4f4925);}return _0x36973b['_configure']=function(){_0x36973b['alloc']=_0x27a1bb['_Buffer_allocUnsafe'],_0x36973b['writeBytesBuffer']=_0x27a1bb['Buffer']&&_0x27a1bb['Buffer']['prototype']instanceof Uint8Array&&'set'===_0x27a1bb['Buffer']['prototype']['set']['name']?function(_0x52ae7d,_0x368d9e,_0x511341){_0x368d9e['set'](_0x52ae7d,_0x511341);}:function(_0x3c7ae8,_0xae1631,_0x20a31b){if(_0x3c7ae8['copy'])_0x3c7ae8['copy'](_0xae1631,_0x20a31b,0x0,_0x3c7ae8['length']);else{for(var _0x5c2982=0x0;_0x5c2982<_0x3c7ae8['length'];)_0xae1631[_0x20a31b++]=_0x3c7ae8[_0x5c2982++];}};},_0x36973b['prototype']['bytes']=function(_0xcd7133){_0x27a1bb['isString'](_0xcd7133)&&(_0xcd7133=_0x27a1bb['_Buffer_from'](_0xcd7133,'base64'));var _0x1aa752=_0xcd7133['length']>>>0x0;return this['uint32'](_0x1aa752),_0x1aa752&&this['_push'](_0x36973b['writeBytesBuffer'],_0x1aa752,_0xcd7133),this;},_0x36973b['prototype']['string']=function(_0x4e48be){var _0x2d2f59=_0x27a1bb['Buffer']['byteLength'](_0x4e48be);return this['uint32'](_0x2d2f59),_0x2d2f59&&this['_push'](_0x43d36a,_0x2d2f59,_0x4e48be),this;},_0x36973b['_configure'](),writer_buffer;}function requireReader(){if(_0x3a459d)return _0x336025;_0x3a459d=0x1,_0x336025=_0x3b35e2;var _0x195b65,_0x4520ec=requireMinimal$1(),_0xfc7d7a=_0x4520ec['LongBits'],_0x488e82=_0x4520ec['utf8'];function _0x5420a6(_0x2ee92e,_0x504066){return RangeError('index\x20out\x20of\x20range:\x20'+_0x2ee92e['pos']+'\x20+\x20'+(_0x504066||0x1)+'\x20>\x20'+_0x2ee92e['len']);}function _0x3b35e2(_0x3d5625){this['buf']=_0x3d5625,this['pos']=0x0,this['len']=_0x3d5625['length'];}var _0x56fb0c='undefined'!=typeof Uint8Array?function(_0x5a66d0){if(_0x5a66d0 instanceof Uint8Array||Array['isArray'](_0x5a66d0))return new _0x3b35e2(_0x5a66d0);throw Error('illegal\x20buffer');}:function(_0x5a6e96){if(Array['isArray'](_0x5a6e96))return new _0x3b35e2(_0x5a6e96);throw Error('illegal\x20buffer');},_0x4452f8=function(){return _0x4520ec['Buffer']?function(_0x38eae5){return(_0x3b35e2['create']=function(_0x2d1bc8){return _0x4520ec['Buffer']['isBuffer'](_0x2d1bc8)?new _0x195b65(_0x2d1bc8):_0x56fb0c(_0x2d1bc8);})(_0x38eae5);}:_0x56fb0c;};function _0x8035b(){var _0x434af9=new _0xfc7d7a(0x0,0x0),_0x548bee=0x0;if(!(this['len']-this['pos']>0x4)){for(;_0x548bee<0x3;++_0x548bee){if(this['pos']>=this['len'])throw _0x5420a6(this);if(_0x434af9['lo']=(_0x434af9['lo']|(0x7f&this['buf'][this['pos']])<<0x7*_0x548bee)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x434af9;}return _0x434af9['lo']=(_0x434af9['lo']|(0x7f&this['buf'][this['pos']++])<<0x7*_0x548bee)>>>0x0,_0x434af9;}for(;_0x548bee<0x4;++_0x548bee)if(_0x434af9['lo']=(_0x434af9['lo']|(0x7f&this['buf'][this['pos']])<<0x7*_0x548bee)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x434af9;if(_0x434af9['lo']=(_0x434af9['lo']|(0x7f&this['buf'][this['pos']])<<0x1c)>>>0x0,_0x434af9['hi']=(_0x434af9['hi']|(0x7f&this['buf'][this['pos']])>>0x4)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x434af9;if(_0x548bee=0x0,this['len']-this['pos']>0x4){for(;_0x548bee<0x5;++_0x548bee)if(_0x434af9['hi']=(_0x434af9['hi']|(0x7f&this['buf'][this['pos']])<<0x7*_0x548bee+0x3)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x434af9;}else for(;_0x548bee<0x5;++_0x548bee){if(this['pos']>=this['len'])throw _0x5420a6(this);if(_0x434af9['hi']=(_0x434af9['hi']|(0x7f&this['buf'][this['pos']])<<0x7*_0x548bee+0x3)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x434af9;}throw Error('invalid\x20varint\x20encoding');}function _0x33b78c(_0x3e7357,_0x48a330){return(_0x3e7357[_0x48a330-0x4]|_0x3e7357[_0x48a330-0x3]<<0x8|_0x3e7357[_0x48a330-0x2]<<0x10|_0x3e7357[_0x48a330-0x1]<<0x18)>>>0x0;}function _0xaa4664(){if(this['pos']+0x8>this['len'])throw _0x5420a6(this,0x8);return new _0xfc7d7a(_0x33b78c(this['buf'],this['pos']+=0x4),_0x33b78c(this['buf'],this['pos']+=0x4));}return _0x3b35e2['create']=_0x4452f8(),_0x3b35e2['prototype']['_slice']=_0x4520ec['Array']['prototype']['subarray']||_0x4520ec['Array']['prototype']['slice'],_0x3b35e2['prototype']['uint32']=(function(){var _0x1e0834=0xffffffff;return function(){if(_0x1e0834=(0x7f&this['buf'][this['pos']])>>>0x0,this['buf'][this['pos']++]<0x80)return _0x1e0834;if(_0x1e0834=(_0x1e0834|(0x7f&this['buf'][this['pos']])<<0x7)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x1e0834;if(_0x1e0834=(_0x1e0834|(0x7f&this['buf'][this['pos']])<<0xe)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x1e0834;if(_0x1e0834=(_0x1e0834|(0x7f&this['buf'][this['pos']])<<0x15)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x1e0834;if(_0x1e0834=(_0x1e0834|(0xf&this['buf'][this['pos']])<<0x1c)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x1e0834;if((this['pos']+=0x5)>this['len'])throw this['pos']=this['len'],_0x5420a6(this,0xa);return _0x1e0834;};}()),_0x3b35e2['prototype']['int32']=function(){return 0x0|this['uint32']();},_0x3b35e2['prototype']['sint32']=function(){var _0xd70475=this['uint32']();return _0xd70475>>>0x1^-(0x1&_0xd70475);},_0x3b35e2['prototype']['bool']=function(){return 0x0!==this['uint32']();},_0x3b35e2['prototype']['fixed32']=function(){if(this['pos']+0x4>this['len'])throw _0x5420a6(this,0x4);return _0x33b78c(this['buf'],this['pos']+=0x4);},_0x3b35e2['prototype']['sfixed32']=function(){if(this['pos']+0x4>this['len'])throw _0x5420a6(this,0x4);return 0x0|_0x33b78c(this['buf'],this['pos']+=0x4);},_0x3b35e2['prototype']['float']=function(){if(this['pos']+0x4>this['len'])throw _0x5420a6(this,0x4);var _0x420034=_0x4520ec['float']['readFloatLE'](this['buf'],this['pos']);return this['pos']+=0x4,_0x420034;},_0x3b35e2['prototype']['double']=function(){if(this['pos']+0x8>this['len'])throw _0x5420a6(this,0x4);var _0x865b6c=_0x4520ec['float']['readDoubleLE'](this['buf'],this['pos']);return this['pos']+=0x8,_0x865b6c;},_0x3b35e2['prototype']['bytes']=function(){var _0x44c5fa=this['uint32'](),_0x3f02a3=this['pos'],_0x27b913=this['pos']+_0x44c5fa;if(_0x27b913>this['len'])throw _0x5420a6(this,_0x44c5fa);if(this['pos']+=_0x44c5fa,Array['isArray'](this['buf']))return this['buf']['slice'](_0x3f02a3,_0x27b913);if(_0x3f02a3===_0x27b913){var _0x2288bf=_0x4520ec['Buffer'];return _0x2288bf?_0x2288bf['alloc'](0x0):new this['buf']['constructor'](0x0);}return this['_slice']['call'](this['buf'],_0x3f02a3,_0x27b913);},_0x3b35e2['prototype']['string']=function(){var _0x530e74=this['bytes']();return _0x488e82['read'](_0x530e74,0x0,_0x530e74['length']);},_0x3b35e2['prototype']['skip']=function(_0x329600){if('number'==typeof _0x329600){if(this['pos']+_0x329600>this['len'])throw _0x5420a6(this,_0x329600);this['pos']+=_0x329600;}else do{if(this['pos']>=this['len'])throw _0x5420a6(this);}while(0x80&this['buf'][this['pos']++]);return this;},_0x3b35e2['prototype']['skipType']=function(_0x12fe12){switch(_0x12fe12){case 0x0:this['skip']();break;case 0x1:this['skip'](0x8);break;case 0x2:this['skip'](this['uint32']());break;case 0x3:for(;0x4!=(_0x12fe12=0x7&this['uint32']());)this['skipType'](_0x12fe12);break;case 0x5:this['skip'](0x4);break;default:throw Error('invalid\x20wire\x20type\x20'+_0x12fe12+'\x20at\x20offset\x20'+this['pos']);}return this;},_0x3b35e2['_configure']=function(_0x4ea0ce){_0x195b65=_0x4ea0ce,_0x3b35e2['create']=_0x4452f8(),_0x195b65['_configure']();var _0xfd38e7=_0x4520ec['Long']?'toLong':'toNumber';_0x4520ec['merge'](_0x3b35e2['prototype'],{'int64':function(){return _0x8035b['call'](this)[_0xfd38e7](!0x1);},'uint64':function(){return _0x8035b['call'](this)[_0xfd38e7](!0x0);},'sint64':function(){return _0x8035b['call'](this)['zzDecode']()[_0xfd38e7](!0x1);},'fixed64':function(){return _0xaa4664['call'](this)[_0xfd38e7](!0x0);},'sfixed64':function(){return _0xaa4664['call'](this)[_0xfd38e7](!0x1);}});},_0x336025;}function requireReader_buffer(){if(_0x2c438d)return _0x3920ac;_0x2c438d=0x1,_0x3920ac=_0x2f79b4;var _0x3aff4a=requireReader();(_0x2f79b4['prototype']=Object['create'](_0x3aff4a['prototype']))['constructor']=_0x2f79b4;var _0x25b31e=requireMinimal$1();function _0x2f79b4(_0x166d55){_0x3aff4a['call'](this,_0x166d55);}return _0x2f79b4['_configure']=function(){_0x25b31e['Buffer']&&(_0x2f79b4['prototype']['_slice']=_0x25b31e['Buffer']['prototype']['slice']);},_0x2f79b4['prototype']['string']=function(){var _0x33bf49=this['uint32']();return this['buf']['utf8Slice']?this['buf']['utf8Slice'](this['pos'],this['pos']=Math['min'](this['pos']+_0x33bf49,this['len'])):this['buf']['toString']('utf-8',this['pos'],this['pos']=Math['min'](this['pos']+_0x33bf49,this['len']));},_0x2f79b4['_configure'](),_0x3920ac;}var _0x5b454a={},_0x4f5ee5,_0x214915,_0x310c6f,roots,hasRequiredRoots,_0x175bf4,_0x51a286,_0x300895;function requireService(){if(_0x214915)return _0x4f5ee5;_0x214915=0x1,_0x4f5ee5=_0xd584fb;var _0x4d6d2a=requireMinimal$1();function _0xd584fb(_0x55a9e2,_0x246892,_0x5bc2ff){if('function'!=typeof _0x55a9e2)throw TypeError('rpcImpl\x20must\x20be\x20a\x20function');_0x4d6d2a['EventEmitter']['call'](this),this['rpcImpl']=_0x55a9e2,this['requestDelimited']=Boolean(_0x246892),this['responseDelimited']=Boolean(_0x5bc2ff);}return(_0xd584fb['prototype']=Object['create'](_0x4d6d2a['EventEmitter']['prototype']))['constructor']=_0xd584fb,_0xd584fb['prototype']['rpcCall']=function _0x102ccc(_0x528976,_0x42af5c,_0x5b5bb9,_0x18cf0a,_0x3473b9){if(!_0x18cf0a)throw TypeError('request\x20must\x20be\x20specified');var _0x1a188c=this;if(!_0x3473b9)return _0x4d6d2a['asPromise'](_0x102ccc,_0x1a188c,_0x528976,_0x42af5c,_0x5b5bb9,_0x18cf0a);if(_0x1a188c['rpcImpl'])try{return _0x1a188c['rpcImpl'](_0x528976,_0x42af5c[_0x1a188c['requestDelimited']?'encodeDelimited':'encode'](_0x18cf0a)['finish'](),function(_0x4b6a35,_0x52a6b3){if(_0x4b6a35)return _0x1a188c['emit']('error',_0x4b6a35,_0x528976),_0x3473b9(_0x4b6a35);if(null!==_0x52a6b3){if(!(_0x52a6b3 instanceof _0x5b5bb9))try{_0x52a6b3=_0x5b5bb9[_0x1a188c['responseDelimited']?'decodeDelimited':'decode'](_0x52a6b3);}catch(_0x18c376){return _0x1a188c['emit']('error',_0x18c376,_0x528976),_0x3473b9(_0x18c376);}return _0x1a188c['emit']('data',_0x52a6b3,_0x528976),_0x3473b9(null,_0x52a6b3);}_0x1a188c['end'](!0x0);});}catch(_0x5a211b){return _0x1a188c['emit']('error',_0x5a211b,_0x528976),void setTimeout(function(){_0x3473b9(_0x5a211b);},0x0);}else setTimeout(function(){_0x3473b9(Error('already\x20ended'));},0x0);},_0xd584fb['prototype']['end']=function(_0x49802c){return this['rpcImpl']&&(_0x49802c||this['rpcImpl'](null,null,null),this['rpcImpl']=null,this['emit']('end')['off']()),this;},_0x4f5ee5;}function requireRpc(){return _0x310c6f||(_0x310c6f=0x1,_0x5b454a['Service']=requireService()),_0x5b454a;}function requireRoots(){return hasRequiredRoots?roots:(hasRequiredRoots=0x1,roots={});}function requireIndexMinimal(){return _0x175bf4||(_0x175bf4=0x1,function(_0x1a79d2){var _0x4074d7=_0x1a79d2;function _0x2cea94(){_0x4074d7['util']['_configure'](),_0x4074d7['Writer']['_configure'](_0x4074d7['BufferWriter']),_0x4074d7['Reader']['_configure'](_0x4074d7['BufferReader']);}_0x4074d7['build']='minimal',_0x4074d7['Writer']=requireWriter(),_0x4074d7['BufferWriter']=requireWriter_buffer(),_0x4074d7['Reader']=requireReader(),_0x4074d7['BufferReader']=requireReader_buffer(),_0x4074d7['util']=requireMinimal$1(),_0x4074d7['rpc']=requireRpc(),_0x4074d7['roots']=requireRoots(),_0x4074d7['configure']=_0x2cea94,_0x2cea94();}(_0x42d377)),_0x42d377;}function requireMinimal(){return _0x300895?_0x51a286:(_0x300895=0x1,_0x51a286=requireIndexMinimal());}var minimalExports=requireMinimal();const _0x28b586=Object['create'](null);_0x28b586['open']='0',_0x28b586['close']='1',_0x28b586['ping']='2',_0x28b586['pong']='3',_0x28b586['message']='4',_0x28b586['upgrade']='5',_0x28b586['noop']='6';const _0x3603bb=Object['create'](null);Object['keys'](_0x28b586)['forEach'](_0x53a143=>{_0x3603bb[_0x28b586[_0x53a143]]=_0x53a143;});const _0x5d796a={'type':'error','data':'parser\x20error'},withNativeBlob$1='function'==typeof Blob||'undefined'!=typeof Blob&&'[object\x20BlobConstructor]'===Object['prototype']['toString']['call'](Blob),withNativeArrayBuffer$2='function'==typeof ArrayBuffer,_0x5bde77=_0x118a7e=>'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x118a7e):_0x118a7e&&_0x118a7e['buffer']instanceof ArrayBuffer,encodePacket=({type:_0x5e3e29,data:_0x5ac448},_0x20bdd9,_0x52acef)=>withNativeBlob$1&&_0x5ac448 instanceof Blob?_0x20bdd9?_0x52acef(_0x5ac448):_0x2f00a6(_0x5ac448,_0x52acef):withNativeArrayBuffer$2&&(_0x5ac448 instanceof ArrayBuffer||_0x5bde77(_0x5ac448))?_0x20bdd9?_0x52acef(_0x5ac448):_0x2f00a6(new Blob([_0x5ac448]),_0x52acef):_0x52acef(_0x28b586[_0x5e3e29]+(_0x5ac448||'')),_0x2f00a6=(_0x32c391,_0x1f2021)=>{const _0x456bc0=new FileReader();return _0x456bc0['onload']=function(){const _0x237d9a=_0x456bc0['result']['split'](',')[0x1];_0x1f2021('b'+(_0x237d9a||''));},_0x456bc0['readAsDataURL'](_0x32c391);};function toArray(_0xa618a6){return _0xa618a6 instanceof Uint8Array?_0xa618a6:_0xa618a6 instanceof ArrayBuffer?new Uint8Array(_0xa618a6):new Uint8Array(_0xa618a6['buffer'],_0xa618a6['byteOffset'],_0xa618a6['byteLength']);}let _0xb2cd55;function encodePacketToBinary(_0x33fc52,_0x55c7c9){return withNativeBlob$1&&_0x33fc52['data']instanceof Blob?_0x33fc52['data']['arrayBuffer']()['then'](toArray)['then'](_0x55c7c9):withNativeArrayBuffer$2&&(_0x33fc52['data']instanceof ArrayBuffer||_0x5bde77(_0x33fc52['data']))?_0x55c7c9(toArray(_0x33fc52['data'])):void encodePacket(_0x33fc52,!0x1,_0x336398=>{_0xb2cd55||(_0xb2cd55=new TextEncoder()),_0x55c7c9(_0xb2cd55['encode'](_0x336398));});}const _0xb8240d='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',_0x581782='undefined'==typeof Uint8Array?[]:new Uint8Array(0x100);for(let _0x4cfcca=0x0;_0x4cfcca<_0xb8240d['length'];_0x4cfcca++)_0x581782[_0xb8240d['charCodeAt'](_0x4cfcca)]=_0x4cfcca;const _0x8fe1af=_0xef12f0=>{let _0x56b52b,_0x14111d,_0x8ea46a,_0x785549,_0x431ed6,_0x38ea39=0.75*_0xef12f0['length'],_0x509ba5=_0xef12f0['length'],_0x6e2993=0x0;'='===_0xef12f0[_0xef12f0['length']-0x1]&&(_0x38ea39--,'='===_0xef12f0[_0xef12f0['length']-0x2]&&_0x38ea39--);const _0x5a62b1=new ArrayBuffer(_0x38ea39),_0x63673f=new Uint8Array(_0x5a62b1);for(_0x56b52b=0x0;_0x56b52b<_0x509ba5;_0x56b52b+=0x4)_0x14111d=_0x581782[_0xef12f0['charCodeAt'](_0x56b52b)],_0x8ea46a=_0x581782[_0xef12f0['charCodeAt'](_0x56b52b+0x1)],_0x785549=_0x581782[_0xef12f0['charCodeAt'](_0x56b52b+0x2)],_0x431ed6=_0x581782[_0xef12f0['charCodeAt'](_0x56b52b+0x3)],_0x63673f[_0x6e2993++]=_0x14111d<<0x2|_0x8ea46a>>0x4,_0x63673f[_0x6e2993++]=(0xf&_0x8ea46a)<<0x4|_0x785549>>0x2,_0x63673f[_0x6e2993++]=(0x3&_0x785549)<<0x6|0x3f&_0x431ed6;return _0x5a62b1;},withNativeArrayBuffer$1='function'==typeof ArrayBuffer,decodePacket=(_0xe189a4,_0x5cd8ae)=>{if('string'!=typeof _0xe189a4)return{'type':'message','data':_0x1a6d3d(_0xe189a4,_0x5cd8ae)};const _0x4f0a65=_0xe189a4['charAt'](0x0);if('b'===_0x4f0a65)return{'type':'message','data':decodeBase64Packet(_0xe189a4['substring'](0x1),_0x5cd8ae)};return _0x3603bb[_0x4f0a65]?_0xe189a4['length']>0x1?{'type':_0x3603bb[_0x4f0a65],'data':_0xe189a4['substring'](0x1)}:{'type':_0x3603bb[_0x4f0a65]}:_0x5d796a;},decodeBase64Packet=(_0x130cf0,_0x2f6e1e)=>{if(withNativeArrayBuffer$1){const _0x5aa474=_0x8fe1af(_0x130cf0);return _0x1a6d3d(_0x5aa474,_0x2f6e1e);}return{'base64':!0x0,'data':_0x130cf0};},_0x1a6d3d=(_0x1db970,_0x28d98e)=>'blob'===_0x28d98e?_0x1db970 instanceof Blob?_0x1db970:new Blob([_0x1db970]):_0x1db970 instanceof ArrayBuffer?_0x1db970:_0x1db970['buffer'],_0x1f3e85=String['fromCharCode'](0x1e),_0x35fecb=(_0x41b984,_0x356ca1)=>{const _0x532fa1=_0x41b984['length'],_0x35f373=new Array(_0x532fa1);let _0x4d6234=0x0;_0x41b984['forEach']((_0x55ec7a,_0x5d78ba)=>{encodePacket(_0x55ec7a,!0x1,_0x41cb40=>{_0x35f373[_0x5d78ba]=_0x41cb40,++_0x4d6234===_0x532fa1&&_0x356ca1(_0x35f373['join'](_0x1f3e85));});});},_0x24eae4=(_0x205a1d,_0x20a5e8)=>{const _0x36848b=_0x205a1d['split'](_0x1f3e85),_0x5d4669=[];for(let _0x2cc779=0x0;_0x2cc779<_0x36848b['length'];_0x2cc779++){const _0x124bb4=decodePacket(_0x36848b[_0x2cc779],_0x20a5e8);if(_0x5d4669['push'](_0x124bb4),'error'===_0x124bb4['type'])break;}return _0x5d4669;};function createPacketEncoderStream(){return new TransformStream({'transform'(_0x59189f,_0x1087a5){encodePacketToBinary(_0x59189f,_0x319950=>{const _0x560d3b=_0x319950['length'];let _0x9d9f8a;if(_0x560d3b<0x7e)_0x9d9f8a=new Uint8Array(0x1),new DataView(_0x9d9f8a['buffer'])['setUint8'](0x0,_0x560d3b);else{if(_0x560d3b<0x10000){_0x9d9f8a=new Uint8Array(0x3);const _0x53a579=new DataView(_0x9d9f8a['buffer']);_0x53a579['setUint8'](0x0,0x7e),_0x53a579['setUint16'](0x1,_0x560d3b);}else{_0x9d9f8a=new Uint8Array(0x9);const _0x3e60af=new DataView(_0x9d9f8a['buffer']);_0x3e60af['setUint8'](0x0,0x7f),_0x3e60af['setBigUint64'](0x1,BigInt(_0x560d3b));}}_0x59189f['data']&&'string'!=typeof _0x59189f['data']&&(_0x9d9f8a[0x0]|=0x80),_0x1087a5['enqueue'](_0x9d9f8a),_0x1087a5['enqueue'](_0x319950);});}});}let _0x53cb98;function totalLength(_0x388b71){return _0x388b71['reduce']((_0x38963e,_0xe327cb)=>_0x38963e+_0xe327cb['length'],0x0);}function concatChunks(_0x39b564,_0x516956){if(_0x39b564[0x0]['length']===_0x516956)return _0x39b564['shift']();const _0x3f44e2=new Uint8Array(_0x516956);let _0x53a629=0x0;for(let _0x44aea4=0x0;_0x44aea4<_0x516956;_0x44aea4++)_0x3f44e2[_0x44aea4]=_0x39b564[0x0][_0x53a629++],_0x53a629===_0x39b564[0x0]['length']&&(_0x39b564['shift'](),_0x53a629=0x0);return _0x39b564['length']&&_0x53a629<_0x39b564[0x0]['length']&&(_0x39b564[0x0]=_0x39b564[0x0]['slice'](_0x53a629)),_0x3f44e2;}function createPacketDecoderStream(_0x3e13bc,_0x65bc2e){_0x53cb98||(_0x53cb98=new TextDecoder());const _0x53271f=[];let _0x17b9ac=0x0,_0x461ccb=-0x1,_0x31a895=!0x1;return new TransformStream({'transform'(_0x4f71d5,_0x3c67b4){for(_0x53271f['push'](_0x4f71d5);;){if(0x0===_0x17b9ac){if(totalLength(_0x53271f)<0x1)break;const _0x3b603e=concatChunks(_0x53271f,0x1);_0x31a895=!(0x80&~_0x3b603e[0x0]),_0x461ccb=0x7f&_0x3b603e[0x0],_0x17b9ac=_0x461ccb<0x7e?0x3:0x7e===_0x461ccb?0x1:0x2;}else{if(0x1===_0x17b9ac){if(totalLength(_0x53271f)<0x2)break;const _0x54f26c=concatChunks(_0x53271f,0x2);_0x461ccb=new DataView(_0x54f26c['buffer'],_0x54f26c['byteOffset'],_0x54f26c['length'])['getUint16'](0x0),_0x17b9ac=0x3;}else{if(0x2===_0x17b9ac){if(totalLength(_0x53271f)<0x8)break;const _0x54d838=concatChunks(_0x53271f,0x8),_0x440721=new DataView(_0x54d838['buffer'],_0x54d838['byteOffset'],_0x54d838['length']),_0x45e11d=_0x440721['getUint32'](0x0);if(_0x45e11d>Math['pow'](0x2,0x15)-0x1){_0x3c67b4['enqueue'](_0x5d796a);break;}_0x461ccb=_0x45e11d*Math['pow'](0x2,0x20)+_0x440721['getUint32'](0x4),_0x17b9ac=0x3;}else{if(totalLength(_0x53271f)<_0x461ccb)break;const _0xd4e4dc=concatChunks(_0x53271f,_0x461ccb);_0x3c67b4['enqueue'](decodePacket(_0x31a895?_0xd4e4dc:_0x53cb98['decode'](_0xd4e4dc),_0x65bc2e)),_0x17b9ac=0x0;}}}if(0x0===_0x461ccb||_0x461ccb>_0x3e13bc){_0x3c67b4['enqueue'](_0x5d796a);break;}}}});}const protocol=0x4;function Emitter(_0x152bb5){if(_0x152bb5)return _0x36231e(_0x152bb5);}function _0x36231e(_0x44e416){for(var _0x26bdef in Emitter['prototype'])_0x44e416[_0x26bdef]=Emitter['prototype'][_0x26bdef];return _0x44e416;}Emitter['prototype']['on']=Emitter['prototype']['addEventListener']=function(_0x1ab2de,_0x5df3db){return this['_callbacks']=this['_callbacks']||{},(this['_callbacks']['$'+_0x1ab2de]=this['_callbacks']['$'+_0x1ab2de]||[])['push'](_0x5df3db),this;},Emitter['prototype']['once']=function(_0x14c940,_0x31690f){function _0x15905d(){this['off'](_0x14c940,_0x15905d),_0x31690f['apply'](this,arguments);}return _0x15905d['fn']=_0x31690f,this['on'](_0x14c940,_0x15905d),this;},Emitter['prototype']['off']=Emitter['prototype']['removeListener']=Emitter['prototype']['removeAllListeners']=Emitter['prototype']['removeEventListener']=function(_0x354240,_0x34957a){if(this['_callbacks']=this['_callbacks']||{},0x0==arguments['length'])return this['_callbacks']={},this;var _0x1f1029,_0x388b2d=this['_callbacks']['$'+_0x354240];if(!_0x388b2d)return this;if(0x1==arguments['length'])return delete this['_callbacks']['$'+_0x354240],this;for(var _0x553ee6=0x0;_0x553ee6<_0x388b2d['length'];_0x553ee6++)if((_0x1f1029=_0x388b2d[_0x553ee6])===_0x34957a||_0x1f1029['fn']===_0x34957a){_0x388b2d['splice'](_0x553ee6,0x1);break;}return 0x0===_0x388b2d['length']&&delete this['_callbacks']['$'+_0x354240],this;},Emitter['prototype']['emit']=function(_0x4ca890){this['_callbacks']=this['_callbacks']||{};for(var _0xce0b83=new Array(arguments['length']-0x1),_0x24adfb=this['_callbacks']['$'+_0x4ca890],_0x4c9f2c=0x1;_0x4c9f2c<arguments['length'];_0x4c9f2c++)_0xce0b83[_0x4c9f2c-0x1]=arguments[_0x4c9f2c];if(_0x24adfb){_0x4c9f2c=0x0;for(var _0x3a67e7=(_0x24adfb=_0x24adfb['slice'](0x0))['length'];_0x4c9f2c<_0x3a67e7;++_0x4c9f2c)_0x24adfb[_0x4c9f2c]['apply'](this,_0xce0b83);}return this;},Emitter['prototype']['emitReserved']=Emitter['prototype']['emit'],Emitter['prototype']['listeners']=function(_0x46c73f){return this['_callbacks']=this['_callbacks']||{},this['_callbacks']['$'+_0x46c73f]||[];},Emitter['prototype']['hasListeners']=function(_0x5203f4){return!!this['listeners'](_0x5203f4)['length'];};const _0x380154='undefined'!=typeof self?self:'undefined'!=typeof window?window:Function('return\x20this')();function _0x236922(_0x3899f8,..._0x459c78){return _0x459c78['reduce']((_0x353a47,_0x5f3b7e)=>(_0x3899f8['hasOwnProperty'](_0x5f3b7e)&&(_0x353a47[_0x5f3b7e]=_0x3899f8[_0x5f3b7e]),_0x353a47),{});}const _0x151465=_0x380154['setTimeout'],_0x57d8d5=_0x380154['clearTimeout'];function installTimerFunctions(_0x1b74e9,_0x14bc3e){_0x14bc3e['useNativeTimers']?(_0x1b74e9['setTimeoutFn']=_0x151465['bind'](_0x380154),_0x1b74e9['clearTimeoutFn']=_0x57d8d5['bind'](_0x380154)):(_0x1b74e9['setTimeoutFn']=_0x380154['setTimeout']['bind'](_0x380154),_0x1b74e9['clearTimeoutFn']=_0x380154['clearTimeout']['bind'](_0x380154));}const _0x3a6b2c=1.33;function byteLength(_0x450637){return'string'==typeof _0x450637?utf8Length(_0x450637):Math['ceil']((_0x450637['byteLength']||_0x450637['size'])*_0x3a6b2c);}function utf8Length(_0x2f8364){let _0xf681ea=0x0,_0x1725d2=0x0;for(let _0x4cd26a=0x0,_0x5e2531=_0x2f8364['length'];_0x4cd26a<_0x5e2531;_0x4cd26a++)_0xf681ea=_0x2f8364['charCodeAt'](_0x4cd26a),_0xf681ea<0x80?_0x1725d2+=0x1:_0xf681ea<0x800?_0x1725d2+=0x2:_0xf681ea<0xd800||_0xf681ea>=0xe000?_0x1725d2+=0x3:(_0x4cd26a++,_0x1725d2+=0x4);return _0x1725d2;}function _0x5d1bb8(_0x349130){let _0x28e32e='';for(let _0x497fa9 in _0x349130)_0x349130['hasOwnProperty'](_0x497fa9)&&(_0x28e32e['length']&&(_0x28e32e+='&'),_0x28e32e+=encodeURIComponent(_0x497fa9)+'='+encodeURIComponent(_0x349130[_0x497fa9]));return _0x28e32e;}function _0x3adda1(_0x352c1e){let _0x990801={},_0x38254c=_0x352c1e['split']('&');for(let _0x39dace=0x0,_0x2c021d=_0x38254c['length'];_0x39dace<_0x2c021d;_0x39dace++){let _0x5e157b=_0x38254c[_0x39dace]['split']('=');_0x990801[decodeURIComponent(_0x5e157b[0x0])]=decodeURIComponent(_0x5e157b[0x1]);}return _0x990801;}class TransportError extends Error{constructor(_0x4a48c0,_0x434c2d,_0x33d1d6){super(_0x4a48c0),this['description']=_0x434c2d,this['context']=_0x33d1d6,this['type']='TransportError';}}class Transport extends Emitter{constructor(_0x473899){super(),this['writable']=!0x1,installTimerFunctions(this,_0x473899),this['opts']=_0x473899,this['query']=_0x473899['query'],this['socket']=_0x473899['socket'];}['onError'](_0x152ed5,_0x5b1d2f,_0x234503){return super['emitReserved']('error',new TransportError(_0x152ed5,_0x5b1d2f,_0x234503)),this;}['open'](){return this['readyState']='opening',this['doOpen'](),this;}['close'](){return'opening'!==this['readyState']&&'open'!==this['readyState']||(this['doClose'](),this['onClose']()),this;}['send'](_0x7f32aa){'open'===this['readyState']&&this['write'](_0x7f32aa);}['onOpen'](){this['readyState']='open',this['writable']=!0x0,super['emitReserved']('open');}['onData'](_0x3a2631){const _0x367190=decodePacket(_0x3a2631,this['socket']['binaryType']);this['onPacket'](_0x367190);}['onPacket'](_0x35c4d8){super['emitReserved']('packet',_0x35c4d8);}['onClose'](_0x385219){this['readyState']='closed',super['emitReserved']('close',_0x385219);}['pause'](_0x4fa4d8){}['createUri'](_0x4d39eb,_0x439893={}){return _0x4d39eb+'://'+this['_hostname']()+this['_port']()+this['opts']['path']+this['_query'](_0x439893);}['_hostname'](){const _0x2e988e=this['opts']['hostname'];return-0x1===_0x2e988e['indexOf'](':')?_0x2e988e:'['+_0x2e988e+']';}['_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'](_0x397a87){const _0x1cb087=_0x5d1bb8(_0x397a87);return _0x1cb087['length']?'?'+_0x1cb087:'';}}const alphabet='0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_'['split'](''),length=0x40,_0x8ef53e={};let _0x126b1d=0x0,_0x87db4f=0x0,_0x3071cc;function _0x319704(_0x59642d){let _0x45dff4='';do{_0x45dff4=alphabet[_0x59642d%length]+_0x45dff4,_0x59642d=Math['floor'](_0x59642d/length);}while(_0x59642d>0x0);return _0x45dff4;}function yeast(){const _0x277360=_0x319704(+new Date());return _0x277360!==_0x3071cc?(_0x126b1d=0x0,_0x3071cc=_0x277360):_0x277360+'.'+_0x319704(_0x126b1d++);}for(;_0x87db4f<length;_0x87db4f++)_0x8ef53e[alphabet[_0x87db4f]]=_0x87db4f;let _0x55c91e=!0x1;try{_0x55c91e='undefined'!=typeof XMLHttpRequest&&'withCredentials'in new XMLHttpRequest();}catch(_0x4c3791){}const _0x3b077b=_0x55c91e;function _0x13ba8f(_0x1f38e8){const _0x2b40f0=_0x1f38e8['xdomain'];try{if('undefined'!=typeof XMLHttpRequest&&(!_0x2b40f0||_0x3b077b))return new XMLHttpRequest();}catch(_0x1d5346){}if(!_0x2b40f0)try{return new _0x380154[(['Active']['concat']('Object')['join']('X'))]('Microsoft.XMLHTTP');}catch(_0x54822d){}}function createCookieJar(){}function empty(){}const _0xc57ba1=null!=new _0x13ba8f({'xdomain':!0x1})['responseType'];class _0x464c52 extends Transport{constructor(_0x108635){if(super(_0x108635),this['polling']=!0x1,'undefined'!=typeof location){const _0x1081a2='https:'===location['protocol'];let _0x3bfc4e=location['port'];_0x3bfc4e||(_0x3bfc4e=_0x1081a2?'443':'80'),this['xd']='undefined'!=typeof location&&_0x108635['hostname']!==location['hostname']||_0x3bfc4e!==_0x108635['port'];}const _0x2e64e4=_0x108635&&_0x108635['forceBase64'];this['supportsBinary']=_0xc57ba1&&!_0x2e64e4,this['opts']['withCredentials']&&(this['cookieJar']=createCookieJar());}get['name'](){return'polling';}['doOpen'](){this['poll']();}['pause'](_0x188227){this['readyState']='pausing';const _0xedd76=()=>{this['readyState']='paused',_0x188227();};if(this['polling']||!this['writable']){let _0xeab4aa=0x0;this['polling']&&(_0xeab4aa++,this['once']('pollComplete',function(){--_0xeab4aa||_0xedd76();})),this['writable']||(_0xeab4aa++,this['once']('drain',function(){--_0xeab4aa||_0xedd76();}));}else _0xedd76();}['poll'](){this['polling']=!0x0,this['doPoll'](),this['emitReserved']('poll');}['onData'](_0x2050bb){_0x24eae4(_0x2050bb,this['socket']['binaryType'])['forEach'](_0x43648c=>{if('opening'===this['readyState']&&'open'===_0x43648c['type']&&this['onOpen'](),'close'===_0x43648c['type'])return this['onClose']({'description':'transport\x20closed\x20by\x20the\x20server'}),!0x1;this['onPacket'](_0x43648c);}),'closed'!==this['readyState']&&(this['polling']=!0x1,this['emitReserved']('pollComplete'),'open'===this['readyState']&&this['poll']());}['doClose'](){const _0x5810b1=()=>{this['write']([{'type':'close'}]);};'open'===this['readyState']?_0x5810b1():this['once']('open',_0x5810b1);}['write'](_0x2a8a28){this['writable']=!0x1,_0x35fecb(_0x2a8a28,_0x13c467=>{this['doWrite'](_0x13c467,()=>{this['writable']=!0x0,this['emitReserved']('drain');});});}['uri'](){const _0x5cad8d=this['opts']['secure']?'https':'http',_0x50dd2e=this['query']||{};return!0x1!==this['opts']['timestampRequests']&&(_0x50dd2e[this['opts']['timestampParam']]=yeast()),this['supportsBinary']||_0x50dd2e['sid']||(_0x50dd2e['b64']=0x1),this['createUri'](_0x5cad8d,_0x50dd2e);}['request'](_0x143762={}){return Object['assign'](_0x143762,{'xd':this['xd'],'cookieJar':this['cookieJar']},this['opts']),new Request(this['uri'](),_0x143762);}['doWrite'](_0x23eb10,_0x4865f2){const _0x54a749=this['request']({'method':'POST','data':_0x23eb10});_0x54a749['on']('success',_0x4865f2),_0x54a749['on']('error',(_0x54c7be,_0x25ced3)=>{this['onError']('xhr\x20post\x20error',_0x54c7be,_0x25ced3);});}['doPoll'](){const _0x4f2c09=this['request']();_0x4f2c09['on']('data',this['onData']['bind'](this)),_0x4f2c09['on']('error',(_0x447d53,_0xf2c88a)=>{this['onError']('xhr\x20poll\x20error',_0x447d53,_0xf2c88a);}),this['pollXhr']=_0x4f2c09;}}class Request extends Emitter{constructor(_0x4edeeb,_0x300499){super(),installTimerFunctions(this,_0x300499),this['opts']=_0x300499,this['method']=_0x300499['method']||'GET',this['uri']=_0x4edeeb,this['data']=void 0x0!==_0x300499['data']?_0x300499['data']:null,this['create']();}['create'](){var _0x4227a1;const _0x346a13=_0x236922(this['opts'],'agent','pfx','key','passphrase','cert','ca','ciphers','rejectUnauthorized','autoUnref');_0x346a13['xdomain']=!!this['opts']['xd'];const _0x53e883=this['xhr']=new _0x13ba8f(_0x346a13);try{_0x53e883['open'](this['method'],this['uri'],!0x0);try{if(this['opts']['extraHeaders']){_0x53e883['setDisableHeaderCheck']&&_0x53e883['setDisableHeaderCheck'](!0x0);for(let _0x5cd88a in this['opts']['extraHeaders'])this['opts']['extraHeaders']['hasOwnProperty'](_0x5cd88a)&&_0x53e883['setRequestHeader'](_0x5cd88a,this['opts']['extraHeaders'][_0x5cd88a]);}}catch(_0x5bf85e){}if('POST'===this['method'])try{_0x53e883['setRequestHeader']('Content-type','text/plain;charset=UTF-8');}catch(_0x5c9961){}try{_0x53e883['setRequestHeader']('Accept','*/*');}catch(_0x30fd0d){}null===(_0x4227a1=this['opts']['cookieJar'])||void 0x0===_0x4227a1||_0x4227a1['addCookies'](_0x53e883),'withCredentials'in _0x53e883&&(_0x53e883['withCredentials']=this['opts']['withCredentials']),this['opts']['requestTimeout']&&(_0x53e883['timeout']=this['opts']['requestTimeout']),_0x53e883['onreadystatechange']=()=>{var _0x2e21d1;0x3===_0x53e883['readyState']&&(null===(_0x2e21d1=this['opts']['cookieJar'])||void 0x0===_0x2e21d1||_0x2e21d1['parseCookies'](_0x53e883)),0x4===_0x53e883['readyState']&&(0xc8===_0x53e883['status']||0x4c7===_0x53e883['status']?this['onLoad']():this['setTimeoutFn'](()=>{this['onError']('number'==typeof _0x53e883['status']?_0x53e883['status']:0x0);},0x0));},_0x53e883['send'](this['data']);}catch(_0x33ea64){return void this['setTimeoutFn'](()=>{this['onError'](_0x33ea64);},0x0);}'undefined'!=typeof document&&(this['index']=Request['requestsCount']++,Request['requests'][this['index']]=this);}['onError'](_0x388648){this['emitReserved']('error',_0x388648,this['xhr']),this['cleanup'](!0x0);}['cleanup'](_0x2b85e6){if(void 0x0!==this['xhr']&&null!==this['xhr']){if(this['xhr']['onreadystatechange']=empty,_0x2b85e6)try{this['xhr']['abort']();}catch(_0x10f9e6){}'undefined'!=typeof document&&delete Request['requests'][this['index']],this['xhr']=null;}}['onLoad'](){const _0x130a40=this['xhr']['responseText'];null!==_0x130a40&&(this['emitReserved']('data',_0x130a40),this['emitReserved']('success'),this['cleanup']());}['abort'](){this['cleanup']();}}if(Request['requestsCount']=0x0,Request['requests']={},'undefined'!=typeof document){if('function'==typeof attachEvent)attachEvent('onunload',_0x4e7be5);else{if('function'==typeof addEventListener){const _0x2dfdd9='onpagehide'in _0x380154?'pagehide':'unload';addEventListener(_0x2dfdd9,_0x4e7be5,!0x1);}}}function _0x4e7be5(){for(let _0x288b80 in Request['requests'])Request['requests']['hasOwnProperty'](_0x288b80)&&Request['requests'][_0x288b80]['abort']();}const nextTick='function'==typeof Promise&&'function'==typeof Promise['resolve']?_0x1b302c=>Promise['resolve']()['then'](_0x1b302c):(_0x5a54ea,_0x5bac0e)=>_0x5bac0e(_0x5a54ea,0x0),WebSocket$1=_0x380154['WebSocket']||_0x380154['MozWebSocket'],usingBrowserWebSocket=!0x0,defaultBinaryType='arraybuffer',isReactNative='undefined'!=typeof navigator&&'string'==typeof navigator['product']&&'reactnative'===navigator['product']['toLowerCase']();class _0x52a231 extends Transport{constructor(_0x456e70){super(_0x456e70),this['supportsBinary']=!_0x456e70['forceBase64'];}get['name'](){return'websocket';}['doOpen'](){if(!this['check']())return;const _0x25c275=this['uri'](),_0x239273=this['opts']['protocols'],_0x41330f=isReactNative?{}:_0x236922(this['opts'],'agent','perMessageDeflate','pfx','key','passphrase','cert','ca','ciphers','rejectUnauthorized','localAddress','protocolVersion','origin','maxPayload','family','checkServerIdentity');this['opts']['extraHeaders']&&(_0x41330f['headers']=this['opts']['extraHeaders']);try{this['ws']=usingBrowserWebSocket&&!isReactNative?_0x239273?new WebSocket$1(_0x25c275,_0x239273):new WebSocket$1(_0x25c275):new WebSocket$1(_0x25c275,_0x239273,_0x41330f);}catch(_0x17dd76){return this['emitReserved']('error',_0x17dd76);}this['ws']['binaryType']=this['socket']['binaryType'],this['addEventListeners']();}['addEventListeners'](){this['ws']['onopen']=()=>{this['opts']['autoUnref']&&this['ws']['_socket']['unref'](),this['onOpen']();},this['ws']['onclose']=_0x21f2f4=>this['onClose']({'description':'websocket\x20connection\x20closed','context':_0x21f2f4}),this['ws']['onmessage']=_0x511643=>this['onData'](_0x511643['data']),this['ws']['onerror']=_0x28e152=>this['onError']('websocket\x20error',_0x28e152);}['write'](_0x5bdb7b){this['writable']=!0x1;for(let _0x4955e4=0x0;_0x4955e4<_0x5bdb7b['length'];_0x4955e4++){const _0x4eeef5=_0x5bdb7b[_0x4955e4],_0x6ddbd3=_0x4955e4===_0x5bdb7b['length']-0x1;encodePacket(_0x4eeef5,this['supportsBinary'],_0x460ca9=>{try{usingBrowserWebSocket&&this['ws']['send'](_0x460ca9);}catch(_0x414028){}_0x6ddbd3&&nextTick(()=>{this['writable']=!0x0,this['emitReserved']('drain');},this['setTimeoutFn']);});}}['doClose'](){void 0x0!==this['ws']&&(this['ws']['close'](),this['ws']=null);}['uri'](){const _0x2ef944=this['opts']['secure']?'wss':'ws',_0x3c98e0=this['query']||{};return this['opts']['timestampRequests']&&(_0x3c98e0[this['opts']['timestampParam']]=yeast()),this['supportsBinary']||(_0x3c98e0['b64']=0x1),this['createUri'](_0x2ef944,_0x3c98e0);}['check'](){return!!WebSocket$1;}}class _0x471a43 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'](_0x2ac151=>{this['onError']('webtransport\x20error',_0x2ac151);}),this['transport']['ready']['then'](()=>{this['transport']['createBidirectionalStream']()['then'](_0x2f4b72=>{const _0x278bee=createPacketDecoderStream(Number['MAX_SAFE_INTEGER'],this['socket']['binaryType']),_0x3ba057=_0x2f4b72['readable']['pipeThrough'](_0x278bee)['getReader'](),_0x97e65e=createPacketEncoderStream();_0x97e65e['readable']['pipeTo'](_0x2f4b72['writable']),this['writer']=_0x97e65e['writable']['getWriter']();const _0x2b5fb1=()=>{_0x3ba057['read']()['then'](({done:_0x33e097,value:_0x367587})=>{_0x33e097||(this['onPacket'](_0x367587),_0x2b5fb1());})['catch'](_0x217b7e=>{});};_0x2b5fb1();const _0xf348b0={'type':'open'};this['query']['sid']&&(_0xf348b0['data']='{\x22sid\x22:\x22'+this['query']['sid']+'\x22}'),this['writer']['write'](_0xf348b0)['then'](()=>this['onOpen']());});}));}['write'](_0x13ab3c){this['writable']=!0x1;for(let _0x449636=0x0;_0x449636<_0x13ab3c['length'];_0x449636++){const _0x2a9de0=_0x13ab3c[_0x449636],_0x2be7c5=_0x449636===_0x13ab3c['length']-0x1;this['writer']['write'](_0x2a9de0)['then'](()=>{_0x2be7c5&&nextTick(()=>{this['writable']=!0x0,this['emitReserved']('drain');},this['setTimeoutFn']);});}}['doClose'](){var _0x4bd713;null===(_0x4bd713=this['transport'])||void 0x0===_0x4bd713||_0x4bd713['close']();}}const transports={'websocket':_0x52a231,'webtransport':_0x471a43,'polling':_0x464c52},_0x2690c1=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,parts=['source','protocol','authority','userInfo','user','password','host','port','relative','path','directory','file','query','anchor'];function _0x3c2c57(_0x20c07b){if(_0x20c07b['length']>0x7d0)throw'URI\x20too\x20long';const _0x3caddc=_0x20c07b,_0x395326=_0x20c07b['indexOf']('['),_0x8b2e61=_0x20c07b['indexOf'](']');-0x1!=_0x395326&&-0x1!=_0x8b2e61&&(_0x20c07b=_0x20c07b['substring'](0x0,_0x395326)+_0x20c07b['substring'](_0x395326,_0x8b2e61)['replace'](/:/g,';')+_0x20c07b['substring'](_0x8b2e61,_0x20c07b['length']));let _0x4ef7d9=_0x2690c1['exec'](_0x20c07b||''),_0x234120={},_0x4f1e13=0xe;for(;_0x4f1e13--;)_0x234120[parts[_0x4f1e13]]=_0x4ef7d9[_0x4f1e13]||'';return-0x1!=_0x395326&&-0x1!=_0x8b2e61&&(_0x234120['source']=_0x3caddc,_0x234120['host']=_0x234120['host']['substring'](0x1,_0x234120['host']['length']-0x1)['replace'](/;/g,':'),_0x234120['authority']=_0x234120['authority']['replace']('[','')['replace'](']','')['replace'](/;/g,':'),_0x234120['ipv6uri']=!0x0),_0x234120['pathNames']=pathNames(_0x234120,_0x234120['path']),_0x234120['queryKey']=_0x5079cc(_0x234120,_0x234120['query']),_0x234120;}function pathNames(_0xf41431,_0x12bafd){const _0x2769b6=_0x12bafd['replace'](/\/{2,9}/g,'/')['split']('/');return'/'!=_0x12bafd['slice'](0x0,0x1)&&0x0!==_0x12bafd['length']||_0x2769b6['splice'](0x0,0x1),'/'==_0x12bafd['slice'](-0x1)&&_0x2769b6['splice'](_0x2769b6['length']-0x1,0x1),_0x2769b6;}function _0x5079cc(_0x44c842,_0x3041b0){const _0x3cdf7c={};return _0x3041b0['replace'](/(?:^|&)([^&=]*)=?([^&]*)/g,function(_0x5d1c9a,_0x455d24,_0x48855f){_0x455d24&&(_0x3cdf7c[_0x455d24]=_0x48855f);}),_0x3cdf7c;}let Socket$1=class _0x14615f extends Emitter{constructor(_0x153533,_0x358bff={}){super(),this['binaryType']=defaultBinaryType,this['writeBuffer']=[],_0x153533&&'object'==typeof _0x153533&&(_0x358bff=_0x153533,_0x153533=null),_0x153533?(_0x153533=_0x3c2c57(_0x153533),_0x358bff['hostname']=_0x153533['host'],_0x358bff['secure']='https'===_0x153533['protocol']||'wss'===_0x153533['protocol'],_0x358bff['port']=_0x153533['port'],_0x153533['query']&&(_0x358bff['query']=_0x153533['query'])):_0x358bff['host']&&(_0x358bff['hostname']=_0x3c2c57(_0x358bff['host'])['host']),installTimerFunctions(this,_0x358bff),this['secure']=null!=_0x358bff['secure']?_0x358bff['secure']:'undefined'!=typeof location&&'https:'===location['protocol'],_0x358bff['hostname']&&!_0x358bff['port']&&(_0x358bff['port']=this['secure']?'443':'80'),this['hostname']=_0x358bff['hostname']||('undefined'!=typeof location?location['hostname']:'localhost'),this['port']=_0x358bff['port']||('undefined'!=typeof location&&location['port']?location['port']:this['secure']?'443':'80'),this['transports']=_0x358bff['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},_0x358bff),this['opts']['path']=this['opts']['path']['replace'](/\/$/,'')+(this['opts']['addTrailingSlash']?'/':''),'string'==typeof this['opts']['query']&&(this['opts']['query']=_0x3adda1(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'](_0x23be28){const _0x32e562=Object['assign']({},this['opts']['query']);_0x32e562['EIO']=protocol,_0x32e562['transport']=_0x23be28,this['id']&&(_0x32e562['sid']=this['id']);const _0x2c60e6=Object['assign']({},this['opts'],{'query':_0x32e562,'socket':this,'hostname':this['hostname'],'secure':this['secure'],'port':this['port']},this['opts']['transportOptions'][_0x23be28]);return new transports[_0x23be28](_0x2c60e6);}['open'](){let _0x255904;if(this['opts']['rememberUpgrade']&&_0x14615f['priorWebsocketSuccess']&&-0x1!==this['transports']['indexOf']('websocket'))_0x255904='websocket';else{if(0x0===this['transports']['length'])return void this['setTimeoutFn'](()=>{this['emitReserved']('error','No\x20transports\x20available');},0x0);_0x255904=this['transports'][0x0];}this['readyState']='opening';try{_0x255904=this['createTransport'](_0x255904);}catch(_0x1cff3f){return this['transports']['shift'](),void this['open']();}_0x255904['open'](),this['setTransport'](_0x255904);}['setTransport'](_0x967662){this['transport']&&this['transport']['removeAllListeners'](),this['transport']=_0x967662,_0x967662['on']('drain',this['onDrain']['bind'](this))['on']('packet',this['onPacket']['bind'](this))['on']('error',this['onError']['bind'](this))['on']('close',_0x578135=>this['onClose']('transport\x20close',_0x578135));}['probe'](_0x4b689b){let _0x14d64c=this['createTransport'](_0x4b689b),_0x365862=!0x1;_0x14615f['priorWebsocketSuccess']=!0x1;const _0x25f34b=()=>{_0x365862||(_0x14d64c['send']([{'type':'ping','data':'probe'}]),_0x14d64c['once']('packet',_0x58723e=>{if(!_0x365862){if('pong'===_0x58723e['type']&&'probe'===_0x58723e['data']){if(this['upgrading']=!0x0,this['emitReserved']('upgrading',_0x14d64c),!_0x14d64c)return;_0x14615f['priorWebsocketSuccess']='websocket'===_0x14d64c['name'],this['transport']['pause'](()=>{_0x365862||'closed'!==this['readyState']&&(_0x387860(),this['setTransport'](_0x14d64c),_0x14d64c['send']([{'type':'upgrade'}]),this['emitReserved']('upgrade',_0x14d64c),_0x14d64c=null,this['upgrading']=!0x1,this['flush']());});}else{const _0xc67b1f=new Error('probe\x20error');_0xc67b1f['transport']=_0x14d64c['name'],this['emitReserved']('upgradeError',_0xc67b1f);}}}));};function _0x146f8e(){_0x365862||(_0x365862=!0x0,_0x387860(),_0x14d64c['close'](),_0x14d64c=null);}const _0x2e7b3a=_0x51612f=>{const _0x7a79f2=new Error('probe\x20error:\x20'+_0x51612f);_0x7a79f2['transport']=_0x14d64c['name'],_0x146f8e(),this['emitReserved']('upgradeError',_0x7a79f2);};function _0x2c2b5f(){_0x2e7b3a('transport\x20closed');}function _0x17436e(){_0x2e7b3a('socket\x20closed');}function _0x3e81c0(_0x467296){_0x14d64c&&_0x467296['name']!==_0x14d64c['name']&&_0x146f8e();}const _0x387860=()=>{_0x14d64c['removeListener']('open',_0x25f34b),_0x14d64c['removeListener']('error',_0x2e7b3a),_0x14d64c['removeListener']('close',_0x2c2b5f),this['off']('close',_0x17436e),this['off']('upgrading',_0x3e81c0);};_0x14d64c['once']('open',_0x25f34b),_0x14d64c['once']('error',_0x2e7b3a),_0x14d64c['once']('close',_0x2c2b5f),this['once']('close',_0x17436e),this['once']('upgrading',_0x3e81c0),-0x1!==this['upgrades']['indexOf']('webtransport')&&'webtransport'!==_0x4b689b?this['setTimeoutFn'](()=>{_0x365862||_0x14d64c['open']();},0xc8):_0x14d64c['open']();}['onOpen'](){if(this['readyState']='open',_0x14615f['priorWebsocketSuccess']='websocket'===this['transport']['name'],this['emitReserved']('open'),this['flush'](),'open'===this['readyState']&&this['opts']['upgrade']){let _0x217c8c=0x0;const _0x28c047=this['upgrades']['length'];for(;_0x217c8c<_0x28c047;_0x217c8c++)this['probe'](this['upgrades'][_0x217c8c]);}}['onPacket'](_0x59126e){if('opening'===this['readyState']||'open'===this['readyState']||'closing'===this['readyState'])switch(this['emitReserved']('packet',_0x59126e),this['emitReserved']('heartbeat'),this['resetPingTimeout'](),_0x59126e['type']){case'open':this['onHandshake'](JSON['parse'](_0x59126e['data']));break;case'ping':this['sendPacket']('pong'),this['emitReserved']('ping'),this['emitReserved']('pong');break;case'error':const _0x5246c9=new Error('server\x20error');_0x5246c9['code']=_0x59126e['data'],this['onError'](_0x5246c9);break;case'message':this['emitReserved']('data',_0x59126e['data']),this['emitReserved']('message',_0x59126e['data']);}}['onHandshake'](_0x1cb2a1){this['emitReserved']('handshake',_0x1cb2a1),this['id']=_0x1cb2a1['sid'],this['transport']['query']['sid']=_0x1cb2a1['sid'],this['upgrades']=this['filterUpgrades'](_0x1cb2a1['upgrades']),this['pingInterval']=_0x1cb2a1['pingInterval'],this['pingTimeout']=_0x1cb2a1['pingTimeout'],this['maxPayload']=_0x1cb2a1['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 _0x890238=this['getWritablePackets']();this['transport']['send'](_0x890238),this['prevBufferLen']=_0x890238['length'],this['emitReserved']('flush');}}['getWritablePackets'](){if(!(this['maxPayload']&&'polling'===this['transport']['name']&&this['writeBuffer']['length']>0x1))return this['writeBuffer'];let _0x4d2038=0x1;for(let _0x503a2b=0x0;_0x503a2b<this['writeBuffer']['length'];_0x503a2b++){const _0x3e019b=this['writeBuffer'][_0x503a2b]['data'];if(_0x3e019b&&(_0x4d2038+=byteLength(_0x3e019b)),_0x503a2b>0x0&&_0x4d2038>this['maxPayload'])return this['writeBuffer']['slice'](0x0,_0x503a2b);_0x4d2038+=0x2;}return this['writeBuffer'];}['write'](_0x51f66b,_0x1125ee,_0x4cda9f){return this['sendPacket']('message',_0x51f66b,_0x1125ee,_0x4cda9f),this;}['send'](_0x2efe02,_0x3898ca,_0x59be30){return this['sendPacket']('message',_0x2efe02,_0x3898ca,_0x59be30),this;}['sendPacket'](_0x40bc28,_0x1223d3,_0x533dcc,_0x39cc28){if('function'==typeof _0x1223d3&&(_0x39cc28=_0x1223d3,_0x1223d3=void 0x0),'function'==typeof _0x533dcc&&(_0x39cc28=_0x533dcc,_0x533dcc=null),'closing'===this['readyState']||'closed'===this['readyState'])return;(_0x533dcc=_0x533dcc||{})['compress']=!0x1!==_0x533dcc['compress'];const _0xa1e66d={'type':_0x40bc28,'data':_0x1223d3,'options':_0x533dcc};this['emitReserved']('packetCreate',_0xa1e66d),this['writeBuffer']['push'](_0xa1e66d),_0x39cc28&&this['once']('flush',_0x39cc28),this['flush']();}['close'](){const _0x3e2581=()=>{this['onClose']('forced\x20close'),this['transport']['close']();},_0x5ebac3=()=>{this['off']('upgrade',_0x5ebac3),this['off']('upgradeError',_0x5ebac3),_0x3e2581();},_0x517b9b=()=>{this['once']('upgrade',_0x5ebac3),this['once']('upgradeError',_0x5ebac3);};return'opening'!==this['readyState']&&'open'!==this['readyState']||(this['readyState']='closing',this['writeBuffer']['length']?this['once']('drain',()=>{this['upgrading']?_0x517b9b():_0x3e2581();}):this['upgrading']?_0x517b9b():_0x3e2581()),this;}['onError'](_0x12a2f4){_0x14615f['priorWebsocketSuccess']=!0x1,this['emitReserved']('error',_0x12a2f4),this['onClose']('transport\x20error',_0x12a2f4);}['onClose'](_0x24f7f7,_0xeccc21){'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',_0x24f7f7,_0xeccc21),this['writeBuffer']=[],this['prevBufferLen']=0x0);}['filterUpgrades'](_0x229859){const _0x5a4653=[];let _0x393717=0x0;const _0x473270=_0x229859['length'];for(;_0x393717<_0x473270;_0x393717++)~this['transports']['indexOf'](_0x229859[_0x393717])&&_0x5a4653['push'](_0x229859[_0x393717]);return _0x5a4653;}};function _0x533778(_0x2b7992,_0x35eb3d='',_0x26c2fd){let _0x24fc87=_0x2b7992;_0x26c2fd=_0x26c2fd||'undefined'!=typeof location&&location,null==_0x2b7992&&(_0x2b7992=_0x26c2fd['protocol']+'//'+_0x26c2fd['host']),'string'==typeof _0x2b7992&&('/'===_0x2b7992['charAt'](0x0)&&(_0x2b7992='/'===_0x2b7992['charAt'](0x1)?_0x26c2fd['protocol']+_0x2b7992:_0x26c2fd['host']+_0x2b7992),/^(https?|wss?):\/\//['test'](_0x2b7992)||(_0x2b7992=void 0x0!==_0x26c2fd?_0x26c2fd['protocol']+'//'+_0x2b7992:'https://'+_0x2b7992),_0x24fc87=_0x3c2c57(_0x2b7992)),_0x24fc87['port']||(/^(http|ws)$/['test'](_0x24fc87['protocol'])?_0x24fc87['port']='80':/^(http|ws)s$/['test'](_0x24fc87['protocol'])&&(_0x24fc87['port']='443')),_0x24fc87['path']=_0x24fc87['path']||'/';const _0x23e480=-0x1!==_0x24fc87['host']['indexOf'](':')?'['+_0x24fc87['host']+']':_0x24fc87['host'];return _0x24fc87['id']=_0x24fc87['protocol']+'://'+_0x23e480+':'+_0x24fc87['port']+_0x35eb3d,_0x24fc87['href']=_0x24fc87['protocol']+'://'+_0x23e480+(_0x26c2fd&&_0x26c2fd['port']===_0x24fc87['port']?'':':'+_0x24fc87['port']),_0x24fc87;}Socket$1['protocol']=protocol;const withNativeArrayBuffer='function'==typeof ArrayBuffer,_0x2f1aad=_0x3b511e=>'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x3b511e):_0x3b511e['buffer']instanceof ArrayBuffer,toString=Object['prototype']['toString'],withNativeBlob='function'==typeof Blob||'undefined'!=typeof Blob&&'[object\x20BlobConstructor]'===toString['call'](Blob),withNativeFile='function'==typeof File||'undefined'!=typeof File&&'[object\x20FileConstructor]'===toString['call'](File);function _0x44a136(_0xfc652f){return withNativeArrayBuffer&&(_0xfc652f instanceof ArrayBuffer||_0x2f1aad(_0xfc652f))||withNativeBlob&&_0xfc652f instanceof Blob||withNativeFile&&_0xfc652f instanceof File;}function _0x36a0ea(_0x809deb,_0xc8cf3c){if(!_0x809deb||'object'!=typeof _0x809deb)return!0x1;if(Array['isArray'](_0x809deb)){for(let _0x201fc1=0x0,_0x1755a1=_0x809deb['length'];_0x201fc1<_0x1755a1;_0x201fc1++)if(_0x36a0ea(_0x809deb[_0x201fc1]))return!0x0;return!0x1;}if(_0x44a136(_0x809deb))return!0x0;if(_0x809deb['toJSON']&&'function'==typeof _0x809deb['toJSON']&&0x1===arguments['length'])return _0x36a0ea(_0x809deb['toJSON'](),!0x0);for(const _0xc71b54 in _0x809deb)if(Object['prototype']['hasOwnProperty']['call'](_0x809deb,_0xc71b54)&&_0x36a0ea(_0x809deb[_0xc71b54]))return!0x0;return!0x1;}function deconstructPacket(_0x1f53de){const _0x31e11b=[],_0x3d0b20=_0x1f53de['data'],_0x13cd11=_0x1f53de;return _0x13cd11['data']=_deconstructPacket(_0x3d0b20,_0x31e11b),_0x13cd11['attachments']=_0x31e11b['length'],{'packet':_0x13cd11,'buffers':_0x31e11b};}function _deconstructPacket(_0x5c7650,_0x5bed53){if(!_0x5c7650)return _0x5c7650;if(_0x44a136(_0x5c7650)){const _0x5e186f={'_placeholder':!0x0,'num':_0x5bed53['length']};return _0x5bed53['push'](_0x5c7650),_0x5e186f;}if(Array['isArray'](_0x5c7650)){const _0x581dd1=new Array(_0x5c7650['length']);for(let _0x1881ca=0x0;_0x1881ca<_0x5c7650['length'];_0x1881ca++)_0x581dd1[_0x1881ca]=_deconstructPacket(_0x5c7650[_0x1881ca],_0x5bed53);return _0x581dd1;}if('object'==typeof _0x5c7650&&!(_0x5c7650 instanceof Date)){const _0x1cd8b1={};for(const _0x1e2db1 in _0x5c7650)Object['prototype']['hasOwnProperty']['call'](_0x5c7650,_0x1e2db1)&&(_0x1cd8b1[_0x1e2db1]=_deconstructPacket(_0x5c7650[_0x1e2db1],_0x5bed53));return _0x1cd8b1;}return _0x5c7650;}function reconstructPacket(_0x4fb0be,_0x228532){return _0x4fb0be['data']=_reconstructPacket(_0x4fb0be['data'],_0x228532),delete _0x4fb0be['attachments'],_0x4fb0be;}function _reconstructPacket(_0x5bf1d7,_0xac659a){if(!_0x5bf1d7)return _0x5bf1d7;if(_0x5bf1d7&&!0x0===_0x5bf1d7['_placeholder']){if('number'==typeof _0x5bf1d7['num']&&_0x5bf1d7['num']>=0x0&&_0x5bf1d7['num']<_0xac659a['length'])return _0xac659a[_0x5bf1d7['num']];throw new Error('illegal\x20attachments');}if(Array['isArray'](_0x5bf1d7)){for(let _0x5a3403=0x0;_0x5a3403<_0x5bf1d7['length'];_0x5a3403++)_0x5bf1d7[_0x5a3403]=_reconstructPacket(_0x5bf1d7[_0x5a3403],_0xac659a);}else{if('object'==typeof _0x5bf1d7){for(const _0x4560f7 in _0x5bf1d7)Object['prototype']['hasOwnProperty']['call'](_0x5bf1d7,_0x4560f7)&&(_0x5bf1d7[_0x4560f7]=_reconstructPacket(_0x5bf1d7[_0x4560f7],_0xac659a));}}return _0x5bf1d7;}const _0x5ac0da=['connect','connect_error','disconnect','disconnecting','newListener','removeListener'];var PacketType;!function(_0x279b81){_0x279b81[_0x279b81['CONNECT']=0x0]='CONNECT',_0x279b81[_0x279b81['DISCONNECT']=0x1]='DISCONNECT',_0x279b81[_0x279b81['EVENT']=0x2]='EVENT',_0x279b81[_0x279b81['ACK']=0x3]='ACK',_0x279b81[_0x279b81['CONNECT_ERROR']=0x4]='CONNECT_ERROR',_0x279b81[_0x279b81['BINARY_EVENT']=0x5]='BINARY_EVENT',_0x279b81[_0x279b81['BINARY_ACK']=0x6]='BINARY_ACK';}(PacketType||(PacketType={}));let _0x299f61=class{constructor(_0x586998){this['replacer']=_0x586998;}['encode'](_0x13decd){return _0x13decd['type']!==PacketType['EVENT']&&_0x13decd['type']!==PacketType['ACK']||!_0x36a0ea(_0x13decd)?[this['encodeAsString'](_0x13decd)]:this['encodeAsBinary']({'type':_0x13decd['type']===PacketType['EVENT']?PacketType['BINARY_EVENT']:PacketType['BINARY_ACK'],'nsp':_0x13decd['nsp'],'data':_0x13decd['data'],'id':_0x13decd['id']});}['encodeAsString'](_0x4dee54){let _0x36751d=''+_0x4dee54['type'];return _0x4dee54['type']!==PacketType['BINARY_EVENT']&&_0x4dee54['type']!==PacketType['BINARY_ACK']||(_0x36751d+=_0x4dee54['attachments']+'-'),_0x4dee54['nsp']&&'/'!==_0x4dee54['nsp']&&(_0x36751d+=_0x4dee54['nsp']+','),null!=_0x4dee54['id']&&(_0x36751d+=_0x4dee54['id']),null!=_0x4dee54['data']&&(_0x36751d+=JSON['stringify'](_0x4dee54['data'],this['replacer'])),_0x36751d;}['encodeAsBinary'](_0x33f5b0){const _0x4c850b=deconstructPacket(_0x33f5b0),_0x3743a6=this['encodeAsString'](_0x4c850b['packet']),_0x122b79=_0x4c850b['buffers'];return _0x122b79['unshift'](_0x3743a6),_0x122b79;}},_0x182645=class _0x47d683 extends Emitter{constructor(_0x4e5919){super(),this['opts']=Object['assign']({'reviver':void 0x0,'maxAttachments':0xa},'function'==typeof _0x4e5919?{'reviver':_0x4e5919}:_0x4e5919);}['add'](_0x4c37a1){let _0x461f25;if('string'==typeof _0x4c37a1){if(this['reconstructor'])throw new Error('got\x20plaintext\x20data\x20when\x20reconstructing\x20a\x20packet');_0x461f25=this['decodeString'](_0x4c37a1);const _0x4edc60=_0x461f25['type']===PacketType['BINARY_EVENT'];_0x4edc60||_0x461f25['type']===PacketType['BINARY_ACK']?(_0x461f25['type']=_0x4edc60?PacketType['EVENT']:PacketType['ACK'],this['reconstructor']=new BinaryReconstructor(_0x461f25),0x0===_0x461f25['attachments']&&super['emitReserved']('decoded',_0x461f25)):super['emitReserved']('decoded',_0x461f25);}else{if(!_0x44a136(_0x4c37a1)&&!_0x4c37a1['base64'])throw new Error('Unknown\x20type:\x20'+_0x4c37a1);if(!this['reconstructor'])throw new Error('got\x20binary\x20data\x20when\x20not\x20reconstructing\x20a\x20packet');_0x461f25=this['reconstructor']['takeBinaryData'](_0x4c37a1),_0x461f25&&(this['reconstructor']=null,super['emitReserved']('decoded',_0x461f25));}}['decodeString'](_0x6319b9){let _0x25b81c=0x0;const _0x5eb508={'type':Number(_0x6319b9['charAt'](0x0))};if(void 0x0===PacketType[_0x5eb508['type']])throw new Error('unknown\x20packet\x20type\x20'+_0x5eb508['type']);if(_0x5eb508['type']===PacketType['BINARY_EVENT']||_0x5eb508['type']===PacketType['BINARY_ACK']){const _0x43be90=_0x25b81c+0x1;for(;'-'!==_0x6319b9['charAt'](++_0x25b81c)&&_0x25b81c!=_0x6319b9['length'];);const _0x45aad9=_0x6319b9['substring'](_0x43be90,_0x25b81c);if(_0x45aad9!=Number(_0x45aad9)||'-'!==_0x6319b9['charAt'](_0x25b81c))throw new Error('Illegal\x20attachments');const _0x1af782=Number(_0x45aad9);if(!isInteger(_0x1af782)||_0x1af782<0x0)throw new Error('Illegal\x20attachments');if(_0x1af782>this['opts']['maxAttachments'])throw new Error('too\x20many\x20attachments');_0x5eb508['attachments']=_0x1af782;}if('/'===_0x6319b9['charAt'](_0x25b81c+0x1)){const _0x308b65=_0x25b81c+0x1;for(;++_0x25b81c;){if(','===_0x6319b9['charAt'](_0x25b81c))break;if(_0x25b81c===_0x6319b9['length'])break;}_0x5eb508['nsp']=_0x6319b9['substring'](_0x308b65,_0x25b81c);}else _0x5eb508['nsp']='/';const _0x5f3c41=_0x6319b9['charAt'](_0x25b81c+0x1);if(''!==_0x5f3c41&&Number(_0x5f3c41)==_0x5f3c41){const _0x19ef66=_0x25b81c+0x1;for(;++_0x25b81c;){const _0x586209=_0x6319b9['charAt'](_0x25b81c);if(null==_0x586209||Number(_0x586209)!=_0x586209){--_0x25b81c;break;}if(_0x25b81c===_0x6319b9['length'])break;}_0x5eb508['id']=Number(_0x6319b9['substring'](_0x19ef66,_0x25b81c+0x1));}if(_0x6319b9['charAt'](++_0x25b81c)){const _0x37b6ab=this['tryParse'](_0x6319b9['substr'](_0x25b81c));if(!_0x47d683['isPayloadValid'](_0x5eb508['type'],_0x37b6ab))throw new Error('invalid\x20payload');_0x5eb508['data']=_0x37b6ab;}return _0x5eb508;}['tryParse'](_0x363e29){try{return JSON['parse'](_0x363e29,this['opts']['reviver']);}catch(_0x3a05cd){return!0x1;}}static['isPayloadValid'](_0x242903,_0x648e02){switch(_0x242903){case PacketType['CONNECT']:return isObject$1(_0x648e02);case PacketType['DISCONNECT']:return void 0x0===_0x648e02;case PacketType['CONNECT_ERROR']:return'string'==typeof _0x648e02||isObject$1(_0x648e02);case PacketType['EVENT']:case PacketType['BINARY_EVENT']:return Array['isArray'](_0x648e02)&&('number'==typeof _0x648e02[0x0]||'string'==typeof _0x648e02[0x0]&&-0x1===_0x5ac0da['indexOf'](_0x648e02[0x0]));case PacketType['ACK']:case PacketType['BINARY_ACK']:return Array['isArray'](_0x648e02);}}['destroy'](){this['reconstructor']&&(this['reconstructor']['finishedReconstruction'](),this['reconstructor']=null);}};class BinaryReconstructor{constructor(_0x21d06d){this['packet']=_0x21d06d,this['buffers']=[],this['reconPack']=_0x21d06d;}['takeBinaryData'](_0x3967d5){if(this['buffers']['push'](_0x3967d5),this['buffers']['length']===this['reconPack']['attachments']){const _0x4099d1=reconstructPacket(this['reconPack'],this['buffers']);return this['finishedReconstruction'](),_0x4099d1;}return null;}['finishedReconstruction'](){this['reconPack']=null,this['buffers']=[];}}const isInteger=Number['isInteger']||function(_0x1155ae){return'number'==typeof _0x1155ae&&isFinite(_0x1155ae)&&Math['floor'](_0x1155ae)===_0x1155ae;};function isObject$1(_0x430d3a){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x430d3a);}var _0x2f8f4c=Object['freeze']({'__proto__':null,'Decoder':_0x182645,'Encoder':_0x299f61,get 'PacketType'(){return PacketType;}});function _0x3b3cd8(_0x57e948,_0x1fd253,_0x32ac05){return _0x57e948['on'](_0x1fd253,_0x32ac05),function(){_0x57e948['off'](_0x1fd253,_0x32ac05);};}const _0x5485db=Object['freeze']({'connect':0x1,'connect_error':0x1,'disconnect':0x1,'disconnecting':0x1,'newListener':0x1,'removeListener':0x1});class Socket extends Emitter{constructor(_0xa2939c,_0x58f048,_0x533157){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']=_0xa2939c,this['nsp']=_0x58f048,_0x533157&&_0x533157['auth']&&(this['auth']=_0x533157['auth']),this['_opts']=Object['assign']({},_0x533157),this['io']['_autoConnect']&&this['open']();}get['disconnected'](){return!this['connected'];}['subEvents'](){if(this['subs'])return;const _0x1763a4=this['io'];this['subs']=[_0x3b3cd8(_0x1763a4,'open',this['onopen']['bind'](this)),_0x3b3cd8(_0x1763a4,'packet',this['onpacket']['bind'](this)),_0x3b3cd8(_0x1763a4,'error',this['onerror']['bind'](this)),_0x3b3cd8(_0x1763a4,'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'](..._0x22c37a){return _0x22c37a['unshift']('message'),this['emit']['apply'](this,_0x22c37a),this;}['emit'](_0x4a95ce,..._0xbeee06){if(_0x5485db['hasOwnProperty'](_0x4a95ce))throw new Error('\x22'+_0x4a95ce['toString']()+'\x22\x20is\x20a\x20reserved\x20event\x20name');if(_0xbeee06['unshift'](_0x4a95ce),this['_opts']['retries']&&!this['flags']['fromQueue']&&!this['flags']['volatile'])return this['_addToQueue'](_0xbeee06),this;const _0x3e430b={'type':PacketType['EVENT'],'data':_0xbeee06,'options':{}};if(_0x3e430b['options']['compress']=!0x1!==this['flags']['compress'],'function'==typeof _0xbeee06[_0xbeee06['length']-0x1]){const _0x11cf59=this['ids']++,_0xd97a19=_0xbeee06['pop']();this['_registerAckCallback'](_0x11cf59,_0xd97a19),_0x3e430b['id']=_0x11cf59;}const _0x34afa6=this['io']['engine']&&this['io']['engine']['transport']&&this['io']['engine']['transport']['writable'];return this['flags']['volatile']&&(!_0x34afa6||!this['connected'])||(this['connected']?(this['notifyOutgoingListeners'](_0x3e430b),this['packet'](_0x3e430b)):this['sendBuffer']['push'](_0x3e430b)),this['flags']={},this;}['_registerAckCallback'](_0x5563b8,_0x38e7e4){var _0x211715;const _0x3ae915=null!==(_0x211715=this['flags']['timeout'])&&void 0x0!==_0x211715?_0x211715:this['_opts']['ackTimeout'];if(void 0x0===_0x3ae915)return void(this['acks'][_0x5563b8]=_0x38e7e4);const _0x3cee68=this['io']['setTimeoutFn'](()=>{delete this['acks'][_0x5563b8];for(let _0x545f04=0x0;_0x545f04<this['sendBuffer']['length'];_0x545f04++)this['sendBuffer'][_0x545f04]['id']===_0x5563b8&&this['sendBuffer']['splice'](_0x545f04,0x1);_0x38e7e4['call'](this,new Error('operation\x20has\x20timed\x20out'));},_0x3ae915);this['acks'][_0x5563b8]=(..._0x5e4f30)=>{this['io']['clearTimeoutFn'](_0x3cee68),_0x38e7e4['apply'](this,[null,..._0x5e4f30]);};}['emitWithAck'](_0x5035a7,..._0x5e392f){const _0x1fb7c7=void 0x0!==this['flags']['timeout']||void 0x0!==this['_opts']['ackTimeout'];return new Promise((_0x57a069,_0x5ace4a)=>{_0x5e392f['push']((_0x1a2b9b,_0x418457)=>_0x1fb7c7?_0x1a2b9b?_0x5ace4a(_0x1a2b9b):_0x57a069(_0x418457):_0x57a069(_0x1a2b9b)),this['emit'](_0x5035a7,..._0x5e392f);});}['_addToQueue'](_0x1aaf15){let _0x45e258;'function'==typeof _0x1aaf15[_0x1aaf15['length']-0x1]&&(_0x45e258=_0x1aaf15['pop']());const _0xa84b09={'id':this['_queueSeq']++,'tryCount':0x0,'pending':!0x1,'args':_0x1aaf15,'flags':Object['assign']({'fromQueue':!0x0},this['flags'])};_0x1aaf15['push']((_0xb21984,..._0x2d93b1)=>{if(_0xa84b09!==this['_queue'][0x0])return;return null!==_0xb21984?_0xa84b09['tryCount']>this['_opts']['retries']&&(this['_queue']['shift'](),_0x45e258&&_0x45e258(_0xb21984)):(this['_queue']['shift'](),_0x45e258&&_0x45e258(null,..._0x2d93b1)),_0xa84b09['pending']=!0x1,this['_drainQueue']();}),this['_queue']['push'](_0xa84b09),this['_drainQueue']();}['_drainQueue'](_0xe84215=!0x1){if(!this['connected']||0x0===this['_queue']['length'])return;const _0x481861=this['_queue'][0x0];_0x481861['pending']&&!_0xe84215||(_0x481861['pending']=!0x0,_0x481861['tryCount']++,this['flags']=_0x481861['flags'],this['emit']['apply'](this,_0x481861['args']));}['packet'](_0x24a567){_0x24a567['nsp']=this['nsp'],this['io']['_packet'](_0x24a567);}['onopen'](){'function'==typeof this['auth']?this['auth'](_0x3817d7=>{this['_sendConnectPacket'](_0x3817d7);}):this['_sendConnectPacket'](this['auth']);}['_sendConnectPacket'](_0x8a844d){this['packet']({'type':PacketType['CONNECT'],'data':this['_pid']?Object['assign']({'pid':this['_pid'],'offset':this['_lastOffset']},_0x8a844d):_0x8a844d});}['onerror'](_0x3c80cb){this['connected']||this['emitReserved']('connect_error',_0x3c80cb);}['onclose'](_0x24631f,_0x40c9d7){this['connected']=!0x1,delete this['id'],this['emitReserved']('disconnect',_0x24631f,_0x40c9d7);}['onpacket'](_0x55c9f6){if(_0x55c9f6['nsp']===this['nsp'])switch(_0x55c9f6['type']){case PacketType['CONNECT']:_0x55c9f6['data']&&_0x55c9f6['data']['sid']?this['onconnect'](_0x55c9f6['data']['sid'],_0x55c9f6['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 PacketType['EVENT']:case PacketType['BINARY_EVENT']:this['onevent'](_0x55c9f6);break;case PacketType['ACK']:case PacketType['BINARY_ACK']:this['onack'](_0x55c9f6);break;case PacketType['DISCONNECT']:this['ondisconnect']();break;case PacketType['CONNECT_ERROR']:this['destroy']();const _0x19067b=new Error(_0x55c9f6['data']['message']);_0x19067b['data']=_0x55c9f6['data']['data'],this['emitReserved']('connect_error',_0x19067b);}}['onevent'](_0x59ea07){const _0x5382c3=_0x59ea07['data']||[];null!=_0x59ea07['id']&&_0x5382c3['push'](this['ack'](_0x59ea07['id'])),this['connected']?this['emitEvent'](_0x5382c3):this['receiveBuffer']['push'](Object['freeze'](_0x5382c3));}['emitEvent'](_0x18bb78){if(this['_anyListeners']&&this['_anyListeners']['length']){const _0x276180=this['_anyListeners']['slice']();for(const _0x4408f8 of _0x276180)_0x4408f8['apply'](this,_0x18bb78);}super['emit']['apply'](this,_0x18bb78),this['_pid']&&_0x18bb78['length']&&'string'==typeof _0x18bb78[_0x18bb78['length']-0x1]&&(this['_lastOffset']=_0x18bb78[_0x18bb78['length']-0x1]);}['ack'](_0x20d5fb){const _0x5ddd82=this;let _0x3faed6=!0x1;return function(..._0x594226){_0x3faed6||(_0x3faed6=!0x0,_0x5ddd82['packet']({'type':PacketType['ACK'],'id':_0x20d5fb,'data':_0x594226}));};}['onack'](_0x45c261){const _0x1d2974=this['acks'][_0x45c261['id']];'function'==typeof _0x1d2974&&(_0x1d2974['apply'](this,_0x45c261['data']),delete this['acks'][_0x45c261['id']]);}['onconnect'](_0x4f57e9,_0x5474e7){this['id']=_0x4f57e9,this['recovered']=_0x5474e7&&this['_pid']===_0x5474e7,this['_pid']=_0x5474e7,this['connected']=!0x0,this['emitBuffered'](),this['emitReserved']('connect'),this['_drainQueue'](!0x0);}['emitBuffered'](){this['receiveBuffer']['forEach'](_0x31b756=>this['emitEvent'](_0x31b756)),this['receiveBuffer']=[],this['sendBuffer']['forEach'](_0x460844=>{this['notifyOutgoingListeners'](_0x460844),this['packet'](_0x460844);}),this['sendBuffer']=[];}['ondisconnect'](){this['destroy'](),this['onclose']('io\x20server\x20disconnect');}['destroy'](){this['subs']&&(this['subs']['forEach'](_0x500843=>_0x500843()),this['subs']=void 0x0),this['io']['_destroy'](this);}['disconnect'](){return this['connected']&&this['packet']({'type':PacketType['DISCONNECT']}),this['destroy'](),this['connected']&&this['onclose']('io\x20client\x20disconnect'),this;}['close'](){return this['disconnect']();}['compress'](_0x5edbd2){return this['flags']['compress']=_0x5edbd2,this;}get['volatile'](){return this['flags']['volatile']=!0x0,this;}['timeout'](_0x4bb7ef){return this['flags']['timeout']=_0x4bb7ef,this;}['onAny'](_0x5c2df8){return this['_anyListeners']=this['_anyListeners']||[],this['_anyListeners']['push'](_0x5c2df8),this;}['prependAny'](_0xbb2f08){return this['_anyListeners']=this['_anyListeners']||[],this['_anyListeners']['unshift'](_0xbb2f08),this;}['offAny'](_0x56bf61){if(!this['_anyListeners'])return this;if(_0x56bf61){const _0x49565a=this['_anyListeners'];for(let _0x5d27d8=0x0;_0x5d27d8<_0x49565a['length'];_0x5d27d8++)if(_0x56bf61===_0x49565a[_0x5d27d8])return _0x49565a['splice'](_0x5d27d8,0x1),this;}else this['_anyListeners']=[];return this;}['listenersAny'](){return this['_anyListeners']||[];}['onAnyOutgoing'](_0x1b37be){return this['_anyOutgoingListeners']=this['_anyOutgoingListeners']||[],this['_anyOutgoingListeners']['push'](_0x1b37be),this;}['prependAnyOutgoing'](_0x3a366d){return this['_anyOutgoingListeners']=this['_anyOutgoingListeners']||[],this['_anyOutgoingListeners']['unshift'](_0x3a366d),this;}['offAnyOutgoing'](_0x5b4ab5){if(!this['_anyOutgoingListeners'])return this;if(_0x5b4ab5){const _0x3be033=this['_anyOutgoingListeners'];for(let _0x15c726=0x0;_0x15c726<_0x3be033['length'];_0x15c726++)if(_0x5b4ab5===_0x3be033[_0x15c726])return _0x3be033['splice'](_0x15c726,0x1),this;}else this['_anyOutgoingListeners']=[];return this;}['listenersAnyOutgoing'](){return this['_anyOutgoingListeners']||[];}['notifyOutgoingListeners'](_0x34bd1d){if(this['_anyOutgoingListeners']&&this['_anyOutgoingListeners']['length']){const _0x5ed1b7=this['_anyOutgoingListeners']['slice']();for(const _0x52a572 of _0x5ed1b7)_0x52a572['apply'](this,_0x34bd1d['data']);}}}function _0x597975(_0x35b20c){_0x35b20c=_0x35b20c||{},this['ms']=_0x35b20c['min']||0x64,this['max']=_0x35b20c['max']||0x2710,this['factor']=_0x35b20c['factor']||0x2,this['jitter']=_0x35b20c['jitter']>0x0&&_0x35b20c['jitter']<=0x1?_0x35b20c['jitter']:0x0,this['attempts']=0x0;}_0x597975['prototype']['duration']=function(){var _0x543816=this['ms']*Math['pow'](this['factor'],this['attempts']++);if(this['jitter']){var _0x59f549=Math['random'](),_0x15a862=Math['floor'](_0x59f549*this['jitter']*_0x543816);_0x543816=0x1&Math['floor'](0xa*_0x59f549)?_0x543816+_0x15a862:_0x543816-_0x15a862;}return 0x0|Math['min'](_0x543816,this['max']);},_0x597975['prototype']['reset']=function(){this['attempts']=0x0;},_0x597975['prototype']['setMin']=function(_0x5064cd){this['ms']=_0x5064cd;},_0x597975['prototype']['setMax']=function(_0x2272a0){this['max']=_0x2272a0;},_0x597975['prototype']['setJitter']=function(_0x3116db){this['jitter']=_0x3116db;};class _0x5aef10 extends Emitter{constructor(_0x43cd58,_0x33e985){var _0x163d22;super(),this['nsps']={},this['subs']=[],_0x43cd58&&'object'==typeof _0x43cd58&&(_0x33e985=_0x43cd58,_0x43cd58=void 0x0),(_0x33e985=_0x33e985||{})['path']=_0x33e985['path']||'/socket.io',this['opts']=_0x33e985,installTimerFunctions(this,_0x33e985),this['reconnection'](!0x1!==_0x33e985['reconnection']),this['reconnectionAttempts'](_0x33e985['reconnectionAttempts']||0x1/0x0),this['reconnectionDelay'](_0x33e985['reconnectionDelay']||0x3e8),this['reconnectionDelayMax'](_0x33e985['reconnectionDelayMax']||0x1388),this['randomizationFactor'](null!==(_0x163d22=_0x33e985['randomizationFactor'])&&void 0x0!==_0x163d22?_0x163d22:0.5),this['backoff']=new _0x597975({'min':this['reconnectionDelay'](),'max':this['reconnectionDelayMax'](),'jitter':this['randomizationFactor']()}),this['timeout'](null==_0x33e985['timeout']?0x4e20:_0x33e985['timeout']),this['_readyState']='closed',this['uri']=_0x43cd58;const _0x1b126d=_0x33e985['parser']||_0x2f8f4c;this['encoder']=new _0x1b126d['Encoder'](),this['decoder']=new _0x1b126d['Decoder'](),this['_autoConnect']=!0x1!==_0x33e985['autoConnect'],this['_autoConnect']&&this['open']();}['reconnection'](_0x5e4e24){return arguments['length']?(this['_reconnection']=!!_0x5e4e24,this):this['_reconnection'];}['reconnectionAttempts'](_0x912333){return void 0x0===_0x912333?this['_reconnectionAttempts']:(this['_reconnectionAttempts']=_0x912333,this);}['reconnectionDelay'](_0x2ac1a5){var _0x4f2ffa;return void 0x0===_0x2ac1a5?this['_reconnectionDelay']:(this['_reconnectionDelay']=_0x2ac1a5,null===(_0x4f2ffa=this['backoff'])||void 0x0===_0x4f2ffa||_0x4f2ffa['setMin'](_0x2ac1a5),this);}['randomizationFactor'](_0x1a2e6f){var _0x64d2fa;return void 0x0===_0x1a2e6f?this['_randomizationFactor']:(this['_randomizationFactor']=_0x1a2e6f,null===(_0x64d2fa=this['backoff'])||void 0x0===_0x64d2fa||_0x64d2fa['setJitter'](_0x1a2e6f),this);}['reconnectionDelayMax'](_0x46969){var _0x56f923;return void 0x0===_0x46969?this['_reconnectionDelayMax']:(this['_reconnectionDelayMax']=_0x46969,null===(_0x56f923=this['backoff'])||void 0x0===_0x56f923||_0x56f923['setMax'](_0x46969),this);}['timeout'](_0x2e0cde){return arguments['length']?(this['_timeout']=_0x2e0cde,this):this['_timeout'];}['maybeReconnectOnOpen'](){!this['_reconnecting']&&this['_reconnection']&&0x0===this['backoff']['attempts']&&this['reconnect']();}['open'](_0x314f5e){if(~this['_readyState']['indexOf']('open'))return this;this['engine']=new Socket$1(this['uri'],this['opts']);const _0x42210e=this['engine'],_0x5e1a84=this;this['_readyState']='opening',this['skipReconnect']=!0x1;const _0x14cb76=_0x3b3cd8(_0x42210e,'open',function(){_0x5e1a84['onopen'](),_0x314f5e&&_0x314f5e();}),_0x9dcdaa=_0x4b41ea=>{this['cleanup'](),this['_readyState']='closed',this['emitReserved']('error',_0x4b41ea),_0x314f5e?_0x314f5e(_0x4b41ea):this['maybeReconnectOnOpen']();},_0x5fd348=_0x3b3cd8(_0x42210e,'error',_0x9dcdaa);if(!0x1!==this['_timeout']){const _0x4e38b7=this['_timeout'],_0x1b9b75=this['setTimeoutFn'](()=>{_0x14cb76(),_0x9dcdaa(new Error('timeout')),_0x42210e['close']();},_0x4e38b7);this['opts']['autoUnref']&&_0x1b9b75['unref'](),this['subs']['push'](()=>{this['clearTimeoutFn'](_0x1b9b75);});}return this['subs']['push'](_0x14cb76),this['subs']['push'](_0x5fd348),this;}['connect'](_0x176b50){return this['open'](_0x176b50);}['onopen'](){this['cleanup'](),this['_readyState']='open',this['emitReserved']('open');const _0x23ccd2=this['engine'];this['subs']['push'](_0x3b3cd8(_0x23ccd2,'ping',this['onping']['bind'](this)),_0x3b3cd8(_0x23ccd2,'data',this['ondata']['bind'](this)),_0x3b3cd8(_0x23ccd2,'error',this['onerror']['bind'](this)),_0x3b3cd8(_0x23ccd2,'close',this['onclose']['bind'](this)),_0x3b3cd8(this['decoder'],'decoded',this['ondecoded']['bind'](this)));}['onping'](){this['emitReserved']('ping');}['ondata'](_0x1596ae){try{this['decoder']['add'](_0x1596ae);}catch(_0x5b293e){this['onclose']('parse\x20error',_0x5b293e);}}['ondecoded'](_0x3d7e3){nextTick(()=>{this['emitReserved']('packet',_0x3d7e3);},this['setTimeoutFn']);}['onerror'](_0x1c80cd){this['emitReserved']('error',_0x1c80cd);}['socket'](_0x1e37f7,_0x212991){let _0x1c603f=this['nsps'][_0x1e37f7];return _0x1c603f?this['_autoConnect']&&!_0x1c603f['active']&&_0x1c603f['connect']():(_0x1c603f=new Socket(this,_0x1e37f7,_0x212991),this['nsps'][_0x1e37f7]=_0x1c603f),_0x1c603f;}['_destroy'](_0x2a4854){const _0x1e24dd=Object['keys'](this['nsps']);for(const _0x1e55da of _0x1e24dd){if(this['nsps'][_0x1e55da]['active'])return;}this['_close']();}['_packet'](_0x2a0bf1){const _0x5c8ee3=this['encoder']['encode'](_0x2a0bf1);for(let _0x2a02e4=0x0;_0x2a02e4<_0x5c8ee3['length'];_0x2a02e4++)this['engine']['write'](_0x5c8ee3[_0x2a02e4],_0x2a0bf1['options']);}['cleanup'](){this['subs']['forEach'](_0x5284be=>_0x5284be()),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'](_0x3f868c,_0x207443){this['cleanup'](),this['backoff']['reset'](),this['_readyState']='closed',this['emitReserved']('close',_0x3f868c,_0x207443),this['_reconnection']&&!this['skipReconnect']&&this['reconnect']();}['reconnect'](){if(this['_reconnecting']||this['skipReconnect'])return this;const _0x17c39c=this;if(this['backoff']['attempts']>=this['_reconnectionAttempts'])this['backoff']['reset'](),this['emitReserved']('reconnect_failed'),this['_reconnecting']=!0x1;else{const _0x4d209c=this['backoff']['duration']();this['_reconnecting']=!0x0;const _0x3e1b6e=this['setTimeoutFn'](()=>{_0x17c39c['skipReconnect']||(this['emitReserved']('reconnect_attempt',_0x17c39c['backoff']['attempts']),_0x17c39c['skipReconnect']||_0x17c39c['open'](_0x358bb6=>{_0x358bb6?(_0x17c39c['_reconnecting']=!0x1,_0x17c39c['reconnect'](),this['emitReserved']('reconnect_error',_0x358bb6)):_0x17c39c['onreconnect']();}));},_0x4d209c);this['opts']['autoUnref']&&_0x3e1b6e['unref'](),this['subs']['push'](()=>{this['clearTimeoutFn'](_0x3e1b6e);});}}['onreconnect'](){const _0x139bcd=this['backoff']['attempts'];this['_reconnecting']=!0x1,this['backoff']['reset'](),this['emitReserved']('reconnect',_0x139bcd);}}const _0x163b7e={};function _0x197baa(_0x5c388e,_0x253fcf){'object'==typeof _0x5c388e&&(_0x253fcf=_0x5c388e,_0x5c388e=void 0x0);const _0x29e450=_0x533778(_0x5c388e,(_0x253fcf=_0x253fcf||{})['path']||'/socket.io'),_0x350531=_0x29e450['source'],_0x584afe=_0x29e450['id'],_0x2e36f6=_0x29e450['path'],_0x4a623f=_0x163b7e[_0x584afe]&&_0x2e36f6 in _0x163b7e[_0x584afe]['nsps'];let _0x4c8287;return _0x253fcf['forceNew']||_0x253fcf['force\x20new\x20connection']||!0x1===_0x253fcf['multiplex']||_0x4a623f?_0x4c8287=new _0x5aef10(_0x350531,_0x253fcf):(_0x163b7e[_0x584afe]||(_0x163b7e[_0x584afe]=new _0x5aef10(_0x350531,_0x253fcf)),_0x4c8287=_0x163b7e[_0x584afe]),_0x29e450['query']&&!_0x253fcf['query']&&(_0x253fcf['query']=_0x29e450['queryKey']),_0x4c8287['socket'](_0x29e450['path'],_0x253fcf);}var requiresPort,hasRequiredRequiresPort;function requireRequiresPort(){return hasRequiredRequiresPort||(hasRequiredRequiresPort=0x1,requiresPort=function(_0x31f805,_0x59899d){if(_0x59899d=_0x59899d['split'](':')[0x0],!(_0x31f805=+_0x31f805))return!0x1;switch(_0x59899d){case'http':case'ws':return 0x50!==_0x31f805;case'https':case'wss':return 0x1bb!==_0x31f805;case'ftp':return 0x15!==_0x31f805;case'gopher':return 0x46!==_0x31f805;case'file':return!0x1;}return 0x0!==_0x31f805;}),requiresPort;}Object['assign'](_0x197baa,{'Manager':_0x5aef10,'Socket':Socket,'io':_0x197baa,'connect':_0x197baa});var querystringify={},hasRequiredQuerystringify,_0x2c734b,_0x50727c;function requireQuerystringify(){if(hasRequiredQuerystringify)return querystringify;hasRequiredQuerystringify=0x1;var _0x138ea1=Object['prototype']['hasOwnProperty'];function _0x5ac515(_0x55645d){try{return decodeURIComponent(_0x55645d['replace'](/\+/g,'\x20'));}catch(_0x7422b6){return null;}}function _0x295b75(_0x1548e6){try{return encodeURIComponent(_0x1548e6);}catch(_0x562d18){return null;}}return querystringify['stringify']=function(_0x1ca3e9,_0x18f969){_0x18f969=_0x18f969||'';var _0xf0ccab,_0x3f4a53,_0x5f0172=[];for(_0x3f4a53 in('string'!=typeof _0x18f969&&(_0x18f969='?'),_0x1ca3e9))if(_0x138ea1['call'](_0x1ca3e9,_0x3f4a53)){if((_0xf0ccab=_0x1ca3e9[_0x3f4a53])||null!=_0xf0ccab&&!isNaN(_0xf0ccab)||(_0xf0ccab=''),_0x3f4a53=_0x295b75(_0x3f4a53),_0xf0ccab=_0x295b75(_0xf0ccab),null===_0x3f4a53||null===_0xf0ccab)continue;_0x5f0172['push'](_0x3f4a53+'='+_0xf0ccab);}return _0x5f0172['length']?_0x18f969+_0x5f0172['join']('&'):'';},querystringify['parse']=function(_0x39bcbb){for(var _0x239ba2,_0x23192f=/([^=?#&]+)=?([^&]*)/g,_0x5c1375={};_0x239ba2=_0x23192f['exec'](_0x39bcbb);){var _0xd1b7c8=_0x5ac515(_0x239ba2[0x1]),_0x27fa5b=_0x5ac515(_0x239ba2[0x2]);null===_0xd1b7c8||null===_0x27fa5b||_0xd1b7c8 in _0x5c1375||(_0x5c1375[_0xd1b7c8]=_0x27fa5b);}return _0x5c1375;},querystringify;}function requireUrlParse(){if(_0x50727c)return _0x2c734b;_0x50727c=0x1;var _0x1ac7f2=requireRequiresPort(),_0x55cfd8=requireQuerystringify(),_0x55183d=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,_0x4cd39b=/[\n\r\t]/g,_0x5d0af7=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,_0x38ffbf=/:\d+$/,_0x13facd=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,_0x35331c=/^[a-zA-Z]:/;function _0x414af4(_0x409183){return(_0x409183||'')['toString']()['replace'](_0x55183d,'');}var _0x1d589e=[['#','hash'],['?','query'],function(_0x2fb22f,_0x53927){return _0x298ffc(_0x53927['protocol'])?_0x2fb22f['replace'](/\\/g,'/'):_0x2fb22f;},['/','pathname'],['@','auth',0x1],[NaN,'host',void 0x0,0x1,0x1],[/:(\d*)$/,'port',void 0x0,0x1],[NaN,'hostname',void 0x0,0x1,0x1]],_0x51d4fa={'hash':0x1,'query':0x1};function _0x46cc63(_0x1dfe3d){var _0x5bd455,_0x5c5ba4=('undefined'!=typeof window?window:void 0x0!==_0x54d32b?_0x54d32b:'undefined'!=typeof self?self:{})['location']||{},_0x36bb07={},_0x50b225=typeof(_0x1dfe3d=_0x1dfe3d||_0x5c5ba4);if('blob:'===_0x1dfe3d['protocol'])_0x36bb07=new _0x292821(unescape(_0x1dfe3d['pathname']),{});else{if('string'===_0x50b225){for(_0x5bd455 in(_0x36bb07=new _0x292821(_0x1dfe3d,{}),_0x51d4fa))delete _0x36bb07[_0x5bd455];}else{if('object'===_0x50b225){for(_0x5bd455 in _0x1dfe3d)_0x5bd455 in _0x51d4fa||(_0x36bb07[_0x5bd455]=_0x1dfe3d[_0x5bd455]);void 0x0===_0x36bb07['slashes']&&(_0x36bb07['slashes']=_0x5d0af7['test'](_0x1dfe3d['href']));}}}return _0x36bb07;}function _0x298ffc(_0x11ac0f){return'file:'===_0x11ac0f||'ftp:'===_0x11ac0f||'http:'===_0x11ac0f||'https:'===_0x11ac0f||'ws:'===_0x11ac0f||'wss:'===_0x11ac0f;}function _0x52ac1a(_0x501e2e,_0x4d1cfd){_0x501e2e=(_0x501e2e=_0x414af4(_0x501e2e))['replace'](_0x4cd39b,''),_0x4d1cfd=_0x4d1cfd||{};var _0x2bd8a2,_0x2fe843=_0x13facd['exec'](_0x501e2e),_0x1ff0b7=_0x2fe843[0x1]?_0x2fe843[0x1]['toLowerCase']():'',_0x818be8=!!_0x2fe843[0x2],_0x12b0c2=!!_0x2fe843[0x3],_0xdbb68d=0x0;return _0x818be8?_0x12b0c2?(_0x2bd8a2=_0x2fe843[0x2]+_0x2fe843[0x3]+_0x2fe843[0x4],_0xdbb68d=_0x2fe843[0x2]['length']+_0x2fe843[0x3]['length']):(_0x2bd8a2=_0x2fe843[0x2]+_0x2fe843[0x4],_0xdbb68d=_0x2fe843[0x2]['length']):_0x12b0c2?(_0x2bd8a2=_0x2fe843[0x3]+_0x2fe843[0x4],_0xdbb68d=_0x2fe843[0x3]['length']):_0x2bd8a2=_0x2fe843[0x4],'file:'===_0x1ff0b7?_0xdbb68d>=0x2&&(_0x2bd8a2=_0x2bd8a2['slice'](0x2)):_0x298ffc(_0x1ff0b7)?_0x2bd8a2=_0x2fe843[0x4]:_0x1ff0b7?_0x818be8&&(_0x2bd8a2=_0x2bd8a2['slice'](0x2)):_0xdbb68d>=0x2&&_0x298ffc(_0x4d1cfd['protocol'])&&(_0x2bd8a2=_0x2fe843[0x4]),{'protocol':_0x1ff0b7,'slashes':_0x818be8||_0x298ffc(_0x1ff0b7),'slashesCount':_0xdbb68d,'rest':_0x2bd8a2};}function _0x292821(_0x49e107,_0x244df8,_0x5e5b0b){if(_0x49e107=(_0x49e107=_0x414af4(_0x49e107))['replace'](_0x4cd39b,''),!(this instanceof _0x292821))return new _0x292821(_0x49e107,_0x244df8,_0x5e5b0b);var _0x2ecce9,_0x4f9f02,_0x65e97e,_0x394188,_0x2d39d8,_0x63cd6e,_0x3da784=_0x1d589e['slice'](),_0x39bbf3=typeof _0x244df8,_0x4725b5=this,_0x471fcb=0x0;for('object'!==_0x39bbf3&&'string'!==_0x39bbf3&&(_0x5e5b0b=_0x244df8,_0x244df8=null),_0x5e5b0b&&'function'!=typeof _0x5e5b0b&&(_0x5e5b0b=_0x55cfd8['parse']),_0x2ecce9=!(_0x4f9f02=_0x52ac1a(_0x49e107||'',_0x244df8=_0x46cc63(_0x244df8)))['protocol']&&!_0x4f9f02['slashes'],_0x4725b5['slashes']=_0x4f9f02['slashes']||_0x2ecce9&&_0x244df8['slashes'],_0x4725b5['protocol']=_0x4f9f02['protocol']||_0x244df8['protocol']||'',_0x49e107=_0x4f9f02['rest'],('file:'===_0x4f9f02['protocol']&&(0x2!==_0x4f9f02['slashesCount']||_0x35331c['test'](_0x49e107))||!_0x4f9f02['slashes']&&(_0x4f9f02['protocol']||_0x4f9f02['slashesCount']<0x2||!_0x298ffc(_0x4725b5['protocol'])))&&(_0x3da784[0x3]=[/(.*)/,'pathname']);_0x471fcb<_0x3da784['length'];_0x471fcb++)'function'!=typeof(_0x394188=_0x3da784[_0x471fcb])?(_0x65e97e=_0x394188[0x0],_0x63cd6e=_0x394188[0x1],_0x65e97e!=_0x65e97e?_0x4725b5[_0x63cd6e]=_0x49e107:'string'==typeof _0x65e97e?~(_0x2d39d8='@'===_0x65e97e?_0x49e107['lastIndexOf'](_0x65e97e):_0x49e107['indexOf'](_0x65e97e))&&('number'==typeof _0x394188[0x2]?(_0x4725b5[_0x63cd6e]=_0x49e107['slice'](0x0,_0x2d39d8),_0x49e107=_0x49e107['slice'](_0x2d39d8+_0x394188[0x2])):(_0x4725b5[_0x63cd6e]=_0x49e107['slice'](_0x2d39d8),_0x49e107=_0x49e107['slice'](0x0,_0x2d39d8))):(_0x2d39d8=_0x65e97e['exec'](_0x49e107))&&(_0x4725b5[_0x63cd6e]=_0x2d39d8[0x1],_0x49e107=_0x49e107['slice'](0x0,_0x2d39d8['index'])),_0x4725b5[_0x63cd6e]=_0x4725b5[_0x63cd6e]||_0x2ecce9&&_0x394188[0x3]&&_0x244df8[_0x63cd6e]||'',_0x394188[0x4]&&(_0x4725b5[_0x63cd6e]=_0x4725b5[_0x63cd6e]['toLowerCase']())):_0x49e107=_0x394188(_0x49e107,_0x4725b5);_0x5e5b0b&&(_0x4725b5['query']=_0x5e5b0b(_0x4725b5['query'])),_0x2ecce9&&_0x244df8['slashes']&&'/'!==_0x4725b5['pathname']['charAt'](0x0)&&(''!==_0x4725b5['pathname']||''!==_0x244df8['pathname'])&&(_0x4725b5['pathname']=function(_0x38a1ea,_0x46da82){if(''===_0x38a1ea)return _0x46da82;for(var _0x54b3b3=(_0x46da82||'/')['split']('/')['slice'](0x0,-0x1)['concat'](_0x38a1ea['split']('/')),_0x134719=_0x54b3b3['length'],_0x9f2347=_0x54b3b3[_0x134719-0x1],_0x56374f=!0x1,_0x51cf3f=0x0;_0x134719--;)'.'===_0x54b3b3[_0x134719]?_0x54b3b3['splice'](_0x134719,0x1):'..'===_0x54b3b3[_0x134719]?(_0x54b3b3['splice'](_0x134719,0x1),_0x51cf3f++):_0x51cf3f&&(0x0===_0x134719&&(_0x56374f=!0x0),_0x54b3b3['splice'](_0x134719,0x1),_0x51cf3f--);return _0x56374f&&_0x54b3b3['unshift'](''),'.'!==_0x9f2347&&'..'!==_0x9f2347||_0x54b3b3['push'](''),_0x54b3b3['join']('/');}(_0x4725b5['pathname'],_0x244df8['pathname'])),'/'!==_0x4725b5['pathname']['charAt'](0x0)&&_0x298ffc(_0x4725b5['protocol'])&&(_0x4725b5['pathname']='/'+_0x4725b5['pathname']),_0x1ac7f2(_0x4725b5['port'],_0x4725b5['protocol'])||(_0x4725b5['host']=_0x4725b5['hostname'],_0x4725b5['port']=''),_0x4725b5['username']=_0x4725b5['password']='',_0x4725b5['auth']&&(~(_0x2d39d8=_0x4725b5['auth']['indexOf'](':'))?(_0x4725b5['username']=_0x4725b5['auth']['slice'](0x0,_0x2d39d8),_0x4725b5['username']=encodeURIComponent(decodeURIComponent(_0x4725b5['username'])),_0x4725b5['password']=_0x4725b5['auth']['slice'](_0x2d39d8+0x1),_0x4725b5['password']=encodeURIComponent(decodeURIComponent(_0x4725b5['password']))):_0x4725b5['username']=encodeURIComponent(decodeURIComponent(_0x4725b5['auth'])),_0x4725b5['auth']=_0x4725b5['password']?_0x4725b5['username']+':'+_0x4725b5['password']:_0x4725b5['username']),_0x4725b5['origin']='file:'!==_0x4725b5['protocol']&&_0x298ffc(_0x4725b5['protocol'])&&_0x4725b5['host']?_0x4725b5['protocol']+'//'+_0x4725b5['host']:'null',_0x4725b5['href']=_0x4725b5['toString']();}return _0x292821['prototype']={'set':function(_0x38a70a,_0xc9d3c7,_0x4dbb63){var _0x41e31a=this;switch(_0x38a70a){case'query':'string'==typeof _0xc9d3c7&&_0xc9d3c7['length']&&(_0xc9d3c7=(_0x4dbb63||_0x55cfd8['parse'])(_0xc9d3c7)),_0x41e31a[_0x38a70a]=_0xc9d3c7;break;case'port':_0x41e31a[_0x38a70a]=_0xc9d3c7,_0x1ac7f2(_0xc9d3c7,_0x41e31a['protocol'])?_0xc9d3c7&&(_0x41e31a['host']=_0x41e31a['hostname']+':'+_0xc9d3c7):(_0x41e31a['host']=_0x41e31a['hostname'],_0x41e31a[_0x38a70a]='');break;case'hostname':_0x41e31a[_0x38a70a]=_0xc9d3c7,_0x41e31a['port']&&(_0xc9d3c7+=':'+_0x41e31a['port']),_0x41e31a['host']=_0xc9d3c7;break;case'host':_0x41e31a[_0x38a70a]=_0xc9d3c7,_0x38ffbf['test'](_0xc9d3c7)?(_0xc9d3c7=_0xc9d3c7['split'](':'),_0x41e31a['port']=_0xc9d3c7['pop'](),_0x41e31a['hostname']=_0xc9d3c7['join'](':')):(_0x41e31a['hostname']=_0xc9d3c7,_0x41e31a['port']='');break;case'protocol':_0x41e31a['protocol']=_0xc9d3c7['toLowerCase'](),_0x41e31a['slashes']=!_0x4dbb63;break;case'pathname':case'hash':if(_0xc9d3c7){var _0x5abfe2='pathname'===_0x38a70a?'/':'#';_0x41e31a[_0x38a70a]=_0xc9d3c7['charAt'](0x0)!==_0x5abfe2?_0x5abfe2+_0xc9d3c7:_0xc9d3c7;}else _0x41e31a[_0x38a70a]=_0xc9d3c7;break;case'username':case'password':_0x41e31a[_0x38a70a]=encodeURIComponent(_0xc9d3c7);break;case'auth':var _0x21c700=_0xc9d3c7['indexOf'](':');~_0x21c700?(_0x41e31a['username']=_0xc9d3c7['slice'](0x0,_0x21c700),_0x41e31a['username']=encodeURIComponent(decodeURIComponent(_0x41e31a['username'])),_0x41e31a['password']=_0xc9d3c7['slice'](_0x21c700+0x1),_0x41e31a['password']=encodeURIComponent(decodeURIComponent(_0x41e31a['password']))):_0x41e31a['username']=encodeURIComponent(decodeURIComponent(_0xc9d3c7));}for(var _0x308245=0x0;_0x308245<_0x1d589e['length'];_0x308245++){var _0x4e92c9=_0x1d589e[_0x308245];_0x4e92c9[0x4]&&(_0x41e31a[_0x4e92c9[0x1]]=_0x41e31a[_0x4e92c9[0x1]]['toLowerCase']());}return _0x41e31a['auth']=_0x41e31a['password']?_0x41e31a['username']+':'+_0x41e31a['password']:_0x41e31a['username'],_0x41e31a['origin']='file:'!==_0x41e31a['protocol']&&_0x298ffc(_0x41e31a['protocol'])&&_0x41e31a['host']?_0x41e31a['protocol']+'//'+_0x41e31a['host']:'null',_0x41e31a['href']=_0x41e31a['toString'](),_0x41e31a;},'toString':function(_0x36e2b8){_0x36e2b8&&'function'==typeof _0x36e2b8||(_0x36e2b8=_0x55cfd8['stringify']);var _0x1eae1a,_0x27ea0f=this,_0x1757be=_0x27ea0f['host'],_0x46b4ea=_0x27ea0f['protocol'];_0x46b4ea&&':'!==_0x46b4ea['charAt'](_0x46b4ea['length']-0x1)&&(_0x46b4ea+=':');var _0x340596=_0x46b4ea+(_0x27ea0f['protocol']&&_0x27ea0f['slashes']||_0x298ffc(_0x27ea0f['protocol'])?'//':'');return _0x27ea0f['username']?(_0x340596+=_0x27ea0f['username'],_0x27ea0f['password']&&(_0x340596+=':'+_0x27ea0f['password']),_0x340596+='@'):_0x27ea0f['password']?(_0x340596+=':'+_0x27ea0f['password'],_0x340596+='@'):'file:'!==_0x27ea0f['protocol']&&_0x298ffc(_0x27ea0f['protocol'])&&!_0x1757be&&'/'!==_0x27ea0f['pathname']&&(_0x340596+='@'),(':'===_0x1757be[_0x1757be['length']-0x1]||_0x38ffbf['test'](_0x27ea0f['hostname'])&&!_0x27ea0f['port'])&&(_0x1757be+=':'),_0x340596+=_0x1757be+_0x27ea0f['pathname'],(_0x1eae1a='object'==typeof _0x27ea0f['query']?_0x36e2b8(_0x27ea0f['query']):_0x27ea0f['query'])&&(_0x340596+='?'!==_0x1eae1a['charAt'](0x0)?'?'+_0x1eae1a:_0x1eae1a),_0x27ea0f['hash']&&(_0x340596+=_0x27ea0f['hash']),_0x340596;}},_0x292821['extractProtocol']=_0x52ac1a,_0x292821['location']=_0x46cc63,_0x292821['trimLeft']=_0x414af4,_0x292821['qs']=_0x55cfd8,_0x2c734b=_0x292821;}var urlParseExports=requireUrlParse();const byteToHex=[];for(let _0x562a76=0x0;_0x562a76<0x100;++_0x562a76)byteToHex['push']((_0x562a76+0x100)['toString'](0x10)['slice'](0x1));function unsafeStringify(_0xb3356d,_0x35be78=0x0){return(byteToHex[_0xb3356d[_0x35be78+0x0]]+byteToHex[_0xb3356d[_0x35be78+0x1]]+byteToHex[_0xb3356d[_0x35be78+0x2]]+byteToHex[_0xb3356d[_0x35be78+0x3]]+'-'+byteToHex[_0xb3356d[_0x35be78+0x4]]+byteToHex[_0xb3356d[_0x35be78+0x5]]+'-'+byteToHex[_0xb3356d[_0x35be78+0x6]]+byteToHex[_0xb3356d[_0x35be78+0x7]]+'-'+byteToHex[_0xb3356d[_0x35be78+0x8]]+byteToHex[_0xb3356d[_0x35be78+0x9]]+'-'+byteToHex[_0xb3356d[_0x35be78+0xa]]+byteToHex[_0xb3356d[_0x35be78+0xb]]+byteToHex[_0xb3356d[_0x35be78+0xc]]+byteToHex[_0xb3356d[_0x35be78+0xd]]+byteToHex[_0xb3356d[_0x35be78+0xe]]+byteToHex[_0xb3356d[_0x35be78+0xf]])['toLowerCase']();}const _0x405415=new Uint8Array(0x10);function _0x41a912(){return crypto['getRandomValues'](_0x405415);}function _0x3068d1(_0x24f99e,_0x3f79a1,_0x15fc3e){return crypto['randomUUID']?crypto['randomUUID']():_0x217216(_0x24f99e);}function _0x217216(_0x1e01d0,_0x28c75e,_0x9c868e){const _0x1a3231=(_0x1e01d0=_0x1e01d0||{})['random']??_0x1e01d0['rng']?.()??_0x41a912();if(_0x1a3231['length']<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x1a3231[0x6]=0xf&_0x1a3231[0x6]|0x40,_0x1a3231[0x8]=0x3f&_0x1a3231[0x8]|0x80,unsafeStringify(_0x1a3231);}class Descriptor{static ['DESCRIPTOR_NAME'];static ['DESCRIPTOR'];constructor(..._0x579168){}}class _0x512bbb extends Descriptor{static ['TYPE']='1000';static ['READABLE_TYPE_NAME'];constructor(..._0x32aaed){super();}static['fromJSON'](_0x439284){throw new TypeError('Must\x20be\x20implemented\x20in\x20a\x20child\x20class!');}}class GetUserMessage extends _0x512bbb{['id'];static ['TYPE']='21';static ['READABLE_TYPE_NAME']='getUser';static ['DESCRIPTOR_NAME']='GetUserMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1}}};constructor(_0xd16cf8){super(),this['id']=_0xd16cf8;}['toJSON'](){return{'id':this['id']};}static['fromJSON'](_0x54909e){return new GetUserMessage(_0x54909e['id']);}}class GetUserResponse extends _0x512bbb{['attributes'];static ['DESCRIPTOR_NAME']='GetUserResponse';static ['DESCRIPTOR']={'fields':{'attributes':{'rule':'repeated','type':'KeyValueDescriptor','id':0x1}}};constructor(_0x1d08e1){super(),this['attributes']=_0x1d08e1;}['toJSON'](){return{'attributes':Object['keys'](this['attributes'])['map'](_0x221649=>({'key':_0x221649,'value':JSON['stringify'](this['attributes'][_0x221649])}))};}static['fromJSON'](_0x50fe99){const _0x5e99ba=_0x50fe99['attributes']['reduce']((_0x19a4f8,_0x44fb90)=>(_0x19a4f8[_0x44fb90['key']]=_0x44fb90['value']?JSON['parse'](_0x44fb90['value']):null,_0x19a4f8),{});return new GetUserResponse(_0x5e99ba);}}const _0x16fa96=/* #__PURE__ -- @preserve */
((()=>{var _0x223583=minimalExports['Reader'],_0x500b66=minimalExports['Writer'],_0x420af4=minimalExports['util'],_0x5e5fd8=minimalExports['roots']['default']||(minimalExports['roots']['default']={});return _0x5e5fd8['StringStringPacketDataMessage']=(function(){function _0x38031f(_0xa3f12){if(_0xa3f12){for(var _0x165977=Object['keys'](_0xa3f12),_0x396a83=0x0;_0x396a83<_0x165977['length'];++_0x396a83)null!=_0xa3f12[_0x165977[_0x396a83]]&&(this[_0x165977[_0x396a83]]=_0xa3f12[_0x165977[_0x396a83]]);}}return _0x38031f['prototype']['data']='',_0x38031f['prototype']['data1']='',_0x38031f['create']=function(_0x2739b2){return new _0x38031f(_0x2739b2);},_0x38031f['encode']=function(_0x5f33a5,_0x109959){return _0x109959||(_0x109959=_0x500b66['create']()),null!=_0x5f33a5['data']&&Object['hasOwnProperty']['call'](_0x5f33a5,'data')&&_0x109959['uint32'](0xa)['string'](_0x5f33a5['data']),null!=_0x5f33a5['data1']&&Object['hasOwnProperty']['call'](_0x5f33a5,'data1')&&_0x109959['uint32'](0x12)['string'](_0x5f33a5['data1']),_0x109959;},_0x38031f['encodeDelimited']=function(_0x5dc4ab,_0x404780){return this['encode'](_0x5dc4ab,_0x404780)['ldelim']();},_0x38031f['decode']=function(_0x46db69,_0x499883,_0x52eb1e){_0x46db69 instanceof _0x223583||(_0x46db69=_0x223583['create'](_0x46db69));for(var _0x6bf746=void 0x0===_0x499883?_0x46db69['len']:_0x46db69['pos']+_0x499883,_0x3e0604=new _0x5e5fd8['StringStringPacketDataMessage']();_0x46db69['pos']<_0x6bf746;){var _0x470667=_0x46db69['uint32']();if(_0x470667===_0x52eb1e)break;switch(_0x470667>>>0x3){case 0x1:_0x3e0604['data']=_0x46db69['string']();break;case 0x2:_0x3e0604['data1']=_0x46db69['string']();break;default:_0x46db69['skipType'](0x7&_0x470667);}}return _0x3e0604;},_0x38031f['decodeDelimited']=function(_0x5c7787){return _0x5c7787 instanceof _0x223583||(_0x5c7787=new _0x223583(_0x5c7787)),this['decode'](_0x5c7787,_0x5c7787['uint32']());},_0x38031f['verify']=function(_0x10ed28){return'object'!=typeof _0x10ed28||null===_0x10ed28?'object\x20expected':null!=_0x10ed28['data']&&_0x10ed28['hasOwnProperty']('data')&&!_0x420af4['isString'](_0x10ed28['data'])?'data:\x20string\x20expected':null!=_0x10ed28['data1']&&_0x10ed28['hasOwnProperty']('data1')&&!_0x420af4['isString'](_0x10ed28['data1'])?'data1:\x20string\x20expected':null;},_0x38031f['fromObject']=function(_0x3e2bae){if(_0x3e2bae instanceof _0x5e5fd8['StringStringPacketDataMessage'])return _0x3e2bae;var _0x2b8029=new _0x5e5fd8['StringStringPacketDataMessage']();return null!=_0x3e2bae['data']&&(_0x2b8029['data']=String(_0x3e2bae['data'])),null!=_0x3e2bae['data1']&&(_0x2b8029['data1']=String(_0x3e2bae['data1'])),_0x2b8029;},_0x38031f['toObject']=function(_0x1f3142,_0x3e4372){_0x3e4372||(_0x3e4372={});var _0x336b0d={};return _0x3e4372['defaults']&&(_0x336b0d['data']='',_0x336b0d['data1']=''),null!=_0x1f3142['data']&&_0x1f3142['hasOwnProperty']('data')&&(_0x336b0d['data']=_0x1f3142['data']),null!=_0x1f3142['data1']&&_0x1f3142['hasOwnProperty']('data1')&&(_0x336b0d['data1']=_0x1f3142['data1']),_0x336b0d;},_0x38031f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x38031f['getTypeUrl']=function(_0x193c55){return void 0x0===_0x193c55&&(_0x193c55='type.googleapis.com'),_0x193c55+'/StringStringPacketDataMessage';},_0x38031f;}()),_0x5e5fd8['StringObjectPacketDataMessage']=(function(){function _0x360204(_0x2f81e){if(_0x2f81e){for(var _0x5c3e77=Object['keys'](_0x2f81e),_0x2542d2=0x0;_0x2542d2<_0x5c3e77['length'];++_0x2542d2)null!=_0x2f81e[_0x5c3e77[_0x2542d2]]&&(this[_0x5c3e77[_0x2542d2]]=_0x2f81e[_0x5c3e77[_0x2542d2]]);}}return _0x360204['prototype']['data']='',_0x360204['prototype']['data1']='',_0x360204['create']=function(_0x649b30){return new _0x360204(_0x649b30);},_0x360204['encode']=function(_0x49f678,_0x4639fb){return _0x4639fb||(_0x4639fb=_0x500b66['create']()),null!=_0x49f678['data']&&Object['hasOwnProperty']['call'](_0x49f678,'data')&&_0x4639fb['uint32'](0xa)['string'](_0x49f678['data']),null!=_0x49f678['data1']&&Object['hasOwnProperty']['call'](_0x49f678,'data1')&&_0x4639fb['uint32'](0x12)['string'](_0x49f678['data1']),_0x4639fb;},_0x360204['encodeDelimited']=function(_0x2e862f,_0x58276e){return this['encode'](_0x2e862f,_0x58276e)['ldelim']();},_0x360204['decode']=function(_0xb13211,_0x1a23a5,_0x2a6b3f){_0xb13211 instanceof _0x223583||(_0xb13211=_0x223583['create'](_0xb13211));for(var _0x5b7a2c=void 0x0===_0x1a23a5?_0xb13211['len']:_0xb13211['pos']+_0x1a23a5,_0x1c023f=new _0x5e5fd8['StringObjectPacketDataMessage']();_0xb13211['pos']<_0x5b7a2c;){var _0x247787=_0xb13211['uint32']();if(_0x247787===_0x2a6b3f)break;switch(_0x247787>>>0x3){case 0x1:_0x1c023f['data']=_0xb13211['string']();break;case 0x2:_0x1c023f['data1']=_0xb13211['string']();break;default:_0xb13211['skipType'](0x7&_0x247787);}}return _0x1c023f;},_0x360204['decodeDelimited']=function(_0x31e294){return _0x31e294 instanceof _0x223583||(_0x31e294=new _0x223583(_0x31e294)),this['decode'](_0x31e294,_0x31e294['uint32']());},_0x360204['verify']=function(_0x3eabc0){return'object'!=typeof _0x3eabc0||null===_0x3eabc0?'object\x20expected':null!=_0x3eabc0['data']&&_0x3eabc0['hasOwnProperty']('data')&&!_0x420af4['isString'](_0x3eabc0['data'])?'data:\x20string\x20expected':null!=_0x3eabc0['data1']&&_0x3eabc0['hasOwnProperty']('data1')&&!_0x420af4['isString'](_0x3eabc0['data1'])?'data1:\x20string\x20expected':null;},_0x360204['fromObject']=function(_0x539db9){if(_0x539db9 instanceof _0x5e5fd8['StringObjectPacketDataMessage'])return _0x539db9;var _0x52b8bb=new _0x5e5fd8['StringObjectPacketDataMessage']();return null!=_0x539db9['data']&&(_0x52b8bb['data']=String(_0x539db9['data'])),null!=_0x539db9['data1']&&(_0x52b8bb['data1']=String(_0x539db9['data1'])),_0x52b8bb;},_0x360204['toObject']=function(_0x1308a8,_0x2764b7){_0x2764b7||(_0x2764b7={});var _0x284aae={};return _0x2764b7['defaults']&&(_0x284aae['data']='',_0x284aae['data1']=''),null!=_0x1308a8['data']&&_0x1308a8['hasOwnProperty']('data')&&(_0x284aae['data']=_0x1308a8['data']),null!=_0x1308a8['data1']&&_0x1308a8['hasOwnProperty']('data1')&&(_0x284aae['data1']=_0x1308a8['data1']),_0x284aae;},_0x360204['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x360204['getTypeUrl']=function(_0x5f54ca){return void 0x0===_0x5f54ca&&(_0x5f54ca='type.googleapis.com'),_0x5f54ca+'/StringObjectPacketDataMessage';},_0x360204;}()),_0x5e5fd8['StringNumberPacketDataMessage']=(function(){function _0x29bd7c(_0x2ccb97){if(_0x2ccb97){for(var _0xdefdaf=Object['keys'](_0x2ccb97),_0x191d70=0x0;_0x191d70<_0xdefdaf['length'];++_0x191d70)null!=_0x2ccb97[_0xdefdaf[_0x191d70]]&&(this[_0xdefdaf[_0x191d70]]=_0x2ccb97[_0xdefdaf[_0x191d70]]);}}return _0x29bd7c['prototype']['data']='',_0x29bd7c['prototype']['data1']=0x0,_0x29bd7c['create']=function(_0x17f884){return new _0x29bd7c(_0x17f884);},_0x29bd7c['encode']=function(_0x51bbd6,_0x1275fe){return _0x1275fe||(_0x1275fe=_0x500b66['create']()),null!=_0x51bbd6['data']&&Object['hasOwnProperty']['call'](_0x51bbd6,'data')&&_0x1275fe['uint32'](0xa)['string'](_0x51bbd6['data']),null!=_0x51bbd6['data1']&&Object['hasOwnProperty']['call'](_0x51bbd6,'data1')&&_0x1275fe['uint32'](0x10)['uint32'](_0x51bbd6['data1']),_0x1275fe;},_0x29bd7c['encodeDelimited']=function(_0x39a9e3,_0x1804e1){return this['encode'](_0x39a9e3,_0x1804e1)['ldelim']();},_0x29bd7c['decode']=function(_0x3f1eda,_0x287629,_0x107516){_0x3f1eda instanceof _0x223583||(_0x3f1eda=_0x223583['create'](_0x3f1eda));for(var _0x28b5ad=void 0x0===_0x287629?_0x3f1eda['len']:_0x3f1eda['pos']+_0x287629,_0x5bf4df=new _0x5e5fd8['StringNumberPacketDataMessage']();_0x3f1eda['pos']<_0x28b5ad;){var _0x2f9f3e=_0x3f1eda['uint32']();if(_0x2f9f3e===_0x107516)break;switch(_0x2f9f3e>>>0x3){case 0x1:_0x5bf4df['data']=_0x3f1eda['string']();break;case 0x2:_0x5bf4df['data1']=_0x3f1eda['uint32']();break;default:_0x3f1eda['skipType'](0x7&_0x2f9f3e);}}return _0x5bf4df;},_0x29bd7c['decodeDelimited']=function(_0x513f01){return _0x513f01 instanceof _0x223583||(_0x513f01=new _0x223583(_0x513f01)),this['decode'](_0x513f01,_0x513f01['uint32']());},_0x29bd7c['verify']=function(_0x3cdbb1){return'object'!=typeof _0x3cdbb1||null===_0x3cdbb1?'object\x20expected':null!=_0x3cdbb1['data']&&_0x3cdbb1['hasOwnProperty']('data')&&!_0x420af4['isString'](_0x3cdbb1['data'])?'data:\x20string\x20expected':null!=_0x3cdbb1['data1']&&_0x3cdbb1['hasOwnProperty']('data1')&&!_0x420af4['isInteger'](_0x3cdbb1['data1'])?'data1:\x20integer\x20expected':null;},_0x29bd7c['fromObject']=function(_0x46107f){if(_0x46107f instanceof _0x5e5fd8['StringNumberPacketDataMessage'])return _0x46107f;var _0x3b771d=new _0x5e5fd8['StringNumberPacketDataMessage']();return null!=_0x46107f['data']&&(_0x3b771d['data']=String(_0x46107f['data'])),null!=_0x46107f['data1']&&(_0x3b771d['data1']=_0x46107f['data1']>>>0x0),_0x3b771d;},_0x29bd7c['toObject']=function(_0x2604ac,_0x541284){_0x541284||(_0x541284={});var _0x464275={};return _0x541284['defaults']&&(_0x464275['data']='',_0x464275['data1']=0x0),null!=_0x2604ac['data']&&_0x2604ac['hasOwnProperty']('data')&&(_0x464275['data']=_0x2604ac['data']),null!=_0x2604ac['data1']&&_0x2604ac['hasOwnProperty']('data1')&&(_0x464275['data1']=_0x2604ac['data1']),_0x464275;},_0x29bd7c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x29bd7c['getTypeUrl']=function(_0x132574){return void 0x0===_0x132574&&(_0x132574='type.googleapis.com'),_0x132574+'/StringNumberPacketDataMessage';},_0x29bd7c;}()),_0x5e5fd8['StringBytesPacketDataMessage']=(function(){function _0x1ef703(_0x432c16){if(_0x432c16){for(var _0x53dabb=Object['keys'](_0x432c16),_0x1c1d8a=0x0;_0x1c1d8a<_0x53dabb['length'];++_0x1c1d8a)null!=_0x432c16[_0x53dabb[_0x1c1d8a]]&&(this[_0x53dabb[_0x1c1d8a]]=_0x432c16[_0x53dabb[_0x1c1d8a]]);}}return _0x1ef703['prototype']['data']='',_0x1ef703['prototype']['data1']=_0x420af4['newBuffer']([]),_0x1ef703['create']=function(_0x419844){return new _0x1ef703(_0x419844);},_0x1ef703['encode']=function(_0x554771,_0x141e94){return _0x141e94||(_0x141e94=_0x500b66['create']()),null!=_0x554771['data']&&Object['hasOwnProperty']['call'](_0x554771,'data')&&_0x141e94['uint32'](0xa)['string'](_0x554771['data']),null!=_0x554771['data1']&&Object['hasOwnProperty']['call'](_0x554771,'data1')&&_0x141e94['uint32'](0x12)['bytes'](_0x554771['data1']),_0x141e94;},_0x1ef703['encodeDelimited']=function(_0x5376fb,_0x466e7a){return this['encode'](_0x5376fb,_0x466e7a)['ldelim']();},_0x1ef703['decode']=function(_0x3a0eb4,_0x4d400e,_0x29a8af){_0x3a0eb4 instanceof _0x223583||(_0x3a0eb4=_0x223583['create'](_0x3a0eb4));for(var _0x2e2194=void 0x0===_0x4d400e?_0x3a0eb4['len']:_0x3a0eb4['pos']+_0x4d400e,_0x3f2a89=new _0x5e5fd8['StringBytesPacketDataMessage']();_0x3a0eb4['pos']<_0x2e2194;){var _0x30bddb=_0x3a0eb4['uint32']();if(_0x30bddb===_0x29a8af)break;switch(_0x30bddb>>>0x3){case 0x1:_0x3f2a89['data']=_0x3a0eb4['string']();break;case 0x2:_0x3f2a89['data1']=_0x3a0eb4['bytes']();break;default:_0x3a0eb4['skipType'](0x7&_0x30bddb);}}return _0x3f2a89;},_0x1ef703['decodeDelimited']=function(_0x1bd6d9){return _0x1bd6d9 instanceof _0x223583||(_0x1bd6d9=new _0x223583(_0x1bd6d9)),this['decode'](_0x1bd6d9,_0x1bd6d9['uint32']());},_0x1ef703['verify']=function(_0x4781bf){return'object'!=typeof _0x4781bf||null===_0x4781bf?'object\x20expected':null!=_0x4781bf['data']&&_0x4781bf['hasOwnProperty']('data')&&!_0x420af4['isString'](_0x4781bf['data'])?'data:\x20string\x20expected':null!=_0x4781bf['data1']&&_0x4781bf['hasOwnProperty']('data1')&&!(_0x4781bf['data1']&&'number'==typeof _0x4781bf['data1']['length']||_0x420af4['isString'](_0x4781bf['data1']))?'data1:\x20buffer\x20expected':null;},_0x1ef703['fromObject']=function(_0x13a6a3){if(_0x13a6a3 instanceof _0x5e5fd8['StringBytesPacketDataMessage'])return _0x13a6a3;var _0x57a6bd=new _0x5e5fd8['StringBytesPacketDataMessage']();return null!=_0x13a6a3['data']&&(_0x57a6bd['data']=String(_0x13a6a3['data'])),null!=_0x13a6a3['data1']&&('string'==typeof _0x13a6a3['data1']?_0x420af4['base64']['decode'](_0x13a6a3['data1'],_0x57a6bd['data1']=_0x420af4['newBuffer'](_0x420af4['base64']['length'](_0x13a6a3['data1'])),0x0):_0x13a6a3['data1']['length']>=0x0&&(_0x57a6bd['data1']=_0x13a6a3['data1'])),_0x57a6bd;},_0x1ef703['toObject']=function(_0xec5dff,_0x4e405c){_0x4e405c||(_0x4e405c={});var _0x13b9b9={};return _0x4e405c['defaults']&&(_0x13b9b9['data']='',_0x4e405c['bytes']===String?_0x13b9b9['data1']='':(_0x13b9b9['data1']=[],_0x4e405c['bytes']!==Array&&(_0x13b9b9['data1']=_0x420af4['newBuffer'](_0x13b9b9['data1'])))),null!=_0xec5dff['data']&&_0xec5dff['hasOwnProperty']('data')&&(_0x13b9b9['data']=_0xec5dff['data']),null!=_0xec5dff['data1']&&_0xec5dff['hasOwnProperty']('data1')&&(_0x13b9b9['data1']=_0x4e405c['bytes']===String?_0x420af4['base64']['encode'](_0xec5dff['data1'],0x0,_0xec5dff['data1']['length']):_0x4e405c['bytes']===Array?Array['prototype']['slice']['call'](_0xec5dff['data1']):_0xec5dff['data1']),_0x13b9b9;},_0x1ef703['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1ef703['getTypeUrl']=function(_0x1a8f34){return void 0x0===_0x1a8f34&&(_0x1a8f34='type.googleapis.com'),_0x1a8f34+'/StringBytesPacketDataMessage';},_0x1ef703;}()),_0x5e5fd8['PacketOptionsMessage']=(function(){function _0x1ea644(_0xd10d8f){if(this['rooms']=[],this['except']=[],_0xd10d8f){for(var _0x5354ce=Object['keys'](_0xd10d8f),_0x5d943e=0x0;_0x5d943e<_0x5354ce['length'];++_0x5d943e)null!=_0xd10d8f[_0x5354ce[_0x5d943e]]&&(this[_0x5354ce[_0x5d943e]]=_0xd10d8f[_0x5354ce[_0x5d943e]]);}}return _0x1ea644['prototype']['flags']='',_0x1ea644['prototype']['rooms']=_0x420af4['emptyArray'],_0x1ea644['prototype']['except']=_0x420af4['emptyArray'],_0x1ea644['create']=function(_0x4d35e9){return new _0x1ea644(_0x4d35e9);},_0x1ea644['encode']=function(_0x1f26a4,_0x30e8b2){if(_0x30e8b2||(_0x30e8b2=_0x500b66['create']()),null!=_0x1f26a4['flags']&&Object['hasOwnProperty']['call'](_0x1f26a4,'flags')&&_0x30e8b2['uint32'](0xa)['string'](_0x1f26a4['flags']),null!=_0x1f26a4['rooms']&&_0x1f26a4['rooms']['length']){for(var _0x56c0c8=0x0;_0x56c0c8<_0x1f26a4['rooms']['length'];++_0x56c0c8)_0x30e8b2['uint32'](0x12)['string'](_0x1f26a4['rooms'][_0x56c0c8]);}if(null!=_0x1f26a4['except']&&_0x1f26a4['except']['length']){for(_0x56c0c8=0x0;_0x56c0c8<_0x1f26a4['except']['length'];++_0x56c0c8)_0x30e8b2['uint32'](0x1a)['string'](_0x1f26a4['except'][_0x56c0c8]);}return _0x30e8b2;},_0x1ea644['encodeDelimited']=function(_0x1e10b1,_0x36ec81){return this['encode'](_0x1e10b1,_0x36ec81)['ldelim']();},_0x1ea644['decode']=function(_0x17a2b6,_0x566f8d,_0x1bdb3d){_0x17a2b6 instanceof _0x223583||(_0x17a2b6=_0x223583['create'](_0x17a2b6));for(var _0x12f5c9=void 0x0===_0x566f8d?_0x17a2b6['len']:_0x17a2b6['pos']+_0x566f8d,_0x207c47=new _0x5e5fd8['PacketOptionsMessage']();_0x17a2b6['pos']<_0x12f5c9;){var _0x179ae5=_0x17a2b6['uint32']();if(_0x179ae5===_0x1bdb3d)break;switch(_0x179ae5>>>0x3){case 0x1:_0x207c47['flags']=_0x17a2b6['string']();break;case 0x2:_0x207c47['rooms']&&_0x207c47['rooms']['length']||(_0x207c47['rooms']=[]),_0x207c47['rooms']['push'](_0x17a2b6['string']());break;case 0x3:_0x207c47['except']&&_0x207c47['except']['length']||(_0x207c47['except']=[]),_0x207c47['except']['push'](_0x17a2b6['string']());break;default:_0x17a2b6['skipType'](0x7&_0x179ae5);}}return _0x207c47;},_0x1ea644['decodeDelimited']=function(_0x5bc4bf){return _0x5bc4bf instanceof _0x223583||(_0x5bc4bf=new _0x223583(_0x5bc4bf)),this['decode'](_0x5bc4bf,_0x5bc4bf['uint32']());},_0x1ea644['verify']=function(_0x1cc087){if('object'!=typeof _0x1cc087||null===_0x1cc087)return'object\x20expected';if(null!=_0x1cc087['flags']&&_0x1cc087['hasOwnProperty']('flags')&&!_0x420af4['isString'](_0x1cc087['flags']))return'flags:\x20string\x20expected';if(null!=_0x1cc087['rooms']&&_0x1cc087['hasOwnProperty']('rooms')){if(!Array['isArray'](_0x1cc087['rooms']))return'rooms:\x20array\x20expected';for(var _0x43628f=0x0;_0x43628f<_0x1cc087['rooms']['length'];++_0x43628f)if(!_0x420af4['isString'](_0x1cc087['rooms'][_0x43628f]))return'rooms:\x20string[]\x20expected';}if(null!=_0x1cc087['except']&&_0x1cc087['hasOwnProperty']('except')){if(!Array['isArray'](_0x1cc087['except']))return'except:\x20array\x20expected';for(_0x43628f=0x0;_0x43628f<_0x1cc087['except']['length'];++_0x43628f)if(!_0x420af4['isString'](_0x1cc087['except'][_0x43628f]))return'except:\x20string[]\x20expected';}return null;},_0x1ea644['fromObject']=function(_0x12f0f4){if(_0x12f0f4 instanceof _0x5e5fd8['PacketOptionsMessage'])return _0x12f0f4;var _0x520878=new _0x5e5fd8['PacketOptionsMessage']();if(null!=_0x12f0f4['flags']&&(_0x520878['flags']=String(_0x12f0f4['flags'])),_0x12f0f4['rooms']){if(!Array['isArray'](_0x12f0f4['rooms']))throw TypeError('.PacketOptionsMessage.rooms:\x20array\x20expected');_0x520878['rooms']=[];for(var _0x114f04=0x0;_0x114f04<_0x12f0f4['rooms']['length'];++_0x114f04)_0x520878['rooms'][_0x114f04]=String(_0x12f0f4['rooms'][_0x114f04]);}if(_0x12f0f4['except']){if(!Array['isArray'](_0x12f0f4['except']))throw TypeError('.PacketOptionsMessage.except:\x20array\x20expected');for(_0x520878['except']=[],_0x114f04=0x0;_0x114f04<_0x12f0f4['except']['length'];++_0x114f04)_0x520878['except'][_0x114f04]=String(_0x12f0f4['except'][_0x114f04]);}return _0x520878;},_0x1ea644['toObject']=function(_0x212c47,_0x1d29ed){_0x1d29ed||(_0x1d29ed={});var _0x320b72={};if((_0x1d29ed['arrays']||_0x1d29ed['defaults'])&&(_0x320b72['rooms']=[],_0x320b72['except']=[]),_0x1d29ed['defaults']&&(_0x320b72['flags']=''),null!=_0x212c47['flags']&&_0x212c47['hasOwnProperty']('flags')&&(_0x320b72['flags']=_0x212c47['flags']),_0x212c47['rooms']&&_0x212c47['rooms']['length']){_0x320b72['rooms']=[];for(var _0x53bde3=0x0;_0x53bde3<_0x212c47['rooms']['length'];++_0x53bde3)_0x320b72['rooms'][_0x53bde3]=_0x212c47['rooms'][_0x53bde3];}if(_0x212c47['except']&&_0x212c47['except']['length']){for(_0x320b72['except']=[],_0x53bde3=0x0;_0x53bde3<_0x212c47['except']['length'];++_0x53bde3)_0x320b72['except'][_0x53bde3]=_0x212c47['except'][_0x53bde3];}return _0x320b72;},_0x1ea644['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1ea644['getTypeUrl']=function(_0x26f4b1){return void 0x0===_0x26f4b1&&(_0x26f4b1='type.googleapis.com'),_0x26f4b1+'/PacketOptionsMessage';},_0x1ea644;}()),_0x5e5fd8['PacketMessage']=(function(){function _0x291644(_0x50ea9c){if(_0x50ea9c){for(var _0x44ab53=Object['keys'](_0x50ea9c),_0x142e3e=0x0;_0x142e3e<_0x44ab53['length'];++_0x142e3e)null!=_0x50ea9c[_0x44ab53[_0x142e3e]]&&(this[_0x44ab53[_0x142e3e]]=_0x50ea9c[_0x44ab53[_0x142e3e]]);}}return _0x291644['prototype']['type']=0x0,_0x291644['prototype']['id']=0x0,_0x291644['prototype']['nsp']='',_0x291644['prototype']['data']=_0x420af4['newBuffer']([]),_0x291644['prototype']['options']=_0x420af4['newBuffer']([]),_0x291644['create']=function(_0xa265c1){return new _0x291644(_0xa265c1);},_0x291644['encode']=function(_0x280e54,_0x4761a9){return _0x4761a9||(_0x4761a9=_0x500b66['create']()),null!=_0x280e54['type']&&Object['hasOwnProperty']['call'](_0x280e54,'type')&&_0x4761a9['uint32'](0x8)['uint32'](_0x280e54['type']),null!=_0x280e54['id']&&Object['hasOwnProperty']['call'](_0x280e54,'id')&&_0x4761a9['uint32'](0x10)['uint32'](_0x280e54['id']),null!=_0x280e54['nsp']&&Object['hasOwnProperty']['call'](_0x280e54,'nsp')&&_0x4761a9['uint32'](0x1a)['string'](_0x280e54['nsp']),null!=_0x280e54['data']&&Object['hasOwnProperty']['call'](_0x280e54,'data')&&_0x4761a9['uint32'](0x22)['bytes'](_0x280e54['data']),null!=_0x280e54['options']&&Object['hasOwnProperty']['call'](_0x280e54,'options')&&_0x4761a9['uint32'](0x2a)['bytes'](_0x280e54['options']),_0x4761a9;},_0x291644['encodeDelimited']=function(_0x2ad56a,_0x2b1762){return this['encode'](_0x2ad56a,_0x2b1762)['ldelim']();},_0x291644['decode']=function(_0x206246,_0x298769,_0x4493ff){_0x206246 instanceof _0x223583||(_0x206246=_0x223583['create'](_0x206246));for(var _0x2a906a=void 0x0===_0x298769?_0x206246['len']:_0x206246['pos']+_0x298769,_0x3b6230=new _0x5e5fd8['PacketMessage']();_0x206246['pos']<_0x2a906a;){var _0x1402c6=_0x206246['uint32']();if(_0x1402c6===_0x4493ff)break;switch(_0x1402c6>>>0x3){case 0x1:_0x3b6230['type']=_0x206246['uint32']();break;case 0x2:_0x3b6230['id']=_0x206246['uint32']();break;case 0x3:_0x3b6230['nsp']=_0x206246['string']();break;case 0x4:_0x3b6230['data']=_0x206246['bytes']();break;case 0x5:_0x3b6230['options']=_0x206246['bytes']();break;default:_0x206246['skipType'](0x7&_0x1402c6);}}return _0x3b6230;},_0x291644['decodeDelimited']=function(_0x517f4d){return _0x517f4d instanceof _0x223583||(_0x517f4d=new _0x223583(_0x517f4d)),this['decode'](_0x517f4d,_0x517f4d['uint32']());},_0x291644['verify']=function(_0x1fe082){return'object'!=typeof _0x1fe082||null===_0x1fe082?'object\x20expected':null!=_0x1fe082['type']&&_0x1fe082['hasOwnProperty']('type')&&!_0x420af4['isInteger'](_0x1fe082['type'])?'type:\x20integer\x20expected':null!=_0x1fe082['id']&&_0x1fe082['hasOwnProperty']('id')&&!_0x420af4['isInteger'](_0x1fe082['id'])?'id:\x20integer\x20expected':null!=_0x1fe082['nsp']&&_0x1fe082['hasOwnProperty']('nsp')&&!_0x420af4['isString'](_0x1fe082['nsp'])?'nsp:\x20string\x20expected':null!=_0x1fe082['data']&&_0x1fe082['hasOwnProperty']('data')&&!(_0x1fe082['data']&&'number'==typeof _0x1fe082['data']['length']||_0x420af4['isString'](_0x1fe082['data']))?'data:\x20buffer\x20expected':null!=_0x1fe082['options']&&_0x1fe082['hasOwnProperty']('options')&&!(_0x1fe082['options']&&'number'==typeof _0x1fe082['options']['length']||_0x420af4['isString'](_0x1fe082['options']))?'options:\x20buffer\x20expected':null;},_0x291644['fromObject']=function(_0x504f4f){if(_0x504f4f instanceof _0x5e5fd8['PacketMessage'])return _0x504f4f;var _0x166bd2=new _0x5e5fd8['PacketMessage']();return null!=_0x504f4f['type']&&(_0x166bd2['type']=_0x504f4f['type']>>>0x0),null!=_0x504f4f['id']&&(_0x166bd2['id']=_0x504f4f['id']>>>0x0),null!=_0x504f4f['nsp']&&(_0x166bd2['nsp']=String(_0x504f4f['nsp'])),null!=_0x504f4f['data']&&('string'==typeof _0x504f4f['data']?_0x420af4['base64']['decode'](_0x504f4f['data'],_0x166bd2['data']=_0x420af4['newBuffer'](_0x420af4['base64']['length'](_0x504f4f['data'])),0x0):_0x504f4f['data']['length']>=0x0&&(_0x166bd2['data']=_0x504f4f['data'])),null!=_0x504f4f['options']&&('string'==typeof _0x504f4f['options']?_0x420af4['base64']['decode'](_0x504f4f['options'],_0x166bd2['options']=_0x420af4['newBuffer'](_0x420af4['base64']['length'](_0x504f4f['options'])),0x0):_0x504f4f['options']['length']>=0x0&&(_0x166bd2['options']=_0x504f4f['options'])),_0x166bd2;},_0x291644['toObject']=function(_0x5bd918,_0x2d26e6){_0x2d26e6||(_0x2d26e6={});var _0xa1a14={};return _0x2d26e6['defaults']&&(_0xa1a14['type']=0x0,_0xa1a14['id']=0x0,_0xa1a14['nsp']='',_0x2d26e6['bytes']===String?_0xa1a14['data']='':(_0xa1a14['data']=[],_0x2d26e6['bytes']!==Array&&(_0xa1a14['data']=_0x420af4['newBuffer'](_0xa1a14['data']))),_0x2d26e6['bytes']===String?_0xa1a14['options']='':(_0xa1a14['options']=[],_0x2d26e6['bytes']!==Array&&(_0xa1a14['options']=_0x420af4['newBuffer'](_0xa1a14['options'])))),null!=_0x5bd918['type']&&_0x5bd918['hasOwnProperty']('type')&&(_0xa1a14['type']=_0x5bd918['type']),null!=_0x5bd918['id']&&_0x5bd918['hasOwnProperty']('id')&&(_0xa1a14['id']=_0x5bd918['id']),null!=_0x5bd918['nsp']&&_0x5bd918['hasOwnProperty']('nsp')&&(_0xa1a14['nsp']=_0x5bd918['nsp']),null!=_0x5bd918['data']&&_0x5bd918['hasOwnProperty']('data')&&(_0xa1a14['data']=_0x2d26e6['bytes']===String?_0x420af4['base64']['encode'](_0x5bd918['data'],0x0,_0x5bd918['data']['length']):_0x2d26e6['bytes']===Array?Array['prototype']['slice']['call'](_0x5bd918['data']):_0x5bd918['data']),null!=_0x5bd918['options']&&_0x5bd918['hasOwnProperty']('options')&&(_0xa1a14['options']=_0x2d26e6['bytes']===String?_0x420af4['base64']['encode'](_0x5bd918['options'],0x0,_0x5bd918['options']['length']):_0x2d26e6['bytes']===Array?Array['prototype']['slice']['call'](_0x5bd918['options']):_0x5bd918['options']),_0xa1a14;},_0x291644['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x291644['getTypeUrl']=function(_0xa23b5e){return void 0x0===_0xa23b5e&&(_0xa23b5e='type.googleapis.com'),_0xa23b5e+'/PacketMessage';},_0x291644;}()),_0x5e5fd8['ObjectObjectPacketDataMessage']=(function(){function _0x5a694f(_0x4dcf2c){if(_0x4dcf2c){for(var _0x2e6ab4=Object['keys'](_0x4dcf2c),_0xbe4c4=0x0;_0xbe4c4<_0x2e6ab4['length'];++_0xbe4c4)null!=_0x4dcf2c[_0x2e6ab4[_0xbe4c4]]&&(this[_0x2e6ab4[_0xbe4c4]]=_0x4dcf2c[_0x2e6ab4[_0xbe4c4]]);}}return _0x5a694f['prototype']['data']='',_0x5a694f['prototype']['data1']='',_0x5a694f['create']=function(_0xff5405){return new _0x5a694f(_0xff5405);},_0x5a694f['encode']=function(_0x3e76aa,_0x5d4f9d){return _0x5d4f9d||(_0x5d4f9d=_0x500b66['create']()),null!=_0x3e76aa['data']&&Object['hasOwnProperty']['call'](_0x3e76aa,'data')&&_0x5d4f9d['uint32'](0xa)['string'](_0x3e76aa['data']),null!=_0x3e76aa['data1']&&Object['hasOwnProperty']['call'](_0x3e76aa,'data1')&&_0x5d4f9d['uint32'](0x12)['string'](_0x3e76aa['data1']),_0x5d4f9d;},_0x5a694f['encodeDelimited']=function(_0x16be9b,_0xafae2b){return this['encode'](_0x16be9b,_0xafae2b)['ldelim']();},_0x5a694f['decode']=function(_0xb266df,_0x373420,_0x5def19){_0xb266df instanceof _0x223583||(_0xb266df=_0x223583['create'](_0xb266df));for(var _0x801bc=void 0x0===_0x373420?_0xb266df['len']:_0xb266df['pos']+_0x373420,_0x349f31=new _0x5e5fd8['ObjectObjectPacketDataMessage']();_0xb266df['pos']<_0x801bc;){var _0x183b88=_0xb266df['uint32']();if(_0x183b88===_0x5def19)break;switch(_0x183b88>>>0x3){case 0x1:_0x349f31['data']=_0xb266df['string']();break;case 0x2:_0x349f31['data1']=_0xb266df['string']();break;default:_0xb266df['skipType'](0x7&_0x183b88);}}return _0x349f31;},_0x5a694f['decodeDelimited']=function(_0x5668f8){return _0x5668f8 instanceof _0x223583||(_0x5668f8=new _0x223583(_0x5668f8)),this['decode'](_0x5668f8,_0x5668f8['uint32']());},_0x5a694f['verify']=function(_0x3df744){return'object'!=typeof _0x3df744||null===_0x3df744?'object\x20expected':null!=_0x3df744['data']&&_0x3df744['hasOwnProperty']('data')&&!_0x420af4['isString'](_0x3df744['data'])?'data:\x20string\x20expected':null!=_0x3df744['data1']&&_0x3df744['hasOwnProperty']('data1')&&!_0x420af4['isString'](_0x3df744['data1'])?'data1:\x20string\x20expected':null;},_0x5a694f['fromObject']=function(_0x572a81){if(_0x572a81 instanceof _0x5e5fd8['ObjectObjectPacketDataMessage'])return _0x572a81;var _0x4c3908=new _0x5e5fd8['ObjectObjectPacketDataMessage']();return null!=_0x572a81['data']&&(_0x4c3908['data']=String(_0x572a81['data'])),null!=_0x572a81['data1']&&(_0x4c3908['data1']=String(_0x572a81['data1'])),_0x4c3908;},_0x5a694f['toObject']=function(_0x4eb0cd,_0x23cd63){_0x23cd63||(_0x23cd63={});var _0x10b3c8={};return _0x23cd63['defaults']&&(_0x10b3c8['data']='',_0x10b3c8['data1']=''),null!=_0x4eb0cd['data']&&_0x4eb0cd['hasOwnProperty']('data')&&(_0x10b3c8['data']=_0x4eb0cd['data']),null!=_0x4eb0cd['data1']&&_0x4eb0cd['hasOwnProperty']('data1')&&(_0x10b3c8['data1']=_0x4eb0cd['data1']),_0x10b3c8;},_0x5a694f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x5a694f['getTypeUrl']=function(_0x15a5fe){return void 0x0===_0x15a5fe&&(_0x15a5fe='type.googleapis.com'),_0x15a5fe+'/ObjectObjectPacketDataMessage';},_0x5a694f;}()),_0x5e5fd8['ObjectBufferPacketDataMessage']=(function(){function _0x377265(_0x2fbd7e){if(_0x2fbd7e){for(var _0x337b59=Object['keys'](_0x2fbd7e),_0x403efb=0x0;_0x403efb<_0x337b59['length'];++_0x403efb)null!=_0x2fbd7e[_0x337b59[_0x403efb]]&&(this[_0x337b59[_0x403efb]]=_0x2fbd7e[_0x337b59[_0x403efb]]);}}return _0x377265['prototype']['data']='',_0x377265['prototype']['data1']=_0x420af4['newBuffer']([]),_0x377265['create']=function(_0x748a76){return new _0x377265(_0x748a76);},_0x377265['encode']=function(_0x537d50,_0x521eb9){return _0x521eb9||(_0x521eb9=_0x500b66['create']()),null!=_0x537d50['data']&&Object['hasOwnProperty']['call'](_0x537d50,'data')&&_0x521eb9['uint32'](0xa)['string'](_0x537d50['data']),null!=_0x537d50['data1']&&Object['hasOwnProperty']['call'](_0x537d50,'data1')&&_0x521eb9['uint32'](0x12)['bytes'](_0x537d50['data1']),_0x521eb9;},_0x377265['encodeDelimited']=function(_0x1eea5e,_0x2ca0a2){return this['encode'](_0x1eea5e,_0x2ca0a2)['ldelim']();},_0x377265['decode']=function(_0xa431b,_0x4a0c50,_0x58bf3b){_0xa431b instanceof _0x223583||(_0xa431b=_0x223583['create'](_0xa431b));for(var _0x329031=void 0x0===_0x4a0c50?_0xa431b['len']:_0xa431b['pos']+_0x4a0c50,_0x33a14e=new _0x5e5fd8['ObjectBufferPacketDataMessage']();_0xa431b['pos']<_0x329031;){var _0x53c34c=_0xa431b['uint32']();if(_0x53c34c===_0x58bf3b)break;switch(_0x53c34c>>>0x3){case 0x1:_0x33a14e['data']=_0xa431b['string']();break;case 0x2:_0x33a14e['data1']=_0xa431b['bytes']();break;default:_0xa431b['skipType'](0x7&_0x53c34c);}}return _0x33a14e;},_0x377265['decodeDelimited']=function(_0x1012e0){return _0x1012e0 instanceof _0x223583||(_0x1012e0=new _0x223583(_0x1012e0)),this['decode'](_0x1012e0,_0x1012e0['uint32']());},_0x377265['verify']=function(_0x260901){return'object'!=typeof _0x260901||null===_0x260901?'object\x20expected':null!=_0x260901['data']&&_0x260901['hasOwnProperty']('data')&&!_0x420af4['isString'](_0x260901['data'])?'data:\x20string\x20expected':null!=_0x260901['data1']&&_0x260901['hasOwnProperty']('data1')&&!(_0x260901['data1']&&'number'==typeof _0x260901['data1']['length']||_0x420af4['isString'](_0x260901['data1']))?'data1:\x20buffer\x20expected':null;},_0x377265['fromObject']=function(_0x4fbdc4){if(_0x4fbdc4 instanceof _0x5e5fd8['ObjectBufferPacketDataMessage'])return _0x4fbdc4;var _0x9b657d=new _0x5e5fd8['ObjectBufferPacketDataMessage']();return null!=_0x4fbdc4['data']&&(_0x9b657d['data']=String(_0x4fbdc4['data'])),null!=_0x4fbdc4['data1']&&('string'==typeof _0x4fbdc4['data1']?_0x420af4['base64']['decode'](_0x4fbdc4['data1'],_0x9b657d['data1']=_0x420af4['newBuffer'](_0x420af4['base64']['length'](_0x4fbdc4['data1'])),0x0):_0x4fbdc4['data1']['length']>=0x0&&(_0x9b657d['data1']=_0x4fbdc4['data1'])),_0x9b657d;},_0x377265['toObject']=function(_0x1052a1,_0x2257e2){_0x2257e2||(_0x2257e2={});var _0x447a9c={};return _0x2257e2['defaults']&&(_0x447a9c['data']='',_0x2257e2['bytes']===String?_0x447a9c['data1']='':(_0x447a9c['data1']=[],_0x2257e2['bytes']!==Array&&(_0x447a9c['data1']=_0x420af4['newBuffer'](_0x447a9c['data1'])))),null!=_0x1052a1['data']&&_0x1052a1['hasOwnProperty']('data')&&(_0x447a9c['data']=_0x1052a1['data']),null!=_0x1052a1['data1']&&_0x1052a1['hasOwnProperty']('data1')&&(_0x447a9c['data1']=_0x2257e2['bytes']===String?_0x420af4['base64']['encode'](_0x1052a1['data1'],0x0,_0x1052a1['data1']['length']):_0x2257e2['bytes']===Array?Array['prototype']['slice']['call'](_0x1052a1['data1']):_0x1052a1['data1']),_0x447a9c;},_0x377265['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x377265['getTypeUrl']=function(_0x499bb8){return void 0x0===_0x499bb8&&(_0x499bb8='type.googleapis.com'),_0x499bb8+'/ObjectBufferPacketDataMessage';},_0x377265;}()),_0x5e5fd8['NumberStringPacketDataMessage']=(function(){function _0x51d0cf(_0x33ada8){if(_0x33ada8){for(var _0x320ac2=Object['keys'](_0x33ada8),_0x4c6c5d=0x0;_0x4c6c5d<_0x320ac2['length'];++_0x4c6c5d)null!=_0x33ada8[_0x320ac2[_0x4c6c5d]]&&(this[_0x320ac2[_0x4c6c5d]]=_0x33ada8[_0x320ac2[_0x4c6c5d]]);}}return _0x51d0cf['prototype']['data']=0x0,_0x51d0cf['prototype']['data1']='',_0x51d0cf['create']=function(_0x1c2805){return new _0x51d0cf(_0x1c2805);},_0x51d0cf['encode']=function(_0x24b2e9,_0xf689cb){return _0xf689cb||(_0xf689cb=_0x500b66['create']()),null!=_0x24b2e9['data']&&Object['hasOwnProperty']['call'](_0x24b2e9,'data')&&_0xf689cb['uint32'](0x8)['uint32'](_0x24b2e9['data']),null!=_0x24b2e9['data1']&&Object['hasOwnProperty']['call'](_0x24b2e9,'data1')&&_0xf689cb['uint32'](0x12)['string'](_0x24b2e9['data1']),_0xf689cb;},_0x51d0cf['encodeDelimited']=function(_0x1290a2,_0x325251){return this['encode'](_0x1290a2,_0x325251)['ldelim']();},_0x51d0cf['decode']=function(_0x18df0d,_0x52cb3c,_0xa8b579){_0x18df0d instanceof _0x223583||(_0x18df0d=_0x223583['create'](_0x18df0d));for(var _0x300c37=void 0x0===_0x52cb3c?_0x18df0d['len']:_0x18df0d['pos']+_0x52cb3c,_0x54f33d=new _0x5e5fd8['NumberStringPacketDataMessage']();_0x18df0d['pos']<_0x300c37;){var _0xb7582c=_0x18df0d['uint32']();if(_0xb7582c===_0xa8b579)break;switch(_0xb7582c>>>0x3){case 0x1:_0x54f33d['data']=_0x18df0d['uint32']();break;case 0x2:_0x54f33d['data1']=_0x18df0d['string']();break;default:_0x18df0d['skipType'](0x7&_0xb7582c);}}return _0x54f33d;},_0x51d0cf['decodeDelimited']=function(_0xa9309c){return _0xa9309c instanceof _0x223583||(_0xa9309c=new _0x223583(_0xa9309c)),this['decode'](_0xa9309c,_0xa9309c['uint32']());},_0x51d0cf['verify']=function(_0x4ba681){return'object'!=typeof _0x4ba681||null===_0x4ba681?'object\x20expected':null!=_0x4ba681['data']&&_0x4ba681['hasOwnProperty']('data')&&!_0x420af4['isInteger'](_0x4ba681['data'])?'data:\x20integer\x20expected':null!=_0x4ba681['data1']&&_0x4ba681['hasOwnProperty']('data1')&&!_0x420af4['isString'](_0x4ba681['data1'])?'data1:\x20string\x20expected':null;},_0x51d0cf['fromObject']=function(_0x4e8f6f){if(_0x4e8f6f instanceof _0x5e5fd8['NumberStringPacketDataMessage'])return _0x4e8f6f;var _0x1874dc=new _0x5e5fd8['NumberStringPacketDataMessage']();return null!=_0x4e8f6f['data']&&(_0x1874dc['data']=_0x4e8f6f['data']>>>0x0),null!=_0x4e8f6f['data1']&&(_0x1874dc['data1']=String(_0x4e8f6f['data1'])),_0x1874dc;},_0x51d0cf['toObject']=function(_0x393ef3,_0x44a5a7){_0x44a5a7||(_0x44a5a7={});var _0x2a4b79={};return _0x44a5a7['defaults']&&(_0x2a4b79['data']=0x0,_0x2a4b79['data1']=''),null!=_0x393ef3['data']&&_0x393ef3['hasOwnProperty']('data')&&(_0x2a4b79['data']=_0x393ef3['data']),null!=_0x393ef3['data1']&&_0x393ef3['hasOwnProperty']('data1')&&(_0x2a4b79['data1']=_0x393ef3['data1']),_0x2a4b79;},_0x51d0cf['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x51d0cf['getTypeUrl']=function(_0x4ad9a2){return void 0x0===_0x4ad9a2&&(_0x4ad9a2='type.googleapis.com'),_0x4ad9a2+'/NumberStringPacketDataMessage';},_0x51d0cf;}()),_0x5e5fd8['NumberObjectPacketDataMessage']=(function(){function _0x28bc19(_0xb66d87){if(_0xb66d87){for(var _0x87c6da=Object['keys'](_0xb66d87),_0x2ddadf=0x0;_0x2ddadf<_0x87c6da['length'];++_0x2ddadf)null!=_0xb66d87[_0x87c6da[_0x2ddadf]]&&(this[_0x87c6da[_0x2ddadf]]=_0xb66d87[_0x87c6da[_0x2ddadf]]);}}return _0x28bc19['prototype']['data']=0x0,_0x28bc19['prototype']['data1']='',_0x28bc19['create']=function(_0x11c4fe){return new _0x28bc19(_0x11c4fe);},_0x28bc19['encode']=function(_0x49122c,_0x3520aa){return _0x3520aa||(_0x3520aa=_0x500b66['create']()),null!=_0x49122c['data']&&Object['hasOwnProperty']['call'](_0x49122c,'data')&&_0x3520aa['uint32'](0x8)['uint32'](_0x49122c['data']),null!=_0x49122c['data1']&&Object['hasOwnProperty']['call'](_0x49122c,'data1')&&_0x3520aa['uint32'](0x12)['string'](_0x49122c['data1']),_0x3520aa;},_0x28bc19['encodeDelimited']=function(_0x193cec,_0x1fa040){return this['encode'](_0x193cec,_0x1fa040)['ldelim']();},_0x28bc19['decode']=function(_0x5b1626,_0x32a3f2,_0x7a548){_0x5b1626 instanceof _0x223583||(_0x5b1626=_0x223583['create'](_0x5b1626));for(var _0x3db150=void 0x0===_0x32a3f2?_0x5b1626['len']:_0x5b1626['pos']+_0x32a3f2,_0x2ff424=new _0x5e5fd8['NumberObjectPacketDataMessage']();_0x5b1626['pos']<_0x3db150;){var _0x1991fb=_0x5b1626['uint32']();if(_0x1991fb===_0x7a548)break;switch(_0x1991fb>>>0x3){case 0x1:_0x2ff424['data']=_0x5b1626['uint32']();break;case 0x2:_0x2ff424['data1']=_0x5b1626['string']();break;default:_0x5b1626['skipType'](0x7&_0x1991fb);}}return _0x2ff424;},_0x28bc19['decodeDelimited']=function(_0x769104){return _0x769104 instanceof _0x223583||(_0x769104=new _0x223583(_0x769104)),this['decode'](_0x769104,_0x769104['uint32']());},_0x28bc19['verify']=function(_0x2218f9){return'object'!=typeof _0x2218f9||null===_0x2218f9?'object\x20expected':null!=_0x2218f9['data']&&_0x2218f9['hasOwnProperty']('data')&&!_0x420af4['isInteger'](_0x2218f9['data'])?'data:\x20integer\x20expected':null!=_0x2218f9['data1']&&_0x2218f9['hasOwnProperty']('data1')&&!_0x420af4['isString'](_0x2218f9['data1'])?'data1:\x20string\x20expected':null;},_0x28bc19['fromObject']=function(_0x14b7c0){if(_0x14b7c0 instanceof _0x5e5fd8['NumberObjectPacketDataMessage'])return _0x14b7c0;var _0x711b11=new _0x5e5fd8['NumberObjectPacketDataMessage']();return null!=_0x14b7c0['data']&&(_0x711b11['data']=_0x14b7c0['data']>>>0x0),null!=_0x14b7c0['data1']&&(_0x711b11['data1']=String(_0x14b7c0['data1'])),_0x711b11;},_0x28bc19['toObject']=function(_0x4e7e06,_0xf27c16){_0xf27c16||(_0xf27c16={});var _0x393176={};return _0xf27c16['defaults']&&(_0x393176['data']=0x0,_0x393176['data1']=''),null!=_0x4e7e06['data']&&_0x4e7e06['hasOwnProperty']('data')&&(_0x393176['data']=_0x4e7e06['data']),null!=_0x4e7e06['data1']&&_0x4e7e06['hasOwnProperty']('data1')&&(_0x393176['data1']=_0x4e7e06['data1']),_0x393176;},_0x28bc19['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x28bc19['getTypeUrl']=function(_0x57e192){return void 0x0===_0x57e192&&(_0x57e192='type.googleapis.com'),_0x57e192+'/NumberObjectPacketDataMessage';},_0x28bc19;}()),_0x5e5fd8['NumberNumberPacketDataMessage']=(function(){function _0x160ddf(_0x2b5262){if(_0x2b5262){for(var _0x19bb01=Object['keys'](_0x2b5262),_0x2d0a44=0x0;_0x2d0a44<_0x19bb01['length'];++_0x2d0a44)null!=_0x2b5262[_0x19bb01[_0x2d0a44]]&&(this[_0x19bb01[_0x2d0a44]]=_0x2b5262[_0x19bb01[_0x2d0a44]]);}}return _0x160ddf['prototype']['data']=0x0,_0x160ddf['prototype']['data1']=0x0,_0x160ddf['create']=function(_0x162144){return new _0x160ddf(_0x162144);},_0x160ddf['encode']=function(_0x4c565c,_0x1e973c){return _0x1e973c||(_0x1e973c=_0x500b66['create']()),null!=_0x4c565c['data']&&Object['hasOwnProperty']['call'](_0x4c565c,'data')&&_0x1e973c['uint32'](0x8)['uint32'](_0x4c565c['data']),null!=_0x4c565c['data1']&&Object['hasOwnProperty']['call'](_0x4c565c,'data1')&&_0x1e973c['uint32'](0x10)['uint32'](_0x4c565c['data1']),_0x1e973c;},_0x160ddf['encodeDelimited']=function(_0x2f9927,_0x3859e1){return this['encode'](_0x2f9927,_0x3859e1)['ldelim']();},_0x160ddf['decode']=function(_0x27066c,_0xda2211,_0x2251ed){_0x27066c instanceof _0x223583||(_0x27066c=_0x223583['create'](_0x27066c));for(var _0x7dd0d3=void 0x0===_0xda2211?_0x27066c['len']:_0x27066c['pos']+_0xda2211,_0x216b61=new _0x5e5fd8['NumberNumberPacketDataMessage']();_0x27066c['pos']<_0x7dd0d3;){var _0x6216ff=_0x27066c['uint32']();if(_0x6216ff===_0x2251ed)break;switch(_0x6216ff>>>0x3){case 0x1:_0x216b61['data']=_0x27066c['uint32']();break;case 0x2:_0x216b61['data1']=_0x27066c['uint32']();break;default:_0x27066c['skipType'](0x7&_0x6216ff);}}return _0x216b61;},_0x160ddf['decodeDelimited']=function(_0x86b959){return _0x86b959 instanceof _0x223583||(_0x86b959=new _0x223583(_0x86b959)),this['decode'](_0x86b959,_0x86b959['uint32']());},_0x160ddf['verify']=function(_0x63d02c){return'object'!=typeof _0x63d02c||null===_0x63d02c?'object\x20expected':null!=_0x63d02c['data']&&_0x63d02c['hasOwnProperty']('data')&&!_0x420af4['isInteger'](_0x63d02c['data'])?'data:\x20integer\x20expected':null!=_0x63d02c['data1']&&_0x63d02c['hasOwnProperty']('data1')&&!_0x420af4['isInteger'](_0x63d02c['data1'])?'data1:\x20integer\x20expected':null;},_0x160ddf['fromObject']=function(_0x4b3b8f){if(_0x4b3b8f instanceof _0x5e5fd8['NumberNumberPacketDataMessage'])return _0x4b3b8f;var _0x2f2a7f=new _0x5e5fd8['NumberNumberPacketDataMessage']();return null!=_0x4b3b8f['data']&&(_0x2f2a7f['data']=_0x4b3b8f['data']>>>0x0),null!=_0x4b3b8f['data1']&&(_0x2f2a7f['data1']=_0x4b3b8f['data1']>>>0x0),_0x2f2a7f;},_0x160ddf['toObject']=function(_0x41964b,_0x2cf9dd){_0x2cf9dd||(_0x2cf9dd={});var _0x356697={};return _0x2cf9dd['defaults']&&(_0x356697['data']=0x0,_0x356697['data1']=0x0),null!=_0x41964b['data']&&_0x41964b['hasOwnProperty']('data')&&(_0x356697['data']=_0x41964b['data']),null!=_0x41964b['data1']&&_0x41964b['hasOwnProperty']('data1')&&(_0x356697['data1']=_0x41964b['data1']),_0x356697;},_0x160ddf['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x160ddf['getTypeUrl']=function(_0x3806cf){return void 0x0===_0x3806cf&&(_0x3806cf='type.googleapis.com'),_0x3806cf+'/NumberNumberPacketDataMessage';},_0x160ddf;}()),_0x5e5fd8['NumberBytesPacketDataMessage']=(function(){function _0x3c48e6(_0x26f99f){if(_0x26f99f){for(var _0x48d512=Object['keys'](_0x26f99f),_0x5a3aff=0x0;_0x5a3aff<_0x48d512['length'];++_0x5a3aff)null!=_0x26f99f[_0x48d512[_0x5a3aff]]&&(this[_0x48d512[_0x5a3aff]]=_0x26f99f[_0x48d512[_0x5a3aff]]);}}return _0x3c48e6['prototype']['data']=0x0,_0x3c48e6['prototype']['data1']=_0x420af4['newBuffer']([]),_0x3c48e6['create']=function(_0x472182){return new _0x3c48e6(_0x472182);},_0x3c48e6['encode']=function(_0x53185c,_0x46737e){return _0x46737e||(_0x46737e=_0x500b66['create']()),null!=_0x53185c['data']&&Object['hasOwnProperty']['call'](_0x53185c,'data')&&_0x46737e['uint32'](0x8)['uint32'](_0x53185c['data']),null!=_0x53185c['data1']&&Object['hasOwnProperty']['call'](_0x53185c,'data1')&&_0x46737e['uint32'](0x12)['bytes'](_0x53185c['data1']),_0x46737e;},_0x3c48e6['encodeDelimited']=function(_0xc023c3,_0x5d0bc9){return this['encode'](_0xc023c3,_0x5d0bc9)['ldelim']();},_0x3c48e6['decode']=function(_0x38501e,_0x5a9faf,_0x1cd8f7){_0x38501e instanceof _0x223583||(_0x38501e=_0x223583['create'](_0x38501e));for(var _0x3f467e=void 0x0===_0x5a9faf?_0x38501e['len']:_0x38501e['pos']+_0x5a9faf,_0xa65592=new _0x5e5fd8['NumberBytesPacketDataMessage']();_0x38501e['pos']<_0x3f467e;){var _0x6e1c8a=_0x38501e['uint32']();if(_0x6e1c8a===_0x1cd8f7)break;switch(_0x6e1c8a>>>0x3){case 0x1:_0xa65592['data']=_0x38501e['uint32']();break;case 0x2:_0xa65592['data1']=_0x38501e['bytes']();break;default:_0x38501e['skipType'](0x7&_0x6e1c8a);}}return _0xa65592;},_0x3c48e6['decodeDelimited']=function(_0x5c2144){return _0x5c2144 instanceof _0x223583||(_0x5c2144=new _0x223583(_0x5c2144)),this['decode'](_0x5c2144,_0x5c2144['uint32']());},_0x3c48e6['verify']=function(_0x3ede59){return'object'!=typeof _0x3ede59||null===_0x3ede59?'object\x20expected':null!=_0x3ede59['data']&&_0x3ede59['hasOwnProperty']('data')&&!_0x420af4['isInteger'](_0x3ede59['data'])?'data:\x20integer\x20expected':null!=_0x3ede59['data1']&&_0x3ede59['hasOwnProperty']('data1')&&!(_0x3ede59['data1']&&'number'==typeof _0x3ede59['data1']['length']||_0x420af4['isString'](_0x3ede59['data1']))?'data1:\x20buffer\x20expected':null;},_0x3c48e6['fromObject']=function(_0x37963c){if(_0x37963c instanceof _0x5e5fd8['NumberBytesPacketDataMessage'])return _0x37963c;var _0x5cf9e9=new _0x5e5fd8['NumberBytesPacketDataMessage']();return null!=_0x37963c['data']&&(_0x5cf9e9['data']=_0x37963c['data']>>>0x0),null!=_0x37963c['data1']&&('string'==typeof _0x37963c['data1']?_0x420af4['base64']['decode'](_0x37963c['data1'],_0x5cf9e9['data1']=_0x420af4['newBuffer'](_0x420af4['base64']['length'](_0x37963c['data1'])),0x0):_0x37963c['data1']['length']>=0x0&&(_0x5cf9e9['data1']=_0x37963c['data1'])),_0x5cf9e9;},_0x3c48e6['toObject']=function(_0x309ade,_0x5f151d){_0x5f151d||(_0x5f151d={});var _0x4e6c1a={};return _0x5f151d['defaults']&&(_0x4e6c1a['data']=0x0,_0x5f151d['bytes']===String?_0x4e6c1a['data1']='':(_0x4e6c1a['data1']=[],_0x5f151d['bytes']!==Array&&(_0x4e6c1a['data1']=_0x420af4['newBuffer'](_0x4e6c1a['data1'])))),null!=_0x309ade['data']&&_0x309ade['hasOwnProperty']('data')&&(_0x4e6c1a['data']=_0x309ade['data']),null!=_0x309ade['data1']&&_0x309ade['hasOwnProperty']('data1')&&(_0x4e6c1a['data1']=_0x5f151d['bytes']===String?_0x420af4['base64']['encode'](_0x309ade['data1'],0x0,_0x309ade['data1']['length']):_0x5f151d['bytes']===Array?Array['prototype']['slice']['call'](_0x309ade['data1']):_0x309ade['data1']),_0x4e6c1a;},_0x3c48e6['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x3c48e6['getTypeUrl']=function(_0x423d53){return void 0x0===_0x423d53&&(_0x423d53='type.googleapis.com'),_0x423d53+'/NumberBytesPacketDataMessage';},_0x3c48e6;}()),_0x5e5fd8['BytesBytesPacketDataMessage']=(function(){function _0x2e0807(_0x2e4a91){if(_0x2e4a91){for(var _0x471c98=Object['keys'](_0x2e4a91),_0x1a2a87=0x0;_0x1a2a87<_0x471c98['length'];++_0x1a2a87)null!=_0x2e4a91[_0x471c98[_0x1a2a87]]&&(this[_0x471c98[_0x1a2a87]]=_0x2e4a91[_0x471c98[_0x1a2a87]]);}}return _0x2e0807['prototype']['data']=_0x420af4['newBuffer']([]),_0x2e0807['prototype']['data1']=_0x420af4['newBuffer']([]),_0x2e0807['create']=function(_0x3d9b48){return new _0x2e0807(_0x3d9b48);},_0x2e0807['encode']=function(_0xb4d1bd,_0x5d5a8a){return _0x5d5a8a||(_0x5d5a8a=_0x500b66['create']()),null!=_0xb4d1bd['data']&&Object['hasOwnProperty']['call'](_0xb4d1bd,'data')&&_0x5d5a8a['uint32'](0xa)['bytes'](_0xb4d1bd['data']),null!=_0xb4d1bd['data1']&&Object['hasOwnProperty']['call'](_0xb4d1bd,'data1')&&_0x5d5a8a['uint32'](0x12)['bytes'](_0xb4d1bd['data1']),_0x5d5a8a;},_0x2e0807['encodeDelimited']=function(_0x21423d,_0x38c65a){return this['encode'](_0x21423d,_0x38c65a)['ldelim']();},_0x2e0807['decode']=function(_0x3b4c96,_0x4233f1,_0x5978a3){_0x3b4c96 instanceof _0x223583||(_0x3b4c96=_0x223583['create'](_0x3b4c96));for(var _0x509319=void 0x0===_0x4233f1?_0x3b4c96['len']:_0x3b4c96['pos']+_0x4233f1,_0x49374e=new _0x5e5fd8['BytesBytesPacketDataMessage']();_0x3b4c96['pos']<_0x509319;){var _0x74a2a2=_0x3b4c96['uint32']();if(_0x74a2a2===_0x5978a3)break;switch(_0x74a2a2>>>0x3){case 0x1:_0x49374e['data']=_0x3b4c96['bytes']();break;case 0x2:_0x49374e['data1']=_0x3b4c96['bytes']();break;default:_0x3b4c96['skipType'](0x7&_0x74a2a2);}}return _0x49374e;},_0x2e0807['decodeDelimited']=function(_0x1f49b4){return _0x1f49b4 instanceof _0x223583||(_0x1f49b4=new _0x223583(_0x1f49b4)),this['decode'](_0x1f49b4,_0x1f49b4['uint32']());},_0x2e0807['verify']=function(_0x3efefb){return'object'!=typeof _0x3efefb||null===_0x3efefb?'object\x20expected':null!=_0x3efefb['data']&&_0x3efefb['hasOwnProperty']('data')&&!(_0x3efefb['data']&&'number'==typeof _0x3efefb['data']['length']||_0x420af4['isString'](_0x3efefb['data']))?'data:\x20buffer\x20expected':null!=_0x3efefb['data1']&&_0x3efefb['hasOwnProperty']('data1')&&!(_0x3efefb['data1']&&'number'==typeof _0x3efefb['data1']['length']||_0x420af4['isString'](_0x3efefb['data1']))?'data1:\x20buffer\x20expected':null;},_0x2e0807['fromObject']=function(_0x2e6e6b){if(_0x2e6e6b instanceof _0x5e5fd8['BytesBytesPacketDataMessage'])return _0x2e6e6b;var _0x2ecdcb=new _0x5e5fd8['BytesBytesPacketDataMessage']();return null!=_0x2e6e6b['data']&&('string'==typeof _0x2e6e6b['data']?_0x420af4['base64']['decode'](_0x2e6e6b['data'],_0x2ecdcb['data']=_0x420af4['newBuffer'](_0x420af4['base64']['length'](_0x2e6e6b['data'])),0x0):_0x2e6e6b['data']['length']>=0x0&&(_0x2ecdcb['data']=_0x2e6e6b['data'])),null!=_0x2e6e6b['data1']&&('string'==typeof _0x2e6e6b['data1']?_0x420af4['base64']['decode'](_0x2e6e6b['data1'],_0x2ecdcb['data1']=_0x420af4['newBuffer'](_0x420af4['base64']['length'](_0x2e6e6b['data1'])),0x0):_0x2e6e6b['data1']['length']>=0x0&&(_0x2ecdcb['data1']=_0x2e6e6b['data1'])),_0x2ecdcb;},_0x2e0807['toObject']=function(_0x128b53,_0x2ed20b){_0x2ed20b||(_0x2ed20b={});var _0x19f6ee={};return _0x2ed20b['defaults']&&(_0x2ed20b['bytes']===String?_0x19f6ee['data']='':(_0x19f6ee['data']=[],_0x2ed20b['bytes']!==Array&&(_0x19f6ee['data']=_0x420af4['newBuffer'](_0x19f6ee['data']))),_0x2ed20b['bytes']===String?_0x19f6ee['data1']='':(_0x19f6ee['data1']=[],_0x2ed20b['bytes']!==Array&&(_0x19f6ee['data1']=_0x420af4['newBuffer'](_0x19f6ee['data1'])))),null!=_0x128b53['data']&&_0x128b53['hasOwnProperty']('data')&&(_0x19f6ee['data']=_0x2ed20b['bytes']===String?_0x420af4['base64']['encode'](_0x128b53['data'],0x0,_0x128b53['data']['length']):_0x2ed20b['bytes']===Array?Array['prototype']['slice']['call'](_0x128b53['data']):_0x128b53['data']),null!=_0x128b53['data1']&&_0x128b53['hasOwnProperty']('data1')&&(_0x19f6ee['data1']=_0x2ed20b['bytes']===String?_0x420af4['base64']['encode'](_0x128b53['data1'],0x0,_0x128b53['data1']['length']):_0x2ed20b['bytes']===Array?Array['prototype']['slice']['call'](_0x128b53['data1']):_0x128b53['data1']),_0x19f6ee;},_0x2e0807['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2e0807['getTypeUrl']=function(_0x4bc453){return void 0x0===_0x4bc453&&(_0x4bc453='type.googleapis.com'),_0x4bc453+'/BytesBytesPacketDataMessage';},_0x2e0807;}()),_0x5e5fd8['ChannelMessage']=(function(){function _0x22e6a3(_0x11f6d5){if(_0x11f6d5){for(var _0x3f7137=Object['keys'](_0x11f6d5),_0x5af64a=0x0;_0x5af64a<_0x3f7137['length'];++_0x5af64a)null!=_0x11f6d5[_0x3f7137[_0x5af64a]]&&(this[_0x3f7137[_0x5af64a]]=_0x11f6d5[_0x3f7137[_0x5af64a]]);}}return _0x22e6a3['prototype']['type']=0x0,_0x22e6a3['prototype']['socketId']='',_0x22e6a3['prototype']['data']=_0x420af4['newBuffer']([]),_0x22e6a3['create']=function(_0x8c69d6){return new _0x22e6a3(_0x8c69d6);},_0x22e6a3['encode']=function(_0x3112e1,_0x1b8c22){return _0x1b8c22||(_0x1b8c22=_0x500b66['create']()),null!=_0x3112e1['type']&&Object['hasOwnProperty']['call'](_0x3112e1,'type')&&_0x1b8c22['uint32'](0x8)['uint32'](_0x3112e1['type']),null!=_0x3112e1['socketId']&&Object['hasOwnProperty']['call'](_0x3112e1,'socketId')&&_0x1b8c22['uint32'](0x12)['string'](_0x3112e1['socketId']),null!=_0x3112e1['data']&&Object['hasOwnProperty']['call'](_0x3112e1,'data')&&_0x1b8c22['uint32'](0x1a)['bytes'](_0x3112e1['data']),_0x1b8c22;},_0x22e6a3['encodeDelimited']=function(_0x8b0fa6,_0xbd35e7){return this['encode'](_0x8b0fa6,_0xbd35e7)['ldelim']();},_0x22e6a3['decode']=function(_0x3ec664,_0xe01313,_0x98f52){_0x3ec664 instanceof _0x223583||(_0x3ec664=_0x223583['create'](_0x3ec664));for(var _0x38dcee=void 0x0===_0xe01313?_0x3ec664['len']:_0x3ec664['pos']+_0xe01313,_0x3cb402=new _0x5e5fd8['ChannelMessage']();_0x3ec664['pos']<_0x38dcee;){var _0x53d7c6=_0x3ec664['uint32']();if(_0x53d7c6===_0x98f52)break;switch(_0x53d7c6>>>0x3){case 0x1:_0x3cb402['type']=_0x3ec664['uint32']();break;case 0x2:_0x3cb402['socketId']=_0x3ec664['string']();break;case 0x3:_0x3cb402['data']=_0x3ec664['bytes']();break;default:_0x3ec664['skipType'](0x7&_0x53d7c6);}}return _0x3cb402;},_0x22e6a3['decodeDelimited']=function(_0x2035d0){return _0x2035d0 instanceof _0x223583||(_0x2035d0=new _0x223583(_0x2035d0)),this['decode'](_0x2035d0,_0x2035d0['uint32']());},_0x22e6a3['verify']=function(_0xa5bffa){return'object'!=typeof _0xa5bffa||null===_0xa5bffa?'object\x20expected':null!=_0xa5bffa['type']&&_0xa5bffa['hasOwnProperty']('type')&&!_0x420af4['isInteger'](_0xa5bffa['type'])?'type:\x20integer\x20expected':null!=_0xa5bffa['socketId']&&_0xa5bffa['hasOwnProperty']('socketId')&&!_0x420af4['isString'](_0xa5bffa['socketId'])?'socketId:\x20string\x20expected':null!=_0xa5bffa['data']&&_0xa5bffa['hasOwnProperty']('data')&&!(_0xa5bffa['data']&&'number'==typeof _0xa5bffa['data']['length']||_0x420af4['isString'](_0xa5bffa['data']))?'data:\x20buffer\x20expected':null;},_0x22e6a3['fromObject']=function(_0x15e2f8){if(_0x15e2f8 instanceof _0x5e5fd8['ChannelMessage'])return _0x15e2f8;var _0x15c564=new _0x5e5fd8['ChannelMessage']();return null!=_0x15e2f8['type']&&(_0x15c564['type']=_0x15e2f8['type']>>>0x0),null!=_0x15e2f8['socketId']&&(_0x15c564['socketId']=String(_0x15e2f8['socketId'])),null!=_0x15e2f8['data']&&('string'==typeof _0x15e2f8['data']?_0x420af4['base64']['decode'](_0x15e2f8['data'],_0x15c564['data']=_0x420af4['newBuffer'](_0x420af4['base64']['length'](_0x15e2f8['data'])),0x0):_0x15e2f8['data']['length']>=0x0&&(_0x15c564['data']=_0x15e2f8['data'])),_0x15c564;},_0x22e6a3['toObject']=function(_0x5bda67,_0x4cfb70){_0x4cfb70||(_0x4cfb70={});var _0x55d5ea={};return _0x4cfb70['defaults']&&(_0x55d5ea['type']=0x0,_0x55d5ea['socketId']='',_0x4cfb70['bytes']===String?_0x55d5ea['data']='':(_0x55d5ea['data']=[],_0x4cfb70['bytes']!==Array&&(_0x55d5ea['data']=_0x420af4['newBuffer'](_0x55d5ea['data'])))),null!=_0x5bda67['type']&&_0x5bda67['hasOwnProperty']('type')&&(_0x55d5ea['type']=_0x5bda67['type']),null!=_0x5bda67['socketId']&&_0x5bda67['hasOwnProperty']('socketId')&&(_0x55d5ea['socketId']=_0x5bda67['socketId']),null!=_0x5bda67['data']&&_0x5bda67['hasOwnProperty']('data')&&(_0x55d5ea['data']=_0x4cfb70['bytes']===String?_0x420af4['base64']['encode'](_0x5bda67['data'],0x0,_0x5bda67['data']['length']):_0x4cfb70['bytes']===Array?Array['prototype']['slice']['call'](_0x5bda67['data']):_0x5bda67['data']),_0x55d5ea;},_0x22e6a3['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x22e6a3['getTypeUrl']=function(_0x56939d){return void 0x0===_0x56939d&&(_0x56939d='type.googleapis.com'),_0x56939d+'/ChannelMessage';},_0x22e6a3;}()),_0x5e5fd8['GetUserResponse']=(function(){function _0x396c1e(_0x498274){if(this['attributes']=[],_0x498274){for(var _0x2959f5=Object['keys'](_0x498274),_0x5ef801=0x0;_0x5ef801<_0x2959f5['length'];++_0x5ef801)null!=_0x498274[_0x2959f5[_0x5ef801]]&&(this[_0x2959f5[_0x5ef801]]=_0x498274[_0x2959f5[_0x5ef801]]);}}return _0x396c1e['prototype']['attributes']=_0x420af4['emptyArray'],_0x396c1e['create']=function(_0x1e1f40){return new _0x396c1e(_0x1e1f40);},_0x396c1e['encode']=function(_0x2d4393,_0x4113c2){if(_0x4113c2||(_0x4113c2=_0x500b66['create']()),null!=_0x2d4393['attributes']&&_0x2d4393['attributes']['length']){for(var _0x102ffa=0x0;_0x102ffa<_0x2d4393['attributes']['length'];++_0x102ffa)_0x5e5fd8['KeyValueDescriptor']['encode'](_0x2d4393['attributes'][_0x102ffa],_0x4113c2['uint32'](0xa)['fork']())['ldelim']();}return _0x4113c2;},_0x396c1e['encodeDelimited']=function(_0x2f566d,_0x34ef0b){return this['encode'](_0x2f566d,_0x34ef0b)['ldelim']();},_0x396c1e['decode']=function(_0x39168f,_0x1d98fe,_0x4b1ed4){_0x39168f instanceof _0x223583||(_0x39168f=_0x223583['create'](_0x39168f));for(var _0x2a28d3=void 0x0===_0x1d98fe?_0x39168f['len']:_0x39168f['pos']+_0x1d98fe,_0x3ebc10=new _0x5e5fd8['GetUserResponse']();_0x39168f['pos']<_0x2a28d3;){var _0x54f2bf=_0x39168f['uint32']();if(_0x54f2bf===_0x4b1ed4)break;_0x54f2bf>>>0x3==0x1?(_0x3ebc10['attributes']&&_0x3ebc10['attributes']['length']||(_0x3ebc10['attributes']=[]),_0x3ebc10['attributes']['push'](_0x5e5fd8['KeyValueDescriptor']['decode'](_0x39168f,_0x39168f['uint32']()))):_0x39168f['skipType'](0x7&_0x54f2bf);}return _0x3ebc10;},_0x396c1e['decodeDelimited']=function(_0x42dfa8){return _0x42dfa8 instanceof _0x223583||(_0x42dfa8=new _0x223583(_0x42dfa8)),this['decode'](_0x42dfa8,_0x42dfa8['uint32']());},_0x396c1e['verify']=function(_0x19a003){if('object'!=typeof _0x19a003||null===_0x19a003)return'object\x20expected';if(null!=_0x19a003['attributes']&&_0x19a003['hasOwnProperty']('attributes')){if(!Array['isArray'](_0x19a003['attributes']))return'attributes:\x20array\x20expected';for(var _0x10458c=0x0;_0x10458c<_0x19a003['attributes']['length'];++_0x10458c){var _0x385d15=_0x5e5fd8['KeyValueDescriptor']['verify'](_0x19a003['attributes'][_0x10458c]);if(_0x385d15)return'attributes.'+_0x385d15;}}return null;},_0x396c1e['fromObject']=function(_0x532869){if(_0x532869 instanceof _0x5e5fd8['GetUserResponse'])return _0x532869;var _0x41f0ea=new _0x5e5fd8['GetUserResponse']();if(_0x532869['attributes']){if(!Array['isArray'](_0x532869['attributes']))throw TypeError('.GetUserResponse.attributes:\x20array\x20expected');_0x41f0ea['attributes']=[];for(var _0x1248bb=0x0;_0x1248bb<_0x532869['attributes']['length'];++_0x1248bb){if('object'!=typeof _0x532869['attributes'][_0x1248bb])throw TypeError('.GetUserResponse.attributes:\x20object\x20expected');_0x41f0ea['attributes'][_0x1248bb]=_0x5e5fd8['KeyValueDescriptor']['fromObject'](_0x532869['attributes'][_0x1248bb]);}}return _0x41f0ea;},_0x396c1e['toObject']=function(_0x1806da,_0x4b1340){_0x4b1340||(_0x4b1340={});var _0x41ad96={};if((_0x4b1340['arrays']||_0x4b1340['defaults'])&&(_0x41ad96['attributes']=[]),_0x1806da['attributes']&&_0x1806da['attributes']['length']){_0x41ad96['attributes']=[];for(var _0x5c0eb8=0x0;_0x5c0eb8<_0x1806da['attributes']['length'];++_0x5c0eb8)_0x41ad96['attributes'][_0x5c0eb8]=_0x5e5fd8['KeyValueDescriptor']['toObject'](_0x1806da['attributes'][_0x5c0eb8],_0x4b1340);}return _0x41ad96;},_0x396c1e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x396c1e['getTypeUrl']=function(_0x8e2d9b){return void 0x0===_0x8e2d9b&&(_0x8e2d9b='type.googleapis.com'),_0x8e2d9b+'/GetUserResponse';},_0x396c1e;}()),_0x5e5fd8['GetManyUsersResponse']=(function(){function _0x573339(_0x164268){if(this['users']=[],_0x164268){for(var _0xb6290c=Object['keys'](_0x164268),_0x1716f7=0x0;_0x1716f7<_0xb6290c['length'];++_0x1716f7)null!=_0x164268[_0xb6290c[_0x1716f7]]&&(this[_0xb6290c[_0x1716f7]]=_0x164268[_0xb6290c[_0x1716f7]]);}}return _0x573339['prototype']['users']=_0x420af4['emptyArray'],_0x573339['create']=function(_0x3419f5){return new _0x573339(_0x3419f5);},_0x573339['encode']=function(_0x7b5e11,_0x381d58){if(_0x381d58||(_0x381d58=_0x500b66['create']()),null!=_0x7b5e11['users']&&_0x7b5e11['users']['length']){for(var _0x3e1ca5=0x0;_0x3e1ca5<_0x7b5e11['users']['length'];++_0x3e1ca5)_0x5e5fd8['UserDescriptor']['encode'](_0x7b5e11['users'][_0x3e1ca5],_0x381d58['uint32'](0xa)['fork']())['ldelim']();}return _0x381d58;},_0x573339['encodeDelimited']=function(_0x113646,_0x13fc3f){return this['encode'](_0x113646,_0x13fc3f)['ldelim']();},_0x573339['decode']=function(_0x1db875,_0x20d697,_0x2993a3){_0x1db875 instanceof _0x223583||(_0x1db875=_0x223583['create'](_0x1db875));for(var _0x2d5336=void 0x0===_0x20d697?_0x1db875['len']:_0x1db875['pos']+_0x20d697,_0x40a67a=new _0x5e5fd8['GetManyUsersResponse']();_0x1db875['pos']<_0x2d5336;){var _0x54b718=_0x1db875['uint32']();if(_0x54b718===_0x2993a3)break;_0x54b718>>>0x3==0x1?(_0x40a67a['users']&&_0x40a67a['users']['length']||(_0x40a67a['users']=[]),_0x40a67a['users']['push'](_0x5e5fd8['UserDescriptor']['decode'](_0x1db875,_0x1db875['uint32']()))):_0x1db875['skipType'](0x7&_0x54b718);}return _0x40a67a;},_0x573339['decodeDelimited']=function(_0x32b336){return _0x32b336 instanceof _0x223583||(_0x32b336=new _0x223583(_0x32b336)),this['decode'](_0x32b336,_0x32b336['uint32']());},_0x573339['verify']=function(_0x22c6a3){if('object'!=typeof _0x22c6a3||null===_0x22c6a3)return'object\x20expected';if(null!=_0x22c6a3['users']&&_0x22c6a3['hasOwnProperty']('users')){if(!Array['isArray'](_0x22c6a3['users']))return'users:\x20array\x20expected';for(var _0x61cb06=0x0;_0x61cb06<_0x22c6a3['users']['length'];++_0x61cb06){var _0x5a9498=_0x5e5fd8['UserDescriptor']['verify'](_0x22c6a3['users'][_0x61cb06]);if(_0x5a9498)return'users.'+_0x5a9498;}}return null;},_0x573339['fromObject']=function(_0x3f349c){if(_0x3f349c instanceof _0x5e5fd8['GetManyUsersResponse'])return _0x3f349c;var _0x2d63ad=new _0x5e5fd8['GetManyUsersResponse']();if(_0x3f349c['users']){if(!Array['isArray'](_0x3f349c['users']))throw TypeError('.GetManyUsersResponse.users:\x20array\x20expected');_0x2d63ad['users']=[];for(var _0x429e45=0x0;_0x429e45<_0x3f349c['users']['length'];++_0x429e45){if('object'!=typeof _0x3f349c['users'][_0x429e45])throw TypeError('.GetManyUsersResponse.users:\x20object\x20expected');_0x2d63ad['users'][_0x429e45]=_0x5e5fd8['UserDescriptor']['fromObject'](_0x3f349c['users'][_0x429e45]);}}return _0x2d63ad;},_0x573339['toObject']=function(_0x386458,_0x14416b){_0x14416b||(_0x14416b={});var _0x406c93={};if((_0x14416b['arrays']||_0x14416b['defaults'])&&(_0x406c93['users']=[]),_0x386458['users']&&_0x386458['users']['length']){_0x406c93['users']=[];for(var _0x3d6b3d=0x0;_0x3d6b3d<_0x386458['users']['length'];++_0x3d6b3d)_0x406c93['users'][_0x3d6b3d]=_0x5e5fd8['UserDescriptor']['toObject'](_0x386458['users'][_0x3d6b3d],_0x14416b);}return _0x406c93;},_0x573339['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x573339['getTypeUrl']=function(_0x3bc6b8){return void 0x0===_0x3bc6b8&&(_0x3bc6b8='type.googleapis.com'),_0x3bc6b8+'/GetManyUsersResponse';},_0x573339;}()),_0x5e5fd8['GetUserMessage']=(function(){function _0x40481d(_0x2712a3){if(_0x2712a3){for(var _0x262647=Object['keys'](_0x2712a3),_0x26c784=0x0;_0x26c784<_0x262647['length'];++_0x26c784)null!=_0x2712a3[_0x262647[_0x26c784]]&&(this[_0x262647[_0x26c784]]=_0x2712a3[_0x262647[_0x26c784]]);}}return _0x40481d['prototype']['id']='',_0x40481d['create']=function(_0x41fe75){return new _0x40481d(_0x41fe75);},_0x40481d['encode']=function(_0x5c23f0,_0xf21ad3){return _0xf21ad3||(_0xf21ad3=_0x500b66['create']()),null!=_0x5c23f0['id']&&Object['hasOwnProperty']['call'](_0x5c23f0,'id')&&_0xf21ad3['uint32'](0xa)['string'](_0x5c23f0['id']),_0xf21ad3;},_0x40481d['encodeDelimited']=function(_0xea82c6,_0x355b8d){return this['encode'](_0xea82c6,_0x355b8d)['ldelim']();},_0x40481d['decode']=function(_0x497c6f,_0x22a863,_0x2cc2cd){_0x497c6f instanceof _0x223583||(_0x497c6f=_0x223583['create'](_0x497c6f));for(var _0x473443=void 0x0===_0x22a863?_0x497c6f['len']:_0x497c6f['pos']+_0x22a863,_0x353a79=new _0x5e5fd8['GetUserMessage']();_0x497c6f['pos']<_0x473443;){var _0x5efabd=_0x497c6f['uint32']();if(_0x5efabd===_0x2cc2cd)break;_0x5efabd>>>0x3==0x1?_0x353a79['id']=_0x497c6f['string']():_0x497c6f['skipType'](0x7&_0x5efabd);}return _0x353a79;},_0x40481d['decodeDelimited']=function(_0x139ee3){return _0x139ee3 instanceof _0x223583||(_0x139ee3=new _0x223583(_0x139ee3)),this['decode'](_0x139ee3,_0x139ee3['uint32']());},_0x40481d['verify']=function(_0x1e5f20){return'object'!=typeof _0x1e5f20||null===_0x1e5f20?'object\x20expected':null!=_0x1e5f20['id']&&_0x1e5f20['hasOwnProperty']('id')&&!_0x420af4['isString'](_0x1e5f20['id'])?'id:\x20string\x20expected':null;},_0x40481d['fromObject']=function(_0x17dddb){if(_0x17dddb instanceof _0x5e5fd8['GetUserMessage'])return _0x17dddb;var _0x1688be=new _0x5e5fd8['GetUserMessage']();return null!=_0x17dddb['id']&&(_0x1688be['id']=String(_0x17dddb['id'])),_0x1688be;},_0x40481d['toObject']=function(_0x18e166,_0xe1dd1f){_0xe1dd1f||(_0xe1dd1f={});var _0x59be79={};return _0xe1dd1f['defaults']&&(_0x59be79['id']=''),null!=_0x18e166['id']&&_0x18e166['hasOwnProperty']('id')&&(_0x59be79['id']=_0x18e166['id']),_0x59be79;},_0x40481d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x40481d['getTypeUrl']=function(_0x3dc916){return void 0x0===_0x3dc916&&(_0x3dc916='type.googleapis.com'),_0x3dc916+'/GetUserMessage';},_0x40481d;}()),_0x5e5fd8['GetManyUsersMessage']=(function(){function _0x45e793(_0x523635){if(this['ids']=[],_0x523635){for(var _0x4b4619=Object['keys'](_0x523635),_0x5b6e89=0x0;_0x5b6e89<_0x4b4619['length'];++_0x5b6e89)null!=_0x523635[_0x4b4619[_0x5b6e89]]&&(this[_0x4b4619[_0x5b6e89]]=_0x523635[_0x4b4619[_0x5b6e89]]);}}return _0x45e793['prototype']['ids']=_0x420af4['emptyArray'],_0x45e793['create']=function(_0x34ec9f){return new _0x45e793(_0x34ec9f);},_0x45e793['encode']=function(_0x4c0eac,_0x517565){if(_0x517565||(_0x517565=_0x500b66['create']()),null!=_0x4c0eac['ids']&&_0x4c0eac['ids']['length']){for(var _0x252535=0x0;_0x252535<_0x4c0eac['ids']['length'];++_0x252535)_0x517565['uint32'](0xa)['string'](_0x4c0eac['ids'][_0x252535]);}return _0x517565;},_0x45e793['encodeDelimited']=function(_0x10dbaa,_0x3e2349){return this['encode'](_0x10dbaa,_0x3e2349)['ldelim']();},_0x45e793['decode']=function(_0x154e38,_0x4ec32a,_0x48c306){_0x154e38 instanceof _0x223583||(_0x154e38=_0x223583['create'](_0x154e38));for(var _0x1680ec=void 0x0===_0x4ec32a?_0x154e38['len']:_0x154e38['pos']+_0x4ec32a,_0x519404=new _0x5e5fd8['GetManyUsersMessage']();_0x154e38['pos']<_0x1680ec;){var _0x13716b=_0x154e38['uint32']();if(_0x13716b===_0x48c306)break;_0x13716b>>>0x3==0x1?(_0x519404['ids']&&_0x519404['ids']['length']||(_0x519404['ids']=[]),_0x519404['ids']['push'](_0x154e38['string']())):_0x154e38['skipType'](0x7&_0x13716b);}return _0x519404;},_0x45e793['decodeDelimited']=function(_0x441302){return _0x441302 instanceof _0x223583||(_0x441302=new _0x223583(_0x441302)),this['decode'](_0x441302,_0x441302['uint32']());},_0x45e793['verify']=function(_0x36b50f){if('object'!=typeof _0x36b50f||null===_0x36b50f)return'object\x20expected';if(null!=_0x36b50f['ids']&&_0x36b50f['hasOwnProperty']('ids')){if(!Array['isArray'](_0x36b50f['ids']))return'ids:\x20array\x20expected';for(var _0x2f824c=0x0;_0x2f824c<_0x36b50f['ids']['length'];++_0x2f824c)if(!_0x420af4['isString'](_0x36b50f['ids'][_0x2f824c]))return'ids:\x20string[]\x20expected';}return null;},_0x45e793['fromObject']=function(_0x8698ea){if(_0x8698ea instanceof _0x5e5fd8['GetManyUsersMessage'])return _0x8698ea;var _0x3893f1=new _0x5e5fd8['GetManyUsersMessage']();if(_0x8698ea['ids']){if(!Array['isArray'](_0x8698ea['ids']))throw TypeError('.GetManyUsersMessage.ids:\x20array\x20expected');_0x3893f1['ids']=[];for(var _0x2f677c=0x0;_0x2f677c<_0x8698ea['ids']['length'];++_0x2f677c)_0x3893f1['ids'][_0x2f677c]=String(_0x8698ea['ids'][_0x2f677c]);}return _0x3893f1;},_0x45e793['toObject']=function(_0x443ad1,_0x422022){_0x422022||(_0x422022={});var _0x26223d={};if((_0x422022['arrays']||_0x422022['defaults'])&&(_0x26223d['ids']=[]),_0x443ad1['ids']&&_0x443ad1['ids']['length']){_0x26223d['ids']=[];for(var _0x4813de=0x0;_0x4813de<_0x443ad1['ids']['length'];++_0x4813de)_0x26223d['ids'][_0x4813de]=_0x443ad1['ids'][_0x4813de];}return _0x26223d;},_0x45e793['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x45e793['getTypeUrl']=function(_0x13358c){return void 0x0===_0x13358c&&(_0x13358c='type.googleapis.com'),_0x13358c+'/GetManyUsersMessage';},_0x45e793;}()),_0x5e5fd8['UserDescriptor']=(function(){function _0x383d68(_0xcda45d){if(this['attributes']=[],_0xcda45d){for(var _0xd96c9c=Object['keys'](_0xcda45d),_0x35bf0a=0x0;_0x35bf0a<_0xd96c9c['length'];++_0x35bf0a)null!=_0xcda45d[_0xd96c9c[_0x35bf0a]]&&(this[_0xd96c9c[_0x35bf0a]]=_0xcda45d[_0xd96c9c[_0x35bf0a]]);}}return _0x383d68['prototype']['attributes']=_0x420af4['emptyArray'],_0x383d68['create']=function(_0x3d4d8d){return new _0x383d68(_0x3d4d8d);},_0x383d68['encode']=function(_0x271bd9,_0x3cdb5d){if(_0x3cdb5d||(_0x3cdb5d=_0x500b66['create']()),null!=_0x271bd9['attributes']&&_0x271bd9['attributes']['length']){for(var _0x274f2d=0x0;_0x274f2d<_0x271bd9['attributes']['length'];++_0x274f2d)_0x5e5fd8['KeyValueDescriptor']['encode'](_0x271bd9['attributes'][_0x274f2d],_0x3cdb5d['uint32'](0xa)['fork']())['ldelim']();}return _0x3cdb5d;},_0x383d68['encodeDelimited']=function(_0x291ea1,_0x7bb9e7){return this['encode'](_0x291ea1,_0x7bb9e7)['ldelim']();},_0x383d68['decode']=function(_0x1b5d62,_0x46c016,_0x2095e6){_0x1b5d62 instanceof _0x223583||(_0x1b5d62=_0x223583['create'](_0x1b5d62));for(var _0x207c8d=void 0x0===_0x46c016?_0x1b5d62['len']:_0x1b5d62['pos']+_0x46c016,_0x43168d=new _0x5e5fd8['UserDescriptor']();_0x1b5d62['pos']<_0x207c8d;){var _0xfc2f1f=_0x1b5d62['uint32']();if(_0xfc2f1f===_0x2095e6)break;_0xfc2f1f>>>0x3==0x1?(_0x43168d['attributes']&&_0x43168d['attributes']['length']||(_0x43168d['attributes']=[]),_0x43168d['attributes']['push'](_0x5e5fd8['KeyValueDescriptor']['decode'](_0x1b5d62,_0x1b5d62['uint32']()))):_0x1b5d62['skipType'](0x7&_0xfc2f1f);}return _0x43168d;},_0x383d68['decodeDelimited']=function(_0x833696){return _0x833696 instanceof _0x223583||(_0x833696=new _0x223583(_0x833696)),this['decode'](_0x833696,_0x833696['uint32']());},_0x383d68['verify']=function(_0x898487){if('object'!=typeof _0x898487||null===_0x898487)return'object\x20expected';if(null!=_0x898487['attributes']&&_0x898487['hasOwnProperty']('attributes')){if(!Array['isArray'](_0x898487['attributes']))return'attributes:\x20array\x20expected';for(var _0x5921a5=0x0;_0x5921a5<_0x898487['attributes']['length'];++_0x5921a5){var _0xaf3a3e=_0x5e5fd8['KeyValueDescriptor']['verify'](_0x898487['attributes'][_0x5921a5]);if(_0xaf3a3e)return'attributes.'+_0xaf3a3e;}}return null;},_0x383d68['fromObject']=function(_0xe47cdf){if(_0xe47cdf instanceof _0x5e5fd8['UserDescriptor'])return _0xe47cdf;var _0xd10e64=new _0x5e5fd8['UserDescriptor']();if(_0xe47cdf['attributes']){if(!Array['isArray'](_0xe47cdf['attributes']))throw TypeError('.UserDescriptor.attributes:\x20array\x20expected');_0xd10e64['attributes']=[];for(var _0x1e178a=0x0;_0x1e178a<_0xe47cdf['attributes']['length'];++_0x1e178a){if('object'!=typeof _0xe47cdf['attributes'][_0x1e178a])throw TypeError('.UserDescriptor.attributes:\x20object\x20expected');_0xd10e64['attributes'][_0x1e178a]=_0x5e5fd8['KeyValueDescriptor']['fromObject'](_0xe47cdf['attributes'][_0x1e178a]);}}return _0xd10e64;},_0x383d68['toObject']=function(_0x31610c,_0x335c7a){_0x335c7a||(_0x335c7a={});var _0x488880={};if((_0x335c7a['arrays']||_0x335c7a['defaults'])&&(_0x488880['attributes']=[]),_0x31610c['attributes']&&_0x31610c['attributes']['length']){_0x488880['attributes']=[];for(var _0x5b802d=0x0;_0x5b802d<_0x31610c['attributes']['length'];++_0x5b802d)_0x488880['attributes'][_0x5b802d]=_0x5e5fd8['KeyValueDescriptor']['toObject'](_0x31610c['attributes'][_0x5b802d],_0x335c7a);}return _0x488880;},_0x383d68['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x383d68['getTypeUrl']=function(_0xc8099c){return void 0x0===_0xc8099c&&(_0xc8099c='type.googleapis.com'),_0xc8099c+'/UserDescriptor';},_0x383d68;}()),_0x5e5fd8['TrackChangesGetSuggestionResponse']=(function(){function _0x32ccfe(_0x5f3dcc){if(_0x5f3dcc){for(var _0x197f82=Object['keys'](_0x5f3dcc),_0x12287c=0x0;_0x12287c<_0x197f82['length'];++_0x12287c)null!=_0x5f3dcc[_0x197f82[_0x12287c]]&&(this[_0x197f82[_0x12287c]]=_0x5f3dcc[_0x197f82[_0x12287c]]);}}return _0x32ccfe['prototype']['id']='',_0x32ccfe['prototype']['authorId']='',_0x32ccfe['prototype']['type']='',_0x32ccfe['prototype']['createdAt']='',_0x32ccfe['prototype']['data']='',_0x32ccfe['prototype']['hasComments']=!0x1,_0x32ccfe['prototype']['state']='',_0x32ccfe['prototype']['attributes']='',_0x32ccfe['create']=function(_0x29b09d){return new _0x32ccfe(_0x29b09d);},_0x32ccfe['encode']=function(_0x1262dd,_0x412c6f){return _0x412c6f||(_0x412c6f=_0x500b66['create']()),null!=_0x1262dd['id']&&Object['hasOwnProperty']['call'](_0x1262dd,'id')&&_0x412c6f['uint32'](0xa)['string'](_0x1262dd['id']),null!=_0x1262dd['authorId']&&Object['hasOwnProperty']['call'](_0x1262dd,'authorId')&&_0x412c6f['uint32'](0x12)['string'](_0x1262dd['authorId']),null!=_0x1262dd['type']&&Object['hasOwnProperty']['call'](_0x1262dd,'type')&&_0x412c6f['uint32'](0x1a)['string'](_0x1262dd['type']),null!=_0x1262dd['createdAt']&&Object['hasOwnProperty']['call'](_0x1262dd,'createdAt')&&_0x412c6f['uint32'](0x22)['string'](_0x1262dd['createdAt']),null!=_0x1262dd['data']&&Object['hasOwnProperty']['call'](_0x1262dd,'data')&&_0x412c6f['uint32'](0x2a)['string'](_0x1262dd['data']),null!=_0x1262dd['hasComments']&&Object['hasOwnProperty']['call'](_0x1262dd,'hasComments')&&_0x412c6f['uint32'](0x30)['bool'](_0x1262dd['hasComments']),null!=_0x1262dd['state']&&Object['hasOwnProperty']['call'](_0x1262dd,'state')&&_0x412c6f['uint32'](0x3a)['string'](_0x1262dd['state']),null!=_0x1262dd['attributes']&&Object['hasOwnProperty']['call'](_0x1262dd,'attributes')&&_0x412c6f['uint32'](0x42)['string'](_0x1262dd['attributes']),_0x412c6f;},_0x32ccfe['encodeDelimited']=function(_0x578dc6,_0x3b5c63){return this['encode'](_0x578dc6,_0x3b5c63)['ldelim']();},_0x32ccfe['decode']=function(_0x709aaa,_0x31fd28,_0xe223d4){_0x709aaa instanceof _0x223583||(_0x709aaa=_0x223583['create'](_0x709aaa));for(var _0x237197=void 0x0===_0x31fd28?_0x709aaa['len']:_0x709aaa['pos']+_0x31fd28,_0x153005=new _0x5e5fd8['TrackChangesGetSuggestionResponse']();_0x709aaa['pos']<_0x237197;){var _0x55a4d8=_0x709aaa['uint32']();if(_0x55a4d8===_0xe223d4)break;switch(_0x55a4d8>>>0x3){case 0x1:_0x153005['id']=_0x709aaa['string']();break;case 0x2:_0x153005['authorId']=_0x709aaa['string']();break;case 0x3:_0x153005['type']=_0x709aaa['string']();break;case 0x4:_0x153005['createdAt']=_0x709aaa['string']();break;case 0x5:_0x153005['data']=_0x709aaa['string']();break;case 0x6:_0x153005['hasComments']=_0x709aaa['bool']();break;case 0x7:_0x153005['state']=_0x709aaa['string']();break;case 0x8:_0x153005['attributes']=_0x709aaa['string']();break;default:_0x709aaa['skipType'](0x7&_0x55a4d8);}}return _0x153005;},_0x32ccfe['decodeDelimited']=function(_0x39b2b2){return _0x39b2b2 instanceof _0x223583||(_0x39b2b2=new _0x223583(_0x39b2b2)),this['decode'](_0x39b2b2,_0x39b2b2['uint32']());},_0x32ccfe['verify']=function(_0x255153){return'object'!=typeof _0x255153||null===_0x255153?'object\x20expected':null!=_0x255153['id']&&_0x255153['hasOwnProperty']('id')&&!_0x420af4['isString'](_0x255153['id'])?'id:\x20string\x20expected':null!=_0x255153['authorId']&&_0x255153['hasOwnProperty']('authorId')&&!_0x420af4['isString'](_0x255153['authorId'])?'authorId:\x20string\x20expected':null!=_0x255153['type']&&_0x255153['hasOwnProperty']('type')&&!_0x420af4['isString'](_0x255153['type'])?'type:\x20string\x20expected':null!=_0x255153['createdAt']&&_0x255153['hasOwnProperty']('createdAt')&&!_0x420af4['isString'](_0x255153['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x255153['data']&&_0x255153['hasOwnProperty']('data')&&!_0x420af4['isString'](_0x255153['data'])?'data:\x20string\x20expected':null!=_0x255153['hasComments']&&_0x255153['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x255153['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x255153['state']&&_0x255153['hasOwnProperty']('state')&&!_0x420af4['isString'](_0x255153['state'])?'state:\x20string\x20expected':null!=_0x255153['attributes']&&_0x255153['hasOwnProperty']('attributes')&&!_0x420af4['isString'](_0x255153['attributes'])?'attributes:\x20string\x20expected':null;},_0x32ccfe['fromObject']=function(_0x1f1497){if(_0x1f1497 instanceof _0x5e5fd8['TrackChangesGetSuggestionResponse'])return _0x1f1497;var _0x65a99c=new _0x5e5fd8['TrackChangesGetSuggestionResponse']();return null!=_0x1f1497['id']&&(_0x65a99c['id']=String(_0x1f1497['id'])),null!=_0x1f1497['authorId']&&(_0x65a99c['authorId']=String(_0x1f1497['authorId'])),null!=_0x1f1497['type']&&(_0x65a99c['type']=String(_0x1f1497['type'])),null!=_0x1f1497['createdAt']&&(_0x65a99c['createdAt']=String(_0x1f1497['createdAt'])),null!=_0x1f1497['data']&&(_0x65a99c['data']=String(_0x1f1497['data'])),null!=_0x1f1497['hasComments']&&(_0x65a99c['hasComments']=Boolean(_0x1f1497['hasComments'])),null!=_0x1f1497['state']&&(_0x65a99c['state']=String(_0x1f1497['state'])),null!=_0x1f1497['attributes']&&(_0x65a99c['attributes']=String(_0x1f1497['attributes'])),_0x65a99c;},_0x32ccfe['toObject']=function(_0x586f94,_0x354165){_0x354165||(_0x354165={});var _0x550f23={};return _0x354165['defaults']&&(_0x550f23['id']='',_0x550f23['authorId']='',_0x550f23['type']='',_0x550f23['createdAt']='',_0x550f23['data']='',_0x550f23['hasComments']=!0x1,_0x550f23['state']='',_0x550f23['attributes']=''),null!=_0x586f94['id']&&_0x586f94['hasOwnProperty']('id')&&(_0x550f23['id']=_0x586f94['id']),null!=_0x586f94['authorId']&&_0x586f94['hasOwnProperty']('authorId')&&(_0x550f23['authorId']=_0x586f94['authorId']),null!=_0x586f94['type']&&_0x586f94['hasOwnProperty']('type')&&(_0x550f23['type']=_0x586f94['type']),null!=_0x586f94['createdAt']&&_0x586f94['hasOwnProperty']('createdAt')&&(_0x550f23['createdAt']=_0x586f94['createdAt']),null!=_0x586f94['data']&&_0x586f94['hasOwnProperty']('data')&&(_0x550f23['data']=_0x586f94['data']),null!=_0x586f94['hasComments']&&_0x586f94['hasOwnProperty']('hasComments')&&(_0x550f23['hasComments']=_0x586f94['hasComments']),null!=_0x586f94['state']&&_0x586f94['hasOwnProperty']('state')&&(_0x550f23['state']=_0x586f94['state']),null!=_0x586f94['attributes']&&_0x586f94['hasOwnProperty']('attributes')&&(_0x550f23['attributes']=_0x586f94['attributes']),_0x550f23;},_0x32ccfe['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x32ccfe['getTypeUrl']=function(_0x5a54c3){return void 0x0===_0x5a54c3&&(_0x5a54c3='type.googleapis.com'),_0x5a54c3+'/TrackChangesGetSuggestionResponse';},_0x32ccfe;}()),_0x5e5fd8['TrackChangesGetAllSuggestionsResponse']=(function(){function _0x1ec9c7(_0x546cc8){if(this['suggestions']=[],this['suggestionsV2']=[],_0x546cc8){for(var _0x390c6e=Object['keys'](_0x546cc8),_0x119aa1=0x0;_0x119aa1<_0x390c6e['length'];++_0x119aa1)null!=_0x546cc8[_0x390c6e[_0x119aa1]]&&(this[_0x390c6e[_0x119aa1]]=_0x546cc8[_0x390c6e[_0x119aa1]]);}}return _0x1ec9c7['prototype']['suggestions']=_0x420af4['emptyArray'],_0x1ec9c7['prototype']['suggestionsV2']=_0x420af4['emptyArray'],_0x1ec9c7['create']=function(_0x10e6f0){return new _0x1ec9c7(_0x10e6f0);},_0x1ec9c7['encode']=function(_0x39f28d,_0x7b63b8){if(_0x7b63b8||(_0x7b63b8=_0x500b66['create']()),null!=_0x39f28d['suggestions']&&_0x39f28d['suggestions']['length']){for(var _0x557d9e=0x0;_0x557d9e<_0x39f28d['suggestions']['length'];++_0x557d9e)_0x7b63b8['uint32'](0xa)['string'](_0x39f28d['suggestions'][_0x557d9e]);}if(null!=_0x39f28d['suggestionsV2']&&_0x39f28d['suggestionsV2']['length']){for(_0x557d9e=0x0;_0x557d9e<_0x39f28d['suggestionsV2']['length'];++_0x557d9e)_0x5e5fd8['SuggestionDescriptor']['encode'](_0x39f28d['suggestionsV2'][_0x557d9e],_0x7b63b8['uint32'](0x12)['fork']())['ldelim']();}return _0x7b63b8;},_0x1ec9c7['encodeDelimited']=function(_0x38f8d9,_0x2e300){return this['encode'](_0x38f8d9,_0x2e300)['ldelim']();},_0x1ec9c7['decode']=function(_0x627b08,_0x1f0d8d,_0x385e0d){_0x627b08 instanceof _0x223583||(_0x627b08=_0x223583['create'](_0x627b08));for(var _0xf4439c=void 0x0===_0x1f0d8d?_0x627b08['len']:_0x627b08['pos']+_0x1f0d8d,_0x11d9f1=new _0x5e5fd8['TrackChangesGetAllSuggestionsResponse']();_0x627b08['pos']<_0xf4439c;){var _0x5b21df=_0x627b08['uint32']();if(_0x5b21df===_0x385e0d)break;switch(_0x5b21df>>>0x3){case 0x1:_0x11d9f1['suggestions']&&_0x11d9f1['suggestions']['length']||(_0x11d9f1['suggestions']=[]),_0x11d9f1['suggestions']['push'](_0x627b08['string']());break;case 0x2:_0x11d9f1['suggestionsV2']&&_0x11d9f1['suggestionsV2']['length']||(_0x11d9f1['suggestionsV2']=[]),_0x11d9f1['suggestionsV2']['push'](_0x5e5fd8['SuggestionDescriptor']['decode'](_0x627b08,_0x627b08['uint32']()));break;default:_0x627b08['skipType'](0x7&_0x5b21df);}}return _0x11d9f1;},_0x1ec9c7['decodeDelimited']=function(_0xdeb47a){return _0xdeb47a instanceof _0x223583||(_0xdeb47a=new _0x223583(_0xdeb47a)),this['decode'](_0xdeb47a,_0xdeb47a['uint32']());},_0x1ec9c7['verify']=function(_0x3e9a50){if('object'!=typeof _0x3e9a50||null===_0x3e9a50)return'object\x20expected';if(null!=_0x3e9a50['suggestions']&&_0x3e9a50['hasOwnProperty']('suggestions')){if(!Array['isArray'](_0x3e9a50['suggestions']))return'suggestions:\x20array\x20expected';for(var _0x2ddda9=0x0;_0x2ddda9<_0x3e9a50['suggestions']['length'];++_0x2ddda9)if(!_0x420af4['isString'](_0x3e9a50['suggestions'][_0x2ddda9]))return'suggestions:\x20string[]\x20expected';}if(null!=_0x3e9a50['suggestionsV2']&&_0x3e9a50['hasOwnProperty']('suggestionsV2')){if(!Array['isArray'](_0x3e9a50['suggestionsV2']))return'suggestionsV2:\x20array\x20expected';for(_0x2ddda9=0x0;_0x2ddda9<_0x3e9a50['suggestionsV2']['length'];++_0x2ddda9){var _0x2ee5e1=_0x5e5fd8['SuggestionDescriptor']['verify'](_0x3e9a50['suggestionsV2'][_0x2ddda9]);if(_0x2ee5e1)return'suggestionsV2.'+_0x2ee5e1;}}return null;},_0x1ec9c7['fromObject']=function(_0x147998){if(_0x147998 instanceof _0x5e5fd8['TrackChangesGetAllSuggestionsResponse'])return _0x147998;var _0x57788f=new _0x5e5fd8['TrackChangesGetAllSuggestionsResponse']();if(_0x147998['suggestions']){if(!Array['isArray'](_0x147998['suggestions']))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestions:\x20array\x20expected');_0x57788f['suggestions']=[];for(var _0x3e85d7=0x0;_0x3e85d7<_0x147998['suggestions']['length'];++_0x3e85d7)_0x57788f['suggestions'][_0x3e85d7]=String(_0x147998['suggestions'][_0x3e85d7]);}if(_0x147998['suggestionsV2']){if(!Array['isArray'](_0x147998['suggestionsV2']))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestionsV2:\x20array\x20expected');for(_0x57788f['suggestionsV2']=[],_0x3e85d7=0x0;_0x3e85d7<_0x147998['suggestionsV2']['length'];++_0x3e85d7){if('object'!=typeof _0x147998['suggestionsV2'][_0x3e85d7])throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestionsV2:\x20object\x20expected');_0x57788f['suggestionsV2'][_0x3e85d7]=_0x5e5fd8['SuggestionDescriptor']['fromObject'](_0x147998['suggestionsV2'][_0x3e85d7]);}}return _0x57788f;},_0x1ec9c7['toObject']=function(_0x57adbd,_0x9fd56b){_0x9fd56b||(_0x9fd56b={});var _0x1a91b5={};if((_0x9fd56b['arrays']||_0x9fd56b['defaults'])&&(_0x1a91b5['suggestions']=[],_0x1a91b5['suggestionsV2']=[]),_0x57adbd['suggestions']&&_0x57adbd['suggestions']['length']){_0x1a91b5['suggestions']=[];for(var _0x363afc=0x0;_0x363afc<_0x57adbd['suggestions']['length'];++_0x363afc)_0x1a91b5['suggestions'][_0x363afc]=_0x57adbd['suggestions'][_0x363afc];}if(_0x57adbd['suggestionsV2']&&_0x57adbd['suggestionsV2']['length']){for(_0x1a91b5['suggestionsV2']=[],_0x363afc=0x0;_0x363afc<_0x57adbd['suggestionsV2']['length'];++_0x363afc)_0x1a91b5['suggestionsV2'][_0x363afc]=_0x5e5fd8['SuggestionDescriptor']['toObject'](_0x57adbd['suggestionsV2'][_0x363afc],_0x9fd56b);}return _0x1a91b5;},_0x1ec9c7['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1ec9c7['getTypeUrl']=function(_0x5d12e3){return void 0x0===_0x5d12e3&&(_0x5d12e3='type.googleapis.com'),_0x5d12e3+'/TrackChangesGetAllSuggestionsResponse';},_0x1ec9c7;}()),_0x5e5fd8['TrackChangesConnectResponse']=(function(){function _0x51e6e0(_0x30ce3e){if(this['suggestions']=[],this['suggestionsV2']=[],_0x30ce3e){for(var _0x501501=Object['keys'](_0x30ce3e),_0x30b301=0x0;_0x30b301<_0x501501['length'];++_0x30b301)null!=_0x30ce3e[_0x501501[_0x30b301]]&&(this[_0x501501[_0x30b301]]=_0x30ce3e[_0x501501[_0x30b301]]);}}return _0x51e6e0['prototype']['channel']='',_0x51e6e0['prototype']['suggestions']=_0x420af4['emptyArray'],_0x51e6e0['prototype']['suggestionsV2']=_0x420af4['emptyArray'],_0x51e6e0['create']=function(_0x10ac1f){return new _0x51e6e0(_0x10ac1f);},_0x51e6e0['encode']=function(_0x2262e6,_0x1b737e){if(_0x1b737e||(_0x1b737e=_0x500b66['create']()),null!=_0x2262e6['channel']&&Object['hasOwnProperty']['call'](_0x2262e6,'channel')&&_0x1b737e['uint32'](0xa)['string'](_0x2262e6['channel']),null!=_0x2262e6['suggestions']&&_0x2262e6['suggestions']['length']){for(var _0x17b1bb=0x0;_0x17b1bb<_0x2262e6['suggestions']['length'];++_0x17b1bb)_0x1b737e['uint32'](0x12)['string'](_0x2262e6['suggestions'][_0x17b1bb]);}if(null!=_0x2262e6['suggestionsV2']&&_0x2262e6['suggestionsV2']['length']){for(_0x17b1bb=0x0;_0x17b1bb<_0x2262e6['suggestionsV2']['length'];++_0x17b1bb)_0x5e5fd8['SuggestionDescriptor']['encode'](_0x2262e6['suggestionsV2'][_0x17b1bb],_0x1b737e['uint32'](0x1a)['fork']())['ldelim']();}return _0x1b737e;},_0x51e6e0['encodeDelimited']=function(_0x300c6b,_0x56462a){return this['encode'](_0x300c6b,_0x56462a)['ldelim']();},_0x51e6e0['decode']=function(_0x1d8d9c,_0xd9f7e1,_0x384a80){_0x1d8d9c instanceof _0x223583||(_0x1d8d9c=_0x223583['create'](_0x1d8d9c));for(var _0x16afa1=void 0x0===_0xd9f7e1?_0x1d8d9c['len']:_0x1d8d9c['pos']+_0xd9f7e1,_0x55e29d=new _0x5e5fd8['TrackChangesConnectResponse']();_0x1d8d9c['pos']<_0x16afa1;){var _0x3d35fd=_0x1d8d9c['uint32']();if(_0x3d35fd===_0x384a80)break;switch(_0x3d35fd>>>0x3){case 0x1:_0x55e29d['channel']=_0x1d8d9c['string']();break;case 0x2:_0x55e29d['suggestions']&&_0x55e29d['suggestions']['length']||(_0x55e29d['suggestions']=[]),_0x55e29d['suggestions']['push'](_0x1d8d9c['string']());break;case 0x3:_0x55e29d['suggestionsV2']&&_0x55e29d['suggestionsV2']['length']||(_0x55e29d['suggestionsV2']=[]),_0x55e29d['suggestionsV2']['push'](_0x5e5fd8['SuggestionDescriptor']['decode'](_0x1d8d9c,_0x1d8d9c['uint32']()));break;default:_0x1d8d9c['skipType'](0x7&_0x3d35fd);}}return _0x55e29d;},_0x51e6e0['decodeDelimited']=function(_0x137b92){return _0x137b92 instanceof _0x223583||(_0x137b92=new _0x223583(_0x137b92)),this['decode'](_0x137b92,_0x137b92['uint32']());},_0x51e6e0['verify']=function(_0x3badea){if('object'!=typeof _0x3badea||null===_0x3badea)return'object\x20expected';if(null!=_0x3badea['channel']&&_0x3badea['hasOwnProperty']('channel')&&!_0x420af4['isString'](_0x3badea['channel']))return'channel:\x20string\x20expected';if(null!=_0x3badea['suggestions']&&_0x3badea['hasOwnProperty']('suggestions')){if(!Array['isArray'](_0x3badea['suggestions']))return'suggestions:\x20array\x20expected';for(var _0x34dc61=0x0;_0x34dc61<_0x3badea['suggestions']['length'];++_0x34dc61)if(!_0x420af4['isString'](_0x3badea['suggestions'][_0x34dc61]))return'suggestions:\x20string[]\x20expected';}if(null!=_0x3badea['suggestionsV2']&&_0x3badea['hasOwnProperty']('suggestionsV2')){if(!Array['isArray'](_0x3badea['suggestionsV2']))return'suggestionsV2:\x20array\x20expected';for(_0x34dc61=0x0;_0x34dc61<_0x3badea['suggestionsV2']['length'];++_0x34dc61){var _0x32a937=_0x5e5fd8['SuggestionDescriptor']['verify'](_0x3badea['suggestionsV2'][_0x34dc61]);if(_0x32a937)return'suggestionsV2.'+_0x32a937;}}return null;},_0x51e6e0['fromObject']=function(_0x39234c){if(_0x39234c instanceof _0x5e5fd8['TrackChangesConnectResponse'])return _0x39234c;var _0x2059d0=new _0x5e5fd8['TrackChangesConnectResponse']();if(null!=_0x39234c['channel']&&(_0x2059d0['channel']=String(_0x39234c['channel'])),_0x39234c['suggestions']){if(!Array['isArray'](_0x39234c['suggestions']))throw TypeError('.TrackChangesConnectResponse.suggestions:\x20array\x20expected');_0x2059d0['suggestions']=[];for(var _0x4ffd0e=0x0;_0x4ffd0e<_0x39234c['suggestions']['length'];++_0x4ffd0e)_0x2059d0['suggestions'][_0x4ffd0e]=String(_0x39234c['suggestions'][_0x4ffd0e]);}if(_0x39234c['suggestionsV2']){if(!Array['isArray'](_0x39234c['suggestionsV2']))throw TypeError('.TrackChangesConnectResponse.suggestionsV2:\x20array\x20expected');for(_0x2059d0['suggestionsV2']=[],_0x4ffd0e=0x0;_0x4ffd0e<_0x39234c['suggestionsV2']['length'];++_0x4ffd0e){if('object'!=typeof _0x39234c['suggestionsV2'][_0x4ffd0e])throw TypeError('.TrackChangesConnectResponse.suggestionsV2:\x20object\x20expected');_0x2059d0['suggestionsV2'][_0x4ffd0e]=_0x5e5fd8['SuggestionDescriptor']['fromObject'](_0x39234c['suggestionsV2'][_0x4ffd0e]);}}return _0x2059d0;},_0x51e6e0['toObject']=function(_0x543be6,_0x28f5b3){_0x28f5b3||(_0x28f5b3={});var _0x4a287c={};if((_0x28f5b3['arrays']||_0x28f5b3['defaults'])&&(_0x4a287c['suggestions']=[],_0x4a287c['suggestionsV2']=[]),_0x28f5b3['defaults']&&(_0x4a287c['channel']=''),null!=_0x543be6['channel']&&_0x543be6['hasOwnProperty']('channel')&&(_0x4a287c['channel']=_0x543be6['channel']),_0x543be6['suggestions']&&_0x543be6['suggestions']['length']){_0x4a287c['suggestions']=[];for(var _0x58e1f4=0x0;_0x58e1f4<_0x543be6['suggestions']['length'];++_0x58e1f4)_0x4a287c['suggestions'][_0x58e1f4]=_0x543be6['suggestions'][_0x58e1f4];}if(_0x543be6['suggestionsV2']&&_0x543be6['suggestionsV2']['length']){for(_0x4a287c['suggestionsV2']=[],_0x58e1f4=0x0;_0x58e1f4<_0x543be6['suggestionsV2']['length'];++_0x58e1f4)_0x4a287c['suggestionsV2'][_0x58e1f4]=_0x5e5fd8['SuggestionDescriptor']['toObject'](_0x543be6['suggestionsV2'][_0x58e1f4],_0x28f5b3);}return _0x4a287c;},_0x51e6e0['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x51e6e0['getTypeUrl']=function(_0x1db69b){return void 0x0===_0x1db69b&&(_0x1db69b='type.googleapis.com'),_0x1db69b+'/TrackChangesConnectResponse';},_0x51e6e0;}()),_0x5e5fd8['TrackChangesAddSuggestionResponse']=(function(){function _0x14d8c7(_0x20ce56){if(_0x20ce56){for(var _0x2d5c07=Object['keys'](_0x20ce56),_0x16ade3=0x0;_0x16ade3<_0x2d5c07['length'];++_0x16ade3)null!=_0x20ce56[_0x2d5c07[_0x16ade3]]&&(this[_0x2d5c07[_0x16ade3]]=_0x20ce56[_0x2d5c07[_0x16ade3]]);}}return _0x14d8c7['prototype']['id']='',_0x14d8c7['prototype']['authorId']='',_0x14d8c7['prototype']['type']='',_0x14d8c7['prototype']['createdAt']='',_0x14d8c7['prototype']['data']='',_0x14d8c7['prototype']['hasComments']=!0x1,_0x14d8c7['prototype']['state']='',_0x14d8c7['prototype']['attributes']='',_0x14d8c7['create']=function(_0x623fd3){return new _0x14d8c7(_0x623fd3);},_0x14d8c7['encode']=function(_0x18d724,_0x4d24b6){return _0x4d24b6||(_0x4d24b6=_0x500b66['create']()),null!=_0x18d724['id']&&Object['hasOwnProperty']['call'](_0x18d724,'id')&&_0x4d24b6['uint32'](0xa)['string'](_0x18d724['id']),null!=_0x18d724['authorId']&&Object['hasOwnProperty']['call'](_0x18d724,'authorId')&&_0x4d24b6['uint32'](0x12)['string'](_0x18d724['authorId']),null!=_0x18d724['type']&&Object['hasOwnProperty']['call'](_0x18d724,'type')&&_0x4d24b6['uint32'](0x1a)['string'](_0x18d724['type']),null!=_0x18d724['createdAt']&&Object['hasOwnProperty']['call'](_0x18d724,'createdAt')&&_0x4d24b6['uint32'](0x22)['string'](_0x18d724['createdAt']),null!=_0x18d724['data']&&Object['hasOwnProperty']['call'](_0x18d724,'data')&&_0x4d24b6['uint32'](0x2a)['string'](_0x18d724['data']),null!=_0x18d724['hasComments']&&Object['hasOwnProperty']['call'](_0x18d724,'hasComments')&&_0x4d24b6['uint32'](0x30)['bool'](_0x18d724['hasComments']),null!=_0x18d724['state']&&Object['hasOwnProperty']['call'](_0x18d724,'state')&&_0x4d24b6['uint32'](0x3a)['string'](_0x18d724['state']),null!=_0x18d724['attributes']&&Object['hasOwnProperty']['call'](_0x18d724,'attributes')&&_0x4d24b6['uint32'](0x42)['string'](_0x18d724['attributes']),_0x4d24b6;},_0x14d8c7['encodeDelimited']=function(_0x470d53,_0x4a65a2){return this['encode'](_0x470d53,_0x4a65a2)['ldelim']();},_0x14d8c7['decode']=function(_0x13c7e1,_0x211233,_0x53ab40){_0x13c7e1 instanceof _0x223583||(_0x13c7e1=_0x223583['create'](_0x13c7e1));for(var _0x284858=void 0x0===_0x211233?_0x13c7e1['len']:_0x13c7e1['pos']+_0x211233,_0xe2c386=new _0x5e5fd8['TrackChangesAddSuggestionResponse']();_0x13c7e1['pos']<_0x284858;){var _0x50e2de=_0x13c7e1['uint32']();if(_0x50e2de===_0x53ab40)break;switch(_0x50e2de>>>0x3){case 0x1:_0xe2c386['id']=_0x13c7e1['string']();break;case 0x2:_0xe2c386['authorId']=_0x13c7e1['string']();break;case 0x3:_0xe2c386['type']=_0x13c7e1['string']();break;case 0x4:_0xe2c386['createdAt']=_0x13c7e1['string']();break;case 0x5:_0xe2c386['data']=_0x13c7e1['string']();break;case 0x6:_0xe2c386['hasComments']=_0x13c7e1['bool']();break;case 0x7:_0xe2c386['state']=_0x13c7e1['string']();break;case 0x8:_0xe2c386['attributes']=_0x13c7e1['string']();break;default:_0x13c7e1['skipType'](0x7&_0x50e2de);}}return _0xe2c386;},_0x14d8c7['decodeDelimited']=function(_0x1bc784){return _0x1bc784 instanceof _0x223583||(_0x1bc784=new _0x223583(_0x1bc784)),this['decode'](_0x1bc784,_0x1bc784['uint32']());},_0x14d8c7['verify']=function(_0x357ab6){return'object'!=typeof _0x357ab6||null===_0x357ab6?'object\x20expected':null!=_0x357ab6['id']&&_0x357ab6['hasOwnProperty']('id')&&!_0x420af4['isString'](_0x357ab6['id'])?'id:\x20string\x20expected':null!=_0x357ab6['authorId']&&_0x357ab6['hasOwnProperty']('authorId')&&!_0x420af4['isString'](_0x357ab6['authorId'])?'authorId:\x20string\x20expected':null!=_0x357ab6['type']&&_0x357ab6['hasOwnProperty']('type')&&!_0x420af4['isString'](_0x357ab6['type'])?'type:\x20string\x20expected':null!=_0x357ab6['createdAt']&&_0x357ab6['hasOwnProperty']('createdAt')&&!_0x420af4['isString'](_0x357ab6['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x357ab6['data']&&_0x357ab6['hasOwnProperty']('data')&&!_0x420af4['isString'](_0x357ab6['data'])?'data:\x20string\x20expected':null!=_0x357ab6['hasComments']&&_0x357ab6['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x357ab6['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x357ab6['state']&&_0x357ab6['hasOwnProperty']('state')&&!_0x420af4['isString'](_0x357ab6['state'])?'state:\x20string\x20expected':null!=_0x357ab6['attributes']&&_0x357ab6['hasOwnProperty']('attributes')&&!_0x420af4['isString'](_0x357ab6['attributes'])?'attributes:\x20string\x20expected':null;},_0x14d8c7['fromObject']=function(_0x4b4782){if(_0x4b4782 instanceof _0x5e5fd8['TrackChangesAddSuggestionResponse'])return _0x4b4782;var _0x4d62c0=new _0x5e5fd8['TrackChangesAddSuggestionResponse']();return null!=_0x4b4782['id']&&(_0x4d62c0['id']=String(_0x4b4782['id'])),null!=_0x4b4782['authorId']&&(_0x4d62c0['authorId']=String(_0x4b4782['authorId'])),null!=_0x4b4782['type']&&(_0x4d62c0['type']=String(_0x4b4782['type'])),null!=_0x4b4782['createdAt']&&(_0x4d62c0['createdAt']=String(_0x4b4782['createdAt'])),null!=_0x4b4782['data']&&(_0x4d62c0['data']=String(_0x4b4782['data'])),null!=_0x4b4782['hasComments']&&(_0x4d62c0['hasComments']=Boolean(_0x4b4782['hasComments'])),null!=_0x4b4782['state']&&(_0x4d62c0['state']=String(_0x4b4782['state'])),null!=_0x4b4782['attributes']&&(_0x4d62c0['attributes']=String(_0x4b4782['attributes'])),_0x4d62c0;},_0x14d8c7['toObject']=function(_0x4027f2,_0x25e8f8){_0x25e8f8||(_0x25e8f8={});var _0x1d0c2f={};return _0x25e8f8['defaults']&&(_0x1d0c2f['id']='',_0x1d0c2f['authorId']='',_0x1d0c2f['type']='',_0x1d0c2f['createdAt']='',_0x1d0c2f['data']='',_0x1d0c2f['hasComments']=!0x1,_0x1d0c2f['state']='',_0x1d0c2f['attributes']=''),null!=_0x4027f2['id']&&_0x4027f2['hasOwnProperty']('id')&&(_0x1d0c2f['id']=_0x4027f2['id']),null!=_0x4027f2['authorId']&&_0x4027f2['hasOwnProperty']('authorId')&&(_0x1d0c2f['authorId']=_0x4027f2['authorId']),null!=_0x4027f2['type']&&_0x4027f2['hasOwnProperty']('type')&&(_0x1d0c2f['type']=_0x4027f2['type']),null!=_0x4027f2['createdAt']&&_0x4027f2['hasOwnProperty']('createdAt')&&(_0x1d0c2f['createdAt']=_0x4027f2['createdAt']),null!=_0x4027f2['data']&&_0x4027f2['hasOwnProperty']('data')&&(_0x1d0c2f['data']=_0x4027f2['data']),null!=_0x4027f2['hasComments']&&_0x4027f2['hasOwnProperty']('hasComments')&&(_0x1d0c2f['hasComments']=_0x4027f2['hasComments']),null!=_0x4027f2['state']&&_0x4027f2['hasOwnProperty']('state')&&(_0x1d0c2f['state']=_0x4027f2['state']),null!=_0x4027f2['attributes']&&_0x4027f2['hasOwnProperty']('attributes')&&(_0x1d0c2f['attributes']=_0x4027f2['attributes']),_0x1d0c2f;},_0x14d8c7['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x14d8c7['getTypeUrl']=function(_0x4ec809){return void 0x0===_0x4ec809&&(_0x4ec809='type.googleapis.com'),_0x4ec809+'/TrackChangesAddSuggestionResponse';},_0x14d8c7;}()),_0x5e5fd8['TrackChangesUpdateSuggestionMessage']=(function(){function _0x15533c(_0x461b60){if(_0x461b60){for(var _0x413f62=Object['keys'](_0x461b60),_0x263193=0x0;_0x263193<_0x413f62['length'];++_0x263193)null!=_0x461b60[_0x413f62[_0x263193]]&&(this[_0x413f62[_0x263193]]=_0x461b60[_0x413f62[_0x263193]]);}}return _0x15533c['prototype']['id']='',_0x15533c['prototype']['documentId']='',_0x15533c['prototype']['hasComments']=!0x1,_0x15533c['prototype']['isHasCommentsModified']=!0x1,_0x15533c['prototype']['state']='',_0x15533c['prototype']['attributes']='',_0x15533c['create']=function(_0x1485bf){return new _0x15533c(_0x1485bf);},_0x15533c['encode']=function(_0x270109,_0x732a0e){return _0x732a0e||(_0x732a0e=_0x500b66['create']()),null!=_0x270109['id']&&Object['hasOwnProperty']['call'](_0x270109,'id')&&_0x732a0e['uint32'](0xa)['string'](_0x270109['id']),null!=_0x270109['documentId']&&Object['hasOwnProperty']['call'](_0x270109,'documentId')&&_0x732a0e['uint32'](0x12)['string'](_0x270109['documentId']),null!=_0x270109['hasComments']&&Object['hasOwnProperty']['call'](_0x270109,'hasComments')&&_0x732a0e['uint32'](0x18)['bool'](_0x270109['hasComments']),null!=_0x270109['isHasCommentsModified']&&Object['hasOwnProperty']['call'](_0x270109,'isHasCommentsModified')&&_0x732a0e['uint32'](0x20)['bool'](_0x270109['isHasCommentsModified']),null!=_0x270109['state']&&Object['hasOwnProperty']['call'](_0x270109,'state')&&_0x732a0e['uint32'](0x2a)['string'](_0x270109['state']),null!=_0x270109['attributes']&&Object['hasOwnProperty']['call'](_0x270109,'attributes')&&_0x732a0e['uint32'](0x32)['string'](_0x270109['attributes']),_0x732a0e;},_0x15533c['encodeDelimited']=function(_0x1ed491,_0x2ec9a7){return this['encode'](_0x1ed491,_0x2ec9a7)['ldelim']();},_0x15533c['decode']=function(_0x17f4de,_0x21b0e0,_0x26d7d7){_0x17f4de instanceof _0x223583||(_0x17f4de=_0x223583['create'](_0x17f4de));for(var _0x271afe=void 0x0===_0x21b0e0?_0x17f4de['len']:_0x17f4de['pos']+_0x21b0e0,_0x14c7c7=new _0x5e5fd8['TrackChangesUpdateSuggestionMessage']();_0x17f4de['pos']<_0x271afe;){var _0x5c7031=_0x17f4de['uint32']();if(_0x5c7031===_0x26d7d7)break;switch(_0x5c7031>>>0x3){case 0x1:_0x14c7c7['id']=_0x17f4de['string']();break;case 0x2:_0x14c7c7['documentId']=_0x17f4de['string']();break;case 0x3:_0x14c7c7['hasComments']=_0x17f4de['bool']();break;case 0x4:_0x14c7c7['isHasCommentsModified']=_0x17f4de['bool']();break;case 0x5:_0x14c7c7['state']=_0x17f4de['string']();break;case 0x6:_0x14c7c7['attributes']=_0x17f4de['string']();break;default:_0x17f4de['skipType'](0x7&_0x5c7031);}}return _0x14c7c7;},_0x15533c['decodeDelimited']=function(_0x12ca90){return _0x12ca90 instanceof _0x223583||(_0x12ca90=new _0x223583(_0x12ca90)),this['decode'](_0x12ca90,_0x12ca90['uint32']());},_0x15533c['verify']=function(_0x128056){return'object'!=typeof _0x128056||null===_0x128056?'object\x20expected':null!=_0x128056['id']&&_0x128056['hasOwnProperty']('id')&&!_0x420af4['isString'](_0x128056['id'])?'id:\x20string\x20expected':null!=_0x128056['documentId']&&_0x128056['hasOwnProperty']('documentId')&&!_0x420af4['isString'](_0x128056['documentId'])?'documentId:\x20string\x20expected':null!=_0x128056['hasComments']&&_0x128056['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x128056['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x128056['isHasCommentsModified']&&_0x128056['hasOwnProperty']('isHasCommentsModified')&&'boolean'!=typeof _0x128056['isHasCommentsModified']?'isHasCommentsModified:\x20boolean\x20expected':null!=_0x128056['state']&&_0x128056['hasOwnProperty']('state')&&!_0x420af4['isString'](_0x128056['state'])?'state:\x20string\x20expected':null!=_0x128056['attributes']&&_0x128056['hasOwnProperty']('attributes')&&!_0x420af4['isString'](_0x128056['attributes'])?'attributes:\x20string\x20expected':null;},_0x15533c['fromObject']=function(_0x34ab87){if(_0x34ab87 instanceof _0x5e5fd8['TrackChangesUpdateSuggestionMessage'])return _0x34ab87;var _0x57cfdb=new _0x5e5fd8['TrackChangesUpdateSuggestionMessage']();return null!=_0x34ab87['id']&&(_0x57cfdb['id']=String(_0x34ab87['id'])),null!=_0x34ab87['documentId']&&(_0x57cfdb['documentId']=String(_0x34ab87['documentId'])),null!=_0x34ab87['hasComments']&&(_0x57cfdb['hasComments']=Boolean(_0x34ab87['hasComments'])),null!=_0x34ab87['isHasCommentsModified']&&(_0x57cfdb['isHasCommentsModified']=Boolean(_0x34ab87['isHasCommentsModified'])),null!=_0x34ab87['state']&&(_0x57cfdb['state']=String(_0x34ab87['state'])),null!=_0x34ab87['attributes']&&(_0x57cfdb['attributes']=String(_0x34ab87['attributes'])),_0x57cfdb;},_0x15533c['toObject']=function(_0x515096,_0x22039b){_0x22039b||(_0x22039b={});var _0x32d4a8={};return _0x22039b['defaults']&&(_0x32d4a8['id']='',_0x32d4a8['documentId']='',_0x32d4a8['hasComments']=!0x1,_0x32d4a8['isHasCommentsModified']=!0x1,_0x32d4a8['state']='',_0x32d4a8['attributes']=''),null!=_0x515096['id']&&_0x515096['hasOwnProperty']('id')&&(_0x32d4a8['id']=_0x515096['id']),null!=_0x515096['documentId']&&_0x515096['hasOwnProperty']('documentId')&&(_0x32d4a8['documentId']=_0x515096['documentId']),null!=_0x515096['hasComments']&&_0x515096['hasOwnProperty']('hasComments')&&(_0x32d4a8['hasComments']=_0x515096['hasComments']),null!=_0x515096['isHasCommentsModified']&&_0x515096['hasOwnProperty']('isHasCommentsModified')&&(_0x32d4a8['isHasCommentsModified']=_0x515096['isHasCommentsModified']),null!=_0x515096['state']&&_0x515096['hasOwnProperty']('state')&&(_0x32d4a8['state']=_0x515096['state']),null!=_0x515096['attributes']&&_0x515096['hasOwnProperty']('attributes')&&(_0x32d4a8['attributes']=_0x515096['attributes']),_0x32d4a8;},_0x15533c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x15533c['getTypeUrl']=function(_0x1d74bd){return void 0x0===_0x1d74bd&&(_0x1d74bd='type.googleapis.com'),_0x1d74bd+'/TrackChangesUpdateSuggestionMessage';},_0x15533c;}()),_0x5e5fd8['TrackChangesGetSuggestionMessage']=(function(){function _0x44ffe5(_0x1106b8){if(_0x1106b8){for(var _0x5c75f1=Object['keys'](_0x1106b8),_0x7e3009=0x0;_0x7e3009<_0x5c75f1['length'];++_0x7e3009)null!=_0x1106b8[_0x5c75f1[_0x7e3009]]&&(this[_0x5c75f1[_0x7e3009]]=_0x1106b8[_0x5c75f1[_0x7e3009]]);}}return _0x44ffe5['prototype']['id']='',_0x44ffe5['prototype']['documentId']='',_0x44ffe5['create']=function(_0x162d21){return new _0x44ffe5(_0x162d21);},_0x44ffe5['encode']=function(_0x1a54ed,_0x4e539a){return _0x4e539a||(_0x4e539a=_0x500b66['create']()),null!=_0x1a54ed['id']&&Object['hasOwnProperty']['call'](_0x1a54ed,'id')&&_0x4e539a['uint32'](0xa)['string'](_0x1a54ed['id']),null!=_0x1a54ed['documentId']&&Object['hasOwnProperty']['call'](_0x1a54ed,'documentId')&&_0x4e539a['uint32'](0x12)['string'](_0x1a54ed['documentId']),_0x4e539a;},_0x44ffe5['encodeDelimited']=function(_0x194637,_0x118632){return this['encode'](_0x194637,_0x118632)['ldelim']();},_0x44ffe5['decode']=function(_0x486b9b,_0x19220f,_0x479f2d){_0x486b9b instanceof _0x223583||(_0x486b9b=_0x223583['create'](_0x486b9b));for(var _0x3cd4ea=void 0x0===_0x19220f?_0x486b9b['len']:_0x486b9b['pos']+_0x19220f,_0xc0a0be=new _0x5e5fd8['TrackChangesGetSuggestionMessage']();_0x486b9b['pos']<_0x3cd4ea;){var _0x411d7b=_0x486b9b['uint32']();if(_0x411d7b===_0x479f2d)break;switch(_0x411d7b>>>0x3){case 0x1:_0xc0a0be['id']=_0x486b9b['string']();break;case 0x2:_0xc0a0be['documentId']=_0x486b9b['string']();break;default:_0x486b9b['skipType'](0x7&_0x411d7b);}}return _0xc0a0be;},_0x44ffe5['decodeDelimited']=function(_0x291085){return _0x291085 instanceof _0x223583||(_0x291085=new _0x223583(_0x291085)),this['decode'](_0x291085,_0x291085['uint32']());},_0x44ffe5['verify']=function(_0x3fb2b4){return'object'!=typeof _0x3fb2b4||null===_0x3fb2b4?'object\x20expected':null!=_0x3fb2b4['id']&&_0x3fb2b4['hasOwnProperty']('id')&&!_0x420af4['isString'](_0x3fb2b4['id'])?'id:\x20string\x20expected':null!=_0x3fb2b4['documentId']&&_0x3fb2b4['hasOwnProperty']('documentId')&&!_0x420af4['isString'](_0x3fb2b4['documentId'])?'documentId:\x20string\x20expected':null;},_0x44ffe5['fromObject']=function(_0x304c28){if(_0x304c28 instanceof _0x5e5fd8['TrackChangesGetSuggestionMessage'])return _0x304c28;var _0x5cfb08=new _0x5e5fd8['TrackChangesGetSuggestionMessage']();return null!=_0x304c28['id']&&(_0x5cfb08['id']=String(_0x304c28['id'])),null!=_0x304c28['documentId']&&(_0x5cfb08['documentId']=String(_0x304c28['documentId'])),_0x5cfb08;},_0x44ffe5['toObject']=function(_0x5ae54c,_0x447775){_0x447775||(_0x447775={});var _0x46c574={};return _0x447775['defaults']&&(_0x46c574['id']='',_0x46c574['documentId']=''),null!=_0x5ae54c['id']&&_0x5ae54c['hasOwnProperty']('id')&&(_0x46c574['id']=_0x5ae54c['id']),null!=_0x5ae54c['documentId']&&_0x5ae54c['hasOwnProperty']('documentId')&&(_0x46c574['documentId']=_0x5ae54c['documentId']),_0x46c574;},_0x44ffe5['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x44ffe5['getTypeUrl']=function(_0x1518b3){return void 0x0===_0x1518b3&&(_0x1518b3='type.googleapis.com'),_0x1518b3+'/TrackChangesGetSuggestionMessage';},_0x44ffe5;}()),_0x5e5fd8['TrackChangesGetAllSuggestionMessage']=(function(){function _0x41dd00(_0xb94ea1){if(_0xb94ea1){for(var _0x5c04fc=Object['keys'](_0xb94ea1),_0x3fd838=0x0;_0x3fd838<_0x5c04fc['length'];++_0x3fd838)null!=_0xb94ea1[_0x5c04fc[_0x3fd838]]&&(this[_0x5c04fc[_0x3fd838]]=_0xb94ea1[_0x5c04fc[_0x3fd838]]);}}return _0x41dd00['prototype']['documentId']='',_0x41dd00['create']=function(_0xc23d3c){return new _0x41dd00(_0xc23d3c);},_0x41dd00['encode']=function(_0x3861d7,_0x245520){return _0x245520||(_0x245520=_0x500b66['create']()),null!=_0x3861d7['documentId']&&Object['hasOwnProperty']['call'](_0x3861d7,'documentId')&&_0x245520['uint32'](0xa)['string'](_0x3861d7['documentId']),_0x245520;},_0x41dd00['encodeDelimited']=function(_0x2618d6,_0x52f5ce){return this['encode'](_0x2618d6,_0x52f5ce)['ldelim']();},_0x41dd00['decode']=function(_0x49aada,_0x30be51,_0x36facd){_0x49aada instanceof _0x223583||(_0x49aada=_0x223583['create'](_0x49aada));for(var _0xf79940=void 0x0===_0x30be51?_0x49aada['len']:_0x49aada['pos']+_0x30be51,_0x43f4a8=new _0x5e5fd8['TrackChangesGetAllSuggestionMessage']();_0x49aada['pos']<_0xf79940;){var _0x2380a1=_0x49aada['uint32']();if(_0x2380a1===_0x36facd)break;_0x2380a1>>>0x3==0x1?_0x43f4a8['documentId']=_0x49aada['string']():_0x49aada['skipType'](0x7&_0x2380a1);}return _0x43f4a8;},_0x41dd00['decodeDelimited']=function(_0x58d8b3){return _0x58d8b3 instanceof _0x223583||(_0x58d8b3=new _0x223583(_0x58d8b3)),this['decode'](_0x58d8b3,_0x58d8b3['uint32']());},_0x41dd00['verify']=function(_0x139f10){return'object'!=typeof _0x139f10||null===_0x139f10?'object\x20expected':null!=_0x139f10['documentId']&&_0x139f10['hasOwnProperty']('documentId')&&!_0x420af4['isString'](_0x139f10['documentId'])?'documentId:\x20string\x20expected':null;},_0x41dd00['fromObject']=function(_0x159047){if(_0x159047 instanceof _0x5e5fd8['TrackChangesGetAllSuggestionMessage'])return _0x159047;var _0x38e25c=new _0x5e5fd8['TrackChangesGetAllSuggestionMessage']();return null!=_0x159047['documentId']&&(_0x38e25c['documentId']=String(_0x159047['documentId'])),_0x38e25c;},_0x41dd00['toObject']=function(_0x5b9ef3,_0x256d77){_0x256d77||(_0x256d77={});var _0x2d4fac={};return _0x256d77['defaults']&&(_0x2d4fac['documentId']=''),null!=_0x5b9ef3['documentId']&&_0x5b9ef3['hasOwnProperty']('documentId')&&(_0x2d4fac['documentId']=_0x5b9ef3['documentId']),_0x2d4fac;},_0x41dd00['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x41dd00['getTypeUrl']=function(_0x53ae10){return void 0x0===_0x53ae10&&(_0x53ae10='type.googleapis.com'),_0x53ae10+'/TrackChangesGetAllSuggestionMessage';},_0x41dd00;}()),_0x5e5fd8['TrackChangesConnectMessage']=(function(){function _0x3a4bb3(_0x3714d9){if(_0x3714d9){for(var _0x48f011=Object['keys'](_0x3714d9),_0x5a8449=0x0;_0x5a8449<_0x48f011['length'];++_0x5a8449)null!=_0x3714d9[_0x48f011[_0x5a8449]]&&(this[_0x48f011[_0x5a8449]]=_0x3714d9[_0x48f011[_0x5a8449]]);}}return _0x3a4bb3['prototype']['documentId']='',_0x3a4bb3['create']=function(_0x933a4b){return new _0x3a4bb3(_0x933a4b);},_0x3a4bb3['encode']=function(_0x22cd3c,_0x3fda55){return _0x3fda55||(_0x3fda55=_0x500b66['create']()),null!=_0x22cd3c['documentId']&&Object['hasOwnProperty']['call'](_0x22cd3c,'documentId')&&_0x3fda55['uint32'](0xa)['string'](_0x22cd3c['documentId']),_0x3fda55;},_0x3a4bb3['encodeDelimited']=function(_0x18cecd,_0x5a99b8){return this['encode'](_0x18cecd,_0x5a99b8)['ldelim']();},_0x3a4bb3['decode']=function(_0x44a09c,_0x5d8d93,_0x5bb9fb){_0x44a09c instanceof _0x223583||(_0x44a09c=_0x223583['create'](_0x44a09c));for(var _0x8cd6d4=void 0x0===_0x5d8d93?_0x44a09c['len']:_0x44a09c['pos']+_0x5d8d93,_0x37a572=new _0x5e5fd8['TrackChangesConnectMessage']();_0x44a09c['pos']<_0x8cd6d4;){var _0x5933af=_0x44a09c['uint32']();if(_0x5933af===_0x5bb9fb)break;_0x5933af>>>0x3==0x1?_0x37a572['documentId']=_0x44a09c['string']():_0x44a09c['skipType'](0x7&_0x5933af);}return _0x37a572;},_0x3a4bb3['decodeDelimited']=function(_0x1b06a6){return _0x1b06a6 instanceof _0x223583||(_0x1b06a6=new _0x223583(_0x1b06a6)),this['decode'](_0x1b06a6,_0x1b06a6['uint32']());},_0x3a4bb3['verify']=function(_0x432c73){return'object'!=typeof _0x432c73||null===_0x432c73?'object\x20expected':null!=_0x432c73['documentId']&&_0x432c73['hasOwnProperty']('documentId')&&!_0x420af4['isString'](_0x432c73['documentId'])?'documentId:\x20string\x20expected':null;},_0x3a4bb3['fromObject']=function(_0x9dd66e){if(_0x9dd66e instanceof _0x5e5fd8['TrackChangesConnectMessage'])return _0x9dd66e;var _0x224ea7=new _0x5e5fd8['TrackChangesConnectMessage']();return null!=_0x9dd66e['documentId']&&(_0x224ea7['documentId']=String(_0x9dd66e['documentId'])),_0x224ea7;},_0x3a4bb3['toObject']=function(_0x296934,_0x58657d){_0x58657d||(_0x58657d={});var _0x31c3a4={};return _0x58657d['defaults']&&(_0x31c3a4['documentId']=''),null!=_0x296934['documentId']&&_0x296934['hasOwnProperty']('documentId')&&(_0x31c3a4['documentId']=_0x296934['documentId']),_0x31c3a4;},_0x3a4bb3['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x3a4bb3['getTypeUrl']=function(_0x43f5fe){return void 0x0===_0x43f5fe&&(_0x43f5fe='type.googleapis.com'),_0x43f5fe+'/TrackChangesConnectMessage';},_0x3a4bb3;}()),_0x5e5fd8['TrackChangesBatchUpdateSuggestionsStateMessage']=(function(){function _0x207e35(_0x2ea96e){if(this['ids']=[],_0x2ea96e){for(var _0xce94b8=Object['keys'](_0x2ea96e),_0x53fb82=0x0;_0x53fb82<_0xce94b8['length'];++_0x53fb82)null!=_0x2ea96e[_0xce94b8[_0x53fb82]]&&(this[_0xce94b8[_0x53fb82]]=_0x2ea96e[_0xce94b8[_0x53fb82]]);}}return _0x207e35['prototype']['ids']=_0x420af4['emptyArray'],_0x207e35['prototype']['documentId']='',_0x207e35['prototype']['state']='',_0x207e35['create']=function(_0x4102ec){return new _0x207e35(_0x4102ec);},_0x207e35['encode']=function(_0x53fcb4,_0x31ad4d){if(_0x31ad4d||(_0x31ad4d=_0x500b66['create']()),null!=_0x53fcb4['ids']&&_0x53fcb4['ids']['length']){for(var _0x30ccfe=0x0;_0x30ccfe<_0x53fcb4['ids']['length'];++_0x30ccfe)_0x31ad4d['uint32'](0xa)['string'](_0x53fcb4['ids'][_0x30ccfe]);}return null!=_0x53fcb4['documentId']&&Object['hasOwnProperty']['call'](_0x53fcb4,'documentId')&&_0x31ad4d['uint32'](0x12)['string'](_0x53fcb4['documentId']),null!=_0x53fcb4['state']&&Object['hasOwnProperty']['call'](_0x53fcb4,'state')&&_0x31ad4d['uint32'](0x1a)['string'](_0x53fcb4['state']),_0x31ad4d;},_0x207e35['encodeDelimited']=function(_0xe17419,_0x5b4fb9){return this['encode'](_0xe17419,_0x5b4fb9)['ldelim']();},_0x207e35['decode']=function(_0x377848,_0x3f3d0e,_0x57ec7c){_0x377848 instanceof _0x223583||(_0x377848=_0x223583['create'](_0x377848));for(var _0x3ddf12=void 0x0===_0x3f3d0e?_0x377848['len']:_0x377848['pos']+_0x3f3d0e,_0x1e6046=new _0x5e5fd8['TrackChangesBatchUpdateSuggestionsStateMessage']();_0x377848['pos']<_0x3ddf12;){var _0x35d6ca=_0x377848['uint32']();if(_0x35d6ca===_0x57ec7c)break;switch(_0x35d6ca>>>0x3){case 0x1:_0x1e6046['ids']&&_0x1e6046['ids']['length']||(_0x1e6046['ids']=[]),_0x1e6046['ids']['push'](_0x377848['string']());break;case 0x2:_0x1e6046['documentId']=_0x377848['string']();break;case 0x3:_0x1e6046['state']=_0x377848['string']();break;default:_0x377848['skipType'](0x7&_0x35d6ca);}}return _0x1e6046;},_0x207e35['decodeDelimited']=function(_0x200220){return _0x200220 instanceof _0x223583||(_0x200220=new _0x223583(_0x200220)),this['decode'](_0x200220,_0x200220['uint32']());},_0x207e35['verify']=function(_0xbc5941){if('object'!=typeof _0xbc5941||null===_0xbc5941)return'object\x20expected';if(null!=_0xbc5941['ids']&&_0xbc5941['hasOwnProperty']('ids')){if(!Array['isArray'](_0xbc5941['ids']))return'ids:\x20array\x20expected';for(var _0x532235=0x0;_0x532235<_0xbc5941['ids']['length'];++_0x532235)if(!_0x420af4['isString'](_0xbc5941['ids'][_0x532235]))return'ids:\x20string[]\x20expected';}return null!=_0xbc5941['documentId']&&_0xbc5941['hasOwnProperty']('documentId')&&!_0x420af4['isString'](_0xbc5941['documentId'])?'documentId:\x20string\x20expected':null!=_0xbc5941['state']&&_0xbc5941['hasOwnProperty']('state')&&!_0x420af4['isString'](_0xbc5941['state'])?'state:\x20string\x20expected':null;},_0x207e35['fromObject']=function(_0x1909bc){if(_0x1909bc instanceof _0x5e5fd8['TrackChangesBatchUpdateSuggestionsStateMessage'])return _0x1909bc;var _0x4220e6=new _0x5e5fd8['TrackChangesBatchUpdateSuggestionsStateMessage']();if(_0x1909bc['ids']){if(!Array['isArray'](_0x1909bc['ids']))throw TypeError('.TrackChangesBatchUpdateSuggestionsStateMessage.ids:\x20array\x20expected');_0x4220e6['ids']=[];for(var _0x5238d1=0x0;_0x5238d1<_0x1909bc['ids']['length'];++_0x5238d1)_0x4220e6['ids'][_0x5238d1]=String(_0x1909bc['ids'][_0x5238d1]);}return null!=_0x1909bc['documentId']&&(_0x4220e6['documentId']=String(_0x1909bc['documentId'])),null!=_0x1909bc['state']&&(_0x4220e6['state']=String(_0x1909bc['state'])),_0x4220e6;},_0x207e35['toObject']=function(_0x153c57,_0x4cf67e){_0x4cf67e||(_0x4cf67e={});var _0x5175a2={};if((_0x4cf67e['arrays']||_0x4cf67e['defaults'])&&(_0x5175a2['ids']=[]),_0x4cf67e['defaults']&&(_0x5175a2['documentId']='',_0x5175a2['state']=''),_0x153c57['ids']&&_0x153c57['ids']['length']){_0x5175a2['ids']=[];for(var _0x522c81=0x0;_0x522c81<_0x153c57['ids']['length'];++_0x522c81)_0x5175a2['ids'][_0x522c81]=_0x153c57['ids'][_0x522c81];}return null!=_0x153c57['documentId']&&_0x153c57['hasOwnProperty']('documentId')&&(_0x5175a2['documentId']=_0x153c57['documentId']),null!=_0x153c57['state']&&_0x153c57['hasOwnProperty']('state')&&(_0x5175a2['state']=_0x153c57['state']),_0x5175a2;},_0x207e35['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x207e35['getTypeUrl']=function(_0x2276d2){return void 0x0===_0x2276d2&&(_0x2276d2='type.googleapis.com'),_0x2276d2+'/TrackChangesBatchUpdateSuggestionsStateMessage';},_0x207e35;}()),_0x5e5fd8['TrackChangesAddSuggestionMessage']=(function(){function _0x2c6d8a(_0x371214){if(_0x371214){for(var _0x592337=Object['keys'](_0x371214),_0x47929d=0x0;_0x47929d<_0x592337['length'];++_0x47929d)null!=_0x371214[_0x592337[_0x47929d]]&&(this[_0x592337[_0x47929d]]=_0x371214[_0x592337[_0x47929d]]);}}return _0x2c6d8a['prototype']['id']='',_0x2c6d8a['prototype']['documentId']='',_0x2c6d8a['prototype']['type']='',_0x2c6d8a['prototype']['data']='',_0x2c6d8a['prototype']['originalSuggestionId']='',_0x2c6d8a['prototype']['attributes']='',_0x2c6d8a['create']=function(_0x493894){return new _0x2c6d8a(_0x493894);},_0x2c6d8a['encode']=function(_0x468cab,_0x1e8b40){return _0x1e8b40||(_0x1e8b40=_0x500b66['create']()),null!=_0x468cab['id']&&Object['hasOwnProperty']['call'](_0x468cab,'id')&&_0x1e8b40['uint32'](0xa)['string'](_0x468cab['id']),null!=_0x468cab['documentId']&&Object['hasOwnProperty']['call'](_0x468cab,'documentId')&&_0x1e8b40['uint32'](0x12)['string'](_0x468cab['documentId']),null!=_0x468cab['type']&&Object['hasOwnProperty']['call'](_0x468cab,'type')&&_0x1e8b40['uint32'](0x1a)['string'](_0x468cab['type']),null!=_0x468cab['data']&&Object['hasOwnProperty']['call'](_0x468cab,'data')&&_0x1e8b40['uint32'](0x22)['string'](_0x468cab['data']),null!=_0x468cab['originalSuggestionId']&&Object['hasOwnProperty']['call'](_0x468cab,'originalSuggestionId')&&_0x1e8b40['uint32'](0x2a)['string'](_0x468cab['originalSuggestionId']),null!=_0x468cab['attributes']&&Object['hasOwnProperty']['call'](_0x468cab,'attributes')&&_0x1e8b40['uint32'](0x32)['string'](_0x468cab['attributes']),_0x1e8b40;},_0x2c6d8a['encodeDelimited']=function(_0x5d0010,_0x1eecdf){return this['encode'](_0x5d0010,_0x1eecdf)['ldelim']();},_0x2c6d8a['decode']=function(_0x3c574a,_0xbafb49,_0x21aaac){_0x3c574a instanceof _0x223583||(_0x3c574a=_0x223583['create'](_0x3c574a));for(var _0xa52d39=void 0x0===_0xbafb49?_0x3c574a['len']:_0x3c574a['pos']+_0xbafb49,_0x1f551b=new _0x5e5fd8['TrackChangesAddSuggestionMessage']();_0x3c574a['pos']<_0xa52d39;){var _0x40764d=_0x3c574a['uint32']();if(_0x40764d===_0x21aaac)break;switch(_0x40764d>>>0x3){case 0x1:_0x1f551b['id']=_0x3c574a['string']();break;case 0x2:_0x1f551b['documentId']=_0x3c574a['string']();break;case 0x3:_0x1f551b['type']=_0x3c574a['string']();break;case 0x4:_0x1f551b['data']=_0x3c574a['string']();break;case 0x5:_0x1f551b['originalSuggestionId']=_0x3c574a['string']();break;case 0x6:_0x1f551b['attributes']=_0x3c574a['string']();break;default:_0x3c574a['skipType'](0x7&_0x40764d);}}return _0x1f551b;},_0x2c6d8a['decodeDelimited']=function(_0x53913f){return _0x53913f instanceof _0x223583||(_0x53913f=new _0x223583(_0x53913f)),this['decode'](_0x53913f,_0x53913f['uint32']());},_0x2c6d8a['verify']=function(_0x4b5e7a){return'object'!=typeof _0x4b5e7a||null===_0x4b5e7a?'object\x20expected':null!=_0x4b5e7a['id']&&_0x4b5e7a['hasOwnProperty']('id')&&!_0x420af4['isString'](_0x4b5e7a['id'])?'id:\x20string\x20expected':null!=_0x4b5e7a['documentId']&&_0x4b5e7a['hasOwnProperty']('documentId')&&!_0x420af4['isString'](_0x4b5e7a['documentId'])?'documentId:\x20string\x20expected':null!=_0x4b5e7a['type']&&_0x4b5e7a['hasOwnProperty']('type')&&!_0x420af4['isString'](_0x4b5e7a['type'])?'type:\x20string\x20expected':null!=_0x4b5e7a['data']&&_0x4b5e7a['hasOwnProperty']('data')&&!_0x420af4['isString'](_0x4b5e7a['data'])?'data:\x20string\x20expected':null!=_0x4b5e7a['originalSuggestionId']&&_0x4b5e7a['hasOwnProperty']('originalSuggestionId')&&!_0x420af4['isString'](_0x4b5e7a['originalSuggestionId'])?'originalSuggestionId:\x20string\x20expected':null!=_0x4b5e7a['attributes']&&_0x4b5e7a['hasOwnProperty']('attributes')&&!_0x420af4['isString'](_0x4b5e7a['attributes'])?'attributes:\x20string\x20expected':null;},_0x2c6d8a['fromObject']=function(_0x3634fd){if(_0x3634fd instanceof _0x5e5fd8['TrackChangesAddSuggestionMessage'])return _0x3634fd;var _0x4eea5e=new _0x5e5fd8['TrackChangesAddSuggestionMessage']();return null!=_0x3634fd['id']&&(_0x4eea5e['id']=String(_0x3634fd['id'])),null!=_0x3634fd['documentId']&&(_0x4eea5e['documentId']=String(_0x3634fd['documentId'])),null!=_0x3634fd['type']&&(_0x4eea5e['type']=String(_0x3634fd['type'])),null!=_0x3634fd['data']&&(_0x4eea5e['data']=String(_0x3634fd['data'])),null!=_0x3634fd['originalSuggestionId']&&(_0x4eea5e['originalSuggestionId']=String(_0x3634fd['originalSuggestionId'])),null!=_0x3634fd['attributes']&&(_0x4eea5e['attributes']=String(_0x3634fd['attributes'])),_0x4eea5e;},_0x2c6d8a['toObject']=function(_0x3a2bef,_0x750491){_0x750491||(_0x750491={});var _0x30c1af={};return _0x750491['defaults']&&(_0x30c1af['id']='',_0x30c1af['documentId']='',_0x30c1af['type']='',_0x30c1af['data']='',_0x30c1af['originalSuggestionId']='',_0x30c1af['attributes']=''),null!=_0x3a2bef['id']&&_0x3a2bef['hasOwnProperty']('id')&&(_0x30c1af['id']=_0x3a2bef['id']),null!=_0x3a2bef['documentId']&&_0x3a2bef['hasOwnProperty']('documentId')&&(_0x30c1af['documentId']=_0x3a2bef['documentId']),null!=_0x3a2bef['type']&&_0x3a2bef['hasOwnProperty']('type')&&(_0x30c1af['type']=_0x3a2bef['type']),null!=_0x3a2bef['data']&&_0x3a2bef['hasOwnProperty']('data')&&(_0x30c1af['data']=_0x3a2bef['data']),null!=_0x3a2bef['originalSuggestionId']&&_0x3a2bef['hasOwnProperty']('originalSuggestionId')&&(_0x30c1af['originalSuggestionId']=_0x3a2bef['originalSuggestionId']),null!=_0x3a2bef['attributes']&&_0x3a2bef['hasOwnProperty']('attributes')&&(_0x30c1af['attributes']=_0x3a2bef['attributes']),_0x30c1af;},_0x2c6d8a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2c6d8a['getTypeUrl']=function(_0x341492){return void 0x0===_0x341492&&(_0x341492='type.googleapis.com'),_0x341492+'/TrackChangesAddSuggestionMessage';},_0x2c6d8a;}()),_0x5e5fd8['SuggestionDescriptor']=(function(){function _0x29275e(_0x270f1b){if(_0x270f1b){for(var _0x35ba39=Object['keys'](_0x270f1b),_0x2f8121=0x0;_0x2f8121<_0x35ba39['length'];++_0x2f8121)null!=_0x270f1b[_0x35ba39[_0x2f8121]]&&(this[_0x35ba39[_0x2f8121]]=_0x270f1b[_0x35ba39[_0x2f8121]]);}}return _0x29275e['prototype']['id']='',_0x29275e['prototype']['authorId']='',_0x29275e['prototype']['type']='',_0x29275e['prototype']['createdAt']='',_0x29275e['prototype']['data']='',_0x29275e['prototype']['hasComments']=!0x1,_0x29275e['prototype']['state']='',_0x29275e['prototype']['attributes']='',_0x29275e['create']=function(_0x18dbcb){return new _0x29275e(_0x18dbcb);},_0x29275e['encode']=function(_0x532689,_0x11932d){return _0x11932d||(_0x11932d=_0x500b66['create']()),null!=_0x532689['id']&&Object['hasOwnProperty']['call'](_0x532689,'id')&&_0x11932d['uint32'](0xa)['string'](_0x532689['id']),null!=_0x532689['authorId']&&Object['hasOwnProperty']['call'](_0x532689,'authorId')&&_0x11932d['uint32'](0x12)['string'](_0x532689['authorId']),null!=_0x532689['type']&&Object['hasOwnProperty']['call'](_0x532689,'type')&&_0x11932d['uint32'](0x1a)['string'](_0x532689['type']),null!=_0x532689['createdAt']&&Object['hasOwnProperty']['call'](_0x532689,'createdAt')&&_0x11932d['uint32'](0x22)['string'](_0x532689['createdAt']),null!=_0x532689['data']&&Object['hasOwnProperty']['call'](_0x532689,'data')&&_0x11932d['uint32'](0x2a)['string'](_0x532689['data']),null!=_0x532689['hasComments']&&Object['hasOwnProperty']['call'](_0x532689,'hasComments')&&_0x11932d['uint32'](0x30)['bool'](_0x532689['hasComments']),null!=_0x532689['state']&&Object['hasOwnProperty']['call'](_0x532689,'state')&&_0x11932d['uint32'](0x3a)['string'](_0x532689['state']),null!=_0x532689['attributes']&&Object['hasOwnProperty']['call'](_0x532689,'attributes')&&_0x11932d['uint32'](0x42)['string'](_0x532689['attributes']),_0x11932d;},_0x29275e['encodeDelimited']=function(_0x26e999,_0x1275a5){return this['encode'](_0x26e999,_0x1275a5)['ldelim']();},_0x29275e['decode']=function(_0x16f27b,_0x1ffa3f,_0x290399){_0x16f27b instanceof _0x223583||(_0x16f27b=_0x223583['create'](_0x16f27b));for(var _0xc8daef=void 0x0===_0x1ffa3f?_0x16f27b['len']:_0x16f27b['pos']+_0x1ffa3f,_0x546bbf=new _0x5e5fd8['SuggestionDescriptor']();_0x16f27b['pos']<_0xc8daef;){var _0x3cb71a=_0x16f27b['uint32']();if(_0x3cb71a===_0x290399)break;switch(_0x3cb71a>>>0x3){case 0x1:_0x546bbf['id']=_0x16f27b['string']();break;case 0x2:_0x546bbf['authorId']=_0x16f27b['string']();break;case 0x3:_0x546bbf['type']=_0x16f27b['string']();break;case 0x4:_0x546bbf['createdAt']=_0x16f27b['string']();break;case 0x5:_0x546bbf['data']=_0x16f27b['string']();break;case 0x6:_0x546bbf['hasComments']=_0x16f27b['bool']();break;case 0x7:_0x546bbf['state']=_0x16f27b['string']();break;case 0x8:_0x546bbf['attributes']=_0x16f27b['string']();break;default:_0x16f27b['skipType'](0x7&_0x3cb71a);}}return _0x546bbf;},_0x29275e['decodeDelimited']=function(_0x2d6b27){return _0x2d6b27 instanceof _0x223583||(_0x2d6b27=new _0x223583(_0x2d6b27)),this['decode'](_0x2d6b27,_0x2d6b27['uint32']());},_0x29275e['verify']=function(_0x5d2a0c){return'object'!=typeof _0x5d2a0c||null===_0x5d2a0c?'object\x20expected':null!=_0x5d2a0c['id']&&_0x5d2a0c['hasOwnProperty']('id')&&!_0x420af4['isString'](_0x5d2a0c['id'])?'id:\x20string\x20expected':null!=_0x5d2a0c['authorId']&&_0x5d2a0c['hasOwnProperty']('authorId')&&!_0x420af4['isString'](_0x5d2a0c['authorId'])?'authorId:\x20string\x20expected':null!=_0x5d2a0c['type']&&_0x5d2a0c['hasOwnProperty']('type')&&!_0x420af4['isString'](_0x5d2a0c['type'])?'type:\x20string\x20expected':null!=_0x5d2a0c['createdAt']&&_0x5d2a0c['hasOwnProperty']('createdAt')&&!_0x420af4['isString'](_0x5d2a0c['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x5d2a0c['data']&&_0x5d2a0c['hasOwnProperty']('data')&&!_0x420af4['isString'](_0x5d2a0c['data'])?'data:\x20string\x20expected':null!=_0x5d2a0c['hasComments']&&_0x5d2a0c['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x5d2a0c['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x5d2a0c['state']&&_0x5d2a0c['hasOwnProperty']('state')&&!_0x420af4['isString'](_0x5d2a0c['state'])?'state:\x20string\x20expected':null!=_0x5d2a0c['attributes']&&_0x5d2a0c['hasOwnProperty']('attributes')&&!_0x420af4['isString'](_0x5d2a0c['attributes'])?'attributes:\x20string\x20expected':null;},_0x29275e['fromObject']=function(_0x3c26a3){if(_0x3c26a3 instanceof _0x5e5fd8['SuggestionDescriptor'])return _0x3c26a3;var _0x372cea=new _0x5e5fd8['SuggestionDescriptor']();return null!=_0x3c26a3['id']&&(_0x372cea['id']=String(_0x3c26a3['id'])),null!=_0x3c26a3['authorId']&&(_0x372cea['authorId']=String(_0x3c26a3['authorId'])),null!=_0x3c26a3['type']&&(_0x372cea['type']=String(_0x3c26a3['type'])),null!=_0x3c26a3['createdAt']&&(_0x372cea['createdAt']=String(_0x3c26a3['createdAt'])),null!=_0x3c26a3['data']&&(_0x372cea['data']=String(_0x3c26a3['data'])),null!=_0x3c26a3['hasComments']&&(_0x372cea['hasComments']=Boolean(_0x3c26a3['hasComments'])),null!=_0x3c26a3['state']&&(_0x372cea['state']=String(_0x3c26a3['state'])),null!=_0x3c26a3['attributes']&&(_0x372cea['attributes']=String(_0x3c26a3['attributes'])),_0x372cea;},_0x29275e['toObject']=function(_0x52beca,_0x4c6ef4){_0x4c6ef4||(_0x4c6ef4={});var _0x3cb99a={};return _0x4c6ef4['defaults']&&(_0x3cb99a['id']='',_0x3cb99a['authorId']='',_0x3cb99a['type']='',_0x3cb99a['createdAt']='',_0x3cb99a['data']='',_0x3cb99a['hasComments']=!0x1,_0x3cb99a['state']='',_0x3cb99a['attributes']=''),null!=_0x52beca['id']&&_0x52beca['hasOwnProperty']('id')&&(_0x3cb99a['id']=_0x52beca['id']),null!=_0x52beca['authorId']&&_0x52beca['hasOwnProperty']('authorId')&&(_0x3cb99a['authorId']=_0x52beca['authorId']),null!=_0x52beca['type']&&_0x52beca['hasOwnProperty']('type')&&(_0x3cb99a['type']=_0x52beca['type']),null!=_0x52beca['createdAt']&&_0x52beca['hasOwnProperty']('createdAt')&&(_0x3cb99a['createdAt']=_0x52beca['createdAt']),null!=_0x52beca['data']&&_0x52beca['hasOwnProperty']('data')&&(_0x3cb99a['data']=_0x52beca['data']),null!=_0x52beca['hasComments']&&_0x52beca['hasOwnProperty']('hasComments')&&(_0x3cb99a['hasComments']=_0x52beca['hasComments']),null!=_0x52beca['state']&&_0x52beca['hasOwnProperty']('state')&&(_0x3cb99a['state']=_0x52beca['state']),null!=_0x52beca['attributes']&&_0x52beca['hasOwnProperty']('attributes')&&(_0x3cb99a['attributes']=_0x52beca['attributes']),_0x3cb99a;},_0x29275e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x29275e['getTypeUrl']=function(_0xddf6d4){return void 0x0===_0xddf6d4&&(_0xddf6d4='type.googleapis.com'),_0xddf6d4+'/SuggestionDescriptor';},_0x29275e;}()),_0x5e5fd8['SessionsConnectResponse']=(function(){function _0x208e29(_0x2ac25a){if(this['sockets']=[],_0x2ac25a){for(var _0x561039=Object['keys'](_0x2ac25a),_0x53b6cf=0x0;_0x53b6cf<_0x561039['length'];++_0x53b6cf)null!=_0x2ac25a[_0x561039[_0x53b6cf]]&&(this[_0x561039[_0x53b6cf]]=_0x2ac25a[_0x561039[_0x53b6cf]]);}}return _0x208e29['prototype']['channel']='',_0x208e29['prototype']['sockets']=_0x420af4['emptyArray'],_0x208e29['create']=function(_0x47f75b){return new _0x208e29(_0x47f75b);},_0x208e29['encode']=function(_0xef7840,_0x48cd56){if(_0x48cd56||(_0x48cd56=_0x500b66['create']()),null!=_0xef7840['channel']&&Object['hasOwnProperty']['call'](_0xef7840,'channel')&&_0x48cd56['uint32'](0xa)['string'](_0xef7840['channel']),null!=_0xef7840['sockets']&&_0xef7840['sockets']['length']){for(var _0x96a92f=0x0;_0x96a92f<_0xef7840['sockets']['length'];++_0x96a92f)_0x5e5fd8['SessionsSocketDescriptor']['encode'](_0xef7840['sockets'][_0x96a92f],_0x48cd56['uint32'](0x12)['fork']())['ldelim']();}return _0x48cd56;},_0x208e29['encodeDelimited']=function(_0x36c9e9,_0x10b1f0){return this['encode'](_0x36c9e9,_0x10b1f0)['ldelim']();},_0x208e29['decode']=function(_0x3f6d27,_0x413571,_0x5ea42a){_0x3f6d27 instanceof _0x223583||(_0x3f6d27=_0x223583['create'](_0x3f6d27));for(var _0x122765=void 0x0===_0x413571?_0x3f6d27['len']:_0x3f6d27['pos']+_0x413571,_0x4e64e9=new _0x5e5fd8['SessionsConnectResponse']();_0x3f6d27['pos']<_0x122765;){var _0x58109a=_0x3f6d27['uint32']();if(_0x58109a===_0x5ea42a)break;switch(_0x58109a>>>0x3){case 0x1:_0x4e64e9['channel']=_0x3f6d27['string']();break;case 0x2:_0x4e64e9['sockets']&&_0x4e64e9['sockets']['length']||(_0x4e64e9['sockets']=[]),_0x4e64e9['sockets']['push'](_0x5e5fd8['SessionsSocketDescriptor']['decode'](_0x3f6d27,_0x3f6d27['uint32']()));break;default:_0x3f6d27['skipType'](0x7&_0x58109a);}}return _0x4e64e9;},_0x208e29['decodeDelimited']=function(_0x3c8e8d){return _0x3c8e8d instanceof _0x223583||(_0x3c8e8d=new _0x223583(_0x3c8e8d)),this['decode'](_0x3c8e8d,_0x3c8e8d['uint32']());},_0x208e29['verify']=function(_0x3a153d){if('object'!=typeof _0x3a153d||null===_0x3a153d)return'object\x20expected';if(null!=_0x3a153d['channel']&&_0x3a153d['hasOwnProperty']('channel')&&!_0x420af4['isString'](_0x3a153d['channel']))return'channel:\x20string\x20expected';if(null!=_0x3a153d['sockets']&&_0x3a153d['hasOwnProperty']('sockets')){if(!Array['isArray'](_0x3a153d['sockets']))return'sockets:\x20array\x20expected';for(var _0x1cac6d=0x0;_0x1cac6d<_0x3a153d['sockets']['length'];++_0x1cac6d){var _0x5e7281=_0x5e5fd8['SessionsSocketDescriptor']['verify'](_0x3a153d['sockets'][_0x1cac6d]);if(_0x5e7281)return'sockets.'+_0x5e7281;}}return null;},_0x208e29['fromObject']=function(_0x367803){if(_0x367803 instanceof _0x5e5fd8['SessionsConnectResponse'])return _0x367803;var _0x56323a=new _0x5e5fd8['SessionsConnectResponse']();if(null!=_0x367803['channel']&&(_0x56323a['channel']=String(_0x367803['channel'])),_0x367803['sockets']){if(!Array['isArray'](_0x367803['sockets']))throw TypeError('.SessionsConnectResponse.sockets:\x20array\x20expected');_0x56323a['sockets']=[];for(var _0x17da90=0x0;_0x17da90<_0x367803['sockets']['length'];++_0x17da90){if('object'!=typeof _0x367803['sockets'][_0x17da90])throw TypeError('.SessionsConnectResponse.sockets:\x20object\x20expected');_0x56323a['sockets'][_0x17da90]=_0x5e5fd8['SessionsSocketDescriptor']['fromObject'](_0x367803['sockets'][_0x17da90]);}}return _0x56323a;},_0x208e29['toObject']=function(_0x4c0572,_0x165d80){_0x165d80||(_0x165d80={});var _0x5bc024={};if((_0x165d80['arrays']||_0x165d80['defaults'])&&(_0x5bc024['sockets']=[]),_0x165d80['defaults']&&(_0x5bc024['channel']=''),null!=_0x4c0572['channel']&&_0x4c0572['hasOwnProperty']('channel')&&(_0x5bc024['channel']=_0x4c0572['channel']),_0x4c0572['sockets']&&_0x4c0572['sockets']['length']){_0x5bc024['sockets']=[];for(var _0x4e0e75=0x0;_0x4e0e75<_0x4c0572['sockets']['length'];++_0x4e0e75)_0x5bc024['sockets'][_0x4e0e75]=_0x5e5fd8['SessionsSocketDescriptor']['toObject'](_0x4c0572['sockets'][_0x4e0e75],_0x165d80);}return _0x5bc024;},_0x208e29['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x208e29['getTypeUrl']=function(_0x45002d){return void 0x0===_0x45002d&&(_0x45002d='type.googleapis.com'),_0x45002d+'/SessionsConnectResponse';},_0x208e29;}()),_0x5e5fd8['SocketDisconnectMessage']=(function(){function _0x2680cd(_0x1c1f71){if(_0x1c1f71){for(var _0x591542=Object['keys'](_0x1c1f71),_0x112d4a=0x0;_0x112d4a<_0x591542['length'];++_0x112d4a)null!=_0x1c1f71[_0x591542[_0x112d4a]]&&(this[_0x591542[_0x112d4a]]=_0x1c1f71[_0x591542[_0x112d4a]]);}}return _0x2680cd['prototype']['id']='',_0x2680cd['create']=function(_0x518fe2){return new _0x2680cd(_0x518fe2);},_0x2680cd['encode']=function(_0x3aa5b0,_0x1bda86){return _0x1bda86||(_0x1bda86=_0x500b66['create']()),null!=_0x3aa5b0['id']&&Object['hasOwnProperty']['call'](_0x3aa5b0,'id')&&_0x1bda86['uint32'](0xa)['string'](_0x3aa5b0['id']),_0x1bda86;},_0x2680cd['encodeDelimited']=function(_0x15dc77,_0x12889b){return this['encode'](_0x15dc77,_0x12889b)['ldelim']();},_0x2680cd['decode']=function(_0xef5476,_0x13d034,_0x5177d0){_0xef5476 instanceof _0x223583||(_0xef5476=_0x223583['create'](_0xef5476));for(var _0xdaa756=void 0x0===_0x13d034?_0xef5476['len']:_0xef5476['pos']+_0x13d034,_0x4cecfe=new _0x5e5fd8['SocketDisconnectMessage']();_0xef5476['pos']<_0xdaa756;){var _0x5d925d=_0xef5476['uint32']();if(_0x5d925d===_0x5177d0)break;_0x5d925d>>>0x3==0x1?_0x4cecfe['id']=_0xef5476['string']():_0xef5476['skipType'](0x7&_0x5d925d);}return _0x4cecfe;},_0x2680cd['decodeDelimited']=function(_0x1d8da6){return _0x1d8da6 instanceof _0x223583||(_0x1d8da6=new _0x223583(_0x1d8da6)),this['decode'](_0x1d8da6,_0x1d8da6['uint32']());},_0x2680cd['verify']=function(_0x4f57ae){return'object'!=typeof _0x4f57ae||null===_0x4f57ae?'object\x20expected':null!=_0x4f57ae['id']&&_0x4f57ae['hasOwnProperty']('id')&&!_0x420af4['isString'](_0x4f57ae['id'])?'id:\x20string\x20expected':null;},_0x2680cd['fromObject']=function(_0x50074e){if(_0x50074e instanceof _0x5e5fd8['SocketDisconnectMessage'])return _0x50074e;var _0x4727a8=new _0x5e5fd8['SocketDisconnectMessage']();return null!=_0x50074e['id']&&(_0x4727a8['id']=String(_0x50074e['id'])),_0x4727a8;},_0x2680cd['toObject']=function(_0x5496e9,_0x1d3790){_0x1d3790||(_0x1d3790={});var _0x557e90={};return _0x1d3790['defaults']&&(_0x557e90['id']=''),null!=_0x5496e9['id']&&_0x5496e9['hasOwnProperty']('id')&&(_0x557e90['id']=_0x5496e9['id']),_0x557e90;},_0x2680cd['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2680cd['getTypeUrl']=function(_0x22bbb2){return void 0x0===_0x22bbb2&&(_0x22bbb2='type.googleapis.com'),_0x22bbb2+'/SocketDisconnectMessage';},_0x2680cd;}()),_0x5e5fd8['SocketConnectMessage']=(function(){function _0xbffad9(_0x3acee6){if(this['permissions']=[],_0x3acee6){for(var _0x4c2f7e=Object['keys'](_0x3acee6),_0x4a31ef=0x0;_0x4a31ef<_0x4c2f7e['length'];++_0x4a31ef)null!=_0x3acee6[_0x4c2f7e[_0x4a31ef]]&&(this[_0x4c2f7e[_0x4a31ef]]=_0x3acee6[_0x4c2f7e[_0x4a31ef]]);}}return _0xbffad9['prototype']['id']='',_0xbffad9['prototype']['userId']='',_0xbffad9['prototype']['role']='',_0xbffad9['prototype']['permissions']=_0x420af4['emptyArray'],_0xbffad9['create']=function(_0x5d355f){return new _0xbffad9(_0x5d355f);},_0xbffad9['encode']=function(_0x27e5fd,_0x6f03b6){if(_0x6f03b6||(_0x6f03b6=_0x500b66['create']()),null!=_0x27e5fd['id']&&Object['hasOwnProperty']['call'](_0x27e5fd,'id')&&_0x6f03b6['uint32'](0xa)['string'](_0x27e5fd['id']),null!=_0x27e5fd['userId']&&Object['hasOwnProperty']['call'](_0x27e5fd,'userId')&&_0x6f03b6['uint32'](0x12)['string'](_0x27e5fd['userId']),null!=_0x27e5fd['role']&&Object['hasOwnProperty']['call'](_0x27e5fd,'role')&&_0x6f03b6['uint32'](0x1a)['string'](_0x27e5fd['role']),null!=_0x27e5fd['permissions']&&_0x27e5fd['permissions']['length']){for(var _0x2fd2c3=0x0;_0x2fd2c3<_0x27e5fd['permissions']['length'];++_0x2fd2c3)_0x6f03b6['uint32'](0x22)['string'](_0x27e5fd['permissions'][_0x2fd2c3]);}return _0x6f03b6;},_0xbffad9['encodeDelimited']=function(_0x4e8d1d,_0x2f4428){return this['encode'](_0x4e8d1d,_0x2f4428)['ldelim']();},_0xbffad9['decode']=function(_0xe16496,_0x5d3e1d,_0x585f6a){_0xe16496 instanceof _0x223583||(_0xe16496=_0x223583['create'](_0xe16496));for(var _0x122ec9=void 0x0===_0x5d3e1d?_0xe16496['len']:_0xe16496['pos']+_0x5d3e1d,_0x128823=new _0x5e5fd8['SocketConnectMessage']();_0xe16496['pos']<_0x122ec9;){var _0x23caac=_0xe16496['uint32']();if(_0x23caac===_0x585f6a)break;switch(_0x23caac>>>0x3){case 0x1:_0x128823['id']=_0xe16496['string']();break;case 0x2:_0x128823['userId']=_0xe16496['string']();break;case 0x3:_0x128823['role']=_0xe16496['string']();break;case 0x4:_0x128823['permissions']&&_0x128823['permissions']['length']||(_0x128823['permissions']=[]),_0x128823['permissions']['push'](_0xe16496['string']());break;default:_0xe16496['skipType'](0x7&_0x23caac);}}return _0x128823;},_0xbffad9['decodeDelimited']=function(_0x1822c7){return _0x1822c7 instanceof _0x223583||(_0x1822c7=new _0x223583(_0x1822c7)),this['decode'](_0x1822c7,_0x1822c7['uint32']());},_0xbffad9['verify']=function(_0x309689){if('object'!=typeof _0x309689||null===_0x309689)return'object\x20expected';if(null!=_0x309689['id']&&_0x309689['hasOwnProperty']('id')&&!_0x420af4['isString'](_0x309689['id']))return'id:\x20string\x20expected';if(null!=_0x309689['userId']&&_0x309689['hasOwnProperty']('userId')&&!_0x420af4['isString'](_0x309689['userId']))return'userId:\x20string\x20expected';if(null!=_0x309689['role']&&_0x309689['hasOwnProperty']('role')&&!_0x420af4['isString'](_0x309689['role']))return'role:\x20string\x20expected';if(null!=_0x309689['permissions']&&_0x309689['hasOwnProperty']('permissions')){if(!Array['isArray'](_0x309689['permissions']))return'permissions:\x20array\x20expected';for(var _0x23bde8=0x0;_0x23bde8<_0x309689['permissions']['length'];++_0x23bde8)if(!_0x420af4['isString'](_0x309689['permissions'][_0x23bde8]))return'permissions:\x20string[]\x20expected';}return null;},_0xbffad9['fromObject']=function(_0x2a233a){if(_0x2a233a instanceof _0x5e5fd8['SocketConnectMessage'])return _0x2a233a;var _0x217f3b=new _0x5e5fd8['SocketConnectMessage']();if(null!=_0x2a233a['id']&&(_0x217f3b['id']=String(_0x2a233a['id'])),null!=_0x2a233a['userId']&&(_0x217f3b['userId']=String(_0x2a233a['userId'])),null!=_0x2a233a['role']&&(_0x217f3b['role']=String(_0x2a233a['role'])),_0x2a233a['permissions']){if(!Array['isArray'](_0x2a233a['permissions']))throw TypeError('.SocketConnectMessage.permissions:\x20array\x20expected');_0x217f3b['permissions']=[];for(var _0x5262ec=0x0;_0x5262ec<_0x2a233a['permissions']['length'];++_0x5262ec)_0x217f3b['permissions'][_0x5262ec]=String(_0x2a233a['permissions'][_0x5262ec]);}return _0x217f3b;},_0xbffad9['toObject']=function(_0x631f3d,_0x4211fe){_0x4211fe||(_0x4211fe={});var _0x4a1e24={};if((_0x4211fe['arrays']||_0x4211fe['defaults'])&&(_0x4a1e24['permissions']=[]),_0x4211fe['defaults']&&(_0x4a1e24['id']='',_0x4a1e24['userId']='',_0x4a1e24['role']=''),null!=_0x631f3d['id']&&_0x631f3d['hasOwnProperty']('id')&&(_0x4a1e24['id']=_0x631f3d['id']),null!=_0x631f3d['userId']&&_0x631f3d['hasOwnProperty']('userId')&&(_0x4a1e24['userId']=_0x631f3d['userId']),null!=_0x631f3d['role']&&_0x631f3d['hasOwnProperty']('role')&&(_0x4a1e24['role']=_0x631f3d['role']),_0x631f3d['permissions']&&_0x631f3d['permissions']['length']){_0x4a1e24['permissions']=[];for(var _0x1b590b=0x0;_0x1b590b<_0x631f3d['permissions']['length'];++_0x1b590b)_0x4a1e24['permissions'][_0x1b590b]=_0x631f3d['permissions'][_0x1b590b];}return _0x4a1e24;},_0xbffad9['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0xbffad9['getTypeUrl']=function(_0x553ec3){return void 0x0===_0x553ec3&&(_0x553ec3='type.googleapis.com'),_0x553ec3+'/SocketConnectMessage';},_0xbffad9;}()),_0x5e5fd8['SessionsConnectMessage']=(function(){function _0x5c6d32(_0x37c892){if(_0x37c892){for(var _0x2a19bf=Object['keys'](_0x37c892),_0x30a8e6=0x0;_0x30a8e6<_0x2a19bf['length'];++_0x30a8e6)null!=_0x37c892[_0x2a19bf[_0x30a8e6]]&&(this[_0x2a19bf[_0x30a8e6]]=_0x37c892[_0x2a19bf[_0x30a8e6]]);}}return _0x5c6d32['prototype']['id']='',_0x5c6d32['prototype']['sessionType']=0x0,_0x5c6d32['create']=function(_0x364d27){return new _0x5c6d32(_0x364d27);},_0x5c6d32['encode']=function(_0x295592,_0x124c3e){return _0x124c3e||(_0x124c3e=_0x500b66['create']()),null!=_0x295592['id']&&Object['hasOwnProperty']['call'](_0x295592,'id')&&_0x124c3e['uint32'](0xa)['string'](_0x295592['id']),null!=_0x295592['sessionType']&&Object['hasOwnProperty']['call'](_0x295592,'sessionType')&&_0x124c3e['uint32'](0x10)['uint32'](_0x295592['sessionType']),_0x124c3e;},_0x5c6d32['encodeDelimited']=function(_0x48c8ed,_0x2b65fd){return this['encode'](_0x48c8ed,_0x2b65fd)['ldelim']();},_0x5c6d32['decode']=function(_0x322e50,_0x3f470a,_0x56b216){_0x322e50 instanceof _0x223583||(_0x322e50=_0x223583['create'](_0x322e50));for(var _0x1256b7=void 0x0===_0x3f470a?_0x322e50['len']:_0x322e50['pos']+_0x3f470a,_0x4b0e5e=new _0x5e5fd8['SessionsConnectMessage']();_0x322e50['pos']<_0x1256b7;){var _0x26ae48=_0x322e50['uint32']();if(_0x26ae48===_0x56b216)break;switch(_0x26ae48>>>0x3){case 0x1:_0x4b0e5e['id']=_0x322e50['string']();break;case 0x2:_0x4b0e5e['sessionType']=_0x322e50['uint32']();break;default:_0x322e50['skipType'](0x7&_0x26ae48);}}return _0x4b0e5e;},_0x5c6d32['decodeDelimited']=function(_0x425eb7){return _0x425eb7 instanceof _0x223583||(_0x425eb7=new _0x223583(_0x425eb7)),this['decode'](_0x425eb7,_0x425eb7['uint32']());},_0x5c6d32['verify']=function(_0xd169bb){return'object'!=typeof _0xd169bb||null===_0xd169bb?'object\x20expected':null!=_0xd169bb['id']&&_0xd169bb['hasOwnProperty']('id')&&!_0x420af4['isString'](_0xd169bb['id'])?'id:\x20string\x20expected':null!=_0xd169bb['sessionType']&&_0xd169bb['hasOwnProperty']('sessionType')&&!_0x420af4['isInteger'](_0xd169bb['sessionType'])?'sessionType:\x20integer\x20expected':null;},_0x5c6d32['fromObject']=function(_0x1ce51d){if(_0x1ce51d instanceof _0x5e5fd8['SessionsConnectMessage'])return _0x1ce51d;var _0x2be3f5=new _0x5e5fd8['SessionsConnectMessage']();return null!=_0x1ce51d['id']&&(_0x2be3f5['id']=String(_0x1ce51d['id'])),null!=_0x1ce51d['sessionType']&&(_0x2be3f5['sessionType']=_0x1ce51d['sessionType']>>>0x0),_0x2be3f5;},_0x5c6d32['toObject']=function(_0x3cb2c2,_0x1dbb5c){_0x1dbb5c||(_0x1dbb5c={});var _0x290c25={};return _0x1dbb5c['defaults']&&(_0x290c25['id']='',_0x290c25['sessionType']=0x0),null!=_0x3cb2c2['id']&&_0x3cb2c2['hasOwnProperty']('id')&&(_0x290c25['id']=_0x3cb2c2['id']),null!=_0x3cb2c2['sessionType']&&_0x3cb2c2['hasOwnProperty']('sessionType')&&(_0x290c25['sessionType']=_0x3cb2c2['sessionType']),_0x290c25;},_0x5c6d32['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x5c6d32['getTypeUrl']=function(_0x36bc08){return void 0x0===_0x36bc08&&(_0x36bc08='type.googleapis.com'),_0x36bc08+'/SessionsConnectMessage';},_0x5c6d32;}()),_0x5e5fd8['SessionsSocketDescriptor']=(function(){function _0x1ebbd3(_0x315481){if(this['permissions']=[],_0x315481){for(var _0x4c1819=Object['keys'](_0x315481),_0x50af7f=0x0;_0x50af7f<_0x4c1819['length'];++_0x50af7f)null!=_0x315481[_0x4c1819[_0x50af7f]]&&(this[_0x4c1819[_0x50af7f]]=_0x315481[_0x4c1819[_0x50af7f]]);}}return _0x1ebbd3['prototype']['session']='',_0x1ebbd3['prototype']['user']='',_0x1ebbd3['prototype']['role']='',_0x1ebbd3['prototype']['permissions']=_0x420af4['emptyArray'],_0x1ebbd3['create']=function(_0xe88eba){return new _0x1ebbd3(_0xe88eba);},_0x1ebbd3['encode']=function(_0x54acf3,_0x1b6a3c){if(_0x1b6a3c||(_0x1b6a3c=_0x500b66['create']()),null!=_0x54acf3['session']&&Object['hasOwnProperty']['call'](_0x54acf3,'session')&&_0x1b6a3c['uint32'](0xa)['string'](_0x54acf3['session']),null!=_0x54acf3['user']&&Object['hasOwnProperty']['call'](_0x54acf3,'user')&&_0x1b6a3c['uint32'](0x12)['string'](_0x54acf3['user']),null!=_0x54acf3['role']&&Object['hasOwnProperty']['call'](_0x54acf3,'role')&&_0x1b6a3c['uint32'](0x1a)['string'](_0x54acf3['role']),null!=_0x54acf3['permissions']&&_0x54acf3['permissions']['length']){for(var _0x581311=0x0;_0x581311<_0x54acf3['permissions']['length'];++_0x581311)_0x1b6a3c['uint32'](0x22)['string'](_0x54acf3['permissions'][_0x581311]);}return _0x1b6a3c;},_0x1ebbd3['encodeDelimited']=function(_0x2d1769,_0x5aba21){return this['encode'](_0x2d1769,_0x5aba21)['ldelim']();},_0x1ebbd3['decode']=function(_0x2a7ee4,_0x556b78,_0x13c4c1){_0x2a7ee4 instanceof _0x223583||(_0x2a7ee4=_0x223583['create'](_0x2a7ee4));for(var _0x589f80=void 0x0===_0x556b78?_0x2a7ee4['len']:_0x2a7ee4['pos']+_0x556b78,_0x3a822b=new _0x5e5fd8['SessionsSocketDescriptor']();_0x2a7ee4['pos']<_0x589f80;){var _0x1251b0=_0x2a7ee4['uint32']();if(_0x1251b0===_0x13c4c1)break;switch(_0x1251b0>>>0x3){case 0x1:_0x3a822b['session']=_0x2a7ee4['string']();break;case 0x2:_0x3a822b['user']=_0x2a7ee4['string']();break;case 0x3:_0x3a822b['role']=_0x2a7ee4['string']();break;case 0x4:_0x3a822b['permissions']&&_0x3a822b['permissions']['length']||(_0x3a822b['permissions']=[]),_0x3a822b['permissions']['push'](_0x2a7ee4['string']());break;default:_0x2a7ee4['skipType'](0x7&_0x1251b0);}}return _0x3a822b;},_0x1ebbd3['decodeDelimited']=function(_0x46c2d5){return _0x46c2d5 instanceof _0x223583||(_0x46c2d5=new _0x223583(_0x46c2d5)),this['decode'](_0x46c2d5,_0x46c2d5['uint32']());},_0x1ebbd3['verify']=function(_0x1c7d9d){if('object'!=typeof _0x1c7d9d||null===_0x1c7d9d)return'object\x20expected';if(null!=_0x1c7d9d['session']&&_0x1c7d9d['hasOwnProperty']('session')&&!_0x420af4['isString'](_0x1c7d9d['session']))return'session:\x20string\x20expected';if(null!=_0x1c7d9d['user']&&_0x1c7d9d['hasOwnProperty']('user')&&!_0x420af4['isString'](_0x1c7d9d['user']))return'user:\x20string\x20expected';if(null!=_0x1c7d9d['role']&&_0x1c7d9d['hasOwnProperty']('role')&&!_0x420af4['isString'](_0x1c7d9d['role']))return'role:\x20string\x20expected';if(null!=_0x1c7d9d['permissions']&&_0x1c7d9d['hasOwnProperty']('permissions')){if(!Array['isArray'](_0x1c7d9d['permissions']))return'permissions:\x20array\x20expected';for(var _0x19dc17=0x0;_0x19dc17<_0x1c7d9d['permissions']['length'];++_0x19dc17)if(!_0x420af4['isString'](_0x1c7d9d['permissions'][_0x19dc17]))return'permissions:\x20string[]\x20expected';}return null;},_0x1ebbd3['fromObject']=function(_0x578641){if(_0x578641 instanceof _0x5e5fd8['SessionsSocketDescriptor'])return _0x578641;var _0x1f5715=new _0x5e5fd8['SessionsSocketDescriptor']();if(null!=_0x578641['session']&&(_0x1f5715['session']=String(_0x578641['session'])),null!=_0x578641['user']&&(_0x1f5715['user']=String(_0x578641['user'])),null!=_0x578641['role']&&(_0x1f5715['role']=String(_0x578641['role'])),_0x578641['permissions']){if(!Array['isArray'](_0x578641['permissions']))throw TypeError('.SessionsSocketDescriptor.permissions:\x20array\x20expected');_0x1f5715['permissions']=[];for(var _0x17ebc6=0x0;_0x17ebc6<_0x578641['permissions']['length'];++_0x17ebc6)_0x1f5715['permissions'][_0x17ebc6]=String(_0x578641['permissions'][_0x17ebc6]);}return _0x1f5715;},_0x1ebbd3['toObject']=function(_0x1f9f28,_0x20812a){_0x20812a||(_0x20812a={});var _0x4d85e7={};if((_0x20812a['arrays']||_0x20812a['defaults'])&&(_0x4d85e7['permissions']=[]),_0x20812a['defaults']&&(_0x4d85e7['session']='',_0x4d85e7['user']='',_0x4d85e7['role']=''),null!=_0x1f9f28['session']&&_0x1f9f28['hasOwnProperty']('session')&&(_0x4d85e7['session']=_0x1f9f28['session']),null!=_0x1f9f28['user']&&_0x1f9f28['hasOwnProperty']('user')&&(_0x4d85e7['user']=_0x1f9f28['user']),null!=_0x1f9f28['role']&&_0x1f9f28['hasOwnProperty']('role')&&(_0x4d85e7['role']=_0x1f9f28['role']),_0x1f9f28['permissions']&&_0x1f9f28['permissions']['length']){_0x4d85e7['permissions']=[];for(var _0x4abb8a=0x0;_0x4abb8a<_0x1f9f28['permissions']['length'];++_0x4abb8a)_0x4d85e7['permissions'][_0x4abb8a]=_0x1f9f28['permissions'][_0x4abb8a];}return _0x4d85e7;},_0x1ebbd3['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1ebbd3['getTypeUrl']=function(_0x1fc39e){return void 0x0===_0x1fc39e&&(_0x1fc39e='type.googleapis.com'),_0x1fc39e+'/SessionsSocketDescriptor';},_0x1ebbd3;}()),_0x5e5fd8['RevisionHistoryUpdateRevisionsResponse']=(function(){function _0x2326a8(_0x1d0528){if(_0x1d0528){for(var _0x48b010=Object['keys'](_0x1d0528),_0x164416=0x0;_0x164416<_0x48b010['length'];++_0x164416)null!=_0x1d0528[_0x48b010[_0x164416]]&&(this[_0x48b010[_0x164416]]=_0x1d0528[_0x48b010[_0x164416]]);}}return _0x2326a8['prototype']['requestId']=0x0,_0x2326a8['create']=function(_0x38d88c){return new _0x2326a8(_0x38d88c);},_0x2326a8['encode']=function(_0xef4a53,_0xbd75fa){return _0xbd75fa||(_0xbd75fa=_0x500b66['create']()),null!=_0xef4a53['requestId']&&Object['hasOwnProperty']['call'](_0xef4a53,'requestId')&&_0xbd75fa['uint32'](0x8)['uint32'](_0xef4a53['requestId']),_0xbd75fa;},_0x2326a8['encodeDelimited']=function(_0x2fbe5a,_0x4a6964){return this['encode'](_0x2fbe5a,_0x4a6964)['ldelim']();},_0x2326a8['decode']=function(_0x281715,_0x42b16d,_0x17beec){_0x281715 instanceof _0x223583||(_0x281715=_0x223583['create'](_0x281715));for(var _0x2053c0=void 0x0===_0x42b16d?_0x281715['len']:_0x281715['pos']+_0x42b16d,_0x2589b8=new _0x5e5fd8['RevisionHistoryUpdateRevisionsResponse']();_0x281715['pos']<_0x2053c0;){var _0x50bc81=_0x281715['uint32']();if(_0x50bc81===_0x17beec)break;_0x50bc81>>>0x3==0x1?_0x2589b8['requestId']=_0x281715['uint32']():_0x281715['skipType'](0x7&_0x50bc81);}return _0x2589b8;},_0x2326a8['decodeDelimited']=function(_0x52cfb9){return _0x52cfb9 instanceof _0x223583||(_0x52cfb9=new _0x223583(_0x52cfb9)),this['decode'](_0x52cfb9,_0x52cfb9['uint32']());},_0x2326a8['verify']=function(_0x234d90){return'object'!=typeof _0x234d90||null===_0x234d90?'object\x20expected':null!=_0x234d90['requestId']&&_0x234d90['hasOwnProperty']('requestId')&&!_0x420af4['isInteger'](_0x234d90['requestId'])?'requestId:\x20integer\x20expected':null;},_0x2326a8['fromObject']=function(_0x3d29db){if(_0x3d29db instanceof _0x5e5fd8['RevisionHistoryUpdateRevisionsResponse'])return _0x3d29db;var _0x7452a8=new _0x5e5fd8['RevisionHistoryUpdateRevisionsResponse']();return null!=_0x3d29db['requestId']&&(_0x7452a8['requestId']=_0x3d29db['requestId']>>>0x0),_0x7452a8;},_0x2326a8['toObject']=function(_0x53c8c4,_0x4341d6){_0x4341d6||(_0x4341d6={});var _0x72995f={};return _0x4341d6['defaults']&&(_0x72995f['requestId']=0x0),null!=_0x53c8c4['requestId']&&_0x53c8c4['hasOwnProperty']('requestId')&&(_0x72995f['requestId']=_0x53c8c4['requestId']),_0x72995f;},_0x2326a8['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2326a8['getTypeUrl']=function(_0x37b2a5){return void 0x0===_0x37b2a5&&(_0x37b2a5='type.googleapis.com'),_0x37b2a5+'/RevisionHistoryUpdateRevisionsResponse';},_0x2326a8;}()),_0x5e5fd8['RevisionHistoryGetRevisionResponse']=(function(){function _0x48e912(_0x29894c){if(_0x29894c){for(var _0x4ca3d7=Object['keys'](_0x29894c),_0x22559b=0x0;_0x22559b<_0x4ca3d7['length'];++_0x22559b)null!=_0x29894c[_0x4ca3d7[_0x22559b]]&&(this[_0x4ca3d7[_0x22559b]]=_0x29894c[_0x4ca3d7[_0x22559b]]);}}return _0x48e912['prototype']['revisionId']='',_0x48e912['prototype']['name']='',_0x48e912['prototype']['creatorId']='',_0x48e912['prototype']['authorsIds']='',_0x48e912['prototype']['diffData']='',_0x48e912['prototype']['createdAt']='',_0x48e912['prototype']['attributes']='',_0x48e912['prototype']['toVersion']=0x0,_0x48e912['prototype']['fromVersion']=0x0,_0x48e912['prototype']['isEmptyCurrent']=!0x1,_0x48e912['create']=function(_0x5f3632){return new _0x48e912(_0x5f3632);},_0x48e912['encode']=function(_0x344064,_0x592564){return _0x592564||(_0x592564=_0x500b66['create']()),null!=_0x344064['revisionId']&&Object['hasOwnProperty']['call'](_0x344064,'revisionId')&&_0x592564['uint32'](0xa)['string'](_0x344064['revisionId']),null!=_0x344064['name']&&Object['hasOwnProperty']['call'](_0x344064,'name')&&_0x592564['uint32'](0x12)['string'](_0x344064['name']),null!=_0x344064['creatorId']&&Object['hasOwnProperty']['call'](_0x344064,'creatorId')&&_0x592564['uint32'](0x1a)['string'](_0x344064['creatorId']),null!=_0x344064['authorsIds']&&Object['hasOwnProperty']['call'](_0x344064,'authorsIds')&&_0x592564['uint32'](0x22)['string'](_0x344064['authorsIds']),null!=_0x344064['diffData']&&Object['hasOwnProperty']['call'](_0x344064,'diffData')&&_0x592564['uint32'](0x2a)['string'](_0x344064['diffData']),null!=_0x344064['createdAt']&&Object['hasOwnProperty']['call'](_0x344064,'createdAt')&&_0x592564['uint32'](0x32)['string'](_0x344064['createdAt']),null!=_0x344064['attributes']&&Object['hasOwnProperty']['call'](_0x344064,'attributes')&&_0x592564['uint32'](0x3a)['string'](_0x344064['attributes']),null!=_0x344064['toVersion']&&Object['hasOwnProperty']['call'](_0x344064,'toVersion')&&_0x592564['uint32'](0x40)['uint32'](_0x344064['toVersion']),null!=_0x344064['fromVersion']&&Object['hasOwnProperty']['call'](_0x344064,'fromVersion')&&_0x592564['uint32'](0x48)['uint32'](_0x344064['fromVersion']),null!=_0x344064['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x344064,'isEmptyCurrent')&&_0x592564['uint32'](0x50)['bool'](_0x344064['isEmptyCurrent']),_0x592564;},_0x48e912['encodeDelimited']=function(_0x5d7473,_0x3387bd){return this['encode'](_0x5d7473,_0x3387bd)['ldelim']();},_0x48e912['decode']=function(_0x564125,_0x54a353,_0x382ee6){_0x564125 instanceof _0x223583||(_0x564125=_0x223583['create'](_0x564125));for(var _0x121e32=void 0x0===_0x54a353?_0x564125['len']:_0x564125['pos']+_0x54a353,_0x57c1c1=new _0x5e5fd8['RevisionHistoryGetRevisionResponse']();_0x564125['pos']<_0x121e32;){var _0x4f152e=_0x564125['uint32']();if(_0x4f152e===_0x382ee6)break;switch(_0x4f152e>>>0x3){case 0x1:_0x57c1c1['revisionId']=_0x564125['string']();break;case 0x2:_0x57c1c1['name']=_0x564125['string']();break;case 0x3:_0x57c1c1['creatorId']=_0x564125['string']();break;case 0x4:_0x57c1c1['authorsIds']=_0x564125['string']();break;case 0x5:_0x57c1c1['diffData']=_0x564125['string']();break;case 0x6:_0x57c1c1['createdAt']=_0x564125['string']();break;case 0x7:_0x57c1c1['attributes']=_0x564125['string']();break;case 0x8:_0x57c1c1['toVersion']=_0x564125['uint32']();break;case 0x9:_0x57c1c1['fromVersion']=_0x564125['uint32']();break;case 0xa:_0x57c1c1['isEmptyCurrent']=_0x564125['bool']();break;default:_0x564125['skipType'](0x7&_0x4f152e);}}return _0x57c1c1;},_0x48e912['decodeDelimited']=function(_0xb6b244){return _0xb6b244 instanceof _0x223583||(_0xb6b244=new _0x223583(_0xb6b244)),this['decode'](_0xb6b244,_0xb6b244['uint32']());},_0x48e912['verify']=function(_0x484276){return'object'!=typeof _0x484276||null===_0x484276?'object\x20expected':null!=_0x484276['revisionId']&&_0x484276['hasOwnProperty']('revisionId')&&!_0x420af4['isString'](_0x484276['revisionId'])?'revisionId:\x20string\x20expected':null!=_0x484276['name']&&_0x484276['hasOwnProperty']('name')&&!_0x420af4['isString'](_0x484276['name'])?'name:\x20string\x20expected':null!=_0x484276['creatorId']&&_0x484276['hasOwnProperty']('creatorId')&&!_0x420af4['isString'](_0x484276['creatorId'])?'creatorId:\x20string\x20expected':null!=_0x484276['authorsIds']&&_0x484276['hasOwnProperty']('authorsIds')&&!_0x420af4['isString'](_0x484276['authorsIds'])?'authorsIds:\x20string\x20expected':null!=_0x484276['diffData']&&_0x484276['hasOwnProperty']('diffData')&&!_0x420af4['isString'](_0x484276['diffData'])?'diffData:\x20string\x20expected':null!=_0x484276['createdAt']&&_0x484276['hasOwnProperty']('createdAt')&&!_0x420af4['isString'](_0x484276['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x484276['attributes']&&_0x484276['hasOwnProperty']('attributes')&&!_0x420af4['isString'](_0x484276['attributes'])?'attributes:\x20string\x20expected':null!=_0x484276['toVersion']&&_0x484276['hasOwnProperty']('toVersion')&&!_0x420af4['isInteger'](_0x484276['toVersion'])?'toVersion:\x20integer\x20expected':null!=_0x484276['fromVersion']&&_0x484276['hasOwnProperty']('fromVersion')&&!_0x420af4['isInteger'](_0x484276['fromVersion'])?'fromVersion:\x20integer\x20expected':null!=_0x484276['isEmptyCurrent']&&_0x484276['hasOwnProperty']('isEmptyCurrent')&&'boolean'!=typeof _0x484276['isEmptyCurrent']?'isEmptyCurrent:\x20boolean\x20expected':null;},_0x48e912['fromObject']=function(_0x2b5e8f){if(_0x2b5e8f instanceof _0x5e5fd8['RevisionHistoryGetRevisionResponse'])return _0x2b5e8f;var _0x23a67b=new _0x5e5fd8['RevisionHistoryGetRevisionResponse']();return null!=_0x2b5e8f['revisionId']&&(_0x23a67b['revisionId']=String(_0x2b5e8f['revisionId'])),null!=_0x2b5e8f['name']&&(_0x23a67b['name']=String(_0x2b5e8f['name'])),null!=_0x2b5e8f['creatorId']&&(_0x23a67b['creatorId']=String(_0x2b5e8f['creatorId'])),null!=_0x2b5e8f['authorsIds']&&(_0x23a67b['authorsIds']=String(_0x2b5e8f['authorsIds'])),null!=_0x2b5e8f['diffData']&&(_0x23a67b['diffData']=String(_0x2b5e8f['diffData'])),null!=_0x2b5e8f['createdAt']&&(_0x23a67b['createdAt']=String(_0x2b5e8f['createdAt'])),null!=_0x2b5e8f['attributes']&&(_0x23a67b['attributes']=String(_0x2b5e8f['attributes'])),null!=_0x2b5e8f['toVersion']&&(_0x23a67b['toVersion']=_0x2b5e8f['toVersion']>>>0x0),null!=_0x2b5e8f['fromVersion']&&(_0x23a67b['fromVersion']=_0x2b5e8f['fromVersion']>>>0x0),null!=_0x2b5e8f['isEmptyCurrent']&&(_0x23a67b['isEmptyCurrent']=Boolean(_0x2b5e8f['isEmptyCurrent'])),_0x23a67b;},_0x48e912['toObject']=function(_0x19eb92,_0x1a5547){_0x1a5547||(_0x1a5547={});var _0x2344c9={};return _0x1a5547['defaults']&&(_0x2344c9['revisionId']='',_0x2344c9['name']='',_0x2344c9['creatorId']='',_0x2344c9['authorsIds']='',_0x2344c9['diffData']='',_0x2344c9['createdAt']='',_0x2344c9['attributes']='',_0x2344c9['toVersion']=0x0,_0x2344c9['fromVersion']=0x0,_0x2344c9['isEmptyCurrent']=!0x1),null!=_0x19eb92['revisionId']&&_0x19eb92['hasOwnProperty']('revisionId')&&(_0x2344c9['revisionId']=_0x19eb92['revisionId']),null!=_0x19eb92['name']&&_0x19eb92['hasOwnProperty']('name')&&(_0x2344c9['name']=_0x19eb92['name']),null!=_0x19eb92['creatorId']&&_0x19eb92['hasOwnProperty']('creatorId')&&(_0x2344c9['creatorId']=_0x19eb92['creatorId']),null!=_0x19eb92['authorsIds']&&_0x19eb92['hasOwnProperty']('authorsIds')&&(_0x2344c9['authorsIds']=_0x19eb92['authorsIds']),null!=_0x19eb92['diffData']&&_0x19eb92['hasOwnProperty']('diffData')&&(_0x2344c9['diffData']=_0x19eb92['diffData']),null!=_0x19eb92['createdAt']&&_0x19eb92['hasOwnProperty']('createdAt')&&(_0x2344c9['createdAt']=_0x19eb92['createdAt']),null!=_0x19eb92['attributes']&&_0x19eb92['hasOwnProperty']('attributes')&&(_0x2344c9['attributes']=_0x19eb92['attributes']),null!=_0x19eb92['toVersion']&&_0x19eb92['hasOwnProperty']('toVersion')&&(_0x2344c9['toVersion']=_0x19eb92['toVersion']),null!=_0x19eb92['fromVersion']&&_0x19eb92['hasOwnProperty']('fromVersion')&&(_0x2344c9['fromVersion']=_0x19eb92['fromVersion']),null!=_0x19eb92['isEmptyCurrent']&&_0x19eb92['hasOwnProperty']('isEmptyCurrent')&&(_0x2344c9['isEmptyCurrent']=_0x19eb92['isEmptyCurrent']),_0x2344c9;},_0x48e912['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x48e912['getTypeUrl']=function(_0x1fc240){return void 0x0===_0x1fc240&&(_0x1fc240='type.googleapis.com'),_0x1fc240+'/RevisionHistoryGetRevisionResponse';},_0x48e912;}()),_0x5e5fd8['RevisionHistoryConnectResponse']=(function(){function _0x373057(_0x1e4b34){if(this['revisions']=[],_0x1e4b34){for(var _0x5af3cd=Object['keys'](_0x1e4b34),_0x2e6466=0x0;_0x2e6466<_0x5af3cd['length'];++_0x2e6466)null!=_0x1e4b34[_0x5af3cd[_0x2e6466]]&&(this[_0x5af3cd[_0x2e6466]]=_0x1e4b34[_0x5af3cd[_0x2e6466]]);}}return _0x373057['prototype']['channel']='',_0x373057['prototype']['requestId']=0x0,_0x373057['prototype']['revisions']=_0x420af4['emptyArray'],_0x373057['create']=function(_0xfc73b9){return new _0x373057(_0xfc73b9);},_0x373057['encode']=function(_0x246d14,_0x22e4d2){if(_0x22e4d2||(_0x22e4d2=_0x500b66['create']()),null!=_0x246d14['channel']&&Object['hasOwnProperty']['call'](_0x246d14,'channel')&&_0x22e4d2['uint32'](0xa)['string'](_0x246d14['channel']),null!=_0x246d14['requestId']&&Object['hasOwnProperty']['call'](_0x246d14,'requestId')&&_0x22e4d2['uint32'](0x10)['uint32'](_0x246d14['requestId']),null!=_0x246d14['revisions']&&_0x246d14['revisions']['length']){for(var _0x32eb23=0x0;_0x32eb23<_0x246d14['revisions']['length'];++_0x32eb23)_0x5e5fd8['RevisionDescriptor']['encode'](_0x246d14['revisions'][_0x32eb23],_0x22e4d2['uint32'](0x1a)['fork']())['ldelim']();}return _0x22e4d2;},_0x373057['encodeDelimited']=function(_0x48fd03,_0x18ca77){return this['encode'](_0x48fd03,_0x18ca77)['ldelim']();},_0x373057['decode']=function(_0x38611,_0xc7b9b4,_0x544b3b){_0x38611 instanceof _0x223583||(_0x38611=_0x223583['create'](_0x38611));for(var _0x2fc397=void 0x0===_0xc7b9b4?_0x38611['len']:_0x38611['pos']+_0xc7b9b4,_0xabb8df=new _0x5e5fd8['RevisionHistoryConnectResponse']();_0x38611['pos']<_0x2fc397;){var _0x52b0c9=_0x38611['uint32']();if(_0x52b0c9===_0x544b3b)break;switch(_0x52b0c9>>>0x3){case 0x1:_0xabb8df['channel']=_0x38611['string']();break;case 0x2:_0xabb8df['requestId']=_0x38611['uint32']();break;case 0x3:_0xabb8df['revisions']&&_0xabb8df['revisions']['length']||(_0xabb8df['revisions']=[]),_0xabb8df['revisions']['push'](_0x5e5fd8['RevisionDescriptor']['decode'](_0x38611,_0x38611['uint32']()));break;default:_0x38611['skipType'](0x7&_0x52b0c9);}}return _0xabb8df;},_0x373057['decodeDelimited']=function(_0x308602){return _0x308602 instanceof _0x223583||(_0x308602=new _0x223583(_0x308602)),this['decode'](_0x308602,_0x308602['uint32']());},_0x373057['verify']=function(_0x5e6dcf){if('object'!=typeof _0x5e6dcf||null===_0x5e6dcf)return'object\x20expected';if(null!=_0x5e6dcf['channel']&&_0x5e6dcf['hasOwnProperty']('channel')&&!_0x420af4['isString'](_0x5e6dcf['channel']))return'channel:\x20string\x20expected';if(null!=_0x5e6dcf['requestId']&&_0x5e6dcf['hasOwnProperty']('requestId')&&!_0x420af4['isInteger'](_0x5e6dcf['requestId']))return'requestId:\x20integer\x20expected';if(null!=_0x5e6dcf['revisions']&&_0x5e6dcf['hasOwnProperty']('revisions')){if(!Array['isArray'](_0x5e6dcf['revisions']))return'revisions:\x20array\x20expected';for(var _0x9491cd=0x0;_0x9491cd<_0x5e6dcf['revisions']['length'];++_0x9491cd){var _0x5921cb=_0x5e5fd8['RevisionDescriptor']['verify'](_0x5e6dcf['revisions'][_0x9491cd]);if(_0x5921cb)return'revisions.'+_0x5921cb;}}return null;},_0x373057['fromObject']=function(_0x4fbadb){if(_0x4fbadb instanceof _0x5e5fd8['RevisionHistoryConnectResponse'])return _0x4fbadb;var _0x56fca4=new _0x5e5fd8['RevisionHistoryConnectResponse']();if(null!=_0x4fbadb['channel']&&(_0x56fca4['channel']=String(_0x4fbadb['channel'])),null!=_0x4fbadb['requestId']&&(_0x56fca4['requestId']=_0x4fbadb['requestId']>>>0x0),_0x4fbadb['revisions']){if(!Array['isArray'](_0x4fbadb['revisions']))throw TypeError('.RevisionHistoryConnectResponse.revisions:\x20array\x20expected');_0x56fca4['revisions']=[];for(var _0x31598f=0x0;_0x31598f<_0x4fbadb['revisions']['length'];++_0x31598f){if('object'!=typeof _0x4fbadb['revisions'][_0x31598f])throw TypeError('.RevisionHistoryConnectResponse.revisions:\x20object\x20expected');_0x56fca4['revisions'][_0x31598f]=_0x5e5fd8['RevisionDescriptor']['fromObject'](_0x4fbadb['revisions'][_0x31598f]);}}return _0x56fca4;},_0x373057['toObject']=function(_0x11526b,_0x1ca22a){_0x1ca22a||(_0x1ca22a={});var _0xa24994={};if((_0x1ca22a['arrays']||_0x1ca22a['defaults'])&&(_0xa24994['revisions']=[]),_0x1ca22a['defaults']&&(_0xa24994['channel']='',_0xa24994['requestId']=0x0),null!=_0x11526b['channel']&&_0x11526b['hasOwnProperty']('channel')&&(_0xa24994['channel']=_0x11526b['channel']),null!=_0x11526b['requestId']&&_0x11526b['hasOwnProperty']('requestId')&&(_0xa24994['requestId']=_0x11526b['requestId']),_0x11526b['revisions']&&_0x11526b['revisions']['length']){_0xa24994['revisions']=[];for(var _0x330096=0x0;_0x330096<_0x11526b['revisions']['length'];++_0x330096)_0xa24994['revisions'][_0x330096]=_0x5e5fd8['RevisionDescriptor']['toObject'](_0x11526b['revisions'][_0x330096],_0x1ca22a);}return _0xa24994;},_0x373057['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x373057['getTypeUrl']=function(_0xe5239c){return void 0x0===_0xe5239c&&(_0xe5239c='type.googleapis.com'),_0xe5239c+'/RevisionHistoryConnectResponse';},_0x373057;}()),_0x5e5fd8['RevisionHistoryUpdateRevisionsMessage']=(function(){function _0x1ec766(_0x3dd30a){if(this['revisions']=[],_0x3dd30a){for(var _0x2be8ed=Object['keys'](_0x3dd30a),_0x1fb4c9=0x0;_0x1fb4c9<_0x2be8ed['length'];++_0x1fb4c9)null!=_0x3dd30a[_0x2be8ed[_0x1fb4c9]]&&(this[_0x2be8ed[_0x1fb4c9]]=_0x3dd30a[_0x2be8ed[_0x1fb4c9]]);}}return _0x1ec766['prototype']['documentId']='',_0x1ec766['prototype']['requestId']=0x0,_0x1ec766['prototype']['revisions']=_0x420af4['emptyArray'],_0x1ec766['create']=function(_0x5e5363){return new _0x1ec766(_0x5e5363);},_0x1ec766['encode']=function(_0x1e9ce4,_0x5ddb0d){if(_0x5ddb0d||(_0x5ddb0d=_0x500b66['create']()),null!=_0x1e9ce4['documentId']&&Object['hasOwnProperty']['call'](_0x1e9ce4,'documentId')&&_0x5ddb0d['uint32'](0xa)['string'](_0x1e9ce4['documentId']),null!=_0x1e9ce4['requestId']&&Object['hasOwnProperty']['call'](_0x1e9ce4,'requestId')&&_0x5ddb0d['uint32'](0x10)['uint32'](_0x1e9ce4['requestId']),null!=_0x1e9ce4['revisions']&&_0x1e9ce4['revisions']['length']){for(var _0x15466d=0x0;_0x15466d<_0x1e9ce4['revisions']['length'];++_0x15466d)_0x5e5fd8['RevisionDescriptor']['encode'](_0x1e9ce4['revisions'][_0x15466d],_0x5ddb0d['uint32'](0x1a)['fork']())['ldelim']();}return _0x5ddb0d;},_0x1ec766['encodeDelimited']=function(_0x33d250,_0x4b0de0){return this['encode'](_0x33d250,_0x4b0de0)['ldelim']();},_0x1ec766['decode']=function(_0x2a4389,_0x42dd81,_0x378439){_0x2a4389 instanceof _0x223583||(_0x2a4389=_0x223583['create'](_0x2a4389));for(var _0x1d239f=void 0x0===_0x42dd81?_0x2a4389['len']:_0x2a4389['pos']+_0x42dd81,_0x3d1b6e=new _0x5e5fd8['RevisionHistoryUpdateRevisionsMessage']();_0x2a4389['pos']<_0x1d239f;){var _0x4363fa=_0x2a4389['uint32']();if(_0x4363fa===_0x378439)break;switch(_0x4363fa>>>0x3){case 0x1:_0x3d1b6e['documentId']=_0x2a4389['string']();break;case 0x2:_0x3d1b6e['requestId']=_0x2a4389['uint32']();break;case 0x3:_0x3d1b6e['revisions']&&_0x3d1b6e['revisions']['length']||(_0x3d1b6e['revisions']=[]),_0x3d1b6e['revisions']['push'](_0x5e5fd8['RevisionDescriptor']['decode'](_0x2a4389,_0x2a4389['uint32']()));break;default:_0x2a4389['skipType'](0x7&_0x4363fa);}}return _0x3d1b6e;},_0x1ec766['decodeDelimited']=function(_0x5d5f38){return _0x5d5f38 instanceof _0x223583||(_0x5d5f38=new _0x223583(_0x5d5f38)),this['decode'](_0x5d5f38,_0x5d5f38['uint32']());},_0x1ec766['verify']=function(_0x417583){if('object'!=typeof _0x417583||null===_0x417583)return'object\x20expected';if(null!=_0x417583['documentId']&&_0x417583['hasOwnProperty']('documentId')&&!_0x420af4['isString'](_0x417583['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x417583['requestId']&&_0x417583['hasOwnProperty']('requestId')&&!_0x420af4['isInteger'](_0x417583['requestId']))return'requestId:\x20integer\x20expected';if(null!=_0x417583['revisions']&&_0x417583['hasOwnProperty']('revisions')){if(!Array['isArray'](_0x417583['revisions']))return'revisions:\x20array\x20expected';for(var _0x49e45b=0x0;_0x49e45b<_0x417583['revisions']['length'];++_0x49e45b){var _0x2ab0f6=_0x5e5fd8['RevisionDescriptor']['verify'](_0x417583['revisions'][_0x49e45b]);if(_0x2ab0f6)return'revisions.'+_0x2ab0f6;}}return null;},_0x1ec766['fromObject']=function(_0x9a0faf){if(_0x9a0faf instanceof _0x5e5fd8['RevisionHistoryUpdateRevisionsMessage'])return _0x9a0faf;var _0x3e5988=new _0x5e5fd8['RevisionHistoryUpdateRevisionsMessage']();if(null!=_0x9a0faf['documentId']&&(_0x3e5988['documentId']=String(_0x9a0faf['documentId'])),null!=_0x9a0faf['requestId']&&(_0x3e5988['requestId']=_0x9a0faf['requestId']>>>0x0),_0x9a0faf['revisions']){if(!Array['isArray'](_0x9a0faf['revisions']))throw TypeError('.RevisionHistoryUpdateRevisionsMessage.revisions:\x20array\x20expected');_0x3e5988['revisions']=[];for(var _0x505f34=0x0;_0x505f34<_0x9a0faf['revisions']['length'];++_0x505f34){if('object'!=typeof _0x9a0faf['revisions'][_0x505f34])throw TypeError('.RevisionHistoryUpdateRevisionsMessage.revisions:\x20object\x20expected');_0x3e5988['revisions'][_0x505f34]=_0x5e5fd8['RevisionDescriptor']['fromObject'](_0x9a0faf['revisions'][_0x505f34]);}}return _0x3e5988;},_0x1ec766['toObject']=function(_0x8bf557,_0xc8d03b){_0xc8d03b||(_0xc8d03b={});var _0x2c8ac2={};if((_0xc8d03b['arrays']||_0xc8d03b['defaults'])&&(_0x2c8ac2['revisions']=[]),_0xc8d03b['defaults']&&(_0x2c8ac2['documentId']='',_0x2c8ac2['requestId']=0x0),null!=_0x8bf557['documentId']&&_0x8bf557['hasOwnProperty']('documentId')&&(_0x2c8ac2['documentId']=_0x8bf557['documentId']),null!=_0x8bf557['requestId']&&_0x8bf557['hasOwnProperty']('requestId')&&(_0x2c8ac2['requestId']=_0x8bf557['requestId']),_0x8bf557['revisions']&&_0x8bf557['revisions']['length']){_0x2c8ac2['revisions']=[];for(var _0x2780eb=0x0;_0x2780eb<_0x8bf557['revisions']['length'];++_0x2780eb)_0x2c8ac2['revisions'][_0x2780eb]=_0x5e5fd8['RevisionDescriptor']['toObject'](_0x8bf557['revisions'][_0x2780eb],_0xc8d03b);}return _0x2c8ac2;},_0x1ec766['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1ec766['getTypeUrl']=function(_0x208afa){return void 0x0===_0x208afa&&(_0x208afa='type.googleapis.com'),_0x208afa+'/RevisionHistoryUpdateRevisionsMessage';},_0x1ec766;}()),_0x5e5fd8['RevisionHistoryReconnectMessage']=(function(){function _0x20f9a3(_0x26b285){if(_0x26b285){for(var _0x2c17a9=Object['keys'](_0x26b285),_0x299f47=0x0;_0x299f47<_0x2c17a9['length'];++_0x299f47)null!=_0x26b285[_0x2c17a9[_0x299f47]]&&(this[_0x2c17a9[_0x299f47]]=_0x26b285[_0x2c17a9[_0x299f47]]);}}return _0x20f9a3['prototype']['documentId']='',_0x20f9a3['prototype']['requestId']=0x0,_0x20f9a3['create']=function(_0x3f6876){return new _0x20f9a3(_0x3f6876);},_0x20f9a3['encode']=function(_0x31da52,_0xde374b){return _0xde374b||(_0xde374b=_0x500b66['create']()),null!=_0x31da52['documentId']&&Object['hasOwnProperty']['call'](_0x31da52,'documentId')&&_0xde374b['uint32'](0xa)['string'](_0x31da52['documentId']),null!=_0x31da52['requestId']&&Object['hasOwnProperty']['call'](_0x31da52,'requestId')&&_0xde374b['uint32'](0x10)['uint32'](_0x31da52['requestId']),_0xde374b;},_0x20f9a3['encodeDelimited']=function(_0x38f5af,_0x341607){return this['encode'](_0x38f5af,_0x341607)['ldelim']();},_0x20f9a3['decode']=function(_0x36ee28,_0xa0f81c,_0x734f1b){_0x36ee28 instanceof _0x223583||(_0x36ee28=_0x223583['create'](_0x36ee28));for(var _0x2091ae=void 0x0===_0xa0f81c?_0x36ee28['len']:_0x36ee28['pos']+_0xa0f81c,_0x4b64b3=new _0x5e5fd8['RevisionHistoryReconnectMessage']();_0x36ee28['pos']<_0x2091ae;){var _0x12da43=_0x36ee28['uint32']();if(_0x12da43===_0x734f1b)break;switch(_0x12da43>>>0x3){case 0x1:_0x4b64b3['documentId']=_0x36ee28['string']();break;case 0x2:_0x4b64b3['requestId']=_0x36ee28['uint32']();break;default:_0x36ee28['skipType'](0x7&_0x12da43);}}return _0x4b64b3;},_0x20f9a3['decodeDelimited']=function(_0x25c571){return _0x25c571 instanceof _0x223583||(_0x25c571=new _0x223583(_0x25c571)),this['decode'](_0x25c571,_0x25c571['uint32']());},_0x20f9a3['verify']=function(_0x5b0114){return'object'!=typeof _0x5b0114||null===_0x5b0114?'object\x20expected':null!=_0x5b0114['documentId']&&_0x5b0114['hasOwnProperty']('documentId')&&!_0x420af4['isString'](_0x5b0114['documentId'])?'documentId:\x20string\x20expected':null!=_0x5b0114['requestId']&&_0x5b0114['hasOwnProperty']('requestId')&&!_0x420af4['isInteger'](_0x5b0114['requestId'])?'requestId:\x20integer\x20expected':null;},_0x20f9a3['fromObject']=function(_0x11067f){if(_0x11067f instanceof _0x5e5fd8['RevisionHistoryReconnectMessage'])return _0x11067f;var _0xeb03b9=new _0x5e5fd8['RevisionHistoryReconnectMessage']();return null!=_0x11067f['documentId']&&(_0xeb03b9['documentId']=String(_0x11067f['documentId'])),null!=_0x11067f['requestId']&&(_0xeb03b9['requestId']=_0x11067f['requestId']>>>0x0),_0xeb03b9;},_0x20f9a3['toObject']=function(_0x7fb508,_0xf423f0){_0xf423f0||(_0xf423f0={});var _0x43690d={};return _0xf423f0['defaults']&&(_0x43690d['documentId']='',_0x43690d['requestId']=0x0),null!=_0x7fb508['documentId']&&_0x7fb508['hasOwnProperty']('documentId')&&(_0x43690d['documentId']=_0x7fb508['documentId']),null!=_0x7fb508['requestId']&&_0x7fb508['hasOwnProperty']('requestId')&&(_0x43690d['requestId']=_0x7fb508['requestId']),_0x43690d;},_0x20f9a3['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x20f9a3['getTypeUrl']=function(_0x125080){return void 0x0===_0x125080&&(_0x125080='type.googleapis.com'),_0x125080+'/RevisionHistoryReconnectMessage';},_0x20f9a3;}()),_0x5e5fd8['RevisionHistoryGetRevisionMessage']=(function(){function _0x3ad2a3(_0x450693){if(_0x450693){for(var _0x3d0b1c=Object['keys'](_0x450693),_0x55e26a=0x0;_0x55e26a<_0x3d0b1c['length'];++_0x55e26a)null!=_0x450693[_0x3d0b1c[_0x55e26a]]&&(this[_0x3d0b1c[_0x55e26a]]=_0x450693[_0x3d0b1c[_0x55e26a]]);}}return _0x3ad2a3['prototype']['documentId']='',_0x3ad2a3['prototype']['revisionId']='',_0x3ad2a3['create']=function(_0x61ccc6){return new _0x3ad2a3(_0x61ccc6);},_0x3ad2a3['encode']=function(_0x2362b4,_0x3a4281){return _0x3a4281||(_0x3a4281=_0x500b66['create']()),null!=_0x2362b4['documentId']&&Object['hasOwnProperty']['call'](_0x2362b4,'documentId')&&_0x3a4281['uint32'](0xa)['string'](_0x2362b4['documentId']),null!=_0x2362b4['revisionId']&&Object['hasOwnProperty']['call'](_0x2362b4,'revisionId')&&_0x3a4281['uint32'](0x12)['string'](_0x2362b4['revisionId']),_0x3a4281;},_0x3ad2a3['encodeDelimited']=function(_0x1a59e4,_0x2003a1){return this['encode'](_0x1a59e4,_0x2003a1)['ldelim']();},_0x3ad2a3['decode']=function(_0x2e3859,_0x4ce8a3,_0x5ab7f2){_0x2e3859 instanceof _0x223583||(_0x2e3859=_0x223583['create'](_0x2e3859));for(var _0x5a2e06=void 0x0===_0x4ce8a3?_0x2e3859['len']:_0x2e3859['pos']+_0x4ce8a3,_0x45acdd=new _0x5e5fd8['RevisionHistoryGetRevisionMessage']();_0x2e3859['pos']<_0x5a2e06;){var _0x17ec0b=_0x2e3859['uint32']();if(_0x17ec0b===_0x5ab7f2)break;switch(_0x17ec0b>>>0x3){case 0x1:_0x45acdd['documentId']=_0x2e3859['string']();break;case 0x2:_0x45acdd['revisionId']=_0x2e3859['string']();break;default:_0x2e3859['skipType'](0x7&_0x17ec0b);}}return _0x45acdd;},_0x3ad2a3['decodeDelimited']=function(_0x305819){return _0x305819 instanceof _0x223583||(_0x305819=new _0x223583(_0x305819)),this['decode'](_0x305819,_0x305819['uint32']());},_0x3ad2a3['verify']=function(_0x4683b6){return'object'!=typeof _0x4683b6||null===_0x4683b6?'object\x20expected':null!=_0x4683b6['documentId']&&_0x4683b6['hasOwnProperty']('documentId')&&!_0x420af4['isString'](_0x4683b6['documentId'])?'documentId:\x20string\x20expected':null!=_0x4683b6['revisionId']&&_0x4683b6['hasOwnProperty']('revisionId')&&!_0x420af4['isString'](_0x4683b6['revisionId'])?'revisionId:\x20string\x20expected':null;},_0x3ad2a3['fromObject']=function(_0x46ce40){if(_0x46ce40 instanceof _0x5e5fd8['RevisionHistoryGetRevisionMessage'])return _0x46ce40;var _0x57151c=new _0x5e5fd8['RevisionHistoryGetRevisionMessage']();return null!=_0x46ce40['documentId']&&(_0x57151c['documentId']=String(_0x46ce40['documentId'])),null!=_0x46ce40['revisionId']&&(_0x57151c['revisionId']=String(_0x46ce40['revisionId'])),_0x57151c;},_0x3ad2a3['toObject']=function(_0x1101ed,_0x55c9d4){_0x55c9d4||(_0x55c9d4={});var _0x51e975={};return _0x55c9d4['defaults']&&(_0x51e975['documentId']='',_0x51e975['revisionId']=''),null!=_0x1101ed['documentId']&&_0x1101ed['hasOwnProperty']('documentId')&&(_0x51e975['documentId']=_0x1101ed['documentId']),null!=_0x1101ed['revisionId']&&_0x1101ed['hasOwnProperty']('revisionId')&&(_0x51e975['revisionId']=_0x1101ed['revisionId']),_0x51e975;},_0x3ad2a3['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x3ad2a3['getTypeUrl']=function(_0x5d5f35){return void 0x0===_0x5d5f35&&(_0x5d5f35='type.googleapis.com'),_0x5d5f35+'/RevisionHistoryGetRevisionMessage';},_0x3ad2a3;}()),_0x5e5fd8['RevisionHistoryConnectMessage']=(function(){function _0x209e86(_0x1aefc7){if(_0x1aefc7){for(var _0x256f5a=Object['keys'](_0x1aefc7),_0x167aaa=0x0;_0x167aaa<_0x256f5a['length'];++_0x167aaa)null!=_0x1aefc7[_0x256f5a[_0x167aaa]]&&(this[_0x256f5a[_0x167aaa]]=_0x1aefc7[_0x256f5a[_0x167aaa]]);}}return _0x209e86['prototype']['documentId']='',_0x209e86['create']=function(_0x2f2a55){return new _0x209e86(_0x2f2a55);},_0x209e86['encode']=function(_0x3cf6ea,_0x2ffc79){return _0x2ffc79||(_0x2ffc79=_0x500b66['create']()),null!=_0x3cf6ea['documentId']&&Object['hasOwnProperty']['call'](_0x3cf6ea,'documentId')&&_0x2ffc79['uint32'](0xa)['string'](_0x3cf6ea['documentId']),_0x2ffc79;},_0x209e86['encodeDelimited']=function(_0x9510d,_0xf9db3e){return this['encode'](_0x9510d,_0xf9db3e)['ldelim']();},_0x209e86['decode']=function(_0x4c5738,_0x1578ea,_0x121fd7){_0x4c5738 instanceof _0x223583||(_0x4c5738=_0x223583['create'](_0x4c5738));for(var _0x17287c=void 0x0===_0x1578ea?_0x4c5738['len']:_0x4c5738['pos']+_0x1578ea,_0x3d58c5=new _0x5e5fd8['RevisionHistoryConnectMessage']();_0x4c5738['pos']<_0x17287c;){var _0x1d9e7a=_0x4c5738['uint32']();if(_0x1d9e7a===_0x121fd7)break;_0x1d9e7a>>>0x3==0x1?_0x3d58c5['documentId']=_0x4c5738['string']():_0x4c5738['skipType'](0x7&_0x1d9e7a);}return _0x3d58c5;},_0x209e86['decodeDelimited']=function(_0x5cd4a7){return _0x5cd4a7 instanceof _0x223583||(_0x5cd4a7=new _0x223583(_0x5cd4a7)),this['decode'](_0x5cd4a7,_0x5cd4a7['uint32']());},_0x209e86['verify']=function(_0x37f626){return'object'!=typeof _0x37f626||null===_0x37f626?'object\x20expected':null!=_0x37f626['documentId']&&_0x37f626['hasOwnProperty']('documentId')&&!_0x420af4['isString'](_0x37f626['documentId'])?'documentId:\x20string\x20expected':null;},_0x209e86['fromObject']=function(_0x19263d){if(_0x19263d instanceof _0x5e5fd8['RevisionHistoryConnectMessage'])return _0x19263d;var _0x4d30d3=new _0x5e5fd8['RevisionHistoryConnectMessage']();return null!=_0x19263d['documentId']&&(_0x4d30d3['documentId']=String(_0x19263d['documentId'])),_0x4d30d3;},_0x209e86['toObject']=function(_0x28b0ad,_0x5b620e){_0x5b620e||(_0x5b620e={});var _0x55aeb5={};return _0x5b620e['defaults']&&(_0x55aeb5['documentId']=''),null!=_0x28b0ad['documentId']&&_0x28b0ad['hasOwnProperty']('documentId')&&(_0x55aeb5['documentId']=_0x28b0ad['documentId']),_0x55aeb5;},_0x209e86['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x209e86['getTypeUrl']=function(_0x4f5a3b){return void 0x0===_0x4f5a3b&&(_0x4f5a3b='type.googleapis.com'),_0x4f5a3b+'/RevisionHistoryConnectMessage';},_0x209e86;}()),_0x5e5fd8['RevisionDescriptor']=(function(){function _0x301ef7(_0x5cc7e3){if(_0x5cc7e3){for(var _0x4bb129=Object['keys'](_0x5cc7e3),_0x840710=0x0;_0x840710<_0x4bb129['length'];++_0x840710)null!=_0x5cc7e3[_0x4bb129[_0x840710]]&&(this[_0x4bb129[_0x840710]]=_0x5cc7e3[_0x4bb129[_0x840710]]);}}return _0x301ef7['prototype']['revisionId']='',_0x301ef7['prototype']['name']='',_0x301ef7['prototype']['creatorId']='',_0x301ef7['prototype']['authorsIds']='',_0x301ef7['prototype']['diffData']='',_0x301ef7['prototype']['createdAt']='',_0x301ef7['prototype']['attributes']='',_0x301ef7['prototype']['toVersion']=0x0,_0x301ef7['prototype']['fromVersion']=0x0,_0x301ef7['prototype']['isEmptyCurrent']=!0x1,_0x301ef7['create']=function(_0x4a863a){return new _0x301ef7(_0x4a863a);},_0x301ef7['encode']=function(_0x2cd0b1,_0x5295cd){return _0x5295cd||(_0x5295cd=_0x500b66['create']()),null!=_0x2cd0b1['revisionId']&&Object['hasOwnProperty']['call'](_0x2cd0b1,'revisionId')&&_0x5295cd['uint32'](0xa)['string'](_0x2cd0b1['revisionId']),null!=_0x2cd0b1['name']&&Object['hasOwnProperty']['call'](_0x2cd0b1,'name')&&_0x5295cd['uint32'](0x12)['string'](_0x2cd0b1['name']),null!=_0x2cd0b1['creatorId']&&Object['hasOwnProperty']['call'](_0x2cd0b1,'creatorId')&&_0x5295cd['uint32'](0x1a)['string'](_0x2cd0b1['creatorId']),null!=_0x2cd0b1['authorsIds']&&Object['hasOwnProperty']['call'](_0x2cd0b1,'authorsIds')&&_0x5295cd['uint32'](0x22)['string'](_0x2cd0b1['authorsIds']),null!=_0x2cd0b1['diffData']&&Object['hasOwnProperty']['call'](_0x2cd0b1,'diffData')&&_0x5295cd['uint32'](0x2a)['string'](_0x2cd0b1['diffData']),null!=_0x2cd0b1['createdAt']&&Object['hasOwnProperty']['call'](_0x2cd0b1,'createdAt')&&_0x5295cd['uint32'](0x32)['string'](_0x2cd0b1['createdAt']),null!=_0x2cd0b1['attributes']&&Object['hasOwnProperty']['call'](_0x2cd0b1,'attributes')&&_0x5295cd['uint32'](0x3a)['string'](_0x2cd0b1['attributes']),null!=_0x2cd0b1['toVersion']&&Object['hasOwnProperty']['call'](_0x2cd0b1,'toVersion')&&_0x5295cd['uint32'](0x40)['uint32'](_0x2cd0b1['toVersion']),null!=_0x2cd0b1['fromVersion']&&Object['hasOwnProperty']['call'](_0x2cd0b1,'fromVersion')&&_0x5295cd['uint32'](0x48)['uint32'](_0x2cd0b1['fromVersion']),null!=_0x2cd0b1['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x2cd0b1,'isEmptyCurrent')&&_0x5295cd['uint32'](0x50)['bool'](_0x2cd0b1['isEmptyCurrent']),_0x5295cd;},_0x301ef7['encodeDelimited']=function(_0x39a1f8,_0x195f68){return this['encode'](_0x39a1f8,_0x195f68)['ldelim']();},_0x301ef7['decode']=function(_0x52d013,_0xf7ae84,_0x3fc8f7){_0x52d013 instanceof _0x223583||(_0x52d013=_0x223583['create'](_0x52d013));for(var _0x123824=void 0x0===_0xf7ae84?_0x52d013['len']:_0x52d013['pos']+_0xf7ae84,_0x3f3ede=new _0x5e5fd8['RevisionDescriptor']();_0x52d013['pos']<_0x123824;){var _0x1f06ce=_0x52d013['uint32']();if(_0x1f06ce===_0x3fc8f7)break;switch(_0x1f06ce>>>0x3){case 0x1:_0x3f3ede['revisionId']=_0x52d013['string']();break;case 0x2:_0x3f3ede['name']=_0x52d013['string']();break;case 0x3:_0x3f3ede['creatorId']=_0x52d013['string']();break;case 0x4:_0x3f3ede['authorsIds']=_0x52d013['string']();break;case 0x5:_0x3f3ede['diffData']=_0x52d013['string']();break;case 0x6:_0x3f3ede['createdAt']=_0x52d013['string']();break;case 0x7:_0x3f3ede['attributes']=_0x52d013['string']();break;case 0x8:_0x3f3ede['toVersion']=_0x52d013['uint32']();break;case 0x9:_0x3f3ede['fromVersion']=_0x52d013['uint32']();break;case 0xa:_0x3f3ede['isEmptyCurrent']=_0x52d013['bool']();break;default:_0x52d013['skipType'](0x7&_0x1f06ce);}}return _0x3f3ede;},_0x301ef7['decodeDelimited']=function(_0x500caf){return _0x500caf instanceof _0x223583||(_0x500caf=new _0x223583(_0x500caf)),this['decode'](_0x500caf,_0x500caf['uint32']());},_0x301ef7['verify']=function(_0x5e5a12){return'object'!=typeof _0x5e5a12||null===_0x5e5a12?'object\x20expected':null!=_0x5e5a12['revisionId']&&_0x5e5a12['hasOwnProperty']('revisionId')&&!_0x420af4['isString'](_0x5e5a12['revisionId'])?'revisionId:\x20string\x20expected':null!=_0x5e5a12['name']&&_0x5e5a12['hasOwnProperty']('name')&&!_0x420af4['isString'](_0x5e5a12['name'])?'name:\x20string\x20expected':null!=_0x5e5a12['creatorId']&&_0x5e5a12['hasOwnProperty']('creatorId')&&!_0x420af4['isString'](_0x5e5a12['creatorId'])?'creatorId:\x20string\x20expected':null!=_0x5e5a12['authorsIds']&&_0x5e5a12['hasOwnProperty']('authorsIds')&&!_0x420af4['isString'](_0x5e5a12['authorsIds'])?'authorsIds:\x20string\x20expected':null!=_0x5e5a12['diffData']&&_0x5e5a12['hasOwnProperty']('diffData')&&!_0x420af4['isString'](_0x5e5a12['diffData'])?'diffData:\x20string\x20expected':null!=_0x5e5a12['createdAt']&&_0x5e5a12['hasOwnProperty']('createdAt')&&!_0x420af4['isString'](_0x5e5a12['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x5e5a12['attributes']&&_0x5e5a12['hasOwnProperty']('attributes')&&!_0x420af4['isString'](_0x5e5a12['attributes'])?'attributes:\x20string\x20expected':null!=_0x5e5a12['toVersion']&&_0x5e5a12['hasOwnProperty']('toVersion')&&!_0x420af4['isInteger'](_0x5e5a12['toVersion'])?'toVersion:\x20integer\x20expected':null!=_0x5e5a12['fromVersion']&&_0x5e5a12['hasOwnProperty']('fromVersion')&&!_0x420af4['isInteger'](_0x5e5a12['fromVersion'])?'fromVersion:\x20integer\x20expected':null!=_0x5e5a12['isEmptyCurrent']&&_0x5e5a12['hasOwnProperty']('isEmptyCurrent')&&'boolean'!=typeof _0x5e5a12['isEmptyCurrent']?'isEmptyCurrent:\x20boolean\x20expected':null;},_0x301ef7['fromObject']=function(_0x812649){if(_0x812649 instanceof _0x5e5fd8['RevisionDescriptor'])return _0x812649;var _0x4613f2=new _0x5e5fd8['RevisionDescriptor']();return null!=_0x812649['revisionId']&&(_0x4613f2['revisionId']=String(_0x812649['revisionId'])),null!=_0x812649['name']&&(_0x4613f2['name']=String(_0x812649['name'])),null!=_0x812649['creatorId']&&(_0x4613f2['creatorId']=String(_0x812649['creatorId'])),null!=_0x812649['authorsIds']&&(_0x4613f2['authorsIds']=String(_0x812649['authorsIds'])),null!=_0x812649['diffData']&&(_0x4613f2['diffData']=String(_0x812649['diffData'])),null!=_0x812649['createdAt']&&(_0x4613f2['createdAt']=String(_0x812649['createdAt'])),null!=_0x812649['attributes']&&(_0x4613f2['attributes']=String(_0x812649['attributes'])),null!=_0x812649['toVersion']&&(_0x4613f2['toVersion']=_0x812649['toVersion']>>>0x0),null!=_0x812649['fromVersion']&&(_0x4613f2['fromVersion']=_0x812649['fromVersion']>>>0x0),null!=_0x812649['isEmptyCurrent']&&(_0x4613f2['isEmptyCurrent']=Boolean(_0x812649['isEmptyCurrent'])),_0x4613f2;},_0x301ef7['toObject']=function(_0x5450f2,_0x59db30){_0x59db30||(_0x59db30={});var _0x5e1e94={};return _0x59db30['defaults']&&(_0x5e1e94['revisionId']='',_0x5e1e94['name']='',_0x5e1e94['creatorId']='',_0x5e1e94['authorsIds']='',_0x5e1e94['diffData']='',_0x5e1e94['createdAt']='',_0x5e1e94['attributes']='',_0x5e1e94['toVersion']=0x0,_0x5e1e94['fromVersion']=0x0,_0x5e1e94['isEmptyCurrent']=!0x1),null!=_0x5450f2['revisionId']&&_0x5450f2['hasOwnProperty']('revisionId')&&(_0x5e1e94['revisionId']=_0x5450f2['revisionId']),null!=_0x5450f2['name']&&_0x5450f2['hasOwnProperty']('name')&&(_0x5e1e94['name']=_0x5450f2['name']),null!=_0x5450f2['creatorId']&&_0x5450f2['hasOwnProperty']('creatorId')&&(_0x5e1e94['creatorId']=_0x5450f2['creatorId']),null!=_0x5450f2['authorsIds']&&_0x5450f2['hasOwnProperty']('authorsIds')&&(_0x5e1e94['authorsIds']=_0x5450f2['authorsIds']),null!=_0x5450f2['diffData']&&_0x5450f2['hasOwnProperty']('diffData')&&(_0x5e1e94['diffData']=_0x5450f2['diffData']),null!=_0x5450f2['createdAt']&&_0x5450f2['hasOwnProperty']('createdAt')&&(_0x5e1e94['createdAt']=_0x5450f2['createdAt']),null!=_0x5450f2['attributes']&&_0x5450f2['hasOwnProperty']('attributes')&&(_0x5e1e94['attributes']=_0x5450f2['attributes']),null!=_0x5450f2['toVersion']&&_0x5450f2['hasOwnProperty']('toVersion')&&(_0x5e1e94['toVersion']=_0x5450f2['toVersion']),null!=_0x5450f2['fromVersion']&&_0x5450f2['hasOwnProperty']('fromVersion')&&(_0x5e1e94['fromVersion']=_0x5450f2['fromVersion']),null!=_0x5450f2['isEmptyCurrent']&&_0x5450f2['hasOwnProperty']('isEmptyCurrent')&&(_0x5e1e94['isEmptyCurrent']=_0x5450f2['isEmptyCurrent']),_0x5e1e94;},_0x301ef7['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x301ef7['getTypeUrl']=function(_0x2fb154){return void 0x0===_0x2fb154&&(_0x2fb154='type.googleapis.com'),_0x2fb154+'/RevisionDescriptor';},_0x301ef7;}()),_0x5e5fd8['IsEditorBundleUploadedResponse']=(function(){function _0x1ed873(_0x5bc451){if(_0x5bc451){for(var _0x3a1660=Object['keys'](_0x5bc451),_0x1ea5d6=0x0;_0x1ea5d6<_0x3a1660['length'];++_0x1ea5d6)null!=_0x5bc451[_0x3a1660[_0x1ea5d6]]&&(this[_0x3a1660[_0x1ea5d6]]=_0x5bc451[_0x3a1660[_0x1ea5d6]]);}}return _0x1ed873['prototype']['isUploaded']=!0x1,_0x1ed873['create']=function(_0x3e36a1){return new _0x1ed873(_0x3e36a1);},_0x1ed873['encode']=function(_0x4267ad,_0x196f5f){return _0x196f5f||(_0x196f5f=_0x500b66['create']()),null!=_0x4267ad['isUploaded']&&Object['hasOwnProperty']['call'](_0x4267ad,'isUploaded')&&_0x196f5f['uint32'](0x8)['bool'](_0x4267ad['isUploaded']),_0x196f5f;},_0x1ed873['encodeDelimited']=function(_0x556d63,_0x3770db){return this['encode'](_0x556d63,_0x3770db)['ldelim']();},_0x1ed873['decode']=function(_0xdc3ea1,_0x41ffd2,_0x47bfea){_0xdc3ea1 instanceof _0x223583||(_0xdc3ea1=_0x223583['create'](_0xdc3ea1));for(var _0x387530=void 0x0===_0x41ffd2?_0xdc3ea1['len']:_0xdc3ea1['pos']+_0x41ffd2,_0x684977=new _0x5e5fd8['IsEditorBundleUploadedResponse']();_0xdc3ea1['pos']<_0x387530;){var _0x561c37=_0xdc3ea1['uint32']();if(_0x561c37===_0x47bfea)break;_0x561c37>>>0x3==0x1?_0x684977['isUploaded']=_0xdc3ea1['bool']():_0xdc3ea1['skipType'](0x7&_0x561c37);}return _0x684977;},_0x1ed873['decodeDelimited']=function(_0xb1d49){return _0xb1d49 instanceof _0x223583||(_0xb1d49=new _0x223583(_0xb1d49)),this['decode'](_0xb1d49,_0xb1d49['uint32']());},_0x1ed873['verify']=function(_0x1bcc5f){return'object'!=typeof _0x1bcc5f||null===_0x1bcc5f?'object\x20expected':null!=_0x1bcc5f['isUploaded']&&_0x1bcc5f['hasOwnProperty']('isUploaded')&&'boolean'!=typeof _0x1bcc5f['isUploaded']?'isUploaded:\x20boolean\x20expected':null;},_0x1ed873['fromObject']=function(_0x5c459a){if(_0x5c459a instanceof _0x5e5fd8['IsEditorBundleUploadedResponse'])return _0x5c459a;var _0x2c364c=new _0x5e5fd8['IsEditorBundleUploadedResponse']();return null!=_0x5c459a['isUploaded']&&(_0x2c364c['isUploaded']=Boolean(_0x5c459a['isUploaded'])),_0x2c364c;},_0x1ed873['toObject']=function(_0x5338d7,_0x37e03c){_0x37e03c||(_0x37e03c={});var _0xb8af7f={};return _0x37e03c['defaults']&&(_0xb8af7f['isUploaded']=!0x1),null!=_0x5338d7['isUploaded']&&_0x5338d7['hasOwnProperty']('isUploaded')&&(_0xb8af7f['isUploaded']=_0x5338d7['isUploaded']),_0xb8af7f;},_0x1ed873['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1ed873['getTypeUrl']=function(_0x58781d){return void 0x0===_0x58781d&&(_0x58781d='type.googleapis.com'),_0x58781d+'/IsEditorBundleUploadedResponse';},_0x1ed873;}()),_0x5e5fd8['IsEditorBundleUploadedMessage']=(function(){function _0x57beb7(_0x1ea159){if(_0x1ea159){for(var _0x35e4a2=Object['keys'](_0x1ea159),_0x930541=0x0;_0x930541<_0x35e4a2['length'];++_0x930541)null!=_0x1ea159[_0x35e4a2[_0x930541]]&&(this[_0x35e4a2[_0x930541]]=_0x1ea159[_0x35e4a2[_0x930541]]);}}return _0x57beb7['prototype']['bundleVersion']='',_0x57beb7['create']=function(_0x3f2c86){return new _0x57beb7(_0x3f2c86);},_0x57beb7['encode']=function(_0x2299c9,_0x1450d5){return _0x1450d5||(_0x1450d5=_0x500b66['create']()),null!=_0x2299c9['bundleVersion']&&Object['hasOwnProperty']['call'](_0x2299c9,'bundleVersion')&&_0x1450d5['uint32'](0xa)['string'](_0x2299c9['bundleVersion']),_0x1450d5;},_0x57beb7['encodeDelimited']=function(_0x2ac1ab,_0x1fd021){return this['encode'](_0x2ac1ab,_0x1fd021)['ldelim']();},_0x57beb7['decode']=function(_0x24668b,_0x70ea3f,_0x372516){_0x24668b instanceof _0x223583||(_0x24668b=_0x223583['create'](_0x24668b));for(var _0x1050d3=void 0x0===_0x70ea3f?_0x24668b['len']:_0x24668b['pos']+_0x70ea3f,_0x37d9c9=new _0x5e5fd8['IsEditorBundleUploadedMessage']();_0x24668b['pos']<_0x1050d3;){var _0x1fc72d=_0x24668b['uint32']();if(_0x1fc72d===_0x372516)break;_0x1fc72d>>>0x3==0x1?_0x37d9c9['bundleVersion']=_0x24668b['string']():_0x24668b['skipType'](0x7&_0x1fc72d);}return _0x37d9c9;},_0x57beb7['decodeDelimited']=function(_0x478678){return _0x478678 instanceof _0x223583||(_0x478678=new _0x223583(_0x478678)),this['decode'](_0x478678,_0x478678['uint32']());},_0x57beb7['verify']=function(_0x41ef2c){return'object'!=typeof _0x41ef2c||null===_0x41ef2c?'object\x20expected':null!=_0x41ef2c['bundleVersion']&&_0x41ef2c['hasOwnProperty']('bundleVersion')&&!_0x420af4['isString'](_0x41ef2c['bundleVersion'])?'bundleVersion:\x20string\x20expected':null;},_0x57beb7['fromObject']=function(_0xd8c764){if(_0xd8c764 instanceof _0x5e5fd8['IsEditorBundleUploadedMessage'])return _0xd8c764;var _0x347fac=new _0x5e5fd8['IsEditorBundleUploadedMessage']();return null!=_0xd8c764['bundleVersion']&&(_0x347fac['bundleVersion']=String(_0xd8c764['bundleVersion'])),_0x347fac;},_0x57beb7['toObject']=function(_0x386825,_0x431ebc){_0x431ebc||(_0x431ebc={});var _0x4aee41={};return _0x431ebc['defaults']&&(_0x4aee41['bundleVersion']=''),null!=_0x386825['bundleVersion']&&_0x386825['hasOwnProperty']('bundleVersion')&&(_0x4aee41['bundleVersion']=_0x386825['bundleVersion']),_0x4aee41;},_0x57beb7['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x57beb7['getTypeUrl']=function(_0x3e991c){return void 0x0===_0x3e991c&&(_0x3e991c='type.googleapis.com'),_0x3e991c+'/IsEditorBundleUploadedMessage';},_0x57beb7;}()),_0x5e5fd8['KeyValueDescriptor']=(function(){function _0x2d6320(_0x6ae789){if(_0x6ae789){for(var _0x99cac0=Object['keys'](_0x6ae789),_0x5d8d45=0x0;_0x5d8d45<_0x99cac0['length'];++_0x5d8d45)null!=_0x6ae789[_0x99cac0[_0x5d8d45]]&&(this[_0x99cac0[_0x5d8d45]]=_0x6ae789[_0x99cac0[_0x5d8d45]]);}}return _0x2d6320['prototype']['key']='',_0x2d6320['prototype']['value']='',_0x2d6320['create']=function(_0x3d034f){return new _0x2d6320(_0x3d034f);},_0x2d6320['encode']=function(_0x5e8073,_0x3915e3){return _0x3915e3||(_0x3915e3=_0x500b66['create']()),null!=_0x5e8073['key']&&Object['hasOwnProperty']['call'](_0x5e8073,'key')&&_0x3915e3['uint32'](0xa)['string'](_0x5e8073['key']),null!=_0x5e8073['value']&&Object['hasOwnProperty']['call'](_0x5e8073,'value')&&_0x3915e3['uint32'](0x12)['string'](_0x5e8073['value']),_0x3915e3;},_0x2d6320['encodeDelimited']=function(_0xface02,_0x42e989){return this['encode'](_0xface02,_0x42e989)['ldelim']();},_0x2d6320['decode']=function(_0x3ad525,_0x13b70e,_0x543ae6){_0x3ad525 instanceof _0x223583||(_0x3ad525=_0x223583['create'](_0x3ad525));for(var _0x431531=void 0x0===_0x13b70e?_0x3ad525['len']:_0x3ad525['pos']+_0x13b70e,_0x1ce601=new _0x5e5fd8['KeyValueDescriptor']();_0x3ad525['pos']<_0x431531;){var _0x24e5c2=_0x3ad525['uint32']();if(_0x24e5c2===_0x543ae6)break;switch(_0x24e5c2>>>0x3){case 0x1:_0x1ce601['key']=_0x3ad525['string']();break;case 0x2:_0x1ce601['value']=_0x3ad525['string']();break;default:_0x3ad525['skipType'](0x7&_0x24e5c2);}}return _0x1ce601;},_0x2d6320['decodeDelimited']=function(_0x3d4ea0){return _0x3d4ea0 instanceof _0x223583||(_0x3d4ea0=new _0x223583(_0x3d4ea0)),this['decode'](_0x3d4ea0,_0x3d4ea0['uint32']());},_0x2d6320['verify']=function(_0x44e532){return'object'!=typeof _0x44e532||null===_0x44e532?'object\x20expected':null!=_0x44e532['key']&&_0x44e532['hasOwnProperty']('key')&&!_0x420af4['isString'](_0x44e532['key'])?'key:\x20string\x20expected':null!=_0x44e532['value']&&_0x44e532['hasOwnProperty']('value')&&!_0x420af4['isString'](_0x44e532['value'])?'value:\x20string\x20expected':null;},_0x2d6320['fromObject']=function(_0x575522){if(_0x575522 instanceof _0x5e5fd8['KeyValueDescriptor'])return _0x575522;var _0x33a8c8=new _0x5e5fd8['KeyValueDescriptor']();return null!=_0x575522['key']&&(_0x33a8c8['key']=String(_0x575522['key'])),null!=_0x575522['value']&&(_0x33a8c8['value']=String(_0x575522['value'])),_0x33a8c8;},_0x2d6320['toObject']=function(_0xaa70e4,_0x134a5f){_0x134a5f||(_0x134a5f={});var _0x31a4c7={};return _0x134a5f['defaults']&&(_0x31a4c7['key']='',_0x31a4c7['value']=''),null!=_0xaa70e4['key']&&_0xaa70e4['hasOwnProperty']('key')&&(_0x31a4c7['key']=_0xaa70e4['key']),null!=_0xaa70e4['value']&&_0xaa70e4['hasOwnProperty']('value')&&(_0x31a4c7['value']=_0xaa70e4['value']),_0x31a4c7;},_0x2d6320['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2d6320['getTypeUrl']=function(_0x56e7a1){return void 0x0===_0x56e7a1&&(_0x56e7a1='type.googleapis.com'),_0x56e7a1+'/KeyValueDescriptor';},_0x2d6320;}()),_0x5e5fd8['CommentsV2GetDocumentThreadsResponse']=(function(){function _0x1cfa18(_0x4362c2){if(this['threads']=[],this['threadsV2']=[],_0x4362c2){for(var _0x2ee2e0=Object['keys'](_0x4362c2),_0xe6df4c=0x0;_0xe6df4c<_0x2ee2e0['length'];++_0xe6df4c)null!=_0x4362c2[_0x2ee2e0[_0xe6df4c]]&&(this[_0x2ee2e0[_0xe6df4c]]=_0x4362c2[_0x2ee2e0[_0xe6df4c]]);}}return _0x1cfa18['prototype']['threads']=_0x420af4['emptyArray'],_0x1cfa18['prototype']['threadsV2']=_0x420af4['emptyArray'],_0x1cfa18['create']=function(_0xf3e5a3){return new _0x1cfa18(_0xf3e5a3);},_0x1cfa18['encode']=function(_0xacc0e,_0x58f2f0){if(_0x58f2f0||(_0x58f2f0=_0x500b66['create']()),null!=_0xacc0e['threads']&&_0xacc0e['threads']['length']){for(var _0x23ef08=0x0;_0x23ef08<_0xacc0e['threads']['length'];++_0x23ef08)_0x58f2f0['uint32'](0xa)['string'](_0xacc0e['threads'][_0x23ef08]);}if(null!=_0xacc0e['threadsV2']&&_0xacc0e['threadsV2']['length']){for(_0x23ef08=0x0;_0x23ef08<_0xacc0e['threadsV2']['length'];++_0x23ef08)_0x5e5fd8['CommentsThreadDescriptor']['encode'](_0xacc0e['threadsV2'][_0x23ef08],_0x58f2f0['uint32'](0x12)['fork']())['ldelim']();}return _0x58f2f0;},_0x1cfa18['encodeDelimited']=function(_0x4fc7b9,_0x510a4d){return this['encode'](_0x4fc7b9,_0x510a4d)['ldelim']();},_0x1cfa18['decode']=function(_0x4bd7de,_0x3eec6a,_0x40ff98){_0x4bd7de instanceof _0x223583||(_0x4bd7de=_0x223583['create'](_0x4bd7de));for(var _0x413d2c=void 0x0===_0x3eec6a?_0x4bd7de['len']:_0x4bd7de['pos']+_0x3eec6a,_0x52599c=new _0x5e5fd8['CommentsV2GetDocumentThreadsResponse']();_0x4bd7de['pos']<_0x413d2c;){var _0x282fd3=_0x4bd7de['uint32']();if(_0x282fd3===_0x40ff98)break;switch(_0x282fd3>>>0x3){case 0x1:_0x52599c['threads']&&_0x52599c['threads']['length']||(_0x52599c['threads']=[]),_0x52599c['threads']['push'](_0x4bd7de['string']());break;case 0x2:_0x52599c['threadsV2']&&_0x52599c['threadsV2']['length']||(_0x52599c['threadsV2']=[]),_0x52599c['threadsV2']['push'](_0x5e5fd8['CommentsThreadDescriptor']['decode'](_0x4bd7de,_0x4bd7de['uint32']()));break;default:_0x4bd7de['skipType'](0x7&_0x282fd3);}}return _0x52599c;},_0x1cfa18['decodeDelimited']=function(_0x50da79){return _0x50da79 instanceof _0x223583||(_0x50da79=new _0x223583(_0x50da79)),this['decode'](_0x50da79,_0x50da79['uint32']());},_0x1cfa18['verify']=function(_0x58d561){if('object'!=typeof _0x58d561||null===_0x58d561)return'object\x20expected';if(null!=_0x58d561['threads']&&_0x58d561['hasOwnProperty']('threads')){if(!Array['isArray'](_0x58d561['threads']))return'threads:\x20array\x20expected';for(var _0x3f5f1f=0x0;_0x3f5f1f<_0x58d561['threads']['length'];++_0x3f5f1f)if(!_0x420af4['isString'](_0x58d561['threads'][_0x3f5f1f]))return'threads:\x20string[]\x20expected';}if(null!=_0x58d561['threadsV2']&&_0x58d561['hasOwnProperty']('threadsV2')){if(!Array['isArray'](_0x58d561['threadsV2']))return'threadsV2:\x20array\x20expected';for(_0x3f5f1f=0x0;_0x3f5f1f<_0x58d561['threadsV2']['length'];++_0x3f5f1f){var _0x48ca25=_0x5e5fd8['CommentsThreadDescriptor']['verify'](_0x58d561['threadsV2'][_0x3f5f1f]);if(_0x48ca25)return'threadsV2.'+_0x48ca25;}}return null;},_0x1cfa18['fromObject']=function(_0x1875ae){if(_0x1875ae instanceof _0x5e5fd8['CommentsV2GetDocumentThreadsResponse'])return _0x1875ae;var _0x12be91=new _0x5e5fd8['CommentsV2GetDocumentThreadsResponse']();if(_0x1875ae['threads']){if(!Array['isArray'](_0x1875ae['threads']))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threads:\x20array\x20expected');_0x12be91['threads']=[];for(var _0x383234=0x0;_0x383234<_0x1875ae['threads']['length'];++_0x383234)_0x12be91['threads'][_0x383234]=String(_0x1875ae['threads'][_0x383234]);}if(_0x1875ae['threadsV2']){if(!Array['isArray'](_0x1875ae['threadsV2']))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threadsV2:\x20array\x20expected');for(_0x12be91['threadsV2']=[],_0x383234=0x0;_0x383234<_0x1875ae['threadsV2']['length'];++_0x383234){if('object'!=typeof _0x1875ae['threadsV2'][_0x383234])throw TypeError('.CommentsV2GetDocumentThreadsResponse.threadsV2:\x20object\x20expected');_0x12be91['threadsV2'][_0x383234]=_0x5e5fd8['CommentsThreadDescriptor']['fromObject'](_0x1875ae['threadsV2'][_0x383234]);}}return _0x12be91;},_0x1cfa18['toObject']=function(_0x4fa4ec,_0x29eb42){_0x29eb42||(_0x29eb42={});var _0x21edb3={};if((_0x29eb42['arrays']||_0x29eb42['defaults'])&&(_0x21edb3['threads']=[],_0x21edb3['threadsV2']=[]),_0x4fa4ec['threads']&&_0x4fa4ec['threads']['length']){_0x21edb3['threads']=[];for(var _0x3a9dbb=0x0;_0x3a9dbb<_0x4fa4ec['threads']['length'];++_0x3a9dbb)_0x21edb3['threads'][_0x3a9dbb]=_0x4fa4ec['threads'][_0x3a9dbb];}if(_0x4fa4ec['threadsV2']&&_0x4fa4ec['threadsV2']['length']){for(_0x21edb3['threadsV2']=[],_0x3a9dbb=0x0;_0x3a9dbb<_0x4fa4ec['threadsV2']['length'];++_0x3a9dbb)_0x21edb3['threadsV2'][_0x3a9dbb]=_0x5e5fd8['CommentsThreadDescriptor']['toObject'](_0x4fa4ec['threadsV2'][_0x3a9dbb],_0x29eb42);}return _0x21edb3;},_0x1cfa18['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1cfa18['getTypeUrl']=function(_0x2d73eb){return void 0x0===_0x2d73eb&&(_0x2d73eb='type.googleapis.com'),_0x2d73eb+'/CommentsV2GetDocumentThreadsResponse';},_0x1cfa18;}()),_0x5e5fd8['CommentsV2GetCommentThreadResponse']=(function(){function _0x5cd43f(_0x2aa975){if(this['comments']=[],this['commentsV2']=[],_0x2aa975){for(var _0x1aa220=Object['keys'](_0x2aa975),_0x5b2987=0x0;_0x5b2987<_0x1aa220['length'];++_0x5b2987)null!=_0x2aa975[_0x1aa220[_0x5b2987]]&&(this[_0x1aa220[_0x5b2987]]=_0x2aa975[_0x1aa220[_0x5b2987]]);}}return _0x5cd43f['prototype']['commentThreadId']='',_0x5cd43f['prototype']['comments']=_0x420af4['emptyArray'],_0x5cd43f['prototype']['commentsV2']=_0x420af4['emptyArray'],_0x5cd43f['prototype']['resolvedAt']='',_0x5cd43f['prototype']['resolvedBy']='',_0x5cd43f['prototype']['context']='',_0x5cd43f['prototype']['createdAt']='',_0x5cd43f['prototype']['deletedAt']='',_0x5cd43f['prototype']['attributes']='',_0x5cd43f['prototype']['unlinkedAt']='',_0x5cd43f['create']=function(_0x160dc8){return new _0x5cd43f(_0x160dc8);},_0x5cd43f['encode']=function(_0x4b9e4a,_0x1afe42){if(_0x1afe42||(_0x1afe42=_0x500b66['create']()),null!=_0x4b9e4a['commentThreadId']&&Object['hasOwnProperty']['call'](_0x4b9e4a,'commentThreadId')&&_0x1afe42['uint32'](0xa)['string'](_0x4b9e4a['commentThreadId']),null!=_0x4b9e4a['comments']&&_0x4b9e4a['comments']['length']){for(var _0x8cb61b=0x0;_0x8cb61b<_0x4b9e4a['comments']['length'];++_0x8cb61b)_0x1afe42['uint32'](0x12)['string'](_0x4b9e4a['comments'][_0x8cb61b]);}if(null!=_0x4b9e4a['commentsV2']&&_0x4b9e4a['commentsV2']['length']){for(_0x8cb61b=0x0;_0x8cb61b<_0x4b9e4a['commentsV2']['length'];++_0x8cb61b)_0x5e5fd8['CommentDescriptor']['encode'](_0x4b9e4a['commentsV2'][_0x8cb61b],_0x1afe42['uint32'](0x1a)['fork']())['ldelim']();}return null!=_0x4b9e4a['resolvedAt']&&Object['hasOwnProperty']['call'](_0x4b9e4a,'resolvedAt')&&_0x1afe42['uint32'](0x22)['string'](_0x4b9e4a['resolvedAt']),null!=_0x4b9e4a['resolvedBy']&&Object['hasOwnProperty']['call'](_0x4b9e4a,'resolvedBy')&&_0x1afe42['uint32'](0x2a)['string'](_0x4b9e4a['resolvedBy']),null!=_0x4b9e4a['context']&&Object['hasOwnProperty']['call'](_0x4b9e4a,'context')&&_0x1afe42['uint32'](0x32)['string'](_0x4b9e4a['context']),null!=_0x4b9e4a['createdAt']&&Object['hasOwnProperty']['call'](_0x4b9e4a,'createdAt')&&_0x1afe42['uint32'](0x3a)['string'](_0x4b9e4a['createdAt']),null!=_0x4b9e4a['deletedAt']&&Object['hasOwnProperty']['call'](_0x4b9e4a,'deletedAt')&&_0x1afe42['uint32'](0x42)['string'](_0x4b9e4a['deletedAt']),null!=_0x4b9e4a['attributes']&&Object['hasOwnProperty']['call'](_0x4b9e4a,'attributes')&&_0x1afe42['uint32'](0x4a)['string'](_0x4b9e4a['attributes']),null!=_0x4b9e4a['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x4b9e4a,'unlinkedAt')&&_0x1afe42['uint32'](0x52)['string'](_0x4b9e4a['unlinkedAt']),_0x1afe42;},_0x5cd43f['encodeDelimited']=function(_0x5bb455,_0x1cb7cb){return this['encode'](_0x5bb455,_0x1cb7cb)['ldelim']();},_0x5cd43f['decode']=function(_0x2b281a,_0x5e6d0a,_0x5d93f6){_0x2b281a instanceof _0x223583||(_0x2b281a=_0x223583['create'](_0x2b281a));for(var _0x1e8443=void 0x0===_0x5e6d0a?_0x2b281a['len']:_0x2b281a['pos']+_0x5e6d0a,_0x59f66a=new _0x5e5fd8['CommentsV2GetCommentThreadResponse']();_0x2b281a['pos']<_0x1e8443;){var _0x37d95e=_0x2b281a['uint32']();if(_0x37d95e===_0x5d93f6)break;switch(_0x37d95e>>>0x3){case 0x1:_0x59f66a['commentThreadId']=_0x2b281a['string']();break;case 0x2:_0x59f66a['comments']&&_0x59f66a['comments']['length']||(_0x59f66a['comments']=[]),_0x59f66a['comments']['push'](_0x2b281a['string']());break;case 0x3:_0x59f66a['commentsV2']&&_0x59f66a['commentsV2']['length']||(_0x59f66a['commentsV2']=[]),_0x59f66a['commentsV2']['push'](_0x5e5fd8['CommentDescriptor']['decode'](_0x2b281a,_0x2b281a['uint32']()));break;case 0x4:_0x59f66a['resolvedAt']=_0x2b281a['string']();break;case 0x5:_0x59f66a['resolvedBy']=_0x2b281a['string']();break;case 0x6:_0x59f66a['context']=_0x2b281a['string']();break;case 0x7:_0x59f66a['createdAt']=_0x2b281a['string']();break;case 0x8:_0x59f66a['deletedAt']=_0x2b281a['string']();break;case 0x9:_0x59f66a['attributes']=_0x2b281a['string']();break;case 0xa:_0x59f66a['unlinkedAt']=_0x2b281a['string']();break;default:_0x2b281a['skipType'](0x7&_0x37d95e);}}return _0x59f66a;},_0x5cd43f['decodeDelimited']=function(_0x30117f){return _0x30117f instanceof _0x223583||(_0x30117f=new _0x223583(_0x30117f)),this['decode'](_0x30117f,_0x30117f['uint32']());},_0x5cd43f['verify']=function(_0x3c7727){if('object'!=typeof _0x3c7727||null===_0x3c7727)return'object\x20expected';if(null!=_0x3c7727['commentThreadId']&&_0x3c7727['hasOwnProperty']('commentThreadId')&&!_0x420af4['isString'](_0x3c7727['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x3c7727['comments']&&_0x3c7727['hasOwnProperty']('comments')){if(!Array['isArray'](_0x3c7727['comments']))return'comments:\x20array\x20expected';for(var _0x187dfc=0x0;_0x187dfc<_0x3c7727['comments']['length'];++_0x187dfc)if(!_0x420af4['isString'](_0x3c7727['comments'][_0x187dfc]))return'comments:\x20string[]\x20expected';}if(null!=_0x3c7727['commentsV2']&&_0x3c7727['hasOwnProperty']('commentsV2')){if(!Array['isArray'](_0x3c7727['commentsV2']))return'commentsV2:\x20array\x20expected';for(_0x187dfc=0x0;_0x187dfc<_0x3c7727['commentsV2']['length'];++_0x187dfc){var _0x12362c=_0x5e5fd8['CommentDescriptor']['verify'](_0x3c7727['commentsV2'][_0x187dfc]);if(_0x12362c)return'commentsV2.'+_0x12362c;}}return null!=_0x3c7727['resolvedAt']&&_0x3c7727['hasOwnProperty']('resolvedAt')&&!_0x420af4['isString'](_0x3c7727['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x3c7727['resolvedBy']&&_0x3c7727['hasOwnProperty']('resolvedBy')&&!_0x420af4['isString'](_0x3c7727['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x3c7727['context']&&_0x3c7727['hasOwnProperty']('context')&&!_0x420af4['isString'](_0x3c7727['context'])?'context:\x20string\x20expected':null!=_0x3c7727['createdAt']&&_0x3c7727['hasOwnProperty']('createdAt')&&!_0x420af4['isString'](_0x3c7727['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x3c7727['deletedAt']&&_0x3c7727['hasOwnProperty']('deletedAt')&&!_0x420af4['isString'](_0x3c7727['deletedAt'])?'deletedAt:\x20string\x20expected':null!=_0x3c7727['attributes']&&_0x3c7727['hasOwnProperty']('attributes')&&!_0x420af4['isString'](_0x3c7727['attributes'])?'attributes:\x20string\x20expected':null!=_0x3c7727['unlinkedAt']&&_0x3c7727['hasOwnProperty']('unlinkedAt')&&!_0x420af4['isString'](_0x3c7727['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0x5cd43f['fromObject']=function(_0x48d5fe){if(_0x48d5fe instanceof _0x5e5fd8['CommentsV2GetCommentThreadResponse'])return _0x48d5fe;var _0x1ee748=new _0x5e5fd8['CommentsV2GetCommentThreadResponse']();if(null!=_0x48d5fe['commentThreadId']&&(_0x1ee748['commentThreadId']=String(_0x48d5fe['commentThreadId'])),_0x48d5fe['comments']){if(!Array['isArray'](_0x48d5fe['comments']))throw TypeError('.CommentsV2GetCommentThreadResponse.comments:\x20array\x20expected');_0x1ee748['comments']=[];for(var _0x49062a=0x0;_0x49062a<_0x48d5fe['comments']['length'];++_0x49062a)_0x1ee748['comments'][_0x49062a]=String(_0x48d5fe['comments'][_0x49062a]);}if(_0x48d5fe['commentsV2']){if(!Array['isArray'](_0x48d5fe['commentsV2']))throw TypeError('.CommentsV2GetCommentThreadResponse.commentsV2:\x20array\x20expected');for(_0x1ee748['commentsV2']=[],_0x49062a=0x0;_0x49062a<_0x48d5fe['commentsV2']['length'];++_0x49062a){if('object'!=typeof _0x48d5fe['commentsV2'][_0x49062a])throw TypeError('.CommentsV2GetCommentThreadResponse.commentsV2:\x20object\x20expected');_0x1ee748['commentsV2'][_0x49062a]=_0x5e5fd8['CommentDescriptor']['fromObject'](_0x48d5fe['commentsV2'][_0x49062a]);}}return null!=_0x48d5fe['resolvedAt']&&(_0x1ee748['resolvedAt']=String(_0x48d5fe['resolvedAt'])),null!=_0x48d5fe['resolvedBy']&&(_0x1ee748['resolvedBy']=String(_0x48d5fe['resolvedBy'])),null!=_0x48d5fe['context']&&(_0x1ee748['context']=String(_0x48d5fe['context'])),null!=_0x48d5fe['createdAt']&&(_0x1ee748['createdAt']=String(_0x48d5fe['createdAt'])),null!=_0x48d5fe['deletedAt']&&(_0x1ee748['deletedAt']=String(_0x48d5fe['deletedAt'])),null!=_0x48d5fe['attributes']&&(_0x1ee748['attributes']=String(_0x48d5fe['attributes'])),null!=_0x48d5fe['unlinkedAt']&&(_0x1ee748['unlinkedAt']=String(_0x48d5fe['unlinkedAt'])),_0x1ee748;},_0x5cd43f['toObject']=function(_0x593051,_0xfb0a06){_0xfb0a06||(_0xfb0a06={});var _0x4cf0fe={};if((_0xfb0a06['arrays']||_0xfb0a06['defaults'])&&(_0x4cf0fe['comments']=[],_0x4cf0fe['commentsV2']=[]),_0xfb0a06['defaults']&&(_0x4cf0fe['commentThreadId']='',_0x4cf0fe['resolvedAt']='',_0x4cf0fe['resolvedBy']='',_0x4cf0fe['context']='',_0x4cf0fe['createdAt']='',_0x4cf0fe['deletedAt']='',_0x4cf0fe['attributes']='',_0x4cf0fe['unlinkedAt']=''),null!=_0x593051['commentThreadId']&&_0x593051['hasOwnProperty']('commentThreadId')&&(_0x4cf0fe['commentThreadId']=_0x593051['commentThreadId']),_0x593051['comments']&&_0x593051['comments']['length']){_0x4cf0fe['comments']=[];for(var _0x10c081=0x0;_0x10c081<_0x593051['comments']['length'];++_0x10c081)_0x4cf0fe['comments'][_0x10c081]=_0x593051['comments'][_0x10c081];}if(_0x593051['commentsV2']&&_0x593051['commentsV2']['length']){for(_0x4cf0fe['commentsV2']=[],_0x10c081=0x0;_0x10c081<_0x593051['commentsV2']['length'];++_0x10c081)_0x4cf0fe['commentsV2'][_0x10c081]=_0x5e5fd8['CommentDescriptor']['toObject'](_0x593051['commentsV2'][_0x10c081],_0xfb0a06);}return null!=_0x593051['resolvedAt']&&_0x593051['hasOwnProperty']('resolvedAt')&&(_0x4cf0fe['resolvedAt']=_0x593051['resolvedAt']),null!=_0x593051['resolvedBy']&&_0x593051['hasOwnProperty']('resolvedBy')&&(_0x4cf0fe['resolvedBy']=_0x593051['resolvedBy']),null!=_0x593051['context']&&_0x593051['hasOwnProperty']('context')&&(_0x4cf0fe['context']=_0x593051['context']),null!=_0x593051['createdAt']&&_0x593051['hasOwnProperty']('createdAt')&&(_0x4cf0fe['createdAt']=_0x593051['createdAt']),null!=_0x593051['deletedAt']&&_0x593051['hasOwnProperty']('deletedAt')&&(_0x4cf0fe['deletedAt']=_0x593051['deletedAt']),null!=_0x593051['attributes']&&_0x593051['hasOwnProperty']('attributes')&&(_0x4cf0fe['attributes']=_0x593051['attributes']),null!=_0x593051['unlinkedAt']&&_0x593051['hasOwnProperty']('unlinkedAt')&&(_0x4cf0fe['unlinkedAt']=_0x593051['unlinkedAt']),_0x4cf0fe;},_0x5cd43f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x5cd43f['getTypeUrl']=function(_0x31da3d){return void 0x0===_0x31da3d&&(_0x31da3d='type.googleapis.com'),_0x31da3d+'/CommentsV2GetCommentThreadResponse';},_0x5cd43f;}()),_0x5e5fd8['CommentsV2ConnectResponse']=(function(){function _0x1e0100(_0x400061){if(this['threads']=[],this['threadsV2']=[],_0x400061){for(var _0x49313e=Object['keys'](_0x400061),_0xb46812=0x0;_0xb46812<_0x49313e['length'];++_0xb46812)null!=_0x400061[_0x49313e[_0xb46812]]&&(this[_0x49313e[_0xb46812]]=_0x400061[_0x49313e[_0xb46812]]);}}return _0x1e0100['prototype']['channel']='',_0x1e0100['prototype']['threads']=_0x420af4['emptyArray'],_0x1e0100['prototype']['threadsV2']=_0x420af4['emptyArray'],_0x1e0100['create']=function(_0x5bc4fa){return new _0x1e0100(_0x5bc4fa);},_0x1e0100['encode']=function(_0x1fc8e2,_0x55c437){if(_0x55c437||(_0x55c437=_0x500b66['create']()),null!=_0x1fc8e2['channel']&&Object['hasOwnProperty']['call'](_0x1fc8e2,'channel')&&_0x55c437['uint32'](0xa)['string'](_0x1fc8e2['channel']),null!=_0x1fc8e2['threads']&&_0x1fc8e2['threads']['length']){for(var _0x1a9463=0x0;_0x1a9463<_0x1fc8e2['threads']['length'];++_0x1a9463)_0x55c437['uint32'](0x12)['string'](_0x1fc8e2['threads'][_0x1a9463]);}if(null!=_0x1fc8e2['threadsV2']&&_0x1fc8e2['threadsV2']['length']){for(_0x1a9463=0x0;_0x1a9463<_0x1fc8e2['threadsV2']['length'];++_0x1a9463)_0x5e5fd8['CommentsThreadDescriptor']['encode'](_0x1fc8e2['threadsV2'][_0x1a9463],_0x55c437['uint32'](0x1a)['fork']())['ldelim']();}return _0x55c437;},_0x1e0100['encodeDelimited']=function(_0x562ba5,_0x1259c1){return this['encode'](_0x562ba5,_0x1259c1)['ldelim']();},_0x1e0100['decode']=function(_0x47cf94,_0x3b9c79,_0x24c3f5){_0x47cf94 instanceof _0x223583||(_0x47cf94=_0x223583['create'](_0x47cf94));for(var _0x17401f=void 0x0===_0x3b9c79?_0x47cf94['len']:_0x47cf94['pos']+_0x3b9c79,_0x299f12=new _0x5e5fd8['CommentsV2ConnectResponse']();_0x47cf94['pos']<_0x17401f;){var _0x12a2fe=_0x47cf94['uint32']();if(_0x12a2fe===_0x24c3f5)break;switch(_0x12a2fe>>>0x3){case 0x1:_0x299f12['channel']=_0x47cf94['string']();break;case 0x2:_0x299f12['threads']&&_0x299f12['threads']['length']||(_0x299f12['threads']=[]),_0x299f12['threads']['push'](_0x47cf94['string']());break;case 0x3:_0x299f12['threadsV2']&&_0x299f12['threadsV2']['length']||(_0x299f12['threadsV2']=[]),_0x299f12['threadsV2']['push'](_0x5e5fd8['CommentsThreadDescriptor']['decode'](_0x47cf94,_0x47cf94['uint32']()));break;default:_0x47cf94['skipType'](0x7&_0x12a2fe);}}return _0x299f12;},_0x1e0100['decodeDelimited']=function(_0x56d063){return _0x56d063 instanceof _0x223583||(_0x56d063=new _0x223583(_0x56d063)),this['decode'](_0x56d063,_0x56d063['uint32']());},_0x1e0100['verify']=function(_0x4a1f0e){if('object'!=typeof _0x4a1f0e||null===_0x4a1f0e)return'object\x20expected';if(null!=_0x4a1f0e['channel']&&_0x4a1f0e['hasOwnProperty']('channel')&&!_0x420af4['isString'](_0x4a1f0e['channel']))return'channel:\x20string\x20expected';if(null!=_0x4a1f0e['threads']&&_0x4a1f0e['hasOwnProperty']('threads')){if(!Array['isArray'](_0x4a1f0e['threads']))return'threads:\x20array\x20expected';for(var _0x352eae=0x0;_0x352eae<_0x4a1f0e['threads']['length'];++_0x352eae)if(!_0x420af4['isString'](_0x4a1f0e['threads'][_0x352eae]))return'threads:\x20string[]\x20expected';}if(null!=_0x4a1f0e['threadsV2']&&_0x4a1f0e['hasOwnProperty']('threadsV2')){if(!Array['isArray'](_0x4a1f0e['threadsV2']))return'threadsV2:\x20array\x20expected';for(_0x352eae=0x0;_0x352eae<_0x4a1f0e['threadsV2']['length'];++_0x352eae){var _0x423fe9=_0x5e5fd8['CommentsThreadDescriptor']['verify'](_0x4a1f0e['threadsV2'][_0x352eae]);if(_0x423fe9)return'threadsV2.'+_0x423fe9;}}return null;},_0x1e0100['fromObject']=function(_0x3682ba){if(_0x3682ba instanceof _0x5e5fd8['CommentsV2ConnectResponse'])return _0x3682ba;var _0x22dd0c=new _0x5e5fd8['CommentsV2ConnectResponse']();if(null!=_0x3682ba['channel']&&(_0x22dd0c['channel']=String(_0x3682ba['channel'])),_0x3682ba['threads']){if(!Array['isArray'](_0x3682ba['threads']))throw TypeError('.CommentsV2ConnectResponse.threads:\x20array\x20expected');_0x22dd0c['threads']=[];for(var _0x1824b7=0x0;_0x1824b7<_0x3682ba['threads']['length'];++_0x1824b7)_0x22dd0c['threads'][_0x1824b7]=String(_0x3682ba['threads'][_0x1824b7]);}if(_0x3682ba['threadsV2']){if(!Array['isArray'](_0x3682ba['threadsV2']))throw TypeError('.CommentsV2ConnectResponse.threadsV2:\x20array\x20expected');for(_0x22dd0c['threadsV2']=[],_0x1824b7=0x0;_0x1824b7<_0x3682ba['threadsV2']['length'];++_0x1824b7){if('object'!=typeof _0x3682ba['threadsV2'][_0x1824b7])throw TypeError('.CommentsV2ConnectResponse.threadsV2:\x20object\x20expected');_0x22dd0c['threadsV2'][_0x1824b7]=_0x5e5fd8['CommentsThreadDescriptor']['fromObject'](_0x3682ba['threadsV2'][_0x1824b7]);}}return _0x22dd0c;},_0x1e0100['toObject']=function(_0x582a10,_0x5e4183){_0x5e4183||(_0x5e4183={});var _0x153a9f={};if((_0x5e4183['arrays']||_0x5e4183['defaults'])&&(_0x153a9f['threads']=[],_0x153a9f['threadsV2']=[]),_0x5e4183['defaults']&&(_0x153a9f['channel']=''),null!=_0x582a10['channel']&&_0x582a10['hasOwnProperty']('channel')&&(_0x153a9f['channel']=_0x582a10['channel']),_0x582a10['threads']&&_0x582a10['threads']['length']){_0x153a9f['threads']=[];for(var _0x5191ab=0x0;_0x5191ab<_0x582a10['threads']['length'];++_0x5191ab)_0x153a9f['threads'][_0x5191ab]=_0x582a10['threads'][_0x5191ab];}if(_0x582a10['threadsV2']&&_0x582a10['threadsV2']['length']){for(_0x153a9f['threadsV2']=[],_0x5191ab=0x0;_0x5191ab<_0x582a10['threadsV2']['length'];++_0x5191ab)_0x153a9f['threadsV2'][_0x5191ab]=_0x5e5fd8['CommentsThreadDescriptor']['toObject'](_0x582a10['threadsV2'][_0x5191ab],_0x5e4183);}return _0x153a9f;},_0x1e0100['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1e0100['getTypeUrl']=function(_0x3fee35){return void 0x0===_0x3fee35&&(_0x3fee35='type.googleapis.com'),_0x3fee35+'/CommentsV2ConnectResponse';},_0x1e0100;}()),_0x5e5fd8['CommentsV2AddCommentResponse']=(function(){function _0x1f0319(_0x1493cb){if(_0x1493cb){for(var _0x5b267f=Object['keys'](_0x1493cb),_0x4b8c61=0x0;_0x4b8c61<_0x5b267f['length'];++_0x4b8c61)null!=_0x1493cb[_0x5b267f[_0x4b8c61]]&&(this[_0x5b267f[_0x4b8c61]]=_0x1493cb[_0x5b267f[_0x4b8c61]]);}}return _0x1f0319['prototype']['commentThreadId']='',_0x1f0319['prototype']['commentId']='',_0x1f0319['prototype']['createdAt']='',_0x1f0319['create']=function(_0xfc1344){return new _0x1f0319(_0xfc1344);},_0x1f0319['encode']=function(_0xe5962,_0x581cba){return _0x581cba||(_0x581cba=_0x500b66['create']()),null!=_0xe5962['commentThreadId']&&Object['hasOwnProperty']['call'](_0xe5962,'commentThreadId')&&_0x581cba['uint32'](0xa)['string'](_0xe5962['commentThreadId']),null!=_0xe5962['commentId']&&Object['hasOwnProperty']['call'](_0xe5962,'commentId')&&_0x581cba['uint32'](0x12)['string'](_0xe5962['commentId']),null!=_0xe5962['createdAt']&&Object['hasOwnProperty']['call'](_0xe5962,'createdAt')&&_0x581cba['uint32'](0x1a)['string'](_0xe5962['createdAt']),_0x581cba;},_0x1f0319['encodeDelimited']=function(_0x455dd3,_0x2d649d){return this['encode'](_0x455dd3,_0x2d649d)['ldelim']();},_0x1f0319['decode']=function(_0x3634a5,_0x19274d,_0x10069b){_0x3634a5 instanceof _0x223583||(_0x3634a5=_0x223583['create'](_0x3634a5));for(var _0x3db39f=void 0x0===_0x19274d?_0x3634a5['len']:_0x3634a5['pos']+_0x19274d,_0xe07f15=new _0x5e5fd8['CommentsV2AddCommentResponse']();_0x3634a5['pos']<_0x3db39f;){var _0x2d1fdb=_0x3634a5['uint32']();if(_0x2d1fdb===_0x10069b)break;switch(_0x2d1fdb>>>0x3){case 0x1:_0xe07f15['commentThreadId']=_0x3634a5['string']();break;case 0x2:_0xe07f15['commentId']=_0x3634a5['string']();break;case 0x3:_0xe07f15['createdAt']=_0x3634a5['string']();break;default:_0x3634a5['skipType'](0x7&_0x2d1fdb);}}return _0xe07f15;},_0x1f0319['decodeDelimited']=function(_0xb96036){return _0xb96036 instanceof _0x223583||(_0xb96036=new _0x223583(_0xb96036)),this['decode'](_0xb96036,_0xb96036['uint32']());},_0x1f0319['verify']=function(_0x5a6587){return'object'!=typeof _0x5a6587||null===_0x5a6587?'object\x20expected':null!=_0x5a6587['commentThreadId']&&_0x5a6587['hasOwnProperty']('commentThreadId')&&!_0x420af4['isString'](_0x5a6587['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x5a6587['commentId']&&_0x5a6587['hasOwnProperty']('commentId')&&!_0x420af4['isString'](_0x5a6587['commentId'])?'commentId:\x20string\x20expected':null!=_0x5a6587['createdAt']&&_0x5a6587['hasOwnProperty']('createdAt')&&!_0x420af4['isString'](_0x5a6587['createdAt'])?'createdAt:\x20string\x20expected':null;},_0x1f0319['fromObject']=function(_0x1ad76f){if(_0x1ad76f instanceof _0x5e5fd8['CommentsV2AddCommentResponse'])return _0x1ad76f;var _0x5e965f=new _0x5e5fd8['CommentsV2AddCommentResponse']();return null!=_0x1ad76f['commentThreadId']&&(_0x5e965f['commentThreadId']=String(_0x1ad76f['commentThreadId'])),null!=_0x1ad76f['commentId']&&(_0x5e965f['commentId']=String(_0x1ad76f['commentId'])),null!=_0x1ad76f['createdAt']&&(_0x5e965f['createdAt']=String(_0x1ad76f['createdAt'])),_0x5e965f;},_0x1f0319['toObject']=function(_0x5ec9de,_0x2277b9){_0x2277b9||(_0x2277b9={});var _0x14ae97={};return _0x2277b9['defaults']&&(_0x14ae97['commentThreadId']='',_0x14ae97['commentId']='',_0x14ae97['createdAt']=''),null!=_0x5ec9de['commentThreadId']&&_0x5ec9de['hasOwnProperty']('commentThreadId')&&(_0x14ae97['commentThreadId']=_0x5ec9de['commentThreadId']),null!=_0x5ec9de['commentId']&&_0x5ec9de['hasOwnProperty']('commentId')&&(_0x14ae97['commentId']=_0x5ec9de['commentId']),null!=_0x5ec9de['createdAt']&&_0x5ec9de['hasOwnProperty']('createdAt')&&(_0x14ae97['createdAt']=_0x5ec9de['createdAt']),_0x14ae97;},_0x1f0319['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1f0319['getTypeUrl']=function(_0x29c514){return void 0x0===_0x29c514&&(_0x29c514='type.googleapis.com'),_0x29c514+'/CommentsV2AddCommentResponse';},_0x1f0319;}()),_0x5e5fd8['CommentsV2ResolveCommentThreadResponse']=(function(){function _0x5cf43f(_0x21e1d8){if(_0x21e1d8){for(var _0x3bf28b=Object['keys'](_0x21e1d8),_0x58f44d=0x0;_0x58f44d<_0x3bf28b['length'];++_0x58f44d)null!=_0x21e1d8[_0x3bf28b[_0x58f44d]]&&(this[_0x3bf28b[_0x58f44d]]=_0x21e1d8[_0x3bf28b[_0x58f44d]]);}}return _0x5cf43f['prototype']['commentThreadId']='',_0x5cf43f['prototype']['documentId']='',_0x5cf43f['prototype']['resolvedAt']='',_0x5cf43f['prototype']['resolvedBy']='',_0x5cf43f['create']=function(_0x283b0b){return new _0x5cf43f(_0x283b0b);},_0x5cf43f['encode']=function(_0x59935d,_0x19611f){return _0x19611f||(_0x19611f=_0x500b66['create']()),null!=_0x59935d['commentThreadId']&&Object['hasOwnProperty']['call'](_0x59935d,'commentThreadId')&&_0x19611f['uint32'](0xa)['string'](_0x59935d['commentThreadId']),null!=_0x59935d['documentId']&&Object['hasOwnProperty']['call'](_0x59935d,'documentId')&&_0x19611f['uint32'](0x12)['string'](_0x59935d['documentId']),null!=_0x59935d['resolvedAt']&&Object['hasOwnProperty']['call'](_0x59935d,'resolvedAt')&&_0x19611f['uint32'](0x1a)['string'](_0x59935d['resolvedAt']),null!=_0x59935d['resolvedBy']&&Object['hasOwnProperty']['call'](_0x59935d,'resolvedBy')&&_0x19611f['uint32'](0x22)['string'](_0x59935d['resolvedBy']),_0x19611f;},_0x5cf43f['encodeDelimited']=function(_0x3aeae4,_0x16c75c){return this['encode'](_0x3aeae4,_0x16c75c)['ldelim']();},_0x5cf43f['decode']=function(_0x32467b,_0x29aaa6,_0x4d4a06){_0x32467b instanceof _0x223583||(_0x32467b=_0x223583['create'](_0x32467b));for(var _0x2d744a=void 0x0===_0x29aaa6?_0x32467b['len']:_0x32467b['pos']+_0x29aaa6,_0x2165f4=new _0x5e5fd8['CommentsV2ResolveCommentThreadResponse']();_0x32467b['pos']<_0x2d744a;){var _0x327d26=_0x32467b['uint32']();if(_0x327d26===_0x4d4a06)break;switch(_0x327d26>>>0x3){case 0x1:_0x2165f4['commentThreadId']=_0x32467b['string']();break;case 0x2:_0x2165f4['documentId']=_0x32467b['string']();break;case 0x3:_0x2165f4['resolvedAt']=_0x32467b['string']();break;case 0x4:_0x2165f4['resolvedBy']=_0x32467b['string']();break;default:_0x32467b['skipType'](0x7&_0x327d26);}}return _0x2165f4;},_0x5cf43f['decodeDelimited']=function(_0x45a404){return _0x45a404 instanceof _0x223583||(_0x45a404=new _0x223583(_0x45a404)),this['decode'](_0x45a404,_0x45a404['uint32']());},_0x5cf43f['verify']=function(_0x5df294){return'object'!=typeof _0x5df294||null===_0x5df294?'object\x20expected':null!=_0x5df294['commentThreadId']&&_0x5df294['hasOwnProperty']('commentThreadId')&&!_0x420af4['isString'](_0x5df294['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x5df294['documentId']&&_0x5df294['hasOwnProperty']('documentId')&&!_0x420af4['isString'](_0x5df294['documentId'])?'documentId:\x20string\x20expected':null!=_0x5df294['resolvedAt']&&_0x5df294['hasOwnProperty']('resolvedAt')&&!_0x420af4['isString'](_0x5df294['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x5df294['resolvedBy']&&_0x5df294['hasOwnProperty']('resolvedBy')&&!_0x420af4['isString'](_0x5df294['resolvedBy'])?'resolvedBy:\x20string\x20expected':null;},_0x5cf43f['fromObject']=function(_0xb3dc50){if(_0xb3dc50 instanceof _0x5e5fd8['CommentsV2ResolveCommentThreadResponse'])return _0xb3dc50;var _0x36fc0f=new _0x5e5fd8['CommentsV2ResolveCommentThreadResponse']();return null!=_0xb3dc50['commentThreadId']&&(_0x36fc0f['commentThreadId']=String(_0xb3dc50['commentThreadId'])),null!=_0xb3dc50['documentId']&&(_0x36fc0f['documentId']=String(_0xb3dc50['documentId'])),null!=_0xb3dc50['resolvedAt']&&(_0x36fc0f['resolvedAt']=String(_0xb3dc50['resolvedAt'])),null!=_0xb3dc50['resolvedBy']&&(_0x36fc0f['resolvedBy']=String(_0xb3dc50['resolvedBy'])),_0x36fc0f;},_0x5cf43f['toObject']=function(_0x23e031,_0x2c6533){_0x2c6533||(_0x2c6533={});var _0x52d2d1={};return _0x2c6533['defaults']&&(_0x52d2d1['commentThreadId']='',_0x52d2d1['documentId']='',_0x52d2d1['resolvedAt']='',_0x52d2d1['resolvedBy']=''),null!=_0x23e031['commentThreadId']&&_0x23e031['hasOwnProperty']('commentThreadId')&&(_0x52d2d1['commentThreadId']=_0x23e031['commentThreadId']),null!=_0x23e031['documentId']&&_0x23e031['hasOwnProperty']('documentId')&&(_0x52d2d1['documentId']=_0x23e031['documentId']),null!=_0x23e031['resolvedAt']&&_0x23e031['hasOwnProperty']('resolvedAt')&&(_0x52d2d1['resolvedAt']=_0x23e031['resolvedAt']),null!=_0x23e031['resolvedBy']&&_0x23e031['hasOwnProperty']('resolvedBy')&&(_0x52d2d1['resolvedBy']=_0x23e031['resolvedBy']),_0x52d2d1;},_0x5cf43f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x5cf43f['getTypeUrl']=function(_0x44c360){return void 0x0===_0x44c360&&(_0x44c360='type.googleapis.com'),_0x44c360+'/CommentsV2ResolveCommentThreadResponse';},_0x5cf43f;}()),_0x5e5fd8['CommentsV2AddCommentThreadResponse']=(function(){function _0x583f23(_0x4a41b8){if(this['comments']=[],_0x4a41b8){for(var _0x20d1a2=Object['keys'](_0x4a41b8),_0x48d72e=0x0;_0x48d72e<_0x20d1a2['length'];++_0x48d72e)null!=_0x4a41b8[_0x20d1a2[_0x48d72e]]&&(this[_0x20d1a2[_0x48d72e]]=_0x4a41b8[_0x20d1a2[_0x48d72e]]);}}return _0x583f23['prototype']['commentThreadId']='',_0x583f23['prototype']['createdAt']='',_0x583f23['prototype']['comments']=_0x420af4['emptyArray'],_0x583f23['create']=function(_0x3bf757){return new _0x583f23(_0x3bf757);},_0x583f23['encode']=function(_0x1acc35,_0x360c56){if(_0x360c56||(_0x360c56=_0x500b66['create']()),null!=_0x1acc35['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1acc35,'commentThreadId')&&_0x360c56['uint32'](0xa)['string'](_0x1acc35['commentThreadId']),null!=_0x1acc35['createdAt']&&Object['hasOwnProperty']['call'](_0x1acc35,'createdAt')&&_0x360c56['uint32'](0x12)['string'](_0x1acc35['createdAt']),null!=_0x1acc35['comments']&&_0x1acc35['comments']['length']){for(var _0x2ca90c=0x0;_0x2ca90c<_0x1acc35['comments']['length'];++_0x2ca90c)_0x5e5fd8['CommentThreadAddedCommentDescriptor']['encode'](_0x1acc35['comments'][_0x2ca90c],_0x360c56['uint32'](0x1a)['fork']())['ldelim']();}return _0x360c56;},_0x583f23['encodeDelimited']=function(_0x188911,_0xfaf7e){return this['encode'](_0x188911,_0xfaf7e)['ldelim']();},_0x583f23['decode']=function(_0x4ea94e,_0x26bbc7,_0x15a6b2){_0x4ea94e instanceof _0x223583||(_0x4ea94e=_0x223583['create'](_0x4ea94e));for(var _0x125e88=void 0x0===_0x26bbc7?_0x4ea94e['len']:_0x4ea94e['pos']+_0x26bbc7,_0x50ec0a=new _0x5e5fd8['CommentsV2AddCommentThreadResponse']();_0x4ea94e['pos']<_0x125e88;){var _0x32d8d3=_0x4ea94e['uint32']();if(_0x32d8d3===_0x15a6b2)break;switch(_0x32d8d3>>>0x3){case 0x1:_0x50ec0a['commentThreadId']=_0x4ea94e['string']();break;case 0x2:_0x50ec0a['createdAt']=_0x4ea94e['string']();break;case 0x3:_0x50ec0a['comments']&&_0x50ec0a['comments']['length']||(_0x50ec0a['comments']=[]),_0x50ec0a['comments']['push'](_0x5e5fd8['CommentThreadAddedCommentDescriptor']['decode'](_0x4ea94e,_0x4ea94e['uint32']()));break;default:_0x4ea94e['skipType'](0x7&_0x32d8d3);}}return _0x50ec0a;},_0x583f23['decodeDelimited']=function(_0x413e57){return _0x413e57 instanceof _0x223583||(_0x413e57=new _0x223583(_0x413e57)),this['decode'](_0x413e57,_0x413e57['uint32']());},_0x583f23['verify']=function(_0x4ea188){if('object'!=typeof _0x4ea188||null===_0x4ea188)return'object\x20expected';if(null!=_0x4ea188['commentThreadId']&&_0x4ea188['hasOwnProperty']('commentThreadId')&&!_0x420af4['isString'](_0x4ea188['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x4ea188['createdAt']&&_0x4ea188['hasOwnProperty']('createdAt')&&!_0x420af4['isString'](_0x4ea188['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x4ea188['comments']&&_0x4ea188['hasOwnProperty']('comments')){if(!Array['isArray'](_0x4ea188['comments']))return'comments:\x20array\x20expected';for(var _0x3ce908=0x0;_0x3ce908<_0x4ea188['comments']['length'];++_0x3ce908){var _0x1d8a74=_0x5e5fd8['CommentThreadAddedCommentDescriptor']['verify'](_0x4ea188['comments'][_0x3ce908]);if(_0x1d8a74)return'comments.'+_0x1d8a74;}}return null;},_0x583f23['fromObject']=function(_0x1947c3){if(_0x1947c3 instanceof _0x5e5fd8['CommentsV2AddCommentThreadResponse'])return _0x1947c3;var _0x575ce5=new _0x5e5fd8['CommentsV2AddCommentThreadResponse']();if(null!=_0x1947c3['commentThreadId']&&(_0x575ce5['commentThreadId']=String(_0x1947c3['commentThreadId'])),null!=_0x1947c3['createdAt']&&(_0x575ce5['createdAt']=String(_0x1947c3['createdAt'])),_0x1947c3['comments']){if(!Array['isArray'](_0x1947c3['comments']))throw TypeError('.CommentsV2AddCommentThreadResponse.comments:\x20array\x20expected');_0x575ce5['comments']=[];for(var _0x232dbc=0x0;_0x232dbc<_0x1947c3['comments']['length'];++_0x232dbc){if('object'!=typeof _0x1947c3['comments'][_0x232dbc])throw TypeError('.CommentsV2AddCommentThreadResponse.comments:\x20object\x20expected');_0x575ce5['comments'][_0x232dbc]=_0x5e5fd8['CommentThreadAddedCommentDescriptor']['fromObject'](_0x1947c3['comments'][_0x232dbc]);}}return _0x575ce5;},_0x583f23['toObject']=function(_0x561823,_0x2c3f79){_0x2c3f79||(_0x2c3f79={});var _0x26598f={};if((_0x2c3f79['arrays']||_0x2c3f79['defaults'])&&(_0x26598f['comments']=[]),_0x2c3f79['defaults']&&(_0x26598f['commentThreadId']='',_0x26598f['createdAt']=''),null!=_0x561823['commentThreadId']&&_0x561823['hasOwnProperty']('commentThreadId')&&(_0x26598f['commentThreadId']=_0x561823['commentThreadId']),null!=_0x561823['createdAt']&&_0x561823['hasOwnProperty']('createdAt')&&(_0x26598f['createdAt']=_0x561823['createdAt']),_0x561823['comments']&&_0x561823['comments']['length']){_0x26598f['comments']=[];for(var _0x563a58=0x0;_0x563a58<_0x561823['comments']['length'];++_0x563a58)_0x26598f['comments'][_0x563a58]=_0x5e5fd8['CommentThreadAddedCommentDescriptor']['toObject'](_0x561823['comments'][_0x563a58],_0x2c3f79);}return _0x26598f;},_0x583f23['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x583f23['getTypeUrl']=function(_0x149801){return void 0x0===_0x149801&&(_0x149801='type.googleapis.com'),_0x149801+'/CommentsV2AddCommentThreadResponse';},_0x583f23;}()),_0x5e5fd8['CommentsV2UpdateCommentMessage']=(function(){function _0x1210e1(_0x3c6b7f){if(_0x3c6b7f){for(var _0x2d6bd1=Object['keys'](_0x3c6b7f),_0x256b96=0x0;_0x256b96<_0x2d6bd1['length'];++_0x256b96)null!=_0x3c6b7f[_0x2d6bd1[_0x256b96]]&&(this[_0x2d6bd1[_0x256b96]]=_0x3c6b7f[_0x2d6bd1[_0x256b96]]);}}return _0x1210e1['prototype']['commentThreadId']='',_0x1210e1['prototype']['commentId']='',_0x1210e1['prototype']['content']='',_0x1210e1['prototype']['documentId']='',_0x1210e1['prototype']['attributes']='',_0x1210e1['prototype']['isAttributesUpdated']=!0x1,_0x1210e1['prototype']['commentThread']=null,_0x1210e1['create']=function(_0x52db07){return new _0x1210e1(_0x52db07);},_0x1210e1['encode']=function(_0x1a90c6,_0x4cdb3f){return _0x4cdb3f||(_0x4cdb3f=_0x500b66['create']()),null!=_0x1a90c6['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1a90c6,'commentThreadId')&&_0x4cdb3f['uint32'](0xa)['string'](_0x1a90c6['commentThreadId']),null!=_0x1a90c6['commentId']&&Object['hasOwnProperty']['call'](_0x1a90c6,'commentId')&&_0x4cdb3f['uint32'](0x12)['string'](_0x1a90c6['commentId']),null!=_0x1a90c6['content']&&Object['hasOwnProperty']['call'](_0x1a90c6,'content')&&_0x4cdb3f['uint32'](0x1a)['string'](_0x1a90c6['content']),null!=_0x1a90c6['documentId']&&Object['hasOwnProperty']['call'](_0x1a90c6,'documentId')&&_0x4cdb3f['uint32'](0x22)['string'](_0x1a90c6['documentId']),null!=_0x1a90c6['attributes']&&Object['hasOwnProperty']['call'](_0x1a90c6,'attributes')&&_0x4cdb3f['uint32'](0x2a)['string'](_0x1a90c6['attributes']),null!=_0x1a90c6['isAttributesUpdated']&&Object['hasOwnProperty']['call'](_0x1a90c6,'isAttributesUpdated')&&_0x4cdb3f['uint32'](0x30)['bool'](_0x1a90c6['isAttributesUpdated']),null!=_0x1a90c6['commentThread']&&Object['hasOwnProperty']['call'](_0x1a90c6,'commentThread')&&_0x5e5fd8['CommentsThreadDescriptor']['encode'](_0x1a90c6['commentThread'],_0x4cdb3f['uint32'](0x3a)['fork']())['ldelim'](),_0x4cdb3f;},_0x1210e1['encodeDelimited']=function(_0x2c164e,_0x41eaa4){return this['encode'](_0x2c164e,_0x41eaa4)['ldelim']();},_0x1210e1['decode']=function(_0x4a535f,_0x23d20c,_0x2a529f){_0x4a535f instanceof _0x223583||(_0x4a535f=_0x223583['create'](_0x4a535f));for(var _0x76a8f=void 0x0===_0x23d20c?_0x4a535f['len']:_0x4a535f['pos']+_0x23d20c,_0xa94183=new _0x5e5fd8['CommentsV2UpdateCommentMessage']();_0x4a535f['pos']<_0x76a8f;){var _0x24872f=_0x4a535f['uint32']();if(_0x24872f===_0x2a529f)break;switch(_0x24872f>>>0x3){case 0x1:_0xa94183['commentThreadId']=_0x4a535f['string']();break;case 0x2:_0xa94183['commentId']=_0x4a535f['string']();break;case 0x3:_0xa94183['content']=_0x4a535f['string']();break;case 0x4:_0xa94183['documentId']=_0x4a535f['string']();break;case 0x5:_0xa94183['attributes']=_0x4a535f['string']();break;case 0x6:_0xa94183['isAttributesUpdated']=_0x4a535f['bool']();break;case 0x7:_0xa94183['commentThread']=_0x5e5fd8['CommentsThreadDescriptor']['decode'](_0x4a535f,_0x4a535f['uint32']());break;default:_0x4a535f['skipType'](0x7&_0x24872f);}}return _0xa94183;},_0x1210e1['decodeDelimited']=function(_0x39f2ae){return _0x39f2ae instanceof _0x223583||(_0x39f2ae=new _0x223583(_0x39f2ae)),this['decode'](_0x39f2ae,_0x39f2ae['uint32']());},_0x1210e1['verify']=function(_0x2f6072){if('object'!=typeof _0x2f6072||null===_0x2f6072)return'object\x20expected';if(null!=_0x2f6072['commentThreadId']&&_0x2f6072['hasOwnProperty']('commentThreadId')&&!_0x420af4['isString'](_0x2f6072['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x2f6072['commentId']&&_0x2f6072['hasOwnProperty']('commentId')&&!_0x420af4['isString'](_0x2f6072['commentId']))return'commentId:\x20string\x20expected';if(null!=_0x2f6072['content']&&_0x2f6072['hasOwnProperty']('content')&&!_0x420af4['isString'](_0x2f6072['content']))return'content:\x20string\x20expected';if(null!=_0x2f6072['documentId']&&_0x2f6072['hasOwnProperty']('documentId')&&!_0x420af4['isString'](_0x2f6072['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x2f6072['attributes']&&_0x2f6072['hasOwnProperty']('attributes')&&!_0x420af4['isString'](_0x2f6072['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x2f6072['isAttributesUpdated']&&_0x2f6072['hasOwnProperty']('isAttributesUpdated')&&'boolean'!=typeof _0x2f6072['isAttributesUpdated'])return'isAttributesUpdated:\x20boolean\x20expected';if(null!=_0x2f6072['commentThread']&&_0x2f6072['hasOwnProperty']('commentThread')){var _0x2906db=_0x5e5fd8['CommentsThreadDescriptor']['verify'](_0x2f6072['commentThread']);if(_0x2906db)return'commentThread.'+_0x2906db;}return null;},_0x1210e1['fromObject']=function(_0x462c40){if(_0x462c40 instanceof _0x5e5fd8['CommentsV2UpdateCommentMessage'])return _0x462c40;var _0x124cd6=new _0x5e5fd8['CommentsV2UpdateCommentMessage']();if(null!=_0x462c40['commentThreadId']&&(_0x124cd6['commentThreadId']=String(_0x462c40['commentThreadId'])),null!=_0x462c40['commentId']&&(_0x124cd6['commentId']=String(_0x462c40['commentId'])),null!=_0x462c40['content']&&(_0x124cd6['content']=String(_0x462c40['content'])),null!=_0x462c40['documentId']&&(_0x124cd6['documentId']=String(_0x462c40['documentId'])),null!=_0x462c40['attributes']&&(_0x124cd6['attributes']=String(_0x462c40['attributes'])),null!=_0x462c40['isAttributesUpdated']&&(_0x124cd6['isAttributesUpdated']=Boolean(_0x462c40['isAttributesUpdated'])),null!=_0x462c40['commentThread']){if('object'!=typeof _0x462c40['commentThread'])throw TypeError('.CommentsV2UpdateCommentMessage.commentThread:\x20object\x20expected');_0x124cd6['commentThread']=_0x5e5fd8['CommentsThreadDescriptor']['fromObject'](_0x462c40['commentThread']);}return _0x124cd6;},_0x1210e1['toObject']=function(_0x1011cc,_0x2f974d){_0x2f974d||(_0x2f974d={});var _0x3e5416={};return _0x2f974d['defaults']&&(_0x3e5416['commentThreadId']='',_0x3e5416['commentId']='',_0x3e5416['content']='',_0x3e5416['documentId']='',_0x3e5416['attributes']='',_0x3e5416['isAttributesUpdated']=!0x1,_0x3e5416['commentThread']=null),null!=_0x1011cc['commentThreadId']&&_0x1011cc['hasOwnProperty']('commentThreadId')&&(_0x3e5416['commentThreadId']=_0x1011cc['commentThreadId']),null!=_0x1011cc['commentId']&&_0x1011cc['hasOwnProperty']('commentId')&&(_0x3e5416['commentId']=_0x1011cc['commentId']),null!=_0x1011cc['content']&&_0x1011cc['hasOwnProperty']('content')&&(_0x3e5416['content']=_0x1011cc['content']),null!=_0x1011cc['documentId']&&_0x1011cc['hasOwnProperty']('documentId')&&(_0x3e5416['documentId']=_0x1011cc['documentId']),null!=_0x1011cc['attributes']&&_0x1011cc['hasOwnProperty']('attributes')&&(_0x3e5416['attributes']=_0x1011cc['attributes']),null!=_0x1011cc['isAttributesUpdated']&&_0x1011cc['hasOwnProperty']('isAttributesUpdated')&&(_0x3e5416['isAttributesUpdated']=_0x1011cc['isAttributesUpdated']),null!=_0x1011cc['commentThread']&&_0x1011cc['hasOwnProperty']('commentThread')&&(_0x3e5416['commentThread']=_0x5e5fd8['CommentsThreadDescriptor']['toObject'](_0x1011cc['commentThread'],_0x2f974d)),_0x3e5416;},_0x1210e1['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1210e1['getTypeUrl']=function(_0xcd9ee3){return void 0x0===_0xcd9ee3&&(_0xcd9ee3='type.googleapis.com'),_0xcd9ee3+'/CommentsV2UpdateCommentMessage';},_0x1210e1;}()),_0x5e5fd8['CommentsV2RemoveCommentThreadMessage']=(function(){function _0x261312(_0x3f91ee){if(_0x3f91ee){for(var _0x44fff1=Object['keys'](_0x3f91ee),_0x2a5b5a=0x0;_0x2a5b5a<_0x44fff1['length'];++_0x2a5b5a)null!=_0x3f91ee[_0x44fff1[_0x2a5b5a]]&&(this[_0x44fff1[_0x2a5b5a]]=_0x3f91ee[_0x44fff1[_0x2a5b5a]]);}}return _0x261312['prototype']['commentThreadId']='',_0x261312['prototype']['documentId']='',_0x261312['create']=function(_0x197c16){return new _0x261312(_0x197c16);},_0x261312['encode']=function(_0x53d800,_0x3a0d50){return _0x3a0d50||(_0x3a0d50=_0x500b66['create']()),null!=_0x53d800['commentThreadId']&&Object['hasOwnProperty']['call'](_0x53d800,'commentThreadId')&&_0x3a0d50['uint32'](0xa)['string'](_0x53d800['commentThreadId']),null!=_0x53d800['documentId']&&Object['hasOwnProperty']['call'](_0x53d800,'documentId')&&_0x3a0d50['uint32'](0x12)['string'](_0x53d800['documentId']),_0x3a0d50;},_0x261312['encodeDelimited']=function(_0x2bfeb6,_0x248dda){return this['encode'](_0x2bfeb6,_0x248dda)['ldelim']();},_0x261312['decode']=function(_0x135e24,_0x49df87,_0x2e84d8){_0x135e24 instanceof _0x223583||(_0x135e24=_0x223583['create'](_0x135e24));for(var _0x2757d5=void 0x0===_0x49df87?_0x135e24['len']:_0x135e24['pos']+_0x49df87,_0x313a8b=new _0x5e5fd8['CommentsV2RemoveCommentThreadMessage']();_0x135e24['pos']<_0x2757d5;){var _0x25283e=_0x135e24['uint32']();if(_0x25283e===_0x2e84d8)break;switch(_0x25283e>>>0x3){case 0x1:_0x313a8b['commentThreadId']=_0x135e24['string']();break;case 0x2:_0x313a8b['documentId']=_0x135e24['string']();break;default:_0x135e24['skipType'](0x7&_0x25283e);}}return _0x313a8b;},_0x261312['decodeDelimited']=function(_0x38e298){return _0x38e298 instanceof _0x223583||(_0x38e298=new _0x223583(_0x38e298)),this['decode'](_0x38e298,_0x38e298['uint32']());},_0x261312['verify']=function(_0x5165c9){return'object'!=typeof _0x5165c9||null===_0x5165c9?'object\x20expected':null!=_0x5165c9['commentThreadId']&&_0x5165c9['hasOwnProperty']('commentThreadId')&&!_0x420af4['isString'](_0x5165c9['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x5165c9['documentId']&&_0x5165c9['hasOwnProperty']('documentId')&&!_0x420af4['isString'](_0x5165c9['documentId'])?'documentId:\x20string\x20expected':null;},_0x261312['fromObject']=function(_0x395204){if(_0x395204 instanceof _0x5e5fd8['CommentsV2RemoveCommentThreadMessage'])return _0x395204;var _0x5dfef6=new _0x5e5fd8['CommentsV2RemoveCommentThreadMessage']();return null!=_0x395204['commentThreadId']&&(_0x5dfef6['commentThreadId']=String(_0x395204['commentThreadId'])),null!=_0x395204['documentId']&&(_0x5dfef6['documentId']=String(_0x395204['documentId'])),_0x5dfef6;},_0x261312['toObject']=function(_0x47a555,_0x2c23b5){_0x2c23b5||(_0x2c23b5={});var _0x63356d={};return _0x2c23b5['defaults']&&(_0x63356d['commentThreadId']='',_0x63356d['documentId']=''),null!=_0x47a555['commentThreadId']&&_0x47a555['hasOwnProperty']('commentThreadId')&&(_0x63356d['commentThreadId']=_0x47a555['commentThreadId']),null!=_0x47a555['documentId']&&_0x47a555['hasOwnProperty']('documentId')&&(_0x63356d['documentId']=_0x47a555['documentId']),_0x63356d;},_0x261312['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x261312['getTypeUrl']=function(_0x587c92){return void 0x0===_0x587c92&&(_0x587c92='type.googleapis.com'),_0x587c92+'/CommentsV2RemoveCommentThreadMessage';},_0x261312;}()),_0x5e5fd8['CommentsV2RemoveCommentMessage']=(function(){function _0x54e444(_0x58ef3b){if(_0x58ef3b){for(var _0x77bddf=Object['keys'](_0x58ef3b),_0x3ac53b=0x0;_0x3ac53b<_0x77bddf['length'];++_0x3ac53b)null!=_0x58ef3b[_0x77bddf[_0x3ac53b]]&&(this[_0x77bddf[_0x3ac53b]]=_0x58ef3b[_0x77bddf[_0x3ac53b]]);}}return _0x54e444['prototype']['commentThreadId']='',_0x54e444['prototype']['commentId']='',_0x54e444['prototype']['documentId']='',_0x54e444['create']=function(_0x5e14d4){return new _0x54e444(_0x5e14d4);},_0x54e444['encode']=function(_0x4966de,_0x5c2f12){return _0x5c2f12||(_0x5c2f12=_0x500b66['create']()),null!=_0x4966de['commentThreadId']&&Object['hasOwnProperty']['call'](_0x4966de,'commentThreadId')&&_0x5c2f12['uint32'](0xa)['string'](_0x4966de['commentThreadId']),null!=_0x4966de['commentId']&&Object['hasOwnProperty']['call'](_0x4966de,'commentId')&&_0x5c2f12['uint32'](0x12)['string'](_0x4966de['commentId']),null!=_0x4966de['documentId']&&Object['hasOwnProperty']['call'](_0x4966de,'documentId')&&_0x5c2f12['uint32'](0x1a)['string'](_0x4966de['documentId']),_0x5c2f12;},_0x54e444['encodeDelimited']=function(_0x3e4573,_0x3956bc){return this['encode'](_0x3e4573,_0x3956bc)['ldelim']();},_0x54e444['decode']=function(_0x1f8db2,_0x31b70c,_0x90b91a){_0x1f8db2 instanceof _0x223583||(_0x1f8db2=_0x223583['create'](_0x1f8db2));for(var _0x372068=void 0x0===_0x31b70c?_0x1f8db2['len']:_0x1f8db2['pos']+_0x31b70c,_0x45e58a=new _0x5e5fd8['CommentsV2RemoveCommentMessage']();_0x1f8db2['pos']<_0x372068;){var _0x297e57=_0x1f8db2['uint32']();if(_0x297e57===_0x90b91a)break;switch(_0x297e57>>>0x3){case 0x1:_0x45e58a['commentThreadId']=_0x1f8db2['string']();break;case 0x2:_0x45e58a['commentId']=_0x1f8db2['string']();break;case 0x3:_0x45e58a['documentId']=_0x1f8db2['string']();break;default:_0x1f8db2['skipType'](0x7&_0x297e57);}}return _0x45e58a;},_0x54e444['decodeDelimited']=function(_0x5379c1){return _0x5379c1 instanceof _0x223583||(_0x5379c1=new _0x223583(_0x5379c1)),this['decode'](_0x5379c1,_0x5379c1['uint32']());},_0x54e444['verify']=function(_0x5d3d27){return'object'!=typeof _0x5d3d27||null===_0x5d3d27?'object\x20expected':null!=_0x5d3d27['commentThreadId']&&_0x5d3d27['hasOwnProperty']('commentThreadId')&&!_0x420af4['isString'](_0x5d3d27['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x5d3d27['commentId']&&_0x5d3d27['hasOwnProperty']('commentId')&&!_0x420af4['isString'](_0x5d3d27['commentId'])?'commentId:\x20string\x20expected':null!=_0x5d3d27['documentId']&&_0x5d3d27['hasOwnProperty']('documentId')&&!_0x420af4['isString'](_0x5d3d27['documentId'])?'documentId:\x20string\x20expected':null;},_0x54e444['fromObject']=function(_0x918f6){if(_0x918f6 instanceof _0x5e5fd8['CommentsV2RemoveCommentMessage'])return _0x918f6;var _0x4cae17=new _0x5e5fd8['CommentsV2RemoveCommentMessage']();return null!=_0x918f6['commentThreadId']&&(_0x4cae17['commentThreadId']=String(_0x918f6['commentThreadId'])),null!=_0x918f6['commentId']&&(_0x4cae17['commentId']=String(_0x918f6['commentId'])),null!=_0x918f6['documentId']&&(_0x4cae17['documentId']=String(_0x918f6['documentId'])),_0x4cae17;},_0x54e444['toObject']=function(_0xb10e1,_0x51ae33){_0x51ae33||(_0x51ae33={});var _0x2ff525={};return _0x51ae33['defaults']&&(_0x2ff525['commentThreadId']='',_0x2ff525['commentId']='',_0x2ff525['documentId']=''),null!=_0xb10e1['commentThreadId']&&_0xb10e1['hasOwnProperty']('commentThreadId')&&(_0x2ff525['commentThreadId']=_0xb10e1['commentThreadId']),null!=_0xb10e1['commentId']&&_0xb10e1['hasOwnProperty']('commentId')&&(_0x2ff525['commentId']=_0xb10e1['commentId']),null!=_0xb10e1['documentId']&&_0xb10e1['hasOwnProperty']('documentId')&&(_0x2ff525['documentId']=_0xb10e1['documentId']),_0x2ff525;},_0x54e444['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x54e444['getTypeUrl']=function(_0x2bca45){return void 0x0===_0x2bca45&&(_0x2bca45='type.googleapis.com'),_0x2bca45+'/CommentsV2RemoveCommentMessage';},_0x54e444;}()),_0x5e5fd8['CommentsV2GetDocumentThreadsMessage']=(function(){function _0x31f5c2(_0x439009){if(_0x439009){for(var _0x55da29=Object['keys'](_0x439009),_0x21d0ba=0x0;_0x21d0ba<_0x55da29['length'];++_0x21d0ba)null!=_0x439009[_0x55da29[_0x21d0ba]]&&(this[_0x55da29[_0x21d0ba]]=_0x439009[_0x55da29[_0x21d0ba]]);}}return _0x31f5c2['prototype']['documentId']='',_0x31f5c2['create']=function(_0x20fa39){return new _0x31f5c2(_0x20fa39);},_0x31f5c2['encode']=function(_0x6bdbb6,_0x476351){return _0x476351||(_0x476351=_0x500b66['create']()),null!=_0x6bdbb6['documentId']&&Object['hasOwnProperty']['call'](_0x6bdbb6,'documentId')&&_0x476351['uint32'](0xa)['string'](_0x6bdbb6['documentId']),_0x476351;},_0x31f5c2['encodeDelimited']=function(_0x41323e,_0x3aa616){return this['encode'](_0x41323e,_0x3aa616)['ldelim']();},_0x31f5c2['decode']=function(_0x154f5c,_0x472292,_0x3ef628){_0x154f5c instanceof _0x223583||(_0x154f5c=_0x223583['create'](_0x154f5c));for(var _0x5bfadc=void 0x0===_0x472292?_0x154f5c['len']:_0x154f5c['pos']+_0x472292,_0xc51b1b=new _0x5e5fd8['CommentsV2GetDocumentThreadsMessage']();_0x154f5c['pos']<_0x5bfadc;){var _0x213cda=_0x154f5c['uint32']();if(_0x213cda===_0x3ef628)break;_0x213cda>>>0x3==0x1?_0xc51b1b['documentId']=_0x154f5c['string']():_0x154f5c['skipType'](0x7&_0x213cda);}return _0xc51b1b;},_0x31f5c2['decodeDelimited']=function(_0x1a39e3){return _0x1a39e3 instanceof _0x223583||(_0x1a39e3=new _0x223583(_0x1a39e3)),this['decode'](_0x1a39e3,_0x1a39e3['uint32']());},_0x31f5c2['verify']=function(_0x4e2581){return'object'!=typeof _0x4e2581||null===_0x4e2581?'object\x20expected':null!=_0x4e2581['documentId']&&_0x4e2581['hasOwnProperty']('documentId')&&!_0x420af4['isString'](_0x4e2581['documentId'])?'documentId:\x20string\x20expected':null;},_0x31f5c2['fromObject']=function(_0x391c80){if(_0x391c80 instanceof _0x5e5fd8['CommentsV2GetDocumentThreadsMessage'])return _0x391c80;var _0x3e2c93=new _0x5e5fd8['CommentsV2GetDocumentThreadsMessage']();return null!=_0x391c80['documentId']&&(_0x3e2c93['documentId']=String(_0x391c80['documentId'])),_0x3e2c93;},_0x31f5c2['toObject']=function(_0xf5bb5f,_0x1c7e00){_0x1c7e00||(_0x1c7e00={});var _0xf2ef55={};return _0x1c7e00['defaults']&&(_0xf2ef55['documentId']=''),null!=_0xf5bb5f['documentId']&&_0xf5bb5f['hasOwnProperty']('documentId')&&(_0xf2ef55['documentId']=_0xf5bb5f['documentId']),_0xf2ef55;},_0x31f5c2['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x31f5c2['getTypeUrl']=function(_0x3ad05f){return void 0x0===_0x3ad05f&&(_0x3ad05f='type.googleapis.com'),_0x3ad05f+'/CommentsV2GetDocumentThreadsMessage';},_0x31f5c2;}()),_0x5e5fd8['CommentsV2GetCommentThreadMessage']=(function(){function _0x18d823(_0x181f90){if(_0x181f90){for(var _0x231814=Object['keys'](_0x181f90),_0x59a921=0x0;_0x59a921<_0x231814['length'];++_0x59a921)null!=_0x181f90[_0x231814[_0x59a921]]&&(this[_0x231814[_0x59a921]]=_0x181f90[_0x231814[_0x59a921]]);}}return _0x18d823['prototype']['commentThreadId']='',_0x18d823['prototype']['documentId']='',_0x18d823['create']=function(_0x42df64){return new _0x18d823(_0x42df64);},_0x18d823['encode']=function(_0x544c1c,_0x2d3a62){return _0x2d3a62||(_0x2d3a62=_0x500b66['create']()),null!=_0x544c1c['commentThreadId']&&Object['hasOwnProperty']['call'](_0x544c1c,'commentThreadId')&&_0x2d3a62['uint32'](0xa)['string'](_0x544c1c['commentThreadId']),null!=_0x544c1c['documentId']&&Object['hasOwnProperty']['call'](_0x544c1c,'documentId')&&_0x2d3a62['uint32'](0x12)['string'](_0x544c1c['documentId']),_0x2d3a62;},_0x18d823['encodeDelimited']=function(_0x224abe,_0x3a05ba){return this['encode'](_0x224abe,_0x3a05ba)['ldelim']();},_0x18d823['decode']=function(_0xd0e5b,_0xd2770e,_0x271e5e){_0xd0e5b instanceof _0x223583||(_0xd0e5b=_0x223583['create'](_0xd0e5b));for(var _0x2f1161=void 0x0===_0xd2770e?_0xd0e5b['len']:_0xd0e5b['pos']+_0xd2770e,_0x205a8f=new _0x5e5fd8['CommentsV2GetCommentThreadMessage']();_0xd0e5b['pos']<_0x2f1161;){var _0x30dc47=_0xd0e5b['uint32']();if(_0x30dc47===_0x271e5e)break;switch(_0x30dc47>>>0x3){case 0x1:_0x205a8f['commentThreadId']=_0xd0e5b['string']();break;case 0x2:_0x205a8f['documentId']=_0xd0e5b['string']();break;default:_0xd0e5b['skipType'](0x7&_0x30dc47);}}return _0x205a8f;},_0x18d823['decodeDelimited']=function(_0x27e15d){return _0x27e15d instanceof _0x223583||(_0x27e15d=new _0x223583(_0x27e15d)),this['decode'](_0x27e15d,_0x27e15d['uint32']());},_0x18d823['verify']=function(_0x261744){return'object'!=typeof _0x261744||null===_0x261744?'object\x20expected':null!=_0x261744['commentThreadId']&&_0x261744['hasOwnProperty']('commentThreadId')&&!_0x420af4['isString'](_0x261744['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x261744['documentId']&&_0x261744['hasOwnProperty']('documentId')&&!_0x420af4['isString'](_0x261744['documentId'])?'documentId:\x20string\x20expected':null;},_0x18d823['fromObject']=function(_0x34ec52){if(_0x34ec52 instanceof _0x5e5fd8['CommentsV2GetCommentThreadMessage'])return _0x34ec52;var _0x4decf7=new _0x5e5fd8['CommentsV2GetCommentThreadMessage']();return null!=_0x34ec52['commentThreadId']&&(_0x4decf7['commentThreadId']=String(_0x34ec52['commentThreadId'])),null!=_0x34ec52['documentId']&&(_0x4decf7['documentId']=String(_0x34ec52['documentId'])),_0x4decf7;},_0x18d823['toObject']=function(_0x257a82,_0x2c7d9a){_0x2c7d9a||(_0x2c7d9a={});var _0x3fb7d5={};return _0x2c7d9a['defaults']&&(_0x3fb7d5['commentThreadId']='',_0x3fb7d5['documentId']=''),null!=_0x257a82['commentThreadId']&&_0x257a82['hasOwnProperty']('commentThreadId')&&(_0x3fb7d5['commentThreadId']=_0x257a82['commentThreadId']),null!=_0x257a82['documentId']&&_0x257a82['hasOwnProperty']('documentId')&&(_0x3fb7d5['documentId']=_0x257a82['documentId']),_0x3fb7d5;},_0x18d823['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x18d823['getTypeUrl']=function(_0x1f1023){return void 0x0===_0x1f1023&&(_0x1f1023='type.googleapis.com'),_0x1f1023+'/CommentsV2GetCommentThreadMessage';},_0x18d823;}()),_0x5e5fd8['CommentsV2ConnectMessage']=(function(){function _0x35c9dd(_0x49317e){if(_0x49317e){for(var _0x2b58d3=Object['keys'](_0x49317e),_0x5dc753=0x0;_0x5dc753<_0x2b58d3['length'];++_0x5dc753)null!=_0x49317e[_0x2b58d3[_0x5dc753]]&&(this[_0x2b58d3[_0x5dc753]]=_0x49317e[_0x2b58d3[_0x5dc753]]);}}return _0x35c9dd['prototype']['documentId']='',_0x35c9dd['create']=function(_0x4c8e04){return new _0x35c9dd(_0x4c8e04);},_0x35c9dd['encode']=function(_0x126669,_0x239179){return _0x239179||(_0x239179=_0x500b66['create']()),null!=_0x126669['documentId']&&Object['hasOwnProperty']['call'](_0x126669,'documentId')&&_0x239179['uint32'](0xa)['string'](_0x126669['documentId']),_0x239179;},_0x35c9dd['encodeDelimited']=function(_0x1ffb3e,_0x5da3f6){return this['encode'](_0x1ffb3e,_0x5da3f6)['ldelim']();},_0x35c9dd['decode']=function(_0x30fcdd,_0x486c7d,_0x141aa4){_0x30fcdd instanceof _0x223583||(_0x30fcdd=_0x223583['create'](_0x30fcdd));for(var _0x38b8fe=void 0x0===_0x486c7d?_0x30fcdd['len']:_0x30fcdd['pos']+_0x486c7d,_0x5320bd=new _0x5e5fd8['CommentsV2ConnectMessage']();_0x30fcdd['pos']<_0x38b8fe;){var _0xe45f4a=_0x30fcdd['uint32']();if(_0xe45f4a===_0x141aa4)break;_0xe45f4a>>>0x3==0x1?_0x5320bd['documentId']=_0x30fcdd['string']():_0x30fcdd['skipType'](0x7&_0xe45f4a);}return _0x5320bd;},_0x35c9dd['decodeDelimited']=function(_0xfd89c2){return _0xfd89c2 instanceof _0x223583||(_0xfd89c2=new _0x223583(_0xfd89c2)),this['decode'](_0xfd89c2,_0xfd89c2['uint32']());},_0x35c9dd['verify']=function(_0x467e57){return'object'!=typeof _0x467e57||null===_0x467e57?'object\x20expected':null!=_0x467e57['documentId']&&_0x467e57['hasOwnProperty']('documentId')&&!_0x420af4['isString'](_0x467e57['documentId'])?'documentId:\x20string\x20expected':null;},_0x35c9dd['fromObject']=function(_0x4567ae){if(_0x4567ae instanceof _0x5e5fd8['CommentsV2ConnectMessage'])return _0x4567ae;var _0x15ac24=new _0x5e5fd8['CommentsV2ConnectMessage']();return null!=_0x4567ae['documentId']&&(_0x15ac24['documentId']=String(_0x4567ae['documentId'])),_0x15ac24;},_0x35c9dd['toObject']=function(_0x54b16e,_0x384186){_0x384186||(_0x384186={});var _0x22f425={};return _0x384186['defaults']&&(_0x22f425['documentId']=''),null!=_0x54b16e['documentId']&&_0x54b16e['hasOwnProperty']('documentId')&&(_0x22f425['documentId']=_0x54b16e['documentId']),_0x22f425;},_0x35c9dd['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x35c9dd['getTypeUrl']=function(_0x3da135){return void 0x0===_0x3da135&&(_0x3da135='type.googleapis.com'),_0x3da135+'/CommentsV2ConnectMessage';},_0x35c9dd;}()),_0x5e5fd8['CommentsV2AddCommentMessage']=(function(){function _0x4e90a0(_0x125ee2){if(_0x125ee2){for(var _0x42342d=Object['keys'](_0x125ee2),_0x466af9=0x0;_0x466af9<_0x42342d['length'];++_0x466af9)null!=_0x125ee2[_0x42342d[_0x466af9]]&&(this[_0x42342d[_0x466af9]]=_0x125ee2[_0x42342d[_0x466af9]]);}}return _0x4e90a0['prototype']['commentThreadId']='',_0x4e90a0['prototype']['content']='',_0x4e90a0['prototype']['documentId']='',_0x4e90a0['prototype']['commentId']='',_0x4e90a0['prototype']['createdAt']='',_0x4e90a0['prototype']['userId']='',_0x4e90a0['prototype']['attributes']='',_0x4e90a0['prototype']['commentThread']=null,_0x4e90a0['create']=function(_0xbf809c){return new _0x4e90a0(_0xbf809c);},_0x4e90a0['encode']=function(_0x1e581b,_0x56c70b){return _0x56c70b||(_0x56c70b=_0x500b66['create']()),null!=_0x1e581b['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1e581b,'commentThreadId')&&_0x56c70b['uint32'](0xa)['string'](_0x1e581b['commentThreadId']),null!=_0x1e581b['content']&&Object['hasOwnProperty']['call'](_0x1e581b,'content')&&_0x56c70b['uint32'](0x12)['string'](_0x1e581b['content']),null!=_0x1e581b['documentId']&&Object['hasOwnProperty']['call'](_0x1e581b,'documentId')&&_0x56c70b['uint32'](0x1a)['string'](_0x1e581b['documentId']),null!=_0x1e581b['commentId']&&Object['hasOwnProperty']['call'](_0x1e581b,'commentId')&&_0x56c70b['uint32'](0x22)['string'](_0x1e581b['commentId']),null!=_0x1e581b['createdAt']&&Object['hasOwnProperty']['call'](_0x1e581b,'createdAt')&&_0x56c70b['uint32'](0x2a)['string'](_0x1e581b['createdAt']),null!=_0x1e581b['userId']&&Object['hasOwnProperty']['call'](_0x1e581b,'userId')&&_0x56c70b['uint32'](0x32)['string'](_0x1e581b['userId']),null!=_0x1e581b['attributes']&&Object['hasOwnProperty']['call'](_0x1e581b,'attributes')&&_0x56c70b['uint32'](0x3a)['string'](_0x1e581b['attributes']),null!=_0x1e581b['commentThread']&&Object['hasOwnProperty']['call'](_0x1e581b,'commentThread')&&_0x5e5fd8['CommentsThreadDescriptor']['encode'](_0x1e581b['commentThread'],_0x56c70b['uint32'](0x42)['fork']())['ldelim'](),_0x56c70b;},_0x4e90a0['encodeDelimited']=function(_0x17ef75,_0x58ad9a){return this['encode'](_0x17ef75,_0x58ad9a)['ldelim']();},_0x4e90a0['decode']=function(_0x5a9372,_0x19346b,_0x442329){_0x5a9372 instanceof _0x223583||(_0x5a9372=_0x223583['create'](_0x5a9372));for(var _0x140b45=void 0x0===_0x19346b?_0x5a9372['len']:_0x5a9372['pos']+_0x19346b,_0x136c19=new _0x5e5fd8['CommentsV2AddCommentMessage']();_0x5a9372['pos']<_0x140b45;){var _0x44ab47=_0x5a9372['uint32']();if(_0x44ab47===_0x442329)break;switch(_0x44ab47>>>0x3){case 0x1:_0x136c19['commentThreadId']=_0x5a9372['string']();break;case 0x2:_0x136c19['content']=_0x5a9372['string']();break;case 0x3:_0x136c19['documentId']=_0x5a9372['string']();break;case 0x4:_0x136c19['commentId']=_0x5a9372['string']();break;case 0x5:_0x136c19['createdAt']=_0x5a9372['string']();break;case 0x6:_0x136c19['userId']=_0x5a9372['string']();break;case 0x7:_0x136c19['attributes']=_0x5a9372['string']();break;case 0x8:_0x136c19['commentThread']=_0x5e5fd8['CommentsThreadDescriptor']['decode'](_0x5a9372,_0x5a9372['uint32']());break;default:_0x5a9372['skipType'](0x7&_0x44ab47);}}return _0x136c19;},_0x4e90a0['decodeDelimited']=function(_0xa74f9b){return _0xa74f9b instanceof _0x223583||(_0xa74f9b=new _0x223583(_0xa74f9b)),this['decode'](_0xa74f9b,_0xa74f9b['uint32']());},_0x4e90a0['verify']=function(_0xe77009){if('object'!=typeof _0xe77009||null===_0xe77009)return'object\x20expected';if(null!=_0xe77009['commentThreadId']&&_0xe77009['hasOwnProperty']('commentThreadId')&&!_0x420af4['isString'](_0xe77009['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0xe77009['content']&&_0xe77009['hasOwnProperty']('content')&&!_0x420af4['isString'](_0xe77009['content']))return'content:\x20string\x20expected';if(null!=_0xe77009['documentId']&&_0xe77009['hasOwnProperty']('documentId')&&!_0x420af4['isString'](_0xe77009['documentId']))return'documentId:\x20string\x20expected';if(null!=_0xe77009['commentId']&&_0xe77009['hasOwnProperty']('commentId')&&!_0x420af4['isString'](_0xe77009['commentId']))return'commentId:\x20string\x20expected';if(null!=_0xe77009['createdAt']&&_0xe77009['hasOwnProperty']('createdAt')&&!_0x420af4['isString'](_0xe77009['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0xe77009['userId']&&_0xe77009['hasOwnProperty']('userId')&&!_0x420af4['isString'](_0xe77009['userId']))return'userId:\x20string\x20expected';if(null!=_0xe77009['attributes']&&_0xe77009['hasOwnProperty']('attributes')&&!_0x420af4['isString'](_0xe77009['attributes']))return'attributes:\x20string\x20expected';if(null!=_0xe77009['commentThread']&&_0xe77009['hasOwnProperty']('commentThread')){var _0x13d24a=_0x5e5fd8['CommentsThreadDescriptor']['verify'](_0xe77009['commentThread']);if(_0x13d24a)return'commentThread.'+_0x13d24a;}return null;},_0x4e90a0['fromObject']=function(_0x292587){if(_0x292587 instanceof _0x5e5fd8['CommentsV2AddCommentMessage'])return _0x292587;var _0x2b1add=new _0x5e5fd8['CommentsV2AddCommentMessage']();if(null!=_0x292587['commentThreadId']&&(_0x2b1add['commentThreadId']=String(_0x292587['commentThreadId'])),null!=_0x292587['content']&&(_0x2b1add['content']=String(_0x292587['content'])),null!=_0x292587['documentId']&&(_0x2b1add['documentId']=String(_0x292587['documentId'])),null!=_0x292587['commentId']&&(_0x2b1add['commentId']=String(_0x292587['commentId'])),null!=_0x292587['createdAt']&&(_0x2b1add['createdAt']=String(_0x292587['createdAt'])),null!=_0x292587['userId']&&(_0x2b1add['userId']=String(_0x292587['userId'])),null!=_0x292587['attributes']&&(_0x2b1add['attributes']=String(_0x292587['attributes'])),null!=_0x292587['commentThread']){if('object'!=typeof _0x292587['commentThread'])throw TypeError('.CommentsV2AddCommentMessage.commentThread:\x20object\x20expected');_0x2b1add['commentThread']=_0x5e5fd8['CommentsThreadDescriptor']['fromObject'](_0x292587['commentThread']);}return _0x2b1add;},_0x4e90a0['toObject']=function(_0x10b01c,_0x4acb7e){_0x4acb7e||(_0x4acb7e={});var _0x3e798f={};return _0x4acb7e['defaults']&&(_0x3e798f['commentThreadId']='',_0x3e798f['content']='',_0x3e798f['documentId']='',_0x3e798f['commentId']='',_0x3e798f['createdAt']='',_0x3e798f['userId']='',_0x3e798f['attributes']='',_0x3e798f['commentThread']=null),null!=_0x10b01c['commentThreadId']&&_0x10b01c['hasOwnProperty']('commentThreadId')&&(_0x3e798f['commentThreadId']=_0x10b01c['commentThreadId']),null!=_0x10b01c['content']&&_0x10b01c['hasOwnProperty']('content')&&(_0x3e798f['content']=_0x10b01c['content']),null!=_0x10b01c['documentId']&&_0x10b01c['hasOwnProperty']('documentId')&&(_0x3e798f['documentId']=_0x10b01c['documentId']),null!=_0x10b01c['commentId']&&_0x10b01c['hasOwnProperty']('commentId')&&(_0x3e798f['commentId']=_0x10b01c['commentId']),null!=_0x10b01c['createdAt']&&_0x10b01c['hasOwnProperty']('createdAt')&&(_0x3e798f['createdAt']=_0x10b01c['createdAt']),null!=_0x10b01c['userId']&&_0x10b01c['hasOwnProperty']('userId')&&(_0x3e798f['userId']=_0x10b01c['userId']),null!=_0x10b01c['attributes']&&_0x10b01c['hasOwnProperty']('attributes')&&(_0x3e798f['attributes']=_0x10b01c['attributes']),null!=_0x10b01c['commentThread']&&_0x10b01c['hasOwnProperty']('commentThread')&&(_0x3e798f['commentThread']=_0x5e5fd8['CommentsThreadDescriptor']['toObject'](_0x10b01c['commentThread'],_0x4acb7e)),_0x3e798f;},_0x4e90a0['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4e90a0['getTypeUrl']=function(_0x4bdc06){return void 0x0===_0x4bdc06&&(_0x4bdc06='type.googleapis.com'),_0x4bdc06+'/CommentsV2AddCommentMessage';},_0x4e90a0;}()),_0x5e5fd8['CommentsV2UpdateCommentThreadMessage']=(function(){function _0x1e9bac(_0x12b615){if(_0x12b615){for(var _0x5b5bac=Object['keys'](_0x12b615),_0x4ef3c3=0x0;_0x4ef3c3<_0x5b5bac['length'];++_0x4ef3c3)null!=_0x12b615[_0x5b5bac[_0x4ef3c3]]&&(this[_0x5b5bac[_0x4ef3c3]]=_0x12b615[_0x5b5bac[_0x4ef3c3]]);}}return _0x1e9bac['prototype']['commentThreadId']='',_0x1e9bac['prototype']['documentId']='',_0x1e9bac['prototype']['context']='',_0x1e9bac['prototype']['attributes']='',_0x1e9bac['prototype']['unlinkedAt']='',_0x1e9bac['create']=function(_0x286f1a){return new _0x1e9bac(_0x286f1a);},_0x1e9bac['encode']=function(_0x1329be,_0x51ecb6){return _0x51ecb6||(_0x51ecb6=_0x500b66['create']()),null!=_0x1329be['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1329be,'commentThreadId')&&_0x51ecb6['uint32'](0xa)['string'](_0x1329be['commentThreadId']),null!=_0x1329be['documentId']&&Object['hasOwnProperty']['call'](_0x1329be,'documentId')&&_0x51ecb6['uint32'](0x12)['string'](_0x1329be['documentId']),null!=_0x1329be['context']&&Object['hasOwnProperty']['call'](_0x1329be,'context')&&_0x51ecb6['uint32'](0x1a)['string'](_0x1329be['context']),null!=_0x1329be['attributes']&&Object['hasOwnProperty']['call'](_0x1329be,'attributes')&&_0x51ecb6['uint32'](0x22)['string'](_0x1329be['attributes']),null!=_0x1329be['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x1329be,'unlinkedAt')&&_0x51ecb6['uint32'](0x2a)['string'](_0x1329be['unlinkedAt']),_0x51ecb6;},_0x1e9bac['encodeDelimited']=function(_0x31ad4e,_0x39aa14){return this['encode'](_0x31ad4e,_0x39aa14)['ldelim']();},_0x1e9bac['decode']=function(_0x1baf1a,_0x183249,_0xc0d2ee){_0x1baf1a instanceof _0x223583||(_0x1baf1a=_0x223583['create'](_0x1baf1a));for(var _0x32831a=void 0x0===_0x183249?_0x1baf1a['len']:_0x1baf1a['pos']+_0x183249,_0x409355=new _0x5e5fd8['CommentsV2UpdateCommentThreadMessage']();_0x1baf1a['pos']<_0x32831a;){var _0x3bac14=_0x1baf1a['uint32']();if(_0x3bac14===_0xc0d2ee)break;switch(_0x3bac14>>>0x3){case 0x1:_0x409355['commentThreadId']=_0x1baf1a['string']();break;case 0x2:_0x409355['documentId']=_0x1baf1a['string']();break;case 0x3:_0x409355['context']=_0x1baf1a['string']();break;case 0x4:_0x409355['attributes']=_0x1baf1a['string']();break;case 0x5:_0x409355['unlinkedAt']=_0x1baf1a['string']();break;default:_0x1baf1a['skipType'](0x7&_0x3bac14);}}return _0x409355;},_0x1e9bac['decodeDelimited']=function(_0x3a847d){return _0x3a847d instanceof _0x223583||(_0x3a847d=new _0x223583(_0x3a847d)),this['decode'](_0x3a847d,_0x3a847d['uint32']());},_0x1e9bac['verify']=function(_0x1cbbee){return'object'!=typeof _0x1cbbee||null===_0x1cbbee?'object\x20expected':null!=_0x1cbbee['commentThreadId']&&_0x1cbbee['hasOwnProperty']('commentThreadId')&&!_0x420af4['isString'](_0x1cbbee['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x1cbbee['documentId']&&_0x1cbbee['hasOwnProperty']('documentId')&&!_0x420af4['isString'](_0x1cbbee['documentId'])?'documentId:\x20string\x20expected':null!=_0x1cbbee['context']&&_0x1cbbee['hasOwnProperty']('context')&&!_0x420af4['isString'](_0x1cbbee['context'])?'context:\x20string\x20expected':null!=_0x1cbbee['attributes']&&_0x1cbbee['hasOwnProperty']('attributes')&&!_0x420af4['isString'](_0x1cbbee['attributes'])?'attributes:\x20string\x20expected':null!=_0x1cbbee['unlinkedAt']&&_0x1cbbee['hasOwnProperty']('unlinkedAt')&&!_0x420af4['isString'](_0x1cbbee['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0x1e9bac['fromObject']=function(_0x26d159){if(_0x26d159 instanceof _0x5e5fd8['CommentsV2UpdateCommentThreadMessage'])return _0x26d159;var _0x4deaba=new _0x5e5fd8['CommentsV2UpdateCommentThreadMessage']();return null!=_0x26d159['commentThreadId']&&(_0x4deaba['commentThreadId']=String(_0x26d159['commentThreadId'])),null!=_0x26d159['documentId']&&(_0x4deaba['documentId']=String(_0x26d159['documentId'])),null!=_0x26d159['context']&&(_0x4deaba['context']=String(_0x26d159['context'])),null!=_0x26d159['attributes']&&(_0x4deaba['attributes']=String(_0x26d159['attributes'])),null!=_0x26d159['unlinkedAt']&&(_0x4deaba['unlinkedAt']=String(_0x26d159['unlinkedAt'])),_0x4deaba;},_0x1e9bac['toObject']=function(_0x2f4273,_0x1550fd){_0x1550fd||(_0x1550fd={});var _0x3f0851={};return _0x1550fd['defaults']&&(_0x3f0851['commentThreadId']='',_0x3f0851['documentId']='',_0x3f0851['context']='',_0x3f0851['attributes']='',_0x3f0851['unlinkedAt']=''),null!=_0x2f4273['commentThreadId']&&_0x2f4273['hasOwnProperty']('commentThreadId')&&(_0x3f0851['commentThreadId']=_0x2f4273['commentThreadId']),null!=_0x2f4273['documentId']&&_0x2f4273['hasOwnProperty']('documentId')&&(_0x3f0851['documentId']=_0x2f4273['documentId']),null!=_0x2f4273['context']&&_0x2f4273['hasOwnProperty']('context')&&(_0x3f0851['context']=_0x2f4273['context']),null!=_0x2f4273['attributes']&&_0x2f4273['hasOwnProperty']('attributes')&&(_0x3f0851['attributes']=_0x2f4273['attributes']),null!=_0x2f4273['unlinkedAt']&&_0x2f4273['hasOwnProperty']('unlinkedAt')&&(_0x3f0851['unlinkedAt']=_0x2f4273['unlinkedAt']),_0x3f0851;},_0x1e9bac['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1e9bac['getTypeUrl']=function(_0x46db93){return void 0x0===_0x46db93&&(_0x46db93='type.googleapis.com'),_0x46db93+'/CommentsV2UpdateCommentThreadMessage';},_0x1e9bac;}()),_0x5e5fd8['CommentsV2ResolveCommentThreadMessage']=(function(){function _0x464be2(_0x44d275){if(_0x44d275){for(var _0x28c5d2=Object['keys'](_0x44d275),_0x201172=0x0;_0x201172<_0x28c5d2['length'];++_0x201172)null!=_0x44d275[_0x28c5d2[_0x201172]]&&(this[_0x28c5d2[_0x201172]]=_0x44d275[_0x28c5d2[_0x201172]]);}}return _0x464be2['prototype']['commentThreadId']='',_0x464be2['prototype']['documentId']='',_0x464be2['prototype']['resolvedBy']='',_0x464be2['prototype']['resolvedAt']='',_0x464be2['create']=function(_0x39d9f2){return new _0x464be2(_0x39d9f2);},_0x464be2['encode']=function(_0x3af87b,_0x268522){return _0x268522||(_0x268522=_0x500b66['create']()),null!=_0x3af87b['commentThreadId']&&Object['hasOwnProperty']['call'](_0x3af87b,'commentThreadId')&&_0x268522['uint32'](0xa)['string'](_0x3af87b['commentThreadId']),null!=_0x3af87b['documentId']&&Object['hasOwnProperty']['call'](_0x3af87b,'documentId')&&_0x268522['uint32'](0x12)['string'](_0x3af87b['documentId']),null!=_0x3af87b['resolvedBy']&&Object['hasOwnProperty']['call'](_0x3af87b,'resolvedBy')&&_0x268522['uint32'](0x1a)['string'](_0x3af87b['resolvedBy']),null!=_0x3af87b['resolvedAt']&&Object['hasOwnProperty']['call'](_0x3af87b,'resolvedAt')&&_0x268522['uint32'](0x22)['string'](_0x3af87b['resolvedAt']),_0x268522;},_0x464be2['encodeDelimited']=function(_0xeb57b4,_0xd9f5e2){return this['encode'](_0xeb57b4,_0xd9f5e2)['ldelim']();},_0x464be2['decode']=function(_0x9f6af3,_0x242b3b,_0x1ce209){_0x9f6af3 instanceof _0x223583||(_0x9f6af3=_0x223583['create'](_0x9f6af3));for(var _0x41110f=void 0x0===_0x242b3b?_0x9f6af3['len']:_0x9f6af3['pos']+_0x242b3b,_0x4d3890=new _0x5e5fd8['CommentsV2ResolveCommentThreadMessage']();_0x9f6af3['pos']<_0x41110f;){var _0x4643fc=_0x9f6af3['uint32']();if(_0x4643fc===_0x1ce209)break;switch(_0x4643fc>>>0x3){case 0x1:_0x4d3890['commentThreadId']=_0x9f6af3['string']();break;case 0x2:_0x4d3890['documentId']=_0x9f6af3['string']();break;case 0x3:_0x4d3890['resolvedBy']=_0x9f6af3['string']();break;case 0x4:_0x4d3890['resolvedAt']=_0x9f6af3['string']();break;default:_0x9f6af3['skipType'](0x7&_0x4643fc);}}return _0x4d3890;},_0x464be2['decodeDelimited']=function(_0x4296db){return _0x4296db instanceof _0x223583||(_0x4296db=new _0x223583(_0x4296db)),this['decode'](_0x4296db,_0x4296db['uint32']());},_0x464be2['verify']=function(_0x4542e1){return'object'!=typeof _0x4542e1||null===_0x4542e1?'object\x20expected':null!=_0x4542e1['commentThreadId']&&_0x4542e1['hasOwnProperty']('commentThreadId')&&!_0x420af4['isString'](_0x4542e1['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x4542e1['documentId']&&_0x4542e1['hasOwnProperty']('documentId')&&!_0x420af4['isString'](_0x4542e1['documentId'])?'documentId:\x20string\x20expected':null!=_0x4542e1['resolvedBy']&&_0x4542e1['hasOwnProperty']('resolvedBy')&&!_0x420af4['isString'](_0x4542e1['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x4542e1['resolvedAt']&&_0x4542e1['hasOwnProperty']('resolvedAt')&&!_0x420af4['isString'](_0x4542e1['resolvedAt'])?'resolvedAt:\x20string\x20expected':null;},_0x464be2['fromObject']=function(_0x4eb97c){if(_0x4eb97c instanceof _0x5e5fd8['CommentsV2ResolveCommentThreadMessage'])return _0x4eb97c;var _0x2baf29=new _0x5e5fd8['CommentsV2ResolveCommentThreadMessage']();return null!=_0x4eb97c['commentThreadId']&&(_0x2baf29['commentThreadId']=String(_0x4eb97c['commentThreadId'])),null!=_0x4eb97c['documentId']&&(_0x2baf29['documentId']=String(_0x4eb97c['documentId'])),null!=_0x4eb97c['resolvedBy']&&(_0x2baf29['resolvedBy']=String(_0x4eb97c['resolvedBy'])),null!=_0x4eb97c['resolvedAt']&&(_0x2baf29['resolvedAt']=String(_0x4eb97c['resolvedAt'])),_0x2baf29;},_0x464be2['toObject']=function(_0x2147f9,_0x18a5c3){_0x18a5c3||(_0x18a5c3={});var _0x480eec={};return _0x18a5c3['defaults']&&(_0x480eec['commentThreadId']='',_0x480eec['documentId']='',_0x480eec['resolvedBy']='',_0x480eec['resolvedAt']=''),null!=_0x2147f9['commentThreadId']&&_0x2147f9['hasOwnProperty']('commentThreadId')&&(_0x480eec['commentThreadId']=_0x2147f9['commentThreadId']),null!=_0x2147f9['documentId']&&_0x2147f9['hasOwnProperty']('documentId')&&(_0x480eec['documentId']=_0x2147f9['documentId']),null!=_0x2147f9['resolvedBy']&&_0x2147f9['hasOwnProperty']('resolvedBy')&&(_0x480eec['resolvedBy']=_0x2147f9['resolvedBy']),null!=_0x2147f9['resolvedAt']&&_0x2147f9['hasOwnProperty']('resolvedAt')&&(_0x480eec['resolvedAt']=_0x2147f9['resolvedAt']),_0x480eec;},_0x464be2['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x464be2['getTypeUrl']=function(_0x5a5e68){return void 0x0===_0x5a5e68&&(_0x5a5e68='type.googleapis.com'),_0x5a5e68+'/CommentsV2ResolveCommentThreadMessage';},_0x464be2;}()),_0x5e5fd8['CommentsV2ReopenCommentThreadMessage']=(function(){function _0x51ab8f(_0x323d93){if(_0x323d93){for(var _0xb7018f=Object['keys'](_0x323d93),_0x64fc0d=0x0;_0x64fc0d<_0xb7018f['length'];++_0x64fc0d)null!=_0x323d93[_0xb7018f[_0x64fc0d]]&&(this[_0xb7018f[_0x64fc0d]]=_0x323d93[_0xb7018f[_0x64fc0d]]);}}return _0x51ab8f['prototype']['commentThreadId']='',_0x51ab8f['prototype']['documentId']='',_0x51ab8f['create']=function(_0x1be989){return new _0x51ab8f(_0x1be989);},_0x51ab8f['encode']=function(_0x3dea67,_0x4ac7c){return _0x4ac7c||(_0x4ac7c=_0x500b66['create']()),null!=_0x3dea67['commentThreadId']&&Object['hasOwnProperty']['call'](_0x3dea67,'commentThreadId')&&_0x4ac7c['uint32'](0xa)['string'](_0x3dea67['commentThreadId']),null!=_0x3dea67['documentId']&&Object['hasOwnProperty']['call'](_0x3dea67,'documentId')&&_0x4ac7c['uint32'](0x12)['string'](_0x3dea67['documentId']),_0x4ac7c;},_0x51ab8f['encodeDelimited']=function(_0x528eb2,_0xc141b5){return this['encode'](_0x528eb2,_0xc141b5)['ldelim']();},_0x51ab8f['decode']=function(_0x328a41,_0x19d0b2,_0x23fe1e){_0x328a41 instanceof _0x223583||(_0x328a41=_0x223583['create'](_0x328a41));for(var _0x1c7975=void 0x0===_0x19d0b2?_0x328a41['len']:_0x328a41['pos']+_0x19d0b2,_0x56503c=new _0x5e5fd8['CommentsV2ReopenCommentThreadMessage']();_0x328a41['pos']<_0x1c7975;){var _0x2c8eb9=_0x328a41['uint32']();if(_0x2c8eb9===_0x23fe1e)break;switch(_0x2c8eb9>>>0x3){case 0x1:_0x56503c['commentThreadId']=_0x328a41['string']();break;case 0x2:_0x56503c['documentId']=_0x328a41['string']();break;default:_0x328a41['skipType'](0x7&_0x2c8eb9);}}return _0x56503c;},_0x51ab8f['decodeDelimited']=function(_0x24f395){return _0x24f395 instanceof _0x223583||(_0x24f395=new _0x223583(_0x24f395)),this['decode'](_0x24f395,_0x24f395['uint32']());},_0x51ab8f['verify']=function(_0xee426d){return'object'!=typeof _0xee426d||null===_0xee426d?'object\x20expected':null!=_0xee426d['commentThreadId']&&_0xee426d['hasOwnProperty']('commentThreadId')&&!_0x420af4['isString'](_0xee426d['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0xee426d['documentId']&&_0xee426d['hasOwnProperty']('documentId')&&!_0x420af4['isString'](_0xee426d['documentId'])?'documentId:\x20string\x20expected':null;},_0x51ab8f['fromObject']=function(_0x3f514f){if(_0x3f514f instanceof _0x5e5fd8['CommentsV2ReopenCommentThreadMessage'])return _0x3f514f;var _0x197461=new _0x5e5fd8['CommentsV2ReopenCommentThreadMessage']();return null!=_0x3f514f['commentThreadId']&&(_0x197461['commentThreadId']=String(_0x3f514f['commentThreadId'])),null!=_0x3f514f['documentId']&&(_0x197461['documentId']=String(_0x3f514f['documentId'])),_0x197461;},_0x51ab8f['toObject']=function(_0x387bda,_0xfbba53){_0xfbba53||(_0xfbba53={});var _0x2d95e3={};return _0xfbba53['defaults']&&(_0x2d95e3['commentThreadId']='',_0x2d95e3['documentId']=''),null!=_0x387bda['commentThreadId']&&_0x387bda['hasOwnProperty']('commentThreadId')&&(_0x2d95e3['commentThreadId']=_0x387bda['commentThreadId']),null!=_0x387bda['documentId']&&_0x387bda['hasOwnProperty']('documentId')&&(_0x2d95e3['documentId']=_0x387bda['documentId']),_0x2d95e3;},_0x51ab8f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x51ab8f['getTypeUrl']=function(_0x361222){return void 0x0===_0x361222&&(_0x361222='type.googleapis.com'),_0x361222+'/CommentsV2ReopenCommentThreadMessage';},_0x51ab8f;}()),_0x5e5fd8['CommentsV2AddCommentThreadMessage']=(function(){function _0x4f402a(_0x5f016e){if(this['comments']=[],_0x5f016e){for(var _0x541612=Object['keys'](_0x5f016e),_0x12ecd6=0x0;_0x12ecd6<_0x541612['length'];++_0x12ecd6)null!=_0x5f016e[_0x541612[_0x12ecd6]]&&(this[_0x541612[_0x12ecd6]]=_0x5f016e[_0x541612[_0x12ecd6]]);}}return _0x4f402a['prototype']['documentId']='',_0x4f402a['prototype']['commentThreadId']='',_0x4f402a['prototype']['context']='',_0x4f402a['prototype']['createdAt']='',_0x4f402a['prototype']['resolvedAt']='',_0x4f402a['prototype']['resolvedBy']='',_0x4f402a['prototype']['attributes']='',_0x4f402a['prototype']['deletedAt']='',_0x4f402a['prototype']['comments']=_0x420af4['emptyArray'],_0x4f402a['create']=function(_0x581e25){return new _0x4f402a(_0x581e25);},_0x4f402a['encode']=function(_0x793f96,_0x1e8e4e){if(_0x1e8e4e||(_0x1e8e4e=_0x500b66['create']()),null!=_0x793f96['documentId']&&Object['hasOwnProperty']['call'](_0x793f96,'documentId')&&_0x1e8e4e['uint32'](0xa)['string'](_0x793f96['documentId']),null!=_0x793f96['commentThreadId']&&Object['hasOwnProperty']['call'](_0x793f96,'commentThreadId')&&_0x1e8e4e['uint32'](0x12)['string'](_0x793f96['commentThreadId']),null!=_0x793f96['context']&&Object['hasOwnProperty']['call'](_0x793f96,'context')&&_0x1e8e4e['uint32'](0x1a)['string'](_0x793f96['context']),null!=_0x793f96['createdAt']&&Object['hasOwnProperty']['call'](_0x793f96,'createdAt')&&_0x1e8e4e['uint32'](0x22)['string'](_0x793f96['createdAt']),null!=_0x793f96['resolvedAt']&&Object['hasOwnProperty']['call'](_0x793f96,'resolvedAt')&&_0x1e8e4e['uint32'](0x2a)['string'](_0x793f96['resolvedAt']),null!=_0x793f96['resolvedBy']&&Object['hasOwnProperty']['call'](_0x793f96,'resolvedBy')&&_0x1e8e4e['uint32'](0x32)['string'](_0x793f96['resolvedBy']),null!=_0x793f96['attributes']&&Object['hasOwnProperty']['call'](_0x793f96,'attributes')&&_0x1e8e4e['uint32'](0x3a)['string'](_0x793f96['attributes']),null!=_0x793f96['deletedAt']&&Object['hasOwnProperty']['call'](_0x793f96,'deletedAt')&&_0x1e8e4e['uint32'](0x42)['string'](_0x793f96['deletedAt']),null!=_0x793f96['comments']&&_0x793f96['comments']['length']){for(var _0x1ecd9a=0x0;_0x1ecd9a<_0x793f96['comments']['length'];++_0x1ecd9a)_0x5e5fd8['CommentDescriptor']['encode'](_0x793f96['comments'][_0x1ecd9a],_0x1e8e4e['uint32'](0x4a)['fork']())['ldelim']();}return _0x1e8e4e;},_0x4f402a['encodeDelimited']=function(_0x1b2bc3,_0xc020e1){return this['encode'](_0x1b2bc3,_0xc020e1)['ldelim']();},_0x4f402a['decode']=function(_0x4c92ac,_0x21ea42,_0x24a37c){_0x4c92ac instanceof _0x223583||(_0x4c92ac=_0x223583['create'](_0x4c92ac));for(var _0x2a47bb=void 0x0===_0x21ea42?_0x4c92ac['len']:_0x4c92ac['pos']+_0x21ea42,_0x5d1f64=new _0x5e5fd8['CommentsV2AddCommentThreadMessage']();_0x4c92ac['pos']<_0x2a47bb;){var _0x46c207=_0x4c92ac['uint32']();if(_0x46c207===_0x24a37c)break;switch(_0x46c207>>>0x3){case 0x1:_0x5d1f64['documentId']=_0x4c92ac['string']();break;case 0x2:_0x5d1f64['commentThreadId']=_0x4c92ac['string']();break;case 0x3:_0x5d1f64['context']=_0x4c92ac['string']();break;case 0x4:_0x5d1f64['createdAt']=_0x4c92ac['string']();break;case 0x5:_0x5d1f64['resolvedAt']=_0x4c92ac['string']();break;case 0x6:_0x5d1f64['resolvedBy']=_0x4c92ac['string']();break;case 0x7:_0x5d1f64['attributes']=_0x4c92ac['string']();break;case 0x8:_0x5d1f64['deletedAt']=_0x4c92ac['string']();break;case 0x9:_0x5d1f64['comments']&&_0x5d1f64['comments']['length']||(_0x5d1f64['comments']=[]),_0x5d1f64['comments']['push'](_0x5e5fd8['CommentDescriptor']['decode'](_0x4c92ac,_0x4c92ac['uint32']()));break;default:_0x4c92ac['skipType'](0x7&_0x46c207);}}return _0x5d1f64;},_0x4f402a['decodeDelimited']=function(_0x41574a){return _0x41574a instanceof _0x223583||(_0x41574a=new _0x223583(_0x41574a)),this['decode'](_0x41574a,_0x41574a['uint32']());},_0x4f402a['verify']=function(_0x30fe5e){if('object'!=typeof _0x30fe5e||null===_0x30fe5e)return'object\x20expected';if(null!=_0x30fe5e['documentId']&&_0x30fe5e['hasOwnProperty']('documentId')&&!_0x420af4['isString'](_0x30fe5e['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x30fe5e['commentThreadId']&&_0x30fe5e['hasOwnProperty']('commentThreadId')&&!_0x420af4['isString'](_0x30fe5e['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x30fe5e['context']&&_0x30fe5e['hasOwnProperty']('context')&&!_0x420af4['isString'](_0x30fe5e['context']))return'context:\x20string\x20expected';if(null!=_0x30fe5e['createdAt']&&_0x30fe5e['hasOwnProperty']('createdAt')&&!_0x420af4['isString'](_0x30fe5e['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x30fe5e['resolvedAt']&&_0x30fe5e['hasOwnProperty']('resolvedAt')&&!_0x420af4['isString'](_0x30fe5e['resolvedAt']))return'resolvedAt:\x20string\x20expected';if(null!=_0x30fe5e['resolvedBy']&&_0x30fe5e['hasOwnProperty']('resolvedBy')&&!_0x420af4['isString'](_0x30fe5e['resolvedBy']))return'resolvedBy:\x20string\x20expected';if(null!=_0x30fe5e['attributes']&&_0x30fe5e['hasOwnProperty']('attributes')&&!_0x420af4['isString'](_0x30fe5e['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x30fe5e['deletedAt']&&_0x30fe5e['hasOwnProperty']('deletedAt')&&!_0x420af4['isString'](_0x30fe5e['deletedAt']))return'deletedAt:\x20string\x20expected';if(null!=_0x30fe5e['comments']&&_0x30fe5e['hasOwnProperty']('comments')){if(!Array['isArray'](_0x30fe5e['comments']))return'comments:\x20array\x20expected';for(var _0x4611a=0x0;_0x4611a<_0x30fe5e['comments']['length'];++_0x4611a){var _0x17f222=_0x5e5fd8['CommentDescriptor']['verify'](_0x30fe5e['comments'][_0x4611a]);if(_0x17f222)return'comments.'+_0x17f222;}}return null;},_0x4f402a['fromObject']=function(_0x288575){if(_0x288575 instanceof _0x5e5fd8['CommentsV2AddCommentThreadMessage'])return _0x288575;var _0x23e3e1=new _0x5e5fd8['CommentsV2AddCommentThreadMessage']();if(null!=_0x288575['documentId']&&(_0x23e3e1['documentId']=String(_0x288575['documentId'])),null!=_0x288575['commentThreadId']&&(_0x23e3e1['commentThreadId']=String(_0x288575['commentThreadId'])),null!=_0x288575['context']&&(_0x23e3e1['context']=String(_0x288575['context'])),null!=_0x288575['createdAt']&&(_0x23e3e1['createdAt']=String(_0x288575['createdAt'])),null!=_0x288575['resolvedAt']&&(_0x23e3e1['resolvedAt']=String(_0x288575['resolvedAt'])),null!=_0x288575['resolvedBy']&&(_0x23e3e1['resolvedBy']=String(_0x288575['resolvedBy'])),null!=_0x288575['attributes']&&(_0x23e3e1['attributes']=String(_0x288575['attributes'])),null!=_0x288575['deletedAt']&&(_0x23e3e1['deletedAt']=String(_0x288575['deletedAt'])),_0x288575['comments']){if(!Array['isArray'](_0x288575['comments']))throw TypeError('.CommentsV2AddCommentThreadMessage.comments:\x20array\x20expected');_0x23e3e1['comments']=[];for(var _0x3cbc6d=0x0;_0x3cbc6d<_0x288575['comments']['length'];++_0x3cbc6d){if('object'!=typeof _0x288575['comments'][_0x3cbc6d])throw TypeError('.CommentsV2AddCommentThreadMessage.comments:\x20object\x20expected');_0x23e3e1['comments'][_0x3cbc6d]=_0x5e5fd8['CommentDescriptor']['fromObject'](_0x288575['comments'][_0x3cbc6d]);}}return _0x23e3e1;},_0x4f402a['toObject']=function(_0x4328b6,_0x700a62){_0x700a62||(_0x700a62={});var _0x1f54ea={};if((_0x700a62['arrays']||_0x700a62['defaults'])&&(_0x1f54ea['comments']=[]),_0x700a62['defaults']&&(_0x1f54ea['documentId']='',_0x1f54ea['commentThreadId']='',_0x1f54ea['context']='',_0x1f54ea['createdAt']='',_0x1f54ea['resolvedAt']='',_0x1f54ea['resolvedBy']='',_0x1f54ea['attributes']='',_0x1f54ea['deletedAt']=''),null!=_0x4328b6['documentId']&&_0x4328b6['hasOwnProperty']('documentId')&&(_0x1f54ea['documentId']=_0x4328b6['documentId']),null!=_0x4328b6['commentThreadId']&&_0x4328b6['hasOwnProperty']('commentThreadId')&&(_0x1f54ea['commentThreadId']=_0x4328b6['commentThreadId']),null!=_0x4328b6['context']&&_0x4328b6['hasOwnProperty']('context')&&(_0x1f54ea['context']=_0x4328b6['context']),null!=_0x4328b6['createdAt']&&_0x4328b6['hasOwnProperty']('createdAt')&&(_0x1f54ea['createdAt']=_0x4328b6['createdAt']),null!=_0x4328b6['resolvedAt']&&_0x4328b6['hasOwnProperty']('resolvedAt')&&(_0x1f54ea['resolvedAt']=_0x4328b6['resolvedAt']),null!=_0x4328b6['resolvedBy']&&_0x4328b6['hasOwnProperty']('resolvedBy')&&(_0x1f54ea['resolvedBy']=_0x4328b6['resolvedBy']),null!=_0x4328b6['attributes']&&_0x4328b6['hasOwnProperty']('attributes')&&(_0x1f54ea['attributes']=_0x4328b6['attributes']),null!=_0x4328b6['deletedAt']&&_0x4328b6['hasOwnProperty']('deletedAt')&&(_0x1f54ea['deletedAt']=_0x4328b6['deletedAt']),_0x4328b6['comments']&&_0x4328b6['comments']['length']){_0x1f54ea['comments']=[];for(var _0x3ae8f4=0x0;_0x3ae8f4<_0x4328b6['comments']['length'];++_0x3ae8f4)_0x1f54ea['comments'][_0x3ae8f4]=_0x5e5fd8['CommentDescriptor']['toObject'](_0x4328b6['comments'][_0x3ae8f4],_0x700a62);}return _0x1f54ea;},_0x4f402a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4f402a['getTypeUrl']=function(_0x440a2d){return void 0x0===_0x440a2d&&(_0x440a2d='type.googleapis.com'),_0x440a2d+'/CommentsV2AddCommentThreadMessage';},_0x4f402a;}()),_0x5e5fd8['CommentThreadAddedCommentDescriptor']=(function(){function _0x5763d0(_0x188c07){if(_0x188c07){for(var _0x37ef1c=Object['keys'](_0x188c07),_0x4e7de5=0x0;_0x4e7de5<_0x37ef1c['length'];++_0x4e7de5)null!=_0x188c07[_0x37ef1c[_0x4e7de5]]&&(this[_0x37ef1c[_0x4e7de5]]=_0x188c07[_0x37ef1c[_0x4e7de5]]);}}return _0x5763d0['prototype']['commentId']='',_0x5763d0['prototype']['createdAt']='',_0x5763d0['create']=function(_0x44a509){return new _0x5763d0(_0x44a509);},_0x5763d0['encode']=function(_0x3e1665,_0x375822){return _0x375822||(_0x375822=_0x500b66['create']()),null!=_0x3e1665['commentId']&&Object['hasOwnProperty']['call'](_0x3e1665,'commentId')&&_0x375822['uint32'](0xa)['string'](_0x3e1665['commentId']),null!=_0x3e1665['createdAt']&&Object['hasOwnProperty']['call'](_0x3e1665,'createdAt')&&_0x375822['uint32'](0x12)['string'](_0x3e1665['createdAt']),_0x375822;},_0x5763d0['encodeDelimited']=function(_0x4c526a,_0xd87177){return this['encode'](_0x4c526a,_0xd87177)['ldelim']();},_0x5763d0['decode']=function(_0x4e6d83,_0x514275,_0x336719){_0x4e6d83 instanceof _0x223583||(_0x4e6d83=_0x223583['create'](_0x4e6d83));for(var _0x51f551=void 0x0===_0x514275?_0x4e6d83['len']:_0x4e6d83['pos']+_0x514275,_0x443364=new _0x5e5fd8['CommentThreadAddedCommentDescriptor']();_0x4e6d83['pos']<_0x51f551;){var _0x8ced1b=_0x4e6d83['uint32']();if(_0x8ced1b===_0x336719)break;switch(_0x8ced1b>>>0x3){case 0x1:_0x443364['commentId']=_0x4e6d83['string']();break;case 0x2:_0x443364['createdAt']=_0x4e6d83['string']();break;default:_0x4e6d83['skipType'](0x7&_0x8ced1b);}}return _0x443364;},_0x5763d0['decodeDelimited']=function(_0x2eae7f){return _0x2eae7f instanceof _0x223583||(_0x2eae7f=new _0x223583(_0x2eae7f)),this['decode'](_0x2eae7f,_0x2eae7f['uint32']());},_0x5763d0['verify']=function(_0x515620){return'object'!=typeof _0x515620||null===_0x515620?'object\x20expected':null!=_0x515620['commentId']&&_0x515620['hasOwnProperty']('commentId')&&!_0x420af4['isString'](_0x515620['commentId'])?'commentId:\x20string\x20expected':null!=_0x515620['createdAt']&&_0x515620['hasOwnProperty']('createdAt')&&!_0x420af4['isString'](_0x515620['createdAt'])?'createdAt:\x20string\x20expected':null;},_0x5763d0['fromObject']=function(_0x31ff79){if(_0x31ff79 instanceof _0x5e5fd8['CommentThreadAddedCommentDescriptor'])return _0x31ff79;var _0x3b3ace=new _0x5e5fd8['CommentThreadAddedCommentDescriptor']();return null!=_0x31ff79['commentId']&&(_0x3b3ace['commentId']=String(_0x31ff79['commentId'])),null!=_0x31ff79['createdAt']&&(_0x3b3ace['createdAt']=String(_0x31ff79['createdAt'])),_0x3b3ace;},_0x5763d0['toObject']=function(_0x5ed822,_0x23c9b6){_0x23c9b6||(_0x23c9b6={});var _0x435273={};return _0x23c9b6['defaults']&&(_0x435273['commentId']='',_0x435273['createdAt']=''),null!=_0x5ed822['commentId']&&_0x5ed822['hasOwnProperty']('commentId')&&(_0x435273['commentId']=_0x5ed822['commentId']),null!=_0x5ed822['createdAt']&&_0x5ed822['hasOwnProperty']('createdAt')&&(_0x435273['createdAt']=_0x5ed822['createdAt']),_0x435273;},_0x5763d0['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x5763d0['getTypeUrl']=function(_0x31a77e){return void 0x0===_0x31a77e&&(_0x31a77e='type.googleapis.com'),_0x31a77e+'/CommentThreadAddedCommentDescriptor';},_0x5763d0;}()),_0x5e5fd8['CommentsThreadDescriptor']=(function(){function _0x22ea06(_0x2bcd3e){if(this['comments']=[],_0x2bcd3e){for(var _0x4d0093=Object['keys'](_0x2bcd3e),_0x44516b=0x0;_0x44516b<_0x4d0093['length'];++_0x44516b)null!=_0x2bcd3e[_0x4d0093[_0x44516b]]&&(this[_0x4d0093[_0x44516b]]=_0x2bcd3e[_0x4d0093[_0x44516b]]);}}return _0x22ea06['prototype']['commentThreadId']='',_0x22ea06['prototype']['comments']=_0x420af4['emptyArray'],_0x22ea06['prototype']['resolvedAt']='',_0x22ea06['prototype']['resolvedBy']='',_0x22ea06['prototype']['context']='',_0x22ea06['prototype']['createdAt']='',_0x22ea06['prototype']['deletedAt']='',_0x22ea06['prototype']['attributes']='',_0x22ea06['prototype']['unlinkedAt']='',_0x22ea06['create']=function(_0x10d097){return new _0x22ea06(_0x10d097);},_0x22ea06['encode']=function(_0x57f1ae,_0x379e41){if(_0x379e41||(_0x379e41=_0x500b66['create']()),null!=_0x57f1ae['commentThreadId']&&Object['hasOwnProperty']['call'](_0x57f1ae,'commentThreadId')&&_0x379e41['uint32'](0xa)['string'](_0x57f1ae['commentThreadId']),null!=_0x57f1ae['comments']&&_0x57f1ae['comments']['length']){for(var _0x250dee=0x0;_0x250dee<_0x57f1ae['comments']['length'];++_0x250dee)_0x5e5fd8['CommentDescriptor']['encode'](_0x57f1ae['comments'][_0x250dee],_0x379e41['uint32'](0x12)['fork']())['ldelim']();}return null!=_0x57f1ae['resolvedAt']&&Object['hasOwnProperty']['call'](_0x57f1ae,'resolvedAt')&&_0x379e41['uint32'](0x1a)['string'](_0x57f1ae['resolvedAt']),null!=_0x57f1ae['resolvedBy']&&Object['hasOwnProperty']['call'](_0x57f1ae,'resolvedBy')&&_0x379e41['uint32'](0x22)['string'](_0x57f1ae['resolvedBy']),null!=_0x57f1ae['context']&&Object['hasOwnProperty']['call'](_0x57f1ae,'context')&&_0x379e41['uint32'](0x2a)['string'](_0x57f1ae['context']),null!=_0x57f1ae['createdAt']&&Object['hasOwnProperty']['call'](_0x57f1ae,'createdAt')&&_0x379e41['uint32'](0x32)['string'](_0x57f1ae['createdAt']),null!=_0x57f1ae['deletedAt']&&Object['hasOwnProperty']['call'](_0x57f1ae,'deletedAt')&&_0x379e41['uint32'](0x3a)['string'](_0x57f1ae['deletedAt']),null!=_0x57f1ae['attributes']&&Object['hasOwnProperty']['call'](_0x57f1ae,'attributes')&&_0x379e41['uint32'](0x42)['string'](_0x57f1ae['attributes']),null!=_0x57f1ae['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x57f1ae,'unlinkedAt')&&_0x379e41['uint32'](0x4a)['string'](_0x57f1ae['unlinkedAt']),_0x379e41;},_0x22ea06['encodeDelimited']=function(_0x35221c,_0xa2e46b){return this['encode'](_0x35221c,_0xa2e46b)['ldelim']();},_0x22ea06['decode']=function(_0x3ca2f1,_0x1c2f85,_0x3d3bd3){_0x3ca2f1 instanceof _0x223583||(_0x3ca2f1=_0x223583['create'](_0x3ca2f1));for(var _0x490edc=void 0x0===_0x1c2f85?_0x3ca2f1['len']:_0x3ca2f1['pos']+_0x1c2f85,_0x322289=new _0x5e5fd8['CommentsThreadDescriptor']();_0x3ca2f1['pos']<_0x490edc;){var _0x2ff494=_0x3ca2f1['uint32']();if(_0x2ff494===_0x3d3bd3)break;switch(_0x2ff494>>>0x3){case 0x1:_0x322289['commentThreadId']=_0x3ca2f1['string']();break;case 0x2:_0x322289['comments']&&_0x322289['comments']['length']||(_0x322289['comments']=[]),_0x322289['comments']['push'](_0x5e5fd8['CommentDescriptor']['decode'](_0x3ca2f1,_0x3ca2f1['uint32']()));break;case 0x3:_0x322289['resolvedAt']=_0x3ca2f1['string']();break;case 0x4:_0x322289['resolvedBy']=_0x3ca2f1['string']();break;case 0x5:_0x322289['context']=_0x3ca2f1['string']();break;case 0x6:_0x322289['createdAt']=_0x3ca2f1['string']();break;case 0x7:_0x322289['deletedAt']=_0x3ca2f1['string']();break;case 0x8:_0x322289['attributes']=_0x3ca2f1['string']();break;case 0x9:_0x322289['unlinkedAt']=_0x3ca2f1['string']();break;default:_0x3ca2f1['skipType'](0x7&_0x2ff494);}}return _0x322289;},_0x22ea06['decodeDelimited']=function(_0x44d2e3){return _0x44d2e3 instanceof _0x223583||(_0x44d2e3=new _0x223583(_0x44d2e3)),this['decode'](_0x44d2e3,_0x44d2e3['uint32']());},_0x22ea06['verify']=function(_0x4b2b04){if('object'!=typeof _0x4b2b04||null===_0x4b2b04)return'object\x20expected';if(null!=_0x4b2b04['commentThreadId']&&_0x4b2b04['hasOwnProperty']('commentThreadId')&&!_0x420af4['isString'](_0x4b2b04['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x4b2b04['comments']&&_0x4b2b04['hasOwnProperty']('comments')){if(!Array['isArray'](_0x4b2b04['comments']))return'comments:\x20array\x20expected';for(var _0x11bf91=0x0;_0x11bf91<_0x4b2b04['comments']['length'];++_0x11bf91){var _0x24dc79=_0x5e5fd8['CommentDescriptor']['verify'](_0x4b2b04['comments'][_0x11bf91]);if(_0x24dc79)return'comments.'+_0x24dc79;}}return null!=_0x4b2b04['resolvedAt']&&_0x4b2b04['hasOwnProperty']('resolvedAt')&&!_0x420af4['isString'](_0x4b2b04['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x4b2b04['resolvedBy']&&_0x4b2b04['hasOwnProperty']('resolvedBy')&&!_0x420af4['isString'](_0x4b2b04['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x4b2b04['context']&&_0x4b2b04['hasOwnProperty']('context')&&!_0x420af4['isString'](_0x4b2b04['context'])?'context:\x20string\x20expected':null!=_0x4b2b04['createdAt']&&_0x4b2b04['hasOwnProperty']('createdAt')&&!_0x420af4['isString'](_0x4b2b04['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x4b2b04['deletedAt']&&_0x4b2b04['hasOwnProperty']('deletedAt')&&!_0x420af4['isString'](_0x4b2b04['deletedAt'])?'deletedAt:\x20string\x20expected':null!=_0x4b2b04['attributes']&&_0x4b2b04['hasOwnProperty']('attributes')&&!_0x420af4['isString'](_0x4b2b04['attributes'])?'attributes:\x20string\x20expected':null!=_0x4b2b04['unlinkedAt']&&_0x4b2b04['hasOwnProperty']('unlinkedAt')&&!_0x420af4['isString'](_0x4b2b04['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0x22ea06['fromObject']=function(_0x26dea9){if(_0x26dea9 instanceof _0x5e5fd8['CommentsThreadDescriptor'])return _0x26dea9;var _0x10f81=new _0x5e5fd8['CommentsThreadDescriptor']();if(null!=_0x26dea9['commentThreadId']&&(_0x10f81['commentThreadId']=String(_0x26dea9['commentThreadId'])),_0x26dea9['comments']){if(!Array['isArray'](_0x26dea9['comments']))throw TypeError('.CommentsThreadDescriptor.comments:\x20array\x20expected');_0x10f81['comments']=[];for(var _0x1a558e=0x0;_0x1a558e<_0x26dea9['comments']['length'];++_0x1a558e){if('object'!=typeof _0x26dea9['comments'][_0x1a558e])throw TypeError('.CommentsThreadDescriptor.comments:\x20object\x20expected');_0x10f81['comments'][_0x1a558e]=_0x5e5fd8['CommentDescriptor']['fromObject'](_0x26dea9['comments'][_0x1a558e]);}}return null!=_0x26dea9['resolvedAt']&&(_0x10f81['resolvedAt']=String(_0x26dea9['resolvedAt'])),null!=_0x26dea9['resolvedBy']&&(_0x10f81['resolvedBy']=String(_0x26dea9['resolvedBy'])),null!=_0x26dea9['context']&&(_0x10f81['context']=String(_0x26dea9['context'])),null!=_0x26dea9['createdAt']&&(_0x10f81['createdAt']=String(_0x26dea9['createdAt'])),null!=_0x26dea9['deletedAt']&&(_0x10f81['deletedAt']=String(_0x26dea9['deletedAt'])),null!=_0x26dea9['attributes']&&(_0x10f81['attributes']=String(_0x26dea9['attributes'])),null!=_0x26dea9['unlinkedAt']&&(_0x10f81['unlinkedAt']=String(_0x26dea9['unlinkedAt'])),_0x10f81;},_0x22ea06['toObject']=function(_0x4eeddf,_0x4bc675){_0x4bc675||(_0x4bc675={});var _0x4ae573={};if((_0x4bc675['arrays']||_0x4bc675['defaults'])&&(_0x4ae573['comments']=[]),_0x4bc675['defaults']&&(_0x4ae573['commentThreadId']='',_0x4ae573['resolvedAt']='',_0x4ae573['resolvedBy']='',_0x4ae573['context']='',_0x4ae573['createdAt']='',_0x4ae573['deletedAt']='',_0x4ae573['attributes']='',_0x4ae573['unlinkedAt']=''),null!=_0x4eeddf['commentThreadId']&&_0x4eeddf['hasOwnProperty']('commentThreadId')&&(_0x4ae573['commentThreadId']=_0x4eeddf['commentThreadId']),_0x4eeddf['comments']&&_0x4eeddf['comments']['length']){_0x4ae573['comments']=[];for(var _0x4f42c2=0x0;_0x4f42c2<_0x4eeddf['comments']['length'];++_0x4f42c2)_0x4ae573['comments'][_0x4f42c2]=_0x5e5fd8['CommentDescriptor']['toObject'](_0x4eeddf['comments'][_0x4f42c2],_0x4bc675);}return null!=_0x4eeddf['resolvedAt']&&_0x4eeddf['hasOwnProperty']('resolvedAt')&&(_0x4ae573['resolvedAt']=_0x4eeddf['resolvedAt']),null!=_0x4eeddf['resolvedBy']&&_0x4eeddf['hasOwnProperty']('resolvedBy')&&(_0x4ae573['resolvedBy']=_0x4eeddf['resolvedBy']),null!=_0x4eeddf['context']&&_0x4eeddf['hasOwnProperty']('context')&&(_0x4ae573['context']=_0x4eeddf['context']),null!=_0x4eeddf['createdAt']&&_0x4eeddf['hasOwnProperty']('createdAt')&&(_0x4ae573['createdAt']=_0x4eeddf['createdAt']),null!=_0x4eeddf['deletedAt']&&_0x4eeddf['hasOwnProperty']('deletedAt')&&(_0x4ae573['deletedAt']=_0x4eeddf['deletedAt']),null!=_0x4eeddf['attributes']&&_0x4eeddf['hasOwnProperty']('attributes')&&(_0x4ae573['attributes']=_0x4eeddf['attributes']),null!=_0x4eeddf['unlinkedAt']&&_0x4eeddf['hasOwnProperty']('unlinkedAt')&&(_0x4ae573['unlinkedAt']=_0x4eeddf['unlinkedAt']),_0x4ae573;},_0x22ea06['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x22ea06['getTypeUrl']=function(_0x33f154){return void 0x0===_0x33f154&&(_0x33f154='type.googleapis.com'),_0x33f154+'/CommentsThreadDescriptor';},_0x22ea06;}()),_0x5e5fd8['CommentDescriptor']=(function(){function _0x3e4257(_0x262ee0){if(_0x262ee0){for(var _0x3c1f2c=Object['keys'](_0x262ee0),_0xa7c3ce=0x0;_0xa7c3ce<_0x3c1f2c['length'];++_0xa7c3ce)null!=_0x262ee0[_0x3c1f2c[_0xa7c3ce]]&&(this[_0x3c1f2c[_0xa7c3ce]]=_0x262ee0[_0x3c1f2c[_0xa7c3ce]]);}}return _0x3e4257['prototype']['commentId']='',_0x3e4257['prototype']['commentThreadId']='',_0x3e4257['prototype']['userId']='',_0x3e4257['prototype']['content']='',_0x3e4257['prototype']['documentId']='',_0x3e4257['prototype']['createdAt']='',_0x3e4257['prototype']['attributes']='',_0x3e4257['create']=function(_0x12dd77){return new _0x3e4257(_0x12dd77);},_0x3e4257['encode']=function(_0x447b3a,_0x5202ad){return _0x5202ad||(_0x5202ad=_0x500b66['create']()),null!=_0x447b3a['commentId']&&Object['hasOwnProperty']['call'](_0x447b3a,'commentId')&&_0x5202ad['uint32'](0xa)['string'](_0x447b3a['commentId']),null!=_0x447b3a['commentThreadId']&&Object['hasOwnProperty']['call'](_0x447b3a,'commentThreadId')&&_0x5202ad['uint32'](0x12)['string'](_0x447b3a['commentThreadId']),null!=_0x447b3a['userId']&&Object['hasOwnProperty']['call'](_0x447b3a,'userId')&&_0x5202ad['uint32'](0x1a)['string'](_0x447b3a['userId']),null!=_0x447b3a['content']&&Object['hasOwnProperty']['call'](_0x447b3a,'content')&&_0x5202ad['uint32'](0x22)['string'](_0x447b3a['content']),null!=_0x447b3a['documentId']&&Object['hasOwnProperty']['call'](_0x447b3a,'documentId')&&_0x5202ad['uint32'](0x2a)['string'](_0x447b3a['documentId']),null!=_0x447b3a['createdAt']&&Object['hasOwnProperty']['call'](_0x447b3a,'createdAt')&&_0x5202ad['uint32'](0x32)['string'](_0x447b3a['createdAt']),null!=_0x447b3a['attributes']&&Object['hasOwnProperty']['call'](_0x447b3a,'attributes')&&_0x5202ad['uint32'](0x3a)['string'](_0x447b3a['attributes']),_0x5202ad;},_0x3e4257['encodeDelimited']=function(_0x1c42ac,_0x24093e){return this['encode'](_0x1c42ac,_0x24093e)['ldelim']();},_0x3e4257['decode']=function(_0x5d36f2,_0x40c199,_0xfd7c65){_0x5d36f2 instanceof _0x223583||(_0x5d36f2=_0x223583['create'](_0x5d36f2));for(var _0x35c38b=void 0x0===_0x40c199?_0x5d36f2['len']:_0x5d36f2['pos']+_0x40c199,_0x5dba39=new _0x5e5fd8['CommentDescriptor']();_0x5d36f2['pos']<_0x35c38b;){var _0x42b2c2=_0x5d36f2['uint32']();if(_0x42b2c2===_0xfd7c65)break;switch(_0x42b2c2>>>0x3){case 0x1:_0x5dba39['commentId']=_0x5d36f2['string']();break;case 0x2:_0x5dba39['commentThreadId']=_0x5d36f2['string']();break;case 0x3:_0x5dba39['userId']=_0x5d36f2['string']();break;case 0x4:_0x5dba39['content']=_0x5d36f2['string']();break;case 0x5:_0x5dba39['documentId']=_0x5d36f2['string']();break;case 0x6:_0x5dba39['createdAt']=_0x5d36f2['string']();break;case 0x7:_0x5dba39['attributes']=_0x5d36f2['string']();break;default:_0x5d36f2['skipType'](0x7&_0x42b2c2);}}return _0x5dba39;},_0x3e4257['decodeDelimited']=function(_0x3b861b){return _0x3b861b instanceof _0x223583||(_0x3b861b=new _0x223583(_0x3b861b)),this['decode'](_0x3b861b,_0x3b861b['uint32']());},_0x3e4257['verify']=function(_0x524646){return'object'!=typeof _0x524646||null===_0x524646?'object\x20expected':null!=_0x524646['commentId']&&_0x524646['hasOwnProperty']('commentId')&&!_0x420af4['isString'](_0x524646['commentId'])?'commentId:\x20string\x20expected':null!=_0x524646['commentThreadId']&&_0x524646['hasOwnProperty']('commentThreadId')&&!_0x420af4['isString'](_0x524646['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x524646['userId']&&_0x524646['hasOwnProperty']('userId')&&!_0x420af4['isString'](_0x524646['userId'])?'userId:\x20string\x20expected':null!=_0x524646['content']&&_0x524646['hasOwnProperty']('content')&&!_0x420af4['isString'](_0x524646['content'])?'content:\x20string\x20expected':null!=_0x524646['documentId']&&_0x524646['hasOwnProperty']('documentId')&&!_0x420af4['isString'](_0x524646['documentId'])?'documentId:\x20string\x20expected':null!=_0x524646['createdAt']&&_0x524646['hasOwnProperty']('createdAt')&&!_0x420af4['isString'](_0x524646['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x524646['attributes']&&_0x524646['hasOwnProperty']('attributes')&&!_0x420af4['isString'](_0x524646['attributes'])?'attributes:\x20string\x20expected':null;},_0x3e4257['fromObject']=function(_0x31bfff){if(_0x31bfff instanceof _0x5e5fd8['CommentDescriptor'])return _0x31bfff;var _0x5e1f89=new _0x5e5fd8['CommentDescriptor']();return null!=_0x31bfff['commentId']&&(_0x5e1f89['commentId']=String(_0x31bfff['commentId'])),null!=_0x31bfff['commentThreadId']&&(_0x5e1f89['commentThreadId']=String(_0x31bfff['commentThreadId'])),null!=_0x31bfff['userId']&&(_0x5e1f89['userId']=String(_0x31bfff['userId'])),null!=_0x31bfff['content']&&(_0x5e1f89['content']=String(_0x31bfff['content'])),null!=_0x31bfff['documentId']&&(_0x5e1f89['documentId']=String(_0x31bfff['documentId'])),null!=_0x31bfff['createdAt']&&(_0x5e1f89['createdAt']=String(_0x31bfff['createdAt'])),null!=_0x31bfff['attributes']&&(_0x5e1f89['attributes']=String(_0x31bfff['attributes'])),_0x5e1f89;},_0x3e4257['toObject']=function(_0x19f379,_0x33c202){_0x33c202||(_0x33c202={});var _0x59a452={};return _0x33c202['defaults']&&(_0x59a452['commentId']='',_0x59a452['commentThreadId']='',_0x59a452['userId']='',_0x59a452['content']='',_0x59a452['documentId']='',_0x59a452['createdAt']='',_0x59a452['attributes']=''),null!=_0x19f379['commentId']&&_0x19f379['hasOwnProperty']('commentId')&&(_0x59a452['commentId']=_0x19f379['commentId']),null!=_0x19f379['commentThreadId']&&_0x19f379['hasOwnProperty']('commentThreadId')&&(_0x59a452['commentThreadId']=_0x19f379['commentThreadId']),null!=_0x19f379['userId']&&_0x19f379['hasOwnProperty']('userId')&&(_0x59a452['userId']=_0x19f379['userId']),null!=_0x19f379['content']&&_0x19f379['hasOwnProperty']('content')&&(_0x59a452['content']=_0x19f379['content']),null!=_0x19f379['documentId']&&_0x19f379['hasOwnProperty']('documentId')&&(_0x59a452['documentId']=_0x19f379['documentId']),null!=_0x19f379['createdAt']&&_0x19f379['hasOwnProperty']('createdAt')&&(_0x59a452['createdAt']=_0x19f379['createdAt']),null!=_0x19f379['attributes']&&_0x19f379['hasOwnProperty']('attributes')&&(_0x59a452['attributes']=_0x19f379['attributes']),_0x59a452;},_0x3e4257['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x3e4257['getTypeUrl']=function(_0x4622bb){return void 0x0===_0x4622bb&&(_0x4622bb='type.googleapis.com'),_0x4622bb+'/CommentDescriptor';},_0x3e4257;}()),_0x5e5fd8['GetDocumentDetailsResponse']=(function(){function _0x353037(_0x2ef6e7){if(_0x2ef6e7){for(var _0x472d6a=Object['keys'](_0x2ef6e7),_0x5160b2=0x0;_0x5160b2<_0x472d6a['length'];++_0x5160b2)null!=_0x2ef6e7[_0x472d6a[_0x5160b2]]&&(this[_0x472d6a[_0x5160b2]]=_0x2ef6e7[_0x472d6a[_0x5160b2]]);}}return _0x353037['prototype']['lastDocumentSessionId']='',_0x353037['prototype']['lastDocumentSessionOperationId']='',_0x353037['prototype']['currentDocumentSessionId']='',_0x353037['prototype']['currentDocumentSessionVersion']=0x0,_0x353037['prototype']['currentDocumentSessionOperationId']='',_0x353037['create']=function(_0x3b8a20){return new _0x353037(_0x3b8a20);},_0x353037['encode']=function(_0x4442b7,_0x32bf52){return _0x32bf52||(_0x32bf52=_0x500b66['create']()),null!=_0x4442b7['lastDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x4442b7,'lastDocumentSessionId')&&_0x32bf52['uint32'](0xa)['string'](_0x4442b7['lastDocumentSessionId']),null!=_0x4442b7['lastDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x4442b7,'lastDocumentSessionOperationId')&&_0x32bf52['uint32'](0x12)['string'](_0x4442b7['lastDocumentSessionOperationId']),null!=_0x4442b7['currentDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x4442b7,'currentDocumentSessionId')&&_0x32bf52['uint32'](0x1a)['string'](_0x4442b7['currentDocumentSessionId']),null!=_0x4442b7['currentDocumentSessionVersion']&&Object['hasOwnProperty']['call'](_0x4442b7,'currentDocumentSessionVersion')&&_0x32bf52['uint32'](0x20)['uint32'](_0x4442b7['currentDocumentSessionVersion']),null!=_0x4442b7['currentDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x4442b7,'currentDocumentSessionOperationId')&&_0x32bf52['uint32'](0x2a)['string'](_0x4442b7['currentDocumentSessionOperationId']),_0x32bf52;},_0x353037['encodeDelimited']=function(_0x187cde,_0x5a97c2){return this['encode'](_0x187cde,_0x5a97c2)['ldelim']();},_0x353037['decode']=function(_0x2c31fc,_0x36af02,_0x205345){_0x2c31fc instanceof _0x223583||(_0x2c31fc=_0x223583['create'](_0x2c31fc));for(var _0x4ebd67=void 0x0===_0x36af02?_0x2c31fc['len']:_0x2c31fc['pos']+_0x36af02,_0x517230=new _0x5e5fd8['GetDocumentDetailsResponse']();_0x2c31fc['pos']<_0x4ebd67;){var _0x2a6452=_0x2c31fc['uint32']();if(_0x2a6452===_0x205345)break;switch(_0x2a6452>>>0x3){case 0x1:_0x517230['lastDocumentSessionId']=_0x2c31fc['string']();break;case 0x2:_0x517230['lastDocumentSessionOperationId']=_0x2c31fc['string']();break;case 0x3:_0x517230['currentDocumentSessionId']=_0x2c31fc['string']();break;case 0x4:_0x517230['currentDocumentSessionVersion']=_0x2c31fc['uint32']();break;case 0x5:_0x517230['currentDocumentSessionOperationId']=_0x2c31fc['string']();break;default:_0x2c31fc['skipType'](0x7&_0x2a6452);}}return _0x517230;},_0x353037['decodeDelimited']=function(_0xa4e8a1){return _0xa4e8a1 instanceof _0x223583||(_0xa4e8a1=new _0x223583(_0xa4e8a1)),this['decode'](_0xa4e8a1,_0xa4e8a1['uint32']());},_0x353037['verify']=function(_0xbd97b1){return'object'!=typeof _0xbd97b1||null===_0xbd97b1?'object\x20expected':null!=_0xbd97b1['lastDocumentSessionId']&&_0xbd97b1['hasOwnProperty']('lastDocumentSessionId')&&!_0x420af4['isString'](_0xbd97b1['lastDocumentSessionId'])?'lastDocumentSessionId:\x20string\x20expected':null!=_0xbd97b1['lastDocumentSessionOperationId']&&_0xbd97b1['hasOwnProperty']('lastDocumentSessionOperationId')&&!_0x420af4['isString'](_0xbd97b1['lastDocumentSessionOperationId'])?'lastDocumentSessionOperationId:\x20string\x20expected':null!=_0xbd97b1['currentDocumentSessionId']&&_0xbd97b1['hasOwnProperty']('currentDocumentSessionId')&&!_0x420af4['isString'](_0xbd97b1['currentDocumentSessionId'])?'currentDocumentSessionId:\x20string\x20expected':null!=_0xbd97b1['currentDocumentSessionVersion']&&_0xbd97b1['hasOwnProperty']('currentDocumentSessionVersion')&&!_0x420af4['isInteger'](_0xbd97b1['currentDocumentSessionVersion'])?'currentDocumentSessionVersion:\x20integer\x20expected':null!=_0xbd97b1['currentDocumentSessionOperationId']&&_0xbd97b1['hasOwnProperty']('currentDocumentSessionOperationId')&&!_0x420af4['isString'](_0xbd97b1['currentDocumentSessionOperationId'])?'currentDocumentSessionOperationId:\x20string\x20expected':null;},_0x353037['fromObject']=function(_0x5d54e4){if(_0x5d54e4 instanceof _0x5e5fd8['GetDocumentDetailsResponse'])return _0x5d54e4;var _0x3a71a9=new _0x5e5fd8['GetDocumentDetailsResponse']();return null!=_0x5d54e4['lastDocumentSessionId']&&(_0x3a71a9['lastDocumentSessionId']=String(_0x5d54e4['lastDocumentSessionId'])),null!=_0x5d54e4['lastDocumentSessionOperationId']&&(_0x3a71a9['lastDocumentSessionOperationId']=String(_0x5d54e4['lastDocumentSessionOperationId'])),null!=_0x5d54e4['currentDocumentSessionId']&&(_0x3a71a9['currentDocumentSessionId']=String(_0x5d54e4['currentDocumentSessionId'])),null!=_0x5d54e4['currentDocumentSessionVersion']&&(_0x3a71a9['currentDocumentSessionVersion']=_0x5d54e4['currentDocumentSessionVersion']>>>0x0),null!=_0x5d54e4['currentDocumentSessionOperationId']&&(_0x3a71a9['currentDocumentSessionOperationId']=String(_0x5d54e4['currentDocumentSessionOperationId'])),_0x3a71a9;},_0x353037['toObject']=function(_0x264c53,_0x2dd442){_0x2dd442||(_0x2dd442={});var _0x4167f3={};return _0x2dd442['defaults']&&(_0x4167f3['lastDocumentSessionId']='',_0x4167f3['lastDocumentSessionOperationId']='',_0x4167f3['currentDocumentSessionId']='',_0x4167f3['currentDocumentSessionVersion']=0x0,_0x4167f3['currentDocumentSessionOperationId']=''),null!=_0x264c53['lastDocumentSessionId']&&_0x264c53['hasOwnProperty']('lastDocumentSessionId')&&(_0x4167f3['lastDocumentSessionId']=_0x264c53['lastDocumentSessionId']),null!=_0x264c53['lastDocumentSessionOperationId']&&_0x264c53['hasOwnProperty']('lastDocumentSessionOperationId')&&(_0x4167f3['lastDocumentSessionOperationId']=_0x264c53['lastDocumentSessionOperationId']),null!=_0x264c53['currentDocumentSessionId']&&_0x264c53['hasOwnProperty']('currentDocumentSessionId')&&(_0x4167f3['currentDocumentSessionId']=_0x264c53['currentDocumentSessionId']),null!=_0x264c53['currentDocumentSessionVersion']&&_0x264c53['hasOwnProperty']('currentDocumentSessionVersion')&&(_0x4167f3['currentDocumentSessionVersion']=_0x264c53['currentDocumentSessionVersion']),null!=_0x264c53['currentDocumentSessionOperationId']&&_0x264c53['hasOwnProperty']('currentDocumentSessionOperationId')&&(_0x4167f3['currentDocumentSessionOperationId']=_0x264c53['currentDocumentSessionOperationId']),_0x4167f3;},_0x353037['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x353037['getTypeUrl']=function(_0x41342f){return void 0x0===_0x41342f&&(_0x41342f='type.googleapis.com'),_0x41342f+'/GetDocumentDetailsResponse';},_0x353037;}()),_0x5e5fd8['CollaborativeEditingResponse']=(function(){function _0x2023e7(_0x55b919){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x55b919){for(var _0x2f9695=Object['keys'](_0x55b919),_0x45413e=0x0;_0x45413e<_0x2f9695['length'];++_0x45413e)null!=_0x55b919[_0x2f9695[_0x45413e]]&&(this[_0x2f9695[_0x45413e]]=_0x55b919[_0x2f9695[_0x45413e]]);}}return _0x2023e7['prototype']['version']=0x0,_0x2023e7['prototype']['buffers']=_0x420af4['emptyArray'],_0x2023e7['prototype']['types']=_0x420af4['emptyArray'],_0x2023e7['prototype']['metadata']=_0x420af4['emptyArray'],_0x2023e7['prototype']['lastOperationId']='',_0x2023e7['prototype']['lastOperationAcceptedAt']='',_0x2023e7['create']=function(_0x14c3f6){return new _0x2023e7(_0x14c3f6);},_0x2023e7['encode']=function(_0x547ff0,_0xf682b7){if(_0xf682b7||(_0xf682b7=_0x500b66['create']()),null!=_0x547ff0['version']&&Object['hasOwnProperty']['call'](_0x547ff0,'version')&&_0xf682b7['uint32'](0x8)['uint32'](_0x547ff0['version']),null!=_0x547ff0['buffers']&&_0x547ff0['buffers']['length']){for(var _0x19b663=0x0;_0x19b663<_0x547ff0['buffers']['length'];++_0x19b663)_0xf682b7['uint32'](0x12)['bytes'](_0x547ff0['buffers'][_0x19b663]);}if(null!=_0x547ff0['types']&&_0x547ff0['types']['length']){for(_0xf682b7['uint32'](0x1a)['fork'](),_0x19b663=0x0;_0x19b663<_0x547ff0['types']['length'];++_0x19b663)_0xf682b7['uint32'](_0x547ff0['types'][_0x19b663]);_0xf682b7['ldelim']();}if(null!=_0x547ff0['metadata']&&_0x547ff0['metadata']['length']){for(_0x19b663=0x0;_0x19b663<_0x547ff0['metadata']['length'];++_0x19b663)_0x5e5fd8['OperationMetadataDescriptor']['encode'](_0x547ff0['metadata'][_0x19b663],_0xf682b7['uint32'](0x2a)['fork']())['ldelim']();}return null!=_0x547ff0['lastOperationId']&&Object['hasOwnProperty']['call'](_0x547ff0,'lastOperationId')&&_0xf682b7['uint32'](0x32)['string'](_0x547ff0['lastOperationId']),null!=_0x547ff0['lastOperationAcceptedAt']&&Object['hasOwnProperty']['call'](_0x547ff0,'lastOperationAcceptedAt')&&_0xf682b7['uint32'](0x3a)['string'](_0x547ff0['lastOperationAcceptedAt']),_0xf682b7;},_0x2023e7['encodeDelimited']=function(_0x2410b8,_0x309528){return this['encode'](_0x2410b8,_0x309528)['ldelim']();},_0x2023e7['decode']=function(_0x878ec2,_0x246d88,_0x4efe2c){_0x878ec2 instanceof _0x223583||(_0x878ec2=_0x223583['create'](_0x878ec2));for(var _0x5d96ad=void 0x0===_0x246d88?_0x878ec2['len']:_0x878ec2['pos']+_0x246d88,_0x2bd6d6=new _0x5e5fd8['CollaborativeEditingResponse']();_0x878ec2['pos']<_0x5d96ad;){var _0x4262d4=_0x878ec2['uint32']();if(_0x4262d4===_0x4efe2c)break;switch(_0x4262d4>>>0x3){case 0x1:_0x2bd6d6['version']=_0x878ec2['uint32']();break;case 0x2:_0x2bd6d6['buffers']&&_0x2bd6d6['buffers']['length']||(_0x2bd6d6['buffers']=[]),_0x2bd6d6['buffers']['push'](_0x878ec2['bytes']());break;case 0x3:if(_0x2bd6d6['types']&&_0x2bd6d6['types']['length']||(_0x2bd6d6['types']=[]),0x2==(0x7&_0x4262d4)){for(var _0x297703=_0x878ec2['uint32']()+_0x878ec2['pos'];_0x878ec2['pos']<_0x297703;)_0x2bd6d6['types']['push'](_0x878ec2['uint32']());}else _0x2bd6d6['types']['push'](_0x878ec2['uint32']());break;case 0x5:_0x2bd6d6['metadata']&&_0x2bd6d6['metadata']['length']||(_0x2bd6d6['metadata']=[]),_0x2bd6d6['metadata']['push'](_0x5e5fd8['OperationMetadataDescriptor']['decode'](_0x878ec2,_0x878ec2['uint32']()));break;case 0x6:_0x2bd6d6['lastOperationId']=_0x878ec2['string']();break;case 0x7:_0x2bd6d6['lastOperationAcceptedAt']=_0x878ec2['string']();break;default:_0x878ec2['skipType'](0x7&_0x4262d4);}}return _0x2bd6d6;},_0x2023e7['decodeDelimited']=function(_0x4d4f0d){return _0x4d4f0d instanceof _0x223583||(_0x4d4f0d=new _0x223583(_0x4d4f0d)),this['decode'](_0x4d4f0d,_0x4d4f0d['uint32']());},_0x2023e7['verify']=function(_0x5d78fc){if('object'!=typeof _0x5d78fc||null===_0x5d78fc)return'object\x20expected';if(null!=_0x5d78fc['version']&&_0x5d78fc['hasOwnProperty']('version')&&!_0x420af4['isInteger'](_0x5d78fc['version']))return'version:\x20integer\x20expected';if(null!=_0x5d78fc['buffers']&&_0x5d78fc['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x5d78fc['buffers']))return'buffers:\x20array\x20expected';for(var _0x5e9824=0x0;_0x5e9824<_0x5d78fc['buffers']['length'];++_0x5e9824)if(!(_0x5d78fc['buffers'][_0x5e9824]&&'number'==typeof _0x5d78fc['buffers'][_0x5e9824]['length']||_0x420af4['isString'](_0x5d78fc['buffers'][_0x5e9824])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x5d78fc['types']&&_0x5d78fc['hasOwnProperty']('types')){if(!Array['isArray'](_0x5d78fc['types']))return'types:\x20array\x20expected';for(_0x5e9824=0x0;_0x5e9824<_0x5d78fc['types']['length'];++_0x5e9824)if(!_0x420af4['isInteger'](_0x5d78fc['types'][_0x5e9824]))return'types:\x20integer[]\x20expected';}if(null!=_0x5d78fc['metadata']&&_0x5d78fc['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x5d78fc['metadata']))return'metadata:\x20array\x20expected';for(_0x5e9824=0x0;_0x5e9824<_0x5d78fc['metadata']['length'];++_0x5e9824){var _0x2922ef=_0x5e5fd8['OperationMetadataDescriptor']['verify'](_0x5d78fc['metadata'][_0x5e9824]);if(_0x2922ef)return'metadata.'+_0x2922ef;}}return null!=_0x5d78fc['lastOperationId']&&_0x5d78fc['hasOwnProperty']('lastOperationId')&&!_0x420af4['isString'](_0x5d78fc['lastOperationId'])?'lastOperationId:\x20string\x20expected':null!=_0x5d78fc['lastOperationAcceptedAt']&&_0x5d78fc['hasOwnProperty']('lastOperationAcceptedAt')&&!_0x420af4['isString'](_0x5d78fc['lastOperationAcceptedAt'])?'lastOperationAcceptedAt:\x20string\x20expected':null;},_0x2023e7['fromObject']=function(_0x2e50c0){if(_0x2e50c0 instanceof _0x5e5fd8['CollaborativeEditingResponse'])return _0x2e50c0;var _0x212072=new _0x5e5fd8['CollaborativeEditingResponse']();if(null!=_0x2e50c0['version']&&(_0x212072['version']=_0x2e50c0['version']>>>0x0),_0x2e50c0['buffers']){if(!Array['isArray'](_0x2e50c0['buffers']))throw TypeError('.CollaborativeEditingResponse.buffers:\x20array\x20expected');_0x212072['buffers']=[];for(var _0x223a4b=0x0;_0x223a4b<_0x2e50c0['buffers']['length'];++_0x223a4b)'string'==typeof _0x2e50c0['buffers'][_0x223a4b]?_0x420af4['base64']['decode'](_0x2e50c0['buffers'][_0x223a4b],_0x212072['buffers'][_0x223a4b]=_0x420af4['newBuffer'](_0x420af4['base64']['length'](_0x2e50c0['buffers'][_0x223a4b])),0x0):_0x2e50c0['buffers'][_0x223a4b]['length']>=0x0&&(_0x212072['buffers'][_0x223a4b]=_0x2e50c0['buffers'][_0x223a4b]);}if(_0x2e50c0['types']){if(!Array['isArray'](_0x2e50c0['types']))throw TypeError('.CollaborativeEditingResponse.types:\x20array\x20expected');for(_0x212072['types']=[],_0x223a4b=0x0;_0x223a4b<_0x2e50c0['types']['length'];++_0x223a4b)_0x212072['types'][_0x223a4b]=_0x2e50c0['types'][_0x223a4b]>>>0x0;}if(_0x2e50c0['metadata']){if(!Array['isArray'](_0x2e50c0['metadata']))throw TypeError('.CollaborativeEditingResponse.metadata:\x20array\x20expected');for(_0x212072['metadata']=[],_0x223a4b=0x0;_0x223a4b<_0x2e50c0['metadata']['length'];++_0x223a4b){if('object'!=typeof _0x2e50c0['metadata'][_0x223a4b])throw TypeError('.CollaborativeEditingResponse.metadata:\x20object\x20expected');_0x212072['metadata'][_0x223a4b]=_0x5e5fd8['OperationMetadataDescriptor']['fromObject'](_0x2e50c0['metadata'][_0x223a4b]);}}return null!=_0x2e50c0['lastOperationId']&&(_0x212072['lastOperationId']=String(_0x2e50c0['lastOperationId'])),null!=_0x2e50c0['lastOperationAcceptedAt']&&(_0x212072['lastOperationAcceptedAt']=String(_0x2e50c0['lastOperationAcceptedAt'])),_0x212072;},_0x2023e7['toObject']=function(_0x10b1b0,_0x2b5241){_0x2b5241||(_0x2b5241={});var _0x1c6571={};if((_0x2b5241['arrays']||_0x2b5241['defaults'])&&(_0x1c6571['buffers']=[],_0x1c6571['types']=[],_0x1c6571['metadata']=[]),_0x2b5241['defaults']&&(_0x1c6571['version']=0x0,_0x1c6571['lastOperationId']='',_0x1c6571['lastOperationAcceptedAt']=''),null!=_0x10b1b0['version']&&_0x10b1b0['hasOwnProperty']('version')&&(_0x1c6571['version']=_0x10b1b0['version']),_0x10b1b0['buffers']&&_0x10b1b0['buffers']['length']){_0x1c6571['buffers']=[];for(var _0x190530=0x0;_0x190530<_0x10b1b0['buffers']['length'];++_0x190530)_0x1c6571['buffers'][_0x190530]=_0x2b5241['bytes']===String?_0x420af4['base64']['encode'](_0x10b1b0['buffers'][_0x190530],0x0,_0x10b1b0['buffers'][_0x190530]['length']):_0x2b5241['bytes']===Array?Array['prototype']['slice']['call'](_0x10b1b0['buffers'][_0x190530]):_0x10b1b0['buffers'][_0x190530];}if(_0x10b1b0['types']&&_0x10b1b0['types']['length']){for(_0x1c6571['types']=[],_0x190530=0x0;_0x190530<_0x10b1b0['types']['length'];++_0x190530)_0x1c6571['types'][_0x190530]=_0x10b1b0['types'][_0x190530];}if(_0x10b1b0['metadata']&&_0x10b1b0['metadata']['length']){for(_0x1c6571['metadata']=[],_0x190530=0x0;_0x190530<_0x10b1b0['metadata']['length'];++_0x190530)_0x1c6571['metadata'][_0x190530]=_0x5e5fd8['OperationMetadataDescriptor']['toObject'](_0x10b1b0['metadata'][_0x190530],_0x2b5241);}return null!=_0x10b1b0['lastOperationId']&&_0x10b1b0['hasOwnProperty']('lastOperationId')&&(_0x1c6571['lastOperationId']=_0x10b1b0['lastOperationId']),null!=_0x10b1b0['lastOperationAcceptedAt']&&_0x10b1b0['hasOwnProperty']('lastOperationAcceptedAt')&&(_0x1c6571['lastOperationAcceptedAt']=_0x10b1b0['lastOperationAcceptedAt']),_0x1c6571;},_0x2023e7['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2023e7['getTypeUrl']=function(_0x3cfbf3){return void 0x0===_0x3cfbf3&&(_0x3cfbf3='type.googleapis.com'),_0x3cfbf3+'/CollaborativeEditingResponse';},_0x2023e7;}()),_0x5e5fd8['CollaborativeEditingConnectResponse']=(function(){function _0x5e09a5(_0x94d562){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x94d562){for(var _0xda0266=Object['keys'](_0x94d562),_0x3c9332=0x0;_0x3c9332<_0xda0266['length'];++_0x3c9332)null!=_0x94d562[_0xda0266[_0x3c9332]]&&(this[_0xda0266[_0x3c9332]]=_0x94d562[_0xda0266[_0x3c9332]]);}}return _0x5e09a5['prototype']['channel']='',_0x5e09a5['prototype']['offset']=0x0,_0x5e09a5['prototype']['version']=0x0,_0x5e09a5['prototype']['buffers']=_0x420af4['emptyArray'],_0x5e09a5['prototype']['types']=_0x420af4['emptyArray'],_0x5e09a5['prototype']['metadata']=_0x420af4['emptyArray'],_0x5e09a5['prototype']['initData']='',_0x5e09a5['prototype']['isInitialized']=!0x1,_0x5e09a5['prototype']['sessionId']='',_0x5e09a5['prototype']['lastOperationId']='',_0x5e09a5['prototype']['sessionCreatedAt']='',_0x5e09a5['create']=function(_0x611b18){return new _0x5e09a5(_0x611b18);},_0x5e09a5['encode']=function(_0x464793,_0x10e092){if(_0x10e092||(_0x10e092=_0x500b66['create']()),null!=_0x464793['channel']&&Object['hasOwnProperty']['call'](_0x464793,'channel')&&_0x10e092['uint32'](0xa)['string'](_0x464793['channel']),null!=_0x464793['offset']&&Object['hasOwnProperty']['call'](_0x464793,'offset')&&_0x10e092['uint32'](0x10)['uint32'](_0x464793['offset']),null!=_0x464793['version']&&Object['hasOwnProperty']['call'](_0x464793,'version')&&_0x10e092['uint32'](0x18)['uint32'](_0x464793['version']),null!=_0x464793['buffers']&&_0x464793['buffers']['length']){for(var _0x126b4c=0x0;_0x126b4c<_0x464793['buffers']['length'];++_0x126b4c)_0x10e092['uint32'](0x22)['bytes'](_0x464793['buffers'][_0x126b4c]);}if(null!=_0x464793['types']&&_0x464793['types']['length']){for(_0x10e092['uint32'](0x2a)['fork'](),_0x126b4c=0x0;_0x126b4c<_0x464793['types']['length'];++_0x126b4c)_0x10e092['uint32'](_0x464793['types'][_0x126b4c]);_0x10e092['ldelim']();}if(null!=_0x464793['metadata']&&_0x464793['metadata']['length']){for(_0x126b4c=0x0;_0x126b4c<_0x464793['metadata']['length'];++_0x126b4c)_0x5e5fd8['OperationMetadataDescriptor']['encode'](_0x464793['metadata'][_0x126b4c],_0x10e092['uint32'](0x3a)['fork']())['ldelim']();}return null!=_0x464793['initData']&&Object['hasOwnProperty']['call'](_0x464793,'initData')&&_0x10e092['uint32'](0x42)['string'](_0x464793['initData']),null!=_0x464793['isInitialized']&&Object['hasOwnProperty']['call'](_0x464793,'isInitialized')&&_0x10e092['uint32'](0x48)['bool'](_0x464793['isInitialized']),null!=_0x464793['sessionId']&&Object['hasOwnProperty']['call'](_0x464793,'sessionId')&&_0x10e092['uint32'](0x52)['string'](_0x464793['sessionId']),null!=_0x464793['lastOperationId']&&Object['hasOwnProperty']['call'](_0x464793,'lastOperationId')&&_0x10e092['uint32'](0x5a)['string'](_0x464793['lastOperationId']),null!=_0x464793['sessionCreatedAt']&&Object['hasOwnProperty']['call'](_0x464793,'sessionCreatedAt')&&_0x10e092['uint32'](0x62)['string'](_0x464793['sessionCreatedAt']),_0x10e092;},_0x5e09a5['encodeDelimited']=function(_0x403e44,_0x100d81){return this['encode'](_0x403e44,_0x100d81)['ldelim']();},_0x5e09a5['decode']=function(_0x2f6bb1,_0x49f427,_0x5de60e){_0x2f6bb1 instanceof _0x223583||(_0x2f6bb1=_0x223583['create'](_0x2f6bb1));for(var _0x128da3=void 0x0===_0x49f427?_0x2f6bb1['len']:_0x2f6bb1['pos']+_0x49f427,_0x592470=new _0x5e5fd8['CollaborativeEditingConnectResponse']();_0x2f6bb1['pos']<_0x128da3;){var _0x464fb4=_0x2f6bb1['uint32']();if(_0x464fb4===_0x5de60e)break;switch(_0x464fb4>>>0x3){case 0x1:_0x592470['channel']=_0x2f6bb1['string']();break;case 0x2:_0x592470['offset']=_0x2f6bb1['uint32']();break;case 0x3:_0x592470['version']=_0x2f6bb1['uint32']();break;case 0x4:_0x592470['buffers']&&_0x592470['buffers']['length']||(_0x592470['buffers']=[]),_0x592470['buffers']['push'](_0x2f6bb1['bytes']());break;case 0x5:if(_0x592470['types']&&_0x592470['types']['length']||(_0x592470['types']=[]),0x2==(0x7&_0x464fb4)){for(var _0xee8719=_0x2f6bb1['uint32']()+_0x2f6bb1['pos'];_0x2f6bb1['pos']<_0xee8719;)_0x592470['types']['push'](_0x2f6bb1['uint32']());}else _0x592470['types']['push'](_0x2f6bb1['uint32']());break;case 0x7:_0x592470['metadata']&&_0x592470['metadata']['length']||(_0x592470['metadata']=[]),_0x592470['metadata']['push'](_0x5e5fd8['OperationMetadataDescriptor']['decode'](_0x2f6bb1,_0x2f6bb1['uint32']()));break;case 0x8:_0x592470['initData']=_0x2f6bb1['string']();break;case 0x9:_0x592470['isInitialized']=_0x2f6bb1['bool']();break;case 0xa:_0x592470['sessionId']=_0x2f6bb1['string']();break;case 0xb:_0x592470['lastOperationId']=_0x2f6bb1['string']();break;case 0xc:_0x592470['sessionCreatedAt']=_0x2f6bb1['string']();break;default:_0x2f6bb1['skipType'](0x7&_0x464fb4);}}return _0x592470;},_0x5e09a5['decodeDelimited']=function(_0x5845f5){return _0x5845f5 instanceof _0x223583||(_0x5845f5=new _0x223583(_0x5845f5)),this['decode'](_0x5845f5,_0x5845f5['uint32']());},_0x5e09a5['verify']=function(_0x3a1873){if('object'!=typeof _0x3a1873||null===_0x3a1873)return'object\x20expected';if(null!=_0x3a1873['channel']&&_0x3a1873['hasOwnProperty']('channel')&&!_0x420af4['isString'](_0x3a1873['channel']))return'channel:\x20string\x20expected';if(null!=_0x3a1873['offset']&&_0x3a1873['hasOwnProperty']('offset')&&!_0x420af4['isInteger'](_0x3a1873['offset']))return'offset:\x20integer\x20expected';if(null!=_0x3a1873['version']&&_0x3a1873['hasOwnProperty']('version')&&!_0x420af4['isInteger'](_0x3a1873['version']))return'version:\x20integer\x20expected';if(null!=_0x3a1873['buffers']&&_0x3a1873['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x3a1873['buffers']))return'buffers:\x20array\x20expected';for(var _0x193e2a=0x0;_0x193e2a<_0x3a1873['buffers']['length'];++_0x193e2a)if(!(_0x3a1873['buffers'][_0x193e2a]&&'number'==typeof _0x3a1873['buffers'][_0x193e2a]['length']||_0x420af4['isString'](_0x3a1873['buffers'][_0x193e2a])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x3a1873['types']&&_0x3a1873['hasOwnProperty']('types')){if(!Array['isArray'](_0x3a1873['types']))return'types:\x20array\x20expected';for(_0x193e2a=0x0;_0x193e2a<_0x3a1873['types']['length'];++_0x193e2a)if(!_0x420af4['isInteger'](_0x3a1873['types'][_0x193e2a]))return'types:\x20integer[]\x20expected';}if(null!=_0x3a1873['metadata']&&_0x3a1873['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x3a1873['metadata']))return'metadata:\x20array\x20expected';for(_0x193e2a=0x0;_0x193e2a<_0x3a1873['metadata']['length'];++_0x193e2a){var _0x3db6cb=_0x5e5fd8['OperationMetadataDescriptor']['verify'](_0x3a1873['metadata'][_0x193e2a]);if(_0x3db6cb)return'metadata.'+_0x3db6cb;}}return null!=_0x3a1873['initData']&&_0x3a1873['hasOwnProperty']('initData')&&!_0x420af4['isString'](_0x3a1873['initData'])?'initData:\x20string\x20expected':null!=_0x3a1873['isInitialized']&&_0x3a1873['hasOwnProperty']('isInitialized')&&'boolean'!=typeof _0x3a1873['isInitialized']?'isInitialized:\x20boolean\x20expected':null!=_0x3a1873['sessionId']&&_0x3a1873['hasOwnProperty']('sessionId')&&!_0x420af4['isString'](_0x3a1873['sessionId'])?'sessionId:\x20string\x20expected':null!=_0x3a1873['lastOperationId']&&_0x3a1873['hasOwnProperty']('lastOperationId')&&!_0x420af4['isString'](_0x3a1873['lastOperationId'])?'lastOperationId:\x20string\x20expected':null!=_0x3a1873['sessionCreatedAt']&&_0x3a1873['hasOwnProperty']('sessionCreatedAt')&&!_0x420af4['isString'](_0x3a1873['sessionCreatedAt'])?'sessionCreatedAt:\x20string\x20expected':null;},_0x5e09a5['fromObject']=function(_0x17264d){if(_0x17264d instanceof _0x5e5fd8['CollaborativeEditingConnectResponse'])return _0x17264d;var _0x3bac08=new _0x5e5fd8['CollaborativeEditingConnectResponse']();if(null!=_0x17264d['channel']&&(_0x3bac08['channel']=String(_0x17264d['channel'])),null!=_0x17264d['offset']&&(_0x3bac08['offset']=_0x17264d['offset']>>>0x0),null!=_0x17264d['version']&&(_0x3bac08['version']=_0x17264d['version']>>>0x0),_0x17264d['buffers']){if(!Array['isArray'](_0x17264d['buffers']))throw TypeError('.CollaborativeEditingConnectResponse.buffers:\x20array\x20expected');_0x3bac08['buffers']=[];for(var _0x1b07ef=0x0;_0x1b07ef<_0x17264d['buffers']['length'];++_0x1b07ef)'string'==typeof _0x17264d['buffers'][_0x1b07ef]?_0x420af4['base64']['decode'](_0x17264d['buffers'][_0x1b07ef],_0x3bac08['buffers'][_0x1b07ef]=_0x420af4['newBuffer'](_0x420af4['base64']['length'](_0x17264d['buffers'][_0x1b07ef])),0x0):_0x17264d['buffers'][_0x1b07ef]['length']>=0x0&&(_0x3bac08['buffers'][_0x1b07ef]=_0x17264d['buffers'][_0x1b07ef]);}if(_0x17264d['types']){if(!Array['isArray'](_0x17264d['types']))throw TypeError('.CollaborativeEditingConnectResponse.types:\x20array\x20expected');for(_0x3bac08['types']=[],_0x1b07ef=0x0;_0x1b07ef<_0x17264d['types']['length'];++_0x1b07ef)_0x3bac08['types'][_0x1b07ef]=_0x17264d['types'][_0x1b07ef]>>>0x0;}if(_0x17264d['metadata']){if(!Array['isArray'](_0x17264d['metadata']))throw TypeError('.CollaborativeEditingConnectResponse.metadata:\x20array\x20expected');for(_0x3bac08['metadata']=[],_0x1b07ef=0x0;_0x1b07ef<_0x17264d['metadata']['length'];++_0x1b07ef){if('object'!=typeof _0x17264d['metadata'][_0x1b07ef])throw TypeError('.CollaborativeEditingConnectResponse.metadata:\x20object\x20expected');_0x3bac08['metadata'][_0x1b07ef]=_0x5e5fd8['OperationMetadataDescriptor']['fromObject'](_0x17264d['metadata'][_0x1b07ef]);}}return null!=_0x17264d['initData']&&(_0x3bac08['initData']=String(_0x17264d['initData'])),null!=_0x17264d['isInitialized']&&(_0x3bac08['isInitialized']=Boolean(_0x17264d['isInitialized'])),null!=_0x17264d['sessionId']&&(_0x3bac08['sessionId']=String(_0x17264d['sessionId'])),null!=_0x17264d['lastOperationId']&&(_0x3bac08['lastOperationId']=String(_0x17264d['lastOperationId'])),null!=_0x17264d['sessionCreatedAt']&&(_0x3bac08['sessionCreatedAt']=String(_0x17264d['sessionCreatedAt'])),_0x3bac08;},_0x5e09a5['toObject']=function(_0x587077,_0x223360){_0x223360||(_0x223360={});var _0x2f13ef={};if((_0x223360['arrays']||_0x223360['defaults'])&&(_0x2f13ef['buffers']=[],_0x2f13ef['types']=[],_0x2f13ef['metadata']=[]),_0x223360['defaults']&&(_0x2f13ef['channel']='',_0x2f13ef['offset']=0x0,_0x2f13ef['version']=0x0,_0x2f13ef['initData']='',_0x2f13ef['isInitialized']=!0x1,_0x2f13ef['sessionId']='',_0x2f13ef['lastOperationId']='',_0x2f13ef['sessionCreatedAt']=''),null!=_0x587077['channel']&&_0x587077['hasOwnProperty']('channel')&&(_0x2f13ef['channel']=_0x587077['channel']),null!=_0x587077['offset']&&_0x587077['hasOwnProperty']('offset')&&(_0x2f13ef['offset']=_0x587077['offset']),null!=_0x587077['version']&&_0x587077['hasOwnProperty']('version')&&(_0x2f13ef['version']=_0x587077['version']),_0x587077['buffers']&&_0x587077['buffers']['length']){_0x2f13ef['buffers']=[];for(var _0x28b958=0x0;_0x28b958<_0x587077['buffers']['length'];++_0x28b958)_0x2f13ef['buffers'][_0x28b958]=_0x223360['bytes']===String?_0x420af4['base64']['encode'](_0x587077['buffers'][_0x28b958],0x0,_0x587077['buffers'][_0x28b958]['length']):_0x223360['bytes']===Array?Array['prototype']['slice']['call'](_0x587077['buffers'][_0x28b958]):_0x587077['buffers'][_0x28b958];}if(_0x587077['types']&&_0x587077['types']['length']){for(_0x2f13ef['types']=[],_0x28b958=0x0;_0x28b958<_0x587077['types']['length'];++_0x28b958)_0x2f13ef['types'][_0x28b958]=_0x587077['types'][_0x28b958];}if(_0x587077['metadata']&&_0x587077['metadata']['length']){for(_0x2f13ef['metadata']=[],_0x28b958=0x0;_0x28b958<_0x587077['metadata']['length'];++_0x28b958)_0x2f13ef['metadata'][_0x28b958]=_0x5e5fd8['OperationMetadataDescriptor']['toObject'](_0x587077['metadata'][_0x28b958],_0x223360);}return null!=_0x587077['initData']&&_0x587077['hasOwnProperty']('initData')&&(_0x2f13ef['initData']=_0x587077['initData']),null!=_0x587077['isInitialized']&&_0x587077['hasOwnProperty']('isInitialized')&&(_0x2f13ef['isInitialized']=_0x587077['isInitialized']),null!=_0x587077['sessionId']&&_0x587077['hasOwnProperty']('sessionId')&&(_0x2f13ef['sessionId']=_0x587077['sessionId']),null!=_0x587077['lastOperationId']&&_0x587077['hasOwnProperty']('lastOperationId')&&(_0x2f13ef['lastOperationId']=_0x587077['lastOperationId']),null!=_0x587077['sessionCreatedAt']&&_0x587077['hasOwnProperty']('sessionCreatedAt')&&(_0x2f13ef['sessionCreatedAt']=_0x587077['sessionCreatedAt']),_0x2f13ef;},_0x5e09a5['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x5e09a5['getTypeUrl']=function(_0xf8c0f8){return void 0x0===_0xf8c0f8&&(_0xf8c0f8='type.googleapis.com'),_0xf8c0f8+'/CollaborativeEditingConnectResponse';},_0x5e09a5;}()),_0x5e5fd8['GetDocumentDetailsMessage']=(function(){function _0x29481e(_0x5902f3){if(_0x5902f3){for(var _0x5db99b=Object['keys'](_0x5902f3),_0x5b77b9=0x0;_0x5b77b9<_0x5db99b['length'];++_0x5b77b9)null!=_0x5902f3[_0x5db99b[_0x5b77b9]]&&(this[_0x5db99b[_0x5b77b9]]=_0x5902f3[_0x5db99b[_0x5b77b9]]);}}return _0x29481e['prototype']['documentId']='',_0x29481e['prototype']['environmentId']='',_0x29481e['create']=function(_0x2a0072){return new _0x29481e(_0x2a0072);},_0x29481e['encode']=function(_0x265c43,_0x10bf4b){return _0x10bf4b||(_0x10bf4b=_0x500b66['create']()),null!=_0x265c43['documentId']&&Object['hasOwnProperty']['call'](_0x265c43,'documentId')&&_0x10bf4b['uint32'](0xa)['string'](_0x265c43['documentId']),null!=_0x265c43['environmentId']&&Object['hasOwnProperty']['call'](_0x265c43,'environmentId')&&_0x10bf4b['uint32'](0x12)['string'](_0x265c43['environmentId']),_0x10bf4b;},_0x29481e['encodeDelimited']=function(_0xabea22,_0x191f3b){return this['encode'](_0xabea22,_0x191f3b)['ldelim']();},_0x29481e['decode']=function(_0x20b20a,_0xc59092,_0x39cd9a){_0x20b20a instanceof _0x223583||(_0x20b20a=_0x223583['create'](_0x20b20a));for(var _0x2a3cd6=void 0x0===_0xc59092?_0x20b20a['len']:_0x20b20a['pos']+_0xc59092,_0x1de3c2=new _0x5e5fd8['GetDocumentDetailsMessage']();_0x20b20a['pos']<_0x2a3cd6;){var _0x3f1bb2=_0x20b20a['uint32']();if(_0x3f1bb2===_0x39cd9a)break;switch(_0x3f1bb2>>>0x3){case 0x1:_0x1de3c2['documentId']=_0x20b20a['string']();break;case 0x2:_0x1de3c2['environmentId']=_0x20b20a['string']();break;default:_0x20b20a['skipType'](0x7&_0x3f1bb2);}}return _0x1de3c2;},_0x29481e['decodeDelimited']=function(_0x274824){return _0x274824 instanceof _0x223583||(_0x274824=new _0x223583(_0x274824)),this['decode'](_0x274824,_0x274824['uint32']());},_0x29481e['verify']=function(_0x498a27){return'object'!=typeof _0x498a27||null===_0x498a27?'object\x20expected':null!=_0x498a27['documentId']&&_0x498a27['hasOwnProperty']('documentId')&&!_0x420af4['isString'](_0x498a27['documentId'])?'documentId:\x20string\x20expected':null!=_0x498a27['environmentId']&&_0x498a27['hasOwnProperty']('environmentId')&&!_0x420af4['isString'](_0x498a27['environmentId'])?'environmentId:\x20string\x20expected':null;},_0x29481e['fromObject']=function(_0x1eb2d0){if(_0x1eb2d0 instanceof _0x5e5fd8['GetDocumentDetailsMessage'])return _0x1eb2d0;var _0x462c82=new _0x5e5fd8['GetDocumentDetailsMessage']();return null!=_0x1eb2d0['documentId']&&(_0x462c82['documentId']=String(_0x1eb2d0['documentId'])),null!=_0x1eb2d0['environmentId']&&(_0x462c82['environmentId']=String(_0x1eb2d0['environmentId'])),_0x462c82;},_0x29481e['toObject']=function(_0x4bc5ce,_0x54fe85){_0x54fe85||(_0x54fe85={});var _0x41ab47={};return _0x54fe85['defaults']&&(_0x41ab47['documentId']='',_0x41ab47['environmentId']=''),null!=_0x4bc5ce['documentId']&&_0x4bc5ce['hasOwnProperty']('documentId')&&(_0x41ab47['documentId']=_0x4bc5ce['documentId']),null!=_0x4bc5ce['environmentId']&&_0x4bc5ce['hasOwnProperty']('environmentId')&&(_0x41ab47['environmentId']=_0x4bc5ce['environmentId']),_0x41ab47;},_0x29481e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x29481e['getTypeUrl']=function(_0x473a71){return void 0x0===_0x473a71&&(_0x473a71='type.googleapis.com'),_0x473a71+'/GetDocumentDetailsMessage';},_0x29481e;}()),_0x5e5fd8['CollaborativeEditingUpdateMessage']=(function(){function _0x45cde0(_0x12ac0a){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x12ac0a){for(var _0x275458=Object['keys'](_0x12ac0a),_0x922334=0x0;_0x922334<_0x275458['length'];++_0x922334)null!=_0x12ac0a[_0x275458[_0x922334]]&&(this[_0x275458[_0x922334]]=_0x12ac0a[_0x275458[_0x922334]]);}}return _0x45cde0['prototype']['id']='',_0x45cde0['prototype']['baseVersion']=0x0,_0x45cde0['prototype']['buffers']=_0x420af4['emptyArray'],_0x45cde0['prototype']['types']=_0x420af4['emptyArray'],_0x45cde0['prototype']['metadata']=_0x420af4['emptyArray'],_0x45cde0['prototype']['lastOperationId']='',_0x45cde0['create']=function(_0x3b8dee){return new _0x45cde0(_0x3b8dee);},_0x45cde0['encode']=function(_0x428750,_0x3fcc2f){if(_0x3fcc2f||(_0x3fcc2f=_0x500b66['create']()),null!=_0x428750['id']&&Object['hasOwnProperty']['call'](_0x428750,'id')&&_0x3fcc2f['uint32'](0xa)['string'](_0x428750['id']),null!=_0x428750['baseVersion']&&Object['hasOwnProperty']['call'](_0x428750,'baseVersion')&&_0x3fcc2f['uint32'](0x10)['uint32'](_0x428750['baseVersion']),null!=_0x428750['buffers']&&_0x428750['buffers']['length']){for(var _0xee3788=0x0;_0xee3788<_0x428750['buffers']['length'];++_0xee3788)_0x3fcc2f['uint32'](0x1a)['bytes'](_0x428750['buffers'][_0xee3788]);}if(null!=_0x428750['types']&&_0x428750['types']['length']){for(_0x3fcc2f['uint32'](0x22)['fork'](),_0xee3788=0x0;_0xee3788<_0x428750['types']['length'];++_0xee3788)_0x3fcc2f['uint32'](_0x428750['types'][_0xee3788]);_0x3fcc2f['ldelim']();}if(null!=_0x428750['metadata']&&_0x428750['metadata']['length']){for(_0xee3788=0x0;_0xee3788<_0x428750['metadata']['length'];++_0xee3788)_0x5e5fd8['OperationMetadataDescriptor']['encode'](_0x428750['metadata'][_0xee3788],_0x3fcc2f['uint32'](0x32)['fork']())['ldelim']();}return null!=_0x428750['lastOperationId']&&Object['hasOwnProperty']['call'](_0x428750,'lastOperationId')&&_0x3fcc2f['uint32'](0x3a)['string'](_0x428750['lastOperationId']),_0x3fcc2f;},_0x45cde0['encodeDelimited']=function(_0x2b5a68,_0x58a4c0){return this['encode'](_0x2b5a68,_0x58a4c0)['ldelim']();},_0x45cde0['decode']=function(_0x5070bf,_0x1dc399,_0x377789){_0x5070bf instanceof _0x223583||(_0x5070bf=_0x223583['create'](_0x5070bf));for(var _0x128c5c=void 0x0===_0x1dc399?_0x5070bf['len']:_0x5070bf['pos']+_0x1dc399,_0x42e16e=new _0x5e5fd8['CollaborativeEditingUpdateMessage']();_0x5070bf['pos']<_0x128c5c;){var _0x1238d4=_0x5070bf['uint32']();if(_0x1238d4===_0x377789)break;switch(_0x1238d4>>>0x3){case 0x1:_0x42e16e['id']=_0x5070bf['string']();break;case 0x2:_0x42e16e['baseVersion']=_0x5070bf['uint32']();break;case 0x3:_0x42e16e['buffers']&&_0x42e16e['buffers']['length']||(_0x42e16e['buffers']=[]),_0x42e16e['buffers']['push'](_0x5070bf['bytes']());break;case 0x4:if(_0x42e16e['types']&&_0x42e16e['types']['length']||(_0x42e16e['types']=[]),0x2==(0x7&_0x1238d4)){for(var _0x4d7791=_0x5070bf['uint32']()+_0x5070bf['pos'];_0x5070bf['pos']<_0x4d7791;)_0x42e16e['types']['push'](_0x5070bf['uint32']());}else _0x42e16e['types']['push'](_0x5070bf['uint32']());break;case 0x6:_0x42e16e['metadata']&&_0x42e16e['metadata']['length']||(_0x42e16e['metadata']=[]),_0x42e16e['metadata']['push'](_0x5e5fd8['OperationMetadataDescriptor']['decode'](_0x5070bf,_0x5070bf['uint32']()));break;case 0x7:_0x42e16e['lastOperationId']=_0x5070bf['string']();break;default:_0x5070bf['skipType'](0x7&_0x1238d4);}}return _0x42e16e;},_0x45cde0['decodeDelimited']=function(_0x3c5822){return _0x3c5822 instanceof _0x223583||(_0x3c5822=new _0x223583(_0x3c5822)),this['decode'](_0x3c5822,_0x3c5822['uint32']());},_0x45cde0['verify']=function(_0x387aba){if('object'!=typeof _0x387aba||null===_0x387aba)return'object\x20expected';if(null!=_0x387aba['id']&&_0x387aba['hasOwnProperty']('id')&&!_0x420af4['isString'](_0x387aba['id']))return'id:\x20string\x20expected';if(null!=_0x387aba['baseVersion']&&_0x387aba['hasOwnProperty']('baseVersion')&&!_0x420af4['isInteger'](_0x387aba['baseVersion']))return'baseVersion:\x20integer\x20expected';if(null!=_0x387aba['buffers']&&_0x387aba['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x387aba['buffers']))return'buffers:\x20array\x20expected';for(var _0x571e1b=0x0;_0x571e1b<_0x387aba['buffers']['length'];++_0x571e1b)if(!(_0x387aba['buffers'][_0x571e1b]&&'number'==typeof _0x387aba['buffers'][_0x571e1b]['length']||_0x420af4['isString'](_0x387aba['buffers'][_0x571e1b])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x387aba['types']&&_0x387aba['hasOwnProperty']('types')){if(!Array['isArray'](_0x387aba['types']))return'types:\x20array\x20expected';for(_0x571e1b=0x0;_0x571e1b<_0x387aba['types']['length'];++_0x571e1b)if(!_0x420af4['isInteger'](_0x387aba['types'][_0x571e1b]))return'types:\x20integer[]\x20expected';}if(null!=_0x387aba['metadata']&&_0x387aba['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x387aba['metadata']))return'metadata:\x20array\x20expected';for(_0x571e1b=0x0;_0x571e1b<_0x387aba['metadata']['length'];++_0x571e1b){var _0x70e80c=_0x5e5fd8['OperationMetadataDescriptor']['verify'](_0x387aba['metadata'][_0x571e1b]);if(_0x70e80c)return'metadata.'+_0x70e80c;}}return null!=_0x387aba['lastOperationId']&&_0x387aba['hasOwnProperty']('lastOperationId')&&!_0x420af4['isString'](_0x387aba['lastOperationId'])?'lastOperationId:\x20string\x20expected':null;},_0x45cde0['fromObject']=function(_0x4f7d62){if(_0x4f7d62 instanceof _0x5e5fd8['CollaborativeEditingUpdateMessage'])return _0x4f7d62;var _0x35a810=new _0x5e5fd8['CollaborativeEditingUpdateMessage']();if(null!=_0x4f7d62['id']&&(_0x35a810['id']=String(_0x4f7d62['id'])),null!=_0x4f7d62['baseVersion']&&(_0x35a810['baseVersion']=_0x4f7d62['baseVersion']>>>0x0),_0x4f7d62['buffers']){if(!Array['isArray'](_0x4f7d62['buffers']))throw TypeError('.CollaborativeEditingUpdateMessage.buffers:\x20array\x20expected');_0x35a810['buffers']=[];for(var _0xd02f42=0x0;_0xd02f42<_0x4f7d62['buffers']['length'];++_0xd02f42)'string'==typeof _0x4f7d62['buffers'][_0xd02f42]?_0x420af4['base64']['decode'](_0x4f7d62['buffers'][_0xd02f42],_0x35a810['buffers'][_0xd02f42]=_0x420af4['newBuffer'](_0x420af4['base64']['length'](_0x4f7d62['buffers'][_0xd02f42])),0x0):_0x4f7d62['buffers'][_0xd02f42]['length']>=0x0&&(_0x35a810['buffers'][_0xd02f42]=_0x4f7d62['buffers'][_0xd02f42]);}if(_0x4f7d62['types']){if(!Array['isArray'](_0x4f7d62['types']))throw TypeError('.CollaborativeEditingUpdateMessage.types:\x20array\x20expected');for(_0x35a810['types']=[],_0xd02f42=0x0;_0xd02f42<_0x4f7d62['types']['length'];++_0xd02f42)_0x35a810['types'][_0xd02f42]=_0x4f7d62['types'][_0xd02f42]>>>0x0;}if(_0x4f7d62['metadata']){if(!Array['isArray'](_0x4f7d62['metadata']))throw TypeError('.CollaborativeEditingUpdateMessage.metadata:\x20array\x20expected');for(_0x35a810['metadata']=[],_0xd02f42=0x0;_0xd02f42<_0x4f7d62['metadata']['length'];++_0xd02f42){if('object'!=typeof _0x4f7d62['metadata'][_0xd02f42])throw TypeError('.CollaborativeEditingUpdateMessage.metadata:\x20object\x20expected');_0x35a810['metadata'][_0xd02f42]=_0x5e5fd8['OperationMetadataDescriptor']['fromObject'](_0x4f7d62['metadata'][_0xd02f42]);}}return null!=_0x4f7d62['lastOperationId']&&(_0x35a810['lastOperationId']=String(_0x4f7d62['lastOperationId'])),_0x35a810;},_0x45cde0['toObject']=function(_0x1bb352,_0x848f23){_0x848f23||(_0x848f23={});var _0x2b23ea={};if((_0x848f23['arrays']||_0x848f23['defaults'])&&(_0x2b23ea['buffers']=[],_0x2b23ea['types']=[],_0x2b23ea['metadata']=[]),_0x848f23['defaults']&&(_0x2b23ea['id']='',_0x2b23ea['baseVersion']=0x0,_0x2b23ea['lastOperationId']=''),null!=_0x1bb352['id']&&_0x1bb352['hasOwnProperty']('id')&&(_0x2b23ea['id']=_0x1bb352['id']),null!=_0x1bb352['baseVersion']&&_0x1bb352['hasOwnProperty']('baseVersion')&&(_0x2b23ea['baseVersion']=_0x1bb352['baseVersion']),_0x1bb352['buffers']&&_0x1bb352['buffers']['length']){_0x2b23ea['buffers']=[];for(var _0x2e077f=0x0;_0x2e077f<_0x1bb352['buffers']['length'];++_0x2e077f)_0x2b23ea['buffers'][_0x2e077f]=_0x848f23['bytes']===String?_0x420af4['base64']['encode'](_0x1bb352['buffers'][_0x2e077f],0x0,_0x1bb352['buffers'][_0x2e077f]['length']):_0x848f23['bytes']===Array?Array['prototype']['slice']['call'](_0x1bb352['buffers'][_0x2e077f]):_0x1bb352['buffers'][_0x2e077f];}if(_0x1bb352['types']&&_0x1bb352['types']['length']){for(_0x2b23ea['types']=[],_0x2e077f=0x0;_0x2e077f<_0x1bb352['types']['length'];++_0x2e077f)_0x2b23ea['types'][_0x2e077f]=_0x1bb352['types'][_0x2e077f];}if(_0x1bb352['metadata']&&_0x1bb352['metadata']['length']){for(_0x2b23ea['metadata']=[],_0x2e077f=0x0;_0x2e077f<_0x1bb352['metadata']['length'];++_0x2e077f)_0x2b23ea['metadata'][_0x2e077f]=_0x5e5fd8['OperationMetadataDescriptor']['toObject'](_0x1bb352['metadata'][_0x2e077f],_0x848f23);}return null!=_0x1bb352['lastOperationId']&&_0x1bb352['hasOwnProperty']('lastOperationId')&&(_0x2b23ea['lastOperationId']=_0x1bb352['lastOperationId']),_0x2b23ea;},_0x45cde0['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x45cde0['getTypeUrl']=function(_0x378b65){return void 0x0===_0x378b65&&(_0x378b65='type.googleapis.com'),_0x378b65+'/CollaborativeEditingUpdateMessage';},_0x45cde0;}()),_0x5e5fd8['CollaborativeEditingReconnectMessage']=(function(){function _0x1a6cb4(_0x42d57c){if(_0x42d57c){for(var _0x4eadfe=Object['keys'](_0x42d57c),_0x2a2e75=0x0;_0x2a2e75<_0x4eadfe['length'];++_0x2a2e75)null!=_0x42d57c[_0x4eadfe[_0x2a2e75]]&&(this[_0x4eadfe[_0x2a2e75]]=_0x42d57c[_0x4eadfe[_0x2a2e75]]);}}return _0x1a6cb4['prototype']['id']='',_0x1a6cb4['prototype']['bundleVersion']='',_0x1a6cb4['prototype']['lastKnowVersion']=0x0,_0x1a6cb4['create']=function(_0x51e4ff){return new _0x1a6cb4(_0x51e4ff);},_0x1a6cb4['encode']=function(_0x4b1d7d,_0xd1f15c){return _0xd1f15c||(_0xd1f15c=_0x500b66['create']()),null!=_0x4b1d7d['id']&&Object['hasOwnProperty']['call'](_0x4b1d7d,'id')&&_0xd1f15c['uint32'](0xa)['string'](_0x4b1d7d['id']),null!=_0x4b1d7d['bundleVersion']&&Object['hasOwnProperty']['call'](_0x4b1d7d,'bundleVersion')&&_0xd1f15c['uint32'](0x12)['string'](_0x4b1d7d['bundleVersion']),null!=_0x4b1d7d['lastKnowVersion']&&Object['hasOwnProperty']['call'](_0x4b1d7d,'lastKnowVersion')&&_0xd1f15c['uint32'](0x18)['uint32'](_0x4b1d7d['lastKnowVersion']),_0xd1f15c;},_0x1a6cb4['encodeDelimited']=function(_0x46edd7,_0x546737){return this['encode'](_0x46edd7,_0x546737)['ldelim']();},_0x1a6cb4['decode']=function(_0x2cdd4b,_0x265d19,_0x260b17){_0x2cdd4b instanceof _0x223583||(_0x2cdd4b=_0x223583['create'](_0x2cdd4b));for(var _0x65ce7b=void 0x0===_0x265d19?_0x2cdd4b['len']:_0x2cdd4b['pos']+_0x265d19,_0x2dc5d1=new _0x5e5fd8['CollaborativeEditingReconnectMessage']();_0x2cdd4b['pos']<_0x65ce7b;){var _0x4a095d=_0x2cdd4b['uint32']();if(_0x4a095d===_0x260b17)break;switch(_0x4a095d>>>0x3){case 0x1:_0x2dc5d1['id']=_0x2cdd4b['string']();break;case 0x2:_0x2dc5d1['bundleVersion']=_0x2cdd4b['string']();break;case 0x3:_0x2dc5d1['lastKnowVersion']=_0x2cdd4b['uint32']();break;default:_0x2cdd4b['skipType'](0x7&_0x4a095d);}}return _0x2dc5d1;},_0x1a6cb4['decodeDelimited']=function(_0x5e0c9b){return _0x5e0c9b instanceof _0x223583||(_0x5e0c9b=new _0x223583(_0x5e0c9b)),this['decode'](_0x5e0c9b,_0x5e0c9b['uint32']());},_0x1a6cb4['verify']=function(_0x2b82d0){return'object'!=typeof _0x2b82d0||null===_0x2b82d0?'object\x20expected':null!=_0x2b82d0['id']&&_0x2b82d0['hasOwnProperty']('id')&&!_0x420af4['isString'](_0x2b82d0['id'])?'id:\x20string\x20expected':null!=_0x2b82d0['bundleVersion']&&_0x2b82d0['hasOwnProperty']('bundleVersion')&&!_0x420af4['isString'](_0x2b82d0['bundleVersion'])?'bundleVersion:\x20string\x20expected':null!=_0x2b82d0['lastKnowVersion']&&_0x2b82d0['hasOwnProperty']('lastKnowVersion')&&!_0x420af4['isInteger'](_0x2b82d0['lastKnowVersion'])?'lastKnowVersion:\x20integer\x20expected':null;},_0x1a6cb4['fromObject']=function(_0x4f7848){if(_0x4f7848 instanceof _0x5e5fd8['CollaborativeEditingReconnectMessage'])return _0x4f7848;var _0x52c024=new _0x5e5fd8['CollaborativeEditingReconnectMessage']();return null!=_0x4f7848['id']&&(_0x52c024['id']=String(_0x4f7848['id'])),null!=_0x4f7848['bundleVersion']&&(_0x52c024['bundleVersion']=String(_0x4f7848['bundleVersion'])),null!=_0x4f7848['lastKnowVersion']&&(_0x52c024['lastKnowVersion']=_0x4f7848['lastKnowVersion']>>>0x0),_0x52c024;},_0x1a6cb4['toObject']=function(_0x5e3d17,_0x11377f){_0x11377f||(_0x11377f={});var _0x353088={};return _0x11377f['defaults']&&(_0x353088['id']='',_0x353088['bundleVersion']='',_0x353088['lastKnowVersion']=0x0),null!=_0x5e3d17['id']&&_0x5e3d17['hasOwnProperty']('id')&&(_0x353088['id']=_0x5e3d17['id']),null!=_0x5e3d17['bundleVersion']&&_0x5e3d17['hasOwnProperty']('bundleVersion')&&(_0x353088['bundleVersion']=_0x5e3d17['bundleVersion']),null!=_0x5e3d17['lastKnowVersion']&&_0x5e3d17['hasOwnProperty']('lastKnowVersion')&&(_0x353088['lastKnowVersion']=_0x5e3d17['lastKnowVersion']),_0x353088;},_0x1a6cb4['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1a6cb4['getTypeUrl']=function(_0x44f5b7){return void 0x0===_0x44f5b7&&(_0x44f5b7='type.googleapis.com'),_0x44f5b7+'/CollaborativeEditingReconnectMessage';},_0x1a6cb4;}()),_0x5e5fd8['CollaborativeEditingConnectMessage']=(function(){function _0x4108d8(_0x4359c6){if(this['buffers']=[],this['types']=[],_0x4359c6){for(var _0x3ef807=Object['keys'](_0x4359c6),_0x108d07=0x0;_0x108d07<_0x3ef807['length'];++_0x108d07)null!=_0x4359c6[_0x3ef807[_0x108d07]]&&(this[_0x3ef807[_0x108d07]]=_0x4359c6[_0x3ef807[_0x108d07]]);}}return _0x4108d8['prototype']['id']='',_0x4108d8['prototype']['bundleVersion']='',_0x4108d8['prototype']['buffers']=_0x420af4['emptyArray'],_0x4108d8['prototype']['types']=_0x420af4['emptyArray'],_0x4108d8['prototype']['lastOperationId']='',_0x4108d8['create']=function(_0x511845){return new _0x4108d8(_0x511845);},_0x4108d8['encode']=function(_0x3bd902,_0x5ba161){if(_0x5ba161||(_0x5ba161=_0x500b66['create']()),null!=_0x3bd902['id']&&Object['hasOwnProperty']['call'](_0x3bd902,'id')&&_0x5ba161['uint32'](0xa)['string'](_0x3bd902['id']),null!=_0x3bd902['bundleVersion']&&Object['hasOwnProperty']['call'](_0x3bd902,'bundleVersion')&&_0x5ba161['uint32'](0x12)['string'](_0x3bd902['bundleVersion']),null!=_0x3bd902['buffers']&&_0x3bd902['buffers']['length']){for(var _0x50fba7=0x0;_0x50fba7<_0x3bd902['buffers']['length'];++_0x50fba7)_0x5ba161['uint32'](0x1a)['bytes'](_0x3bd902['buffers'][_0x50fba7]);}if(null!=_0x3bd902['types']&&_0x3bd902['types']['length']){for(_0x5ba161['uint32'](0x22)['fork'](),_0x50fba7=0x0;_0x50fba7<_0x3bd902['types']['length'];++_0x50fba7)_0x5ba161['uint32'](_0x3bd902['types'][_0x50fba7]);_0x5ba161['ldelim']();}return null!=_0x3bd902['lastOperationId']&&Object['hasOwnProperty']['call'](_0x3bd902,'lastOperationId')&&_0x5ba161['uint32'](0x2a)['string'](_0x3bd902['lastOperationId']),_0x5ba161;},_0x4108d8['encodeDelimited']=function(_0x1f3610,_0x191392){return this['encode'](_0x1f3610,_0x191392)['ldelim']();},_0x4108d8['decode']=function(_0x388934,_0x19b069,_0x228e8a){_0x388934 instanceof _0x223583||(_0x388934=_0x223583['create'](_0x388934));for(var _0x18d75f=void 0x0===_0x19b069?_0x388934['len']:_0x388934['pos']+_0x19b069,_0x175446=new _0x5e5fd8['CollaborativeEditingConnectMessage']();_0x388934['pos']<_0x18d75f;){var _0x1b30bc=_0x388934['uint32']();if(_0x1b30bc===_0x228e8a)break;switch(_0x1b30bc>>>0x3){case 0x1:_0x175446['id']=_0x388934['string']();break;case 0x2:_0x175446['bundleVersion']=_0x388934['string']();break;case 0x3:_0x175446['buffers']&&_0x175446['buffers']['length']||(_0x175446['buffers']=[]),_0x175446['buffers']['push'](_0x388934['bytes']());break;case 0x4:if(_0x175446['types']&&_0x175446['types']['length']||(_0x175446['types']=[]),0x2==(0x7&_0x1b30bc)){for(var _0x194d92=_0x388934['uint32']()+_0x388934['pos'];_0x388934['pos']<_0x194d92;)_0x175446['types']['push'](_0x388934['uint32']());}else _0x175446['types']['push'](_0x388934['uint32']());break;case 0x5:_0x175446['lastOperationId']=_0x388934['string']();break;default:_0x388934['skipType'](0x7&_0x1b30bc);}}return _0x175446;},_0x4108d8['decodeDelimited']=function(_0x324316){return _0x324316 instanceof _0x223583||(_0x324316=new _0x223583(_0x324316)),this['decode'](_0x324316,_0x324316['uint32']());},_0x4108d8['verify']=function(_0x3d886d){if('object'!=typeof _0x3d886d||null===_0x3d886d)return'object\x20expected';if(null!=_0x3d886d['id']&&_0x3d886d['hasOwnProperty']('id')&&!_0x420af4['isString'](_0x3d886d['id']))return'id:\x20string\x20expected';if(null!=_0x3d886d['bundleVersion']&&_0x3d886d['hasOwnProperty']('bundleVersion')&&!_0x420af4['isString'](_0x3d886d['bundleVersion']))return'bundleVersion:\x20string\x20expected';if(null!=_0x3d886d['buffers']&&_0x3d886d['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x3d886d['buffers']))return'buffers:\x20array\x20expected';for(var _0xd85ec3=0x0;_0xd85ec3<_0x3d886d['buffers']['length'];++_0xd85ec3)if(!(_0x3d886d['buffers'][_0xd85ec3]&&'number'==typeof _0x3d886d['buffers'][_0xd85ec3]['length']||_0x420af4['isString'](_0x3d886d['buffers'][_0xd85ec3])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x3d886d['types']&&_0x3d886d['hasOwnProperty']('types')){if(!Array['isArray'](_0x3d886d['types']))return'types:\x20array\x20expected';for(_0xd85ec3=0x0;_0xd85ec3<_0x3d886d['types']['length'];++_0xd85ec3)if(!_0x420af4['isInteger'](_0x3d886d['types'][_0xd85ec3]))return'types:\x20integer[]\x20expected';}return null!=_0x3d886d['lastOperationId']&&_0x3d886d['hasOwnProperty']('lastOperationId')&&!_0x420af4['isString'](_0x3d886d['lastOperationId'])?'lastOperationId:\x20string\x20expected':null;},_0x4108d8['fromObject']=function(_0x1af7ef){if(_0x1af7ef instanceof _0x5e5fd8['CollaborativeEditingConnectMessage'])return _0x1af7ef;var _0xdacf3c=new _0x5e5fd8['CollaborativeEditingConnectMessage']();if(null!=_0x1af7ef['id']&&(_0xdacf3c['id']=String(_0x1af7ef['id'])),null!=_0x1af7ef['bundleVersion']&&(_0xdacf3c['bundleVersion']=String(_0x1af7ef['bundleVersion'])),_0x1af7ef['buffers']){if(!Array['isArray'](_0x1af7ef['buffers']))throw TypeError('.CollaborativeEditingConnectMessage.buffers:\x20array\x20expected');_0xdacf3c['buffers']=[];for(var _0x3538f9=0x0;_0x3538f9<_0x1af7ef['buffers']['length'];++_0x3538f9)'string'==typeof _0x1af7ef['buffers'][_0x3538f9]?_0x420af4['base64']['decode'](_0x1af7ef['buffers'][_0x3538f9],_0xdacf3c['buffers'][_0x3538f9]=_0x420af4['newBuffer'](_0x420af4['base64']['length'](_0x1af7ef['buffers'][_0x3538f9])),0x0):_0x1af7ef['buffers'][_0x3538f9]['length']>=0x0&&(_0xdacf3c['buffers'][_0x3538f9]=_0x1af7ef['buffers'][_0x3538f9]);}if(_0x1af7ef['types']){if(!Array['isArray'](_0x1af7ef['types']))throw TypeError('.CollaborativeEditingConnectMessage.types:\x20array\x20expected');for(_0xdacf3c['types']=[],_0x3538f9=0x0;_0x3538f9<_0x1af7ef['types']['length'];++_0x3538f9)_0xdacf3c['types'][_0x3538f9]=_0x1af7ef['types'][_0x3538f9]>>>0x0;}return null!=_0x1af7ef['lastOperationId']&&(_0xdacf3c['lastOperationId']=String(_0x1af7ef['lastOperationId'])),_0xdacf3c;},_0x4108d8['toObject']=function(_0x423b08,_0x13b997){_0x13b997||(_0x13b997={});var _0x41d793={};if((_0x13b997['arrays']||_0x13b997['defaults'])&&(_0x41d793['buffers']=[],_0x41d793['types']=[]),_0x13b997['defaults']&&(_0x41d793['id']='',_0x41d793['bundleVersion']='',_0x41d793['lastOperationId']=''),null!=_0x423b08['id']&&_0x423b08['hasOwnProperty']('id')&&(_0x41d793['id']=_0x423b08['id']),null!=_0x423b08['bundleVersion']&&_0x423b08['hasOwnProperty']('bundleVersion')&&(_0x41d793['bundleVersion']=_0x423b08['bundleVersion']),_0x423b08['buffers']&&_0x423b08['buffers']['length']){_0x41d793['buffers']=[];for(var _0x214f85=0x0;_0x214f85<_0x423b08['buffers']['length'];++_0x214f85)_0x41d793['buffers'][_0x214f85]=_0x13b997['bytes']===String?_0x420af4['base64']['encode'](_0x423b08['buffers'][_0x214f85],0x0,_0x423b08['buffers'][_0x214f85]['length']):_0x13b997['bytes']===Array?Array['prototype']['slice']['call'](_0x423b08['buffers'][_0x214f85]):_0x423b08['buffers'][_0x214f85];}if(_0x423b08['types']&&_0x423b08['types']['length']){for(_0x41d793['types']=[],_0x214f85=0x0;_0x214f85<_0x423b08['types']['length'];++_0x214f85)_0x41d793['types'][_0x214f85]=_0x423b08['types'][_0x214f85];}return null!=_0x423b08['lastOperationId']&&_0x423b08['hasOwnProperty']('lastOperationId')&&(_0x41d793['lastOperationId']=_0x423b08['lastOperationId']),_0x41d793;},_0x4108d8['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4108d8['getTypeUrl']=function(_0x11470e){return void 0x0===_0x11470e&&(_0x11470e='type.googleapis.com'),_0x11470e+'/CollaborativeEditingConnectMessage';},_0x4108d8;}()),_0x5e5fd8['OperationMetadataDescriptor']=(function(){function _0x486f36(_0x27622a){if(_0x27622a){for(var _0x4cc913=Object['keys'](_0x27622a),_0x7d992d=0x0;_0x7d992d<_0x4cc913['length'];++_0x7d992d)null!=_0x27622a[_0x4cc913[_0x7d992d]]&&(this[_0x4cc913[_0x7d992d]]=_0x27622a[_0x4cc913[_0x7d992d]]);}}return _0x486f36['prototype']['userId']='',_0x486f36['prototype']['type']='',_0x486f36['prototype']['createdAt']='',_0x486f36['create']=function(_0x36fc4a){return new _0x486f36(_0x36fc4a);},_0x486f36['encode']=function(_0x409b36,_0x4566c8){return _0x4566c8||(_0x4566c8=_0x500b66['create']()),null!=_0x409b36['userId']&&Object['hasOwnProperty']['call'](_0x409b36,'userId')&&_0x4566c8['uint32'](0xa)['string'](_0x409b36['userId']),null!=_0x409b36['type']&&Object['hasOwnProperty']['call'](_0x409b36,'type')&&_0x4566c8['uint32'](0x12)['string'](_0x409b36['type']),null!=_0x409b36['createdAt']&&Object['hasOwnProperty']['call'](_0x409b36,'createdAt')&&_0x4566c8['uint32'](0x1a)['string'](_0x409b36['createdAt']),_0x4566c8;},_0x486f36['encodeDelimited']=function(_0x284b7a,_0x2af593){return this['encode'](_0x284b7a,_0x2af593)['ldelim']();},_0x486f36['decode']=function(_0x1d2300,_0x3bd809,_0x2cfe84){_0x1d2300 instanceof _0x223583||(_0x1d2300=_0x223583['create'](_0x1d2300));for(var _0x416ad3=void 0x0===_0x3bd809?_0x1d2300['len']:_0x1d2300['pos']+_0x3bd809,_0x4ab53=new _0x5e5fd8['OperationMetadataDescriptor']();_0x1d2300['pos']<_0x416ad3;){var _0xb038da=_0x1d2300['uint32']();if(_0xb038da===_0x2cfe84)break;switch(_0xb038da>>>0x3){case 0x1:_0x4ab53['userId']=_0x1d2300['string']();break;case 0x2:_0x4ab53['type']=_0x1d2300['string']();break;case 0x3:_0x4ab53['createdAt']=_0x1d2300['string']();break;default:_0x1d2300['skipType'](0x7&_0xb038da);}}return _0x4ab53;},_0x486f36['decodeDelimited']=function(_0x5aa1e3){return _0x5aa1e3 instanceof _0x223583||(_0x5aa1e3=new _0x223583(_0x5aa1e3)),this['decode'](_0x5aa1e3,_0x5aa1e3['uint32']());},_0x486f36['verify']=function(_0x20ac03){return'object'!=typeof _0x20ac03||null===_0x20ac03?'object\x20expected':null!=_0x20ac03['userId']&&_0x20ac03['hasOwnProperty']('userId')&&!_0x420af4['isString'](_0x20ac03['userId'])?'userId:\x20string\x20expected':null!=_0x20ac03['type']&&_0x20ac03['hasOwnProperty']('type')&&!_0x420af4['isString'](_0x20ac03['type'])?'type:\x20string\x20expected':null!=_0x20ac03['createdAt']&&_0x20ac03['hasOwnProperty']('createdAt')&&!_0x420af4['isString'](_0x20ac03['createdAt'])?'createdAt:\x20string\x20expected':null;},_0x486f36['fromObject']=function(_0x12d9ab){if(_0x12d9ab instanceof _0x5e5fd8['OperationMetadataDescriptor'])return _0x12d9ab;var _0x331d26=new _0x5e5fd8['OperationMetadataDescriptor']();return null!=_0x12d9ab['userId']&&(_0x331d26['userId']=String(_0x12d9ab['userId'])),null!=_0x12d9ab['type']&&(_0x331d26['type']=String(_0x12d9ab['type'])),null!=_0x12d9ab['createdAt']&&(_0x331d26['createdAt']=String(_0x12d9ab['createdAt'])),_0x331d26;},_0x486f36['toObject']=function(_0x1cf433,_0x1c4eab){_0x1c4eab||(_0x1c4eab={});var _0x260909={};return _0x1c4eab['defaults']&&(_0x260909['userId']='',_0x260909['type']='',_0x260909['createdAt']=''),null!=_0x1cf433['userId']&&_0x1cf433['hasOwnProperty']('userId')&&(_0x260909['userId']=_0x1cf433['userId']),null!=_0x1cf433['type']&&_0x1cf433['hasOwnProperty']('type')&&(_0x260909['type']=_0x1cf433['type']),null!=_0x1cf433['createdAt']&&_0x1cf433['hasOwnProperty']('createdAt')&&(_0x260909['createdAt']=_0x1cf433['createdAt']),_0x260909;},_0x486f36['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x486f36['getTypeUrl']=function(_0x1ab19f){return void 0x0===_0x1ab19f&&(_0x1ab19f='type.googleapis.com'),_0x1ab19f+'/OperationMetadataDescriptor';},_0x486f36;}()),_0x5e5fd8;})());class _0x455a92{static['decode'](_0x32542b,_0x168e0c){const _0x247f81=_getType(_0x168e0c)['decode']('undefined'==typeof window?_0x32542b:new Uint8Array(_0x32542b));return _0x168e0c['fromJSON']({..._0x247f81});}static['encode'](_0x57afcd){const _0x4f2423=_getType(_0x57afcd['constructor']),_0x512601=_0x57afcd['toJSON'](),_0x286a69=_0x4f2423['verify'](_0x512601);if(_0x286a69)throw Error(_0x286a69);return _0x4f2423['encode'](_0x4f2423['create'](_0x512601))['finish']();}}function _getType(_0x151c58){return _0x16fa96[_0x151c58['DESCRIPTOR_NAME']];}class GetManyUsersMessage extends _0x512bbb{['ids'];static ['TYPE']='22';static ['READABLE_TYPE_NAME']='getManyUsers';static ['DESCRIPTOR_NAME']='GetManyUsersMessage';static ['DESCRIPTOR']={'fields':{'ids':{'id':0x1,'type':'string','rule':'repeated'}}};constructor(_0x457611){super(),this['ids']=_0x457611;}['toJSON'](){return{'ids':this['ids']};}static['fromJSON'](_0x3e830f){return new GetManyUsersMessage(_0x3e830f['ids']);}}class GetManyUsersResponse extends _0x512bbb{['users'];static ['DESCRIPTOR_NAME']='GetManyUsersResponse';static ['DESCRIPTOR']={'fields':{'users':{'rule':'repeated','type':'UserDescriptor','id':0x1}}};constructor(_0xb63481){super(),this['users']=_0xb63481;}['toJSON'](){return{'users':this['users']['map'](_0x221cc3)};}static['fromJSON'](_0x23974a){return new GetManyUsersResponse(_0x23974a['users']['map'](_0x4f072c));}}function _0x221cc3(_0x18aaef){return{'attributes':Object['keys'](_0x18aaef)['map'](_0x50c3c2=>({'key':_0x50c3c2,'value':JSON['stringify'](_0x18aaef[_0x50c3c2])}))};}function _0x4f072c(_0x530d4a){return _0x530d4a['attributes']['reduce']((_0x492120,_0x4fd05a)=>(_0x492120[_0x4fd05a['key']]=_0x4fd05a['value']?JSON['parse'](_0x4fd05a['value']):null,_0x492120),{});}class _0x3f9ce1{static ['_SERVICE']=0x2;constructor(_0xfa0d1e={}){this['_attributes']=new Map();for(const _0x3c1f00 of Object['keys'](_0xfa0d1e))'id'!==_0x3c1f00?(this['_attributes']['set'](_0x3c1f00,_0xfa0d1e[_0x3c1f00]),Object['defineProperty'](this,_0x3c1f00,{'enumerable':!0x0,'configurable':!0x1,'get':()=>this['_attributes']['get'](_0x3c1f00)})):this['id']=_0xfa0d1e['id'];}static['fromData'](_0x41cb9b){return new _0x3f9ce1(_0x41cb9b);}static async['get'](_0x4a5820,_0x3992b3){const _0x2390ef=new GetUserMessage(_0x3992b3);try{const _0x4cf1ef=await _0x4a5820['_sendRequest'](_0x3f9ce1['_SERVICE'],GetUserMessage['TYPE'],_0x455a92['encode'](_0x2390ef)),_0x339137=_0x455a92['decode'](_0x4cf1ef,GetUserResponse);return new _0x3f9ce1(_0x339137['attributes']);}catch{return new _0x3f9ce1({'id':_0x3992b3});}}static async['getMany'](_0x257664,_0x257ef2){const _0x312936=new GetManyUsersMessage(_0x257ef2);try{const _0x10106c=await _0x257664['_sendRequest'](_0x3f9ce1['_SERVICE'],GetManyUsersMessage['TYPE'],_0x455a92['encode'](_0x312936));return _0x455a92['decode'](_0x10106c,GetManyUsersResponse)['users']['map'](_0x2eea4e=>new _0x3f9ce1(_0x2eea4e));}catch{return _0x257ef2['map'](_0x57b277=>new _0x3f9ce1({'id':_0x57b277}));}}}class _0x5b5564 extends _0x512bbb{['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(_0x368e70,_0x557f2c,_0x48292c){super(),this['type']=_0x368e70,this['socketId']=_0x557f2c,this['data']=_0x48292c;}['toJSON'](){return{'type':this['type'],'socketId':this['socketId'],'data':this['data']};}static['fromJSON'](_0x471632){return new _0x5b5564(_0x471632['type'],_0x471632['socketId'],_0x471632['data']);}}class _0x43cf15 extends/* #__PURE__ -- @preserve */
ckeditor5['EmitterMixin'](){['_channelName'];['_wsGateway'];['_socket'];constructor(_0x376618,_0x3abbed,_0x5d0374){super(),this['_channelName']=_0x376618,this['_wsGateway']=_0x3abbed,this['_socket']=_0x5d0374,this['_subscribeToChannel']();}['remove'](){this['_socket']['off'](this['_channelName']);}['getEventName'](_0x5cbf72,_0x4bf1f1=!0x1){let _0xa7e7ac='';return _0x4bf1f1&&(_0xa7e7ac+='all:'),_0xa7e7ac+='event',_0x5cbf72&&(_0xa7e7ac+=':'+_0x5cbf72),_0xa7e7ac;}['_subscribeToChannel'](){this['_socket']['on'](this['_channelName'],_0x47a7e3=>{const _0x288ee7=_0x455a92['decode'](_0x47a7e3,_0x5b5564);this['fire'](this['getEventName'](_0x288ee7['type'],!0x0),_0x288ee7['data'],_0x288ee7['socketId']),_0x288ee7['socketId']!==this['_wsGateway']['socketId']&&this['fire'](this['getEventName'](_0x288ee7['type']),_0x288ee7['data'],_0x288ee7['socketId']);});}}class CKEditorCloudServicesError extends Error{['context'];['code'];['data'];constructor(_0x511fbd,_0x31656f,_0x58a1ae=null,_0x128686={}){super('cloud-services-internal-error:\x20'+_0x511fbd),this['context']=_0x31656f,this['code']=_0x58a1ae,this['data']=_0x128686,this['name']='CKEditorError';}static['fromPublicError'](_0x24a1e9){return new CKEditorCloudServicesError(function(_0x4336ee){let _0x3af3c2='cloud-services-error:\x20'+_0x4336ee['message'];return _0x4336ee['data']&&(_0x3af3c2+='\x0aError\x20data:\x20'+JSON['stringify'](_0x4336ee['data'])),_0x4336ee['explanation']&&(_0x3af3c2+='\x0aExplanation:\x20'+_0x4336ee['explanation']),_0x4336ee['action']&&(_0x3af3c2+='\x0aAction:\x20'+_0x4336ee['action']),_0x4336ee['traceId']&&(_0x3af3c2+='\x0aTraceId:\x20'+_0x4336ee['traceId']),_0x4336ee['code']&&(_0x3af3c2+='\x0aCode:\x20'+_0x4336ee['code']),_0x3af3c2;}(_0x24a1e9),_0x24a1e9);}}class CKEditorCloudServicesServerError extends Error{['code'];['traceId'];['data'];constructor(_0xea8039,_0x105162){super(),this['name']='CKEditorCloudServicesServerError',this['stack']=void 0x0,this['message']=_0xea8039,this['code']=_0x105162['code'],this['traceId']=_0x105162['traceId'],this['data']=_0x105162['data'];}static['fromPublicError'](_0xf1208){return new CKEditorCloudServicesServerError(function(_0x5daa7f){let _0x45e50a='cloud-services-server-error:\x20'+_0x5daa7f['message'];return _0x5daa7f['explanation']&&(_0x45e50a+='\x0aExplanation:\x20'+_0x5daa7f['explanation']),_0x5daa7f['action']&&(_0x45e50a+='\x0aAction:\x20'+_0x5daa7f['action']),_0x5daa7f['traceId']&&(_0x45e50a+='\x0aTraceId:\x20'+_0x5daa7f['traceId']),_0x5daa7f['code']&&(_0x45e50a+='\x0aCode:\x20'+_0x5daa7f['code']),_0x45e50a;}(_0xf1208),_0xf1208);}}class PacketOptionsMessage extends _0x512bbb{['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(_0x1d7340,_0x2e7f17=[],_0x4687ab=[]){super(),this['flags']=_0x1d7340,this['rooms']=_0x2e7f17,this['except']=_0x4687ab;}['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'](_0x16ed9d){return new PacketOptionsMessage(_0x16ed9d['flags']&&JSON['parse'](_0x16ed9d['flags']),_0x16ed9d['rooms'],_0x16ed9d['except']);}}const _0x33193a=/* #__PURE__ -- @preserve */
((()=>!('undefined'==typeof process||!process['versions']?.['node']))()),MessageDataTypes_BUFFER=0x1,MessageDataTypes_STRING=0x2,MessageDataTypes_NUMBER=0x3,MessageDataTypes_OBJECT=0x4;class ParserUtils{static['getPacketType'](..._0x1bc843){let _0x15e07d=0x0;for(let _0x111e77=0x0;_0x111e77<_0x1bc843['length'];_0x111e77++)_0x15e07d+=_0x1bc843[_0x111e77]*Math['pow'](0xa,_0x1bc843['length']-_0x111e77-0x1);return _0x15e07d;}static['getType'](_0x2f93a5){if(ParserUtils['isBuffer'](_0x2f93a5))return MessageDataTypes_BUFFER;const _0x214de2=typeof _0x2f93a5;return'string'===_0x214de2?MessageDataTypes_STRING:'number'===_0x214de2?MessageDataTypes_NUMBER:MessageDataTypes_OBJECT;}static['isBuffer'](_0x433031){return _0x33193a&&Buffer['isBuffer'](_0x433031)||_0x433031 instanceof ArrayBuffer||_0x433031 instanceof Uint8Array||this['_isBufferView'](_0x433031);}static['_isBufferView'](_0x72d0da){return'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x72d0da):_0x72d0da['buffer']instanceof ArrayBuffer;}}class PackageDataMessage extends _0x512bbb{['data'];['data1'];static['create'](_0x55d26d,_0x403ae8){throw new TypeError('Must\x20be\x20implemented\x20in\x20a\x20child\x20class!');}}class NumberBytesPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](MessageDataTypes_NUMBER,MessageDataTypes_BUFFER))());static ['DESCRIPTOR_NAME']='NumberBytesPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0x4f9e63,_0x8ae6cf){super(),this['data']=_0x4f9e63,this['data1']=_0x8ae6cf;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x50f24e){return new NumberBytesPacketDataMessage(_0x50f24e['data'],_0x50f24e['data1']);}static['create'](_0x3bf87e,_0x19b768){return new NumberBytesPacketDataMessage(_0x3bf87e,_0x19b768);}}class StringBytesPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](MessageDataTypes_STRING,MessageDataTypes_BUFFER))());static ['DESCRIPTOR_NAME']='StringBytesPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0x51f80f,_0x2f526c){super(),this['data']=_0x51f80f,this['data1']=_0x2f526c;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x318c5d){return new StringBytesPacketDataMessage(_0x318c5d['data'],_0x318c5d['data1']);}static['create'](_0x74202b,_0x6ac072){return new StringBytesPacketDataMessage(_0x74202b,_0x6ac072);}}class BytesBytesPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](MessageDataTypes_BUFFER,MessageDataTypes_BUFFER))());static ['DESCRIPTOR_NAME']='BytesBytesPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'bytes','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0x3209fd,_0x4c1d8c){super(),this['data']=_0x3209fd,this['data1']=_0x4c1d8c;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x1839a1){return new BytesBytesPacketDataMessage(_0x1839a1['data'],_0x1839a1['data1']);}static['create'](_0x1698c2,_0x320900){return new BytesBytesPacketDataMessage(_0x1698c2,_0x320900);}}class StringObjectPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](MessageDataTypes_STRING,MessageDataTypes_OBJECT))());static ['DESCRIPTOR_NAME']='StringObjectPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x50de2b,_0x411d89){super(),this['data']=_0x50de2b,this['data1']=_0x411d89;}['toJSON'](){return{'data':this['data'],'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x322b5b){return new StringObjectPacketDataMessage(_0x322b5b['data'],_0x322b5b['data1']&&JSON['parse'](_0x322b5b['data1']));}static['create'](_0x1bc182,_0x28a3a6){return new StringObjectPacketDataMessage(_0x1bc182,_0x28a3a6);}}class NumberObjectPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](MessageDataTypes_NUMBER,MessageDataTypes_OBJECT))());static ['DESCRIPTOR_NAME']='NumberObjectPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x4f9733,_0xfe39a5){super(),this['data']=_0x4f9733,this['data1']=_0xfe39a5;}['toJSON'](){return{'data':this['data'],'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x207f60){return new NumberObjectPacketDataMessage(_0x207f60['data'],_0x207f60['data1']&&JSON['parse'](_0x207f60['data1']));}static['create'](_0x31c794,_0x2a97f4){return new NumberObjectPacketDataMessage(_0x31c794,_0x2a97f4);}}class ObjectObjectPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](MessageDataTypes_OBJECT,MessageDataTypes_OBJECT))());static ['DESCRIPTOR_NAME']='ObjectObjectPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x3deba1,_0x361b07){super(),this['data']=_0x3deba1,this['data1']=_0x361b07;}['toJSON'](){return{'data':this['data']?JSON['stringify'](this['data']):void 0x0,'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x29d7c2){return new ObjectObjectPacketDataMessage(_0x29d7c2['data']&&JSON['parse'](_0x29d7c2['data']),_0x29d7c2['data1']&&JSON['parse'](_0x29d7c2['data1']));}static['create'](_0x288f7e,_0x44007f){return new ObjectObjectPacketDataMessage(_0x288f7e,_0x44007f);}}class ObjectBufferPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](MessageDataTypes_OBJECT,MessageDataTypes_BUFFER))());static ['DESCRIPTOR_NAME']='ObjectBufferPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0x4aabe5,_0x323235){super(),this['data']=_0x4aabe5,this['data1']=_0x323235;}['toJSON'](){return{'data':this['data']?JSON['stringify'](this['data']):void 0x0,'data1':this['data1']};}static['fromJSON'](_0x47b4cf){return new ObjectBufferPacketDataMessage(_0x47b4cf['data']&&JSON['parse'](_0x47b4cf['data']),_0x47b4cf['data1']);}static['create'](_0x563660,_0x5d7a78){return new ObjectBufferPacketDataMessage(_0x563660,_0x5d7a78);}}class StringStringPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](MessageDataTypes_STRING,MessageDataTypes_STRING))());static ['DESCRIPTOR_NAME']='StringStringPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x41be50,_0x386cc3){super(),this['data']=_0x41be50,this['data1']=_0x386cc3;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x3dadea){return new StringStringPacketDataMessage(_0x3dadea['data'],_0x3dadea['data1']);}static['create'](_0x1cbbc3,_0x1113ad){return new StringStringPacketDataMessage(_0x1cbbc3,_0x1113ad);}}class StringNumberPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](MessageDataTypes_STRING,MessageDataTypes_NUMBER))());static ['DESCRIPTOR_NAME']='StringNumberPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'uint32','id':0x2}}}))());constructor(_0x3829e4,_0x249948){super(),this['data']=_0x3829e4,this['data1']=_0x249948;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x33733c){return new StringNumberPacketDataMessage(_0x33733c['data'],_0x33733c['data1']);}static['create'](_0x4f2f1e,_0x4c49ee){return new StringNumberPacketDataMessage(_0x4f2f1e,_0x4c49ee);}}class NumberNumberPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](MessageDataTypes_NUMBER,MessageDataTypes_NUMBER))());static ['DESCRIPTOR_NAME']='NumberNumberPacketDataMessage';static ['DESCRIPTOR']={'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'uint32','id':0x2}}};constructor(_0x513590,_0x366406){super(),this['data']=_0x513590,this['data1']=_0x366406;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x431fae){return new NumberNumberPacketDataMessage(_0x431fae['data'],_0x431fae['data1']);}static['create'](_0x169210,_0x14624f){return new NumberNumberPacketDataMessage(_0x169210,_0x14624f);}}class NumberStringPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](MessageDataTypes_NUMBER,MessageDataTypes_STRING))());static ['DESCRIPTOR_NAME']='NumberStringPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x3f8e9f,_0x40cc99){super(),this['data']=_0x3f8e9f,this['data1']=_0x40cc99;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x909313){return new NumberStringPacketDataMessage(_0x909313['data'],_0x909313['data1']);}static['create'](_0x5e2b01,_0x59bce4){return new NumberStringPacketDataMessage(_0x5e2b01,_0x59bce4);}}const _0x3025bc=/* #__PURE__ -- @preserve */
((()=>[NumberBytesPacketDataMessage,StringBytesPacketDataMessage,BytesBytesPacketDataMessage,StringObjectPacketDataMessage,NumberObjectPacketDataMessage,ObjectObjectPacketDataMessage,ObjectBufferPacketDataMessage,StringStringPacketDataMessage,StringNumberPacketDataMessage,NumberNumberPacketDataMessage,NumberStringPacketDataMessage]['reduce']((_0x10a547,_0x6a661d)=>(_0x10a547[_0x6a661d['TYPE']]=_0x6a661d,_0x10a547),{}))());class PacketMessage extends _0x512bbb{['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(_0xd68191,_0x22d3db,_0xf181fe,_0x463bf8='/',_0x47834d){super(),this['type']=_0xd68191,this['data']=_0x22d3db,this['id']=_0xf181fe,this['nsp']=_0x463bf8,this['options']=_0x47834d??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 _0x237bc8=_0x455a92['encode'](this['options']),_0x38e013=_0x455a92['encode'](this['data']);return{'type':this['type']+0xa*this['data']['constructor']['TYPE'],'id':this['id'],'nsp':'/'===this['nsp']?void 0x0:this['nsp'],'data':_0x38e013,'options':_0x237bc8};}static['fromJSON'](_0x129b66){const _0x352c18=Math['floor'](_0x129b66['type']/0xa);return new PacketMessage(_0x129b66['type']-0xa*_0x352c18,_0x455a92['decode'](_0x129b66['data'],_0x3025bc[_0x352c18]),_0x129b66['id'],_0x129b66['nsp'],_0x129b66['options']?_0x455a92['decode'](_0x129b66['options'],PacketOptionsMessage):new PacketOptionsMessage());}static['create'](_0x118df1,_0xd500b3={}){const _0x3f5c7a=ParserUtils['getPacketType'](ParserUtils['getType'](_0x118df1['data'][0x0]),ParserUtils['getType'](_0x118df1['data'][0x1]??_0x118df1['data'][0x0]));return new PacketMessage(_0x118df1['type'],_0x3025bc[_0x3f5c7a]['create'](_0x118df1['data'][0x0],_0x118df1['data'][0x1]),_0x118df1['id'],_0x118df1['nsp'],new PacketOptionsMessage(_0xd500b3['flags'],_0xd500b3['rooms'],_0xd500b3['except']));}}class PacketParser{['encode'](_0x12293d,_0x354a08,_0x905c0,_0x27c9dc='/',_0x276194={}){if(_0x354a08['length']>0x2)throw new Error('PacketParser\x20supports\x20only\x202\x20elements\x20in\x20data');const _0x4e4daa={'type':_0x12293d,'data':_0x354a08,'id':_0x905c0,'nsp':_0x27c9dc};return _0x455a92['encode'](PacketMessage['create'](_0x4e4daa,_0x276194));}['decode'](_0x447c3b){const _0x238f93=_0x455a92['decode'](_0x447c3b,PacketMessage);return{'packet':{'id':_0x238f93['id'],'type':_0x238f93['type'],'data':_0x238f93['packetData'],'nsp':_0x238f93['nsp']},'options':{'flags':_0x238f93['options']['flags'],'rooms':_0x238f93['options']['rooms'],'except':_0x238f93['options']['except']}};}}const _0x45a976=/* #__PURE__ -- @preserve */
((()=>[PacketType['EVENT'],PacketType['ACK'],PacketType['BINARY_ACK'],PacketType['BINARY_EVENT']])());class _0x484f46 extends _0x299f61{['_packetParser'];constructor(_0x2140dd){super(),this['_packetParser']=_0x2140dd??new PacketParser();}['encode'](_0x367540){if(_0x45a976['includes'](_0x367540['type']))try{return[this['_packetParser']['encode'](_0x367540['type'],_0x367540['data'],_0x367540['id'],_0x367540['nsp'])];}catch(_0x22f1f3){console['error']('Can\x20not\x20properly\x20serialize\x20or\x20deserialize\x20messages.\x20Check\x20the\x20original\x20error.',{'originalError':{'message':_0x22f1f3['message']}});}return super['encode'](_0x367540);}}class _0xccd016 extends _0x182645{['_packetParser'];constructor(_0x213c86){super(),this['_packetParser']=_0x213c86??new PacketParser();}['add'](_0x52e776){if(!ParserUtils['isBuffer'](_0x52e776))return super['add'](_0x52e776);let _0x3d572c;try{_0x3d572c=this['_packetParser']['decode'](_0x52e776)['packet'];}catch{return super['add'](_0x52e776);}super['emitReserved']('decoded',_0x3d572c);}}class WebSocketRequest{['_context'];['_deferredPromise']=/* #__PURE__ -- @preserve */
_0x2722fb();['timeout'];constructor(_0x2aae2,_0x5b9dba){this['_context']=_0x2aae2,this['timeout']=setTimeout(()=>this['error'](new CKEditorCloudServicesError('Request\x20timeout.',this['_context'])),_0x5b9dba);}get['promise'](){return this['_deferredPromise']['promise'];}['response'](_0x4101ac){this['_deferredPromise']['resolve'](_0x4101ac);}['error'](_0x111125){this['_deferredPromise']['reject'](_0x111125);}}class WebSocketGatewayRequestsManager{['_context'];['_requests']=new Set();constructor(_0x1a5354){this['_context']=_0x1a5354;}async['send'](_0x53a79b,_0x50b963=0xafc8){const _0x2824ce=this['_createRequest'](_0x50b963);try{return _0x53a79b(_0x2824ce),await _0x2824ce['promise'];}finally{this['_finishRequest'](_0x2824ce);}}['errorAll'](_0x14a32a){for(const _0x3f1e02 of this['_requests'])_0x3f1e02['error'](_0x14a32a);}['waitForAllRequests'](_0x3c13f3=0xafc8){return this['_waitForRequests'](_0x3c13f3);}['_createRequest'](_0x52c434){const _0x1a6285=new WebSocketRequest(this['_context'],_0x52c434);return this['_requests']['add'](_0x1a6285),_0x1a6285;}['_finishRequest'](_0x59906e){this['_requests']['delete'](_0x59906e),clearTimeout(_0x59906e['timeout']);}async['_waitForRequests'](_0x46ef83=0x1388,_0x99ddc7=0x0){return!this['_requests']['size']||_0x99ddc7>=_0x46ef83/0x1f4?Promise['resolve']():(await new Promise(_0x520198=>{setTimeout(_0x520198,0x1f4);}),this['_waitForRequests'](_0x46ef83,_0x99ddc7++));}}function _0x2722fb(){let _0xbb03e6,_0x4726c0;const _0x2e586d=new Promise((_0x5c9cf0,_0x57fd69)=>{_0xbb03e6=_0x5c9cf0,_0x4726c0=_0x57fd69;});return{'resolve':_0xbb03e6,'reject':_0x4726c0,'promise':_0x2e586d};}const _0x32ca8e={'DISCONNECTED':'disconnected','CONNECTING':'connecting','CONNECTED':'connected'};let WebSocketGateway$1=class _0x48165b extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['_requestsManager'];['_url'];['_socket'];['_socketAuth'];['_channels'];['_connectionAttempt']=0x0;['_token'];['_options'];['_connectionProvider'];['_userFactory'];static ['STATE_DISCONNECTED']=/* #__PURE__ -- @preserve */
((()=>_0x32ca8e['DISCONNECTED'])());static ['STATE_CONNECTING']=/* #__PURE__ -- @preserve */
((()=>_0x32ca8e['CONNECTING'])());static ['STATE_CONNECTED']=/* #__PURE__ -- @preserve */
((()=>_0x32ca8e['CONNECTED'])());static ['_CHANGE_STATE_EVENT_PRIORITY']=/* #__PURE__ -- @preserve */
((()=>ckeditor5['priorities']['get']('highest')+0xf423f)());constructor(_0x15f096,_0x1fe63d,_0x4c1c99,_0x173dc7,_0x41c77a){if(super(),this['_token']=_0x1fe63d,this['_options']=_0x4c1c99??{},this['_connectionProvider']=_0x173dc7??_0x197baa,this['_userFactory']=_0x41c77a??_0x3f9ce1['get'],this['_requestsManager']=new WebSocketGatewayRequestsManager(this),this['_channels']=new Map(),!_0x15f096)throw new TypeError('Api\x20address\x20must\x20be\x20provided.');if(!this['_token'])throw new TypeError('Token\x20must\x20be\x20provided.');this['_options']['requestTimeout']??=0x4e20,this['_url']=urlParseExports(_0x15f096['replace'](/^(?!(?:\w+:)?\/\/)/,'https://')),this['set']('state',_0x32ca8e['DISCONNECTED']),this['set']('socketId',void 0x0),this['set']('me',void 0x0),this['on']('change:state',async(_0x2f6a9a,_0x476afb,_0x46ecfa)=>{if(this['_debugEvent']('ws-gw:change:state',_0x46ecfa),_0x46ecfa!==_0x48165b['STATE_CONNECTED']){if(_0x46ecfa===_0x48165b['STATE_DISCONNECTED'])return this['_requestsManager']['errorAll'](new CKEditorCloudServicesError('Not\x20connected.',this));}else try{this['me']=await this['_userFactory']['call'](_0x3f9ce1,this,this['_socketAuth']?.['userId']);}catch{}},{'priority':_0x48165b['_CHANGE_STATE_EVENT_PRIORITY']}),this['on']('error',(_0x2e156e,_0x2f43b3)=>{this['_options']['onError']?this['_options']['onError'](_0x2f43b3):console['error'](_0x2f43b3);});}get['sessionId'](){return this['socketId'];}['waitForAllRequests'](_0xb065cd){return this['_requestsManager']['waitForAllRequests'](_0xb065cd);}['disconnect'](){this['state']!==_0x32ca8e['DISCONNECTED']&&(this['_socket']?.['disconnect'](),this['_socket']=void 0x0,this['state']=_0x32ca8e['DISCONNECTED']);}async['reconnect'](){this['_socket']||this['state']!==_0x32ca8e['DISCONNECTED']||(await this['_token']['refreshToken'](),await this['_connect']());}static async['connect'](_0x25bc6d,_0x5a61dd='local.cs.dev:443/ws-v2',_0x1fe637={},_0xb69ba0=_0x197baa,_0x247bf5=_0x3f9ce1['get']){const _0x559d4c=new _0x48165b(_0x5a61dd,_0x25bc6d,_0x1fe637,_0xb69ba0,_0x247bf5);return await _0x559d4c['_connect'](),_0x559d4c;}['_sendRequest'](_0x5caf68,_0x1255f9,_0x101685){if(!_0x5caf68)throw new CKEditorCloudServicesError('`serviceName`\x20must\x20be\x20provided.',this);if(this['state']!==_0x48165b['STATE_CONNECTED'])throw new CKEditorCloudServicesError('Not\x20connected.',this);if(!this['_socketAuth']?.['isAuthenticated'])throw new CKEditorCloudServicesError('Not\x20authenticated.',this);const _0x484e92=new ArrayBuffer(_0x101685['length']+0x2),_0xcbe3ec=new Uint8Array(_0x484e92);return _0xcbe3ec[0x0]=_0x5caf68,_0xcbe3ec[0x1]=parseInt(_0x1255f9),_0xcbe3ec['set'](_0x101685,0x2),this['_emit'](0x1,_0xcbe3ec);}['_getChannel'](_0x3c07f5,_0x5657e4){const _0x3c168f=''+_0x3c07f5+_0x5657e4;return!this['_channels']['has'](_0x3c168f)&&this['_socket']&&this['_channels']['set'](_0x3c168f,new _0x43cf15(_0x3c168f,this,this['_socket'])),this['_channels']['get'](_0x3c168f);}['_connect'](){return new Promise((_0x3c9b11,_0x42e8ba)=>{const _0x2c2439=this['_setupSocket']();!this['socketId']&&_0x2c2439['io']['on']('reconnect_error',()=>{this['_debugEvent']('reconnect_error'),this['_reconnectionAttemptError'](_0x42e8ba);}),_0x2c2439['once']('connect',async()=>{this['_debugEvent']('once-connect');try{await this['_onConnect'](),_0x3c9b11();}catch(_0x3a425d){_0x42e8ba(_0x3a425d);}}),_0x2c2439['connect']();});}['_getPortByProtocol'](_0xe05b66){return['http:','ws:']['includes'](_0xe05b66)?0x50:0x1bb;}['_setupSocket'](){if(this['_socket'])return this['_socket'];const _0x357717=this['_url']['port']||this['_getPortByProtocol'](this['_url']['protocol']),_0xbe72bf=(this['_url']['protocol']||'https:')+'//'+this['_url']['hostname']+':'+_0x357717,_0x352f82=this['_url']['pathname']['match'](/^\/.*\/ws/)?this['_url']['pathname']['split']('/ws')[0x0]:'',_0x33a851=this['_connectionProvider'](_0xbe72bf,{'parser':{'Encoder':_0x484f46,'Decoder':_0xccd016},'path':_0x352f82+'/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.3'},'agent':this['_options']['agent']??!0x1,'closeOnBeforeunload':!0x1});return this['state']=_0x32ca8e['CONNECTING'],_0x33a851['on']('connect',()=>{this['_debugEvent']('connect'),this['socketId']=_0x33a851['id'];}),_0x33a851['on']('connect_error',_0x54b198=>{this['_debugEvent']('connect_error',_0x54b198);}),_0x33a851['on']('disconnect',()=>{this['_debugEvent']('disconnect'),this['_onDisconnect']();}),_0x33a851['io']['on']('reconnect',async()=>{this['_debugEvent']('reconnect'),await this['_onReconnect']();}),_0x33a851['io']['on']('reconnect_attempt',_0x26dfc8=>{this['_debugEvent']('reconnect_attempt',_0x26dfc8),this['state']=_0x32ca8e['CONNECTING'],this['_connectionAttempt']=_0x26dfc8;}),_0x33a851['on']('unauthorized',_0x5296bb=>{this['_debugEvent']('unauthorized'),this['_onUnauthorized'](_0x5296bb);}),_0x33a851['on']('authenticationRequest',async _0x4324f0=>{this['_debugEvent']('authenticationRequest',_0x4324f0['attempt']),await this['_onReconnect']();}),this['_socket']=_0x33a851,_0x33a851;}['_emit'](_0x55e778,_0x4cdc84){const _0x1bcf59=this['_socket'];return this['_requestsManager']['send'](_0x1b7f66=>{_0x1bcf59['emit'](_0x55e778,_0x4cdc84,(_0x30c717,_0x3d4305)=>{if(_0x30c717)return _0x1b7f66['error'](CKEditorCloudServicesServerError['fromPublicError'](_0x30c717));_0x1b7f66['response'](_0x3d4305);});},this['_options']['requestTimeout']);}['_addAuthData'](_0x345f44,_0x26cb13){this['_socketAuth']={'environmentId':_0x345f44,'userId':_0x26cb13,'isAuthenticated':!0x0};}['_removeAuthData'](){this['_socketAuth']=void 0x0;}async['_onConnect'](){await this['_authenticate'](this['_token']['value']),this['state']=_0x32ca8e['CONNECTED'];const _0x4298fb=async(_0xb20a75,_0x40463b,_0x4e8bda)=>{this['_debugEvent']('token:value:change');try{await this['_authenticate'](_0x4e8bda);}catch{}};this['_token']['on']('change:value',_0x4298fb),this['_socket']['io']['off']('reconnect_error'),this['on']('disconnect',()=>{this['_token']['off']('change:value',_0x4298fb);});}async['_onReconnect'](){await this['_token']['refreshToken'](),await this['_onConnect']();}['_onDisconnect'](){this['state']=_0x32ca8e['DISCONNECTED'],this['_connectionAttempt']=0x0,this['fire']('disconnect');for(const _0x6a4d89 of this['_channels']['values']())_0x6a4d89['remove']();this['_channels']['clear'](),void 0x0===this['_options']['autoReconnect']||this['_options']['autoReconnect']||(this['_socket']=void 0x0);}['_debugEvent'](_0x2ecaf0,_0x5db00d){if(!this['_isDebugModeEnabled']())return;const _0x3fc345=void 0x0!==_0x5db00d?',\x20data:\x20'+_0x5db00d:'';console['info'](new Date()['toLocaleString']()+'\x20'+_0x2ecaf0+_0x3fc345);}['_reconnectionAttemptError'](_0x1a23d8){this['_connectionAttempt']>=0x2&&(this['disconnect'](),_0x1a23d8(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:_0x2b66f9}){this['_removeAuthData'](),this['fire']('error',CKEditorCloudServicesServerError['fromPublicError'](_0x2b66f9));}async['_authenticate'](_0x53e125){try{this['_debugEvent']('authenticate:start');const _0x2881c9=await this['_emit'](0x2,{'token':_0x53e125});this['_debugEvent']('authenticate:success','envId:\x20'+_0x2881c9['environmentId']+',\x20userId:\x20'+_0x2881c9['userId']),this['_addAuthData'](_0x2881c9['environmentId'],_0x2881c9['userId']);}catch(_0x35f4f3){throw this['_debugEvent']('authenticate:error',_0x35f4f3['message']),this['_removeAuthData'](),_0x35f4f3;}}['_isDebugModeEnabled'](){return!!ckeditor5['global']['window']['localStorage']&&'true'===(ckeditor5['global']['window']['localStorage']['getItem']('csClientDebugMode')??'false')['toLowerCase']();}};class IsEditorBundleUploadedMessage extends _0x512bbb{['bundleVersion'];static ['TYPE']='131';static ['READABLE_TYPE_NAME']='isEditorBundleUploaded';static ['DESCRIPTOR_NAME']='IsEditorBundleUploadedMessage';static ['DESCRIPTOR']={'fields':{'bundleVersion':{'type':'string','id':0x1}}};constructor(_0x192119){super(),this['bundleVersion']=_0x192119;}['toJSON'](){return{'bundleVersion':this['bundleVersion']};}static['fromJSON'](_0xbaf988){return new IsEditorBundleUploadedMessage(_0xbaf988['bundleVersion']);}}class IsEditorBundleUploadedResponse extends _0x512bbb{['isUploaded'];static ['DESCRIPTOR_NAME']='IsEditorBundleUploadedResponse';static ['DESCRIPTOR']={'fields':{'isUploaded':{'type':'bool','id':0x1}}};constructor(_0x30fe9f){super(),this['isUploaded']=_0x30fe9f;}['toJSON'](){return{'isUploaded':this['isUploaded']};}static['fromJSON'](_0x360723){return new IsEditorBundleUploadedResponse(_0x360723['isUploaded']);}}class EditorService extends/* #__PURE__ -- @preserve */
ckeditor5['EmitterMixin'](){static ['_SERVICE']=0xd;static async['isBundleUploaded'](_0xb10bb,_0x38b402){const _0x3cd4bb=new IsEditorBundleUploadedMessage(_0x38b402);if(_0xb10bb['state']!==_0x32ca8e['CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0xb10bb);const _0x4b662a=await _0xb10bb['_sendRequest'](EditorService['_SERVICE'],IsEditorBundleUploadedMessage['TYPE'],_0x455a92['encode'](_0x3cd4bb));return _0x455a92['decode'](_0x4b662a,IsEditorBundleUploadedResponse)['isUploaded'];}}class RevisionHistoryGetRevisionMessage extends _0x512bbb{['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(_0x2f21da,_0x5350f3){super(),this['documentId']=_0x2f21da,this['revisionId']=_0x5350f3;}['toJSON'](){return{'documentId':this['documentId'],'revisionId':this['revisionId']};}static['fromJSON'](_0x1ba4ec){return new RevisionHistoryGetRevisionMessage(_0x1ba4ec['documentId'],_0x1ba4ec['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'](_0x211fe6){return{'revisionId':_0x211fe6['id'],'name':_0x211fe6['name'],'creatorId':_0x211fe6['creatorId'],'createdAt':_0x211fe6['createdAt'],'fromVersion':_0x211fe6['fromVersion'],'toVersion':_0x211fe6['toVersion'],'isEmptyCurrent':_0x211fe6['isEmptyCurrent'],'diffData':_0x211fe6['diffData']?JSON['stringify'](_0x211fe6['diffData']):void 0x0,'attributes':_0x211fe6['attributes'],'authorsIds':_0x211fe6['authorsIds']};}static['toJSON'](_0x207fb1){return{'revisionId':_0x207fb1['revisionId'],'name':_0x207fb1['name'],'creatorId':_0x207fb1['creatorId'],'authorsIds':_0x207fb1['authorsIds']?JSON['stringify'](_0x207fb1['authorsIds']):void 0x0,'diffData':_0x207fb1['diffData'],'createdAt':_0x207fb1['createdAt']?.['toISOString'](),'attributes':_0x207fb1['attributes']?JSON['stringify'](_0x207fb1['attributes']):void 0x0,'toVersion':_0x207fb1['toVersion'],'fromVersion':_0x207fb1['fromVersion'],'isEmptyCurrent':_0x207fb1['isEmptyCurrent']};}static['fromJSON'](_0x4bd5c4){return{'revisionId':(_0x4bd5c4={..._0x4bd5c4})['revisionId'],'name':_0x4bd5c4['name'],'creatorId':_0x4bd5c4['creatorId'],'authorsIds':_0x4bd5c4['authorsIds']?JSON['parse'](_0x4bd5c4['authorsIds']):void 0x0,'diffData':_0x4bd5c4['diffData'],'createdAt':_0x4bd5c4['createdAt']?new Date(_0x4bd5c4['createdAt']):void 0x0,'attributes':_0x4bd5c4['attributes']?JSON['parse'](_0x4bd5c4['attributes']):void 0x0,'toVersion':_0x4bd5c4['toVersion'],'fromVersion':_0x4bd5c4['fromVersion'],'isEmptyCurrent':_0x4bd5c4['isEmptyCurrent']};}static['toObject'](_0x2aa275){return function(_0x45c0e4){for(const [_0x480245,_0x1d4fe6]of Object['entries'](_0x45c0e4))void 0x0===_0x1d4fe6&&delete _0x45c0e4[_0x480245];return _0x45c0e4;}({'id':_0x2aa275['revisionId'],'name':_0x2aa275['name'],'creatorId':_0x2aa275['creatorId'],'createdAt':_0x2aa275['createdAt'],'fromVersion':_0x2aa275['fromVersion'],'toVersion':_0x2aa275['toVersion'],'isEmptyCurrent':_0x2aa275['isEmptyCurrent'],'diffData':_0x2aa275['diffData']?JSON['parse'](_0x2aa275['diffData']):void 0x0,'attributes':_0x2aa275['attributes'],'authorsIds':_0x2aa275['authorsIds']});}}class RevisionHistoryGetRevisionResponse extends _0x512bbb{['revisionId'];['name'];['creatorId'];['authorsIds'];['createdAt'];['diffData'];['attributes'];['fromVersion'];['toVersion'];['isEmptyCurrent'];static ['DESCRIPTOR_NAME']='RevisionHistoryGetRevisionResponse';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>RevisionDescriptor['DESCRIPTOR'])());constructor(_0x4cb075,_0xab2e09,_0x3e8d18,_0xa4bd3e,_0x54d636,_0xcf8f2e,_0x47329c,_0x8f042a,_0x8e9d65,_0x362323){super(),this['revisionId']=_0x4cb075,this['name']=_0xab2e09,this['creatorId']=_0x3e8d18,this['authorsIds']=_0xa4bd3e,this['createdAt']=_0x54d636,this['diffData']=_0xcf8f2e,this['attributes']=_0x47329c,this['fromVersion']=_0x8f042a,this['toVersion']=_0x8e9d65,this['isEmptyCurrent']=_0x362323;}['toJSON'](){return RevisionDescriptor['toJSON'](this);}['toObject'](){return RevisionDescriptor['toObject'](this);}static['create'](_0xe34df7){return new RevisionHistoryGetRevisionResponse(_0xe34df7['revisionId'],_0xe34df7['name'],_0xe34df7['creatorId'],_0xe34df7['authorsIds'],_0xe34df7['createdAt'],_0xe34df7['diffData'],_0xe34df7['attributes'],_0xe34df7['fromVersion'],_0xe34df7['toVersion'],_0xe34df7['isEmptyCurrent']);}static['fromJSON'](_0x1acad1){return new RevisionHistoryGetRevisionResponse(_0x1acad1['revisionId'],_0x1acad1['name'],_0x1acad1['creatorId'],_0x1acad1['authorsIds']?JSON['parse'](_0x1acad1['authorsIds']):void 0x0,_0x1acad1['createdAt']?new Date(_0x1acad1['createdAt']):void 0x0,_0x1acad1['diffData'],_0x1acad1['attributes']?JSON['parse'](_0x1acad1['attributes']):void 0x0,_0x1acad1['fromVersion'],_0x1acad1['toVersion'],_0x1acad1['isEmptyCurrent']);}}class RevisionHistoryUpdateRevisionsMessage extends _0x512bbb{['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(_0x88177f,_0x267eae,_0x306c5c){super(),this['documentId']=_0x88177f,this['requestId']=_0x267eae,this['revisions']=_0x306c5c;}['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'](_0x2fc864){return new RevisionHistoryUpdateRevisionsMessage(_0x2fc864['documentId'],_0x2fc864['requestId'],_0x2fc864['revisions']['map'](RevisionDescriptor['create']));}static['fromJSON'](_0x5f2ff9){return new RevisionHistoryUpdateRevisionsMessage(_0x5f2ff9['documentId'],_0x5f2ff9['requestId'],_0x5f2ff9['revisions']['map'](RevisionDescriptor['fromJSON']));}}class RevisionHistoryUpdateRevisionsResponse extends _0x512bbb{['requestId'];static ['DESCRIPTOR_NAME']='RevisionHistoryUpdateRevisionsResponse';static ['DESCRIPTOR']={'fields':{'requestId':{'type':'uint32','id':0x1}}};constructor(_0x4bd6ac){super(),this['requestId']=_0x4bd6ac;}['toJSON'](){return{'requestId':this['requestId']};}static['fromJSON'](_0x1664fc){return new RevisionHistoryUpdateRevisionsResponse(_0x1664fc['requestId']);}}class RevisionHistoryConnectMessage extends _0x512bbb{['documentId'];static ['TYPE']='121';static ['READABLE_TYPE_NAME']='connectToRevisionHistory';static ['DESCRIPTOR_NAME']='RevisionHistoryConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x5f2af2){super(),this['documentId']=_0x5f2af2;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x452afc){return new RevisionHistoryConnectMessage(_0x452afc['documentId']);}}class RevisionHistoryConnectResponse extends _0x512bbb{['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(_0x3ee1a6,_0x1128ca,_0x5a8724){super(),this['channel']=_0x3ee1a6,this['requestId']=_0x1128ca,this['revisions']=_0x5a8724;}['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'](_0x22f5fa){return new RevisionHistoryConnectResponse(_0x22f5fa['channel'],_0x22f5fa['requestId'],_0x22f5fa['revisions']['map'](RevisionDescriptor['fromJSON']));}}class RevisionHistoryReconnectMessage extends _0x512bbb{['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(_0x17e5b0,_0x196664){super(),this['documentId']=_0x17e5b0,this['requestId']=_0x196664;}['toJSON'](){return{'documentId':this['documentId'],'requestId':this['requestId']};}static['fromJSON'](_0x25a406){return new RevisionHistoryReconnectMessage(_0x25a406['documentId'],_0x25a406['requestId']);}}class ServiceNotConnectedError extends CKEditorCloudServicesError{constructor(_0x30e25a,_0xa264cd){super(_0x30e25a+'\x20Service\x20is\x20not\x20connected.',_0xa264cd);}}class RevisionHistoryService extends/* #__PURE__ -- @preserve */
ckeditor5['EmitterMixin'](){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];static ['_SERVICE']=0xc;constructor(_0xce620){super(),this['_documentId']=_0xce620;}get['isConnected'](){return this['_isConnected'];}['connect'](_0x442d5d){return this['_isConnected']?Promise['resolve']():this['_connect'](_0x442d5d,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'](_0x57d41c,_0x5aa6c7){if(this['isConnected'])throw new CKEditorCloudServicesError('Cannot\x20reconnect\x20to\x20already\x20connected\x20service.',_0x57d41c);return this['_connect'](_0x57d41c,new RevisionHistoryReconnectMessage(this['_documentId'],_0x5aa6c7));}async['updateRevisions'](_0x17c085,_0x45a507){const _0x24e4c6=RevisionHistoryUpdateRevisionsMessage['create']({'documentId':this['_documentId'],'requestId':_0x45a507,'revisions':_0x17c085}),_0x5e8c34=await this['_sendRequest'](RevisionHistoryUpdateRevisionsMessage['TYPE'],_0x24e4c6),{requestId:_0x498024}=_0x455a92['decode'](_0x5e8c34,RevisionHistoryUpdateRevisionsResponse);return _0x498024;}async['getRevision'](_0x5f3877){const _0x4ad6f9=new RevisionHistoryGetRevisionMessage(this['_documentId'],_0x5f3877),_0x41faf3=await this['_sendRequest'](RevisionHistoryGetRevisionMessage['TYPE'],_0x4ad6f9);return _0x455a92['decode'](_0x41faf3,RevisionHistoryGetRevisionResponse)['toObject']();}async['_connect'](_0x4cf5b6,_0x31e459){if(_0x4cf5b6['state']!==_0x32ca8e['CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x4cf5b6);this['_wsGateway']=_0x4cf5b6,this['stopListening'](_0x4cf5b6,'change:state');const _0x4bc3af=await _0x4cf5b6['_sendRequest'](0xc,_0x31e459['constructor']['TYPE'],_0x455a92['encode'](_0x31e459)),{channel:_0x25f9d0,requestId:_0x1489fe,revisions:_0x2109d8}=_0x455a92['decode'](_0x4bc3af,RevisionHistoryConnectResponse)['toObject']();return this['listenTo'](_0x4cf5b6,'change:state',(_0x259d36,_0x1d179b,_0x1a2e60)=>this['_onWsGatewayStateChange'](_0x1a2e60),{'priority':WebSocketGateway$1['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x4cf5b6,_0x25f9d0),this['_isConnected']=!0x0,this['fire']('connected'),{'revisions':_0x2109d8,'requestId':_0x1489fe};}['_connectToChannel'](_0x32f33c,_0x4d9e4d){this['_channel']=_0x32f33c['_getChannel'](RevisionHistoryService['_SERVICE'],_0x4d9e4d),this['_channel']&&this['listenTo'](this['_channel'],this['_channel']['getEventName'](RevisionHistoryUpdateRevisionsMessage['TYPE']),(_0x3ce8a1,_0x4a6334)=>{const {documentId:_0x3c3b3f,requestId:_0xd8f82e,revisions:_0x2a0ecb}=_0x455a92['decode'](_0x4a6334,RevisionHistoryUpdateRevisionsMessage)['toObject']();this['fire']('revisionsUpdated',{'documentId':_0x3c3b3f,'requestId':_0xd8f82e,'revisionsData':_0x2a0ecb});});}['_onWsGatewayStateChange'](_0xf1989a){_0xf1989a===_0x32ca8e['DISCONNECTED']&&this['disconnect']();}['_sendRequest'](_0x53313a,_0x2546aa){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Revision\x20History',this);return this['_wsGateway']['_sendRequest'](0xc,_0x53313a,_0x455a92['encode'](_0x2546aa));}}class AddSuggestionMessage extends _0x512bbb{['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(_0x309a74,_0x581f65,_0x201e88,_0x10e944={},_0x309476=null,_0x20f2b0=null){super(),this['id']=_0x309a74,this['documentId']=_0x581f65,this['type']=_0x201e88,this['data']=_0x10e944,this['originalSuggestionId']=_0x309476,this['attributes']=_0x20f2b0;}['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'](_0x34ca8b){return new AddSuggestionMessage(_0x34ca8b['id'],_0x34ca8b['documentId'],_0x34ca8b['type'],JSON['parse'](_0x34ca8b['data']),_0x34ca8b['originalSuggestionId']??null,_0x34ca8b['attributes']?JSON['parse'](_0x34ca8b['attributes']):null);}}class AddSuggestionResponse extends _0x512bbb{['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(_0x388983,_0x343d14,_0x18e459,_0x517b00,_0x2812f1,_0x3d98ac,_0x25807a={},_0x333f3f=null){super(),this['id']=_0x388983,this['authorId']=_0x343d14,this['type']=_0x18e459,this['hasComments']=_0x2812f1,this['state']=_0x3d98ac,this['data']=_0x25807a,this['attributes']=_0x333f3f,this['createdAt']=_0x517b00?new Date(_0x517b00):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'](_0x509aab){return new AddSuggestionResponse(_0x509aab['id'],_0x509aab['authorId'],_0x509aab['type'],_0x509aab['createdAt'],_0x509aab['hasComments'],_0x509aab['state'],JSON['parse'](_0x509aab['data']),_0x509aab['attributes']?JSON['parse'](_0x509aab['attributes']):null);}}class GetSuggestionMessage extends _0x512bbb{['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(_0x5286ac,_0x36790a){super(),this['id']=_0x5286ac,this['documentId']=_0x36790a;}['toJSON'](){return{'id':this['id'],'documentId':this['documentId']};}static['fromJSON'](_0x545b9d){return new GetSuggestionMessage(_0x545b9d['id'],_0x545b9d['documentId']);}}class GetSuggestionResponse extends _0x512bbb{['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(_0x362842,_0x4ed815,_0x304046,_0x5d3159,_0x555ba3,_0x1246f,_0x2c0094={},_0xbd690c=null){super(),this['id']=_0x362842,this['authorId']=_0x4ed815,this['type']=_0x304046,this['hasComments']=_0x555ba3,this['state']=_0x1246f,this['data']=_0x2c0094,this['attributes']=_0xbd690c,this['createdAt']=new Date(_0x5d3159);}['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'](_0x21aac4){return new GetSuggestionResponse(_0x21aac4['id'],_0x21aac4['authorId'],_0x21aac4['type'],_0x21aac4['createdAt'],_0x21aac4['hasComments'],_0x21aac4['state'],JSON['parse'](_0x21aac4['data']),_0x21aac4['attributes']?JSON['parse'](_0x21aac4['attributes']):null);}}class GetAllSuggestionsMessage extends _0x512bbb{['documentId'];static ['TYPE']='102';static ['READABLE_TYPE_NAME']='getAllSuggestions';static ['DESCRIPTOR_NAME']='TrackChangesGetAllSuggestionMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x19d32d){super(),this['documentId']=_0x19d32d;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x3d8d61){return new GetAllSuggestionsMessage(_0x3d8d61['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'](_0x2c5e7f){return{..._0x2c5e7f,'data':_0x2c5e7f['data']?JSON['stringify'](_0x2c5e7f['data']):_0x2c5e7f['data'],'attributes':_0x2c5e7f['attributes']?JSON['stringify'](_0x2c5e7f['attributes']):_0x2c5e7f['attributes'],'createdAt':_0x2c5e7f['createdAt']?.['toISOString']()};}static['fromJSON'](_0x1c5fea){return{..._0x1c5fea,'data':_0x1c5fea['data']?JSON['parse'](_0x1c5fea['data']):_0x1c5fea['data'],'attributes':_0x1c5fea['attributes']?JSON['parse'](_0x1c5fea['attributes']):_0x1c5fea['attributes'],'createdAt':_0x1c5fea['createdAt']?new Date(_0x1c5fea['createdAt']):void 0x0};}}class GetAllSuggestionResponse extends _0x512bbb{['_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(_0x35a773,_0x322f15){super(),this['_suggestions']=_0x35a773,this['_suggestionsV2']=_0x322f15,this['suggestions']=_0x322f15?.['length']?_0x322f15:_0x35a773;}['toJSON'](){return{'suggestions':this['_suggestions']?.['map'](_0x2a2ac6=>JSON['stringify'](_0x2a2ac6)),'suggestionsV2':this['_suggestionsV2']?.['map'](SuggestionDescriptor['toJSON'])};}static['fromJSON'](_0x370d1){return new GetAllSuggestionResponse(_0x370d1['suggestions']?.['map'](_suggestionFromString),_0x370d1['suggestionsV2']?.['map'](SuggestionDescriptor['fromJSON']));}}function _suggestionFromString(_0x30ec16){const _0x2fd0bf=JSON['parse'](_0x30ec16);return _0x2fd0bf['createdAt']=_0x2fd0bf['createdAt']?new Date(_0x2fd0bf['createdAt']):void 0x0,_0x2fd0bf;}class UpdateSuggestionMessage extends _0x512bbb{['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(_0x5a42a8,_0x5331bf,_0x27dfa2,_0x464820,_0x4be275,_0x152bd0=null){super(),this['id']=_0x5a42a8,this['documentId']=_0x5331bf,this['hasComments']=_0x27dfa2,this['isHasCommentsModified']=_0x464820,this['state']=_0x4be275,this['attributes']=_0x152bd0;}['toJSON'](){return{'id':this['id'],'documentId':this['documentId'],'hasComments':this['hasComments'],'isHasCommentsModified':this['isHasCommentsModified'],'state':this['state'],'attributes':JSON['stringify'](this['attributes'])};}static['fromJSON'](_0x19f112){return new UpdateSuggestionMessage(_0x19f112['id'],_0x19f112['documentId'],_0x19f112['hasComments'],_0x19f112['isHasCommentsModified'],_0x19f112['state'],_0x19f112['attributes']?JSON['parse'](_0x19f112['attributes']):null);}}let ConnectMessage$1=class _0x5f0dbe extends _0x512bbb{['documentId'];static ['TYPE']='105';static ['READABLE_TYPE_NAME']='connectToSuggestions';static ['DESCRIPTOR_NAME']='TrackChangesConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x4ba015){super(),this['documentId']=_0x4ba015;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x3986a9){return new _0x5f0dbe(_0x3986a9['documentId']);}},ConnectResponse$1=class _0x35ec10 extends _0x512bbb{['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(_0xcdda91,_0x43f61f,_0x15d0ca){super(),this['channel']=_0xcdda91,this['_suggestions']=_0x43f61f,this['_suggestionsV2']=_0x15d0ca,this['suggestions']=_0x15d0ca?.['length']?_0x15d0ca:_0x43f61f;}['toJSON'](){return{'channel':this['channel'],'suggestions':this['_suggestions']?.['map'](_0x570596=>JSON['stringify'](_0x570596)),'suggestionsV2':this['_suggestionsV2']?.['map'](SuggestionDescriptor['toJSON'])};}static['fromJSON'](_0x51f179){return new _0x35ec10(_0x51f179['channel'],_0x51f179['suggestions']?.['map'](_0x5309cb=>JSON['parse'](_0x5309cb)),_0x51f179['suggestionsV2']?.['map'](SuggestionDescriptor['fromJSON']));}};class BatchUpdateSuggestionsStateMessage extends _0x512bbb{['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(_0x45087d,_0x2650f4,_0x2dbe60){super(),this['ids']=_0x45087d,this['documentId']=_0x2650f4,this['state']=_0x2dbe60;}['toJSON'](){return{'ids':this['ids'],'documentId':this['documentId'],'state':this['state']};}static['fromJSON'](_0x518c1d){return new BatchUpdateSuggestionsStateMessage(_0x518c1d['ids'],_0x518c1d['documentId'],_0x518c1d['state']);}}class _0x546153 extends/* #__PURE__ -- @preserve */
ckeditor5['EmitterMixin'](){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];static ['_SERVICE']=0xa;constructor(_0x3b4c3c){super(),this['_documentId']=_0x3b4c3c;}get['isConnected'](){return this['_isConnected'];}async['connect'](_0x4e3ffb){if(this['_isConnected'])return;if(_0x4e3ffb['state']!==_0x32ca8e['CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x4e3ffb);const _0x40be16=new ConnectMessage$1(this['_documentId']);this['_wsGateway']=_0x4e3ffb,this['stopListening'](_0x4e3ffb,'change:state');const _0x2046d5=await _0x4e3ffb['_sendRequest'](0xa,ConnectMessage$1['TYPE'],_0x455a92['encode'](_0x40be16)),_0x132e0c=_0x455a92['decode'](_0x2046d5,ConnectResponse$1);return this['listenTo'](_0x4e3ffb,'change:state',(_0x1da24e,_0x3488c6,_0x36d97d)=>this['_onWsGatewayStateChange'](_0x36d97d),{'priority':WebSocketGateway$1['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x4e3ffb,_0x132e0c['channel']),this['_isConnected']=!0x0,this['fire']('connected'),_0x132e0c['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'](_0x3c9125,_0x487d04,_0x275375,_0xfd5c1f=null,_0x2249a3){const _0x5a869c=new AddSuggestionMessage(_0x3c9125,this['_documentId'],_0x487d04,_0x275375,_0xfd5c1f,_0x2249a3),_0x53dfea=await this['_sendRequest'](AddSuggestionMessage['TYPE'],_0x5a869c);return _0x455a92['decode'](_0x53dfea,AddSuggestionResponse);}async['get'](_0x113a81,_0xcc5747=0x1){const _0x48aab1=new GetSuggestionMessage(_0x113a81,this['_documentId']);try{const _0x276d59=await this['_sendRequest'](GetSuggestionMessage['TYPE'],_0x48aab1);return _0x455a92['decode'](_0x276d59,GetSuggestionResponse);}catch(_0x2bfdf4){if('CKEditorCloudServicesServerError'===_0x2bfdf4['name']&&'404'===_0x2bfdf4['code']&&_0xcc5747<0x5)return await(_0x5d2e05=0x64*_0xcc5747,new Promise(_0x1f7b73=>{setTimeout(_0x1f7b73,_0x5d2e05);})),this['get'](_0x113a81,_0xcc5747+0x1);if('CKEditorCloudServicesServerError'===_0x2bfdf4['name'])throw _0x2bfdf4;throw CKEditorCloudServicesServerError['fromPublicError'](_0x2bfdf4);}var _0x5d2e05;}async['getAll'](){const _0x2f6f71=new GetAllSuggestionsMessage(this['_documentId']),_0x5d0b5e=await this['_sendRequest'](GetAllSuggestionsMessage['TYPE'],_0x2f6f71),{suggestions:_0x7194c8}=_0x455a92['decode'](_0x5d0b5e,GetAllSuggestionResponse);return _0x7194c8;}async['update'](_0x2f07a4,_0x25dcfe={}){const {hasComments:_0xfe9dff,state:_0xf151aa,attributes:_0x36b726}=_0x25dcfe,_0x37b7a8=void 0x0!==_0xfe9dff,_0x1cd8ea=new UpdateSuggestionMessage(_0x2f07a4,this['_documentId'],_0xfe9dff,_0x37b7a8,_0xf151aa,_0x36b726);await this['_sendRequest'](UpdateSuggestionMessage['TYPE'],_0x1cd8ea);}async['batchUpdateState'](_0x47a30d){const _0x4b1263=new BatchUpdateSuggestionsStateMessage(_0x47a30d['ids'],this['_documentId'],_0x47a30d['state']);await this['_sendRequest'](BatchUpdateSuggestionsStateMessage['TYPE'],_0x4b1263);}['_connectToChannel'](_0x4cba68,_0x2f1695){this['_channel']=_0x4cba68['_getChannel'](_0x546153['_SERVICE'],_0x2f1695),this['_channel']&&this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateSuggestionMessage['TYPE']),(_0x2811a4,_0x40207a)=>{const _0x5677b7=_0x455a92['decode'](_0x40207a,UpdateSuggestionMessage);this['fire']('suggestionUpdated',_0x5677b7);});}['_onWsGatewayStateChange'](_0x4f9ad9){_0x4f9ad9===_0x32ca8e['DISCONNECTED']&&this['disconnect']();}['_sendRequest'](_0x6d1b6,_0x3945ac){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Track\x20Changes',this);return this['_wsGateway']['_sendRequest'](0xa,_0x6d1b6,_0x455a92['encode'](_0x3945ac));}}class SessionsConnectResponse extends _0x512bbb{['channel'];['sockets'];static ['DESCRIPTOR_NAME']='SessionsConnectResponse';static ['DESCRIPTOR']={'fields':{'channel':{'type':'string','id':0x1},'sockets':{'rule':'repeated','type':'SessionsSocketDescriptor','id':0x2}}};constructor(_0x2c576c,_0x1a73f5=[]){super(),this['channel']=_0x2c576c,this['sockets']=_0x1a73f5;}['toJSON'](){return{'channel':this['channel'],'sockets':this['sockets']['map'](_0x35fce4=>({'user':_0x35fce4['userId'],'session':_0x35fce4['id'],'role':_0x35fce4['role'],'permissions':_0x35fce4['permissions']}))};}static['fromJSON'](_0x8b3912){return new SessionsConnectResponse(_0x8b3912['channel'],_0x8b3912['sockets']['map'](_0x67211=>({'id':_0x67211['session'],'userId':_0x67211['user'],'role':_0x67211['role'],'permissions':_0x67211['permissions']})));}}class SessionsConnectMessage extends _0x512bbb{['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(_0x4376c0,_0x549a38){super(),this['id']=_0x4376c0,this['sessionType']=_0x549a38;}['toJSON'](){return{'id':this['id'],'sessionType':this['sessionType']};}static['fromJSON'](_0x3c8d65){return new SessionsConnectMessage(_0x3c8d65['id'],_0x3c8d65['sessionType']);}}class SocketConnectMessage extends _0x512bbb{['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(_0x3f68df,_0x32e5cd,_0xf1d5a7,_0x4246a1){super(),this['id']=_0x3f68df,this['userId']=_0x32e5cd,this['role']=_0xf1d5a7,this['permissions']=_0x4246a1;}['toJSON'](){return{'id':this['id'],'userId':this['userId']??void 0x0,'role':this['role']??void 0x0,'permissions':this['permissions']??void 0x0};}static['fromJSON'](_0x2a46d8){return new SocketConnectMessage(_0x2a46d8['id'],_0x2a46d8['userId'],_0x2a46d8['role'],_0x2a46d8['permissions']);}}class SocketDisconnectMessage extends _0x512bbb{['id'];static ['TYPE']='33';static ['READABLE_TYPE_NAME']='disconnectSocket';static ['DESCRIPTOR_NAME']='SocketDisconnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1}}};constructor(_0x386101){super(),this['id']=_0x386101;}['toJSON'](){return{'id':this['id']};}static['fromJSON'](_0x454eb0){return new SocketDisconnectMessage(_0x454eb0['id']);}}class SessionCollection extends ckeditor5['Collection']{['_id'];['_sessionType'];['_handlers']=new Map();['_channel'];['_wsGateway'];['_connected'];['_eventsQueue']=[];['_isRunning']=!0x1;constructor(_0x3a7e2f,_0x28d664){super({'idProperty':'id'}),this['_id']=_0x3a7e2f,this['_sessionType']=_0x28d664;}async['connect'](_0x36894c){this['_wsGateway']=_0x36894c,this['stopListening'](_0x36894c,'change:state');const _0x5963f8=new SessionsConnectMessage(this['_id'],this['_sessionType']);let _0x632f90;try{const _0x519ba1=await this['_wsGateway']['_sendRequest'](0x3,SessionsConnectMessage['TYPE'],_0x455a92['encode'](_0x5963f8));_0x632f90=_0x455a92['decode'](_0x519ba1,SessionsConnectResponse);}catch{_0x632f90=new SessionsConnectResponse(this['_id'],[]);}this['_connectToChannel'](this['_wsGateway'],_0x632f90['channel'],this['_sessionType']);const _0x148596=await async function(_0x5b623e,_0x1b5a36){const _0x308dad=_0x1b5a36['map'](_0x2cd7a4=>_0x2cd7a4['userId']),_0x513ec0=_0x308dad['length']?await _0x3f9ce1['getMany'](_0x5b623e,_0x308dad):[];return _0x1b5a36['map'](_0x5bae7d=>{const _0x231ba4={'id':_0x5bae7d['id'],'role':_0x5bae7d['role'],'permissions':_0x5bae7d['permissions']};return _0x231ba4['user']=_0x5bae7d['userId']&&_0x513ec0['find'](_0x4f3973=>_0x4f3973['id']===_0x5bae7d['userId'])||new _0x3f9ce1(),_0x231ba4;});}(this['_wsGateway'],_0x632f90['sockets']);for(const _0x53f448 of _0x148596)super['add'](_0x53f448);this['_connected']=!0x0,this['fire']('connected'),this['listenTo'](this['_wsGateway'],'change:state',(_0x85be14,_0x5520e7,_0x2bca04)=>this['_onWsGatewayStateChange'](_0x2bca04),{'priority':WebSocketGateway$1['_CHANGE_STATE_EVENT_PRIORITY']}),await this['_runQueue']();}['disconnect'](_0x1850c6=!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']&&_0x1850c6&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['fire']('disconnected'),_0x1850c6&&this['stopListening']();}}['add'](_0x318838,_0x351c3e){throw new TypeError('The\x20collection\x20is\x20read-only.');}['remove'](_0x3cc2e4){throw new TypeError('The\x20collection\x20is\x20read-only.');}['_connectToChannel'](_0x2125e5,_0x150366,_0xe6a58e){this['_channel']=_0x2125e5['_getChannel'](_0xe6a58e,_0x150366),this['_channel']&&(this['_addHandler'](this['_channel'],SocketConnectMessage['TYPE'],async _0x1b3378=>{const _0xdb1b91=_0x455a92['decode'](_0x1b3378,SocketConnectMessage);if(-0x1===this['getIndex'](_0xdb1b91['id'])){const _0x12c358={'id':_0xdb1b91['id'],'role':_0xdb1b91['role'],'permissions':_0xdb1b91['permissions']};_0xdb1b91['userId']&&(_0x12c358['user']=await _0x3f9ce1['get'](_0x2125e5,_0xdb1b91['userId'])),super['add'](_0x12c358);}}),this['_addHandler'](this['_channel'],SocketDisconnectMessage['TYPE'],_0x50fe37=>{const _0x50f815=_0x455a92['decode'](_0x50fe37,SocketDisconnectMessage);-0x1!==this['getIndex'](_0x50f815['id'])&&super['remove'](_0x50f815['id']);}));}async['_onWsGatewayStateChange'](_0x597d6a){_0x597d6a===WebSocketGateway$1['STATE_DISCONNECTED']&&this['disconnect'](!0x1),_0x597d6a===WebSocketGateway$1['STATE_CONNECTED']&&await this['connect'](this['_wsGateway']);}async['_runQueue'](){if(this['_isRunning']||!this['_connected'])return;let _0x5d3531;for(this['_isRunning']=!0x0;_0x5d3531=this['_eventsQueue']['shift']();){const _0x3b498c=this['_handlers']['get'](_0x5d3531['eventName']);_0x3b498c&&await _0x3b498c(_0x5d3531['data']);}this['_isRunning']=!0x1;}['_addHandler'](_0x439356,_0x48298c,_0x17c006){const _0x353839=_0x439356['getEventName'](_0x48298c,!0x0);this['listenTo'](_0x439356,_0x353839,async(_0x5ac302,_0x14fb79)=>{const _0x453335=_0x5ac302['name'];this['_eventsQueue']['push']({'eventName':_0x453335,'data':_0x14fb79}),await this['_runQueue']();}),this['_handlers']['set'](_0x353839,_0x17c006);}}let _0x26e989=class{static async['getConnectedSessions'](_0x1af199,_0x210874,_0xe48b4d){const _0x2edc4a=new SessionCollection(_0x210874,_0xe48b4d);return await _0x2edc4a['connect'](_0x1af199),_0x2edc4a;}};class CollaborativeEditingConnectMessage extends _0x512bbb{['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(_0x57a3d4,_0x3f57ec,_0x4c0429,_0x5e324b,_0x16c170=''){super(),this['id']=_0x57a3d4,this['buffers']=_0x3f57ec,this['types']=_0x4c0429,this['bundleVersion']=_0x5e324b,this['lastOperationId']=_0x16c170;}['toJSON'](){return{'id':this['id'],'buffers':this['buffers'],'types':this['types'],'bundleVersion':this['bundleVersion'],'lastOperationId':this['lastOperationId']};}static['fromJSON'](_0x4289a5){return new CollaborativeEditingConnectMessage(_0x4289a5['id'],_0x4289a5['buffers'],_0x4289a5['types'],_0x4289a5['bundleVersion'],_0x4289a5['lastOperationId']);}}class OperationMetadataHelpers{static['prepareMetadataForOperations'](_0x4ac817,_0x2e418b){if(!_0x4ac817?.['length']||!_0x2e418b?.['length'])return[];const _0x1c8ce3=[];let _0x22b890=0x0;for(const _0x48dace of _0x4ac817)if(0x0!==_0x48dace){if(!_0x2e418b[_0x22b890])throw new Error('Missing\x20metadata\x20for\x20a\x20operation');_0x1c8ce3['push'](_0x2e418b[_0x22b890]),_0x22b890++;}else _0x1c8ce3['push'](_0x1c8ce3[_0x1c8ce3['length']-0x1]);return _0x1c8ce3;}static['removeUnnecessaryMetadata'](_0x265f40,_0xa3440c){if(!_0x265f40?.['length']||!_0xa3440c?.['length'])return[];const _0x3b3e56=[];for(let _0x1068ea=0x0;_0x1068ea<_0x265f40['length'];_0x1068ea++)if(0x0!==_0x265f40[_0x1068ea]){if(!_0xa3440c[_0x1068ea])throw new Error('Missing\x20metadata\x20for\x20a\x20operation');_0x3b3e56['push'](_0xa3440c[_0x1068ea]);}return _0x3b3e56;}}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:_0x429cec,..._0x27a343}){const _0x1d9251={..._0x27a343};return _0x429cec?.['toISOString']&&(_0x1d9251['createdAt']=_0x429cec['toISOString']()),_0x1d9251;}static['fromJSON']({createdAt:_0x49794b,..._0x20e06c}){const _0x525519={..._0x20e06c};return _0x49794b&&(_0x525519['createdAt']=new Date(_0x49794b)),_0x525519;}}class CollaborativeEditingUpdateMessage extends _0x512bbb{['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(_0x5af1f0,_0x1abb76,_0x5d3214,_0x194789,_0xc76715=[],_0x3c1340=''){super(),this['id']=_0x5af1f0,this['buffers']=_0x1abb76,this['types']=_0x5d3214,this['baseVersion']=_0x194789,this['metadata']=_0xc76715,this['lastOperationId']=_0x3c1340;}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'](_0xa67911){return new CollaborativeEditingUpdateMessage(_0xa67911['id'],_0xa67911['buffers'],_0xa67911['types'],_0xa67911['baseVersion'],OperationMetadataHelpers['prepareMetadataForOperations'](_0xa67911['types'],_0xa67911['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),_0xa67911['lastOperationId']);}}class CollaborativeEditingReconnectMessage extends _0x512bbb{['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(_0x39e4c5,_0x2bec5e,_0x48de69){super(),this['id']=_0x39e4c5,this['lastKnowVersion']=_0x2bec5e,this['bundleVersion']=_0x48de69;}['toJSON'](){return{'id':this['id'],'bundleVersion':this['bundleVersion'],'lastKnowVersion':this['lastKnowVersion']};}static['fromJSON'](_0x388639){return new CollaborativeEditingReconnectMessage(_0x388639['id'],_0x388639['lastKnowVersion'],_0x388639['bundleVersion']);}}class CollaborativeEditingResponse extends _0x512bbb{['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(_0x51abc8,_0x110dff=[],_0x3b012d=[],_0x31e70a=[],_0x3628e6='',_0x583613=null){super(),this['version']=_0x51abc8,this['buffers']=_0x110dff,this['types']=_0x3b012d,this['metadata']=_0x31e70a,this['lastOperationId']=_0x3628e6,this['lastOperationAcceptedAt']=_0x583613;}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'](_0x406795){return new CollaborativeEditingResponse(_0x406795['version'],_0x406795['buffers'],_0x406795['types'],OperationMetadataHelpers['prepareMetadataForOperations'](_0x406795['types'],_0x406795['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),_0x406795['lastOperationId'],_0x406795['lastOperationAcceptedAt']?new Date(_0x406795['lastOperationAcceptedAt']):null);}static['create'](_0x48740d){return new CollaborativeEditingResponse(_0x48740d['version'],_0x48740d['buffers'],_0x48740d['types'],_0x48740d['metadata'],_0x48740d['lastOperationId'],_0x48740d['lastOperationAcceptedAt']?new Date(_0x48740d['lastOperationAcceptedAt']):null);}}class CollaborativeEditingConnectResponse extends _0x512bbb{['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(_0x2b8f58,_0x195d88,_0x27c171=[],_0x2c5259=[],_0x54fa87=0x0,_0x306226=[],_0x388dbb=null,_0x4d66c9='',_0x3e1408='',_0x5c6b5e=null){super(),this['channel']=_0x2b8f58,this['version']=_0x195d88,this['buffers']=_0x27c171,this['types']=_0x2c5259,this['offset']=_0x54fa87,this['metadata']=_0x306226,this['initData']=_0x388dbb,this['sessionId']=_0x4d66c9,this['lastOperationId']=_0x3e1408,this['sessionCreatedAt']=_0x5c6b5e;}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'](_0x29ed91){return new CollaborativeEditingConnectResponse(_0x29ed91['channel'],_0x29ed91['version'],_0x29ed91['buffers'],_0x29ed91['types'],_0x29ed91['offset'],_0x29ed91['metadata'],_0x29ed91['initData'],_0x29ed91['sessionId'],_0x29ed91['lastOperationId'],_0x29ed91['sessionCreatedAt']);}static['fromJSON'](_0x2e8b8f){let _0x200434=null;return!0x0===_0x2e8b8f['isInitialized']?_0x200434=_0x2e8b8f['initData']??'':'boolean'!=typeof _0x2e8b8f['isInitialized']&&_0x2e8b8f['initData']&&(_0x200434=_0x2e8b8f['initData']),CollaborativeEditingConnectResponse['create']({'channel':_0x2e8b8f['channel'],'version':_0x2e8b8f['version'],'buffers':_0x2e8b8f['buffers'],'types':_0x2e8b8f['types'],'offset':_0x2e8b8f['offset'],'metadata':OperationMetadataHelpers['prepareMetadataForOperations'](_0x2e8b8f['types'],_0x2e8b8f['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),'initData':_0x200434,'sessionId':_0x2e8b8f['sessionId'],'lastOperationId':_0x2e8b8f['lastOperationId'],'sessionCreatedAt':_0x2e8b8f['sessionCreatedAt']?new Date(_0x2e8b8f['sessionCreatedAt']):null});}}class GetDocumentDetailsResponse extends _0x512bbb{['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(_0x507557,_0x302a81){super(),this['lastDocumentSession']=_0x507557,this['currentDocumentSession']=_0x302a81;}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'](_0x100bfc){const _0x170af8=_0x100bfc['lastDocumentSessionId']?{'id':_0x100bfc['lastDocumentSessionId'],'lastOperationId':_0x100bfc['lastDocumentSessionOperationId']}:void 0x0,_0x2f87bb=_0x100bfc['currentDocumentSessionId']?{'lastOperationId':_0x100bfc['currentDocumentSessionOperationId'],'version':_0x100bfc['currentDocumentSessionVersion'],'id':_0x100bfc['currentDocumentSessionId']}:void 0x0;return new GetDocumentDetailsResponse(_0x170af8,_0x2f87bb);}}class GetDocumentDetailsMessage extends _0x512bbb{['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(_0x156beb){super(),this['documentId']=_0x156beb;}get['data'](){return{'documentId':this['documentId']};}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x2fdc4f){return new GetDocumentDetailsMessage(_0x2fdc4f['documentId']);}}class CollaborativeEditingService extends/* #__PURE__ -- @preserve */
ckeditor5['EmitterMixin'](){static ['_SERVICE']=0x1;['_bundleVersion'];['_id'];['_isConnected'];['_wsGateway'];['_channel'];['_connectedSessions'];constructor(_0x26ff17,_0x7aa6ea){if(super(),!_0x26ff17)throw new TypeError('Param\x20\x22bundleVersion\x22\x20must\x20be\x20provided.');this['_id']=_0x7aa6ea??_0x3068d1(),this['_isConnected']=!0x1,this['_bundleVersion']=_0x26ff17;}['getId'](){return this['_id'];}['isConnected'](){return this['_isConnected'];}['connect'](_0x150f64,_0x487e03={'buffers':[],'types':[]},_0x509536){const _0x5cf8a0=new CollaborativeEditingConnectMessage(this['getId'](),_0x487e03['buffers'],_0x487e03['types'],this['_bundleVersion'],_0x509536);return this['_connect'](_0x150f64,_0x5cf8a0);}['reconnect'](_0x54991e,_0x392db6){if(this['isConnected']())throw new CKEditorCloudServicesError('Cannot\x20reconnect\x20to\x20already\x20connected\x20service.',_0x54991e);return this['_connect'](_0x54991e,new CollaborativeEditingReconnectMessage(this['getId'](),_0x392db6,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 _0x47897c=new GetDocumentDetailsMessage(this['getId']());if(!this['_wsGateway'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);const _0x45b00b=await this['_wsGateway']['_sendRequest'](0x1,GetDocumentDetailsMessage['TYPE'],_0x455a92['encode'](_0x47897c));return _0x455a92['decode'](_0x45b00b,GetDocumentDetailsResponse);}async['sendOperations'](_0x54829e,_0x5d2aac,_0x129346){if(!_0x54829e?.['types']?.['length'])throw new CKEditorCloudServicesError('Cannot\x20send\x20empty\x20update.',this['_wsGateway']);const _0x37bf7d='number'==typeof _0x5d2aac?_0x5d2aac:parseInt(_0x5d2aac);if(!Number['isInteger'](_0x37bf7d)||_0x37bf7d<0x0)throw new CKEditorCloudServicesError('Base\x20version\x20not\x20provided.',this['_wsGateway']);const _0x137c32=new CollaborativeEditingUpdateMessage(this['getId'](),_0x54829e['buffers'],_0x54829e['types'],_0x37bf7d,[],_0x129346);if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);const _0x95e42b=await this['_wsGateway']['_sendRequest'](0x1,CollaborativeEditingUpdateMessage['TYPE'],_0x455a92['encode'](_0x137c32));return _0x455a92['decode'](_0x95e42b,CollaborativeEditingResponse);}async['getConnectedSessions'](){if(!this['_isConnected'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);return this['_connectedSessions']??=await _0x26e989['getConnectedSessions'](this['_wsGateway'],this['_id'],0x1),this['_connectedSessions'];}static['getConnectedSessions'](_0x4ec53b,_0x18e8a8){return _0x26e989['getConnectedSessions'](_0x4ec53b,_0x18e8a8,0x1);}async['_connect'](_0x320ef9,_0x41efab){if(this['isConnected']())return;if(_0x320ef9['state']!==WebSocketGateway$1['STATE_CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x320ef9);this['_wsGateway']=_0x320ef9,this['stopListening'](_0x320ef9,'change:state');const _0x317d17=await _0x320ef9['_sendRequest'](0x1,_0x41efab['constructor']['TYPE'],_0x455a92['encode'](_0x41efab)),_0xa50df1=_0x455a92['decode'](_0x317d17,CollaborativeEditingConnectResponse);return this['listenTo'](_0x320ef9,'change:state',(_0x40f4f1,_0x1d769e,_0x288e57)=>this['_onWsGatewayStateChange'](_0x288e57),{'priority':WebSocketGateway$1['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x320ef9,_0xa50df1['channel']),this['_isConnected']=!0x0,this['fire']('connected'),_0xa50df1;}['_connectToChannel'](_0x12df3c,_0x3db94e){this['_channel']=_0x12df3c['_getChannel'](0x1,_0x3db94e),this['listenTo'](this['_channel'],this['_channel']['getEventName'](CollaborativeEditingUpdateMessage['TYPE']),(_0x3f86ab,_0x47b1a5)=>{const _0x5746ea=_0x455a92['decode'](_0x47b1a5,CollaborativeEditingUpdateMessage);this['fire']('operationsReceived',_0x5746ea['baseVersion'],_0x5746ea['data'],_0x5746ea['metadata']);});}['_onWsGatewayStateChange'](_0x3ac8b1){_0x3ac8b1===WebSocketGateway$1['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'](_0x2d0f27){return{..._0x2d0f27,'createdAt':_0x2d0f27['createdAt']?.['toISOString'](),'attributes':_0x2d0f27['attributes']?JSON['stringify'](_0x2d0f27['attributes']):null};}static['fromJSON'](_0x3aa03b){return{..._0x3aa03b,'createdAt':new Date(_0x3aa03b['createdAt']),'attributes':_0x3aa03b['attributes']?JSON['parse'](_0x3aa03b['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'](_0x5299ea){return{..._0x5299ea,'createdAt':_0x5299ea['createdAt']?.['toISOString'](),'deletedAt':_0x5299ea['deletedAt']?.['toISOString'](),'resolvedAt':_0x5299ea['resolvedAt']?.['toISOString'](),'attributes':_0x5299ea['attributes']?JSON['stringify'](_0x5299ea['attributes']):null,'context':_0x5299ea['context']?JSON['stringify'](_0x5299ea['context']):_0x5299ea['context'],'comments':_0x5299ea['comments']?.['map'](CommentDescriptor['toJSON']),'unlinkedAt':_0x5299ea['unlinkedAt']?.['toISOString']()};}static['fromJSON'](_0xe077b6){return{..._0xe077b6,'createdAt':_0xe077b6['createdAt']?new Date(_0xe077b6['createdAt']):void 0x0,'deletedAt':_0xe077b6['deletedAt']?new Date(_0xe077b6['deletedAt']):void 0x0,'resolvedAt':_0xe077b6['resolvedAt']?new Date(_0xe077b6['resolvedAt']):void 0x0,'attributes':_0xe077b6['attributes']?JSON['parse'](_0xe077b6['attributes']):null,'context':_0xe077b6['context']?JSON['parse'](_0xe077b6['context']):void 0x0,'comments':_0xe077b6['comments']?.['map'](CommentDescriptor['fromJSON']),'unlinkedAt':_0xe077b6['unlinkedAt']?new Date(_0xe077b6['unlinkedAt']):void 0x0};}}class AddCommentMessage extends _0x512bbb{['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(_0x339a98,_0x20a555,_0x22974f,_0x3c1c39='',_0x25e858,_0x2970c1='',_0x49648=null,_0x45b683){super(),this['documentId']=_0x339a98,this['commentThreadId']=_0x20a555,this['content']=_0x22974f,this['commentId']=_0x3c1c39,this['userId']=_0x2970c1,this['attributes']=_0x49648,this['commentThread']=_0x45b683,this['createdAt']=_0x25e858?new Date(_0x25e858):'';}['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'](_0x300d9e){return new AddCommentMessage(_0x300d9e['documentId'],_0x300d9e['commentThreadId'],_0x300d9e['content'],_0x300d9e['commentId']?_0x300d9e['commentId']:void 0x0,_0x300d9e['createdAt']?new Date(_0x300d9e['createdAt']):void 0x0,_0x300d9e['userId']?_0x300d9e['userId']:void 0x0,_0x300d9e['attributes']?JSON['parse'](_0x300d9e['attributes']):{},_0x300d9e['commentThread']?CommentsThreadDescriptor['fromJSON'](_0x300d9e['commentThread']):void 0x0);}}class AddCommentResponse extends _0x512bbb{['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(_0x587244,_0x4ba126,_0x2a6b10){super(),this['commentThreadId']=_0x587244,this['commentId']=_0x4ba126,this['createdAt']=new Date(_0x2a6b10);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'commentId':this['commentId'],'createdAt':this['createdAt']['toISOString']()};}static['fromJSON'](_0x355964){return new AddCommentResponse(_0x355964['commentThreadId'],_0x355964['commentId'],_0x355964['createdAt']);}}class ConnectMessage extends _0x512bbb{['documentId'];static ['TYPE']='92';static ['READABLE_TYPE_NAME']='connectToComment';static ['DESCRIPTOR_NAME']='CommentsV2ConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x5e377c){super(),this['documentId']=_0x5e377c;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x521c2d){return new ConnectMessage(_0x521c2d['documentId']);}}class ConnectResponse extends _0x512bbb{['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(_0x18da65,_0x48f5a9,_0x21d88b){super(),this['channel']=_0x18da65,this['_threads']=_0x48f5a9,this['_threadsV2']=_0x21d88b,this['threads']=_0x21d88b?.['length']?_0x21d88b:_0x48f5a9;}['toJSON'](){return{'channel':this['channel'],'threads':this['_threads']?.['map'](_0x25001c=>JSON['stringify'](_0x25001c)),'threadsV2':this['_threadsV2']?.['map'](CommentsThreadDescriptor['toJSON'])};}static['fromJSON'](_0x9739fe){return new ConnectResponse(_0x9739fe['channel'],_0x9739fe['threads']?.['map'](_0x1a8fee=>JSON['parse'](_0x1a8fee)),_0x9739fe['threadsV2']?.['map'](CommentsThreadDescriptor['fromJSON']));}}class RemoveCommentMessage extends _0x512bbb{['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(_0x49b1f3,_0x182bd9,_0x154b8a){super(),this['documentId']=_0x49b1f3,this['commentThreadId']=_0x182bd9,this['commentId']=_0x154b8a;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'commentId':this['commentId']};}static['fromJSON'](_0x371cb8){return new RemoveCommentMessage(_0x371cb8['documentId'],_0x371cb8['commentThreadId'],_0x371cb8['commentId']);}}class RemoveCommentThreadMessage extends _0x512bbb{['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(_0x126842,_0x5b4095){super(),this['documentId']=_0x126842,this['commentThreadId']=_0x5b4095;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId']};}static['fromJSON'](_0x487acc){return new RemoveCommentThreadMessage(_0x487acc['documentId'],_0x487acc['commentThreadId']);}}class UpdateCommentMessage extends _0x512bbb{['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(_0x314d85,_0x2bd6e8,_0x32203d,_0x2bd945,_0x4f2168=null,_0x59bb97=!0x1,_0x5d6167){super(),this['documentId']=_0x314d85,this['commentThreadId']=_0x2bd6e8,this['commentId']=_0x32203d,this['content']=_0x2bd945,this['attributes']=_0x4f2168,this['isAttributesUpdated']=_0x59bb97,this['commentThread']=_0x5d6167;}['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'](_0x53fee1){return new UpdateCommentMessage(_0x53fee1['documentId'],_0x53fee1['commentThreadId'],_0x53fee1['commentId'],_0x53fee1['content'],_0x53fee1['attributes']?JSON['parse'](_0x53fee1['attributes']):null,_0x53fee1['isAttributesUpdated'],_0x53fee1['commentThread']?CommentsThreadDescriptor['fromJSON'](_0x53fee1['commentThread']):void 0x0);}}class GetCommentThreadMessage extends _0x512bbb{['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(_0x253879,_0xf7d6ad){super(),this['commentThreadId']=_0x253879,this['documentId']=_0xf7d6ad;}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'documentId':this['documentId']};}static['fromJSON'](_0x376e75){return new GetCommentThreadMessage(_0x376e75['commentThreadId'],_0x376e75['documentId']);}}class GetCommentThreadResponse extends _0x512bbb{['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(_0x26fd0f,_0x55e5da,_0x3cc1df,_0x2ff727,_0x4c8bc2,_0x47a8f3,_0x44bf4e,_0x39eb25,_0x542ed8,_0x7318ce){super(),this['commentThreadId']=_0x26fd0f,this['_comments']=_0x55e5da,this['_commentsV2']=_0x3cc1df,this['resolvedBy']=_0x4c8bc2,this['comments']=_0x3cc1df?.['length']?_0x3cc1df:_0x55e5da,this['createdAt']=_0x44bf4e?new Date(_0x44bf4e):void 0x0,this['deletedAt']='string'==typeof _0x39eb25?new Date(_0x39eb25):_0x39eb25,this['resolvedAt']='string'==typeof _0x542ed8?new Date(_0x542ed8):_0x542ed8,this['unlinkedAt']='string'==typeof _0x7318ce?new Date(_0x7318ce):_0x7318ce,this['attributes']='string'==typeof _0x2ff727?JSON['parse'](_0x2ff727):_0x2ff727,this['context']='string'==typeof _0x47a8f3?JSON['parse'](_0x47a8f3):_0x47a8f3;}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'comments':this['_comments']?.['map'](_0x282b9c=>JSON['stringify'](_0x282b9c)),'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'](_0x1efeab){return new GetCommentThreadResponse(_0x1efeab['commentThreadId'],_0x1efeab['comments']?.['map'](_0x53da36=>function(_0x37f292){const _0x2bc2a1=JSON['parse'](_0x37f292);return{..._0x2bc2a1,'createdAt':new Date(_0x2bc2a1['createdAt'])};}(_0x53da36)),_0x1efeab['commentsV2']?.['map'](CommentDescriptor['fromJSON']),_0x1efeab['attributes']?JSON['parse'](_0x1efeab['attributes']):_0x1efeab['attributes'],_0x1efeab['resolvedBy'],_0x1efeab['context']?JSON['parse'](_0x1efeab['context']):_0x1efeab['context'],_0x1efeab['createdAt'],_0x1efeab['deletedAt'],_0x1efeab['resolvedAt'],_0x1efeab['unlinkedAt']);}}class GetDocumentThreadsMessage extends _0x512bbb{['documentId'];static ['TYPE']='94';static ['READABLE_TYPE_NAME']='getDocumentThreads';static ['DESCRIPTOR_NAME']='CommentsV2GetDocumentThreadsMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x45f013){super(),this['documentId']=_0x45f013;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x4748a1){return new GetDocumentThreadsMessage(_0x4748a1['documentId']);}}class GetDocumentThreadsResponse extends _0x512bbb{['_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(_0x31a8c5,_0x30d911){super(),this['_threads']=_0x31a8c5,this['_threadsV2']=_0x30d911,this['threads']=_0x30d911?.['length']?_0x30d911:_0x31a8c5;}['toJSON'](){return{'threads':this['_threads']?.['map'](_0x143700=>JSON['stringify'](_0x143700)),'threadsV2':this['_threadsV2']?.['map'](CommentsThreadDescriptor['toJSON'])};}static['fromJSON'](_0x581666){return new GetDocumentThreadsResponse(_0x581666['threads']?.['map'](_0x1cca4b=>function(_0x3439f3){const _0x4335a9=JSON['parse'](_0x3439f3),_0x5d0c22={..._0x4335a9};return _0x4335a9['comments']&&(_0x5d0c22['comments']=_0x4335a9['comments']?.['map'](_0x2094ee=>({..._0x2094ee,'createdAt':new Date(_0x2094ee['createdAt'])}))),_0x5d0c22;}(_0x1cca4b)),_0x581666['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'](_0x358203){return{'commentId':_0x358203['commentId'],'createdAt':_0x358203['createdAt']?.['toISOString']()};}static['fromJSON'](_0x22f4f4){return{'commentId':_0x22f4f4['commentId'],'createdAt':new Date(_0x22f4f4['createdAt'])};}}class AddCommentThreadResponse extends _0x512bbb{['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(_0x1869cd,_0x46d5e3,_0x34dd89=[]){super(),this['commentThreadId']=_0x1869cd,this['comments']=_0x34dd89,this['createdAt']=new Date(_0x46d5e3);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'createdAt':this['createdAt']['toISOString'](),'comments':this['comments']['map'](_0x2d1266=>CommentThreadAddedCommentDescriptor['toJSON'](_0x2d1266))};}static['fromJSON'](_0x3943c5){return new AddCommentThreadResponse(_0x3943c5['commentThreadId'],_0x3943c5['createdAt'],_0x3943c5['comments']['map'](_0x47177b=>CommentThreadAddedCommentDescriptor['fromJSON'](_0x47177b)));}}class AddCommentThreadMessage extends _0x512bbb{['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(_0x3d84c0,_0x3a50b2,_0x53914e=[],_0x3552e1,_0x3382cb=null,_0x573086=null,_0x5207a6=null,_0xf54046=null,_0x2e90f6=null){super(),this['documentId']=_0x3d84c0,this['commentThreadId']=_0x3a50b2,this['comments']=_0x53914e,this['context']=_0x3552e1,this['resolvedBy']=_0x3382cb,this['attributes']=_0x2e90f6,this['createdAt']=_0x573086?new Date(_0x573086):'',this['resolvedAt']=_0x5207a6?new Date(_0x5207a6):'',this['deletedAt']=_0xf54046?new Date(_0xf54046):'';}['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'](_0x4b5121=>CommentDescriptor['toJSON'](_0x4b5121))};}static['fromJSON'](_0xb27218){return new AddCommentThreadMessage(_0xb27218['documentId'],_0xb27218['commentThreadId'],_0xb27218['comments']?.['map'](_0x28e43e=>CommentDescriptor['fromJSON']({..._0x28e43e,'documentId':_0xb27218['documentId'],'commentThreadId':_0xb27218['commentThreadId']})),_0xb27218['context']?JSON['parse'](_0xb27218['context']):_0xb27218['context'],_0xb27218['resolvedBy'],_0xb27218['createdAt']?new Date(_0xb27218['createdAt']):void 0x0,_0xb27218['resolvedAt']?new Date(_0xb27218['resolvedAt']):void 0x0,_0xb27218['deletedAt']?new Date(_0xb27218['deletedAt']):void 0x0,_0xb27218['attributes']?JSON['parse'](_0xb27218['attributes']):_0xb27218['attributes']);}}class ResolveCommentThreadMessage extends _0x512bbb{['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(_0x43dd4f,_0x379b2a,_0x1f97c6,_0x20ecb0){super(),this['commentThreadId']=_0x43dd4f,this['documentId']=_0x379b2a,this['resolvedBy']=_0x1f97c6,this['resolvedAt']=_0x20ecb0?new Date(_0x20ecb0):void 0x0;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']?.['toISOString']()};}static['fromJSON'](_0x172eda){return new ResolveCommentThreadMessage(_0x172eda['commentThreadId'],_0x172eda['documentId'],_0x172eda['resolvedBy'],_0x172eda['resolvedAt']);}}class ReopenCommentThreadMessage extends _0x512bbb{['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(_0x57005c,_0xc9236f){super(),this['commentThreadId']=_0x57005c,this['documentId']=_0xc9236f;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId']};}static['fromJSON'](_0x140b26){return new ReopenCommentThreadMessage(_0x140b26['commentThreadId'],_0x140b26['documentId']);}}class UpdateCommentThreadMessage extends _0x512bbb{['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(_0x5bd06c,_0x5ce611,_0x23346c,_0x3b7c52=null,_0xa47789=null){super(),this['commentThreadId']=_0x5bd06c,this['documentId']=_0x5ce611,this['context']=_0x23346c,this['attributes']=_0x3b7c52,this['unlinkedAt']=_0xa47789?new Date(_0xa47789):'';}['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'](_0x5eff0a){return new UpdateCommentThreadMessage(_0x5eff0a['commentThreadId'],_0x5eff0a['documentId'],_0x5eff0a['context']?JSON['parse'](_0x5eff0a['context']):_0x5eff0a['context'],_0x5eff0a['attributes']?JSON['parse'](_0x5eff0a['attributes']):null,_0x5eff0a['unlinkedAt']?new Date(_0x5eff0a['unlinkedAt']):null);}}class ResolveCommentThreadResponse extends _0x512bbb{['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(_0x3b29a9,_0x3a6cfe,_0x1cb268,_0xbf1261){super(),this['commentThreadId']=_0x3b29a9,this['documentId']=_0x3a6cfe,this['resolvedBy']=_0x1cb268,this['resolvedAt']=new Date(_0xbf1261);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'documentId':this['documentId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']['toISOString']()};}static['fromJSON'](_0x939cc3){return new ResolveCommentThreadResponse(_0x939cc3['commentThreadId'],_0x939cc3['documentId'],_0x939cc3['resolvedBy'],_0x939cc3['resolvedAt']);}}class CommentsService extends/* #__PURE__ -- @preserve */
ckeditor5['EmitterMixin'](){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];['_connectedSessions'];static ['_SERVICE']=0x9;constructor(_0x5d33d7){super(),this['_documentId']=_0x5d33d7;}get['isConnected'](){return this['_isConnected'];}async['connect'](_0x131a27){if(this['_isConnected'])return;if(_0x131a27['state']!==_0x32ca8e['CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x131a27);const _0x11d8c5=new ConnectMessage(this['_documentId']);this['_wsGateway']=_0x131a27,this['stopListening'](_0x131a27,'change:state');const _0x17646a=await _0x131a27['_sendRequest'](0x9,ConnectMessage['TYPE'],_0x455a92['encode'](_0x11d8c5)),{channel:_0x40be53,threads:_0x1da313}=_0x455a92['decode'](_0x17646a,ConnectResponse);return this['listenTo'](_0x131a27,'change:state',(_0x216d4a,_0x4ea221,_0x5dc376)=>this['_onWsGatewayStateChange'](_0x5dc376),{'priority':WebSocketGateway$1['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x131a27,_0x40be53),this['_isConnected']=!0x0,this['fire']('connected'),_0x1da313;}['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'](_0xb6d6da,_0x409b0b,_0x4be177,_0x1a55ee){const _0x3af320=new AddCommentMessage(this['_documentId'],_0xb6d6da,_0x4be177,_0x409b0b,void 0x0,void 0x0,_0x1a55ee),_0x25a65c=await this['_sendRequest'](AddCommentMessage['TYPE'],_0x3af320);return _0x455a92['decode'](_0x25a65c,AddCommentResponse);}async['updateComment'](_0x316f82,_0x2e87a2,_0x3916e9,_0x591433){const _0x4445a9=void 0x0!==_0x591433,_0x5ee3d1=new UpdateCommentMessage(this['_documentId'],_0x316f82,_0x2e87a2,_0x3916e9,_0x591433,_0x4445a9);await this['_sendRequest'](UpdateCommentMessage['TYPE'],_0x5ee3d1);}async['removeComment'](_0x283b24,_0x15c5f9){const _0x57f9f3=new RemoveCommentMessage(this['_documentId'],_0x283b24,_0x15c5f9);await this['_sendRequest'](RemoveCommentMessage['TYPE'],_0x57f9f3);}async['removeCommentThread'](_0x3492a0){const _0x384515=new RemoveCommentThreadMessage(this['_documentId'],_0x3492a0);await this['_sendRequest'](RemoveCommentThreadMessage['TYPE'],_0x384515);}async['addCommentThread'](_0x5a2759){const _0x3d6f5f=new AddCommentThreadMessage(this['_documentId'],_0x5a2759['commentThreadId'],_0x5a2759['comments']?.['map'](_0x5e6904=>({..._0x5e6904,'documentId':this['_documentId'],'commentThreadId':_0x5a2759['commentThreadId']})),_0x5a2759['context'],_0x5a2759['resolvedBy'],_0x5a2759['createdAt'],_0x5a2759['resolvedAt'],_0x5a2759['deletedAt'],_0x5a2759['attributes']),_0x157130=await this['_sendRequest'](AddCommentThreadMessage['TYPE'],_0x3d6f5f);return _0x455a92['decode'](_0x157130,AddCommentThreadResponse);}async['resolveCommentThread'](_0x1da377){const _0x24bdbb=new ResolveCommentThreadMessage(_0x1da377,this['_documentId']),_0x4f1ec4=await this['_sendRequest'](ResolveCommentThreadMessage['TYPE'],_0x24bdbb);return _0x455a92['decode'](_0x4f1ec4,ResolveCommentThreadResponse);}async['reopenCommentThread'](_0x3a2ada){const _0x33c054=new ReopenCommentThreadMessage(_0x3a2ada,this['_documentId']);await this['_sendRequest'](ReopenCommentThreadMessage['TYPE'],_0x33c054);}async['updateCommentThread'](_0x26857f){const _0x4994a6=new UpdateCommentThreadMessage(_0x26857f['commentThreadId'],this['_documentId'],_0x26857f['context'],_0x26857f['attributes'],_0x26857f['unlinkedAt']);await this['_sendRequest'](UpdateCommentThreadMessage['TYPE'],_0x4994a6);}async['getCommentThread'](_0x1c6120,_0x4c83f0=0x1){const _0x1954f9=new GetCommentThreadMessage(_0x1c6120,this['_documentId']);try{const _0x38e103=await this['_sendRequest'](GetCommentThreadMessage['TYPE'],_0x1954f9),_0x37e4bf=_0x455a92['decode'](_0x38e103,GetCommentThreadResponse);return{'commentThreadId':_0x37e4bf['commentThreadId'],'comments':_0x37e4bf['comments'],'attributes':_0x37e4bf['attributes'],'context':_0x37e4bf['context'],'resolvedAt':_0x37e4bf['resolvedAt'],'resolvedBy':_0x37e4bf['resolvedBy'],'deletedAt':_0x37e4bf['deletedAt'],'unlinkedAt':_0x37e4bf['unlinkedAt']};}catch(_0x4fc26e){if('CKEditorCloudServicesServerError'===_0x4fc26e['name']&&'404'===_0x4fc26e['code']&&_0x4c83f0<0x5)return await(_0x245061=0x64*_0x4c83f0,new Promise(_0x158c23=>{setTimeout(_0x158c23,_0x245061);})),this['getCommentThread'](_0x1c6120,_0x4c83f0+0x1);if('CKEditorCloudServicesServerError'===_0x4fc26e['name'])throw _0x4fc26e;throw CKEditorCloudServicesServerError['fromPublicError'](_0x4fc26e);}var _0x245061;}async['getDocumentThreads'](){const _0x36d8e4=new GetDocumentThreadsMessage(this['_documentId']),_0x14b724=await this['_sendRequest'](GetDocumentThreadsMessage['TYPE'],_0x36d8e4),{threads:_0x3a1d8c}=_0x455a92['decode'](_0x14b724,GetDocumentThreadsResponse);return{'threads':_0x3a1d8c};}async['getConnectedSessions'](){if(!this['_isConnected'])throw new ServiceNotConnectedError('Comments',this);return this['_connectedSessions']??=await _0x26e989['getConnectedSessions'](this['_wsGateway'],this['_documentId'],0x9),this['_connectedSessions'];}['_connectToChannel'](_0x1aaa93,_0x4e7742){this['_channel']=_0x1aaa93['_getChannel'](CommentsService['_SERVICE'],_0x4e7742),this['_channel']&&(this['listenTo'](this['_channel'],this['_channel']['getEventName'](AddCommentMessage['TYPE']),(_0x1b88bc,_0x9caedd)=>{const _0x57bfe3=_0x455a92['decode'](_0x9caedd,AddCommentMessage);this['fire']('commentAdded',_0x57bfe3);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](RemoveCommentMessage['TYPE']),(_0x252eb4,_0x2e4855)=>{const _0x1c1377=_0x455a92['decode'](_0x2e4855,RemoveCommentMessage);this['fire']('commentRemoved',_0x1c1377);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateCommentMessage['TYPE']),(_0x5bb912,_0x17bfb1)=>{const _0x2df9f6=_0x455a92['decode'](_0x17bfb1,UpdateCommentMessage);this['fire']('commentUpdated',_0x2df9f6);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](RemoveCommentThreadMessage['TYPE']),(_0x5361c9,_0x126145)=>{const _0x13b2b3=_0x455a92['decode'](_0x126145,RemoveCommentThreadMessage);this['fire']('commentThreadRemoved',_0x13b2b3);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](AddCommentThreadMessage['TYPE']),(_0x3817d3,_0x326167)=>{const _0x27cbb1=_0x455a92['decode'](_0x326167,AddCommentThreadMessage);this['fire']('commentThreadAdded',_0x27cbb1);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateCommentThreadMessage['TYPE']),(_0x4b126f,_0x4386f5)=>{const _0x3f0773=_0x455a92['decode'](_0x4386f5,UpdateCommentThreadMessage);this['fire']('commentThreadUpdated',_0x3f0773);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ResolveCommentThreadMessage['TYPE']),(_0x2159c3,_0xfd0a54)=>{const _0x3362a3=_0x455a92['decode'](_0xfd0a54,ResolveCommentThreadMessage);this['fire']('commentThreadResolved',_0x3362a3);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ReopenCommentThreadMessage['TYPE']),(_0x125e05,_0x436ea7)=>{const _0x3c8a59=_0x455a92['decode'](_0x436ea7,ReopenCommentThreadMessage);this['fire']('commentThreadReopened',_0x3c8a59);}));}['_onWsGatewayStateChange'](_0xd2bfce){_0xd2bfce===_0x32ca8e['DISCONNECTED']&&this['disconnect']();}['_sendRequest'](_0x1a7d58,_0x3e3a0a){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Comments',this);return this['_wsGateway']['_sendRequest'](0x9,_0x1a7d58,_0x455a92['encode'](_0x3e3a0a));}}class WebSocketGateway extends ckeditor5['ContextPlugin']{static ['WebSocketGateway']=/* #__PURE__ -- @preserve */
((()=>WebSocketGateway$1)());static ['initialReconnectionInterval']=0x3e8;['connection'];['_reconnectionStack'];['_shouldPluginsReconnect'];['_domEmitter'];static get['requires'](){return[ckeditor5['CloudServices'],ckeditor5['Notification']];}static get['pluginName'](){return'WebSocketGateway';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2599c8){super(_0x2599c8),this['set']('state',_0x32ca8e['CONNECTED']),this['set']('_isBrowserOffline',!0x1),this['_reconnectionStack']=new Set(),this['_shouldPluginsReconnect']=!0x1,this['_domEmitter']=new(ckeditor5['DomEmitterMixin']())();}['init'](){const _0x5d0d20=this['context'],_0x42a6e4=_0x5d0d20['plugins']['get'](ckeditor5['CloudServices']),_0xcb44c0=_0x5d0d20['plugins']['get'](ckeditor5['Notification']);if(!_0x42a6e4['token'])throw new ckeditor5['CKEditorError']('websocketgateway-missing-token',this);if(!_0x42a6e4['webSocketUrl'])throw new ckeditor5['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'](_0x42a6e4['token'],_0x42a6e4['webSocketUrl'],{'timeout':0x3e8*this['context']['config']['get']('cloudServices.connectionTimeout'),'requestTimeout':0x3e8*this['context']['config']['get']('cloudServices.requestTimeout')})['then'](_0x1ae4ca=>{if(this['connection']=_0x1ae4ca,this['bind']('state')['to'](_0x1ae4ca,'state',this,'_isBrowserOffline',(_0x5d32e0,_0x1699d3)=>('connected'!==_0x5d32e0&&(this['_shouldPluginsReconnect']=!0x0),_0x1699d3||_0x5d32e0!==_0x32ca8e['CONNECTED']?_0x32ca8e['DISCONNECTED']:this['state']==_0x32ca8e['DISCONNECTED']&&this['_shouldPluginsReconnect']?(this['_shouldPluginsReconnect']=!0x1,this['_reconnect'](),_0x32ca8e['CONNECTING']):_0x32ca8e['CONNECTED'])),this['connection']['on']('error',(_0x286ead,_0x1372e1)=>{if('limitExceeded'!==_0x1372e1['code'])throw console['error'](_0x1372e1),new ckeditor5['CKEditorError']('cloudservices-init',null,{'originalError':_0x1372e1});_0xcb44c0['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'});}),!_0x1ae4ca['me'])return new Promise(_0x57b3b2=>_0x1ae4ca['on']('change:me',_0x57b3b2));})['catch'](_0x1e6f80=>{throw console['error'](_0x1e6f80),new ckeditor5['CKEditorError']('cloudservices-init',null,{'originalError':_0x1e6f80});});}['addToReconnectionStack'](_0x44ff71){if('function'!=typeof _0x44ff71['reconnect'])throw new ckeditor5['CKEditorError']('websocketgateway-invalid-plugin-interface',this);if(this['isInReconnectionStack'](_0x44ff71))throw new ckeditor5['CKEditorError']('websocketgateway-plugin-already-registered',this,{'name':_0x44ff71['constructor']['pluginName']});this['_reconnectionStack']['add'](_0x44ff71);}['removeFromReconnectionStack'](_0x164148){this['_reconnectionStack']['delete'](_0x164148);}['isInReconnectionStack'](_0x257398){return this['_reconnectionStack']['has'](_0x257398);}['_reconnect'](){return this['connection']['reconnect']()['then'](()=>Promise['all'](Array['from'](this['_reconnectionStack'],_0x1bfd48=>_0x1bfd48['reconnect']())))['then'](()=>this['state']=_0x32ca8e['CONNECTED'])['catch'](_0x1cd4cb=>{throw console['error'](_0x1cd4cb),new ckeditor5['CKEditorError']('cloudservices-reconnection-error',this['context']);});}['disconnect'](){this['connection']&&this['connection']['disconnect'](),this['state']=_0x32ca8e['DISCONNECTED'],this['_domEmitter']['stopListening']();}['destroy'](){this['disconnect'](),super['destroy']();}}class _0xb9e36d extends ckeditor5['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,_0x4a3f8f];}constructor(_0x20e6e3){super(_0x20e6e3),this['channelSessions']=new Map(),this['channelConnectedUsers']=new Map(),this['allConnectedUsers']=new ckeditor5['Collection'](),this['_registeredSessions']=new Map(),this['_uniqueUsersCount']=0x0,this['_users']=this['context']['plugins']['get'](_0x4a3f8f);}['init'](){const _0x5a4af9=this['context']['plugins']['get'](WebSocketGateway);this['listenTo'](_0x5a4af9,'change:state',(_0x50d05f,_0x171000,_0x55a433)=>{if('connected'!==_0x55a433)this['channelSessions']['forEach'](_0x27294c=>_0x27294c['clear']()),this['channelConnectedUsers']['forEach'](_0x3ba696=>_0x3ba696['clear']()),this['allConnectedUsers']['clear']();else{for(const [_0x17297f,_0x168615]of this['_registeredSessions'])for(const _0x333bb4 of _0x168615)this['_handleSessionAdd'](_0x17297f,_0x333bb4);}}),this['_createUser'](_0x5a4af9['connection']['me'],!0x0);}['register'](_0x391c10,_0x1efa8b){if(this['_registeredSessions']['has'](_0x391c10))throw new ckeditor5['CKEditorError']('sessions-register-already-registered',null,{'channelId':_0x391c10});this['_registeredSessions']['set'](_0x391c10,_0x1efa8b),this['channelSessions']['set'](_0x391c10,new ckeditor5['Collection']()),this['channelConnectedUsers']['set'](_0x391c10,new ckeditor5['Collection']()),this['listenTo'](_0x1efa8b,'add',(_0x11b8e0,_0x5de5a7)=>this['_handleSessionAdd'](_0x391c10,_0x5de5a7)),this['listenTo'](_0x1efa8b,'remove',(_0x4888a6,_0x5332e6)=>this['_handleSessionRemove'](_0x391c10,_0x5332e6));for(const _0x1acb4c of _0x1efa8b)this['_handleSessionAdd'](_0x391c10,_0x1acb4c);}['unregister'](_0x3ed8b6){if(!this['_registeredSessions']['has'](_0x3ed8b6))throw new ckeditor5['CKEditorError']('sessions-unregister-not-exist',null,{'channelId':_0x3ed8b6});const _0x3309b7=this['_registeredSessions']['get'](_0x3ed8b6);this['stopListening'](_0x3309b7);for(const _0x29c8f6 of _0x3309b7)'connected'===this['context']['plugins']['get'](WebSocketGateway)['state']&&this['_handleSessionRemove'](_0x3ed8b6,_0x29c8f6);this['_registeredSessions']['delete'](_0x3ed8b6),this['channelSessions']['delete'](_0x3ed8b6),this['channelConnectedUsers']['delete'](_0x3ed8b6);}get['mySessionId'](){return this['context']['plugins']['get'](WebSocketGateway)['connection']['sessionId'];}['getUserBySessionId'](_0x131447){for(const _0x3d30a9 of this['channelSessions']['values']())for(const _0x2e0278 of _0x3d30a9)if(_0x2e0278['id']===_0x131447)return _0x2e0278['user'];}['getUserSessions'](_0x196e24,_0x36c7a7){const _0x33702f=_0x36c7a7?[this['channelSessions']['get'](_0x36c7a7)]:this['channelSessions']['values'](),_0x1028b0=new Set();for(const _0x36aebb of _0x33702f)for(const _0x271bb6 of _0x36aebb)_0x271bb6['user']['id']===_0x196e24['id']&&_0x1028b0['add'](_0x271bb6['id']);return _0x1028b0;}['getUserRole'](_0x121a2a){for(const _0x52a996 of this['channelSessions']['values']())for(const _0x7a0671 of _0x52a996)if(_0x7a0671['user']===_0x121a2a)return _0x7a0671['role'];}['_handleSessionAdd'](_0x4eeafa,_0x2b82d6){if('connected'!==this['context']['plugins']['get'](WebSocketGateway)['state'])return;const _0x5cbdc4=_0x2b82d6['user'],_0x1f832a=this['_users']['getUser'](_0x5cbdc4['id'])||this['_createUser'](_0x5cbdc4),_0x66270c=Object['assign']({},_0x2b82d6,{'user':_0x1f832a});if(this['channelSessions']['get'](_0x4eeafa)['add'](_0x66270c),!_0x5cbdc4['hiddenInPresenceList']){const _0xfc0585=this['channelConnectedUsers']['get'](_0x4eeafa);_0xfc0585['has'](_0x1f832a['id'])||_0xfc0585['add'](_0x1f832a),this['allConnectedUsers']['has'](_0x1f832a['id'])||_0x5cbdc4['hiddenInPresenceList']||this['allConnectedUsers']['add'](_0x1f832a,_0x1f832a['isMe']?0x0:void 0x0);}this['fire']('sessionAdd:'+_0x4eeafa,{'channelId':_0x4eeafa,'session':_0x66270c});}['_handleSessionRemove'](_0x2ad853,_0x107986){if('connected'!==this['context']['plugins']['get'](WebSocketGateway)['state'])return;const _0x2fb7f8=this['channelConnectedUsers']['get'](_0x2ad853),_0x512948=_0x107986['user'];_0x512948['id']&&(this['channelSessions']['get'](_0x2ad853)['remove'](_0x107986['id']),_0x2fb7f8['has'](_0x512948['id'])&&!this['getUserSessions'](_0x512948,_0x2ad853)['size']&&_0x2fb7f8['remove'](_0x512948['id']),this['allConnectedUsers']['get'](_0x512948['id'])&&!this['getUserSessions'](_0x512948)['size']&&this['allConnectedUsers']['remove'](_0x512948['id']));}['_createUser'](_0x10ad9a,_0x1fcb99){const _0x464ad9=this['_users']['addUser'](_0x10ad9a);return _0x1fcb99&&this['_users']['defineMe'](_0x10ad9a['id']),_0x464ad9['orderNumber']=this['_uniqueUsersCount']++,_0x464ad9;}}class _0x25da3d extends ckeditor5['Plugin']{['_domEmitter']=new(ckeditor5['DomEmitterMixin']())();static get['requires'](){return[_0xb9e36d];}static get['pluginName'](){return'UserMarkers';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2e57df=this['editor'],_0x436489=_0x2e57df['plugins']['get'](_0xb9e36d);_0x2e57df['conversion']['for']('editingDowncast')['markerToElement']({'model':'user:position','view':(_0x49e60d,{writer:_0x4c7c60})=>createUserPositionViewElement(_0x49e60d,_0x4c7c60,_0x436489,_0x2e57df)}),_0x2e57df['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'user:range','view':_0x4f641c=>createUserRangeViewElement(_0x4f641c,_0x436489)}),createUserMarkerPostFixer(_0x2e57df),this['_domEmitter']['listenTo'](ckeditor5['global']['document'],'keydown',(_0x40611f,{key:_0x3aea4e})=>{'Escape'===_0x3aea4e&&hideHoveredUserPositionMarkersTooltips(_0x2e57df);},{'useCapture':!0x0});}['afterInit'](){const _0x2349e2=this['editor'],_0x1de8f8=_0x2349e2['commands']['get']('undo');_0x1de8f8&&_0x2349e2['model']['on']('applyOperation',(_0x4d0fd6,_0x38626e)=>{const _0x42cc45=_0x38626e[0x0];if(!_0x42cc45['isDocumentOperation'])return;if('marker'!=_0x42cc45['type']||!_0x42cc45['name']['startsWith']('user:'))return;const _0x5e46c0=_0x42cc45['batch'];_0x1de8f8['_createdBatches']['has'](_0x5e46c0)&&(_0x42cc45['newRange']=_0x42cc45['oldRange']?_0x2349e2['model']['createRange'](_0x42cc45['oldRange']['start'],_0x42cc45['oldRange']['end']):null);},{'priority':'highest'});}['destroy'](){return this['_domEmitter']['stopListening'](),super['destroy']();}['createUserMarkerOperations'](){const _0x1e7213=this['editor'],_0x46fe9c=_0x1e7213['model']['document'],_0x3dcba4=_0x1e7213['plugins']['get'](_0xb9e36d);_0x1e7213['model']['enqueueChange']({'isUndoable':!0x1},_0x3d87a3=>{const _0x504c48='user:range:'+_0x3dcba4['mySessionId'],_0x5a89e4='user:position:'+_0x3dcba4['mySessionId'],_0x15941f=_0x1e7213['model']['markers']['has'](_0x504c48);_0x1e7213['editing']['view']['hasDomSelection']?updateUserMarkers(_0x3dcba4['mySessionId'],_0x46fe9c['selection']['getFirstRange'](),_0x1e7213['model'],_0x3d87a3):_0x15941f&&(_0x3d87a3['removeMarker'](_0x504c48),_0x3d87a3['removeMarker'](_0x5a89e4));});}}function updateUserMarkers(_0x405b53,_0x489ec2,_0x8b4e01,_0x419530){const _0x3d6f71='user:range:'+_0x405b53,_0x372eb6='user:position:'+_0x405b53,_0x3fc5df=_0x489ec2['getContainedElement']();let _0x357805=_0x489ec2['start'];if(_0x3fc5df&&_0x3fc5df['is']('element','tableCell')){const _0x1b81e8=getPositionForText(_0x489ec2,_0x8b4e01);_0x1b81e8&&(_0x357805=_0x1b81e8,_0x489ec2=_0x419530['createRange'](_0x357805));}const _0x3f9559=_0x419530['createRange'](_0x357805);_0x8b4e01['markers']['has'](_0x3d6f71)?(_0x419530['updateMarker'](_0x3d6f71,{'range':_0x489ec2}),_0x419530['updateMarker'](_0x372eb6,{'range':_0x3f9559})):(_0x419530['addMarker'](_0x3d6f71,{'range':_0x489ec2,'usingOperation':!0x0}),_0x419530['addMarker'](_0x372eb6,{'range':_0x3f9559,'usingOperation':!0x0}));}function getPositionForText(_0x6db08e,_0x194848){for(const _0x4fd3eb of _0x6db08e['getPositions']())if(_0x194848['schema']['checkChild'](_0x4fd3eb,'$text'))return _0x4fd3eb;}function createUserPositionViewElement(_0x3448a7,_0x114179,_0x5a02e2,_0x2a8c67){const _0x13d973=_0x3448a7['markerName']['split'](':')[0x2],_0x58e308=_0x5a02e2['getUserBySessionId'](_0x13d973);if(!_0x58e308||_0x13d973===_0x5a02e2['mySessionId'])return;if(!_0x2a8c67['model']['schema']['checkChild'](_0x3448a7['markerRange']['start'],'$text'))return;const _0x558e04={'class':'ck-user__marker\x20'+_0x58e308['color']['getMarkerClass'](),'style':getUserColorStyle(_0x58e308),'data-name':_0x58e308['name'],'data-session-id':_0x13d973},_0x518dc2=_0x2a8c67['model']['markers']['get'](_0x3448a7['markerName'])['getStart'](),_0x534102=_0x518dc2['nodeAfter'],_0x26c744=_0x2a8c67['model']['schema'];if(_0x534102&&_0x26c744['isObject'](_0x534102)&&_0x26c744['isInline'](_0x534102)&&!_0x2a8c67['model']['markers']['get']('user:range:'+_0x13d973)['getRange']()['isCollapsed'])return;const _0x106747=_0x518dc2['parent'];return _0x2a8c67['model']['schema']['isLimit'](_0x106747)&&!_0x2a8c67['model']['hasContent'](_0x106747)&&(_0x558e04['contenteditable']=!0x1),createUserPositionMarkerElement(_0x114179,_0x558e04,_0x58e308);}function createUserRangeViewElement(_0x38a8a5,_0x1a7440){const _0x3b3bd0=_0x38a8a5['markerName']['split'](':')[0x2];if(_0x3b3bd0===_0x1a7440['mySessionId'])return null;const _0x1fffb0=_0x1a7440['getUserBySessionId'](_0x3b3bd0);return _0x1fffb0?{'id':_0x3b3bd0,'classes':['ck-user__selection',_0x1fffb0['color']['getSelectionClass']()],'attributes':{'style':getUserColorStyle(_0x1fffb0),'data-session-id':_0x3b3bd0},'priority':0x7d0+_0x1fffb0['orderNumber']}:{'id':_0x3b3bd0,'classes':[]};}function getUserColorStyle(_0x4bab53){return'--ck-user-color:'+_0x4bab53['color']['getColorVariable']()+';--ck-user-color-alpha:'+_0x4bab53['color']['getColorAlphaVariable']()+';';}function createUserPositionMarkerElement(_0x4caa6b,_0x124d26,_0x17456d){const _0x558aff=_0x4caa6b['createUIElement']('span',_0x124d26);return _0x4caa6b['setCustomProperty']('userPositionMarker',!0x0,_0x558aff),_0x558aff['render']=function(_0x307c6c){const _0x132ef5=this['toDomElement'](_0x307c6c),_0xad29c3=document['createElement']('span');return _0xad29c3['classList']['add']('ck-user__marker-tooltip'),_0xad29c3['setAttribute']('contenteditable','false'),_0xad29c3['setAttribute']('spellcheck','false'),_0xad29c3['textContent']=_0x17456d['name'],_0x132ef5['innerHTML']='⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>'+_0xad29c3['outerHTML']+'⁠',_0x132ef5['addEventListener']('mouseenter',()=>{_0x132ef5['classList']['add']('ck-user__marker_hovered');}),_0x132ef5['addEventListener']('mouseleave',()=>{_0x132ef5['classList']['remove']('ck-user__marker_hovered');}),_0x132ef5;},_0x558aff['isSimilar']=function(_0x461e71){return!(!this['getCustomProperty']('userPositionMarker')||!_0x461e71['getCustomProperty']('userPositionMarker')||this['getAttribute']('data-session-id')!=_0x461e71['getAttribute']('data-session-id'));},_0x558aff;}function hideHoveredUserPositionMarkersTooltips(_0x89cc7d){_0x89cc7d['editing']['view']['change'](_0x3cf14b=>{for(const _0x4d8102 of _0x89cc7d['model']['markers']){if(!_0x4d8102['name']['startsWith']('user:position'))continue;const _0x2b75e8=_0x89cc7d['editing']['mapper']['markerNameToElements'](_0x4d8102['name']);if(_0x2b75e8){for(const _0x22d7da of _0x2b75e8)_0x3cf14b['removeClass']('ck-user__marker_hovered',_0x22d7da);}}});}function createUserMarkerPostFixer(_0x31b7f6){const _0x17c727=_0x31b7f6['model'],_0x2f8313=new Map(),_0xe2fc06=_0x31b7f6['plugins']['get'](_0xb9e36d);_0x17c727['markers']['on']('update:user:range',(_0x37aace,_0xe98555,_0x4c50c7,_0x5e1b18)=>{if(!_0x5e1b18&&_0x2f8313['get'](_0xe98555['name']))return _0x2f8313['get'](_0xe98555['name'])['detach'](),void _0x2f8313['delete'](_0xe98555['name']);const _0x39d2d2=_0xe98555['name']['split'](':')[0x2];if(_0x39d2d2===_0xe2fc06['mySessionId'])return;const _0x438d98='user:position:'+_0x39d2d2;_0x17c727['markers']['has'](_0x438d98)&&_0x31b7f6['editing']['reconvertMarker'](_0x438d98),_0xe98555['on']('change:range',(_0x63e698,_0x40d70e,_0xc97dea)=>{if('$graveyard'!=_0x40d70e['root']['rootName']&&'$graveyard'==_0xe98555['getRange']()['root']['rootName']&&!_0x2f8313['has'](_0xe98555['name'])){const _0x28cd02=_0x17c727['schema']['getNearestSelectionRange'](_0xc97dea['deletionPosition']);if(_0x28cd02){const _0x391c18=ckeditor5['ModelLiveRange']['fromRange'](_0x28cd02);_0x2f8313['set'](_0xe98555['name'],_0x391c18),_0x391c18['on']('change:range',(_0x1c639e,_0x1cfff1,_0x148a64)=>{if('$graveyard'==_0x391c18['root']['rootName']){const _0x2e7669=_0x17c727['schema']['getNearestSelectionRange'](_0x148a64['deletionPosition']);_0x2e7669?(_0x391c18['start']=_0x2e7669['start'],_0x391c18['end']=_0x2e7669['end']):(_0x2f8313['delete'](_0xe98555['name']),_0x391c18['detach']());}});}}});}),_0x17c727['document']['on']('change',()=>{_0x2f8313['size']>0x0&&_0x17c727['enqueueChange']({'isUndoable':!0x1},_0x54aa6f=>{for(const [_0x4db03e,_0x53af7b]of _0x2f8313)'$graveyard'==_0x17c727['markers']['get'](_0x4db03e)['getRange']()['root']['rootName']&&(updateUserMarkers(_0x4db03e['split'](':')[0x2],_0x53af7b['toRange'](),_0x17c727,_0x54aa6f),_0x53af7b['detach']());_0x2f8313['clear']();});});}function getTranslation$6(_0x57d76d,_0x3cc0ff,_0x596fdd){const _0x5b91e2=_0x57d76d['t'],t=_0x57d76d['t'];switch(_0x3cc0ff){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 _0x5b91e2({'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'},_0x596fdd);default:return'';}}const _0x7bcfb2=/* #__PURE__ -- @preserve */
((()=>{var _0x34f31b=minimalExports['Reader'],_0x2746d4=minimalExports['Writer'],_0x353816=minimalExports['util'],_0x3a088f=minimalExports['roots']['default']||(minimalExports['roots']['default']={});return _0x3a088f['AttributeOperation']=(function(){function _0x523df1(_0x30d2f2){if(_0x30d2f2){for(var _0x3f09cd=Object['keys'](_0x30d2f2),_0x28aa69=0x0;_0x28aa69<_0x3f09cd['length'];++_0x28aa69)null!=_0x30d2f2[_0x3f09cd[_0x28aa69]]&&(this[_0x3f09cd[_0x28aa69]]=_0x30d2f2[_0x3f09cd[_0x28aa69]]);}}return _0x523df1['prototype']['range']=null,_0x523df1['prototype']['key']='',_0x523df1['prototype']['oldValueBoolean']=!0x1,_0x523df1['prototype']['oldValueJson']='',_0x523df1['prototype']['newValueBoolean']=!0x1,_0x523df1['prototype']['newValueJson']='',_0x523df1['prototype']['wasUndone']=!0x1,_0x523df1['create']=function(_0x1b70a5){return new _0x523df1(_0x1b70a5);},_0x523df1['encode']=function(_0x234fca,_0x4951){return _0x4951||(_0x4951=_0x2746d4['create']()),null!=_0x234fca['range']&&Object['hasOwnProperty']['call'](_0x234fca,'range')&&_0x3a088f['Range']['encode'](_0x234fca['range'],_0x4951['uint32'](0xa)['fork']())['ldelim'](),null!=_0x234fca['key']&&Object['hasOwnProperty']['call'](_0x234fca,'key')&&_0x4951['uint32'](0x12)['string'](_0x234fca['key']),null!=_0x234fca['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x234fca,'oldValueBoolean')&&_0x4951['uint32'](0x18)['bool'](_0x234fca['oldValueBoolean']),null!=_0x234fca['oldValueJson']&&Object['hasOwnProperty']['call'](_0x234fca,'oldValueJson')&&_0x4951['uint32'](0x22)['string'](_0x234fca['oldValueJson']),null!=_0x234fca['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x234fca,'newValueBoolean')&&_0x4951['uint32'](0x28)['bool'](_0x234fca['newValueBoolean']),null!=_0x234fca['newValueJson']&&Object['hasOwnProperty']['call'](_0x234fca,'newValueJson')&&_0x4951['uint32'](0x32)['string'](_0x234fca['newValueJson']),null!=_0x234fca['wasUndone']&&Object['hasOwnProperty']['call'](_0x234fca,'wasUndone')&&_0x4951['uint32'](0x38)['bool'](_0x234fca['wasUndone']),_0x4951;},_0x523df1['encodeDelimited']=function(_0x3a4ef0,_0x10071f){return this['encode'](_0x3a4ef0,_0x10071f)['ldelim']();},_0x523df1['decode']=function(_0x34b78c,_0x1dd029){_0x34b78c instanceof _0x34f31b||(_0x34b78c=_0x34f31b['create'](_0x34b78c));for(var _0x3eccd1=void 0x0===_0x1dd029?_0x34b78c['len']:_0x34b78c['pos']+_0x1dd029,_0x3e2cb7=new _0x3a088f['AttributeOperation']();_0x34b78c['pos']<_0x3eccd1;){var _0x2d1a8a=_0x34b78c['uint32']();switch(_0x2d1a8a>>>0x3){case 0x1:_0x3e2cb7['range']=_0x3a088f['Range']['decode'](_0x34b78c,_0x34b78c['uint32']());break;case 0x2:_0x3e2cb7['key']=_0x34b78c['string']();break;case 0x3:_0x3e2cb7['oldValueBoolean']=_0x34b78c['bool']();break;case 0x4:_0x3e2cb7['oldValueJson']=_0x34b78c['string']();break;case 0x5:_0x3e2cb7['newValueBoolean']=_0x34b78c['bool']();break;case 0x6:_0x3e2cb7['newValueJson']=_0x34b78c['string']();break;case 0x7:_0x3e2cb7['wasUndone']=_0x34b78c['bool']();break;default:_0x34b78c['skipType'](0x7&_0x2d1a8a);}}return _0x3e2cb7;},_0x523df1['decodeDelimited']=function(_0x3d3293){return _0x3d3293 instanceof _0x34f31b||(_0x3d3293=new _0x34f31b(_0x3d3293)),this['decode'](_0x3d3293,_0x3d3293['uint32']());},_0x523df1['verify']=function(_0x12dfab){if('object'!=typeof _0x12dfab||null===_0x12dfab)return'object\x20expected';if(null!=_0x12dfab['range']&&_0x12dfab['hasOwnProperty']('range')){var _0x17f26e=_0x3a088f['Range']['verify'](_0x12dfab['range']);if(_0x17f26e)return'range.'+_0x17f26e;}return null!=_0x12dfab['key']&&_0x12dfab['hasOwnProperty']('key')&&!_0x353816['isString'](_0x12dfab['key'])?'key:\x20string\x20expected':null!=_0x12dfab['oldValueBoolean']&&_0x12dfab['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x12dfab['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x12dfab['oldValueJson']&&_0x12dfab['hasOwnProperty']('oldValueJson')&&!_0x353816['isString'](_0x12dfab['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x12dfab['newValueBoolean']&&_0x12dfab['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x12dfab['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x12dfab['newValueJson']&&_0x12dfab['hasOwnProperty']('newValueJson')&&!_0x353816['isString'](_0x12dfab['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x12dfab['wasUndone']&&_0x12dfab['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x12dfab['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x523df1['fromObject']=function(_0x3210c3){if(_0x3210c3 instanceof _0x3a088f['AttributeOperation'])return _0x3210c3;var _0x12b811=new _0x3a088f['AttributeOperation']();if(null!=_0x3210c3['range']){if('object'!=typeof _0x3210c3['range'])throw TypeError('.AttributeOperation.range:\x20object\x20expected');_0x12b811['range']=_0x3a088f['Range']['fromObject'](_0x3210c3['range']);}return null!=_0x3210c3['key']&&(_0x12b811['key']=String(_0x3210c3['key'])),null!=_0x3210c3['oldValueBoolean']&&(_0x12b811['oldValueBoolean']=Boolean(_0x3210c3['oldValueBoolean'])),null!=_0x3210c3['oldValueJson']&&(_0x12b811['oldValueJson']=String(_0x3210c3['oldValueJson'])),null!=_0x3210c3['newValueBoolean']&&(_0x12b811['newValueBoolean']=Boolean(_0x3210c3['newValueBoolean'])),null!=_0x3210c3['newValueJson']&&(_0x12b811['newValueJson']=String(_0x3210c3['newValueJson'])),null!=_0x3210c3['wasUndone']&&(_0x12b811['wasUndone']=Boolean(_0x3210c3['wasUndone'])),_0x12b811;},_0x523df1['toObject']=function(_0x356f1d,_0x15929f){_0x15929f||(_0x15929f={});var _0x342af8={};return _0x15929f['defaults']&&(_0x342af8['range']=null,_0x342af8['key']='',_0x342af8['oldValueBoolean']=!0x1,_0x342af8['oldValueJson']='',_0x342af8['newValueBoolean']=!0x1,_0x342af8['newValueJson']='',_0x342af8['wasUndone']=!0x1),null!=_0x356f1d['range']&&_0x356f1d['hasOwnProperty']('range')&&(_0x342af8['range']=_0x3a088f['Range']['toObject'](_0x356f1d['range'],_0x15929f)),null!=_0x356f1d['key']&&_0x356f1d['hasOwnProperty']('key')&&(_0x342af8['key']=_0x356f1d['key']),null!=_0x356f1d['oldValueBoolean']&&_0x356f1d['hasOwnProperty']('oldValueBoolean')&&(_0x342af8['oldValueBoolean']=_0x356f1d['oldValueBoolean']),null!=_0x356f1d['oldValueJson']&&_0x356f1d['hasOwnProperty']('oldValueJson')&&(_0x342af8['oldValueJson']=_0x356f1d['oldValueJson']),null!=_0x356f1d['newValueBoolean']&&_0x356f1d['hasOwnProperty']('newValueBoolean')&&(_0x342af8['newValueBoolean']=_0x356f1d['newValueBoolean']),null!=_0x356f1d['newValueJson']&&_0x356f1d['hasOwnProperty']('newValueJson')&&(_0x342af8['newValueJson']=_0x356f1d['newValueJson']),null!=_0x356f1d['wasUndone']&&_0x356f1d['hasOwnProperty']('wasUndone')&&(_0x342af8['wasUndone']=_0x356f1d['wasUndone']),_0x342af8;},_0x523df1['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x523df1['getTypeUrl']=function(_0x1d5467){return void 0x0===_0x1d5467&&(_0x1d5467='type.googleapis.com'),_0x1d5467+'/AttributeOperation';},_0x523df1;}()),_0x3a088f['InsertOperation']=(function(){function _0x178b2d(_0x2ab4e3){if(this['nodes']=[],_0x2ab4e3){for(var _0x398f07=Object['keys'](_0x2ab4e3),_0x73f99f=0x0;_0x73f99f<_0x398f07['length'];++_0x73f99f)null!=_0x2ab4e3[_0x398f07[_0x73f99f]]&&(this[_0x398f07[_0x73f99f]]=_0x2ab4e3[_0x398f07[_0x73f99f]]);}}return _0x178b2d['prototype']['position']=null,_0x178b2d['prototype']['nodes']=_0x353816['emptyArray'],_0x178b2d['prototype']['shouldReceiveAttributes']=!0x1,_0x178b2d['prototype']['wasUndone']=!0x1,_0x178b2d['create']=function(_0x2212d0){return new _0x178b2d(_0x2212d0);},_0x178b2d['encode']=function(_0xf3f1a9,_0x4ee5b0){if(_0x4ee5b0||(_0x4ee5b0=_0x2746d4['create']()),null!=_0xf3f1a9['position']&&Object['hasOwnProperty']['call'](_0xf3f1a9,'position')&&_0x3a088f['Position']['encode'](_0xf3f1a9['position'],_0x4ee5b0['uint32'](0xa)['fork']())['ldelim'](),null!=_0xf3f1a9['nodes']&&_0xf3f1a9['nodes']['length']){for(var _0x1c0efd=0x0;_0x1c0efd<_0xf3f1a9['nodes']['length'];++_0x1c0efd)_0x3a088f['Element']['encode'](_0xf3f1a9['nodes'][_0x1c0efd],_0x4ee5b0['uint32'](0x12)['fork']())['ldelim']();}return null!=_0xf3f1a9['shouldReceiveAttributes']&&Object['hasOwnProperty']['call'](_0xf3f1a9,'shouldReceiveAttributes')&&_0x4ee5b0['uint32'](0x18)['bool'](_0xf3f1a9['shouldReceiveAttributes']),null!=_0xf3f1a9['wasUndone']&&Object['hasOwnProperty']['call'](_0xf3f1a9,'wasUndone')&&_0x4ee5b0['uint32'](0x20)['bool'](_0xf3f1a9['wasUndone']),_0x4ee5b0;},_0x178b2d['encodeDelimited']=function(_0x41a70f,_0x444aa7){return this['encode'](_0x41a70f,_0x444aa7)['ldelim']();},_0x178b2d['decode']=function(_0x469fbb,_0x58561f){_0x469fbb instanceof _0x34f31b||(_0x469fbb=_0x34f31b['create'](_0x469fbb));for(var _0x4dac64=void 0x0===_0x58561f?_0x469fbb['len']:_0x469fbb['pos']+_0x58561f,_0x3814bf=new _0x3a088f['InsertOperation']();_0x469fbb['pos']<_0x4dac64;){var _0x2ec3d4=_0x469fbb['uint32']();switch(_0x2ec3d4>>>0x3){case 0x1:_0x3814bf['position']=_0x3a088f['Position']['decode'](_0x469fbb,_0x469fbb['uint32']());break;case 0x2:_0x3814bf['nodes']&&_0x3814bf['nodes']['length']||(_0x3814bf['nodes']=[]),_0x3814bf['nodes']['push'](_0x3a088f['Element']['decode'](_0x469fbb,_0x469fbb['uint32']()));break;case 0x3:_0x3814bf['shouldReceiveAttributes']=_0x469fbb['bool']();break;case 0x4:_0x3814bf['wasUndone']=_0x469fbb['bool']();break;default:_0x469fbb['skipType'](0x7&_0x2ec3d4);}}return _0x3814bf;},_0x178b2d['decodeDelimited']=function(_0x5e54ff){return _0x5e54ff instanceof _0x34f31b||(_0x5e54ff=new _0x34f31b(_0x5e54ff)),this['decode'](_0x5e54ff,_0x5e54ff['uint32']());},_0x178b2d['verify']=function(_0x2dc828){if('object'!=typeof _0x2dc828||null===_0x2dc828)return'object\x20expected';if(null!=_0x2dc828['position']&&_0x2dc828['hasOwnProperty']('position')&&(_0x557a22=_0x3a088f['Position']['verify'](_0x2dc828['position'])))return'position.'+_0x557a22;if(null!=_0x2dc828['nodes']&&_0x2dc828['hasOwnProperty']('nodes')){if(!Array['isArray'](_0x2dc828['nodes']))return'nodes:\x20array\x20expected';for(var _0x1ecdb8=0x0;_0x1ecdb8<_0x2dc828['nodes']['length'];++_0x1ecdb8){var _0x557a22;if(_0x557a22=_0x3a088f['Element']['verify'](_0x2dc828['nodes'][_0x1ecdb8]))return'nodes.'+_0x557a22;}}return null!=_0x2dc828['shouldReceiveAttributes']&&_0x2dc828['hasOwnProperty']('shouldReceiveAttributes')&&'boolean'!=typeof _0x2dc828['shouldReceiveAttributes']?'shouldReceiveAttributes:\x20boolean\x20expected':null!=_0x2dc828['wasUndone']&&_0x2dc828['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x2dc828['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x178b2d['fromObject']=function(_0x4218df){if(_0x4218df instanceof _0x3a088f['InsertOperation'])return _0x4218df;var _0x4feb6e=new _0x3a088f['InsertOperation']();if(null!=_0x4218df['position']){if('object'!=typeof _0x4218df['position'])throw TypeError('.InsertOperation.position:\x20object\x20expected');_0x4feb6e['position']=_0x3a088f['Position']['fromObject'](_0x4218df['position']);}if(_0x4218df['nodes']){if(!Array['isArray'](_0x4218df['nodes']))throw TypeError('.InsertOperation.nodes:\x20array\x20expected');_0x4feb6e['nodes']=[];for(var _0xfb28f4=0x0;_0xfb28f4<_0x4218df['nodes']['length'];++_0xfb28f4){if('object'!=typeof _0x4218df['nodes'][_0xfb28f4])throw TypeError('.InsertOperation.nodes:\x20object\x20expected');_0x4feb6e['nodes'][_0xfb28f4]=_0x3a088f['Element']['fromObject'](_0x4218df['nodes'][_0xfb28f4]);}}return null!=_0x4218df['shouldReceiveAttributes']&&(_0x4feb6e['shouldReceiveAttributes']=Boolean(_0x4218df['shouldReceiveAttributes'])),null!=_0x4218df['wasUndone']&&(_0x4feb6e['wasUndone']=Boolean(_0x4218df['wasUndone'])),_0x4feb6e;},_0x178b2d['toObject']=function(_0x5750e8,_0x48f749){_0x48f749||(_0x48f749={});var _0x22152c={};if((_0x48f749['arrays']||_0x48f749['defaults'])&&(_0x22152c['nodes']=[]),_0x48f749['defaults']&&(_0x22152c['position']=null,_0x22152c['shouldReceiveAttributes']=!0x1,_0x22152c['wasUndone']=!0x1),null!=_0x5750e8['position']&&_0x5750e8['hasOwnProperty']('position')&&(_0x22152c['position']=_0x3a088f['Position']['toObject'](_0x5750e8['position'],_0x48f749)),_0x5750e8['nodes']&&_0x5750e8['nodes']['length']){_0x22152c['nodes']=[];for(var _0x579801=0x0;_0x579801<_0x5750e8['nodes']['length'];++_0x579801)_0x22152c['nodes'][_0x579801]=_0x3a088f['Element']['toObject'](_0x5750e8['nodes'][_0x579801],_0x48f749);}return null!=_0x5750e8['shouldReceiveAttributes']&&_0x5750e8['hasOwnProperty']('shouldReceiveAttributes')&&(_0x22152c['shouldReceiveAttributes']=_0x5750e8['shouldReceiveAttributes']),null!=_0x5750e8['wasUndone']&&_0x5750e8['hasOwnProperty']('wasUndone')&&(_0x22152c['wasUndone']=_0x5750e8['wasUndone']),_0x22152c;},_0x178b2d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x178b2d['getTypeUrl']=function(_0x10cc52){return void 0x0===_0x10cc52&&(_0x10cc52='type.googleapis.com'),_0x10cc52+'/InsertOperation';},_0x178b2d;}()),_0x3a088f['MarkerOperation']=(function(){function _0x4aaa17(_0x253a07){if(_0x253a07){for(var _0x54a770=Object['keys'](_0x253a07),_0x1e2dce=0x0;_0x1e2dce<_0x54a770['length'];++_0x1e2dce)null!=_0x253a07[_0x54a770[_0x1e2dce]]&&(this[_0x54a770[_0x1e2dce]]=_0x253a07[_0x54a770[_0x1e2dce]]);}}return _0x4aaa17['prototype']['name']='',_0x4aaa17['prototype']['oldRange']=null,_0x4aaa17['prototype']['newRange']=null,_0x4aaa17['prototype']['affectsData']=!0x1,_0x4aaa17['prototype']['wasUndone']=!0x1,_0x4aaa17['create']=function(_0x365f73){return new _0x4aaa17(_0x365f73);},_0x4aaa17['encode']=function(_0x374a8a,_0x28fa65){return _0x28fa65||(_0x28fa65=_0x2746d4['create']()),null!=_0x374a8a['name']&&Object['hasOwnProperty']['call'](_0x374a8a,'name')&&_0x28fa65['uint32'](0xa)['string'](_0x374a8a['name']),null!=_0x374a8a['oldRange']&&Object['hasOwnProperty']['call'](_0x374a8a,'oldRange')&&_0x3a088f['Range']['encode'](_0x374a8a['oldRange'],_0x28fa65['uint32'](0x12)['fork']())['ldelim'](),null!=_0x374a8a['newRange']&&Object['hasOwnProperty']['call'](_0x374a8a,'newRange')&&_0x3a088f['Range']['encode'](_0x374a8a['newRange'],_0x28fa65['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x374a8a['affectsData']&&Object['hasOwnProperty']['call'](_0x374a8a,'affectsData')&&_0x28fa65['uint32'](0x20)['bool'](_0x374a8a['affectsData']),null!=_0x374a8a['wasUndone']&&Object['hasOwnProperty']['call'](_0x374a8a,'wasUndone')&&_0x28fa65['uint32'](0x28)['bool'](_0x374a8a['wasUndone']),_0x28fa65;},_0x4aaa17['encodeDelimited']=function(_0x2284f2,_0xec11b2){return this['encode'](_0x2284f2,_0xec11b2)['ldelim']();},_0x4aaa17['decode']=function(_0x3d9536,_0x2168cf){_0x3d9536 instanceof _0x34f31b||(_0x3d9536=_0x34f31b['create'](_0x3d9536));for(var _0x3e3111=void 0x0===_0x2168cf?_0x3d9536['len']:_0x3d9536['pos']+_0x2168cf,_0x4df91c=new _0x3a088f['MarkerOperation']();_0x3d9536['pos']<_0x3e3111;){var _0x5e4aad=_0x3d9536['uint32']();switch(_0x5e4aad>>>0x3){case 0x1:_0x4df91c['name']=_0x3d9536['string']();break;case 0x2:_0x4df91c['oldRange']=_0x3a088f['Range']['decode'](_0x3d9536,_0x3d9536['uint32']());break;case 0x3:_0x4df91c['newRange']=_0x3a088f['Range']['decode'](_0x3d9536,_0x3d9536['uint32']());break;case 0x4:_0x4df91c['affectsData']=_0x3d9536['bool']();break;case 0x5:_0x4df91c['wasUndone']=_0x3d9536['bool']();break;default:_0x3d9536['skipType'](0x7&_0x5e4aad);}}return _0x4df91c;},_0x4aaa17['decodeDelimited']=function(_0x51f683){return _0x51f683 instanceof _0x34f31b||(_0x51f683=new _0x34f31b(_0x51f683)),this['decode'](_0x51f683,_0x51f683['uint32']());},_0x4aaa17['verify']=function(_0x4c12be){if('object'!=typeof _0x4c12be||null===_0x4c12be)return'object\x20expected';if(null!=_0x4c12be['name']&&_0x4c12be['hasOwnProperty']('name')&&!_0x353816['isString'](_0x4c12be['name']))return'name:\x20string\x20expected';var _0x20df29;if(null!=_0x4c12be['oldRange']&&_0x4c12be['hasOwnProperty']('oldRange')&&(_0x20df29=_0x3a088f['Range']['verify'](_0x4c12be['oldRange'])))return'oldRange.'+_0x20df29;if(null!=_0x4c12be['newRange']&&_0x4c12be['hasOwnProperty']('newRange')&&(_0x20df29=_0x3a088f['Range']['verify'](_0x4c12be['newRange'])))return'newRange.'+_0x20df29;return null!=_0x4c12be['affectsData']&&_0x4c12be['hasOwnProperty']('affectsData')&&'boolean'!=typeof _0x4c12be['affectsData']?'affectsData:\x20boolean\x20expected':null!=_0x4c12be['wasUndone']&&_0x4c12be['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x4c12be['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x4aaa17['fromObject']=function(_0x413f20){if(_0x413f20 instanceof _0x3a088f['MarkerOperation'])return _0x413f20;var _0x268bf3=new _0x3a088f['MarkerOperation']();if(null!=_0x413f20['name']&&(_0x268bf3['name']=String(_0x413f20['name'])),null!=_0x413f20['oldRange']){if('object'!=typeof _0x413f20['oldRange'])throw TypeError('.MarkerOperation.oldRange:\x20object\x20expected');_0x268bf3['oldRange']=_0x3a088f['Range']['fromObject'](_0x413f20['oldRange']);}if(null!=_0x413f20['newRange']){if('object'!=typeof _0x413f20['newRange'])throw TypeError('.MarkerOperation.newRange:\x20object\x20expected');_0x268bf3['newRange']=_0x3a088f['Range']['fromObject'](_0x413f20['newRange']);}return null!=_0x413f20['affectsData']&&(_0x268bf3['affectsData']=Boolean(_0x413f20['affectsData'])),null!=_0x413f20['wasUndone']&&(_0x268bf3['wasUndone']=Boolean(_0x413f20['wasUndone'])),_0x268bf3;},_0x4aaa17['toObject']=function(_0x44c867,_0x203215){_0x203215||(_0x203215={});var _0x68a7a8={};return _0x203215['defaults']&&(_0x68a7a8['name']='',_0x68a7a8['oldRange']=null,_0x68a7a8['newRange']=null,_0x68a7a8['affectsData']=!0x1,_0x68a7a8['wasUndone']=!0x1),null!=_0x44c867['name']&&_0x44c867['hasOwnProperty']('name')&&(_0x68a7a8['name']=_0x44c867['name']),null!=_0x44c867['oldRange']&&_0x44c867['hasOwnProperty']('oldRange')&&(_0x68a7a8['oldRange']=_0x3a088f['Range']['toObject'](_0x44c867['oldRange'],_0x203215)),null!=_0x44c867['newRange']&&_0x44c867['hasOwnProperty']('newRange')&&(_0x68a7a8['newRange']=_0x3a088f['Range']['toObject'](_0x44c867['newRange'],_0x203215)),null!=_0x44c867['affectsData']&&_0x44c867['hasOwnProperty']('affectsData')&&(_0x68a7a8['affectsData']=_0x44c867['affectsData']),null!=_0x44c867['wasUndone']&&_0x44c867['hasOwnProperty']('wasUndone')&&(_0x68a7a8['wasUndone']=_0x44c867['wasUndone']),_0x68a7a8;},_0x4aaa17['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4aaa17['getTypeUrl']=function(_0x2ff6be){return void 0x0===_0x2ff6be&&(_0x2ff6be='type.googleapis.com'),_0x2ff6be+'/MarkerOperation';},_0x4aaa17;}()),_0x3a088f['MergeOperation']=(function(){function _0x2d678f(_0x2fdffd){if(_0x2fdffd){for(var _0x4226fb=Object['keys'](_0x2fdffd),_0x42a2bc=0x0;_0x42a2bc<_0x4226fb['length'];++_0x42a2bc)null!=_0x2fdffd[_0x4226fb[_0x42a2bc]]&&(this[_0x4226fb[_0x42a2bc]]=_0x2fdffd[_0x4226fb[_0x42a2bc]]);}}return _0x2d678f['prototype']['sourcePosition']=null,_0x2d678f['prototype']['targetPosition']=null,_0x2d678f['prototype']['graveyardPosition']=null,_0x2d678f['prototype']['howMany']=0x0,_0x2d678f['prototype']['wasUndone']=!0x1,_0x2d678f['create']=function(_0x58a1e8){return new _0x2d678f(_0x58a1e8);},_0x2d678f['encode']=function(_0x24ea62,_0x4302ff){return _0x4302ff||(_0x4302ff=_0x2746d4['create']()),null!=_0x24ea62['sourcePosition']&&Object['hasOwnProperty']['call'](_0x24ea62,'sourcePosition')&&_0x3a088f['Position']['encode'](_0x24ea62['sourcePosition'],_0x4302ff['uint32'](0xa)['fork']())['ldelim'](),null!=_0x24ea62['targetPosition']&&Object['hasOwnProperty']['call'](_0x24ea62,'targetPosition')&&_0x3a088f['Position']['encode'](_0x24ea62['targetPosition'],_0x4302ff['uint32'](0x12)['fork']())['ldelim'](),null!=_0x24ea62['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x24ea62,'graveyardPosition')&&_0x3a088f['Position']['encode'](_0x24ea62['graveyardPosition'],_0x4302ff['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x24ea62['howMany']&&Object['hasOwnProperty']['call'](_0x24ea62,'howMany')&&_0x4302ff['uint32'](0x20)['uint32'](_0x24ea62['howMany']),null!=_0x24ea62['wasUndone']&&Object['hasOwnProperty']['call'](_0x24ea62,'wasUndone')&&_0x4302ff['uint32'](0x28)['bool'](_0x24ea62['wasUndone']),_0x4302ff;},_0x2d678f['encodeDelimited']=function(_0x321bbe,_0x172fc5){return this['encode'](_0x321bbe,_0x172fc5)['ldelim']();},_0x2d678f['decode']=function(_0x507b0b,_0x4e6a73){_0x507b0b instanceof _0x34f31b||(_0x507b0b=_0x34f31b['create'](_0x507b0b));for(var _0x1abb4f=void 0x0===_0x4e6a73?_0x507b0b['len']:_0x507b0b['pos']+_0x4e6a73,_0x3ad40d=new _0x3a088f['MergeOperation']();_0x507b0b['pos']<_0x1abb4f;){var _0xc6d5f6=_0x507b0b['uint32']();switch(_0xc6d5f6>>>0x3){case 0x1:_0x3ad40d['sourcePosition']=_0x3a088f['Position']['decode'](_0x507b0b,_0x507b0b['uint32']());break;case 0x2:_0x3ad40d['targetPosition']=_0x3a088f['Position']['decode'](_0x507b0b,_0x507b0b['uint32']());break;case 0x3:_0x3ad40d['graveyardPosition']=_0x3a088f['Position']['decode'](_0x507b0b,_0x507b0b['uint32']());break;case 0x4:_0x3ad40d['howMany']=_0x507b0b['uint32']();break;case 0x5:_0x3ad40d['wasUndone']=_0x507b0b['bool']();break;default:_0x507b0b['skipType'](0x7&_0xc6d5f6);}}return _0x3ad40d;},_0x2d678f['decodeDelimited']=function(_0x5a911a){return _0x5a911a instanceof _0x34f31b||(_0x5a911a=new _0x34f31b(_0x5a911a)),this['decode'](_0x5a911a,_0x5a911a['uint32']());},_0x2d678f['verify']=function(_0x568306){if('object'!=typeof _0x568306||null===_0x568306)return'object\x20expected';var _0x2bd71a;if(null!=_0x568306['sourcePosition']&&_0x568306['hasOwnProperty']('sourcePosition')&&(_0x2bd71a=_0x3a088f['Position']['verify'](_0x568306['sourcePosition'])))return'sourcePosition.'+_0x2bd71a;if(null!=_0x568306['targetPosition']&&_0x568306['hasOwnProperty']('targetPosition')&&(_0x2bd71a=_0x3a088f['Position']['verify'](_0x568306['targetPosition'])))return'targetPosition.'+_0x2bd71a;if(null!=_0x568306['graveyardPosition']&&_0x568306['hasOwnProperty']('graveyardPosition')&&(_0x2bd71a=_0x3a088f['Position']['verify'](_0x568306['graveyardPosition'])))return'graveyardPosition.'+_0x2bd71a;return null!=_0x568306['howMany']&&_0x568306['hasOwnProperty']('howMany')&&!_0x353816['isInteger'](_0x568306['howMany'])?'howMany:\x20integer\x20expected':null!=_0x568306['wasUndone']&&_0x568306['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x568306['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x2d678f['fromObject']=function(_0x1353a9){if(_0x1353a9 instanceof _0x3a088f['MergeOperation'])return _0x1353a9;var _0x36f9bb=new _0x3a088f['MergeOperation']();if(null!=_0x1353a9['sourcePosition']){if('object'!=typeof _0x1353a9['sourcePosition'])throw TypeError('.MergeOperation.sourcePosition:\x20object\x20expected');_0x36f9bb['sourcePosition']=_0x3a088f['Position']['fromObject'](_0x1353a9['sourcePosition']);}if(null!=_0x1353a9['targetPosition']){if('object'!=typeof _0x1353a9['targetPosition'])throw TypeError('.MergeOperation.targetPosition:\x20object\x20expected');_0x36f9bb['targetPosition']=_0x3a088f['Position']['fromObject'](_0x1353a9['targetPosition']);}if(null!=_0x1353a9['graveyardPosition']){if('object'!=typeof _0x1353a9['graveyardPosition'])throw TypeError('.MergeOperation.graveyardPosition:\x20object\x20expected');_0x36f9bb['graveyardPosition']=_0x3a088f['Position']['fromObject'](_0x1353a9['graveyardPosition']);}return null!=_0x1353a9['howMany']&&(_0x36f9bb['howMany']=_0x1353a9['howMany']>>>0x0),null!=_0x1353a9['wasUndone']&&(_0x36f9bb['wasUndone']=Boolean(_0x1353a9['wasUndone'])),_0x36f9bb;},_0x2d678f['toObject']=function(_0x359fd8,_0x43cac3){_0x43cac3||(_0x43cac3={});var _0x231a14={};return _0x43cac3['defaults']&&(_0x231a14['sourcePosition']=null,_0x231a14['targetPosition']=null,_0x231a14['graveyardPosition']=null,_0x231a14['howMany']=0x0,_0x231a14['wasUndone']=!0x1),null!=_0x359fd8['sourcePosition']&&_0x359fd8['hasOwnProperty']('sourcePosition')&&(_0x231a14['sourcePosition']=_0x3a088f['Position']['toObject'](_0x359fd8['sourcePosition'],_0x43cac3)),null!=_0x359fd8['targetPosition']&&_0x359fd8['hasOwnProperty']('targetPosition')&&(_0x231a14['targetPosition']=_0x3a088f['Position']['toObject'](_0x359fd8['targetPosition'],_0x43cac3)),null!=_0x359fd8['graveyardPosition']&&_0x359fd8['hasOwnProperty']('graveyardPosition')&&(_0x231a14['graveyardPosition']=_0x3a088f['Position']['toObject'](_0x359fd8['graveyardPosition'],_0x43cac3)),null!=_0x359fd8['howMany']&&_0x359fd8['hasOwnProperty']('howMany')&&(_0x231a14['howMany']=_0x359fd8['howMany']),null!=_0x359fd8['wasUndone']&&_0x359fd8['hasOwnProperty']('wasUndone')&&(_0x231a14['wasUndone']=_0x359fd8['wasUndone']),_0x231a14;},_0x2d678f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2d678f['getTypeUrl']=function(_0x20c06d){return void 0x0===_0x20c06d&&(_0x20c06d='type.googleapis.com'),_0x20c06d+'/MergeOperation';},_0x2d678f;}()),_0x3a088f['MoveOperation']=(function(){function _0xb440c4(_0x6b6feb){if(_0x6b6feb){for(var _0x18cadb=Object['keys'](_0x6b6feb),_0x10b634=0x0;_0x10b634<_0x18cadb['length'];++_0x10b634)null!=_0x6b6feb[_0x18cadb[_0x10b634]]&&(this[_0x18cadb[_0x10b634]]=_0x6b6feb[_0x18cadb[_0x10b634]]);}}return _0xb440c4['prototype']['sourcePosition']=null,_0xb440c4['prototype']['howMany']=0x0,_0xb440c4['prototype']['targetPosition']=null,_0xb440c4['prototype']['wasUndone']=!0x1,_0xb440c4['create']=function(_0xb7e3be){return new _0xb440c4(_0xb7e3be);},_0xb440c4['encode']=function(_0x578a7b,_0x104c1){return _0x104c1||(_0x104c1=_0x2746d4['create']()),null!=_0x578a7b['sourcePosition']&&Object['hasOwnProperty']['call'](_0x578a7b,'sourcePosition')&&_0x3a088f['Position']['encode'](_0x578a7b['sourcePosition'],_0x104c1['uint32'](0xa)['fork']())['ldelim'](),null!=_0x578a7b['howMany']&&Object['hasOwnProperty']['call'](_0x578a7b,'howMany')&&_0x104c1['uint32'](0x10)['uint32'](_0x578a7b['howMany']),null!=_0x578a7b['targetPosition']&&Object['hasOwnProperty']['call'](_0x578a7b,'targetPosition')&&_0x3a088f['Position']['encode'](_0x578a7b['targetPosition'],_0x104c1['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x578a7b['wasUndone']&&Object['hasOwnProperty']['call'](_0x578a7b,'wasUndone')&&_0x104c1['uint32'](0x20)['bool'](_0x578a7b['wasUndone']),_0x104c1;},_0xb440c4['encodeDelimited']=function(_0x25ecd2,_0x1d6be5){return this['encode'](_0x25ecd2,_0x1d6be5)['ldelim']();},_0xb440c4['decode']=function(_0xe1a75c,_0x4028ca){_0xe1a75c instanceof _0x34f31b||(_0xe1a75c=_0x34f31b['create'](_0xe1a75c));for(var _0x4abaa3=void 0x0===_0x4028ca?_0xe1a75c['len']:_0xe1a75c['pos']+_0x4028ca,_0x390719=new _0x3a088f['MoveOperation']();_0xe1a75c['pos']<_0x4abaa3;){var _0x2d280f=_0xe1a75c['uint32']();switch(_0x2d280f>>>0x3){case 0x1:_0x390719['sourcePosition']=_0x3a088f['Position']['decode'](_0xe1a75c,_0xe1a75c['uint32']());break;case 0x2:_0x390719['howMany']=_0xe1a75c['uint32']();break;case 0x3:_0x390719['targetPosition']=_0x3a088f['Position']['decode'](_0xe1a75c,_0xe1a75c['uint32']());break;case 0x4:_0x390719['wasUndone']=_0xe1a75c['bool']();break;default:_0xe1a75c['skipType'](0x7&_0x2d280f);}}return _0x390719;},_0xb440c4['decodeDelimited']=function(_0x594245){return _0x594245 instanceof _0x34f31b||(_0x594245=new _0x34f31b(_0x594245)),this['decode'](_0x594245,_0x594245['uint32']());},_0xb440c4['verify']=function(_0x56e5b1){if('object'!=typeof _0x56e5b1||null===_0x56e5b1)return'object\x20expected';var _0x456a34;if(null!=_0x56e5b1['sourcePosition']&&_0x56e5b1['hasOwnProperty']('sourcePosition')&&(_0x456a34=_0x3a088f['Position']['verify'](_0x56e5b1['sourcePosition'])))return'sourcePosition.'+_0x456a34;if(null!=_0x56e5b1['howMany']&&_0x56e5b1['hasOwnProperty']('howMany')&&!_0x353816['isInteger'](_0x56e5b1['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x56e5b1['targetPosition']&&_0x56e5b1['hasOwnProperty']('targetPosition')&&(_0x456a34=_0x3a088f['Position']['verify'](_0x56e5b1['targetPosition'])))return'targetPosition.'+_0x456a34;return null!=_0x56e5b1['wasUndone']&&_0x56e5b1['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x56e5b1['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0xb440c4['fromObject']=function(_0x1df856){if(_0x1df856 instanceof _0x3a088f['MoveOperation'])return _0x1df856;var _0xa78f2=new _0x3a088f['MoveOperation']();if(null!=_0x1df856['sourcePosition']){if('object'!=typeof _0x1df856['sourcePosition'])throw TypeError('.MoveOperation.sourcePosition:\x20object\x20expected');_0xa78f2['sourcePosition']=_0x3a088f['Position']['fromObject'](_0x1df856['sourcePosition']);}if(null!=_0x1df856['howMany']&&(_0xa78f2['howMany']=_0x1df856['howMany']>>>0x0),null!=_0x1df856['targetPosition']){if('object'!=typeof _0x1df856['targetPosition'])throw TypeError('.MoveOperation.targetPosition:\x20object\x20expected');_0xa78f2['targetPosition']=_0x3a088f['Position']['fromObject'](_0x1df856['targetPosition']);}return null!=_0x1df856['wasUndone']&&(_0xa78f2['wasUndone']=Boolean(_0x1df856['wasUndone'])),_0xa78f2;},_0xb440c4['toObject']=function(_0x5aff0e,_0x2e291f){_0x2e291f||(_0x2e291f={});var _0x15d08f={};return _0x2e291f['defaults']&&(_0x15d08f['sourcePosition']=null,_0x15d08f['howMany']=0x0,_0x15d08f['targetPosition']=null,_0x15d08f['wasUndone']=!0x1),null!=_0x5aff0e['sourcePosition']&&_0x5aff0e['hasOwnProperty']('sourcePosition')&&(_0x15d08f['sourcePosition']=_0x3a088f['Position']['toObject'](_0x5aff0e['sourcePosition'],_0x2e291f)),null!=_0x5aff0e['howMany']&&_0x5aff0e['hasOwnProperty']('howMany')&&(_0x15d08f['howMany']=_0x5aff0e['howMany']),null!=_0x5aff0e['targetPosition']&&_0x5aff0e['hasOwnProperty']('targetPosition')&&(_0x15d08f['targetPosition']=_0x3a088f['Position']['toObject'](_0x5aff0e['targetPosition'],_0x2e291f)),null!=_0x5aff0e['wasUndone']&&_0x5aff0e['hasOwnProperty']('wasUndone')&&(_0x15d08f['wasUndone']=_0x5aff0e['wasUndone']),_0x15d08f;},_0xb440c4['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0xb440c4['getTypeUrl']=function(_0x4d94c0){return void 0x0===_0x4d94c0&&(_0x4d94c0='type.googleapis.com'),_0x4d94c0+'/MoveOperation';},_0xb440c4;}()),_0x3a088f['RenameOperation']=(function(){function _0x22fa56(_0x27746){if(_0x27746){for(var _0x31daca=Object['keys'](_0x27746),_0x162b45=0x0;_0x162b45<_0x31daca['length'];++_0x162b45)null!=_0x27746[_0x31daca[_0x162b45]]&&(this[_0x31daca[_0x162b45]]=_0x27746[_0x31daca[_0x162b45]]);}}return _0x22fa56['prototype']['position']=null,_0x22fa56['prototype']['oldName']='',_0x22fa56['prototype']['newName']='',_0x22fa56['prototype']['wasUndone']=!0x1,_0x22fa56['create']=function(_0x5c77c0){return new _0x22fa56(_0x5c77c0);},_0x22fa56['encode']=function(_0x47850f,_0x10899f){return _0x10899f||(_0x10899f=_0x2746d4['create']()),null!=_0x47850f['position']&&Object['hasOwnProperty']['call'](_0x47850f,'position')&&_0x3a088f['Position']['encode'](_0x47850f['position'],_0x10899f['uint32'](0xa)['fork']())['ldelim'](),null!=_0x47850f['oldName']&&Object['hasOwnProperty']['call'](_0x47850f,'oldName')&&_0x10899f['uint32'](0x12)['string'](_0x47850f['oldName']),null!=_0x47850f['newName']&&Object['hasOwnProperty']['call'](_0x47850f,'newName')&&_0x10899f['uint32'](0x1a)['string'](_0x47850f['newName']),null!=_0x47850f['wasUndone']&&Object['hasOwnProperty']['call'](_0x47850f,'wasUndone')&&_0x10899f['uint32'](0x20)['bool'](_0x47850f['wasUndone']),_0x10899f;},_0x22fa56['encodeDelimited']=function(_0x13052d,_0x5d3eab){return this['encode'](_0x13052d,_0x5d3eab)['ldelim']();},_0x22fa56['decode']=function(_0xc87412,_0x4d443d){_0xc87412 instanceof _0x34f31b||(_0xc87412=_0x34f31b['create'](_0xc87412));for(var _0x4215ce=void 0x0===_0x4d443d?_0xc87412['len']:_0xc87412['pos']+_0x4d443d,_0x23060d=new _0x3a088f['RenameOperation']();_0xc87412['pos']<_0x4215ce;){var _0x533902=_0xc87412['uint32']();switch(_0x533902>>>0x3){case 0x1:_0x23060d['position']=_0x3a088f['Position']['decode'](_0xc87412,_0xc87412['uint32']());break;case 0x2:_0x23060d['oldName']=_0xc87412['string']();break;case 0x3:_0x23060d['newName']=_0xc87412['string']();break;case 0x4:_0x23060d['wasUndone']=_0xc87412['bool']();break;default:_0xc87412['skipType'](0x7&_0x533902);}}return _0x23060d;},_0x22fa56['decodeDelimited']=function(_0x125f9c){return _0x125f9c instanceof _0x34f31b||(_0x125f9c=new _0x34f31b(_0x125f9c)),this['decode'](_0x125f9c,_0x125f9c['uint32']());},_0x22fa56['verify']=function(_0x418488){if('object'!=typeof _0x418488||null===_0x418488)return'object\x20expected';if(null!=_0x418488['position']&&_0x418488['hasOwnProperty']('position')){var _0x12964e=_0x3a088f['Position']['verify'](_0x418488['position']);if(_0x12964e)return'position.'+_0x12964e;}return null!=_0x418488['oldName']&&_0x418488['hasOwnProperty']('oldName')&&!_0x353816['isString'](_0x418488['oldName'])?'oldName:\x20string\x20expected':null!=_0x418488['newName']&&_0x418488['hasOwnProperty']('newName')&&!_0x353816['isString'](_0x418488['newName'])?'newName:\x20string\x20expected':null!=_0x418488['wasUndone']&&_0x418488['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x418488['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x22fa56['fromObject']=function(_0x4eed1d){if(_0x4eed1d instanceof _0x3a088f['RenameOperation'])return _0x4eed1d;var _0x32f769=new _0x3a088f['RenameOperation']();if(null!=_0x4eed1d['position']){if('object'!=typeof _0x4eed1d['position'])throw TypeError('.RenameOperation.position:\x20object\x20expected');_0x32f769['position']=_0x3a088f['Position']['fromObject'](_0x4eed1d['position']);}return null!=_0x4eed1d['oldName']&&(_0x32f769['oldName']=String(_0x4eed1d['oldName'])),null!=_0x4eed1d['newName']&&(_0x32f769['newName']=String(_0x4eed1d['newName'])),null!=_0x4eed1d['wasUndone']&&(_0x32f769['wasUndone']=Boolean(_0x4eed1d['wasUndone'])),_0x32f769;},_0x22fa56['toObject']=function(_0x56ed9f,_0x78e7cf){_0x78e7cf||(_0x78e7cf={});var _0x178e79={};return _0x78e7cf['defaults']&&(_0x178e79['position']=null,_0x178e79['oldName']='',_0x178e79['newName']='',_0x178e79['wasUndone']=!0x1),null!=_0x56ed9f['position']&&_0x56ed9f['hasOwnProperty']('position')&&(_0x178e79['position']=_0x3a088f['Position']['toObject'](_0x56ed9f['position'],_0x78e7cf)),null!=_0x56ed9f['oldName']&&_0x56ed9f['hasOwnProperty']('oldName')&&(_0x178e79['oldName']=_0x56ed9f['oldName']),null!=_0x56ed9f['newName']&&_0x56ed9f['hasOwnProperty']('newName')&&(_0x178e79['newName']=_0x56ed9f['newName']),null!=_0x56ed9f['wasUndone']&&_0x56ed9f['hasOwnProperty']('wasUndone')&&(_0x178e79['wasUndone']=_0x56ed9f['wasUndone']),_0x178e79;},_0x22fa56['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x22fa56['getTypeUrl']=function(_0x4ffd50){return void 0x0===_0x4ffd50&&(_0x4ffd50='type.googleapis.com'),_0x4ffd50+'/RenameOperation';},_0x22fa56;}()),_0x3a088f['RootAttributeOperation']=(function(){function _0x1feaf6(_0x477529){if(_0x477529){for(var _0x3a066d=Object['keys'](_0x477529),_0x47ccfb=0x0;_0x47ccfb<_0x3a066d['length'];++_0x47ccfb)null!=_0x477529[_0x3a066d[_0x47ccfb]]&&(this[_0x3a066d[_0x47ccfb]]=_0x477529[_0x3a066d[_0x47ccfb]]);}}return _0x1feaf6['prototype']['root']='',_0x1feaf6['prototype']['key']='',_0x1feaf6['prototype']['oldValueBoolean']=!0x1,_0x1feaf6['prototype']['oldValueJson']='',_0x1feaf6['prototype']['newValueBoolean']=!0x1,_0x1feaf6['prototype']['newValueJson']='',_0x1feaf6['prototype']['wasUndone']=!0x1,_0x1feaf6['create']=function(_0x5331a4){return new _0x1feaf6(_0x5331a4);},_0x1feaf6['encode']=function(_0x35b9aa,_0x223887){return _0x223887||(_0x223887=_0x2746d4['create']()),null!=_0x35b9aa['root']&&Object['hasOwnProperty']['call'](_0x35b9aa,'root')&&_0x223887['uint32'](0xa)['string'](_0x35b9aa['root']),null!=_0x35b9aa['key']&&Object['hasOwnProperty']['call'](_0x35b9aa,'key')&&_0x223887['uint32'](0x12)['string'](_0x35b9aa['key']),null!=_0x35b9aa['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x35b9aa,'oldValueBoolean')&&_0x223887['uint32'](0x18)['bool'](_0x35b9aa['oldValueBoolean']),null!=_0x35b9aa['oldValueJson']&&Object['hasOwnProperty']['call'](_0x35b9aa,'oldValueJson')&&_0x223887['uint32'](0x22)['string'](_0x35b9aa['oldValueJson']),null!=_0x35b9aa['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x35b9aa,'newValueBoolean')&&_0x223887['uint32'](0x28)['bool'](_0x35b9aa['newValueBoolean']),null!=_0x35b9aa['newValueJson']&&Object['hasOwnProperty']['call'](_0x35b9aa,'newValueJson')&&_0x223887['uint32'](0x32)['string'](_0x35b9aa['newValueJson']),null!=_0x35b9aa['wasUndone']&&Object['hasOwnProperty']['call'](_0x35b9aa,'wasUndone')&&_0x223887['uint32'](0x38)['bool'](_0x35b9aa['wasUndone']),_0x223887;},_0x1feaf6['encodeDelimited']=function(_0x372c79,_0x309b6b){return this['encode'](_0x372c79,_0x309b6b)['ldelim']();},_0x1feaf6['decode']=function(_0x46f7d6,_0x18828d){_0x46f7d6 instanceof _0x34f31b||(_0x46f7d6=_0x34f31b['create'](_0x46f7d6));for(var _0x37bd28=void 0x0===_0x18828d?_0x46f7d6['len']:_0x46f7d6['pos']+_0x18828d,_0x2a7161=new _0x3a088f['RootAttributeOperation']();_0x46f7d6['pos']<_0x37bd28;){var _0x440539=_0x46f7d6['uint32']();switch(_0x440539>>>0x3){case 0x1:_0x2a7161['root']=_0x46f7d6['string']();break;case 0x2:_0x2a7161['key']=_0x46f7d6['string']();break;case 0x3:_0x2a7161['oldValueBoolean']=_0x46f7d6['bool']();break;case 0x4:_0x2a7161['oldValueJson']=_0x46f7d6['string']();break;case 0x5:_0x2a7161['newValueBoolean']=_0x46f7d6['bool']();break;case 0x6:_0x2a7161['newValueJson']=_0x46f7d6['string']();break;case 0x7:_0x2a7161['wasUndone']=_0x46f7d6['bool']();break;default:_0x46f7d6['skipType'](0x7&_0x440539);}}return _0x2a7161;},_0x1feaf6['decodeDelimited']=function(_0x17dc98){return _0x17dc98 instanceof _0x34f31b||(_0x17dc98=new _0x34f31b(_0x17dc98)),this['decode'](_0x17dc98,_0x17dc98['uint32']());},_0x1feaf6['verify']=function(_0x5b711c){return'object'!=typeof _0x5b711c||null===_0x5b711c?'object\x20expected':null!=_0x5b711c['root']&&_0x5b711c['hasOwnProperty']('root')&&!_0x353816['isString'](_0x5b711c['root'])?'root:\x20string\x20expected':null!=_0x5b711c['key']&&_0x5b711c['hasOwnProperty']('key')&&!_0x353816['isString'](_0x5b711c['key'])?'key:\x20string\x20expected':null!=_0x5b711c['oldValueBoolean']&&_0x5b711c['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x5b711c['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x5b711c['oldValueJson']&&_0x5b711c['hasOwnProperty']('oldValueJson')&&!_0x353816['isString'](_0x5b711c['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x5b711c['newValueBoolean']&&_0x5b711c['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x5b711c['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x5b711c['newValueJson']&&_0x5b711c['hasOwnProperty']('newValueJson')&&!_0x353816['isString'](_0x5b711c['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x5b711c['wasUndone']&&_0x5b711c['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x5b711c['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x1feaf6['fromObject']=function(_0x43bcf8){if(_0x43bcf8 instanceof _0x3a088f['RootAttributeOperation'])return _0x43bcf8;var _0x5b02d8=new _0x3a088f['RootAttributeOperation']();return null!=_0x43bcf8['root']&&(_0x5b02d8['root']=String(_0x43bcf8['root'])),null!=_0x43bcf8['key']&&(_0x5b02d8['key']=String(_0x43bcf8['key'])),null!=_0x43bcf8['oldValueBoolean']&&(_0x5b02d8['oldValueBoolean']=Boolean(_0x43bcf8['oldValueBoolean'])),null!=_0x43bcf8['oldValueJson']&&(_0x5b02d8['oldValueJson']=String(_0x43bcf8['oldValueJson'])),null!=_0x43bcf8['newValueBoolean']&&(_0x5b02d8['newValueBoolean']=Boolean(_0x43bcf8['newValueBoolean'])),null!=_0x43bcf8['newValueJson']&&(_0x5b02d8['newValueJson']=String(_0x43bcf8['newValueJson'])),null!=_0x43bcf8['wasUndone']&&(_0x5b02d8['wasUndone']=Boolean(_0x43bcf8['wasUndone'])),_0x5b02d8;},_0x1feaf6['toObject']=function(_0x299623,_0x4852cb){_0x4852cb||(_0x4852cb={});var _0x4ea3d0={};return _0x4852cb['defaults']&&(_0x4ea3d0['root']='',_0x4ea3d0['key']='',_0x4ea3d0['oldValueBoolean']=!0x1,_0x4ea3d0['oldValueJson']='',_0x4ea3d0['newValueBoolean']=!0x1,_0x4ea3d0['newValueJson']='',_0x4ea3d0['wasUndone']=!0x1),null!=_0x299623['root']&&_0x299623['hasOwnProperty']('root')&&(_0x4ea3d0['root']=_0x299623['root']),null!=_0x299623['key']&&_0x299623['hasOwnProperty']('key')&&(_0x4ea3d0['key']=_0x299623['key']),null!=_0x299623['oldValueBoolean']&&_0x299623['hasOwnProperty']('oldValueBoolean')&&(_0x4ea3d0['oldValueBoolean']=_0x299623['oldValueBoolean']),null!=_0x299623['oldValueJson']&&_0x299623['hasOwnProperty']('oldValueJson')&&(_0x4ea3d0['oldValueJson']=_0x299623['oldValueJson']),null!=_0x299623['newValueBoolean']&&_0x299623['hasOwnProperty']('newValueBoolean')&&(_0x4ea3d0['newValueBoolean']=_0x299623['newValueBoolean']),null!=_0x299623['newValueJson']&&_0x299623['hasOwnProperty']('newValueJson')&&(_0x4ea3d0['newValueJson']=_0x299623['newValueJson']),null!=_0x299623['wasUndone']&&_0x299623['hasOwnProperty']('wasUndone')&&(_0x4ea3d0['wasUndone']=_0x299623['wasUndone']),_0x4ea3d0;},_0x1feaf6['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1feaf6['getTypeUrl']=function(_0x5e0133){return void 0x0===_0x5e0133&&(_0x5e0133='type.googleapis.com'),_0x5e0133+'/RootAttributeOperation';},_0x1feaf6;}()),_0x3a088f['RootOperation']=(function(){function _0xc15b00(_0x1538fb){if(_0x1538fb){for(var _0x31d63b=Object['keys'](_0x1538fb),_0x5f1379=0x0;_0x5f1379<_0x31d63b['length'];++_0x5f1379)null!=_0x1538fb[_0x31d63b[_0x5f1379]]&&(this[_0x31d63b[_0x5f1379]]=_0x1538fb[_0x31d63b[_0x5f1379]]);}}return _0xc15b00['prototype']['rootName']='',_0xc15b00['prototype']['elementName']='',_0xc15b00['prototype']['isAdd']=!0x1,_0xc15b00['prototype']['wasUndone']=!0x1,_0xc15b00['create']=function(_0x416089){return new _0xc15b00(_0x416089);},_0xc15b00['encode']=function(_0x335661,_0x408c93){return _0x408c93||(_0x408c93=_0x2746d4['create']()),null!=_0x335661['rootName']&&Object['hasOwnProperty']['call'](_0x335661,'rootName')&&_0x408c93['uint32'](0xa)['string'](_0x335661['rootName']),null!=_0x335661['elementName']&&Object['hasOwnProperty']['call'](_0x335661,'elementName')&&_0x408c93['uint32'](0x12)['string'](_0x335661['elementName']),null!=_0x335661['isAdd']&&Object['hasOwnProperty']['call'](_0x335661,'isAdd')&&_0x408c93['uint32'](0x18)['bool'](_0x335661['isAdd']),null!=_0x335661['wasUndone']&&Object['hasOwnProperty']['call'](_0x335661,'wasUndone')&&_0x408c93['uint32'](0x20)['bool'](_0x335661['wasUndone']),_0x408c93;},_0xc15b00['encodeDelimited']=function(_0xcccd8a,_0x18c754){return this['encode'](_0xcccd8a,_0x18c754)['ldelim']();},_0xc15b00['decode']=function(_0x105be1,_0x2ae405){_0x105be1 instanceof _0x34f31b||(_0x105be1=_0x34f31b['create'](_0x105be1));for(var _0x5d6637=void 0x0===_0x2ae405?_0x105be1['len']:_0x105be1['pos']+_0x2ae405,_0x5c114c=new _0x3a088f['RootOperation']();_0x105be1['pos']<_0x5d6637;){var _0x29bca5=_0x105be1['uint32']();switch(_0x29bca5>>>0x3){case 0x1:_0x5c114c['rootName']=_0x105be1['string']();break;case 0x2:_0x5c114c['elementName']=_0x105be1['string']();break;case 0x3:_0x5c114c['isAdd']=_0x105be1['bool']();break;case 0x4:_0x5c114c['wasUndone']=_0x105be1['bool']();break;default:_0x105be1['skipType'](0x7&_0x29bca5);}}return _0x5c114c;},_0xc15b00['decodeDelimited']=function(_0x280905){return _0x280905 instanceof _0x34f31b||(_0x280905=new _0x34f31b(_0x280905)),this['decode'](_0x280905,_0x280905['uint32']());},_0xc15b00['verify']=function(_0x12e130){return'object'!=typeof _0x12e130||null===_0x12e130?'object\x20expected':null!=_0x12e130['rootName']&&_0x12e130['hasOwnProperty']('rootName')&&!_0x353816['isString'](_0x12e130['rootName'])?'rootName:\x20string\x20expected':null!=_0x12e130['elementName']&&_0x12e130['hasOwnProperty']('elementName')&&!_0x353816['isString'](_0x12e130['elementName'])?'elementName:\x20string\x20expected':null!=_0x12e130['isAdd']&&_0x12e130['hasOwnProperty']('isAdd')&&'boolean'!=typeof _0x12e130['isAdd']?'isAdd:\x20boolean\x20expected':null!=_0x12e130['wasUndone']&&_0x12e130['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x12e130['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0xc15b00['fromObject']=function(_0xfd88e6){if(_0xfd88e6 instanceof _0x3a088f['RootOperation'])return _0xfd88e6;var _0x55a622=new _0x3a088f['RootOperation']();return null!=_0xfd88e6['rootName']&&(_0x55a622['rootName']=String(_0xfd88e6['rootName'])),null!=_0xfd88e6['elementName']&&(_0x55a622['elementName']=String(_0xfd88e6['elementName'])),null!=_0xfd88e6['isAdd']&&(_0x55a622['isAdd']=Boolean(_0xfd88e6['isAdd'])),null!=_0xfd88e6['wasUndone']&&(_0x55a622['wasUndone']=Boolean(_0xfd88e6['wasUndone'])),_0x55a622;},_0xc15b00['toObject']=function(_0xd2763a,_0x1fada3){_0x1fada3||(_0x1fada3={});var _0x1c63be={};return _0x1fada3['defaults']&&(_0x1c63be['rootName']='',_0x1c63be['elementName']='',_0x1c63be['isAdd']=!0x1,_0x1c63be['wasUndone']=!0x1),null!=_0xd2763a['rootName']&&_0xd2763a['hasOwnProperty']('rootName')&&(_0x1c63be['rootName']=_0xd2763a['rootName']),null!=_0xd2763a['elementName']&&_0xd2763a['hasOwnProperty']('elementName')&&(_0x1c63be['elementName']=_0xd2763a['elementName']),null!=_0xd2763a['isAdd']&&_0xd2763a['hasOwnProperty']('isAdd')&&(_0x1c63be['isAdd']=_0xd2763a['isAdd']),null!=_0xd2763a['wasUndone']&&_0xd2763a['hasOwnProperty']('wasUndone')&&(_0x1c63be['wasUndone']=_0xd2763a['wasUndone']),_0x1c63be;},_0xc15b00['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0xc15b00['getTypeUrl']=function(_0x388285){return void 0x0===_0x388285&&(_0x388285='type.googleapis.com'),_0x388285+'/RootOperation';},_0xc15b00;}()),_0x3a088f['SplitOperation']=(function(){function _0x43bf0e(_0x2e6029){if(_0x2e6029){for(var _0x3ef71c=Object['keys'](_0x2e6029),_0x15ab94=0x0;_0x15ab94<_0x3ef71c['length'];++_0x15ab94)null!=_0x2e6029[_0x3ef71c[_0x15ab94]]&&(this[_0x3ef71c[_0x15ab94]]=_0x2e6029[_0x3ef71c[_0x15ab94]]);}}return _0x43bf0e['prototype']['splitPosition']=null,_0x43bf0e['prototype']['graveyardPosition']=null,_0x43bf0e['prototype']['howMany']=0x0,_0x43bf0e['prototype']['insertionPosition']=null,_0x43bf0e['prototype']['wasUndone']=!0x1,_0x43bf0e['create']=function(_0x327b62){return new _0x43bf0e(_0x327b62);},_0x43bf0e['encode']=function(_0x362c63,_0xade61b){return _0xade61b||(_0xade61b=_0x2746d4['create']()),null!=_0x362c63['splitPosition']&&Object['hasOwnProperty']['call'](_0x362c63,'splitPosition')&&_0x3a088f['Position']['encode'](_0x362c63['splitPosition'],_0xade61b['uint32'](0xa)['fork']())['ldelim'](),null!=_0x362c63['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x362c63,'graveyardPosition')&&_0x3a088f['Position']['encode'](_0x362c63['graveyardPosition'],_0xade61b['uint32'](0x12)['fork']())['ldelim'](),null!=_0x362c63['howMany']&&Object['hasOwnProperty']['call'](_0x362c63,'howMany')&&_0xade61b['uint32'](0x18)['uint32'](_0x362c63['howMany']),null!=_0x362c63['insertionPosition']&&Object['hasOwnProperty']['call'](_0x362c63,'insertionPosition')&&_0x3a088f['Position']['encode'](_0x362c63['insertionPosition'],_0xade61b['uint32'](0x22)['fork']())['ldelim'](),null!=_0x362c63['wasUndone']&&Object['hasOwnProperty']['call'](_0x362c63,'wasUndone')&&_0xade61b['uint32'](0x28)['bool'](_0x362c63['wasUndone']),_0xade61b;},_0x43bf0e['encodeDelimited']=function(_0x2fbe91,_0x29ad38){return this['encode'](_0x2fbe91,_0x29ad38)['ldelim']();},_0x43bf0e['decode']=function(_0xd77fea,_0x6119ca){_0xd77fea instanceof _0x34f31b||(_0xd77fea=_0x34f31b['create'](_0xd77fea));for(var _0x3be9af=void 0x0===_0x6119ca?_0xd77fea['len']:_0xd77fea['pos']+_0x6119ca,_0xab7082=new _0x3a088f['SplitOperation']();_0xd77fea['pos']<_0x3be9af;){var _0x2c65be=_0xd77fea['uint32']();switch(_0x2c65be>>>0x3){case 0x1:_0xab7082['splitPosition']=_0x3a088f['Position']['decode'](_0xd77fea,_0xd77fea['uint32']());break;case 0x2:_0xab7082['graveyardPosition']=_0x3a088f['Position']['decode'](_0xd77fea,_0xd77fea['uint32']());break;case 0x3:_0xab7082['howMany']=_0xd77fea['uint32']();break;case 0x4:_0xab7082['insertionPosition']=_0x3a088f['Position']['decode'](_0xd77fea,_0xd77fea['uint32']());break;case 0x5:_0xab7082['wasUndone']=_0xd77fea['bool']();break;default:_0xd77fea['skipType'](0x7&_0x2c65be);}}return _0xab7082;},_0x43bf0e['decodeDelimited']=function(_0x579964){return _0x579964 instanceof _0x34f31b||(_0x579964=new _0x34f31b(_0x579964)),this['decode'](_0x579964,_0x579964['uint32']());},_0x43bf0e['verify']=function(_0x2d6475){if('object'!=typeof _0x2d6475||null===_0x2d6475)return'object\x20expected';var _0x48482b;if(null!=_0x2d6475['splitPosition']&&_0x2d6475['hasOwnProperty']('splitPosition')&&(_0x48482b=_0x3a088f['Position']['verify'](_0x2d6475['splitPosition'])))return'splitPosition.'+_0x48482b;if(null!=_0x2d6475['graveyardPosition']&&_0x2d6475['hasOwnProperty']('graveyardPosition')&&(_0x48482b=_0x3a088f['Position']['verify'](_0x2d6475['graveyardPosition'])))return'graveyardPosition.'+_0x48482b;if(null!=_0x2d6475['howMany']&&_0x2d6475['hasOwnProperty']('howMany')&&!_0x353816['isInteger'](_0x2d6475['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x2d6475['insertionPosition']&&_0x2d6475['hasOwnProperty']('insertionPosition')&&(_0x48482b=_0x3a088f['Position']['verify'](_0x2d6475['insertionPosition'])))return'insertionPosition.'+_0x48482b;return null!=_0x2d6475['wasUndone']&&_0x2d6475['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x2d6475['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x43bf0e['fromObject']=function(_0x8a1ace){if(_0x8a1ace instanceof _0x3a088f['SplitOperation'])return _0x8a1ace;var _0x5b4431=new _0x3a088f['SplitOperation']();if(null!=_0x8a1ace['splitPosition']){if('object'!=typeof _0x8a1ace['splitPosition'])throw TypeError('.SplitOperation.splitPosition:\x20object\x20expected');_0x5b4431['splitPosition']=_0x3a088f['Position']['fromObject'](_0x8a1ace['splitPosition']);}if(null!=_0x8a1ace['graveyardPosition']){if('object'!=typeof _0x8a1ace['graveyardPosition'])throw TypeError('.SplitOperation.graveyardPosition:\x20object\x20expected');_0x5b4431['graveyardPosition']=_0x3a088f['Position']['fromObject'](_0x8a1ace['graveyardPosition']);}if(null!=_0x8a1ace['howMany']&&(_0x5b4431['howMany']=_0x8a1ace['howMany']>>>0x0),null!=_0x8a1ace['insertionPosition']){if('object'!=typeof _0x8a1ace['insertionPosition'])throw TypeError('.SplitOperation.insertionPosition:\x20object\x20expected');_0x5b4431['insertionPosition']=_0x3a088f['Position']['fromObject'](_0x8a1ace['insertionPosition']);}return null!=_0x8a1ace['wasUndone']&&(_0x5b4431['wasUndone']=Boolean(_0x8a1ace['wasUndone'])),_0x5b4431;},_0x43bf0e['toObject']=function(_0x414bcd,_0x5be369){_0x5be369||(_0x5be369={});var _0x14395a={};return _0x5be369['defaults']&&(_0x14395a['splitPosition']=null,_0x14395a['graveyardPosition']=null,_0x14395a['howMany']=0x0,_0x14395a['insertionPosition']=null,_0x14395a['wasUndone']=!0x1),null!=_0x414bcd['splitPosition']&&_0x414bcd['hasOwnProperty']('splitPosition')&&(_0x14395a['splitPosition']=_0x3a088f['Position']['toObject'](_0x414bcd['splitPosition'],_0x5be369)),null!=_0x414bcd['graveyardPosition']&&_0x414bcd['hasOwnProperty']('graveyardPosition')&&(_0x14395a['graveyardPosition']=_0x3a088f['Position']['toObject'](_0x414bcd['graveyardPosition'],_0x5be369)),null!=_0x414bcd['howMany']&&_0x414bcd['hasOwnProperty']('howMany')&&(_0x14395a['howMany']=_0x414bcd['howMany']),null!=_0x414bcd['insertionPosition']&&_0x414bcd['hasOwnProperty']('insertionPosition')&&(_0x14395a['insertionPosition']=_0x3a088f['Position']['toObject'](_0x414bcd['insertionPosition'],_0x5be369)),null!=_0x414bcd['wasUndone']&&_0x414bcd['hasOwnProperty']('wasUndone')&&(_0x14395a['wasUndone']=_0x414bcd['wasUndone']),_0x14395a;},_0x43bf0e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x43bf0e['getTypeUrl']=function(_0x14c15a){return void 0x0===_0x14c15a&&(_0x14c15a='type.googleapis.com'),_0x14c15a+'/SplitOperation';},_0x43bf0e;}()),_0x3a088f['Position']=(function(){function _0x3535f8(_0x4f43a7){if(this['path']=[],_0x4f43a7){for(var _0x14779a=Object['keys'](_0x4f43a7),_0x139233=0x0;_0x139233<_0x14779a['length'];++_0x139233)null!=_0x4f43a7[_0x14779a[_0x139233]]&&(this[_0x14779a[_0x139233]]=_0x4f43a7[_0x14779a[_0x139233]]);}}return _0x3535f8['prototype']['root']='',_0x3535f8['prototype']['rootMain']=!0x1,_0x3535f8['prototype']['rootGraveyard']=!0x1,_0x3535f8['prototype']['path']=_0x353816['emptyArray'],_0x3535f8['prototype']['stickiness']='',_0x3535f8['create']=function(_0x27ceb3){return new _0x3535f8(_0x27ceb3);},_0x3535f8['encode']=function(_0x2828c4,_0x293eb2){if(_0x293eb2||(_0x293eb2=_0x2746d4['create']()),null!=_0x2828c4['root']&&Object['hasOwnProperty']['call'](_0x2828c4,'root')&&_0x293eb2['uint32'](0xa)['string'](_0x2828c4['root']),null!=_0x2828c4['rootMain']&&Object['hasOwnProperty']['call'](_0x2828c4,'rootMain')&&_0x293eb2['uint32'](0x10)['bool'](_0x2828c4['rootMain']),null!=_0x2828c4['rootGraveyard']&&Object['hasOwnProperty']['call'](_0x2828c4,'rootGraveyard')&&_0x293eb2['uint32'](0x18)['bool'](_0x2828c4['rootGraveyard']),null!=_0x2828c4['path']&&_0x2828c4['path']['length']){_0x293eb2['uint32'](0x22)['fork']();for(var _0x4652d7=0x0;_0x4652d7<_0x2828c4['path']['length'];++_0x4652d7)_0x293eb2['uint32'](_0x2828c4['path'][_0x4652d7]);_0x293eb2['ldelim']();}return null!=_0x2828c4['stickiness']&&Object['hasOwnProperty']['call'](_0x2828c4,'stickiness')&&_0x293eb2['uint32'](0x2a)['string'](_0x2828c4['stickiness']),_0x293eb2;},_0x3535f8['encodeDelimited']=function(_0x35a3aa,_0x5e9ef5){return this['encode'](_0x35a3aa,_0x5e9ef5)['ldelim']();},_0x3535f8['decode']=function(_0x353b36,_0x2fcd3f){_0x353b36 instanceof _0x34f31b||(_0x353b36=_0x34f31b['create'](_0x353b36));for(var _0x1d156a=void 0x0===_0x2fcd3f?_0x353b36['len']:_0x353b36['pos']+_0x2fcd3f,_0x3d8dd7=new _0x3a088f['Position']();_0x353b36['pos']<_0x1d156a;){var _0x154006=_0x353b36['uint32']();switch(_0x154006>>>0x3){case 0x1:_0x3d8dd7['root']=_0x353b36['string']();break;case 0x2:_0x3d8dd7['rootMain']=_0x353b36['bool']();break;case 0x3:_0x3d8dd7['rootGraveyard']=_0x353b36['bool']();break;case 0x4:if(_0x3d8dd7['path']&&_0x3d8dd7['path']['length']||(_0x3d8dd7['path']=[]),0x2==(0x7&_0x154006)){for(var _0x1d47e5=_0x353b36['uint32']()+_0x353b36['pos'];_0x353b36['pos']<_0x1d47e5;)_0x3d8dd7['path']['push'](_0x353b36['uint32']());}else _0x3d8dd7['path']['push'](_0x353b36['uint32']());break;case 0x5:_0x3d8dd7['stickiness']=_0x353b36['string']();break;default:_0x353b36['skipType'](0x7&_0x154006);}}return _0x3d8dd7;},_0x3535f8['decodeDelimited']=function(_0x29977d){return _0x29977d instanceof _0x34f31b||(_0x29977d=new _0x34f31b(_0x29977d)),this['decode'](_0x29977d,_0x29977d['uint32']());},_0x3535f8['verify']=function(_0x214531){if('object'!=typeof _0x214531||null===_0x214531)return'object\x20expected';if(null!=_0x214531['root']&&_0x214531['hasOwnProperty']('root')&&!_0x353816['isString'](_0x214531['root']))return'root:\x20string\x20expected';if(null!=_0x214531['rootMain']&&_0x214531['hasOwnProperty']('rootMain')&&'boolean'!=typeof _0x214531['rootMain'])return'rootMain:\x20boolean\x20expected';if(null!=_0x214531['rootGraveyard']&&_0x214531['hasOwnProperty']('rootGraveyard')&&'boolean'!=typeof _0x214531['rootGraveyard'])return'rootGraveyard:\x20boolean\x20expected';if(null!=_0x214531['path']&&_0x214531['hasOwnProperty']('path')){if(!Array['isArray'](_0x214531['path']))return'path:\x20array\x20expected';for(var _0x53c73b=0x0;_0x53c73b<_0x214531['path']['length'];++_0x53c73b)if(!_0x353816['isInteger'](_0x214531['path'][_0x53c73b]))return'path:\x20integer[]\x20expected';}return null!=_0x214531['stickiness']&&_0x214531['hasOwnProperty']('stickiness')&&!_0x353816['isString'](_0x214531['stickiness'])?'stickiness:\x20string\x20expected':null;},_0x3535f8['fromObject']=function(_0x5d186d){if(_0x5d186d instanceof _0x3a088f['Position'])return _0x5d186d;var _0x1ffea2=new _0x3a088f['Position']();if(null!=_0x5d186d['root']&&(_0x1ffea2['root']=String(_0x5d186d['root'])),null!=_0x5d186d['rootMain']&&(_0x1ffea2['rootMain']=Boolean(_0x5d186d['rootMain'])),null!=_0x5d186d['rootGraveyard']&&(_0x1ffea2['rootGraveyard']=Boolean(_0x5d186d['rootGraveyard'])),_0x5d186d['path']){if(!Array['isArray'](_0x5d186d['path']))throw TypeError('.Position.path:\x20array\x20expected');_0x1ffea2['path']=[];for(var _0x5cdc86=0x0;_0x5cdc86<_0x5d186d['path']['length'];++_0x5cdc86)_0x1ffea2['path'][_0x5cdc86]=_0x5d186d['path'][_0x5cdc86]>>>0x0;}return null!=_0x5d186d['stickiness']&&(_0x1ffea2['stickiness']=String(_0x5d186d['stickiness'])),_0x1ffea2;},_0x3535f8['toObject']=function(_0x16a464,_0x41ea9f){_0x41ea9f||(_0x41ea9f={});var _0x9f1db2={};if((_0x41ea9f['arrays']||_0x41ea9f['defaults'])&&(_0x9f1db2['path']=[]),_0x41ea9f['defaults']&&(_0x9f1db2['root']='',_0x9f1db2['rootMain']=!0x1,_0x9f1db2['rootGraveyard']=!0x1,_0x9f1db2['stickiness']=''),null!=_0x16a464['root']&&_0x16a464['hasOwnProperty']('root')&&(_0x9f1db2['root']=_0x16a464['root']),null!=_0x16a464['rootMain']&&_0x16a464['hasOwnProperty']('rootMain')&&(_0x9f1db2['rootMain']=_0x16a464['rootMain']),null!=_0x16a464['rootGraveyard']&&_0x16a464['hasOwnProperty']('rootGraveyard')&&(_0x9f1db2['rootGraveyard']=_0x16a464['rootGraveyard']),_0x16a464['path']&&_0x16a464['path']['length']){_0x9f1db2['path']=[];for(var _0x403d4c=0x0;_0x403d4c<_0x16a464['path']['length'];++_0x403d4c)_0x9f1db2['path'][_0x403d4c]=_0x16a464['path'][_0x403d4c];}return null!=_0x16a464['stickiness']&&_0x16a464['hasOwnProperty']('stickiness')&&(_0x9f1db2['stickiness']=_0x16a464['stickiness']),_0x9f1db2;},_0x3535f8['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x3535f8['getTypeUrl']=function(_0x50a9b3){return void 0x0===_0x50a9b3&&(_0x50a9b3='type.googleapis.com'),_0x50a9b3+'/Position';},_0x3535f8;}()),_0x3a088f['Range']=(function(){function _0x25d36f(_0x362f75){if(_0x362f75){for(var _0x273eb5=Object['keys'](_0x362f75),_0x577cf3=0x0;_0x577cf3<_0x273eb5['length'];++_0x577cf3)null!=_0x362f75[_0x273eb5[_0x577cf3]]&&(this[_0x273eb5[_0x577cf3]]=_0x362f75[_0x273eb5[_0x577cf3]]);}}return _0x25d36f['prototype']['start']=null,_0x25d36f['prototype']['end']=null,_0x25d36f['create']=function(_0x1b95ba){return new _0x25d36f(_0x1b95ba);},_0x25d36f['encode']=function(_0x5ef6aa,_0x257bf7){return _0x257bf7||(_0x257bf7=_0x2746d4['create']()),null!=_0x5ef6aa['start']&&Object['hasOwnProperty']['call'](_0x5ef6aa,'start')&&_0x3a088f['Position']['encode'](_0x5ef6aa['start'],_0x257bf7['uint32'](0xa)['fork']())['ldelim'](),null!=_0x5ef6aa['end']&&Object['hasOwnProperty']['call'](_0x5ef6aa,'end')&&_0x3a088f['Position']['encode'](_0x5ef6aa['end'],_0x257bf7['uint32'](0x12)['fork']())['ldelim'](),_0x257bf7;},_0x25d36f['encodeDelimited']=function(_0x516173,_0x1f614c){return this['encode'](_0x516173,_0x1f614c)['ldelim']();},_0x25d36f['decode']=function(_0x2e9716,_0x279225){_0x2e9716 instanceof _0x34f31b||(_0x2e9716=_0x34f31b['create'](_0x2e9716));for(var _0x3a889=void 0x0===_0x279225?_0x2e9716['len']:_0x2e9716['pos']+_0x279225,_0x50073d=new _0x3a088f['Range']();_0x2e9716['pos']<_0x3a889;){var _0x5490ae=_0x2e9716['uint32']();switch(_0x5490ae>>>0x3){case 0x1:_0x50073d['start']=_0x3a088f['Position']['decode'](_0x2e9716,_0x2e9716['uint32']());break;case 0x2:_0x50073d['end']=_0x3a088f['Position']['decode'](_0x2e9716,_0x2e9716['uint32']());break;default:_0x2e9716['skipType'](0x7&_0x5490ae);}}return _0x50073d;},_0x25d36f['decodeDelimited']=function(_0x2f0807){return _0x2f0807 instanceof _0x34f31b||(_0x2f0807=new _0x34f31b(_0x2f0807)),this['decode'](_0x2f0807,_0x2f0807['uint32']());},_0x25d36f['verify']=function(_0x179fe7){if('object'!=typeof _0x179fe7||null===_0x179fe7)return'object\x20expected';var _0x5c32b7;if(null!=_0x179fe7['start']&&_0x179fe7['hasOwnProperty']('start')&&(_0x5c32b7=_0x3a088f['Position']['verify'](_0x179fe7['start'])))return'start.'+_0x5c32b7;if(null!=_0x179fe7['end']&&_0x179fe7['hasOwnProperty']('end')&&(_0x5c32b7=_0x3a088f['Position']['verify'](_0x179fe7['end'])))return'end.'+_0x5c32b7;return null;},_0x25d36f['fromObject']=function(_0x5095ed){if(_0x5095ed instanceof _0x3a088f['Range'])return _0x5095ed;var _0x273e25=new _0x3a088f['Range']();if(null!=_0x5095ed['start']){if('object'!=typeof _0x5095ed['start'])throw TypeError('.Range.start:\x20object\x20expected');_0x273e25['start']=_0x3a088f['Position']['fromObject'](_0x5095ed['start']);}if(null!=_0x5095ed['end']){if('object'!=typeof _0x5095ed['end'])throw TypeError('.Range.end:\x20object\x20expected');_0x273e25['end']=_0x3a088f['Position']['fromObject'](_0x5095ed['end']);}return _0x273e25;},_0x25d36f['toObject']=function(_0x3c929e,_0x4b97fd){_0x4b97fd||(_0x4b97fd={});var _0x153bf4={};return _0x4b97fd['defaults']&&(_0x153bf4['start']=null,_0x153bf4['end']=null),null!=_0x3c929e['start']&&_0x3c929e['hasOwnProperty']('start')&&(_0x153bf4['start']=_0x3a088f['Position']['toObject'](_0x3c929e['start'],_0x4b97fd)),null!=_0x3c929e['end']&&_0x3c929e['hasOwnProperty']('end')&&(_0x153bf4['end']=_0x3a088f['Position']['toObject'](_0x3c929e['end'],_0x4b97fd)),_0x153bf4;},_0x25d36f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x25d36f['getTypeUrl']=function(_0x4edbde){return void 0x0===_0x4edbde&&(_0x4edbde='type.googleapis.com'),_0x4edbde+'/Range';},_0x25d36f;}()),_0x3a088f['Element']=(function(){function _0x457056(_0x15cf3c){if(this['children']=[],this['attributesBoolean']={},_0x15cf3c){for(var _0x46eed2=Object['keys'](_0x15cf3c),_0xa74e47=0x0;_0xa74e47<_0x46eed2['length'];++_0xa74e47)null!=_0x15cf3c[_0x46eed2[_0xa74e47]]&&(this[_0x46eed2[_0xa74e47]]=_0x15cf3c[_0x46eed2[_0xa74e47]]);}}return _0x457056['prototype']['name']='',_0x457056['prototype']['children']=_0x353816['emptyArray'],_0x457056['prototype']['data']='',_0x457056['prototype']['attributesBoolean']=_0x353816['emptyObject'],_0x457056['prototype']['attributesJson']='',_0x457056['create']=function(_0x2d08a8){return new _0x457056(_0x2d08a8);},_0x457056['encode']=function(_0x3439ba,_0x14fe7a){if(_0x14fe7a||(_0x14fe7a=_0x2746d4['create']()),null!=_0x3439ba['name']&&Object['hasOwnProperty']['call'](_0x3439ba,'name')&&_0x14fe7a['uint32'](0xa)['string'](_0x3439ba['name']),null!=_0x3439ba['children']&&_0x3439ba['children']['length']){for(var _0x22c516=0x0;_0x22c516<_0x3439ba['children']['length'];++_0x22c516)_0x3a088f['Element']['encode'](_0x3439ba['children'][_0x22c516],_0x14fe7a['uint32'](0x12)['fork']())['ldelim']();}if(null!=_0x3439ba['data']&&Object['hasOwnProperty']['call'](_0x3439ba,'data')&&_0x14fe7a['uint32'](0x1a)['string'](_0x3439ba['data']),null!=_0x3439ba['attributesBoolean']&&Object['hasOwnProperty']['call'](_0x3439ba,'attributesBoolean')){var _0x250217=Object['keys'](_0x3439ba['attributesBoolean']);for(_0x22c516=0x0;_0x22c516<_0x250217['length'];++_0x22c516)_0x14fe7a['uint32'](0x22)['fork']()['uint32'](0xa)['string'](_0x250217[_0x22c516])['uint32'](0x10)['bool'](_0x3439ba['attributesBoolean'][_0x250217[_0x22c516]])['ldelim']();}return null!=_0x3439ba['attributesJson']&&Object['hasOwnProperty']['call'](_0x3439ba,'attributesJson')&&_0x14fe7a['uint32'](0x2a)['string'](_0x3439ba['attributesJson']),_0x14fe7a;},_0x457056['encodeDelimited']=function(_0x15cd30,_0x2d5f07){return this['encode'](_0x15cd30,_0x2d5f07)['ldelim']();},_0x457056['decode']=function(_0x5c2de2,_0x56a2ea){_0x5c2de2 instanceof _0x34f31b||(_0x5c2de2=_0x34f31b['create'](_0x5c2de2));for(var _0x449d0c,_0x59da38,_0x24365b=void 0x0===_0x56a2ea?_0x5c2de2['len']:_0x5c2de2['pos']+_0x56a2ea,_0x3b9e72=new _0x3a088f['Element']();_0x5c2de2['pos']<_0x24365b;){var _0x832da=_0x5c2de2['uint32']();switch(_0x832da>>>0x3){case 0x1:_0x3b9e72['name']=_0x5c2de2['string']();break;case 0x2:_0x3b9e72['children']&&_0x3b9e72['children']['length']||(_0x3b9e72['children']=[]),_0x3b9e72['children']['push'](_0x3a088f['Element']['decode'](_0x5c2de2,_0x5c2de2['uint32']()));break;case 0x3:_0x3b9e72['data']=_0x5c2de2['string']();break;case 0x4:_0x3b9e72['attributesBoolean']===_0x353816['emptyObject']&&(_0x3b9e72['attributesBoolean']={});var _0x324b7a=_0x5c2de2['uint32']()+_0x5c2de2['pos'];for(_0x449d0c='',_0x59da38=!0x1;_0x5c2de2['pos']<_0x324b7a;){var _0x1955f5=_0x5c2de2['uint32']();switch(_0x1955f5>>>0x3){case 0x1:_0x449d0c=_0x5c2de2['string']();break;case 0x2:_0x59da38=_0x5c2de2['bool']();break;default:_0x5c2de2['skipType'](0x7&_0x1955f5);}}_0x3b9e72['attributesBoolean'][_0x449d0c]=_0x59da38;break;case 0x5:_0x3b9e72['attributesJson']=_0x5c2de2['string']();break;default:_0x5c2de2['skipType'](0x7&_0x832da);}}return _0x3b9e72;},_0x457056['decodeDelimited']=function(_0x5713fc){return _0x5713fc instanceof _0x34f31b||(_0x5713fc=new _0x34f31b(_0x5713fc)),this['decode'](_0x5713fc,_0x5713fc['uint32']());},_0x457056['verify']=function(_0x37ff9e){if('object'!=typeof _0x37ff9e||null===_0x37ff9e)return'object\x20expected';if(null!=_0x37ff9e['name']&&_0x37ff9e['hasOwnProperty']('name')&&!_0x353816['isString'](_0x37ff9e['name']))return'name:\x20string\x20expected';if(null!=_0x37ff9e['children']&&_0x37ff9e['hasOwnProperty']('children')){if(!Array['isArray'](_0x37ff9e['children']))return'children:\x20array\x20expected';for(var _0x581dfc=0x0;_0x581dfc<_0x37ff9e['children']['length'];++_0x581dfc){var _0x39fb00=_0x3a088f['Element']['verify'](_0x37ff9e['children'][_0x581dfc]);if(_0x39fb00)return'children.'+_0x39fb00;}}if(null!=_0x37ff9e['data']&&_0x37ff9e['hasOwnProperty']('data')&&!_0x353816['isString'](_0x37ff9e['data']))return'data:\x20string\x20expected';if(null!=_0x37ff9e['attributesBoolean']&&_0x37ff9e['hasOwnProperty']('attributesBoolean')){if(!_0x353816['isObject'](_0x37ff9e['attributesBoolean']))return'attributesBoolean:\x20object\x20expected';var _0x5d6bbd=Object['keys'](_0x37ff9e['attributesBoolean']);for(_0x581dfc=0x0;_0x581dfc<_0x5d6bbd['length'];++_0x581dfc)if('boolean'!=typeof _0x37ff9e['attributesBoolean'][_0x5d6bbd[_0x581dfc]])return'attributesBoolean:\x20boolean{k:string}\x20expected';}return null!=_0x37ff9e['attributesJson']&&_0x37ff9e['hasOwnProperty']('attributesJson')&&!_0x353816['isString'](_0x37ff9e['attributesJson'])?'attributesJson:\x20string\x20expected':null;},_0x457056['fromObject']=function(_0x4e0433){if(_0x4e0433 instanceof _0x3a088f['Element'])return _0x4e0433;var _0x1abd1c=new _0x3a088f['Element']();if(null!=_0x4e0433['name']&&(_0x1abd1c['name']=String(_0x4e0433['name'])),_0x4e0433['children']){if(!Array['isArray'](_0x4e0433['children']))throw TypeError('.Element.children:\x20array\x20expected');_0x1abd1c['children']=[];for(var _0x3a5079=0x0;_0x3a5079<_0x4e0433['children']['length'];++_0x3a5079){if('object'!=typeof _0x4e0433['children'][_0x3a5079])throw TypeError('.Element.children:\x20object\x20expected');_0x1abd1c['children'][_0x3a5079]=_0x3a088f['Element']['fromObject'](_0x4e0433['children'][_0x3a5079]);}}if(null!=_0x4e0433['data']&&(_0x1abd1c['data']=String(_0x4e0433['data'])),_0x4e0433['attributesBoolean']){if('object'!=typeof _0x4e0433['attributesBoolean'])throw TypeError('.Element.attributesBoolean:\x20object\x20expected');_0x1abd1c['attributesBoolean']={};var _0x1a66e1=Object['keys'](_0x4e0433['attributesBoolean']);for(_0x3a5079=0x0;_0x3a5079<_0x1a66e1['length'];++_0x3a5079)_0x1abd1c['attributesBoolean'][_0x1a66e1[_0x3a5079]]=Boolean(_0x4e0433['attributesBoolean'][_0x1a66e1[_0x3a5079]]);}return null!=_0x4e0433['attributesJson']&&(_0x1abd1c['attributesJson']=String(_0x4e0433['attributesJson'])),_0x1abd1c;},_0x457056['toObject']=function(_0x5ceae0,_0x47bfff){_0x47bfff||(_0x47bfff={});var _0x52b5d2,_0x317aee={};if((_0x47bfff['arrays']||_0x47bfff['defaults'])&&(_0x317aee['children']=[]),(_0x47bfff['objects']||_0x47bfff['defaults'])&&(_0x317aee['attributesBoolean']={}),_0x47bfff['defaults']&&(_0x317aee['name']='',_0x317aee['data']='',_0x317aee['attributesJson']=''),null!=_0x5ceae0['name']&&_0x5ceae0['hasOwnProperty']('name')&&(_0x317aee['name']=_0x5ceae0['name']),_0x5ceae0['children']&&_0x5ceae0['children']['length']){_0x317aee['children']=[];for(var _0x3df3ae=0x0;_0x3df3ae<_0x5ceae0['children']['length'];++_0x3df3ae)_0x317aee['children'][_0x3df3ae]=_0x3a088f['Element']['toObject'](_0x5ceae0['children'][_0x3df3ae],_0x47bfff);}if(null!=_0x5ceae0['data']&&_0x5ceae0['hasOwnProperty']('data')&&(_0x317aee['data']=_0x5ceae0['data']),_0x5ceae0['attributesBoolean']&&(_0x52b5d2=Object['keys'](_0x5ceae0['attributesBoolean']))['length']){_0x317aee['attributesBoolean']={};for(_0x3df3ae=0x0;_0x3df3ae<_0x52b5d2['length'];++_0x3df3ae)_0x317aee['attributesBoolean'][_0x52b5d2[_0x3df3ae]]=_0x5ceae0['attributesBoolean'][_0x52b5d2[_0x3df3ae]];}return null!=_0x5ceae0['attributesJson']&&_0x5ceae0['hasOwnProperty']('attributesJson')&&(_0x317aee['attributesJson']=_0x5ceae0['attributesJson']),_0x317aee;},_0x457056['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x457056['getTypeUrl']=function(_0x58d781){return void 0x0===_0x58d781&&(_0x58d781='type.googleapis.com'),_0x58d781+'/Element';},_0x457056;}()),_0x3a088f;})());class ProtobufFactory{['_protobufRoot'];constructor(){this['_protobufRoot']=_0x7bcfb2;}['getDescriptor'](_0x2e2a52){return new ProtobufDescriptor(this['_protobufRoot'][_0x2e2a52]);}}class ProtobufDescriptor{['_protobuf'];constructor(_0x11d793){this['_protobuf']=_0x11d793;}['compress'](_0x2b6b27){const _0x1fb85d=this['_protobuf']['verify'](_0x2b6b27);if(_0x1fb85d)throw Error(_0x1fb85d);return this['_protobuf']['encode'](this['_protobuf']['create'](_0x2b6b27))['finish']();}['decompress'](_0x2f5eea){return this['_protobuf']['toObject'](this['_protobuf']['decode'](_0x2f5eea),{'oneofs':!0x0});}}function getPositionShiftedBy(_0x4da0dc,_0x18b439){const _0x2005ff=_0x564b70(_0x4da0dc);return _0x2005ff['path'][_0x2005ff['path']['length']-0x1]+=_0x18b439,_0x2005ff;}function arePositionsEqual(_0x4667d2,_0x316702){return _0x4667d2['root']===_0x316702['root']&&_0x3cd9dc(_0x4667d2['path'],_0x316702['path']);}function parsePositionBeforeCompression(_0x51bbcb){_mapPositions(_0x51bbcb,_0x1888fd=>('main'==_0x1888fd['root']?(_0x1888fd['rootMain']=!0x0,delete _0x1888fd['root']):'$graveyard'==_0x1888fd['root']&&(_0x1888fd['rootGraveyard']=!0x0,delete _0x1888fd['root']),_0x1888fd));}function parsePositionAfterCompression(_0x1827dc){_mapPositions(_0x1827dc,_0x586967=>(_0x586967['rootMain']?(_0x586967['root']='main',delete _0x586967['rootMain']):_0x586967['rootGraveyard']&&(_0x586967['root']='$graveyard',delete _0x586967['rootGraveyard']),_0x586967));}function _mapPositions(_0x458d2e,_0x293cbf){for(const _0x410778 in _0x458d2e){const _0x3a7ee9=_0x458d2e[_0x410778];'nodes'!==_0x410778&&isObject$2(_0x3a7ee9)&&(_0x3a7ee9['path']&&(_0x3a7ee9['root']||_0x3a7ee9['rootMain']||_0x3a7ee9['rootGraveyard'])?_0x458d2e[_0x410778]=_0x293cbf(_0x3a7ee9):_mapPositions(_0x3a7ee9,_0x293cbf));}return _0x458d2e;}class OperationCompressor{['_id'];['_operationName'];['_protobufDescriptor'];constructor(_0x5041de,_0x20d658,_0x425316){this['_id']=_0x5041de,this['_operationName']=_0x20d658,this['_protobufDescriptor']=_0x425316;}['compress'](_0x554f73,_0x3212ed){const _0x5def7f=_0x3212ed['operations'][_0x3212ed['index']++];return parsePositionBeforeCompression(_0x5def7f),_0x554f73['buffers']['push'](this['_protobufDescriptor']['compress'](_0x5def7f)),_0x554f73['types']['push'](this['_id']),!0x0;}['decompress'](_0x19a6bc,_0x437ef8){_0x437ef8['typeIndex']++;const _0x551836=_0x437ef8['buffers'][_0x437ef8['bufferIndex']++],_0x55c392=this['_protobufDescriptor']['decompress'](_0x551836);parsePositionAfterCompression(_0x55c392),_0x55c392['__className']=this['_operationName'],_0x19a6bc['push'](_0x55c392);}}class AttributeOperationCompressor extends OperationCompressor{['compress'](_0x129301,_0x2e9584){const _0x5ddd86=_0x2e9584['operations'][_0x2e9584['index']++];return this['_serializeOneOf']('oldValue',_0x5ddd86),this['_serializeOneOf']('newValue',_0x5ddd86),parsePositionBeforeCompression(_0x5ddd86),_0x129301['buffers']['push'](this['_protobufDescriptor']['compress'](_0x5ddd86)),_0x129301['types']['push'](this['_id']),!0x0;}['decompress'](_0x5bca24,_0x29c95b){_0x29c95b['typeIndex']++;const _0x107328=_0x29c95b['buffers'][_0x29c95b['bufferIndex']++],_0x42fc4d=this['_protobufDescriptor']['decompress'](_0x107328);this['_deserializeOneOf']('oldValue',_0x42fc4d),this['_deserializeOneOf']('newValue',_0x42fc4d),parsePositionAfterCompression(_0x42fc4d),_0x42fc4d['__className']=this['_operationName'],_0x5bca24['push'](_0x42fc4d);}['_serializeOneOf'](_0x17a29a,_0x3b1f61){const _0x469255=_0x3b1f61[_0x17a29a];'boolean'==typeof _0x469255?_0x3b1f61[_0x17a29a+'Boolean']=_0x469255:_0x3b1f61[_0x17a29a+'Json']=JSON['stringify'](_0x469255);}['_deserializeOneOf'](_0x42ade3,_0x574d2f){const _0x49a300=_0x42ade3+'Json';_0x574d2f[_0x49a300]?(_0x574d2f[_0x42ade3]=JSON['parse'](_0x574d2f[_0x49a300]),delete _0x574d2f[_0x49a300]):(_0x574d2f[_0x42ade3]=_0x574d2f[_0x42ade3+'Boolean'],delete _0x574d2f[_0x42ade3+'Boolean']);}}class InsertOperationCompressor extends OperationCompressor{['compress'](_0x260965,_0x252a27){const _0x167f63=_0x252a27['operations'][_0x252a27['index']++];return this['_serializeNodesAttributes'](_0x167f63['nodes']),parsePositionBeforeCompression(_0x167f63),_0x260965['buffers']['push'](this['_protobufDescriptor']['compress'](_0x167f63)),_0x260965['types']['push'](this['_id']),!0x0;}['decompress'](_0x5a33d6,_0x1d12d7){_0x1d12d7['typeIndex']++;const _0x26b823=_0x1d12d7['buffers'][_0x1d12d7['bufferIndex']++],_0x2f0df8=this['_protobufDescriptor']['decompress'](_0x26b823);_0x2f0df8['nodes']||(_0x2f0df8['nodes']=[]),this['_deserializeNodesAttributes'](_0x2f0df8['nodes']),parsePositionAfterCompression(_0x2f0df8),_0x2f0df8['__className']=this['_operationName'],_0x5a33d6['push'](_0x2f0df8);}['_serializeNodesAttributes'](_0x49a38a){for(const _0x3c4732 of _0x49a38a){if(_0x3c4732['attributes']){const _0xb6b647=_0x3c4732['attributes'];this['_areValuesBoolean'](_0xb6b647)?_0x3c4732['attributesBoolean']=_0xb6b647:_0x3c4732['attributesJson']=JSON['stringify'](_0xb6b647);}_0x3c4732['children']&&this['_serializeNodesAttributes'](_0x3c4732['children']);}}['_deserializeNodesAttributes'](_0x4b03f2){for(const _0x22b6d7 of _0x4b03f2)(_0x22b6d7['attributesBoolean']||_0x22b6d7['attributesJson'])&&(_0x22b6d7['attributesBoolean']?(_0x22b6d7['attributes']=_0x22b6d7['attributesBoolean'],delete _0x22b6d7['attributesBoolean']):(_0x22b6d7['attributes']=JSON['parse'](_0x22b6d7['attributesJson']),delete _0x22b6d7['attributesJson'])),_0x22b6d7['children']&&this['_deserializeNodesAttributes'](_0x22b6d7['children']);}['_areValuesBoolean'](_0x39cc10){return Object['keys'](_0x39cc10)['every'](_0x29ff2d=>'boolean'==typeof _0x39cc10[_0x29ff2d]);}}class MarkerOperationCompressor extends OperationCompressor{['decompress'](_0x555ac7,_0x124099){super['decompress'](_0x555ac7,_0x124099);const _0x2f8885=_0x555ac7[_0x555ac7['length']-0x1];_0x2f8885['oldRange']||(_0x2f8885['oldRange']=null),_0x2f8885['newRange']||(_0x2f8885['newRange']=null);}}class NoOperationCompressor extends OperationCompressor{['compress'](_0x39af8c,_0x549b06){return _0x549b06['index']++,_0x39af8c['types']['push'](this['_id']),!0x0;}['decompress'](_0x2c9357,_0x4cd306){_0x4cd306['typeIndex']++,_0x2c9357['push']({'__className':this['_operationName']});}}class AnnotationMarkerOperationCompressor extends MarkerOperationCompressor{['_omittedNamespace'];constructor(_0x165f9e,_0x216b81,_0x191c38,_0x4883df){super(_0x165f9e,_0x216b81,_0x191c38),this['_omittedNamespace']=_0x4883df+':';}['compress'](_0x867c89,_0x482e50){const _0x308f1d=_0x482e50['operations'][_0x482e50['index']];return!('MarkerOperation'!=_0x308f1d['__className']||!_0x308f1d['name']['startsWith'](this['_omittedNamespace']))&&(_0x308f1d['name']=_0x308f1d['name']['replace'](new RegExp('^'+this['_omittedNamespace']),''),super['compress'](_0x867c89,_0x482e50),!0x0);}['decompress'](_0x55a0af,_0x2ca69c){super['decompress'](_0x55a0af,_0x2ca69c);const _0x38e874=_0x55a0af[_0x55a0af['length']-0x1];_0x38e874['name']=this['_omittedNamespace']+_0x38e874['name'];}}class ActionCompressor{['_id'];['_context'];constructor(_0x7a1e0c,_0x23802b){this['_id']=_0x7a1e0c,this['_context']=_0x23802b;}['compress'](_0x1df8d2,_0xc586f2){let _0x4adf06,_0x24e2ec=_0xc586f2['operations'][_0xc586f2['index']],_0x5cc828=_0xc586f2['operations'][_0xc586f2['index']+0x1];for(;_0x5cc828&&this['_compareOperations'](_0x24e2ec,_0x5cc828);)_0x4adf06?(_0x4adf06=this['_combineNext'](_0x24e2ec,_0x4adf06),_0x1df8d2['types']['push'](0x0)):(_0x4adf06=_0x564b70(_0x24e2ec),_0x1df8d2['types']['push'](this['_id'])),_0xc586f2['index']++,_0x24e2ec=_0xc586f2['operations'][_0xc586f2['index']],_0x5cc828=_0xc586f2['operations'][_0xc586f2['index']+0x1];return!!_0x4adf06&&(_0x4adf06=this['_combineNext'](_0xc586f2['operations'][_0xc586f2['index']++],_0x4adf06),_0x1df8d2['types']['push'](0x0),_0x1df8d2['buffers']['push'](this['_compressSingleOperation'](_0x4adf06)),!0x0);}['decompress'](_0x238164,_0x2d4606){const _0xad04ed=this['_decompressSingleOperation'](_0x2d4606);for(;0x0==_0x2d4606['types'][_0x2d4606['typeIndex']];)_0x2d4606['typeIndex']++,_0x238164['push'](this['_splitCurrent'](_0xad04ed));_0x238164['push'](_0xad04ed);}}class TypingActionCompressor extends ActionCompressor{['_combineNext'](_0x1161c8,_0x5b59d6){return _0x5b59d6['nodes'][0x0]['data']+=_0x1161c8['nodes'][0x0]['data'],_0x5b59d6;}['_splitCurrent'](_0x4d5842){const _0x56356e=_0x564b70(_0x4d5842),_0x32b5af=_0x56356e['nodes'][0x0],_0x396eae=_0x4d5842['nodes'][0x0],_0x29b356=_0x396eae['data'][Symbol['iterator']]()['next']()['value'],_0x30dfde=_0x29b356['length'];return _0x32b5af['data']=_0x29b356,_0x396eae['data']=_0x396eae['data']['substr'](_0x30dfde),_0x4d5842['position']=getPositionShiftedBy(_0x4d5842['position'],_0x30dfde),_0x56356e;}['_compareOperations'](_0x2e4a9b,_0x177cd9){if(this['_checkOperation'](_0x2e4a9b)&&this['_checkOperation'](_0x177cd9)){const _0x3d5293=_0x2e4a9b['nodes'][0x0]['data']['length'],_0x2476ad=arePositionsEqual(getPositionShiftedBy(_0x2e4a9b['position'],_0x3d5293),_0x177cd9['position']),_0x1e4860=_0x2e4a9b['nodes'][0x0],_0x53c171=_0x177cd9['nodes'][0x0];return _0x2476ad&&this['_compareAttributes'](_0x1e4860,_0x53c171);}return!0x1;}['_compressSingleOperation'](_0x1ce111){const _0x251c24={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('InsertOperation')['compress'](_0x251c24,{'operations':[_0x1ce111],'index':0x0}),_0x251c24['buffers'][0x0];}['_decompressSingleOperation'](_0x59f736){const _0x20bdab=[];return this['_context']['_getCompressorByName']('InsertOperation')['decompress'](_0x20bdab,_0x59f736),_0x20bdab[0x0];}['_checkOperation'](_0x4d50b5){return'InsertOperation'==_0x4d50b5['__className']&&0x1==_0x4d50b5['nodes']['length']&&_0x4d50b5['nodes'][0x0]['data']&&!_0x4d50b5['wasUndone']&&0x1==Array['from'](_0x4d50b5['nodes'][0x0]['data'])['length'];}['_compareAttributes'](_0x9abde,_0x8cd68a){const _0x22de3c=Object['keys'](_0x9abde['attributes']||{}),_0x22ae29=Object['keys'](_0x8cd68a['attributes']||{});return _0x22de3c['length']===_0x22ae29['length']&&_0x22de3c['every'](_0x1bcec5=>_0x8cd68a['attributes'][_0x1bcec5]&&_0x8cd68a['attributes'][_0x1bcec5]===_0x9abde['attributes'][_0x1bcec5]);}}class DeletingActionCompressor extends ActionCompressor{['_combineNext'](_0x4083aa,_0x178f7e){return _0x178f7e['howMany']++,_0x178f7e['sourcePosition']=_0x564b70(_0x4083aa['sourcePosition']),_0x178f7e;}['_splitCurrent'](_0x335a56){const _0x222f3d=_0x564b70(_0x335a56);return _0x335a56['howMany']--,_0x222f3d['howMany']=0x1,_0x222f3d['sourcePosition']=getPositionShiftedBy(_0x222f3d['sourcePosition'],_0x335a56['howMany']),_0x222f3d;}['_compareOperations'](_0x51db40,_0x34957e){return!(!this['_checkOperation'](_0x51db40)||!this['_checkOperation'](_0x34957e))&&(arePositionsEqual(getPositionShiftedBy(_0x51db40['sourcePosition'],-0x1),_0x34957e['sourcePosition'])&&arePositionsEqual(_0x51db40['targetPosition'],_0x34957e['targetPosition']));}['_compressSingleOperation'](_0x108a32){const _0x57697e={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x57697e,{'operations':[_0x108a32],'index':0x0}),_0x57697e['buffers'][0x0];}['_decompressSingleOperation'](_0x228aa2){const _0x4873b9=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x4873b9,_0x228aa2),_0x4873b9[0x0];}['_checkOperation'](_0x1bda19){return'MoveOperation'==_0x1bda19['__className']&&'$graveyard'==_0x1bda19['targetPosition']['root']&&0x1==_0x1bda19['howMany']&&!_0x1bda19['wasUndone'];}}class ForwardDeletingActionCompressor extends ActionCompressor{['_combineNext'](_0x5778b4,_0x9f3e79){return _0x9f3e79['howMany']++,_0x9f3e79;}['_splitCurrent'](_0xe5a0e3){const _0x5d5186=_0x564b70(_0xe5a0e3);return _0x5d5186['howMany']=0x1,_0xe5a0e3['howMany']--,_0x5d5186;}['_compareOperations'](_0x1de3f1,_0xf1df9f){return!(!this['_checkOperation'](_0x1de3f1)||!this['_checkOperation'](_0xf1df9f))&&(arePositionsEqual(_0x1de3f1['sourcePosition'],_0xf1df9f['sourcePosition'])&&arePositionsEqual(_0x1de3f1['targetPosition'],_0xf1df9f['targetPosition']));}['_compressSingleOperation'](_0x5ebd13){const _0x43b264={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x43b264,{'operations':[_0x5ebd13],'index':0x0}),_0x43b264['buffers'][0x0];}['_decompressSingleOperation'](_0x32e1da){const _0xf170b3=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0xf170b3,_0x32e1da),_0xf170b3[0x0];}['_checkOperation'](_0x146a4e){return'MoveOperation'==_0x146a4e['__className']&&'$graveyard'==_0x146a4e['targetPosition']['root']&&0x1==_0x146a4e['howMany']&&!_0x146a4e['wasUndone'];}}class UserSelectionActionCompressor extends ActionCompressor{['compress'](_0x4b4d2e,_0x2412f7){if(!this['_compareOperations'](_0x2412f7['operations'][_0x2412f7['index']],_0x2412f7['operations'][_0x2412f7['index']+0x1]))return!0x1;const _0x3f5f8f=_0x2412f7['operations'][_0x2412f7['index']++];return _0x3f5f8f['oldRange']=null,_0x3f5f8f['newRange']&&arePositionsEqual(_0x3f5f8f['newRange']['start'],_0x3f5f8f['newRange']['end'])&&(_0x3f5f8f['newRange']['end']=null),_0x2412f7['index']++,_0x4b4d2e['types']['push'](this['_id']),_0x4b4d2e['types']['push'](0x0),_0x4b4d2e['buffers']['push'](this['_compressSingleOperation'](_0x3f5f8f)),!0x0;}['decompress'](_0x12a185,_0x2f7c8b){const _0x7089a0=this['_decompressSingleOperation'](_0x2f7c8b);_0x7089a0['newRange']&&!_0x7089a0['newRange']['end']&&(_0x7089a0['newRange']['end']=_0x564b70(_0x7089a0['newRange']['start']));const _0x1ee3a7=_0x564b70(_0x7089a0);_0x1ee3a7['newRange']&&(_0x1ee3a7['newRange']['start']['stickiness']='toNone',_0x1ee3a7['newRange']['end']=_0x564b70(_0x1ee3a7['newRange']['start'])),_0x1ee3a7['name']='user:position:'+_0x1ee3a7['name']['split'](':')[0x2],_0x2f7c8b['typeIndex']++,_0x12a185['push'](_0x7089a0),_0x12a185['push'](_0x1ee3a7);}['_compressSingleOperation'](_0x4b7669){const _0x2029c5={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MarkerOperation')['compress'](_0x2029c5,{'operations':[_0x4b7669],'index':0x0}),_0x2029c5['buffers'][0x0];}['_decompressSingleOperation'](_0x2213b1){const _0x42d8e7=[];return this['_context']['_getCompressorByName']('MarkerOperation')['decompress'](_0x42d8e7,_0x2213b1),_0x42d8e7[0x0];}['_compareOperations'](_0x3f340c,_0x3e332c){return!(!_0x3f340c||!_0x3e332c)&&('MarkerOperation'==_0x3f340c['__className']&&'MarkerOperation'==_0x3e332c['__className']&&!(!_0x3f340c['name']['startsWith']('user:')||!_0x3e332c['name']['startsWith']('user:')||_0x3f340c['name']==_0x3e332c['name']));}}class _0x13aec8{['_compressorById'];['_compressorByName'];['_protobufFactory'];constructor(){this['_compressorById']=new Map(),this['_compressorByName']=new Map(),this['_protobufFactory']=new ProtobufFactory();const _0x3adf2f=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',_0x3adf2f,'comment')),this['_registerCompressor'](0x13,'SuggestionMarkerOperation',new AnnotationMarkerOperationCompressor(0x13,'MarkerOperation',_0x3adf2f,'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'](_0x9e15c6){if(!_0x9e15c6||!_0x9e15c6[0x0])throw new ckeditor5['CKEditorError']('no-operations-provided',this);const _0x1c6e84={'operations':_0x9e15c6,'index':0x0},_0x465fbb={'types':[],'buffers':[],'baseVersion':_0x9e15c6[0x0]['baseVersion']};for(;_0x1c6e84['index']<_0x1c6e84['operations']['length'];){if(this['_getCompressorByName']('UserSelectionAction')['compress'](_0x465fbb,_0x1c6e84))continue;if(this['_getCompressorByName']('TypingAction')['compress'](_0x465fbb,_0x1c6e84))continue;if(this['_getCompressorByName']('DeletingAction')['compress'](_0x465fbb,_0x1c6e84))continue;if(this['_getCompressorByName']('ForwardDeletingAction')['compress'](_0x465fbb,_0x1c6e84))continue;if(this['_getCompressorByName']('CommentMarkerOperation')['compress'](_0x465fbb,_0x1c6e84))continue;if(this['_getCompressorByName']('SuggestionMarkerOperation')['compress'](_0x465fbb,_0x1c6e84))continue;const _0x484142=_0x1c6e84['operations'][_0x1c6e84['index']]['__className'];this['_getCompressorByName'](_0x484142)['compress'](_0x465fbb,_0x1c6e84);}return _0x465fbb;}['decompress'](_0xbb9f51){const _0xd0c7d=[],_0x39f6ee={'types':_0xbb9f51['types'],'buffers':_0xbb9f51['buffers'],'baseVersion':_0xbb9f51['baseVersion'],'typeIndex':0x0,'bufferIndex':0x0};for(;_0x39f6ee['typeIndex']<_0x39f6ee['types']['length'];){const _0x79dcc0=_0x39f6ee['types'][_0x39f6ee['typeIndex']],_0x402384=this['_compressorById']['get'](_0x79dcc0);if(!_0x402384)throw new ckeditor5['CKEditorError']('decompress-compressor-not-found',this,{'type':_0x79dcc0});_0x402384['decompress'](_0xd0c7d,_0x39f6ee);}return _0xd0c7d['forEach']((_0x414976,_0x2f113a)=>_0x414976['baseVersion']=_0xbb9f51['baseVersion']+_0x2f113a),_0xd0c7d;}['_getCompressorByName'](_0x245e5e){return this['_compressorByName']['get'](_0x245e5e);}['_registerOperationCompressor'](_0xd234c9,_0x2a7cff,_0x2dd44d){const _0x4d4892=new _0x2dd44d(_0xd234c9,_0x2a7cff,this['_protobufFactory']['getDescriptor'](_0x2a7cff));this['_registerCompressor'](_0xd234c9,_0x2a7cff,_0x4d4892);}['_registerActionCompressor'](_0x51ff48,_0x343888,_0x1121fe){const _0x289bf9=new _0x1121fe(_0x51ff48,this);this['_registerCompressor'](_0x51ff48,_0x343888,_0x289bf9);}['_registerCompressor'](_0x3392b5,_0x29533d,_0x374bc6){this['_compressorById']['set'](_0x3392b5,_0x374bc6),this['_compressorByName']['set'](_0x29533d,_0x374bc6);}}let requestCount=0x1;class RealTimeCollaborationClient extends ckeditor5['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,_0xb9e36d,_0x25da3d,ckeditor5['PendingActions'],_0x4a3f8f,ckeditor5['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 _0x84a5ff=this['serverHistory']['getOperations']();for(let _0x2759f6=_0x84a5ff['length']-0x1;_0x2759f6>=0x0;_0x2759f6--){const _0x207c54=_0x84a5ff[_0x2759f6];if(!this['_disconnectionOperations']['has'](_0x207c54))return _0x207c54['baseVersion']+0x1-this['_offset'];}return 0x0;}constructor(_0x45dc7b){if(super(_0x45dc7b),this['_offset']=0x0,this['sessionId']=null,this['serverHistory']=new ckeditor5['History'](),this['editor']['config']['define']('collaboration',{}),this['_channelId']=this['editor']['config']['get']('collaboration.channelId'),!this['_channelId'])throw new ckeditor5['CKEditorError']('collaboration-missing-channelid',this);const _0x508d4a=_0x45dc7b['config']['get']('cloudServices.bundleVersion')||ckeditor5['version'];this['_service']=new RealTimeCollaborationClient['CollaborativeEditingService'](_0x508d4a,this['_channelId']),this['_document']=this['editor']['model']['document'],this['_compressor']=new _0x13aec8(),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 _0x3bf6e3=this['editor'],_0x49a7f1=_0x3bf6e3['plugins']['get'](_0x4a3f8f),_0x54b8f8=_0x3bf6e3['plugins']['get'](WebSocketGateway);this['listenTo'](_0x49a7f1,'getOperationAuthor',(_0x313322,_0x102b6a)=>{const _0x34bdf8=_0x102b6a[0x0];_0x34bdf8['_authorId']&&(_0x313322['return']=_0x49a7f1['getUser'](_0x34bdf8['_authorId']),_0x313322['stop']()),null===_0x34bdf8['_authorId']&&(_0x313322['return']=null,_0x313322['stop']());},{'priority':'high'}),this['listenTo'](_0x3bf6e3['model']['document']['selection'],'change:range',(_0x319870,_0x3ae322)=>{_0x3ae322['directChange']&&this['_refreshUserSelectionMarkers']();}),this['listenTo'](_0x3bf6e3['editing']['view'],'change:hasDomSelection',()=>{this['_refreshUserSelectionMarkers']();}),this['_initThrowingOnDataSet'](),_0x3bf6e3['model']['on']('applyOperation',(_0x676d18,_0x590923)=>{const _0x39b4f2=_0x590923[0x0];_0x39b4f2['isDocumentOperation']&&(this['_saveOperationInBuffer'](_0x39b4f2),this['_shouldSendUpdate']()&&this['_sendBufferedOperationsDelayed']());}),this['_setUpDataInit'](),this['bind']('_isEditingAllowed')['to'](_0x54b8f8,'state',this,'_hasSynchronizationProblem',(_0xec2d43,_0xe786c4)=>'connected'===_0xec2d43&&!_0xe786c4),this['on']('change:_isEditingAllowed',()=>{this['_isEditingAllowed']?_0x3bf6e3['disableReadOnlyMode']('rtc-offline'):_0x3bf6e3['enableReadOnlyMode']('rtc-offline');}),this['_isEditingAllowed']?_0x3bf6e3['disableReadOnlyMode']('rtc-offline'):_0x3bf6e3['enableReadOnlyMode']('rtc-offline'),this['set']('_isConnected',!0x1);}async['reconnect'](){const _0x256018=this['editor']['plugins']['get'](_0xb9e36d),_0x49fbbe=this['editor']['plugins']['get'](WebSocketGateway);try{this['_isPendingUpdate']=!0x0,_0x256018['unregister'](this['_channelId']);const _0x32df52=await this['_service']['reconnect'](_0x49fbbe['connection'],this['lastSyncVersion']);await this['_handleReconnectionResponse'](_0x32df52)&&(this['_isPendingUpdate']=!0x1,this['_clearPendingAction']());const _0x564890=await this['_service']['getConnectedSessions']();_0x256018['register'](this['_channelId'],_0x564890),this['_handleSendingSelectionMarkers'](),this['_isConnected']=!0x0;}catch(_0x54bb4c){if(isSessionNotExistingError(_0x54bb4c)&&this['sessionId'])await this['_connectAfterSessionHasBeenFlushed']();else{if(isBaseVersionMismatchError(_0x54bb4c)){const _0x2eaec2=getTranslation$6(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'](_0x2eaec2);}else{if(!(_0x54bb4c instanceof ReconnectionError))throw _0x54bb4c;this['_handleReconnectionError']();}}}}['destroy'](){const _0x381298=this['editor']['plugins']['get'](WebSocketGateway),_0x22ba01=this['editor']['plugins']['get'](_0xb9e36d);this['editor']['enableReadOnlyMode']('rtc-destroyed'),_0x22ba01['channelSessions']['has'](this['_channelId'])&&_0x22ba01['unregister'](this['_channelId']),_0x381298['removeFromReconnectionStack'](this),this['_disconnectService'](),super['destroy']();}async['_handleReconnectionResponse'](_0x642428){if(this['sessionId']!==_0x642428['sessionId']&&this['_lastSyncedOperationId']!==_0x642428['lastOperationId'])throw new ReconnectionError();return this['sessionId']=_0x642428['sessionId'],this['_handleServerResponse']([],{..._0x642428,'wereChangesApplied':!0x1,'data':_0x642428['data']},'reconnect');}async['_connectService'](_0x4514bc,_0x749e83=!0x1){const {connection:_0x4653e4}=this['editor']['plugins']['get'](WebSocketGateway);RealTimeCollaborationClient['CollaborativeEditingService']['getConnectedSessions'](_0x4653e4,this['_channelId'])['then'](_0x54263f=>this['_initSessionsHandling'](_0x54263f))['catch'](_0x256c95=>{this['_crash']('realtimecollaborationclient-init-session-connection-error',_0x256c95);}),this['listenTo'](this['_service'],'operationsReceived',this['_handleReceivedOperations']['bind'](this)),this['listenTo'](this['_service'],'error',(_0x95f724,_0x161955)=>{this['_crash']('realtimecollaborationclient-init-service-internal-error',_0x161955);}),this['listenTo'](this['_service'],'disconnected',()=>{this['_isConnected']=!0x1;});const _0x419241=this['_operationIdentifier']['getIdOfTheLastOperation'](_0x4514bc);this['_isPendingUpdate']=!0x0;const _0x5a9cf9=await this['_service']['connect'](_0x4653e4,this['_compressOperations'](_0x4514bc),_0x419241);if(this['sessionId']=_0x5a9cf9['sessionId'],_0x749e83){if(!_0x5a9cf9['wereChangesApplied'])return void this['_handleReconnectionError']();this['_isPendingUpdate']=!0x1,this['_clearPendingAction'](),this['serverHistory']['reset'](),this['_offset']=_0x5a9cf9['offset'],this['serverHistory']['version']=this['_offset'],await this['_handleServerResponse'](_0x4514bc,_0x5a9cf9,'reconnection:\x20flushed\x20session');}else await this['_handleInitialConnectionData'](_0x5a9cf9,_0x4514bc);this['_handleSendingSelectionMarkers'](),this['_isConnected']=!0x0;}['_handleSendingSelectionMarkers'](){const _0x1a0c4c=this['editor']['plugins']['get'](_0xb9e36d),_0x34e925=this['editor']['plugins']['get'](_0x25da3d),_0x390db7=_0x1a0c4c['channelSessions']['get'](this['_channelId']);_0x390db7&&_0x390db7['length']>0x1?_0x34e925['createUserMarkerOperations']():this['listenTo'](_0x1a0c4c,'sessionAdd:'+this['_channelId'],()=>{0x2===_0x1a0c4c['channelSessions']['get'](this['_channelId'])['length']&&_0x34e925['createUserMarkerOperations']();});}async['_handleReceivedOperations'](_0x3c3146,_0x3db418,_0x222f79,_0x4d0184){if(!this['_isPendingUpdate']&&this['_document']['version']==_0x3db418){const _0x1d2b7b=this['_decompressOperations'](_0x222f79,_0x4d0184);await this['_fetchMissingUsers'](_0x1d2b7b),this['_handleExternalOperations'](_0x1d2b7b,_0x3db418,_0x222f79['lastOperationId'])||this['_crash']('realtimecollaborationclient-init-service-incorrect-server-operation');}}async['_connectAfterSessionHasBeenFlushed'](){this['_disconnectService']();const {locale:_0x50c7d1}=this['editor'];let _0x33a740;try{_0x33a740=await this['_service']['getDocumentDetails']();}catch{const _0x14ef26=getTranslation$6(_0x50c7d1,'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'](_0x14ef26);}const _0x3a8f37=_0x33a740['currentDocumentSession']||_0x33a740['lastDocumentSession'];if(this['_lastSyncedOperationId']!==_0x3a8f37['lastOperationId']){const _0x10c2ce=getTranslation$6(_0x50c7d1,'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'](_0x10c2ce);}await this['_connectService'](this['editor']['model']['document']['history']['getOperations'](),!0x0);}['_disconnectService'](){this['_service']['disconnect'](),this['_bufferedOperations']=[],clearTimeout(this['_sendBufferedOperationsDelayId']),this['stopListening'](this['_service']);}['_initSessionsHandling'](_0x42afe3){const _0x56e148=this['editor']['plugins']['get'](_0xb9e36d);this['listenTo'](_0x56e148,'sessionAdd:'+this['_channelId'],(_0x599756,{session:_0x287e97})=>{if(_0x287e97['id']===_0x56e148['mySessionId']){_0x599756['off']();const _0xe44da6=this['editor']['plugins']['has']('CommentsOnly')&&this['editor']['plugins']['get']('CommentsOnly');let _0xca4c63=_0x287e97['permissions'];_0xe44da6&&_0xe44da6['isEnabled']&&(_0xca4c63=_0xca4c63['filter'](_0x986e1b=>'document:write'!==_0x986e1b)),this['editor']['plugins']['get']('Permissions')['setPermissions'](_0xca4c63,this['_channelId']);}}),_0x56e148['register'](this['_channelId'],_0x42afe3);}['_initThrowingOnDataSet'](){const _0x2b2bcc=this['editor']['data']['set'];this['editor']['data']['set']=(..._0x2c4732)=>{if(!_0x2c4732[_0x2c4732['length']-0x1]['suppressErrorInCollaboration'])throw new ckeditor5['CKEditorError']('realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration',this);_0x2b2bcc['apply'](this['editor']['data'],_0x2c4732);};}['_setUpDataInit'](){this['editor']['data']['on']('init',(_0x442fb6,[_0xd04d50])=>{if(this['_document']['version'])throw new ckeditor5['CKEditorError']('realtimecollaborationclient-init-document-already-initialized',this);_0x442fb6['stop'](),this['_setPendingAction']();const _0x579705=Object['fromEntries'](Object['entries'](this['editor']['config']['get']('roots')||{})['filter'](([,_0x1ebdc3])=>!_0x1ebdc3['lazyLoad'])['map'](([_0x13e95e,_0x1bb9f9])=>[_0x13e95e,_0x1bb9f9['modelAttributes']||{}])),_0x24703a=this['_getOperationsFromInitData'](_0xd04d50,_0x579705);0x0==_0x24703a['length']&&_0x24703a['push'](new ckeditor5['NoOperation'](0x0)),_0x442fb6['return']=this['_connectService'](_0x24703a)['then'](()=>{this['editor']['plugins']['get'](WebSocketGateway)['addToReconnectionStack'](this),this['editor']['data']['fire']('ready');})['catch'](_0x1d163d=>this['_crash']('realtimecollaborationclient-init-connection-failed',_0x1d163d))['finally'](()=>this['_clearPendingAction']());},{'priority':'high'}),this['editor']['on']('loadRoot',async(_0x121695,[_0x4bb6e1,_0x29babd])=>{_0x121695['stop']();const _0x255de8=this['editor']['model']['document']['getRoot'](_0x4bb6e1);if(!this['_knownRootNames']['has'](_0x4bb6e1)){const _0x137e17=_0x29babd&&_0x29babd['data']?_0x29babd['data']:'',_0x408b57=_0x29babd&&_0x29babd['attributes']?_0x29babd['attributes']:{};await this['_loadRoot'](_0x4bb6e1,_0x137e17,_0x408b57);}this['editor']['model']['enqueueChange']({'isUndoable':!0x1},()=>{_0x255de8['_isLoaded']=!0x0,this['editor']['model']['document']['differ']['_bufferRootLoad'](_0x255de8);});},{'priority':'high'});}async['_fetchMissingUsers'](_0x1fd6e0){const _0x93e6e3=this['editor']['plugins']['get'](_0x4a3f8f),{connection:_0x1568a5}=this['editor']['plugins']['get'](WebSocketGateway),_0x2ddbc2=new Set();for(const _0x1f0b62 of _0x1fd6e0){const _0x3127bf=_0x1f0b62['_authorId'];_0x3127bf&&!_0x93e6e3['getUser'](_0x3127bf)&&_0x2ddbc2['add'](_0x3127bf);}if(0x0===_0x2ddbc2['size'])return;const _0x2bd37a=await _0x3f9ce1['getMany'](_0x1568a5,Array['from'](_0x2ddbc2));for(const _0x44a335 of _0x2bd37a)_0x93e6e3['getUser'](_0x44a335['id'])||_0x93e6e3['addUser'](_0x44a335);}['_getOperationsFromInitData'](_0x49db3a,_0x122e27={}){const _0x2b59c4=this['editor']['model'],_0x41632d=[];let _0xf3ce7=0x0;const _0x39edda='string'==typeof _0x49db3a?{'main':_0x49db3a}:_0x49db3a;for(const _0x3a0b56 of Object['keys'](_0x39edda)){if(!this['_document']['roots']['has'](_0x3a0b56))throw new ckeditor5['CKEditorError']('realtimecollaborationclient-init-non-existent-root',this);const _0x6b1999=this['editor']['data']['parse'](_0x39edda[_0x3a0b56]),_0x256248=this['_document']['getRoot'](_0x3a0b56),_0x362b49=new ckeditor5['InsertOperation'](_0x2b59c4['createPositionAt'](_0x256248,0x0),_0x6b1999,_0xf3ce7++);_0x41632d['push'](_0x362b49);for(const [_0x55ee2b,_0x59ed3b]of _0x6b1999['markers']){const _0x6bd37c=_0x2b59c4['createRange'](_0x2b59c4['createPositionFromPath'](_0x256248,_0x59ed3b['start']['path']['slice']()),_0x2b59c4['createPositionFromPath'](_0x256248,_0x59ed3b['end']['path']['slice']())),_0x304a72=new ckeditor5['MarkerOperation'](_0x55ee2b,null,_0x6bd37c,_0x2b59c4['markers'],!0x0,_0xf3ce7++);_0x41632d['push'](_0x304a72);}}if(_0x122e27)for(const [_0x3e8de8,_0x58a4d7]of Object['entries'](_0x122e27)){const _0x59b26f=_0x2b59c4['document']['getRoot'](_0x3e8de8);if(!_0x59b26f)throw new ckeditor5['CKEditorError']('multi-root-editor-root-attributes-no-root',null);for(const [_0x112468,_0x1c40d5]of Object['entries'](_0x58a4d7))if(null!==_0x1c40d5){const _0x189053=new ckeditor5['RootAttributeOperation'](_0x59b26f,_0x112468,null,_0x1c40d5,_0xf3ce7++);_0x41632d['push'](_0x189053);}}return _0x41632d;}async['_loadRoot'](_0x226dbc,_0x4359fe,_0x4777fd){this['_getOperationsFromInitData']({[_0x226dbc]:_0x4359fe},{[_0x226dbc]:_0x4777fd})['forEach']((_0x1d2d9d,_0x3ebbf4)=>{_0x1d2d9d['baseVersion']=this['_document']['version']+_0x3ebbf4,_0x1d2d9d['_isInit']=!0x0,this['_saveOperationInBuffer'](_0x1d2d9d);}),this['_sendBufferedOperationsDelayed'](),await this['_waitUntilSynced']();}async['_handleInitialConnectionData'](_0x230e54,_0x5c2834){let _0x5920b5;this['_offset']=_0x230e54['offset'];const _0x270e0b=_0x230e54['wereChangesApplied']&&!_0x230e54['initData'],_0x292919=_0x270e0b?0x0:_0x230e54['data']['baseVersion'];if(_0x5c2834['forEach'](_0x1412c8=>{_0x1412c8['_isInit']=!0x0,_0x1412c8['createdAt']=_0x230e54['sessionCreatedAt'],_0x1412c8['_authorId']=null;}),_0x270e0b)_0x5920b5=_0x5c2834,this['_applyOperationsSet'](_0x5920b5,_0x270e0b);else{if(_0x230e54['initData']){const _0x4a2fd0=this['_getOperationsFromInitData'](_0x230e54['initData']);this['_document']['history']['version']=-_0x4a2fd0['length'],_0x4a2fd0['forEach'](_0xc62f84=>{_0xc62f84['baseVersion']-=_0x4a2fd0['length'],_0xc62f84['createdAt']=_0x230e54['sessionCreatedAt'],_0xc62f84['_isInit']=!0x0,_0xc62f84['_authorId']=null;}),this['_applyOperationsSet'](_0x4a2fd0,!0x0),this['serverHistory']['version']=-_0x4a2fd0['length']+this['_offset'],this['_updateServerHistory'](_0x4a2fd0);}this['_document']['history']['version']=_0x292919,_0x5920b5=this['_decompressOperations'](_0x230e54['data'],_0x230e54['metadata']),await this['_fetchMissingUsers'](_0x5920b5),this['_applyOperationsSet'](_0x5920b5,_0x270e0b);}_0x230e54['lastOperationId']&&(this['_operationIdentifier']['setIdForTheLastOperation'](_0x5920b5,_0x230e54['lastOperationId']),this['_lastSyncedOperationId']=_0x230e54['lastOperationId']),this['serverHistory']['version']=_0x292919+this['_offset'],this['_updateServerHistory'](_0x5920b5),_0x5c2834['filter'](_0x3b2606=>{const _0x27e57a=this['_getAffectedRoot'](_0x3b2606);return _0x27e57a&&!this['_knownRootNames']['has'](_0x27e57a);})['forEach']((_0x47a567,_0x4ccc80)=>{_0x47a567['baseVersion']=this['_document']['version']+_0x4ccc80,this['_saveOperationInBuffer'](_0x47a567);}),this['_shouldSendUpdate']()?(this['_currentBufferDelay']=0x0,this['_sendBufferedOperationsDelayed'](!0x0),await this['_waitUntilSynced']()):(this['_isPendingUpdate']=!0x1,this['_clearPendingAction']());}['_crash'](_0x4058e8,_0x1e03db){const _0x453e67=_0x1e03db&&_0x1e03db['message'];if(_0x453e67&&_0x453e67['startsWith']('realtimecollaborationclient'))throw _0x1e03db;const _0xde64b=this['editor']['plugins']['get'](WebSocketGateway);throw this['_isPendingUpdate']=!0x0,_0xde64b['disconnect'](),this['editor']['enableReadOnlyMode']('realtimecollaborationclient-error'),new ckeditor5['CKEditorError'](_0x4058e8,this['editor'],_0x453e67?{'originalError':_0x453e67}:void 0x0);}['_saveOperationInBuffer'](_0x2ac418){this['_knownOperations']['has'](_0x2ac418)||(this['_knownOperations']['add'](_0x2ac418),this['_bufferedOperations']['push'](_0x2ac418),this['_pendingAction']||'marker'==_0x2ac418['type']&&!_0x2ac418['affectsData']||this['_setPendingAction']());}['_sendBufferedOperationsDelayed'](_0x4a132b=!0x1){!_0x4a132b&&this['_isPendingUpdate']||(this['_isPendingUpdate']=!0x0,clearTimeout(this['_sendBufferedOperationsDelayId']),this['_sendBufferedOperationsDelayId']=setTimeout(()=>{this['_sendBufferedOperations']()['then'](_0x15e211=>{_0x15e211&&(this['_clearPendingAction'](),this['_isPendingUpdate']=!0x1);})['catch'](_0x4511e1=>{this['_clearPendingAction'](),this['_isPendingUpdate']=!0x1,isDisconnectionError$3(_0x4511e1)||this['_crash'](_0x4511e1['message'],_0x4511e1);});},this['_currentBufferDelay']));}['_waitUntilSynced'](){return new Promise(_0x4cb3f6=>{this['on']('change:_isPendingUpdate',()=>{_0x4cb3f6();});});}async['_sendBufferedOperations'](){const _0x1e3e35=this['editor']['plugins']['get'](_0x25da3d);if(this['_shouldSendSelectionUpdate']()&&(_0x1e3e35['createUserMarkerOperations'](),this['_hasSelectionChanged']=!0x1),!this['_shouldSendUpdate']())return!0x0;const _0x2c8466=[...this['_bufferedOperations']];for(const _0x370bca of _0x2c8466)_0x370bca['wasUndone']=this['_document']['history']['isUndoneOperation'](_0x370bca);const _0x578943=this['_operationIdentifier']['getIdOfTheLastOperation'](_0x2c8466),_0x1ff537=requestCount++,_0x181174=this['_compressOperations'](_0x2c8466),_0x13e508=await this['_service']['sendOperations'](_0x181174,_0x181174['baseVersion'],_0x578943);try{return await this['_handleServerResponse'](_0x2c8466,_0x13e508,_0x1ff537);}catch(_0x2e787b){return this['_crash']('realtimecollaborationclient-sendbufferedoperations',_0x2e787b);}}async['_handleServerResponse'](_0x4501ee,_0x9362e2,_0x384a11){if('error'in _0x9362e2)throw _0x9362e2['error'];let _0x3c0d86=!0x1;if(_0x9362e2['wereChangesApplied']){_0x9362e2['lastOperationId']&&(this['_lastSyncedOperationId']=_0x9362e2['lastOperationId']),this['_bufferedOperations']=this['_bufferedOperations']['filter'](_0x3fad4a=>!_0x4501ee['includes'](_0x3fad4a));for(const _0x195c85 of _0x4501ee)_0x195c85['createdAt']='lastOperationAcceptedAt'in _0x9362e2&&_0x9362e2['lastOperationAcceptedAt']||void 0x0;updateBaseVersions(_0x4501ee,_0x9362e2['version']-_0x4501ee['length']),this['_updateServerHistory'](_0x4501ee);const _0x1f000b=_0x4501ee['filter'](_0x1b1c5e=>{if(!_0x1b1c5e['_isInit'])return!0x1;const _0x5591ab=this['_getAffectedRoot'](_0x1b1c5e);return _0x5591ab&&!this['_knownRootNames']['has'](_0x5591ab);});updateBaseVersions(_0x1f000b,this['_document']['version']),this['_applyOperationsSet'](_0x1f000b),_0x3c0d86=!0x0,this['_currentBufferDelay']=this['_baseBufferDelay'];}else{const _0x5e78e4=this['_decompressOperations'](_0x9362e2['data'],_0x9362e2['metadata'])['filter'](_0x8f1510=>_0x8f1510['baseVersion']>=this['_lastServerVersion']);_0x5e78e4['forEach'](_0x1fc79c=>this['_addKnownRoot'](_0x1fc79c)),this['_bufferedOperations']=this['_bufferedOperations']['filter'](_0x4ea9f9=>!_0x4ea9f9['_isInit']||!this['_knownRootNames']['has'](this['_getAffectedRoot'](_0x4ea9f9))),this['_bufferedOperations']['length']&&updateBaseVersions(this['_bufferedOperations'],this['_bufferedOperations'][0x0]['baseVersion']),await this['_fetchMissingUsers'](_0x5e78e4),_0x3c0d86=this['_handleExternalOperations'](_0x5e78e4,_0x9362e2['version'],_0x9362e2['lastOperationId']),this['_currentBufferDelay']=Math['round'](this['_currentBufferDelay']/0x2);}return _0x3c0d86?!this['_shouldSendUpdate']()||(this['_sendBufferedOperationsDelayed'](!0x0),!0x1):this['_crash']('realtimecollaborationclient-handleserverresponse');}['_handleExternalOperations'](_0x5c41d7,_0x46f623,_0x16ce05){try{const _0x27c8bf={'document':this['_document'],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x2bde75,operationsB:_0x29f0e9,originalOperations:_0x2eb3b9}=ckeditor5['transformOperationSets'](_0x5c41d7,this['_bufferedOperations'],_0x27c8bf);updateBaseVersions(_0x2bde75,this['_document']['version']),updateBaseVersions(_0x29f0e9,_0x46f623);for(const _0x54ebb8 of _0x2bde75){const _0xc9edc5=_0x2eb3b9['get'](_0x54ebb8);_0x54ebb8['_authorId']=_0xc9edc5?_0xc9edc5['_authorId']:null;}_0x16ce05&&(this['_operationIdentifier']['setIdForTheLastOperation'](_0x5c41d7,_0x16ce05),this['_lastSyncedOperationId']=_0x16ce05),this['_bufferedOperations']=[..._0x29f0e9],this['_applyOperationsSet'](_0x2bde75),this['_updateServerHistory'](_0x5c41d7);}catch(_0x45ad17){return console['error'](_0x45ad17),!0x1;}return!0x0;}['_applyOperationsSet'](_0x3e2fb0,_0x1f277d=!0x1){this['editor']['model']['enqueueChange']({'isUndoable':!0x1,'isLocal':!0x1},_0x21fd4e=>{for(const _0x282efd of _0x3e2fb0)this['_knownOperations']['add'](_0x282efd),this['_addKnownRoot'](_0x282efd),_0x21fd4e['batch']['addOperation'](_0x282efd),this['editor']['model']['applyOperation'](_0x282efd);});}['_addKnownRoot'](_0x252068){const _0x2b1d9d=this['_getAffectedRoot'](_0x252068);_0x2b1d9d&&this['_knownRootNames']['add'](_0x2b1d9d);}['_getAffectedRoot'](_0x422dbb){let _0x3dd4f5,_0x2bb7b8;switch(_0x422dbb['type']){case'insert':_0x3dd4f5=_0x422dbb['position']['root'];break;case'marker':if(_0x2bb7b8=_0x422dbb['newRange'],!_0x2bb7b8)return null;_0x3dd4f5=_0x2bb7b8['root'];break;case'addRootAttribute':_0x3dd4f5=_0x422dbb['root'];break;case'addRoot':_0x3dd4f5=_0x422dbb['affectedSelectable'];break;case'move':_0x3dd4f5=_0x422dbb['targetPosition']['root'];break;default:return null;}return _0x3dd4f5['rootName'];}['_updateServerHistory'](_0x2f9ee1){_0x2f9ee1['forEach'](_0x225c6a=>{const _0x23d55a=_0x225c6a['clone']();_0x23d55a['_authorId']=_0x225c6a['_authorId'],_0x23d55a['_isInit']=!!_0x225c6a['_isInit'],_0x23d55a['createdAt']=_0x225c6a['createdAt'],_0x23d55a['baseVersion']+=this['_offset'],_0x225c6a['_isDisconnection']&&this['_disconnectionOperations']['add'](_0x23d55a),this['serverHistory']['addOperation'](_0x23d55a);});}['_handleReconnectionError'](_0x565712){const _0x1ce053=this['editor']['plugins']['get']('Notification'),_0x20cad1=this['editor']['locale'];_0x565712||(_0x565712=getTranslation$6(_0x20cad1,'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.')),_0x1ce053['showWarning'](_0x565712,{'title':getTranslation$6(_0x20cad1,'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'](ckeditor5['PendingActions'])['add'](getTranslation$6(this['editor']['locale'],'PENDING_ACTION_SENDING_DATA')));}['_clearPendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get'](ckeditor5['PendingActions'])['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_compressOperations'](_0x366c31){const _0x49ba27=_0x366c31['map'](_0x31c5e1=>_0x31c5e1['toJSON']());return this['_compressor']['compress'](_0x49ba27);}['_decompressOperations'](_0x403191,_0x2c5f56){return this['_compressor']['decompress'](_0x403191)['map']((_0x577b1d,_0xd62c46)=>{const _0x3a3d80='init'==_0x2c5f56[_0xd62c46]['type'];if('InsertOperation'==_0x577b1d['__className']){const _0x4d40bf=_0x577b1d['position']['root'];!this['_document']['getRoot'](_0x4d40bf)&&(this['_document']['createRoot']('$root',_0x4d40bf)['_isAttached']=!0x1);}const _0xabc36f=ckeditor5['OperationFactory']['fromJSON'](_0x577b1d,this['_document']);return _0xabc36f['wasUndone']=_0x577b1d['wasUndone'],_0xabc36f['_isInit']=_0x3a3d80,_0xabc36f['_authorId']=_0x3a3d80?null:_0x2c5f56[_0xd62c46]['userId'],_0xabc36f['_isDisconnection']='cs:removeUser'===_0x2c5f56[_0xd62c46]['type'],_0xabc36f['createdAt']=_0x2c5f56[_0xd62c46]['createdAt'],_0xabc36f;});}['_refreshUserSelectionMarkers'](){this['_hasSelectionChanged']=!0x0,this['_shouldSendSelectionUpdate']()?this['_sendBufferedOperationsDelayed']():this['_hasSelectionChanged']=!0x1;}['_shouldSendSelectionUpdate'](){const _0x3c691b=this['editor']['plugins']['get'](_0xb9e36d)['channelSessions']['get'](this['_channelId']);return!this['editor']['isReadOnly']&&!!_0x3c691b&&_0x3c691b['length']>0x1&&this['_hasSelectionChanged'];}['_shouldSendUpdate'](){return this['_bufferedOperations']['length']>0x0||this['_shouldSendSelectionUpdate']();}}class ReconnectionError extends Error{}function updateBaseVersions(_0x3a6fa6,_0x579c90){for(const _0x28cd28 of _0x3a6fa6)_0x28cd28['baseVersion']=_0x579c90++;}function isSessionNotExistingError(_0x4adf51){return'404'===_0x4adf51['code'];}function isBaseVersionMismatchError(_0x5e4104){return'409'===_0x5e4104['code'];}function isDisconnectionError$3(_0x1bb83a){return _0x1bb83a['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x1bb83a['message']['startsWith']('cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.')||_0x1bb83a['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}class OperationIdentifier{['_ignoredOperations'];['_operationToId'];constructor(_0xa5ee39){this['_ignoredOperations']=_0xa5ee39,this['_operationToId']=new WeakMap();}['getIdOfTheLastOperation'](_0x3412e5){let _0x3fc63d=_0x3412e5['length'];for(;_0x3fc63d--;){const _0x4d80d0=_0x3412e5[_0x3fc63d];if(!this['_ignoredOperations']['has'](_0x4d80d0)){if(!this['_operationToId']['has'](_0x4d80d0)){const _0x22d9b1=ckeditor5['uid']()['slice'](0x1,0x12);this['_operationToId']['set'](_0x4d80d0,_0x22d9b1);}return this['_operationToId']['get'](_0x4d80d0);}}}['setIdForTheLastOperation'](_0x2ce0d8,_0x1520c2){if(!_0x1520c2)return;let _0x4b0dd8=_0x2ce0d8['length'];for(;_0x4b0dd8--;){const _0x2d2134=_0x2ce0d8[_0x4b0dd8];this['_ignoredOperations']['has'](_0x2d2134)||this['_operationToId']['set'](_0x2d2134,_0x1520c2);}}}class RealTimeCollaborativeEditing extends ckeditor5['Plugin']{static get['requires'](){return[RealTimeCollaborationClient];}static get['pluginName'](){return'RealTimeCollaborativeEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class _0x434369 extends ckeditor5['Command']{['_enabledCommands'];constructor(_0x1a85b4,_0x54c1c7){super(_0x1a85b4),this['_enabledCommands']=_0x54c1c7,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 _0x5b4bfc of this['editor']['commands']['commands']())_0x5b4bfc['affectsData']&&!this['_enabledCommands']['has'](_0x5b4bfc)&&_0x5b4bfc['forceDisabled']('TrackChangesCommand');}['_enableCommands'](){for(const _0x29370b of this['editor']['commands']['commands']())_0x29370b['affectsData']&&!this['_enabledCommands']['has'](_0x29370b)&&_0x29370b['clearForceDisabled']('TrackChangesCommand');}}class AcceptSuggestionCommand extends ckeditor5['Command']{['_suggestions'];constructor(_0x2aabbb,_0x436d26){super(_0x2aabbb),this['_suggestions']=_0x436d26,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x5e6f20){const _0x368892=this['_suggestions']['get'](_0x5e6f20);if(!_0x368892)throw new ckeditor5['CKEditorError']('track-changes-accept-suggestion-not-found',this);const _0x501b2c=_0x368892['getRanges']();this['editor']['model']['canEditAt'](_0x501b2c)&&this['editor']['plugins']['get']('TrackChangesEditing')['acceptSuggestion'](_0x368892);}}class DiscardSuggestionCommand extends ckeditor5['Command']{['_suggestions'];constructor(_0x75d22,_0x4baf03){super(_0x75d22),this['_suggestions']=_0x4baf03,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x57b800){const _0x1819df=this['_suggestions']['get'](_0x57b800);if(!_0x1819df)throw new ckeditor5['CKEditorError']('track-changes-discard-suggestion-not-found',this);const _0x250f23=_0x1819df['getRanges']();this['editor']['model']['canEditAt'](_0x250f23)&&this['editor']['plugins']['get']('TrackChangesEditing')['discardSuggestion'](_0x1819df);}}function renderDescription(_0x437d62,_0x45cced){let _0x5011a7='';return _0x5011a7+=_0x437d62['split']('*')['map']((_0x3ecedf,_0x4b51f6)=>_0x4b51f6%0x2!=0x0?'<span\x20class=\x22ck-suggestion-type\x22>'+sanitize(_0x3ecedf)+'</span>':sanitize(_0x3ecedf))['join'](''),_0x45cced&&(_0x5011a7+='<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20'+_0x45cced['value']+'\x22\x20title=\x22'+_0x45cced['title']+'\x22></span>'),_0x5011a7;}function sanitize(_0x344489){const _0x38c23d=document['createElement']('span');return _0x38c23d['innerText']=_0x344489,_0x38c23d['innerHTML'];}function sortSuggestions(_0x27088a){return _0x27088a['sort']((_0x2bce12,_0x300840)=>'attribute'===_0x2bce12['type']&&'attribute'!==_0x300840['type']?-0x1:'attribute'!==_0x2bce12['type']&&'attribute'===_0x300840['type']?0x1:'deletion'==_0x2bce12['type']&&'deletion'!=_0x300840['type']?-0x1:'deletion'!=_0x2bce12['type']&&'deletion'==_0x300840['type']?0x1:0x0);}function getSelectedSuggestions(_0x4c46d7,_0x259c30){const _0x1e678c=Array['from'](_0x4c46d7['getRanges']()),_0x57f0ec=new Set();for(const _0x4d6d48 of _0x259c30)if(_0x4d6d48['isInContent']){for(const _0x2f1eb7 of _0x1e678c)for(const _0x338257 of _0x4d6d48['getRanges']())(_0x2f1eb7['isIntersecting'](_0x338257)||_0x4c46d7['isCollapsed']&&!_0x4d6d48['isMultiRange']&&_0x4d6d48['next']&&_0x338257['end']['isTouching'](_0x2f1eb7['start']))&&_0x57f0ec['add'](_0x4d6d48);}return _0x57f0ec;}function getRangesOfBlockGroups(_0x548efd,_0x470c9b){let _0x158e09,_0x41c73d=0x0;const _0x4449ab=[],_0x1c54dc=_0x470c9b['schema'];for(;_0x41c73d<_0x548efd['length'];){const _0x3a2fd0=_0x548efd[_0x41c73d],_0x351343=_0x548efd[_0x41c73d+0x1];_0x158e09||(_0x158e09=_0x470c9b['createPositionBefore'](_0x3a2fd0)),_0x4bf027(_0x470c9b,_0x3a2fd0,_0x351343)||(_0x4449ab['push'](_0x470c9b['createRange'](_0x158e09,_0x1c54dc['isObject'](_0x3a2fd0)?_0x470c9b['createPositionAfter'](_0x3a2fd0):_0x470c9b['createPositionAt'](_0x3a2fd0,'end'))),_0x158e09=null),_0x41c73d++;}return _0x4449ab;}function _0x4bf027(_0x4e324d,_0x2adad4,_0x1fa0af){if(!_0x1fa0af)return!0x1;const _0x3ec709=_0x4e324d['createPositionAfter'](_0x2adad4),_0x3523d3=_0x4e324d['createPositionBefore'](_0x1fa0af);return _0x3ec709['isTouching'](_0x3523d3);}const _0x34ae2c=0x64;function executeCommandForSuggestions(_0x2ad35b,_0x3eee8c,_0x208d1e){for(;_0x208d1e['length'];){const _0x5c5194=_0x208d1e['splice'](0x0,_0x34ae2c);_0x2ad35b['change'](()=>{for(const _0x3176b6 of _0x5c5194)_0x3176b6['isInContent']&&_0x3eee8c['execute'](_0x3176b6['id']);});}}class ExecuteOnAllSuggestionsCommand extends ckeditor5['Command']{['_command'];['_suggestions'];constructor(_0x189b61,_0x5995b7,_0x2b6d83){super(_0x189b61),this['_command']=_0x5995b7,this['_suggestions']=_0x2b6d83,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0x20a51c=Array['from'](this['_suggestions']['values']())['some'](_0x4291b3=>_0x4291b3['isInContent']);this['isEnabled']=this['_command']['isEnabled']&&_0x20a51c;}['execute'](){const _0x35488a=sortSuggestions(Array['from'](this['_suggestions']['values']()));for(const _0x26bdda of _0x35488a){const _0x545f17=_0x26bdda['getRanges']();if(!this['editor']['model']['canEditAt'](_0x545f17))return;}executeCommandForSuggestions(this['editor']['model'],this['_command'],_0x35488a);}}class ExecuteOnSelectedSuggestionsCommand extends ckeditor5['Command']{['_command'];['_suggestions'];['_selectedSuggestions'];constructor(_0x47d6fa,_0x351884,_0x5975a6){super(_0x47d6fa),this['_command']=_0x351884,this['_suggestions']=_0x5975a6,this['_selectedSuggestions']=new Set(),this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0x292a08=this['editor']['model']['document']['selection'],_0x434cbf=Array['from'](this['_suggestions']['values']());this['_selectedSuggestions']=getSelectedSuggestions(_0x292a08,_0x434cbf),this['isEnabled']=this['_command']['isEnabled']&&!!this['_selectedSuggestions']['size'];}['execute'](){const _0x289f85=sortSuggestions(Array['from'](this['_selectedSuggestions']));for(const _0x3094a5 of _0x289f85){const _0x4b21c2=_0x3094a5['getRanges']();if(!this['editor']['model']['canEditAt'](_0x4b21c2))return;}executeCommandForSuggestions(this['editor']['model'],this['_command'],_0x289f85);}}class Suggestion extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['id'];['type'];['subType'];['author'];['creator'];['isExternal'];['data'];['createdAt'];['_originalSuggestionId'];['_isDataLoaded']=!0x1;['_model'];['_onAccept'];['_onDiscard'];['_onAttributesChange'];['_markerNames'];constructor(_0x585381,_0x26c032){super(),this['id']=_0x26c032['id'],this['type']=_0x26c032['type'],this['subType']=_0x26c032['subType']||null,this['author']=_0x26c032['author'],this['creator']=_0x26c032['creator']||_0x26c032['author'],this['isExternal']=Boolean(_0x26c032['attributes']&&_0x26c032['attributes']['@external']),this['data']=null,this['_originalSuggestionId']=_0x26c032['originalSuggestionId']||null,this['_model']=_0x585381,this['_onAccept']=_0x26c032['onAccept'],this['_onDiscard']=_0x26c032['onDiscard'],this['_onAttributesChange']=_0x26c032['onAttributesChange'],this['_markerNames']=new Set(),this['createdAt']=null,this['set']('authoredAt',null),this['set']('attributes',_0x26c032['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 _0x30e3c8=this;for(;_0x30e3c8['previous'];)_0x30e3c8=_0x30e3c8['previous'];return _0x30e3c8;}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'](_0x48b659){this['_markerNames']['add'](_0x48b659);}['getMarkerNames'](){return Array['from'](this['_markerNames']);}['getMarkers'](){return this['getMarkerNames']()['map'](_0x1b74dc=>this['_model']['markers']['get'](_0x1b74dc))['filter'](_0x1305ae=>_0x1305ae);}['getFirstMarker'](){return this['getMarkers']()[0x0]||null;}['removeMarkers'](){this['_model']['change'](_0x1826c5=>{for(const _0x54140f of this['getMarkers']())_0x1826c5['removeMarker'](_0x54140f);}),this['_markerNames']['clear']();}['removeMarker'](_0x303b2d){this['_model']['change'](_0x3a5a22=>{_0x3a5a22['removeMarker'](_0x303b2d);}),this['_markerNames']['delete'](_0x303b2d);}['addRange'](_0x4df682){const _0x144ef3='suggestion:'+this['type']+':'+this['subType']+':'+this['id']+':'+this['creator']['id']+':'+Suggestion['getMultiRangeId']();this['addMarkerName'](_0x144ef3),this['_model']['change'](_0xec711f=>{_0xec711f['addMarker'](_0x144ef3,{'range':_0x4df682,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0x260b26){for(const _0x49692c of this['getRanges']())if(_0x49692c['isIntersecting'](_0x260b26))return!0x0;return!0x1;}['getRanges'](){return this['getMarkers']()['map'](_0x2e75e7=>_0x2e75e7['getRange']());}['getItems'](){return this['getRanges']()['reduce']((_0x407970,_0x5e4f8e)=>[..._0x407970,..._0x5e4f8e['getItems']()],[]);}['getFirstRange'](){return this['getFirstMarker']()?.['getRange']()||null;}['getContainedElement'](){const _0x365c3b=this['getRanges']();if(0x1!=_0x365c3b['length'])return null;const _0x1d2f57=_0x365c3b[0x0],_0xb7f2f5=_0x1d2f57['start']['nodeAfter'],_0x2ca56d=_0x1d2f57['end']['nodeBefore'];return _0xb7f2f5 instanceof ckeditor5['ModelElement']?_0xb7f2f5!=_0x2ca56d?null:_0xb7f2f5: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 _0x46823f=[];let _0x5f0a67=this['head'];for(;_0x5f0a67;)_0x46823f['push'](_0x5f0a67),_0x5f0a67=_0x5f0a67['next'];return _0x46823f;}['setAttribute'](_0x1d55bf,_0x50bc68){const _0x4e7e72=_0x564b70(this['attributes']);set(_0x4e7e72,_0x1d55bf,_0x50bc68),_0x3cd9dc(_0x4e7e72,this['attributes'])||(this['attributes']=_0x4e7e72,this['_onAttributesChange'](_0x4e7e72));}['removeAttribute'](_0x32994b){const _0x1d06e8=_0x564b70(this['attributes']);unset(_0x1d06e8,_0x32994b),_0x3cd9dc(_0x1d06e8,this['attributes'])||(this['attributes']=_0x1d06e8,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 ckeditor5['uid']()['substr'](0x1,0x5);}}function getTranslation$5(_0x17e0de,_0x1c474a,_0x37cff0){const _0x43ac50=_0x17e0de['t'],t=_0x17e0de['t'];switch(_0x1c474a){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',_0x37cff0);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x37cff0);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x37cff0);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x37cff0);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x37cff0);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',_0x37cff0);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x37cff0);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',_0x37cff0);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x37cff0);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x37cff0);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x37cff0);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x37cff0);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x37cff0);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x37cff0);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x37cff0);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x37cff0);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x37cff0);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x37cff0);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x37cff0);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x37cff0);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x37cff0);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x37cff0);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x37cff0);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x37cff0);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x37cff0);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'},_0x37cff0);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x37cff0);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x37cff0);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x37cff0);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x37cff0);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x37cff0);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x37cff0);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x37cff0);case'FORMAT_SIDE_IMAGE':return t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'});case'ELEMENT_CAPTION':return t({'string':'caption','id':'ELEMENT_CAPTION'});case'ELEMENT_HORIZONTAL_LINE':return t({'string':'horizontal\x20line','plural':'%0\x20horizontal\x20lines','id':'ELEMENT_HORIZONTAL_LINE'},_0x37cff0);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x37cff0);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x37cff0);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x37cff0);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x37cff0);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'},_0x37cff0);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x37cff0);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'},_0x37cff0);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_FOOTER_ROW':return t({'string':'footer\x20row','id':'FORMAT_FOOTER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_TYPE':return t({'string':'table\x20cell\x20type','id':'FORMAT_TABLE_CELL_TYPE'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x37cff0);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x37cff0);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'},_0x37cff0);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x37cff0);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'},_0x37cff0);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x37cff0);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x37cff0);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x37cff0);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x37cff0);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x37cff0);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'},_0x37cff0);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x37cff0);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 _0x43ac50({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x37cff0);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x43ac50({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x37cff0);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x37cff0);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'},_0x37cff0);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'},_0x37cff0);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'},_0x37cff0);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x1c474a;}}class SuggestionDescriptionFactory{['_customCallbacks'];['_itemLabels'];['_itemLabelsCallbacks'];['_attributeLabels'];['_schema'];['_locale'];constructor(_0x336cfa,_0x579c00){this['_customCallbacks']=[],this['_itemLabels']=new Map(),this['_itemLabelsCallbacks']=[],this['_attributeLabels']=new Map(),this['_schema']=_0x336cfa,this['_locale']=_0x579c00;}['getDescriptions'](_0x1f31ef){const _0x55f1f2=[],_0x241f33=new Set(),_0x6a5df2=new Set();for(let _0x41419e=0x0;_0x41419e<_0x1f31ef['length'];_0x41419e++){const _0x42d873=_0x1f31ef[_0x41419e];if(!_0x42d873['isInContent'])continue;const _0x56ce06=this['_handleCustomCallbackDescription'](_0x42d873);if(_0x56ce06){if(null!=_0x42d873['subType']){if(_0x241f33['has'](_0x42d873['subType']))continue;_0x241f33['add'](_0x42d873['subType']);}_0x55f1f2['push'](_0x56ce06);}else{if('attribute'==_0x42d873['type']){const _0x3b2d8b=_0x42d873['data']['key'];if(_0x6a5df2['has'](_0x3b2d8b))continue;_0x6a5df2['add'](_0x42d873['data']['key']),_0x3b2d8b==renameAttributeKey?this['_handleRenameSuggestionDescription'](_0x55f1f2,_0x42d873):this['_handleAttributeSuggestionDescription'](_0x55f1f2,_0x42d873);continue;}'insertion'!=_0x42d873['type']&&'deletion'!=_0x42d873['type']||this['_handleInsertRemoveSuggestionDescription'](_0x55f1f2,_0x42d873,_0x1f31ef[_0x41419e+0x1]);}}return this['_resolveDescriptionItems'](_0x55f1f2);}['registerDescriptionCallback'](_0x2a08fc){this['_customCallbacks']['push'](_0x2a08fc);}['registerElementLabel'](_0x5d0f53,_0x46a211,_0x3ca90f=ckeditor5['priorities']['normal']){'function'==typeof _0x5d0f53?ckeditor5['insertToPriorityArray'](this['_itemLabelsCallbacks'],{'matchingCallback':_0x5d0f53,'label':_0x46a211,'priority':_0x3ca90f}):this['_itemLabels']['set'](_0x5d0f53,_0x46a211);}['registerAttributeLabel'](_0x470bc6,_0xe05e25){this['_attributeLabels']['set'](_0x470bc6,_0xe05e25);}['getItemLabel'](_0x3c1266,_0x3b5fff=0x1){let _0x11ff98;for(const _0x395276 of this['_itemLabelsCallbacks'])if(_0x395276['matchingCallback'](_0x3c1266)){_0x11ff98=_0x395276['label'];break;}return _0x11ff98||(_0x11ff98=this['_itemLabels']['get'](_0x3c1266['name'])),_0x11ff98?_0x11ff98(_0x3b5fff):0x1!==_0x3b5fff?_0x3b5fff+'\x20'+_0x3c1266['name']+'s':''+_0x3c1266['name'];}['_addDescriptionItems'](_0x28893e,_0x583e54){const _0xad1260=_0x583e54['getFirstRange']()['getWalker'](),_0x180522='insertion'==_0x583e54['type']?'add':'remove';for(const _0x4275d9 of _0xad1260){const _0x13f760=_0x4275d9['item'],_0x44b05f=_0x28893e[_0x28893e['length']-0x1];if(_0x13f760['is']('$textProxy'))_0x44b05f&&_0x44b05f['type']['indexOf']('Container')>-0x1&&_0x28893e['pop'](),_0x44b05f&&'text'==_0x44b05f['type']?_0x44b05f[_0x180522]+=_0x13f760['data']:_0x28893e['push']({'type':'text','add':'add'==_0x180522?_0x13f760['data']:'','remove':'remove'==_0x180522?_0x13f760['data']:''});else{if(this['_schema']['isObject'](_0x13f760)){const _0x243ce5=_0x13f760;if(_0x44b05f&&_0x44b05f['type']['indexOf']('Container')>-0x1&&_0x28893e['pop'](),'elementEnd'==_0x4275d9['type'])continue;_0x44b05f&&_0x44b05f['type']==_0x180522+'Object'&&_0x44b05f['element']['name']==_0x243ce5['name']?_0x44b05f['quantity']++:_0x28893e['push']({'type':_0x180522+'Object','element':_0x243ce5,'quantity':0x1}),_0xad1260['skip'](_0x53e1d3=>!('elementEnd'==_0x53e1d3['type']&&_0x53e1d3['item']==_0x13f760));}else{if(this['_schema']['checkChild'](_0x13f760,'$text')||_0x13f760['is']('element','softBreak')){const _0x259ee4=_0x13f760;if('add'==_0x180522&&'elementStart'==_0x4275d9['type']||'remove'==_0x180522&&'elementEnd'==_0x4275d9['type'])continue;if(_0x44b05f&&-0x1==_0x44b05f['type']['indexOf']('Container')){'text'==_0x44b05f['type']&&(_0x44b05f[_0x180522]+='\x0a');continue;}let _0x2acebd;if(_0x2acebd='add'==_0x180522?_0x259ee4['nextSibling']&&!this['_schema']['isObject'](_0x259ee4['nextSibling'])?_0x259ee4['nextSibling']:null:_0x259ee4['previousSibling']&&!this['_schema']['isObject'](_0x259ee4['previousSibling'])?_0x259ee4['previousSibling']:null,_0x259ee4['isEmpty']||_0x2acebd&&_0x2acebd['isEmpty']){const _0x2b46d6=_0x2acebd&&_0x2acebd['isEmpty']?_0x2acebd:_0x259ee4;_0x44b05f&&_0x44b05f['type']==_0x180522+'EmptyContainer'&&_0x44b05f['element']['name']==_0x2b46d6['name']?_0x44b05f['quantity']++:_0x28893e['push']({'type':_0x180522+'EmptyContainer','element':_0x2b46d6,'quantity':0x1});}else _0x28893e['push']({'type':_0x180522+'Container','element':_0x259ee4});}}}}}['_resolveDescriptionItems'](_0x4456c3){const _0x2e23e2=this['_locale'],_0x72bbea=[],_0x380072=[],_0x2dae8a=[];for(const _0x24c0d6 of _0x4456c3)switch(_0x24c0d6['type']){case'text':if(_0x24c0d6['add']=_0x24c0d6['add']['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')['replace'](/\u000A/g,''),_0x24c0d6['remove']=_0x24c0d6['remove']['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')['replace'](/\u000A/g,''),''!=_0x24c0d6['add']&&''!=_0x24c0d6['remove']){_0x72bbea['push']({'type':'replace','content':getTranslation$5(_0x2e23e2,'REPLACE_TEXT',['\x22'+_0x24c0d6['remove']+'\x22','\x22'+_0x24c0d6['add']+'\x22'])});continue;}if(null!=_0x24c0d6['add']['match'](/^ +$/)){_0x72bbea['push']({'type':'insertion','content':getTranslation$5(_0x2e23e2,'*Insert:*\x20%0',getTranslation$5(_0x2e23e2,'ELEMENT_SPACE',_0x24c0d6['add']['length']))});continue;}if(null!=_0x24c0d6['remove']['match'](/^ +$/)){_0x72bbea['push']({'type':'deletion','content':getTranslation$5(_0x2e23e2,'*Remove:*\x20%0',getTranslation$5(_0x2e23e2,'ELEMENT_SPACE',_0x24c0d6['remove']['length']))});continue;}if(''!=_0x24c0d6['add']){_0x72bbea['push']({'type':'insertion','content':getTranslation$5(_0x2e23e2,'*Insert:*\x20%0','\x22'+_0x24c0d6['add']+'\x22')});continue;}_0x72bbea['push']({'type':'deletion','content':getTranslation$5(_0x2e23e2,'*Remove:*\x20%0','\x22'+_0x24c0d6['remove']+'\x22')});continue;case'addEmptyContainer':case'addObject':_0x72bbea['push']({'type':'insertion','content':getTranslation$5(_0x2e23e2,'*Insert:*\x20%0',this['getItemLabel'](_0x24c0d6['element'],_0x24c0d6['quantity']))});continue;case'removeEmptyContainer':case'removeObject':_0x72bbea['push']({'type':'deletion','content':getTranslation$5(_0x2e23e2,'*Remove:*\x20%0',this['getItemLabel'](_0x24c0d6['element'],_0x24c0d6['quantity']))});continue;case'addContainer':_0x72bbea['push']({'type':'insertion','content':getTranslation$5(_0x2e23e2,'*Split:*\x20%0',this['getItemLabel'](_0x24c0d6['element'],_0x24c0d6['quantity']))});continue;case'removeContainer':_0x72bbea['push']({'type':'deletion','content':getTranslation$5(_0x2e23e2,'*Merge:*\x20%0',this['getItemLabel'](_0x24c0d6['element'],_0x24c0d6['quantity']))});continue;case'addFormat':_0x380072['push'](_0x24c0d6['key']);continue;case'removeFormat':_0x2dae8a['push'](_0x24c0d6['key']);continue;default:_0x72bbea['push'](_0x24c0d6);}if(_0x380072['length']){const _0x53af2f=_0x380072['map'](_0x2b2469=>this['_attributeLabels']['has'](_0x2b2469)?this['_attributeLabels']['get'](_0x2b2469):_0x2b2469)['join'](',\x20');_0x72bbea['push']({'type':'format','content':getTranslation$5(this['_locale'],'*Set\x20format:*\x20%0',_0x53af2f)});}if(_0x2dae8a['length']){const _0x181074=_0x2dae8a['map'](_0x379b14=>this['_attributeLabels']['has'](_0x379b14)?this['_attributeLabels']['get'](_0x379b14):_0x379b14)['join'](',\x20');_0x72bbea['push']({'type':'format','content':getTranslation$5(this['_locale'],'*Remove\x20format:*\x20%0',_0x181074)});}return _0x72bbea;}['_handleCustomCallbackDescription'](_0x2d429a){for(const _0x1c69fd of this['_customCallbacks']){const _0x416ec2=_0x1c69fd(_0x2d429a);if(_0x416ec2&&'type'in _0x416ec2)return _0x416ec2;}}['_handleAttributeSuggestionDescription'](_0x1d6742,_0x41fafe){const _0x3d188c=_0x41fafe['data'],_0xa16f29=void 0x0===_0x3d188c['newValue']?'removeFormat':'addFormat';_0x1d6742['push']({'type':_0xa16f29,'key':_0x3d188c['key']});}['_handleRenameSuggestionDescription'](_0x23aa18,_0x1ef034){_0x23aa18['push']({'type':'format','content':getTranslation$5(this['_locale'],'*Change\x20to:*\x20%0',this['getItemLabel'](_0x1ef034['getFirstRange']()['start']['nodeAfter'],0x1))});}['_handleInsertRemoveSuggestionDescription'](_0x205e5d,_0x1a29b0,_0x25f839){if(this['_addDescriptionItems'](_0x205e5d,_0x1a29b0),_0x25f839&&_0x25f839['getFirstRange']()&&!_0x1a29b0['getFirstRange']()['end']['isEqual'](_0x25f839['getFirstRange']()['start'])){const _0x22024c=_0x205e5d[_0x205e5d['length']-0x1],_0x40ea76='insertion'==_0x1a29b0['type']?'add':'remove';_0x22024c&&'text'==_0x22024c['type']&&(_0x22024c[_0x40ea76]+='\x0a');}}}class TrackChangesAIAssistant extends ckeditor5['Plugin']{['afterInit'](){const _0x4a073a=this['editor'],_0x472866=_0x4a073a['plugins']['get']('TrackChangesEditing');_0x4a073a['commands']['get']('showAIAssistant')&&_0x472866['enableCommand']('showAIAssistant');}}class _0x5b3f36 extends ckeditor5['Plugin']{['afterInit'](){const _0x3e423f=this['editor'],_0x59e20f=_0x3e423f['plugins']['get']('TrackChangesEditing');_0x3e423f['commands']['get']('toggleAi')&&_0x59e20f['enableCommand']('toggleAi');}}class TrackChangesAIQuickActions extends ckeditor5['Plugin']{['afterInit'](){const _0x14d477=this['editor'],_0x17abaf=_0x14d477['plugins']['get']('TrackChangesEditing');_0x14d477['commands']['get']('aiQuickAction')&&_0x17abaf['enableCommand']('aiQuickAction');}}class TrackChangesAlignment extends ckeditor5['Plugin']{['afterInit'](){const _0x4fe01a=this['editor'],_0x49c4f7=_0x4fe01a['locale'];if(!_0x4fe01a['plugins']['has']('AlignmentEditing'))return;const _0x56767a=_0x4fe01a['plugins']['get']('TrackChangesEditing');_0x56767a['enableDefaultAttributesIntegration']('alignment'),_0x56767a['descriptionFactory']['registerAttributeLabel']('alignment',getTranslation$5(_0x49c4f7,'FORMAT_ALIGNMENT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x26fd55=this['editor'],_0x14bc05=_0x26fd55['locale'];_0x26fd55['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x4224a0=>{if('formatBlock'!=_0x4224a0['type'])return;const {data:_0x27a99f}=_0x4224a0;if(_0x27a99f&&'alignment'==_0x27a99f['commandName']){const _0x543b8e=_0x27a99f['commandParams'][0x0]['value'];return{'type':'format','content':getTranslation$5(_0x14bc05,'*Format:*\x20%0',function(_0x220af2){switch(_0x220af2){case'left':return getTranslation$5(_0x14bc05,'FORMAT_ALIGN_TO_LEFT');case'right':return getTranslation$5(_0x14bc05,'FORMAT_ALIGN_TO_RIGHT');case'center':return getTranslation$5(_0x14bc05,'FORMAT_ALIGN_TO_CENTER');case'justify':return getTranslation$5(_0x14bc05,'FORMAT_JUSTIFY_TEXT');}}(_0x543b8e))};}});}}const basicStylesPlugins=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class TrackChangesBasicStyles extends ckeditor5['Plugin']{['afterInit'](){const _0x3de0f8=this['editor'],_0x17924b=_0x3de0f8['plugins']['get']('TrackChangesEditing'),_0x1d637e=_0x3de0f8['locale'];for(const _0x5983a3 of basicStylesPlugins){if(!_0x3de0f8['plugins']['has'](_0x5983a3))continue;const _0x3c6061=_0x5983a3['slice'](0x0,-0x7)['toLowerCase'](),_0x180a88='FORMAT_'+_0x3c6061['toUpperCase']();_0x17924b['enableDefaultAttributesIntegration'](_0x3c6061),_0x17924b['descriptionFactory']['registerAttributeLabel'](_0x3c6061,getTranslation$5(_0x1d637e,_0x180a88));}this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x1c050=this['editor'],_0x4df078=_0x1c050['locale'],_0x1beb1e=_0x1c050['plugins']['get']('TrackChangesEditing');function _0x2786a0(_0x2f70d3,_0x201326){_0x1beb1e['descriptionFactory']['registerDescriptionCallback'](_0x24d0ff=>{if('formatInline'!=_0x24d0ff['type'])return;const {data:_0x158c85}=_0x24d0ff;return _0x158c85&&_0x158c85['commandName']===_0x2f70d3?_0x158c85['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$5(_0x4df078,'*Format:*\x20%0',_0x201326)}:{'type':'format','content':getTranslation$5(_0x4df078,'*Remove\x20format:*\x20%0',_0x201326)}:void 0x0;});}_0x2786a0('bold',getTranslation$5(_0x4df078,'FORMAT_BOLD')),_0x2786a0('italic',getTranslation$5(_0x4df078,'FORMAT_ITALIC')),_0x2786a0('underline',getTranslation$5(_0x4df078,'FORMAT_UNDERLINE')),_0x2786a0('code',getTranslation$5(_0x4df078,'FORMAT_CODE')),_0x2786a0('strikethrough',getTranslation$5(_0x4df078,'FORMAT_STRIKETHROUGH')),_0x2786a0('subscript',getTranslation$5(_0x4df078,'FORMAT_SUBSCRIPT')),_0x2786a0('superscript',getTranslation$5(_0x4df078,'FORMAT_SUPERSCRIPT'));}}class TrackChangesBlockQuote extends ckeditor5['Plugin']{['afterInit'](){const _0x213571=this['editor'],_0x447e93=_0x213571['locale'];if(!_0x213571['plugins']['has']('BlockQuoteEditing'))return;const _0x29d89b=_0x213571['plugins']['get']('TrackChangesEditing'),_0xf72be7=this['editor']['commands']['get']('blockQuote');_0x29d89b['enableCommand']('blockQuote',(_0x16d4e2,_0x8634d6={})=>{const _0x5e4dbe=this['editor']['model']['document']['selection'],_0x4308bb=_0x8634d6&&void 0x0!==_0x8634d6['forceValue']?_0x8634d6['forceValue']:!_0xf72be7['value'];let _0x25057c=[];if(_0x4308bb){const _0x4fbbd7=Array['from'](_0x5e4dbe['getSelectedBlocks']())['filter'](_0x428092=>isInQuote(_0x428092)||checkCanBeQuoted(_0x428092,this['editor']['model']['schema']));_0x25057c=getRangesOfBlockGroups(_0x4fbbd7,_0x213571['model']);}else{const _0x2f958e=Array['from'](_0x5e4dbe['getSelectedBlocks']())['filter'](_0x179b8a=>isInQuote(_0x179b8a));_0x25057c=getRangesOfBlockGroups(_0x2f958e,_0x213571['model']);}_0x213571['model']['change'](()=>{for(const _0x18992e of _0x25057c)_0x29d89b['markBlockFormat'](_0x18992e,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x4308bb}]});});}),_0x29d89b['descriptionFactory']['registerDescriptionCallback'](_0x3746d5=>{const {data:_0x3eaa0a}=_0x3746d5;if(_0x3eaa0a&&'blockQuote'==_0x3eaa0a['commandName']){const _0xa36461=getTranslation$5(_0x447e93,'ELEMENT_BLOCK_QUOTE');return _0x3eaa0a['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$5(_0x447e93,'*Set\x20format:*\x20%0',_0xa36461)}:{'type':'format','content':getTranslation$5(_0x447e93,'*Remove\x20format:*\x20%0',_0xa36461)};}});}}function checkCanBeQuoted(_0x2b856f,_0x412d2a){const _0x3eee59=_0x412d2a['checkChild'](_0x2b856f['parent'],'blockQuote'),_0x363681=_0x412d2a['checkChild'](['$root','blockQuote'],_0x2b856f);return _0x3eee59&&_0x363681;}function isInQuote(_0x2c76ed){return'blockQuote'==_0x2c76ed['parent']['name'];}class _0x4dd554 extends ckeditor5['Plugin']{['afterInit'](){const _0x1f9269=this['editor'],_0x3bc3d7=_0x1f9269['locale'],_0x469ca1=_0x1f9269['plugins']['get']('TrackChangesEditing');_0x1f9269['plugins']['has']('BookmarkEditing')&&(_0x469ca1['enableCommand']('insertBookmark'),_0x469ca1['enableDefaultAttributesIntegration']('updateBookmark'),_0x469ca1['descriptionFactory']['registerDescriptionCallback'](_0x3ce8fe=>{if('insertion'!=_0x3ce8fe['type']&&'deletion'!=_0x3ce8fe['type']&&'attribute'!=_0x3ce8fe['type'])return;const _0x5232ff=_0x3ce8fe['getContainedElement']();if(null==_0x5232ff)return;if(!_0x5232ff['is']('element','bookmark'))return;const _0x3dc8e1=_0x5232ff['getAttribute']('bookmarkId');if('insertion'==_0x3ce8fe['type'])return{'type':'insertion','content':getTranslation$5(_0x3bc3d7,'*Insert:*\x20%0','\x22'+_0x3dc8e1+'\x22\x20'+getTranslation$5(_0x3bc3d7,'ELEMENT_BOOKMARK'))};if('deletion'==_0x3ce8fe['type'])return{'type':'deletion','content':getTranslation$5(_0x3bc3d7,'*Remove:*\x20%0','\x22'+_0x3dc8e1+'\x22\x20'+getTranslation$5(_0x3bc3d7,'ELEMENT_BOOKMARK'))};const {data:_0x3f4187}=_0x3ce8fe;if(!_0x3f4187||'bookmarkId'!=_0x3f4187['key'])return;return{'type':'format','content':getTranslation$5(_0x3bc3d7,'*Set\x20bookmark:*\x20%0','\x22'+_0x3f4187['newValue']+'\x22')};}));}}class _0x3228b4 extends ckeditor5['Plugin']{['afterInit'](){const _0x7cea9f=this['editor'];_0x7cea9f['plugins']['has']('CaseChange')&&(_0x7cea9f['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseUpper'),_0x7cea9f['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseLower'),_0x7cea9f['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseTitle'));}}class _0x24e972 extends ckeditor5['Plugin']{['afterInit'](){const _0x35b6b9=this['editor'];_0x35b6b9['commands']['get']('ckbox')&&_0x35b6b9['plugins']['get']('TrackChangesEditing')['enableCommand']('ckbox');}}class _0x3ad470 extends ckeditor5['Plugin']{['afterInit'](){const _0x53a9c9=this['editor'];if(!_0x53a9c9['plugins']['has']('CodeBlock'))return;const _0x2c9896=_0x53a9c9['plugins']['get']('TrackChangesEditing'),_0x2f4353=_0x53a9c9['locale'],_0x3f241c=_0x53a9c9['config']['get']('codeBlock')['languages'],_0x126699=_0x53a9c9['commands']['get']('codeBlock');_0x2c9896['enableCommand']('indentCodeBlock'),_0x2c9896['enableCommand']('outdentCodeBlock'),_0x2c9896['enableCommand']('codeBlock',(_0x1191ad,_0x382418={})=>{const _0x227305=_0x53a9c9['model'],_0x32cc05=_0x53a9c9['model']['document']['selection'],_0x2159b6=_0x382418&&void 0x0!==_0x382418['forceValue']?_0x382418['forceValue']:!_0x126699['value'];let _0x31be98;_0x382418['language']||(_0x382418['language']=_0x3f241c[0x0]['language']),_0x31be98=_0x2159b6?Array['from'](_0x32cc05['getSelectedBlocks']())['filter'](_0x301b50=>_0x54d63a(_0x301b50)||_0x13c89b(_0x301b50,_0x227305['schema'])):Array['from'](_0x32cc05['getSelectedBlocks']())['filter'](_0x5e054b=>_0x54d63a(_0x5e054b));const _0x56b914=getRangesOfBlockGroups(_0x31be98,_0x227305);_0x227305['change'](()=>{for(const _0x30721a of _0x56b914)_0x2c9896['markBlockFormat'](_0x30721a,{'commandName':'codeBlock','commandParams':[{..._0x382418,'forceValue':_0x2159b6}],'formatGroupId':'blockName'});});}),(_0x2c9896['descriptionFactory']['registerElementLabel']('codeBlock',_0x22ed91=>getTranslation$5(_0x2f4353,'ELEMENT_CODE_BLOCK',_0x22ed91)),_0x2c9896['descriptionFactory']['registerDescriptionCallback'](_0x34d1ce=>{if('formatBlock'!=_0x34d1ce['type'])return;const _0xd44c6=_0x2f4353['t'],{data:_0x33325e}=_0x34d1ce;if(!_0x33325e||'codeBlock'!=_0x33325e['commandName'])return;const _0x2306ac=_0x33325e['commandParams'][0x0]['language'],_0x328275=_0x3f241c['find'](_0x444357=>_0x444357['language']===_0x2306ac)['label'],_0x3a3341=_0xd44c6(_0x328275)['toLowerCase']();return _0x33325e['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$5(_0x2f4353,'*Set\x20format:*\x20%0',getTranslation$5(_0x2f4353,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x3a3341+')')}:{'type':'format','content':getTranslation$5(_0x2f4353,'*Remove\x20format:*\x20%0',getTranslation$5(_0x2f4353,'ELEMENT_CODE_BLOCK',0x1))};}));}}function _0x13c89b(_0x5e2616,_0x9aea78){return!_0x5e2616['is']('rootElement')&&!_0x9aea78['isLimit'](_0x5e2616)&&_0x9aea78['checkChild'](_0x5e2616['parent'],'codeBlock');}function _0x54d63a(_0x4cb025){return'codeBlock'==_0x4cb025['name'];}class TrackChangesComments extends ckeditor5['Plugin']{['afterInit'](){const _0x21a83f=this['editor'];if(!_0x21a83f['plugins']['has']('CommentsEditing'))return;_0x21a83f['plugins']['get']('TrackChangesEditing')['enableCommand']('addCommentThread');}}class TrackChangesDeleteCommand extends ckeditor5['Plugin']{static get['requires'](){return[ckeditor5['Delete']];}['init'](){const _0x268ca5=this['editor'],_0x40b854=_0x268ca5['plugins']['get']('TrackChangesEditing');_0x40b854['enableCommand']('delete');const _0x666086=_0x268ca5['commands']['get']('deleteForward');_0x40b854['enableCommand']('deleteForward',(_0x1cc057,_0x18ceba={})=>{const _0x3f5da5=_0x268ca5['model']['createSelection'](_0x268ca5['model']['document']['selection']);_0x3f5da5['isCollapsed']&&_0x268ca5['model']['modifySelection'](_0x3f5da5,{'direction':'forward','unit':_0x18ceba['unit']});const _0x519ca1=_0x3f5da5['getFirstRange'](),_0x43653e=ckeditor5['ModelLiveRange']['fromRange'](_0x519ca1);let _0x2455d3;_0x1cc057(_0x18ceba),_0x2455d3='$graveyard'==_0x43653e['root']['rootName']?_0x268ca5['model']['createRange'](_0x519ca1['start']):_0x268ca5['model']['createRange'](_0x43653e['start'],_0x43653e['end']),_0x43653e['detach'](),_0x268ca5['model']['enqueueChange'](_0x666086['buffer']['batch'],_0x35ef39=>{_0x666086['buffer']['lock'](),_0x35ef39['setSelection'](_0x35ef39['createRange'](_0x2455d3['end'])),_0x666086['buffer']['unlock']();});});}}class TrackChangesList extends ckeditor5['Plugin']{['afterInit'](){const _0x1ea4b5=this['editor'];if(!_0x1ea4b5['plugins']['has']('ListEditing'))return;const _0x3f7545=_0x1ea4b5['locale'],_0x1d4e51=_0x1ea4b5['plugins']['get']('TrackChangesEditing'),_0x47135f=_0x1ea4b5['plugins']['has']('TodoListEditing'),_0x3275ff=!!_0x1ea4b5['config']['get']('list.multiBlock');function _0x31d561(_0x4a14fc){return{'type':'format','content':''+getTranslation$5(_0x3f7545,'*Set\x20format:*\x20%0',_0x4a14fc)};}function _0x5b1934(_0x126e1e){return{'type':'format','content':''+getTranslation$5(_0x3f7545,'*Remove\x20format:*\x20%0',_0x126e1e)};}_0x1d4e51['enableDefaultAttributesIntegration']('numberedList'),_0x1d4e51['enableDefaultAttributesIntegration']('bulletedList'),_0x1d4e51['enableDefaultAttributesIntegration']('customNumberedList'),_0x1d4e51['enableDefaultAttributesIntegration']('customBulletedList'),_0x1d4e51['enableDefaultAttributesIntegration']('indentList'),_0x1d4e51['enableDefaultAttributesIntegration']('outdentList'),_0x1d4e51['enableDefaultAttributesIntegration']('splitListItemAfter'),_0x1d4e51['enableDefaultAttributesIntegration']('splitListItemBefore'),_0x3275ff&&(_0x1d4e51['enableDefaultAttributesIntegration']('mergeListItemBackward'),_0x1d4e51['enableDefaultAttributesIntegration']('mergeListItemForward')),_0x47135f&&(_0x1d4e51['enableDefaultAttributesIntegration']('todoList'),_0x1d4e51['enableDefaultAttributesIntegration']('checkTodoList'),_0x1d4e51['descriptionFactory']['registerDescriptionCallback'](_0x538172=>{const {data:_0x4d60ce}=_0x538172;if(_0x4d60ce&&'todoListChecked'==_0x4d60ce['key'])return{'type':'format','content':_0x4d60ce['newValue']?getTranslation$5(_0x3f7545,'*Check\x20item*'):getTranslation$5(_0x3f7545,'*Uncheck\x20item*')};}),this['editor']['model']['document']['registerPostFixer'](_0x30a275=>{if(_0x30a275['batch']['isUndo'])return!0x1;let _0x26651c=!0x1;const _0x88d8e7=_0x1d4e51['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x2bf4c0=>'todoListChecked'===_0x1d4e51['_getAttributeKey'](_0x2bf4c0));for(const _0x55d9f4 of _0x88d8e7){'todo'!=_0x55d9f4['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')&&(_0x1d4e51['_findSuggestions'](_0x55d9f4['getFirstRange'](),'attribute')['find'](_0x24ebb8=>'listType'===_0x1d4e51['_getAttributeKey'](_0x24ebb8['suggestion']))||(_0x30a275['removeMarker'](_0x55d9f4['getFirstMarker']()),_0x26651c=!0x0));}return _0x26651c;})),_0x1d4e51['descriptionFactory']['registerAttributeLabel']('listIndent',getTranslation$5(_0x3f7545,'FORMAT_INDENT'));const _0x36c822={'type':'format','content':''};_0x1d4e51['descriptionFactory']['registerDescriptionCallback'](_0x1b46b5=>{const {data:_0x345e0a}=_0x1b46b5;if(!_0x345e0a||'listType'!=_0x345e0a['key'])return;let _0x2fd031=_0x1b46b5['head'];for(;_0x2fd031;){if(_0x2fd031['data']&&(('listStyle'==_0x2fd031['data']['key']||'listMarkerStyle'==_0x2fd031['data']['key'])&&(_0x2fd031['data']['newValue']&&'default'!=_0x2fd031['data']['newValue']||'default'!=_0x2fd031['data']['oldValue']&&!_0x345e0a['newValue'])||!_0x3275ff&&_0x2fd031['data']['key']==renameAttributeKey))return _0x36c822;_0x2fd031=_0x2fd031['next'];}if(null==_0x345e0a['newValue'])switch(_0x345e0a['oldValue']){case'bulleted':return _0x5b1934(getTranslation$5(_0x3f7545,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x5b1934(getTranslation$5(_0x3f7545,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x5b1934(getTranslation$5(_0x3f7545,'ELEMENT_TODO_LIST'));}switch(_0x345e0a['newValue']){case'bulleted':return _0x31d561(getTranslation$5(_0x3f7545,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x31d561(getTranslation$5(_0x3f7545,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x31d561(getTranslation$5(_0x3f7545,'ELEMENT_TODO_LIST'));}}),_0x1d4e51['descriptionFactory']['registerDescriptionCallback'](_0xdd291f=>{const {data:_0x2a8ca6}=_0xdd291f;if(_0x2a8ca6&&'listIndent'==_0x2a8ca6['key'])return null==_0x2a8ca6['newValue']||null==_0x2a8ca6['oldValue']&&0x0==_0x2a8ca6['newValue']?_0x36c822:void 0x0;}),_0x1d4e51['descriptionFactory']['registerDescriptionCallback'](_0x1aa761=>{if('attribute'!=_0x1aa761['type'])return;const {data:_0x33914c}=_0x1aa761;if(!_0x33914c||'listItemId'!=_0x33914c['key'])return;const _0x36bc26=checkSiblingsListItemId(_0x1aa761);return'newValue'==_0x36bc26?{'type':'format','content':getTranslation$5(_0x3f7545,'*Merge:*\x20list\x20item')}:'oldValue'==_0x36bc26?{'type':'format','content':getTranslation$5(_0x3f7545,'*Split:*\x20list\x20item')}:_0x36c822;}),_0x1ea4b5['model']['document']['registerPostFixer'](_0x26ce33=>this['listItemIdFixer'](_0x26ce33)),_0x1ea4b5['model']['document']['registerPostFixer'](_0x457852=>this['noTrackChangesFixer'](_0x457852)),_0x1ea4b5['model']['document']['on']('change:data',(_0x5db6f4,_0x577eb0)=>{if(_0x577eb0['isUndo']||!_0x577eb0['isLocal'])return!0x1;this['assureChains']();},{'priority':'high'}),this['_supportLegacySuggestions']();}['listItemIdFixer'](_0x179a71){if(_0x179a71['batch']['isUndo']||!_0x179a71['batch']['isLocal'])return!0x1;let _0x5982c9=!0x1;const _0x91e998=this['editor']['plugins']['get']('TrackChangesEditing')['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x139d3e=>_0x139d3e['data']&&'listItemId'==_0x139d3e['data']['key'])['filter'](_0x4c189f=>_0x4c189f['data']['newValue']&&_0x4c189f['data']['oldValue']);for(const _0x1844c3 of _0x91e998)checkSiblingsListItemId(_0x1844c3)||(_0x179a71['removeMarker'](_0x1844c3['getFirstMarker']()),_0x5982c9=!0x0);return _0x5982c9;}['noTrackChangesFixer'](_0x3d267c){if(_0x3d267c['batch']['isUndo']||!_0x3d267c['batch']['isLocal'])return!0x1;const _0x14d842=this['editor']['model']['document']['differ'],_0x401579=this['editor']['plugins']['get']('TrackChangesEditing');if(_0x401579['trackChangesCommand']['value'])return!0x1;let _0x178c79=!0x1;const _0xe47c35=new Set(['listType','listItemId','listIndent','listStyle','listStart','listReversed','todoListCheck','listMarker','listMarkerStyle']),_0x3ad99d=_0x14d842['getChanges']()['filter'](_0x20ab7a=>'attribute'==_0x20ab7a['type'])['filter'](_0x2ac2ec=>_0xe47c35['has'](_0x2ac2ec['attributeKey']));if(0x0==_0x3ad99d['length'])return _0x178c79;const _0x5396be=new Set(_0x14d842['getMarkersToAdd']()['filter'](_0x455f0d=>{if(!_0x455f0d['name']['startsWith']('suggestion:attribute:'))return!0x1;const _0x49c687=splitSuggestionMarkerName(_0x455f0d['name'])['subType']['split']('|')[0x0];return _0xe47c35['has'](_0x49c687);})['map'](_0x374c9e=>splitSuggestionMarkerName(_0x374c9e['name'])['id']));for(const _0x526e07 of _0x3ad99d){const _0x3c1856=_0x401579['_findSuggestions'](_0x526e07['range'],'attribute')['filter'](_0x23a8ec=>{if(_0x23a8ec['meta']['isNextTo'])return!0x1;if(_0x5396be['has'](_0x23a8ec['suggestion']['id']))return!0x1;const _0x566e27=_0x401579['_getAttributeKey'](_0x23a8ec['suggestion']);return _0xe47c35['has'](_0x566e27);})['map'](_0x531bab=>_0x531bab['suggestion']);if(_0x3c1856['length']){for(const _0xe50b5e of _0x3c1856)_0x3d267c['removeMarker'](_0xe50b5e['getFirstMarker']());_0x178c79=!0x0;}}return _0x178c79;}['assureChains'](){const _0x3906f9=this['editor']['plugins']['get']('TrackChangesEditing'),_0x43ef94=['listType','listItemId','listIndent','listStyle','listStart','listReversed','todoListCheck','listMarker','listMarkerStyle'];let _0x5e776e;const _0x1b8050=new Set(this['editor']['model']['document']['differ']['getChangedMarkers']()['filter'](_0x123736=>{if(_0x123736['data']['oldRange']||!_0x123736['data']['newRange'])return null;if(!_0x123736['name']['startsWith']('suggestion:attribute:'))return null;const {id:_0x3b2103}=splitSuggestionMarkerName(_0x123736['name']);if(!_0x3906f9['hasSuggestion'](_0x3b2103))return null;const _0x4c04ad=_0x3906f9['getSuggestion'](_0x3b2103);return _0x43ef94['includes'](_0x4c04ad['data']['key']);})['map'](_0x5e147=>{const {id:_0x3c37d2}=splitSuggestionMarkerName(_0x5e147['name']),_0x51ab12=_0x3906f9['getSuggestion'](_0x3c37d2);return _0x5e776e=_0x51ab12['attributes']['groupId'],_0x51ab12['getFirstRange']()['start']['nodeAfter'];}));if(0x0==_0x1b8050['size'])return;const _0x21326b=_0x3906f9['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x2d2fdc=>'attribute'==_0x2d2fdc['type']&&_0x2d2fdc['data']&&_0x43ef94['includes'](_0x2d2fdc['data']['key'])&&_0x2d2fdc['attributes']['groupId']!=_0x5e776e)['map'](_0x5955a3=>({'listItem':_0x5955a3['getFirstRange']()['start']['nodeAfter'],'groupId':_0x5955a3['attributes']['groupId']})),_0x48cb09=new Set();for(const {groupId:_0x29dd72,listItem:_0x40bf7c}of _0x21326b)_0x1b8050['has'](_0x40bf7c)&&_0x48cb09['add'](_0x29dd72);for(const _0x2f4836 of _0x3906f9['getSuggestions']())_0x48cb09['has'](_0x2f4836['attributes']['groupId'])&&_0x2f4836['setAttribute']('groupId',_0x5e776e);}['_supportLegacySuggestions'](){const _0x494c75=this['editor'],_0x36b36a=_0x494c75['locale'],_0x392a7a=_0x494c75['plugins']['get']('TrackChangesEditing');this['_registerLegacyDescription'](),_0x392a7a['_suggestionFactory']['registerCustomCallback']('formatBlock','documentList','accept',function(_0x106b31,_0x42cc4d){const _0x2692e6=[];for(let _0x382cac of _0x106b31)_0x382cac['start']['nodeAfter']===_0x382cac['end']['parent']&&(_0x382cac=_0x494c75['model']['createRange'](_0x494c75['model']['createPositionAt'](_0x382cac['start']['nodeAfter'],0x0))),_0x2692e6['push'](_0x382cac);_0x494c75['model']['change'](_0x5f3ae8=>{const _0x23c801=_0x494c75['model']['document']['selection'],_0x45394c=Array['from'](_0x23c801['getRanges']())['map'](_0x1c8737=>ckeditor5['ModelLiveRange']['fromRange'](_0x1c8737));_0x5f3ae8['setSelection'](_0x2692e6),_0x494c75['commands']['get'](_0x42cc4d['commandName'])['refresh'](),_0x42cc4d['commandParams']['push']({'forceDefaultExecution':!0x0}),_0x494c75['execute'](_0x42cc4d['commandName'],..._0x42cc4d['commandParams']),_0x5f3ae8['setSelection'](_0x45394c);for(const _0x20ed11 of _0x45394c)_0x20ed11['detach']();});}),_0x392a7a['descriptionFactory']['registerElementLabel'](function(_0x81c935){const _0x116732=!_0x494c75['model']['schema']['isObject'](_0x81c935),_0x5883a3=_0x81c935['previousSibling'],_0x56292d=_0x81c935['nextSibling'],_0x4d3370=_0x81c935['getAttribute']('listItemId'),_0xf29566=!_0x5883a3||_0x5883a3['getAttribute']('listItemId')!==_0x4d3370,_0x20e807=!_0x56292d||_0x56292d['getAttribute']('listItemId')!==_0x4d3370;return _0x116732&&Boolean(_0x4d3370)&&_0xf29566&&_0x20e807;},_0x3af24d=>getTranslation$5(_0x36b36a,'ELEMENT_LIST_ITEM',_0x3af24d));}['_registerLegacyDescription'](){const _0x28b60f=this['editor'],_0x1e39c3=_0x28b60f['locale'];function _0x38ec3a(_0x3875e7){const _0x2c0a84=_0x28b60f['commands']['get']('bulletedList')['value'],_0x1cdb8e=_0x28b60f['commands']['get']('numberedList')['value'];return'numberedList'===_0x3875e7?_0x2c0a84:_0x1cdb8e;}_0x28b60f['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](function(_0x455e50){if('formatBlock'!=_0x455e50['type'])return;const {data:_0x97c90c}=_0x455e50;if(!_0x97c90c)return;let _0x9989f7,_0x1511c4,_0x3b4379,_0x4066cd;switch(_0x97c90c['commandName']){case'bulletedList':_0x3b4379=_0x97c90c['commandParams'][0x0]['forceValue'],_0x4066cd=_0x38ec3a(_0x97c90c['commandName']),_0x9989f7=_0x3b4379?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',!_0x4066cd&&_0x28b60f['config']['get']('list.multiBlock')||(_0x9989f7='*Change\x20to:*\x20%0'),_0x1511c4={'type':'format','content':getTranslation$5(_0x1e39c3,_0x9989f7,getTranslation$5(_0x1e39c3,'ELEMENT_BULLETED_LIST'))};break;case'numberedList':_0x3b4379=_0x97c90c['commandParams'][0x0]['forceValue'],_0x4066cd=_0x38ec3a(_0x97c90c['commandName']),_0x9989f7=_0x3b4379?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',!_0x4066cd&&_0x28b60f['config']['get']('list.multiBlock')||(_0x9989f7='*Change\x20to:*\x20%0'),_0x1511c4={'type':'format','content':getTranslation$5(_0x1e39c3,_0x9989f7,getTranslation$5(_0x1e39c3,'ELEMENT_NUMBERED_LIST'))};break;case'indentList':_0x9989f7='*Indent:*\x20%0',_0x1511c4={'type':'format','content':getTranslation$5(_0x1e39c3,_0x9989f7,getTranslation$5(_0x1e39c3,'ELEMENT_LIST_ITEM'))};break;case'outdentList':_0x9989f7=function(_0x3adebf){const _0x3df4d7=_0x3adebf['getFirstRange']();let _0x1df744=_0x3df4d7['start']['nodeAfter'];for(;_0x1df744&&_0x3df4d7['containsItem'](_0x1df744);){if(_0x1df744['getAttribute']('listIndent')>0x0)return!0x1;_0x1df744=_0x1df744['nextSibling'];}return!0x0;}(_0x455e50)?getTranslation$5(_0x1e39c3,'*Format:*\x20remove\x20from\x20%0',getTranslation$5(_0x1e39c3,function(_0x449ec7){return'ELEMENT_'+_0x449ec7['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')['toUpperCase']()+'_LIST';}(_0x455e50))):getTranslation$5(_0x1e39c3,'*Outdent:*\x20%0',getTranslation$5(_0x1e39c3,'ELEMENT_LIST_ITEM')),_0x1511c4={'type':'format','content':_0x9989f7};break;case'mergeListItemBackward':case'mergeListItemForward':!0x1===_0x97c90c['multipleBlocks']&&(_0x9989f7='*Merge:*\x20%0',_0x1511c4={'type':'deletion','content':getTranslation$5(_0x1e39c3,_0x9989f7,getTranslation$5(_0x1e39c3,'ELEMENT_LIST_ITEM'))});}return _0x1511c4;});}}function checkSiblingsListItemId(_0x487eb5){let _0x26bc90=_0x487eb5['getFirstRange']()['start']['nodeAfter']['previousSibling'];for(;_0x26bc90;){const _0x1fae2f=_0x26bc90['getAttribute']('listItemId');if(!_0x1fae2f)return!0x1;if(_0x1fae2f==_0x487eb5['data']['newValue'])return'newValue';if(_0x1fae2f==_0x487eb5['data']['oldValue'])return'oldValue';_0x26bc90=_0x26bc90['previousSibling'];}return!0x1;}class TrackChangesDocumentListProperties extends ckeditor5['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x418c48=this['editor']['config']['get']('list.properties'),_0x1304c4=this['editor']['plugins']['get']('TrackChangesEditing');_0x418c48['styles']&&_0x1304c4['enableDefaultAttributesIntegration']('listStyle'),_0x418c48['reversed']&&_0x1304c4['enableDefaultAttributesIntegration']('listReversed'),_0x418c48['startIndex']&&_0x1304c4['enableDefaultAttributesIntegration']('listStart');const _0x1388d2={'type':'format','content':''};_0x1304c4['descriptionFactory']['registerDescriptionCallback'](this['handleDescriptions']['bind'](this));const _0x3f5475=this['editor']['locale'];_0x1304c4['descriptionFactory']['registerAttributeLabel']('listReversed',getTranslation$5(_0x3f5475,'FORMAT_LIST_REVERSED')),_0x1304c4['descriptionFactory']['registerDescriptionCallback'](_0x3fee92=>{const {data:_0x4c79d6}=_0x3fee92;if(_0x4c79d6&&'listReversed'==_0x4c79d6['key'])return null==_0x4c79d6['newValue']||0x0==_0x4c79d6['newValue']&&null==_0x4c79d6['oldValue']?_0x1388d2:void 0x0;}),_0x1304c4['descriptionFactory']['registerAttributeLabel']('listStart',getTranslation$5(_0x3f5475,'FORMAT_LIST_START')),_0x1304c4['descriptionFactory']['registerDescriptionCallback'](_0x7ca211=>{const {data:_0xc0c120}=_0x7ca211;if(_0xc0c120&&'listStart'==_0xc0c120['key'])return null==_0xc0c120['newValue']||0x1==_0xc0c120['newValue']&&null==_0xc0c120['oldValue']?_0x1388d2:void 0x0;}),this['editor']['model']['document']['registerPostFixer'](_0x9d3749=>{if(_0x9d3749['batch']['isUndo'])return!0x1;let _0x58c9ab=!0x1;const _0x3459c5=_0x1304c4['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x1430ca=>{const _0x4ad578=_0x1304c4['_getAttributeKey'](_0x1430ca);return'listStart'==_0x4ad578||'listReversed'==_0x4ad578;});for(const _0x4a1741 of _0x3459c5){const _0x343cc6=_0x4a1741['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType');if('numbered'==_0x343cc6||'customNumbered'==_0x343cc6)continue;const _0x4b9e92=_0x1304c4['_findSuggestions'](_0x4a1741['getFirstRange'](),'attribute')['find'](_0x4c2e74=>'listType'==_0x1304c4['_getAttributeKey'](_0x4c2e74['suggestion']));_0x4b9e92||(_0x9d3749['removeMarker'](_0x4a1741['getFirstMarker']()),_0x58c9ab=!0x0);}return _0x58c9ab;}),this['_registerLegacyDescription']();}['handleDescriptions'](_0x3d8617){const _0x557864=this['editor']['locale'],{data:_0x54d663}=_0x3d8617,_0x237359={'type':'format','content':''};if(!_0x54d663||'listStyle'!=_0x54d663['key'])return;if(!_0x54d663['oldValue'])return'default'==_0x54d663['newValue']?_0x237359:{'type':'format','content':''+getTranslation$5(_0x557864,'*Set\x20format:*\x20%0',getTranslation$5(_0x557864,this['_getTranslationKeyForListStyle'](_0x54d663['newValue'])))};if(!_0x54d663['newValue']){if('default'==_0x54d663['oldValue'])return _0x237359;let _0x1a9b6c=_0x3d8617['head'];for(;_0x1a9b6c;){if(_0x1a9b6c['data']&&'listType'==_0x1a9b6c['data']['key']&&_0x1a9b6c['data']['newValue'])return _0x237359;_0x1a9b6c=_0x1a9b6c['next'];}return{'type':'format','content':''+getTranslation$5(_0x557864,'*Remove\x20format:*\x20%0',getTranslation$5(_0x557864,this['_getTranslationKeyForListStyle'](_0x54d663['oldValue'])))};}if('default'!=_0x54d663['newValue'])return{'type':'format','content':''+getTranslation$5(_0x557864,'*Set\x20format:*\x20%0',getTranslation$5(_0x557864,this['_getTranslationKeyForListStyle'](_0x54d663['newValue'])))};let _0x5e42c1=_0x3d8617['head'];for(;_0x5e42c1;){if(_0x5e42c1['data']&&'listType'==_0x5e42c1['data']['key']&&_0x5e42c1['data']['newValue']&&_0x5e42c1['data']['oldValue'])return _0x237359;_0x5e42c1=_0x5e42c1['next'];}return{'type':'format','content':getTranslation$5(_0x557864,'*Set\x20format:*\x20%0',getTranslation$5(_0x557864,'ELEMENT_'+_0x3d8617['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')['toUpperCase']()+'_LIST_DEFAULT'))};}['_registerLegacyDescription'](){const _0x3ba2a6=this['editor'],_0x5875eb=_0x3ba2a6['locale'];_0x3ba2a6['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x5c7f98=>{if('formatBlock'!=_0x5c7f98['type'])return;const {data:_0xfb06bd}=_0x5c7f98;if(!_0xfb06bd)return;let _0x28e2d5,_0x49c14a;switch(_0xfb06bd['commandName']){case'listStyle':_0x28e2d5='*Change\x20to:*\x20%0',_0x49c14a={'type':'format','content':getTranslation$5(_0x5875eb,_0x28e2d5,getTranslation$5(_0x5875eb,this['_getTranslationKeyForListStyle'](_0xfb06bd['commandParams'][0x0]['type'])))};break;case'listReversed':_0x28e2d5=_0xfb06bd['commandParams'][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':'*Format:*\x20set\x20order\x20to\x20regular',_0x49c14a={'type':'format','content':getTranslation$5(_0x5875eb,_0x28e2d5)};break;case'listStart':_0x28e2d5='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x49c14a={'type':'format','content':getTranslation$5(_0x5875eb,_0x28e2d5,_0xfb06bd['commandParams'][0x0]['startIndex'])};}return _0x49c14a;});}['_getTranslationKeyForListStyle'](_0x26ab50){return'ELEMENT_'+getListTypeFromListStyleType(_0x26ab50)['toUpperCase']()+'_LIST_'+_0x26ab50['toUpperCase']()['replace'](/-/g,'_');}}const _0x4ff945=['disc','circle','square'],_0x4887cf=['decimal','decimal-leading-zero','lower-roman','upper-roman','lower-latin','upper-latin','arabic-indic'];function getListTypeFromListStyleType(_0x55b8fc){return _0x4ff945['includes'](_0x55b8fc)?'bulleted':_0x4887cf['includes'](_0x55b8fc)?'numbered':null;}class _0x35e25d extends ckeditor5['Plugin']{['afterInit'](){const _0x5366f3=this['editor'];_0x5366f3['commands']['get']('emoji')&&_0x5366f3['plugins']['get']('TrackChangesEditing')['enableCommand']('emoji');}}class TrackChangesEnterCommand extends ckeditor5['Plugin']{static get['requires'](){return[ckeditor5['Enter']];}['init'](){const _0x5a2a45=this['editor'],_0x10b187=_0x5a2a45['plugins']['get']('TrackChangesEditing'),_0x246c97=_0x5a2a45['commands']['get']('enter');_0x10b187['enableCommand']('enter',()=>{_0x5a2a45['model']['change'](_0x4d6200=>{const _0x2fba5b=_0x5a2a45['model']['document']['selection'],_0x21e58d=_0x2fba5b['getFirstPosition'](),_0x4aca80=ckeditor5['ModelLiveRange']['fromRange'](_0x2fba5b['getFirstRange']());if(_0x246c97['enterBlock'](_0x4d6200)){const _0x528ca0=_0x5a2a45['model']['createPositionAt'](_0x21e58d['parent']['nextSibling'],0x0),_0x2f3ac1=_0x4d6200['createRange'](_0x21e58d,_0x528ca0);_0x10b187['markInsertion'](_0x2f3ac1);}else _0x4d6200['setSelection'](_0x4d6200['createRange'](_0x4aca80['end']));_0x4aca80['detach'](),_0x246c97['fire']('afterExecute',{'writer':_0x4d6200});});});}}class _0xee1268 extends ckeditor5['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('FindAndReplaceEditing'))return;const _0x7cce3d=this['editor']['plugins']['get']('TrackChangesEditing');_0x7cce3d['enableCommand']('find',this['handleFindCommand']['bind'](this)),_0x7cce3d['enableCommand']('findNext'),_0x7cce3d['enableCommand']('findPrevious'),_0x7cce3d['enableCommand']('replace'),_0x7cce3d['enableCommand']('replaceAll');}['handleFindCommand'](_0xf884c9,_0x44642a,_0x517bcb={}){const _0x5ed7e2=this['editor']['plugins']['get']('FindAndReplaceUtils');return _0xf884c9(_0x1f4ecb=>{let _0x1d2632=('string'==typeof _0x44642a?_0x5ed7e2['findByTextCallback'](_0x44642a,_0x517bcb):_0x44642a)(_0x1f4ecb);Array['isArray'](_0x1d2632)&&(_0x1d2632={'results':_0x1d2632,'searchText':'string'==typeof _0x44642a?_0x44642a:''});const _0x4851fa=_0x1d2632['results']['filter'](_0x4cadf8=>!0x1===this['_isInDeletionRange'](_0x4cadf8,_0x1f4ecb['item']));return{..._0x1d2632,'results':_0x4851fa};},_0x517bcb);}['_isInDeletionRange'](_0x58d391,_0x1340b0){const _0x371c6f=this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x1340b0,_0x58d391['start']),this['editor']['model']['createPositionAt'](_0x1340b0,_0x58d391['end']));for(const _0x8ec57e of this['editor']['model']['markers']['getMarkersGroup']('suggestion:deletion'))if(null!==_0x371c6f['getIntersection'](_0x8ec57e['getRange']()))return!0x0;return!0x1;}}const fontPlugins=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class TrackChangesFont extends ckeditor5['Plugin']{['afterInit'](){const _0x306570=this['editor']['locale'],_0x36d67f=this['editor']['plugins']['get']('TrackChangesEditing');for(const {pluginName:_0x566f85,commandName:_0xfcf036}of fontPlugins)this['editor']['plugins']['has'](_0x566f85)&&_0x36d67f['enableDefaultAttributesIntegration'](_0xfcf036);_0x36d67f['descriptionFactory']['registerAttributeLabel']('fontSize',getTranslation$5(_0x306570,'FORMAT_FONT_SIZE')),_0x36d67f['descriptionFactory']['registerAttributeLabel']('fontFamily',getTranslation$5(_0x306570,'FORMAT_FONT_FAMILY')),_0x36d67f['descriptionFactory']['registerAttributeLabel']('fontColor',getTranslation$5(_0x306570,'FORMAT_FONT_COLOR')),_0x36d67f['descriptionFactory']['registerAttributeLabel']('fontBackgroundColor',getTranslation$5(_0x306570,'FORMAT_FONT_BACKGROUND')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x7b882e=this['editor'],_0x59fb03=_0x7b882e['locale'];_0x7b882e['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x52cd82=>{const _0x40a35a=_0x59fb03['t'];if('formatInline'!=_0x52cd82['type'])return;const {data:_0x2d4d35}=_0x52cd82;if(null!=_0x2d4d35){if('fontSize'==_0x2d4d35['commandName']){const _0xdcf81=_0x2d4d35['commandParams'][0x0]['value'];if(_0xdcf81){const _0x394cfa=_0x40a35a(this['editor']['plugins']['get']('FontSize')['normalizeSizeOptions'](this['editor']['config']['get']('fontSize.options'))['find'](_0x4ddfef=>_0x4ddfef['model']==_0xdcf81)['title'])['toLowerCase']();return{'type':'format','content':getTranslation$5(_0x59fb03,'*Set\x20font\x20size:*\x20%0',_0x394cfa)};}return{'type':'format','content':getTranslation$5(_0x59fb03,'*Reset\x20font\x20size*')};}if('fontFamily'==_0x2d4d35['commandName']){const _0xebdcaf=_0x2d4d35['commandParams'][0x0]['value'];return _0xebdcaf?{'type':'format','content':getTranslation$5(_0x59fb03,'*Set\x20font\x20family:*\x20%0',_0xebdcaf)}:{'type':'format','content':getTranslation$5(_0x59fb03,'*Reset\x20font\x20family*')};}if('fontColor'==_0x2d4d35['commandName']){const _0x493a23=_0x2d4d35['commandParams'][0x0]['value'];if(_0x493a23){const _0x5a4d7f=ckeditor5['normalizeColorOptions'](this['editor']['config']['get']('fontColor.colors'))['find'](_0x4710d3=>_0x4710d3['model']==_0x493a23);let _0x4d4968=_0x493a23,_0x2ce8c5='';return _0x5a4d7f&&(_0x4d4968=_0x5a4d7f['label'],_0x2ce8c5=_0x40a35a(_0x4d4968)['toLowerCase']()),{'type':'format','content':getTranslation$5(_0x59fb03,'*Set\x20font\x20color:*\x20%0',_0x2ce8c5)['trim'](),'color':{'value':_0x493a23,'title':_0x2ce8c5||_0x4d4968}};}return{'type':'format','content':getTranslation$5(_0x59fb03,'*Reset\x20font\x20color*')};}if('fontBackgroundColor'==_0x2d4d35['commandName']){const _0x173a7f=_0x2d4d35['commandParams'][0x0]['value'];if(_0x173a7f){const _0x26a6b8=ckeditor5['normalizeColorOptions'](this['editor']['config']['get']('fontBackgroundColor.colors'))['find'](_0x33971b=>_0x33971b['model']==_0x173a7f);let _0x492375=_0x173a7f,_0xe743af='';return _0x26a6b8&&(_0x492375=_0x26a6b8['label'],_0xe743af=_0x40a35a(_0x492375)['toLowerCase']()),{'type':'format','content':getTranslation$5(_0x59fb03,'*Set\x20font\x20background\x20color:*\x20%0',_0xe743af)['trim'](),'color':{'value':_0x173a7f,'title':_0xe743af||_0x492375}};}return{'type':'format','content':getTranslation$5(_0x59fb03,'*Reset\x20font\x20background\x20color*')};}}});}}class TrackChangesFootnotes extends ckeditor5['Plugin']{['afterInit'](){const {plugins:_0x983336}=this['editor'];_0x983336['has']('FootnotesEditing')&&this['_registerFootnotesEditingIntegration'](),_0x983336['has']('FootnotesPropertiesEditing')&&this['_registerFootnotesPropertiesEditingIntegration']();}['_registerFootnotesPropertiesEditingIntegration'](){const {locale:_0x53a404,plugins:_0x431dc2,commands:_0x594121}=this['editor'],_0x1746a4=_0x431dc2['get']('TrackChangesEditing');_0x594121['get']('footnotesStyle')&&_0x1746a4['enableDefaultAttributesIntegration']('footnotesStyle'),_0x594121['get']('footnotesStart')&&_0x1746a4['enableDefaultAttributesIntegration']('footnotesStart'),_0x1746a4['descriptionFactory']['registerAttributeLabel']('footnotesListStyle',getTranslation$5(_0x53a404,'FORMAT_FOOTNOTES_LIST_STYLE')),_0x1746a4['descriptionFactory']['registerAttributeLabel']('footnotesListStart',getTranslation$5(_0x53a404,'FORMAT_FOOTNOTES_LIST_START'));}['_registerFootnotesEditingIntegration'](){const _0x367d55=this['editor']['plugins']['get']('TrackChangesEditing'),{locale:_0x32e307,commands:_0x3dbc45}=this['editor'];_0x3dbc45['get']('insertFootnote')&&_0x367d55['enableCommand']('insertFootnote'),_0x367d55['descriptionFactory']['registerElementLabel']('footnoteRef',_0x5e2b6a=>getTranslation$5(_0x32e307,'ELEMENT_FOOTNOTE_REF',_0x5e2b6a)),_0x367d55['descriptionFactory']['registerElementLabel']('footnoteDefinition',_0x596519=>getTranslation$5(_0x32e307,'ELEMENT_FOOTNOTE_DEFINITION',_0x596519)),_0x367d55['descriptionFactory']['registerElementLabel']('footnotesDefinitions',_0x4f9732=>getTranslation$5(_0x32e307,'ELEMENT_FOOTNOTES_DEFINITIONS_LIST',_0x4f9732));}}class TrackChangesFormatPainter extends ckeditor5['Plugin']{['afterInit'](){const _0x4986c0=this['editor'],_0x39108e=_0x4986c0['plugins']['get']('TrackChangesEditing'),_0x5519e1=_0x4986c0['commands']['get']('copyFormat'),_0x2fe56d=_0x4986c0['commands']['get']('pasteFormat');_0x5519e1&&_0x2fe56d&&(_0x39108e['enableDefaultAttributesIntegration']('pasteFormat'),_0x39108e['enableCommand']('copyFormat'),this['_registerLegacyDescription']());}['_registerLegacyDescription'](){const _0x24b473=this['editor'],_0x5ed0db=_0x24b473['locale'];_0x24b473['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x2a375a=>{if('formatBlock'!=_0x2a375a['type']&&'formatInline'!=_0x2a375a['type'])return;const {data:_0x3b9eb5}=_0x2a375a;if(_0x3b9eb5&&'pasteFormat'===_0x3b9eb5['commandName']){const _0x74a958=[],_0x3fde76=_0x3b9eb5['commandParams'][0x0];for(const [_0x573aeb,_0x5ee131]of Object['entries'](_0x3fde76))_0x74a958['push'](translateFormatting(_0x24b473,_0x573aeb,_0x5ee131));return _0x74a958['length']?{'type':'format','content':getTranslation$5(_0x5ed0db,'*Set\x20format\x20to:*\x20%0',_0x74a958['join'](',\x20'))}:{'type':'format','content':getTranslation$5(_0x5ed0db,'*Remove\x20all\x20formatting*')};}});}}function translateFormatting(_0x229917,_0x12fa27,_0x1660e1){const _0x241316=_0x229917['locale']['t'],_0x46a197=_0x12fa27['split'](/(?=[A-Z])/)['join']('\x20'),_0x4fc377=_0x241316(_0x46a197['charAt'](0x0)['toUpperCase']()+_0x46a197['slice'](0x1))['toLowerCase']();if('boolean'==typeof _0x1660e1)return _0x4fc377;if('fontColor'===_0x12fa27||'fontBackgroundColor'===_0x12fa27){const _0x2329fb=ckeditor5['normalizeColorOptions'](_0x229917['config']['get']('fontColor.colors'))['find'](_0x2355d1=>_0x2355d1['model']==_0x1660e1);return _0x4fc377+'\x20('+(_0x2329fb?_0x241316(_0x2329fb['label'])['toLowerCase']():_0x1660e1)+')';}if('fontSize'===_0x12fa27&&isNaN(parseFloat(_0x1660e1))){const _0x4c4da2=_0x229917['plugins']['get']('FontSize')['normalizeSizeOptions'](_0x229917['config']['get']('fontSize.options'))['find'](_0x1689d1=>_0x1689d1['model']==_0x1660e1);return _0x4fc377+'\x20('+(_0x4c4da2?_0x241316(_0x4c4da2['title'])['toLowerCase']():_0x1660e1)+')';}return _0x4fc377+'\x20('+_0x1660e1+')';}class _0x3a51f0 extends ckeditor5['Plugin']{['_headingOptions'];['afterInit'](){const _0x21d319=this['editor'];if(!_0x21d319['plugins']['has']('HeadingEditing'))return;this['_headingOptions']=_0x21d319['config']['get']('heading.options');const _0x3855f8=_0x21d319['locale'],_0x30bc5d=_0x21d319['plugins']['get']('TrackChangesEditing');_0x30bc5d['enableDefaultAttributesIntegration']('heading');for(const _0x4794e7 of this['_headingOptions'])'paragraph'!=_0x4794e7['model']&&_0x30bc5d['descriptionFactory']['registerElementLabel'](_0x4794e7['model'],_0x407c00=>{const _0x2b9102=this['_getHeadingLevel'](_0x4794e7['model']);return null!==_0x2b9102?_0x2bd745(_0x407c00,_0x2b9102):_0x4f8124(_0x407c00,_0x4794e7['title']);});function _0x2bd745(_0x2f94,_0x1d47f1){return getTranslation$5(_0x3855f8,'ELEMENT_HEADING',[_0x2f94,_0x1d47f1]);}function _0x4f8124(_0x128c2f,_0x38fe4a){return getTranslation$5(_0x3855f8,'ELEMENT_HEADING_CUSTOM',[_0x128c2f,_0x38fe4a]);}this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x29bb97=this['editor'],_0x428c97=_0x29bb97['locale'];function _0x5970de(_0x470cc4,_0x3f126e){return getTranslation$5(_0x428c97,'ELEMENT_HEADING_CUSTOM',[_0x470cc4,_0x3f126e]);}_0x29bb97['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x38fabe=>{if('formatBlock'!=_0x38fabe['type'])return;const {data:_0x378e32}=_0x38fabe;if(_0x378e32&&'heading'==_0x378e32['commandName']){const _0x1f1486=_0x378e32['commandParams'][0x0]['value'],_0x5306f1=this['_getHeadingLevel'](_0x1f1486);if(null!==_0x5306f1)return{'type':'format','content':getTranslation$5(_0x428c97,'*Change\x20to:*\x20%0',(_0x6f6322=0x1,_0x4791f0=_0x5306f1,getTranslation$5(_0x428c97,'ELEMENT_HEADING',[_0x6f6322,_0x4791f0])))};const _0x5d925e=this['_headingOptions']['find'](_0x5e1407=>_0x5e1407['model']===_0x1f1486)['title'];return{'type':'format','content':getTranslation$5(_0x428c97,'*Change\x20to:*\x20%0',_0x5970de(0x1,_0x5d925e))};}var _0x6f6322,_0x4791f0;});}['_getHeadingLevel'](_0x471cd0){const _0x3a9eae=_0x471cd0['match'](/^heading(\d+)/);if(_0x3a9eae)return _0x3a9eae[0x1];const _0x37cba5=this['_headingOptions']?.['find'](_0x47ac99=>_0x47ac99['model']==_0x471cd0);if(_0x37cba5&&_0x37cba5['view']){const _0x29a3cd=_0x37cba5['view'],_0x268877=(_0x29a3cd['name']??_0x29a3cd)['match'](/^h(\d+)/);if(_0x268877)return _0x268877[0x1];}return null;}}class TrackChangesHighlight extends ckeditor5['Plugin']{['afterInit'](){const _0x42c348=this['editor'];if(!_0x42c348['plugins']['has']('HighlightEditing'))return;const _0x419b60=_0x42c348['plugins']['get']('TrackChangesEditing'),_0x26d742=_0x42c348['locale'];_0x419b60['enableDefaultAttributesIntegration']('highlight'),_0x419b60['descriptionFactory']['registerAttributeLabel']('highlight',getTranslation$5(_0x26d742,'FORMAT_HIGHLIGHT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x3db266=this['editor'],_0x5d3bde=_0x3db266['locale'];_0x3db266['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x15ed8b=>{if('formatInline'!=_0x15ed8b['type'])return;const {data:_0x594e8b}=_0x15ed8b;if(_0x594e8b&&'highlight'==_0x594e8b['commandName']){const _0x5c34fd=_0x5d3bde['t'],_0x4a2cca=_0x594e8b['commandParams'][0x0]['value'];if(_0x4a2cca){const _0x23b389=_0x3db266['config']['get']('highlight.options')['find'](_0x4f7426=>_0x4f7426['model']==_0x4a2cca),_0x2d2f0b=_0x5c34fd(_0x23b389['title'])['toLowerCase']();return{'type':'format','content':getTranslation$5(_0x5d3bde,'*Set\x20highlight:*\x20%0',_0x2d2f0b),'color':{'value':_0x23b389['color'],'title':_0x23b389['title']}};}return{'type':'format','content':getTranslation$5(_0x5d3bde,'*Remove\x20highlight*',getTranslation$5(_0x5d3bde,'FORMAT_HIGHLIGHT'))};}});}}class TrackChangesHorizontalLine extends ckeditor5['Plugin']{['afterInit'](){const _0x386b7f=this['editor'];if(!_0x386b7f['plugins']['has']('HorizontalLineEditing'))return;_0x386b7f['plugins']['get']('TrackChangesEditing')['enableCommand']('horizontalLine');const _0x1aca80=_0x386b7f['plugins']['get']('TrackChangesEditing'),_0xf99a25=_0x386b7f['locale'];_0x1aca80['descriptionFactory']['registerElementLabel']('horizontalLine',_0x1da26c=>getTranslation$5(_0xf99a25,'ELEMENT_HORIZONTAL_LINE',_0x1da26c));}}class TrackChangesHtmlEmbed extends ckeditor5['Plugin']{['afterInit'](){const _0x544508=this['editor'];if(!_0x544508['plugins']['has']('HtmlEmbed'))return;const _0x3af4ed=_0x544508['plugins']['get']('TrackChangesEditing'),_0x3da65d=_0x544508['locale'];_0x3af4ed['descriptionFactory']['registerElementLabel']('rawHtml',_0x1e6ecf=>getTranslation$5(_0x3da65d,'ELEMENT_HTML_EMBED',_0x1e6ecf)),_0x3af4ed['enableDefaultAttributesIntegration']('htmlEmbed'),_0x3af4ed['descriptionFactory']['registerDescriptionCallback'](_0x35e7fb=>{if('attribute'!=_0x35e7fb['type'])return;const {data:_0xb73e0a}=_0x35e7fb;if(_0xb73e0a&&'value'==_0xb73e0a['key']&&_0x35e7fb['getFirstRange']()['start']['nodeAfter']['is']('element','rawHtml')){const _0x4c3f62=getTranslation$5(_0x3da65d,'ELEMENT_HTML_EMBED');return{'type':'format','content':getTranslation$5(_0x3da65d,'*Change\x20%0\x20content*',_0x4c3f62)};}}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x2931b8=this['editor'],_0x29c03d=_0x2931b8['locale'];_0x2931b8['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x52eab1=>{if('formatBlock'!=_0x52eab1['type'])return;const {data:_0xdc159b}=_0x52eab1;if(_0xdc159b&&'htmlEmbed'==_0xdc159b['commandName']){const _0x47cb9c=getTranslation$5(_0x29c03d,'ELEMENT_HTML_EMBED');return{'type':'format','content':getTranslation$5(_0x29c03d,'*Change\x20%0\x20content*',_0x47cb9c)};}});}}class _0x8be0d5 extends ckeditor5['Plugin']{['afterInit'](){const _0x250e93=this['editor'];if(!_0x250e93['plugins']['has']('ImageEditing'))return;const _0x5444ca=_0x250e93['plugins']['get']('TrackChangesEditing'),_0x34a36c=_0x250e93['plugins']['get']('ImageUtils'),_0x1b8eaf=_0x250e93['locale'];_0x5444ca['enableCommand']('insertImage'),_0x5444ca['descriptionFactory']['registerElementLabel']('imageBlock',_0x198406=>getTranslation$5(_0x1b8eaf,'ELEMENT_IMAGE',_0x198406)),_0x5444ca['descriptionFactory']['registerElementLabel']('imageInline',_0x5eb19b=>getTranslation$5(_0x1b8eaf,'ELEMENT_INLINE_IMAGE',_0x5eb19b)),_0x5444ca['descriptionFactory']['registerElementLabel']('caption',()=>getTranslation$5(_0x1b8eaf,'ELEMENT_CAPTION')),_0x250e93['plugins']['has']('ImageUploadEditing')&&_0x5444ca['enableCommand']('uploadImage'),_0x250e93['plugins']['has']('ImageBlockEditing')&&_0x250e93['plugins']['has']('ImageInlineEditing')&&(_0x5444ca['enableCommand']('imageTypeInline',(_0x1a2680,_0x30fe07)=>{const _0x1b27bc=_0x34a36c['getClosestSelectedImageElement'](_0x250e93['model']['document']['selection']);_0x250e93['model']['change'](()=>{_0x5444ca['markBlockFormat'](_0x1b27bc,{'commandName':'imageTypeInline','commandParams':[_0x30fe07]},[],'convertBlockImageToInline');});}),_0x5444ca['enableCommand']('imageTypeBlock',(_0x486f47,_0x1d3ccc)=>{_0x250e93['model']['change'](_0x4c1da6=>{let _0x1bde54=_0x34a36c['getClosestSelectedImageElement'](_0x250e93['model']['document']['selection']),_0x8f16f8=_0x4c1da6['createRangeOn'](_0x1bde54);const _0x49bec2=ckeditor5['ModelLivePosition']['fromPosition'](_0x8f16f8['start'],'toPrevious'),_0x163259=ckeditor5['ModelLivePosition']['fromPosition'](_0x8f16f8['end'],'toNext');_0x5444ca['forceDefaultExecution'](()=>_0x486f47(_0x1d3ccc)),_0x1bde54=_0x34a36c['getClosestSelectedImageElement'](_0x250e93['model']['document']['selection']),_0x8f16f8=_0x4c1da6['createRangeOn'](_0x1bde54);const _0x45aacd=_0x4c1da6['createRange'](_0x49bec2,_0x163259);_0x49bec2['detach'](),_0x163259['detach'](),_0x5444ca['markBlockFormat'](_0x1bde54,{'commandName':'imageTypeInline','commandParams':[_0x1d3ccc]},[],'convertInlineImageToBlock'),_0x45aacd['start']['isBefore'](_0x8f16f8['start'])&&_0x5444ca['markInsertion'](_0x4c1da6['createRange'](_0x45aacd['start'],_0x8f16f8['start']),'convertInlineImageToBlock'),_0x8f16f8['end']['isBefore'](_0x45aacd['end'])&&_0x5444ca['markInsertion'](_0x4c1da6['createRange'](_0x8f16f8['end'],_0x45aacd['end']),'convertInlineImageToBlock');});}),_0x5444ca['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','join',()=>!0x1),_0x5444ca['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','accept',()=>!0x1),_0x5444ca['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','discard',_0x5444ca['_suggestionFactory']['getSuggestionCallback']('formatBlock','','accept')),_0x5444ca['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','join',()=>!0x1),_0x5444ca['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','discard',([_0x51f94b])=>{const _0x2ea342=_0x5444ca['_suggestionFactory']['getSuggestionCallback']('insertion','','discard');let _0x5b9bd4=_0x51f94b['start'],_0x5aed0a=_0x51f94b['end'];const _0x57e0ef=_0x250e93['model']['schema']['getNearestSelectionRange'](_0x5b9bd4,'backward'),_0x8590d8=_0x250e93['model']['schema']['getNearestSelectionRange'](_0x5aed0a,'forward');_0x57e0ef['isCollapsed']&&(_0x5b9bd4=_0x57e0ef['start']),_0x8590d8['isCollapsed']&&(_0x5aed0a=_0x8590d8['end']),_0x2ea342([_0x250e93['model']['createRange'](_0x5b9bd4,_0x5aed0a)]);}),_0x5444ca['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','chain',_0xedc327),_0x5444ca['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','chain',_0xedc327)),_0x250e93['plugins']['has']('ImageCaptionEditing')&&(_0x5444ca['enableCommand']('toggleImageCaption',(_0x6b7fdb,_0x104321)=>{const _0x5ce671=_0x250e93['plugins']['get']('ImageCaptionUtils');let _0x4d3bcc=_0x34a36c['getClosestSelectedImageElement'](_0x250e93['model']['document']['selection']),_0x8536=_0x5ce671['getCaptionFromImageModelElement'](_0x4d3bcc);_0x250e93['model']['change'](()=>{if(_0x8536)return void _0x5444ca['markDeletion'](_0x250e93['model']['createRangeOn'](_0x8536));const _0x4adcdd=_0x34a36c['isBlockImage'](_0x4d3bcc);_0x6b7fdb(_0x104321),_0x4d3bcc=_0x34a36c['getClosestSelectedImageElement'](_0x250e93['model']['document']['selection']),_0x8536=_0x5ce671['getCaptionFromImageModelElement'](_0x4d3bcc),_0x5444ca['markInsertion'](_0x250e93['model']['createRangeOn'](_0x8536),_0x4adcdd?null:'imageCaption');});}),_0x5444ca['_suggestionFactory']['registerCustomCallback']('insertion','imageCaption','chain',_0xedc327));const _0x442bf1=[{'type':'formatBlock','subType':'imageStylePreApply'},{'type':'insertion','subType':'imageCaption'},{'type':'formatBlock','subType':'convertInlineImageToBlock'},{'type':'insertion','subType':'convertInlineImageToBlock'}];function _0x3d30b3(_0x492167,_0x1f2055){const _0x1fa93b=_0x442bf1['findIndex'](({type:_0x55cea8,subType:_0x21630d})=>_0x492167['type']==_0x55cea8&&_0x492167['subType']==_0x21630d),_0x38606f=_0x442bf1['findIndex'](({type:_0x3bba6f,subType:_0x22a278})=>_0x1f2055['type']==_0x3bba6f&&_0x1f2055['subType']==_0x22a278);if(_0x1fa93b<0x0||_0x38606f<0x0)return!0x1;const _0x517e70=_0x492167['getFirstRange'](),_0x146d55=_0x1f2055['getFirstRange']();if((0x0==_0x1fa93b||0x1==_0x1fa93b)&&0x2==_0x38606f&&_0x517e70['isIntersecting'](_0x146d55))return!0x0;if(0x2==_0x1fa93b&&0x3==_0x38606f){const _0x4fb7cf=_0x5444ca['_findSuggestions'](_0x517e70,'insertion')['filter'](({suggestion:_0x14e45c,meta:_0x5d1666})=>_0x5d1666['isOwn']&&'convertInlineImageToBlock'==_0x14e45c['subType']);if(_0x4fb7cf['length']>0x1&&_0x146d55['end']['isEqual'](_0x517e70['start']))return!0x0;if(0x1==_0x4fb7cf['length']&&(_0x517e70['start']['isEqual'](_0x146d55['end'])||_0x517e70['end']['isEqual'](_0x146d55['start'])))return!0x0;}if(0x3==_0x1fa93b&&0x3==_0x38606f&&_0x517e70['start']['isBefore'](_0x146d55['start'])){const _0x39220b=_0x517e70['end']['nodeAfter'],_0x2e51e2=_0x146d55['start']['nodeBefore'];return _0x34a36c['isBlockImage'](_0x39220b)&&_0x39220b===_0x2e51e2;}return!0x1;}function _0xedc327(_0x31ba99,_0x18e399){return _0x3d30b3(_0x31ba99,_0x18e399)?[_0x31ba99,_0x18e399]:_0x3d30b3(_0x18e399,_0x31ba99)?[_0x18e399,_0x31ba99]:null;}_0x250e93['plugins']['has']('ImageResize')&&(_0x5444ca['enableDefaultAttributesIntegration']('resizeImage'),_0x5444ca['descriptionFactory']['registerAttributeLabel']('resizedWidth',getTranslation$5(_0x1b8eaf,'FORMAT_IMAGE_SIZE'))),_0x250e93['plugins']['has']('ImageTextAlternativeEditing')&&_0x5444ca['enableDefaultAttributesIntegration']('imageTextAlternative'),_0x250e93['plugins']['has']('PictureEditing')&&_0x5444ca['descriptionFactory']['registerDescriptionCallback'](_0x2bf224=>{if('attribute'!=_0x2bf224['type'])return;const {data:_0x597481}=_0x2bf224;return _0x597481&&'sources'==_0x597481['key']?{'type':'format','content':''}:void 0x0;}),_0x250e93['plugins']['has']('ImageSizeAttributes')&&_0x5444ca['descriptionFactory']['registerDescriptionCallback'](_0x3e81cd=>{if('attribute'!=_0x3e81cd['type'])return;const {data:_0x2a6719}=_0x3e81cd;return!_0x2a6719||'width'!=_0x2a6719['key']&&'height'!=_0x2a6719['key']?void 0x0:{'type':'format','content':''};}),_0x5444ca['descriptionFactory']['registerDescriptionCallback'](_0x57d6f2=>{if(!!_0x442bf1['find'](({type:_0xe71a6f,subType:_0x53879a})=>_0x57d6f2['type']==_0xe71a6f&&_0x57d6f2['subType']==_0x53879a))return _0x57d6f2['previous']?{}:void 0x0;}),_0x5444ca['descriptionFactory']['registerDescriptionCallback'](_0x2d8033=>{if('insertion'==_0x2d8033['type']||'deletion'==_0x2d8033['type']){const _0x3061f2=_0x2d8033['getContainedElement']();if(_0x3061f2&&_0x3061f2['is']('element','caption'))return{'type':'insertion'==_0x2d8033['type']?'addObject':'removeObject','element':_0x3061f2,'quantity':0x1};}}),_0x5444ca['descriptionFactory']['registerDescriptionCallback'](_0x588c02=>'formatBlock'==_0x588c02['type']&&'convertInlineImageToBlock'==_0x588c02['subType']?{'type':'format','content':'Inline\x20image\x20to\x20block\x20image'}:'formatBlock'==_0x588c02['type']&&'convertBlockImageToInline'==_0x588c02['subType']?{'type':'format','content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x5444ca['descriptionFactory']['registerDescriptionCallback'](_0x625e8d=>{if('attribute'!=_0x625e8d['type'])return;const {data:_0x2987cf}=_0x625e8d;if(!_0x2987cf||'alt'!=_0x2987cf['key'])return;const _0x3d4b2d=_0x2987cf['newValue'];return _0x3d4b2d?{'type':'format','content':getTranslation$5(_0x1b8eaf,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x3d4b2d+'\x22')}:{'type':'format','content':getTranslation$5(_0x1b8eaf,'*Remove\x20image\x20text\x20alternative*')};}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x8de299=this['editor'],_0x585ca0=_0x8de299['locale'];_0x8de299['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x4e43a3=>{if('formatBlock'!=_0x4e43a3['type']&&'formatInline'!=_0x4e43a3['type'])return;const {data:_0x9999c4}=_0x4e43a3;if(_0x9999c4){if('imageTextAlternative'==_0x9999c4['commandName']){const _0x5798f6=_0x9999c4['commandParams'][0x0]['newValue'];return _0x5798f6?{'type':'format','content':getTranslation$5(_0x585ca0,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x5798f6+'\x22')}:{'type':'format','content':getTranslation$5(_0x585ca0,'*Remove\x20image\x20text\x20alternative*')};}if('resizeImage'==_0x9999c4['commandName']){const _0xada574=_0x9999c4['commandParams'][0x0]['width'];return _0xada574?{'type':'format','content':getTranslation$5(_0x585ca0,'*Set\x20image\x20width:*\x20%0',_0xada574)}:{'type':'format','content':getTranslation$5(_0x585ca0,'*Reset\x20image\x20width*')};}}});}}class _0x54e084 extends ckeditor5['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('ImageEditing'))return;const _0x5d3581=this['editor']['locale'],_0x1f62bd=this['editor']['plugins']['get']('TrackChangesEditing');_0x1f62bd['enableDefaultAttributesIntegration']('replaceImageSource'),_0x1f62bd['descriptionFactory']['registerDescriptionCallback'](_0x4886b1=>{if('attribute'!=_0x4886b1['type'])return;const {data:_0xb23f4a}=_0x4886b1;return _0xb23f4a&&'src'==_0xb23f4a['key']?_0xb23f4a['newValue']&&_0xb23f4a['oldValue']?{'type':'format','content':getTranslation$5(_0x5d3581,'*Replace\x20image*')}:{'type':'format','content':''}:void 0x0;}),this['_handleLegacySuggestions']();}['_handleLegacySuggestions'](){const _0x273736=this['editor']['plugins']['get']('TrackChangesEditing');_0x273736['_suggestionFactory']['registerCustomCallback']('formatBlock','replaceImageSource','accept',_0x273736['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x273736['_suggestionFactory']['registerCustomCallback']('formatBlock','replaceImageSource','discard',_0x273736['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'accept')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x56c8a5=this['editor'],_0x2f586b=_0x56c8a5['locale'];_0x56c8a5['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x3aa9bc=>{if('formatBlock'!=_0x3aa9bc['type']&&'formatInline'!=_0x3aa9bc['type'])return;const {data:_0x5b4412}=_0x3aa9bc;if(!_0x5b4412||'replaceImageSource'!=_0x5b4412['commandName'])return;return{'type':'format','content':getTranslation$5(_0x2f586b,'*Format:*\x20replace\x20image\x20URL')};});}}class TrackChangesImageStyle extends ckeditor5['Plugin']{['afterInit'](){const _0x25838e=this['editor'];if(!_0x25838e['plugins']['has']('ImageStyleEditing'))return;const _0x47127c=_0x25838e['plugins']['get']('TrackChangesEditing'),_0x41a97d=_0x25838e['plugins']['get']('ImageUtils'),_0x44d06e={};_0x47127c['enableCommand']('imageStyle',(_0x480211,_0x307f9a)=>{const _0x3b6425=_0x25838e['plugins']['get']('Users')['me'],_0x51bef9=_0x25838e['commands']['get']('imageStyle');let _0x234410=_0x41a97d['getClosestSelectedImageElement'](_0x25838e['model']['document']['selection']),_0x1ee01a=_0x25838e['model']['createRangeOn'](_0x234410),_0x45959e=_0x51bef9['value'];if(_0x45959e==_0x307f9a['value'])return;const _0x477432={'commandName':'imageStyle','commandParams':[_0x307f9a],'formatGroupId':ckeditor5['uid']()};_0x25838e['model']['change'](()=>{if(_0x47127c['getSuggestions']()['filter'](_0x3b226d=>_0x3b226d['isInContent']&&_0x3b6425==_0x3b226d['author']&&('formatBlock'==_0x3b226d['type']||'formatInline'==_0x3b226d['type'])&&('imageStylePreApply'==_0x3b226d['subType']||'imageStylePostApply'==_0x3b226d['subType'])&&_0x3b226d['getFirstRange']()['isEqual'](_0x1ee01a))['forEach'](_0x1e546e=>_0x47127c['discardSuggestion'](_0x1e546e['head'])),_0x234410=_0x41a97d['getClosestSelectedImageElement'](_0x25838e['model']['document']['selection']),_0x1ee01a=_0x25838e['model']['createRangeOn'](_0x234410),_0x51bef9['refresh'](),_0x25838e['commands']['get']('imageTypeInline')['refresh'](),_0x25838e['commands']['get']('imageTypeBlock')['refresh'](),_0x45959e=_0x51bef9['value'],_0x45959e!=_0x307f9a['value'])return _0x41a97d['isInlineImage'](_0x234410)&&_0x51bef9['shouldConvertImageType'](_0x307f9a['value'],_0x234410)?(_0x480211({..._0x307f9a,'setImageSizes':!0x1}),_0x234410=_0x41a97d['getClosestSelectedImageElement'](_0x25838e['model']['document']['selection']),void _0x47127c['markBlockFormat'](_0x234410,{..._0x477432,'commandReversedParams':[{'value':_0x45959e||null,'setImageSizes':!0x1}]},[],'imageStylePreApply')):void(_0x41a97d['isBlockImage'](_0x234410)?_0x47127c['markBlockFormat'](_0x234410,_0x477432,[],'imageStylePostApply'):_0x47127c['markInlineFormat'](_0x1ee01a,_0x477432,'imageStylePostApply'));});});for(const _0xc1b700 of _0x25838e['plugins']['get']('ImageStyleEditing')['normalizedStyles'])_0x44d06e[_0xc1b700['name']]=_0xc1b700['title']['toLowerCase']();_0x47127c['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','join',()=>!0x1),_0x47127c['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePostApply','join',()=>!0x1),_0x47127c['_suggestionFactory']['registerCustomCallback']('formatInline','imageStylePostApply','join',()=>!0x1),_0x47127c['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','accept',([_0x1852e4])=>{_0x41a97d['setImageNaturalSizeAttributes'](_0x1852e4['getContainedElement']());}),_0x47127c['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','discard',(_0x540559,_0x44cd6e)=>{_0x47127c['_suggestionFactory']['getSuggestionCallback']('formatBlock','','accept')(_0x540559,{'commandName':_0x44cd6e['commandName'],'commandParams':_0x44cd6e['commandReversedParams']});}),_0x47127c['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','chain',function(_0x384448,_0x2a4a6b){if(_0x566a83(_0x384448,_0x2a4a6b))return[_0x384448,_0x2a4a6b];if(_0x566a83(_0x2a4a6b,_0x384448))return[_0x2a4a6b,_0x384448];return null;});const _0x183708=[{'type':'formatBlock','subType':'imageStylePreApply'},{'type':'insertion','subType':'imageCaption'},{'type':'formatBlock','subType':'convertInlineImageToBlock'},{'type':'insertion','subType':'convertInlineImageToBlock'}];function _0x566a83(_0x5c1fcc,_0x921071){const _0x49dbed=_0x183708['findIndex'](({type:_0xc13c91,subType:_0x43e5f3})=>_0x5c1fcc['type']==_0xc13c91&&_0x5c1fcc['subType']==_0x43e5f3),_0x2d5758=_0x183708['findIndex'](({type:_0x3d138b,subType:_0x2ee070})=>_0x921071['type']==_0x3d138b&&_0x921071['subType']==_0x2ee070);if(_0x49dbed<0x0||_0x2d5758<0x0)return!0x1;const _0x81f8d5=_0x5c1fcc['getFirstRange'](),_0xb50cca=_0x921071['getFirstRange']();if((0x0==_0x49dbed||0x1==_0x49dbed)&&0x2==_0x2d5758&&_0x81f8d5['isIntersecting'](_0xb50cca))return!0x0;if(0x2==_0x49dbed&&0x3==_0x2d5758){const _0x35d0b9=_0x47127c['_findSuggestions'](_0x81f8d5,'insertion')['filter'](({suggestion:_0x12d4c5,meta:_0x4a115a})=>_0x4a115a['isOwn']&&'convertInlineImageToBlock'==_0x12d4c5['subType']);if(_0x35d0b9['length']>0x1&&_0xb50cca['end']['isEqual'](_0x81f8d5['start']))return!0x0;if(0x1==_0x35d0b9['length']&&(_0x81f8d5['start']['isEqual'](_0xb50cca['end'])||_0x81f8d5['end']['isEqual'](_0xb50cca['start'])))return!0x0;}if(0x3==_0x49dbed&&0x3==_0x2d5758&&_0x81f8d5['start']['isBefore'](_0xb50cca['start'])){const _0x48ec3d=_0x81f8d5['end']['nodeAfter'],_0x2243c6=_0xb50cca['start']['nodeBefore'];return _0x41a97d['isBlockImage'](_0x48ec3d)&&_0x48ec3d===_0x2243c6;}return!0x1;}_0x25838e['model']['document']['registerPostFixer'](()=>{let _0x3b41b4=!0x1;const _0x37c227=Array['from'](_0x25838e['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x46af22,data:_0x4619b7}of _0x37c227){const {group:_0x122237,type:_0x55c7af,subType:_0x299ae7,id:_0x1712b0}=splitSuggestionMarkerName(_0x46af22);if('suggestion'==_0x122237&&_0x47127c['hasSuggestion'](_0x1712b0)){if('formatBlock'==_0x55c7af&&('imageStylePreApply'==_0x299ae7||'imageStylePostApply'==_0x299ae7)){const _0x15d903=_0x47127c['getSuggestion'](_0x1712b0);if(_0x4619b7['newRange']){const _0x59e4d2=_0x15d903['getFirstRange']()['getContainedElement']();if(_0x41a97d['isBlockImage'](_0x59e4d2))continue;_0x47127c['discardSuggestion'](_0x15d903),_0x3b41b4=!0x0;}}if('insertion'==_0x55c7af&&'imageCaption'==_0x299ae7&&!_0x4619b7['newRange']){const _0x26c458=_0x47127c['getSuggestion'](_0x1712b0);_0x26c458['next']&&_0x26c458['next']['isInContent']&&(_0x47127c['discardSuggestion'](_0x26c458['next']),_0x3b41b4=!0x0);}}}return _0x3b41b4;}),this['_registerLegacyDescription'](_0x44d06e);}['_registerLegacyDescription'](_0x323751){const _0x395390=this['editor'],_0x54a1b7=_0x395390['locale'];_0x395390['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x449fc0=>{if('formatBlock'!=_0x449fc0['type']&&'formatInline'!=_0x449fc0['type'])return;const {data:_0x2d3ffa}=_0x449fc0;if(!_0x2d3ffa||'imageStyle'!=_0x2d3ffa['commandName'])return;const _0x18012f=_0x2d3ffa['commandParams'][0x0]['value'];return _0x599d96('side'===_0x18012f?getTranslation$5(_0x54a1b7,'FORMAT_SIDE_IMAGE'):_0x323751[_0x18012f]||_0x18012f);function _0x599d96(_0x4d704d){return{'type':'format','content':getTranslation$5(_0x54a1b7,'*Format:*\x20%0',_0x4d704d)};}});}}class TrackChangesImportWord extends ckeditor5['Plugin']{['_trackChangesValueDuringImport'];['_trackChangesExecuted'];constructor(_0x4e554b){super(_0x4e554b),this['_trackChangesValueDuringImport']=!0x1,this['_trackChangesExecuted']=!0x1;}['afterInit'](){const _0x27ea8b=this['editor'],_0x147b9e=_0x27ea8b['commands']['get']('importWord'),_0x4b2408=_0x27ea8b['commands']['get']('trackChanges');_0x147b9e&&(_0x147b9e['on']('execute',(_0x4e856a,[,_0x44ae1a])=>{this['_trackChangesValueDuringImport']=_0x4b2408['value'],_0x44ae1a['collaboration_features']['track_changes']=!this['_trackChangesValueDuringImport'];},{'priority':'high'}),this['listenTo'](_0x147b9e,'dataInsert',this['_handleImportedData']['bind'](this)),this['listenTo'](_0x147b9e,'dataInsert',()=>{this['_trackChangesExecuted']&&(_0x4b2408['execute'](),this['_trackChangesExecuted']=!0x1);},{'priority':'lowest'}),_0x27ea8b['plugins']['get']('TrackChangesEditing')['enableCommand']('importWord'));}['_handleImportedData'](_0x4b5327,_0x23dee3){const {suggestions:_0x1b6823}=_0x23dee3,_0x2365c=this['editor']['commands']['get']('trackChanges'),_0xb58840=_0x2365c['value'];this['_trackChangesValueDuringImport']!==_0xb58840&&(_0x2365c['execute'](),this['_trackChangesExecuted']=!0x0),_0x1b6823&&_0x1b6823['forEach'](({id:_0x58c974,type:_0x1d5bdb,author:_0x529a55,created_at:_0x5339f1})=>{const _0x429896={'id':_0x58c974,'type':_0x1d5bdb,'authorId':this['editor']['plugins']['get']('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x529a55,'createdAt':_0x5339f1?new Date(_0x5339f1):new Date(),'source':'importWord'}}};this['editor']['plugins']['get']('TrackChangesEditing')['_setSuggestionData'](_0x429896);});}}class TrackChangesIndent extends ckeditor5['Plugin']{['afterInit'](){const _0x59586e=this['editor'],_0x42724c=_0x59586e['plugins']['get']('TrackChangesEditing');if(_0x59586e['plugins']['has']('IndentEditing')&&(_0x42724c['enableCommand']('indent'),_0x42724c['enableCommand']('outdent')),_0x59586e['plugins']['has']('IndentBlock')){for(const _0x12c721 of['indentBlock','outdentBlock'])_0x42724c['enableDefaultAttributesIntegration'](_0x12c721);if(_0x59586e['plugins']['has']('ListEditing')){for(const _0x9b5050 of['indentBlockList','indentBlockListItem','outdentBlockList','outdentBlockListItem'])_0x42724c['enableDefaultAttributesIntegration'](_0x9b5050);}}const _0x51afd7=_0x59586e['locale'];_0x42724c['descriptionFactory']['registerAttributeLabel']('blockIndent',getTranslation$5(_0x51afd7,'FORMAT_INDENT')),_0x42724c['descriptionFactory']['registerAttributeLabel']('blockIndentList',getTranslation$5(_0x51afd7,'FORMAT_INDENT')),_0x42724c['descriptionFactory']['registerAttributeLabel']('blockIndentListItem',getTranslation$5(_0x51afd7,'FORMAT_INDENT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x3038c8=this['editor'],_0x594c52=_0x3038c8['locale'],_0x871494=_0x3038c8['plugins']['get']('TrackChangesEditing');_0x871494['descriptionFactory']['registerDescriptionCallback'](_0x21282c=>{if('formatBlock'!=_0x21282c['type'])return;const {data:_0x1f9eba}=_0x21282c;if(!_0x1f9eba)return;if('indentBlock'!=_0x1f9eba['commandName']&&'outdentBlock'!=_0x1f9eba['commandName'])return;const _0xbf54bc=_0x21282c['getItems']()[0x0],_0x17da66=_0x871494['descriptionFactory']['getItemLabel'](_0xbf54bc);return'indentBlock'==_0x1f9eba['commandName']?{'type':'format','content':getTranslation$5(_0x594c52,'*Indent:*\x20%0',_0x17da66)}:'outdentBlock'==_0x1f9eba['commandName']?{'type':'format','content':getTranslation$5(_0x594c52,'*Outdent:*\x20%0',_0x17da66)}:void 0x0;});}}class TrackChangesInputCommand extends ckeditor5['Plugin']{static get['requires'](){return[ckeditor5['Input']];}['init'](){this['editor']['plugins']['get']('TrackChangesEditing')['enableCommand']('input');}}class _0x210a28 extends ckeditor5['Plugin']{['afterInit'](){const _0x9c2b1d=this['editor'];if(!_0x9c2b1d['plugins']['has']('LinkEditing'))return;const _0x5a0b52=_0x9c2b1d['plugins']['get']('TrackChangesEditing'),_0x22dc25=_0x9c2b1d['commands']['get']('link');_0x5a0b52['enableDefaultAttributesIntegration']('link'),_0x5a0b52['enableDefaultAttributesIntegration']('unlink');for(const _0x516e94 of _0x22dc25['manualDecorators'])_0x5a0b52['descriptionFactory']['registerAttributeLabel'](_0x516e94['id'],'link\x20('+_0x516e94['label']['toLowerCase']()+')');_0x5a0b52['descriptionFactory']['registerDescriptionCallback'](_0x222b4d=>{if('attribute'!=_0x222b4d['type'])return;const {data:_0x74d446}=_0x222b4d;if(!_0x74d446||'linkHref'!=_0x74d446['key'])return;const _0x72fc36=_0x74d446['newValue'],_0x3aca8a=_0x9c2b1d['locale'];return{'type':'format','content':null==_0x72fc36?getTranslation$5(_0x3aca8a,'*Remove\x20link*'):getTranslation$5(_0x3aca8a,'*Set\x20link:*\x20%0','\x22'+_0x72fc36+'\x22')};}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x357992=this['editor'],_0xf405a2=_0x357992['locale'];_0x357992['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x540e78=>{if('formatInline'!=_0x540e78['type'])return;const {data:_0xa1446c}=_0x540e78;if(_0xa1446c){if('link'==_0xa1446c['commandName']){const _0x18470c=_0xa1446c['commandParams'][0x0];return{'type':'format','content':getTranslation$5(_0xf405a2,'*Set\x20link:*\x20%0','\x22'+_0x18470c+'\x22')};}return'unlink'==_0xa1446c['commandName']?{'type':'format','content':getTranslation$5(_0xf405a2,'*Remove\x20link*')}:void 0x0;}});}}class TrackChangesLegacyList extends ckeditor5['Plugin']{['afterInit'](){const _0x1236da=this['editor'],_0x1de774=_0x1236da['locale'];if(!_0x1236da['plugins']['has']('LegacyListEditing'))return;const _0x4ea088=_0x1236da['plugins']['get']('TrackChangesEditing'),_0x3d23b7=_0x1236da['plugins']['has']('LegacyTodoListEditing');function _0x2e7414(_0x28993a){return()=>{const _0x286ad0=_0x1236da['model']['document']['selection'],_0x24cf6a=_0x1236da['commands']['get'](_0x28993a);if(_0x24cf6a['value'])return void _0x1236da['execute']('paragraph',{});const _0x7f6993=_0x28993a['slice'](0x0,-0x4),_0x587550=getBlocksToMarkForListTypeChange(_0x286ad0['getSelectedBlocks'](),_0x7f6993,_0x1236da['model']['schema']);_0x1236da['model']['change'](()=>{for(const _0x5ecd32 of _0x587550)_0x4ea088['markBlockFormat'](_0x5ecd32,{'commandName':_0x28993a,'commandParams':[{'forceValue':!_0x24cf6a['value']}],'formatGroupId':'blockName'},getBlocksAffectedByListTypeChange(_0x5ecd32));});};}function _0x15730e(_0x179fc6){return()=>{const _0x127593=getBlocksToMarkForIndentChange(_0x1236da['model']['document']['selection']['getSelectedBlocks']()),_0x3d32fa=_0x1236da['model']['createRange'](_0x1236da['model']['createPositionAt'](_0x127593[0x0],'before'),_0x1236da['model']['createPositionAt'](_0x127593[_0x127593['length']-0x1],'end'));_0x1236da['model']['change'](()=>{_0x4ea088['markBlockFormat'](_0x3d32fa,{'commandName':_0x179fc6,'commandParams':[],'formatGroupId':'listIndent'},getBlocksAffectedByIndent(_0x127593));});};}_0x4ea088['enableCommand']('numberedList',_0x2e7414('numberedList')),_0x4ea088['enableCommand']('bulletedList',_0x2e7414('bulletedList')),_0x3d23b7&&_0x4ea088['enableCommand']('todoList',_0x2e7414('todoList')),_0x4ea088['enableCommand']('indentList',_0x15730e('indentList')),_0x4ea088['enableCommand']('outdentList',_0x15730e('outdentList')),_0x3d23b7&&_0x4ea088['enableCommand']('checkTodoList',()=>{const _0x315bb3=_0x1236da['commands']['get']('checkTodoList'),_0x5b2517=Array['from'](_0x315bb3['_selectedElements']);_0x5b2517['filter'](_0x166eaf=>_0x166eaf['getAttribute']('todoListChecked')!=_0x315bb3['value']),_0x1236da['model']['change'](()=>{for(const _0x509343 of _0x5b2517)_0x4ea088['markBlockFormat'](_0x509343,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0x315bb3['value']}]});});}),_0x4ea088['descriptionFactory']['registerElementLabel']('listItem',_0x5d3756=>getTranslation$5(_0x1de774,'ELEMENT_LIST_ITEM',_0x5d3756)),_0x4ea088['descriptionFactory']['registerDescriptionCallback'](_0x405201=>{if('formatBlock'!=_0x405201['type']&&'formatInline'!=_0x405201['type'])return;const {data:_0x13355a}=_0x405201;if(_0x13355a){if('numberedList'==_0x13355a['commandName']||'bulletedList'==_0x13355a['commandName']||'todoList'==_0x13355a['commandName'])switch(_0x13355a['commandName']['replace']('List','')){case'bulleted':return _0x4e4ddf(getTranslation$5(_0x1de774,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x4e4ddf(getTranslation$5(_0x1de774,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x4e4ddf(getTranslation$5(_0x1de774,'ELEMENT_TODO_LIST'));}if('indentList'==_0x13355a['commandName'])return{'type':'format','content':getTranslation$5(_0x1de774,'*Indent:*\x20%0',getTranslation$5(_0x1de774,'ELEMENT_LIST_ITEM'))};if('outdentList'==_0x13355a['commandName'])return{'type':'format','content':getTranslation$5(_0x1de774,'*Outdent:*\x20%0',getTranslation$5(_0x1de774,'ELEMENT_LIST_ITEM'))};if('checkTodoList'==_0x13355a['commandName'])return _0x13355a['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$5(_0x1de774,'*Check\x20item*')}:{'type':'format','content':getTranslation$5(_0x1de774,'*Uncheck\x20item*')};}function _0x4e4ddf(_0xe09bcb){return{'type':'format','content':getTranslation$5(_0x1de774,'*Change\x20to:*\x20%0',_0xe09bcb)};}});}}function getBlocksToMarkForListTypeChange(_0x16196d,_0x1d87fd,_0x2bbdde){let _0x222f41=Array['from'](_0x16196d)['filter'](_0x2b7fd1=>checkCanBecomeListItem(_0x2b7fd1,_0x2bbdde));_0x222f41=_0x222f41['filter'](_0x315b70=>!_0x315b70['is']('element','listItem')||_0x315b70['getAttribute']('listType')!=_0x1d87fd);const _0x44492d=new Set();for(const _0x1c5813 of _0x222f41)_0x1c5813['is']('element','listItem')?_0x44492d['add'](getListHead(_0x1c5813)):_0x44492d['add'](_0x1c5813);return Array['from'](_0x44492d);}function checkCanBecomeListItem(_0x51bef5,_0x5e6ff8){return _0x5e6ff8['checkChild'](_0x51bef5['parent'],'listItem')&&!_0x5e6ff8['isObject'](_0x51bef5);}function getBlocksToMarkForIndentChange(_0x42648b){let _0x3c8310=Array['from'](_0x42648b);const _0x2866aa=_0x3c8310['findIndex'](_0x2c0258=>'listItem'!=_0x2c0258['name']);return _0x2866aa>-0x1&&(_0x3c8310=_0x3c8310['slice'](0x0,_0x2866aa)),_0x3c8310;}function getListHead(_0x4257de){const _0x31525d=_0x4257de['getAttribute']('listIndent');if(0x0==_0x31525d)return _0x4257de;let _0x16f4dc=_0x4257de;for(;_0x4257de['previousSibling']&&_0x4257de['previousSibling']['is']('element','listItem');){const _0x4d4203=_0x4257de['previousSibling']['getAttribute']('listIndent');if(_0x4d4203==_0x31525d)_0x16f4dc=_0x4257de['previousSibling'];else{if(_0x4d4203<_0x31525d)break;}_0x4257de=_0x4257de['previousSibling'];}return _0x16f4dc;}function getBlocksAffectedByListTypeChange(_0x468443){const _0x157176=[];if(_0x468443['is']('element','listItem')&&_0x468443['getAttribute']('listIndent')>0x0){let _0x5b9c13=_0x468443['nextSibling'];for(;_0x5b9c13&&'listItem'==_0x5b9c13['name']&&_0x5b9c13['getAttribute']('listIndent')==_0x468443['getAttribute']('listIndent');)_0x157176['push'](_0x5b9c13),_0x5b9c13=_0x5b9c13['nextSibling'];}return _0x157176;}function getBlocksAffectedByIndent(_0xb2c78e){const _0x531368=new Set();for(const _0x586151 of _0xb2c78e){let _0x2f782d=_0x586151['nextSibling'];for(;_0x2f782d&&_0x2f782d['getAttribute']('listIndent')>_0x586151['getAttribute']('listIndent');)_0x531368['add'](_0x2f782d),_0x2f782d=_0x2f782d['nextSibling'];}return Array['from'](_0x531368);}class TrackChangesLegacyListProperties extends ckeditor5['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('LegacyListPropertiesEditing'))return;const _0x1036e5=this['editor']['config']['get']('list.properties'),_0x1055f3=this['editor']['plugins']['get']('TrackChangesEditing');_0x1036e5['styles']&&_0x1055f3['enableCommand']('listStyle',this['handleListStyleCommand']['bind'](this)),_0x1036e5['reversed']&&_0x1055f3['enableCommand']('listReversed',this['handleListReversedCommand']['bind'](this)),_0x1036e5['startIndex']&&_0x1055f3['enableCommand']('listStart',this['handleListStartCommand']['bind'](this)),_0x1055f3['descriptionFactory']['registerDescriptionCallback'](this['handleDescriptions']['bind'](this));}['handleListStyleCommand'](_0x5e2b7b,_0x38505e={}){const _0x43cc18=this['editor']['plugins']['get']('TrackChangesEditing'),_0x189208=this['_getSuggestionBlocksForListStyle']();this['editor']['model']['change'](()=>{_0x43cc18['markMultiRangeBlockFormat'](_0x189208,{'commandName':'listStyle','commandParams':[{'type':_0x38505e['type']}],'formatGroupId':'listStyle'});});}['handleListReversedCommand'](_0x59a30b,_0x128cf9={}){const _0x87ad88=this['editor']['plugins']['get']('TrackChangesEditing'),_0x342a00=this['_getSuggestionBlocks'](_0x22159a=>_0x22159a['is']('element','listItem')&&'numbered'===_0x22159a['getAttribute']('listType'));if(_0x342a00['length']<0x1)return;const _0x23480d=_0x342a00['map'](_0x17458c=>this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x17458c,'before'),this['editor']['model']['createPositionAt'](_0x17458c,0x0)));this['editor']['model']['change'](()=>{_0x87ad88['markMultiRangeBlockFormat'](_0x23480d,{'commandName':'listReversed','commandParams':[{'reversed':_0x128cf9['reversed']}],'formatGroupId':'listReversed'});});}['handleListStartCommand'](_0x24c1c2,_0x105d95={}){const _0x459123=this['editor']['plugins']['get']('TrackChangesEditing'),_0x11a3ff=this['_getSuggestionBlocks'](_0x13348d=>_0x13348d['is']('element','listItem')&&'numbered'===_0x13348d['getAttribute']('listType'));if(_0x11a3ff['length']<0x1)return;const _0xe0812b=_0x11a3ff['map'](_0x53729f=>this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x53729f,'before'),this['editor']['model']['createPositionAt'](_0x53729f,0x0)));this['editor']['model']['change'](()=>{_0x459123['markMultiRangeBlockFormat'](_0xe0812b,{'commandName':'listStart','commandParams':[{'startIndex':_0x105d95['startIndex']}],'formatGroupId':'listStart'});});}['handleDescriptions'](_0x156fb2){if('formatBlock'!=_0x156fb2['type']&&'formatInline'!=_0x156fb2['type'])return;const _0x5ecc0d=this['editor']['locale'],{data:_0x2cf59c}=_0x156fb2;if(!_0x2cf59c)return;let _0x577879,_0x359eb3;switch(_0x2cf59c['commandName']){case'listStyle':_0x577879='*Change\x20to:*\x20%0',_0x359eb3={'type':'format','content':getTranslation$5(_0x5ecc0d,_0x577879,getTranslation$5(_0x5ecc0d,this['_getTranslationKeyForListStyle'](_0x2cf59c['commandParams'][0x0]['type'])))};break;case'listReversed':_0x577879=_0x2cf59c['commandParams'][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':'*Format:*\x20set\x20order\x20to\x20regular',_0x359eb3={'type':'format','content':getTranslation$5(_0x5ecc0d,_0x577879)};break;case'listStart':_0x577879='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x359eb3={'type':'format','content':getTranslation$5(_0x5ecc0d,_0x577879,_0x2cf59c['commandParams'][0x0]['startIndex'])};}return _0x359eb3;}['_getSuggestionBlocksForListStyle'](){const _0x56af14=this['editor']['plugins']['get']('LegacyListUtils');let _0x22c90e=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']());return _0x22c90e[0x0]?.['is']('element','listItem')&&_0x22c90e['unshift'](..._0x56af14['getSiblingNodes'](this['editor']['model']['document']['selection']['getFirstPosition'](),'backward')),_0x22c90e[_0x22c90e['length']-0x1]?.['is']('element','listItem')&&_0x22c90e['push'](..._0x56af14['getSiblingNodes'](this['editor']['model']['document']['selection']['getLastPosition'](),'forward')),_0x22c90e=[...new Set(_0x22c90e)],this['editor']['model']['document']['selection']['getFirstPosition']()?.['parent']?.['is']('element','listItem')&&(_0x22c90e=_0x22c90e['filter'](_0xec69f8=>_0xec69f8['is']('element','listItem'))),_0x22c90e;}['_getSuggestionBlocks'](_0x22d84f){const _0xdda8d=this['editor']['plugins']['get']('LegacyListUtils');let _0xb6e061=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']())['filter'](_0x22d84f)['map'](_0x3575cf=>{const _0x70ddfa=this['editor']['model']['createPositionAt'](_0x3575cf,0x0);return[..._0xdda8d['getSiblingNodes'](_0x70ddfa,'backward'),..._0xdda8d['getSiblingNodes'](_0x70ddfa,'forward')];})['flat']();return _0xb6e061=[...new Set(_0xb6e061)],_0xb6e061;}['_getTranslationKeyForListStyle'](_0x2545fa){return'ELEMENT_'+(this['editor']['plugins']['get']('LegacyListUtils')['getListTypeFromListStyleType'](_0x2545fa)||'default')['toUpperCase']()+'_LIST_'+_0x2545fa['toUpperCase']()['replace'](/-/g,'_');}}class _0x5192a5 extends ckeditor5['Plugin']{['afterInit'](){const _0x55497e=this['editor'];if(!_0x55497e['plugins']['has']('MediaEmbedEditing'))return;const _0xa37349=_0x55497e['plugins']['get']('TrackChangesEditing'),_0x1f59b3=_0x55497e['locale'];_0xa37349['enableCommand']('mediaEmbed'),_0xa37349['descriptionFactory']['registerElementLabel']('media',_0x3b65d0=>getTranslation$5(_0x1f59b3,'ELEMENT_MEDIA',_0x3b65d0));}}class TrackChangesMention extends ckeditor5['Plugin']{['afterInit'](){const _0x563e9a=this['editor'];_0x563e9a['plugins']['has']('MentionEditing')&&_0x563e9a['plugins']['get']('TrackChangesEditing')['enableCommand']('mention');}}class _0xdde175 extends ckeditor5['Plugin']{['afterInit'](){const _0xa97d24=this['editor'];if(!_0xa97d24['plugins']['has']('MergeFieldsEditing'))return;const _0x52391e=_0xa97d24['plugins']['get']('TrackChangesEditing'),_0x3c7f3f=_0xa97d24['locale'];_0x52391e['enableCommand']('insertMergeField'),_0x52391e['enableCommand']('insertMergeFieldBlock'),_0x52391e['enableCommand']('insertMergeFieldImage'),_0x52391e['descriptionFactory']['registerElementLabel']('mergeField',_0xba7ee2=>getTranslation$5(_0x3c7f3f,'ELEMENT_MERGE_FIELD',_0xba7ee2)),_0x52391e['descriptionFactory']['registerElementLabel']('mergeFieldBlock',_0x22af30=>getTranslation$5(_0x3c7f3f,'ELEMENT_MERGE_FIELD',_0x22af30)),_0x52391e['descriptionFactory']['registerDescriptionCallback'](_0x2b11c4=>{if('insertion'!=_0x2b11c4['type']&&'deletion'!=_0x2b11c4['type'])return;const _0x412854=_0x2b11c4['getContainedElement']();if(null==_0x412854)return;const _0x4c00f9=_0xa97d24['plugins']['get']('MergeFieldsEditing');let _0x2d6dbb;switch(_0x4c00f9['getMergeFieldType'](_0x412854)){case null:return;case'image':{const _0x1cdf2e=_0x4c00f9['unwrapAffixes'](_0x412854['getAttribute']('src'));_0x2d6dbb=_0x4c00f9['getLabel'](_0x1cdf2e)||_0x1cdf2e;break;}default:{const _0x3fffdd=_0x412854['getAttribute']('id');_0x2d6dbb=_0x4c00f9['getLabel'](_0x3fffdd)||_0x3fffdd;break;}}return'insertion'==_0x2b11c4['type']?{'type':'insertion','content':getTranslation$5(_0x3c7f3f,'*Insert:*\x20%0','\x22'+_0x2d6dbb+'\x22\x20'+getTranslation$5(_0x3c7f3f,'ELEMENT_MERGE_FIELD'))}:{'type':'deletion','content':getTranslation$5(_0x3c7f3f,'*Remove:*\x20%0','\x22'+_0x2d6dbb+'\x22\x20'+getTranslation$5(_0x3c7f3f,'ELEMENT_MERGE_FIELD'))};});}}class TrackChangesMultiLevelList extends ckeditor5['Plugin']{['afterInit'](){const _0x386aeb=this['editor'],_0x139125=_0x386aeb['plugins']['get']('TrackChangesEditing');_0x386aeb['plugins']['has']('MultiLevelList')&&(_0x139125['enableDefaultAttributesIntegration']('multiLevelList'),_0x139125['descriptionFactory']['registerDescriptionCallback'](_0x5b89a4=>this['handleDescriptions'](_0x5b89a4)));}['handleDescriptions'](_0x70c16){const _0x1c8efa=this['editor']['locale'],{data:_0xac4e0a}=_0x70c16,_0x32ce3b={'type':'format','content':''};if(_0xac4e0a&&'listMarkerStyle'==_0xac4e0a['key']){if(!_0xac4e0a['oldValue'])return{'type':'format','content':getTranslation$5(_0x1c8efa,'*Set\x20format:*\x20%0',getTranslation$5(_0x1c8efa,'ELEMENT_MULTI_LEVEL_LIST'))+'\x20('+_0xac4e0a['newValue']+')'};if(!_0xac4e0a['newValue']){let _0x329266=_0x70c16['head'];for(;_0x329266;){if(_0x329266['data']&&'listType'==_0x329266['data']['key']&&_0x329266['data']['newValue'])return _0x32ce3b;_0x329266=_0x329266['next'];}return{'type':'format','content':getTranslation$5(_0x1c8efa,'*Remove\x20format:*\x20%0',getTranslation$5(_0x1c8efa,'ELEMENT_MULTI_LEVEL_LIST'))+'\x20('+_0xac4e0a['oldValue']+')'};}}}}class _0x15ed22 extends ckeditor5['Plugin']{['afterInit'](){const _0x1450e4=this['editor'];if(!_0x1450e4['plugins']['has']('PageBreakEditing'))return;_0x1450e4['plugins']['get']('TrackChangesEditing')['enableCommand']('pageBreak');const _0x2def62=_0x1450e4['plugins']['get']('TrackChangesEditing'),_0x48bcd5=_0x1450e4['locale'];_0x2def62['descriptionFactory']['registerElementLabel']('pageBreak',_0xd8966e=>getTranslation$5(_0x48bcd5,'ELEMENT_PAGE_BREAK',_0xd8966e));}}class _0x84b1a5 extends ckeditor5['Plugin']{['afterInit'](){const _0x431dad=this['editor'];if(!_0x431dad['plugins']['has']('Paragraph'))return;const _0x2352c3=_0x431dad['locale'],_0x301c1c=_0x431dad['plugins']['get']('TrackChangesEditing');_0x301c1c['descriptionFactory']['registerElementLabel']('paragraph',_0x1d4774=>getTranslation$5(_0x2352c3,'ELEMENT_PARAGRAPH',_0x1d4774)),_0x301c1c['enableDefaultAttributesIntegration']('paragraph'),_0x301c1c['enableCommand']('insertParagraph');const _0x5adf16=_0x301c1c['descriptionFactory'];_0x5adf16['registerDescriptionCallback'](_0x3fb87f=>{if('insertion'!==_0x3fb87f['type'])return;const {start:_0x32ed6d,end:_0x500d7c}=_0x3fb87f['getFirstRange']();if(!_0x32ed6d['isTouching'](_0x500d7c)||!_0x32ed6d['nodeAfter'])return;const _0x3eb861=_0x431dad['model']['schema'],_0x1d9138=_0x32ed6d['nodeAfter'];return _0x3eb861['isBlock'](_0x1d9138)&&!_0x3eb861['isLimit'](_0x1d9138)&&_0x3eb861['checkChild'](_0x1d9138,'$text')?{'type':'insertion','content':getTranslation$5(_0x2352c3,'*Insert:*\x20%0',_0x5adf16['getItemLabel'](_0x1d9138,0x1))}:void 0x0;}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x1ea743=this['editor'],_0x562a30=_0x1ea743['locale'];_0x1ea743['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x369b28=>{if('formatBlock'!=_0x369b28['type'])return;const {data:_0xe3549}=_0x369b28;return _0xe3549&&'paragraph'==_0xe3549['commandName']?{'type':'format','content':getTranslation$5(_0x562a30,'*Change\x20to:*\x20%0',getTranslation$5(_0x562a30,'ELEMENT_PARAGRAPH'))}:void 0x0;});}}class _0x1c11dc extends ckeditor5['Plugin']{['afterInit'](){const _0x20d582=this['editor'];_0x20d582['commands']['get']('replaceSource')&&_0x20d582['plugins']['get']('TrackChangesEditing')['enableCommand']('replaceSource');}}class TrackChangesRemoveFormat extends ckeditor5['Plugin']{['afterInit'](){const _0x57e2b7=this['editor'];if(!_0x57e2b7['plugins']['has']('RemoveFormatEditing'))return;_0x57e2b7['plugins']['get']('TrackChangesEditing')['enableDefaultAttributesIntegration']('removeFormat'),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x1266f6=this['editor'];_0x1266f6['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x9f92df=>{if('formatBlock'!=_0x9f92df['type']&&'formatInline'!=_0x9f92df['type'])return;const {data:_0x3d8c6e}=_0x9f92df;return _0x3d8c6e&&'removeFormat'==_0x3d8c6e['commandName']?{'type':'format','content':getTranslation$5(_0x1266f6['locale'],'*Remove\x20all\x20formatting*')}:void 0x0;});}}class TrackChangesRestrictedEditingMode extends ckeditor5['Plugin']{['afterInit'](){const _0x405b14=this['editor'];if(!_0x405b14['plugins']['has']('RestrictedEditingModeEditing'))return;const _0xc3aa72=_0x405b14['plugins']['get']('TrackChangesEditing');_0xc3aa72['enableCommand']('goToPreviousRestrictedEditingException'),_0xc3aa72['enableCommand']('goToNextRestrictedEditingException');const _0x5d5838=_0x405b14['plugins']['get']('RestrictedEditingModeEditing');_0x5d5838['enableCommand']('trackChanges'),_0x5d5838['enableCommand']('acceptSuggestion'),_0x5d5838['enableCommand']('discardSuggestion'),_0x5d5838['enableCommand']('acceptAllSuggestions'),_0x5d5838['enableCommand']('discardAllSuggestions'),_0x5d5838['enableCommand']('acceptSelectedSuggestions'),_0x5d5838['enableCommand']('discardSelectedSuggestions');}}class TrackChangesShiftEnterCommand extends ckeditor5['Plugin']{['afterInit'](){const _0x534632=this['editor'];if(!_0x534632['plugins']['has']('ShiftEnter'))return;const _0x18c177=_0x534632['plugins']['get']('TrackChangesEditing');_0x18c177['enableCommand']('shiftEnter'),_0x18c177['descriptionFactory']['registerElementLabel']('softBreak',_0x3af237=>getTranslation$5(_0x534632['locale'],'ELEMENT_LINE_BREAK',_0x3af237));}}function getRangesWithAttribute(_0xd9457b,_0x37b6b6,_0x16b8e5){const _0x2f3a7c=[];for(const _0x329cfc of _0x37b6b6['getItems']())_0x329cfc['hasAttribute'](_0xd9457b)&&_0x2f3a7c['push'](_0x16b8e5['createRangeOn'](_0x329cfc));return _0x2f3a7c;}class TrackChangesStandardEditingMode extends ckeditor5['Plugin']{['afterInit'](){const _0x5e06c8=this['editor'],_0xe72aab=_0x5e06c8['plugins']['get']('TrackChangesEditing');_0x5e06c8['plugins']['has']('StandardEditingModeEditing')&&(this['_enableEditingExceptionCommand'](),this['_enableEditingExceptionBlockCommand'](),_0xe72aab['enableCommand']('restrictedEditingExceptionAuto'));}['_enableEditingExceptionCommand'](){const _0x27105a=this['editor'],_0x4df738=_0x27105a['model'],_0x129c4c=_0x27105a['locale'],_0x19e2ac=_0x27105a['plugins']['get']('TrackChangesEditing'),_0x19f3c9='restrictedEditingException',_0x27979c=_0x27105a['commands']['get'](_0x19f3c9);_0x19e2ac['enableCommand'](_0x19f3c9,(_0xcb0586,_0x51853d={})=>{const _0x31631d=_0x4df738['document']['selection'];if(_0x31631d['isCollapsed'])return void _0xcb0586(_0x51853d);const _0x31f4f2=void 0x0!==_0x51853d['forceValue']?_0x51853d['forceValue']:!_0x27979c['value'];_0x4df738['change'](()=>{const _0x23fb5a=Array['from'](_0x31631d['getRanges']());for(const _0x33f7ec of _0x23fb5a){const _0xbeec5e=_0x31f4f2?[_0x33f7ec]:getRangesWithAttribute(_0x19f3c9,_0x33f7ec,_0x4df738);for(const _0x5f43f1 of _0xbeec5e)_0x19e2ac['markInlineFormat'](_0x5f43f1,{'commandName':_0x19f3c9,'commandParams':[{'forceValue':_0x31f4f2}]});}});}),_0x19e2ac['descriptionFactory']['registerDescriptionCallback'](_0x446560=>{if('formatBlock'!=_0x446560['type']&&'formatInline'!=_0x446560['type'])return;const {data:_0x416d11}=_0x446560;return _0x416d11&&_0x416d11['commandName']==_0x19f3c9?_0x416d11['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$5(_0x129c4c,'FORMAT_RESTRICTED_ENABLED')}:{'type':'format','content':getTranslation$5(_0x129c4c,'FORMAT_RESTRICTED_DISABLED')}:void 0x0;});}['_enableEditingExceptionBlockCommand'](){const _0xcfca6d=this['editor'],_0x5336b4=_0xcfca6d['locale'],_0x5535d6=_0xcfca6d['plugins']['get']('TrackChangesEditing'),_0x102ef0='restrictedEditingExceptionBlock',_0x8555d=this['editor']['commands']['get'](_0x102ef0);_0x5535d6['enableCommand'](_0x102ef0,(_0xccd52f,_0x8c1e8c={})=>{const _0x4ed5ee=this['editor']['model']['document']['selection'],_0x2badb4=_0x8c1e8c&&void 0x0!==_0x8c1e8c['forceValue']?_0x8c1e8c['forceValue']:!_0x8555d['value'];let _0x1e8cec=[];if(_0x2badb4){const _0x553c2c=Array['from'](_0x4ed5ee['getSelectedBlocks']())['filter'](_0xcdafec=>isInBlockException(_0xcdafec)||_0x46dd11(_0xcdafec,this['editor']['model']['schema']));_0x1e8cec=getRangesOfBlockGroups(_0x553c2c,_0xcfca6d['model']);}else{const _0x2cc8c1=Array['from'](_0x4ed5ee['getSelectedBlocks']())['map'](_0x526ae6=>findExceptionContentBlock(_0x526ae6))['filter'](_0x511ca0=>!!_0x511ca0);_0x1e8cec=getRangesOfBlockGroups(_0x2cc8c1,_0xcfca6d['model']);}_0xcfca6d['model']['change'](()=>{for(const _0x493e2d of _0x1e8cec)_0x5535d6['markBlockFormat'](_0x493e2d,{'commandName':_0x102ef0,'commandParams':[{'forceValue':_0x2badb4}]});});}),_0x5535d6['descriptionFactory']['registerDescriptionCallback'](_0x3e5434=>{const {data:_0x178d3a}=_0x3e5434;if(_0x178d3a&&_0x178d3a['commandName']==_0x102ef0)return _0x178d3a['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$5(_0x5336b4,'FORMAT_RESTRICTED_ENABLED')}:{'type':'format','content':getTranslation$5(_0x5336b4,'FORMAT_RESTRICTED_DISABLED')};});}}function _0x46dd11(_0x13a645,_0x15a23f){const _0xc734f4=_0x15a23f['createContext'](_0x13a645['parent']);return!!_0x15a23f['checkChild'](_0xc734f4,'restrictedEditingException')&&!!_0x15a23f['checkChild'](_0xc734f4['push']('restrictedEditingException'),_0x13a645);}function isInBlockException(_0x228280){return!!_0x228280['findAncestor']('restrictedEditingException',{'includeSelf':!0x0});}function findExceptionContentBlock(_0x55fcd9){let _0x56fb44=_0x55fcd9;for(;_0x56fb44['parent'];){if('restrictedEditingException'==_0x56fb44['parent']['name'])return _0x56fb44;_0x56fb44=_0x56fb44['parent'];}return null;}class TrackChangesStylesDropdown extends ckeditor5['Plugin']{['afterInit'](){const _0x1aa9c7=this['editor'];if(!_0x1aa9c7['plugins']['has']('Style')||!_0x1aa9c7['plugins']['has']('DataSchema'))return;const _0x3e36ad=_0x1aa9c7['plugins']['get']('TrackChangesEditing'),_0x2166c6=_0x1aa9c7['locale'],_0x1c0b96=_0x1aa9c7['config']['get']('style')||{},_0x481061=_0x1aa9c7['plugins']['get']('GeneralHtmlSupport'),_0x5291fa=_0x1aa9c7['plugins']['get']('StyleUtils')['normalizeConfig'](_0x1aa9c7['plugins']['get']('DataSchema'),_0x1c0b96['definitions']);_0x3e36ad['enableDefaultAttributesIntegration']('style');const _0x24b3d8=new Set();for(const _0x4da7f7 of _0x5291fa['block']){const _0x43f5f8=_0x481061['getGhsAttributeNameForElement'](_0x4da7f7['element']);_0x24b3d8['add'](_0x43f5f8);}const _0x49888f=new Set();for(const _0x128589 of _0x5291fa['inline']){const _0x26e05f=_0x481061['getGhsAttributeNameForElement'](_0x128589['element']);_0x49888f['add'](_0x26e05f);for(const _0x3bffa3 of _0x128589['ghsAttributes'])_0x49888f['add'](_0x3bffa3);}for(const _0x2653d1 of _0x24b3d8)_0x3e36ad['descriptionFactory']['registerAttributeLabel'](_0x2653d1,getTranslation$5(_0x2166c6,'FORMAT_STYLE'));for(const _0x3be7f5 of _0x49888f)_0x3e36ad['descriptionFactory']['registerAttributeLabel'](_0x3be7f5,getTranslation$5(_0x2166c6,'FORMAT_STYLE'));this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x149bed=this['editor'],_0x338220=_0x149bed['locale'];_0x149bed['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x29623a=>{if('formatBlock'!=_0x29623a['type']&&'formatInline'!=_0x29623a['type'])return;const {data:_0x4890bd}=_0x29623a;return _0x4890bd&&'style'===_0x4890bd['commandName']?_0x4890bd['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$5(_0x338220,'*Set\x20format:*\x20%0',_0x4890bd['commandParams'][0x0]['styleName']['toLowerCase']())}:{'type':'format','content':getTranslation$5(_0x338220,'*Remove\x20format:*\x20%0',_0x4890bd['commandParams'][0x0]['styleName']['toLowerCase']())}:void 0x0;});}}class _0x2f4ae4 extends ckeditor5['Plugin']{['_tablePostFixingSubtypes'];['_tableSuggestions'];constructor(_0x9b49ea){super(_0x9b49ea),this['_tablePostFixingSubtypes']=['tableRow','tableColumn'],this['_tableSuggestions']=new Set();}['afterInit'](){const _0x2ca0bd=this['editor'],_0xf62d33=_0x2ca0bd['model']['document']['selection'];if(!_0x2ca0bd['plugins']['has']('TableEditing'))return;const _0x495f8c=_0x2ca0bd['locale'],_0x2b8ff2=_0x2ca0bd['plugins']['get']('TrackChangesEditing'),_0x2175e8=_0x2ca0bd['plugins']['get']('TableUtils');_0x2b8ff2['descriptionFactory']['registerElementLabel']('table',_0x1935f3=>getTranslation$5(_0x495f8c,'ELEMENT_TABLE',_0x1935f3)),this['_setupColumnsRowsFixing'](),_0x2b8ff2['enableCommand']('insertTable'),_0x2b8ff2['enableCommand']('selectTableRow'),_0x2b8ff2['enableCommand']('selectTableColumn');for(const _0x316bfb of['insertTableRowAbove','insertTableRowBelow']){const _0x39ca4f=_0x2ca0bd['commands']['get'](_0x316bfb);_0x2b8ff2['enableCommand'](_0x316bfb,_0x292070=>{_0x2ca0bd['model']['change'](_0xc3bf8f=>{_0x292070();const _0x3f1594='above'===_0x39ca4f['order'],_0x17e5b9=_0x2175e8['getSelectionAffectedTableCells'](_0xf62d33),_0x1b835f=_0x2175e8['getRowIndexes'](_0x17e5b9),_0x4363d=_0x3f1594?_0x1b835f['first']-0x1:_0x1b835f['last']+0x1,_0x5b3850=_0x17e5b9[0x0]['findAncestor']('table'),_0x48aa94=_0x2175e8['createTableWalker'](_0x5b3850,{'startRow':_0x4363d,'endRow':_0x4363d}),_0x48462b=Array['from'](_0x48aa94)['map'](_0x553c66=>_0xc3bf8f['createRangeOn'](_0x553c66['cell']));_0x2b8ff2['markMultiRangeInsertion'](_0x48462b,'tableRow');});});}for(const _0x1965f8 of['insertTableColumnLeft','insertTableColumnRight']){const _0x22ef09=_0x2ca0bd['commands']['get'](_0x1965f8);_0x2b8ff2['enableCommand'](_0x1965f8,_0xfdbb81=>{_0x2ca0bd['model']['change'](_0x4f30ed=>{_0xfdbb81();const _0x597023='left'===_0x22ef09['order'],_0x33f62f=_0x2175e8['getSelectionAffectedTableCells'](_0xf62d33),_0x5e7c97=_0x2175e8['getColumnIndexes'](_0x33f62f),_0x1f787b=_0x597023?_0x5e7c97['first']-0x1:_0x5e7c97['last']+0x1,_0x3aec20=_0x33f62f[0x0]['findAncestor']('table'),_0x5007ab=_0x2175e8['createTableWalker'](_0x3aec20,{'startRow':0x0,'column':_0x1f787b,'includeAllSlots':!0x1}),_0x61db9b=Array['from'](_0x5007ab)['map'](_0x26e821=>_0x4f30ed['createRangeOn'](_0x26e821['cell']));_0x2b8ff2['markMultiRangeInsertion'](_0x61db9b,'tableColumn');});});}for(const _0x532660 of['removeTableRow','removeTableColumn']){const _0x28b527=_0x532660['substr'](0xb),_0x247acd=_0x28b527['toLowerCase'](),_0x4cc821=_0x247acd['substr'](0x0,0x3)+'span',_0x58310f='table'+_0x28b527,_0x564bbd='min'+_0x28b527,_0x32c8a0='max'+_0x28b527;_0x2b8ff2['enableCommand'](_0x532660,()=>{_0x2ca0bd['model']['change'](_0x22f639=>{const _0x577b8c=_0x2175e8['getSelectionAffectedTableCells'](_0xf62d33),_0xf159d9=_0x577b8c[0x0]['findAncestor']('table');let _0x1c1da1;if('removeTableRow'==_0x532660){const _0xf99c4d=_0x2175e8['getRowIndexes'](_0x577b8c);_0x1c1da1={'startRow':_0xf99c4d['first'],'endRow':_0xf99c4d['last'],'includeAllSlots':!0x0};}else{const _0x2d69ab=_0x2175e8['getColumnIndexes'](_0x577b8c);_0x1c1da1={'startColumn':_0x2d69ab['first'],'endColumn':_0x2d69ab['last'],'includeAllSlots':!0x0};}const _0x295829=_0x2175e8['createTableWalker'](_0xf159d9,_0x1c1da1),_0x3dcffb=Array['from'](_0x295829)['map'](({cell:_0x1ec63f})=>_0x1ec63f),_0x2ca014=_0x2f5314(_0x3dcffb['filter'](_0x731f48=>_0x731f48['hasAttribute'](_0x4cc821))),_0x1a9cbd=_0x2f5314(_0x3dcffb['filter'](_0x1f36b4=>!_0x1f36b4['hasAttribute'](_0x4cc821)))['map'](_0x26d145=>_0x22f639['createRangeOn'](_0x26d145)),_0x39825c=_0x2b8ff2['markMultiRangeDeletion'](_0x1a9cbd,_0x58310f);if(_0x39825c&&('tableRow'==_0x39825c['subType']||'tableColumn'==_0x39825c['subType'])){const _0x284071=this['_getSuggestionCoords'](_0x39825c);for(const _0x2f99bf of _0x2ca014){const _0x2ad85a=_0x22f639['createRangeOn'](_0x2f99bf),_0x439cf3=_0x2175e8['getCellLocation'](_0x2f99bf),_0x1a28c0=_0x2f99bf['getAttribute'](_0x4cc821)-0x1,_0x2a32ba=_0x284071[_0x564bbd],_0x3a7add=_0x284071[_0x32c8a0];_0x2a32ba<=_0x439cf3[_0x247acd]&&_0x439cf3[_0x247acd]+_0x1a28c0<=_0x3a7add&&_0x39825c['addRange'](_0x2ad85a);}}});});}function _0x2117ed(_0x181b91){const _0x2f6781=Array['from'](_0xf62d33['getRanges']())['map'](_0x144696=>ckeditor5['ModelLiveRange']['fromRange'](_0x144696));_0x2ca0bd['model']['change'](_0x9d901=>{const _0x17dd6=_0x9d901['batch'];_0x181b91=_0x181b91['filter'](_0x111df3=>'$graveyard'!=_0x111df3['root']['rootName']),_0x9d901['setSelection'](_0x181b91),_0x2ca0bd['commands']['get']('removeTableRow')['refresh'](),_0x2ca0bd['execute']('removeTableRow',{'forceDefaultExecution':!0x0}),_0x2ca0bd['model']['enqueueChange'](()=>{_0x2ca0bd['model']['enqueueChange'](_0x17dd6,_0x91486a=>{const _0x182fc1=_0x2f6781['filter'](_0x464d82=>'$graveyard'!=_0x464d82['root']['rootName']);_0x182fc1['length']>0x0&&_0x91486a['setSelection'](_0x182fc1);for(const _0xf8b0e8 of _0x2f6781)_0xf8b0e8['detach']();});});});}function _0x2adfda(_0x50fd76){_0x2ca0bd['model']['change'](_0x2e0885=>{const _0x3e1381=Array['from'](_0xf62d33['getRanges']())['map'](_0x2edeff=>ckeditor5['ModelLiveRange']['fromRange'](_0x2edeff)),_0x470313=[];for(const _0x3c4a86 of _0x50fd76)for(const _0x5443d7 of _0x3c4a86['getItems']({'shallow':!0x0}))_0x470313['push'](_0x5443d7);for(const _0xd3bd84 of _0x470313)'$graveyard'!=_0xd3bd84['root']['rootName']&&(_0x2e0885['setSelection'](_0x2e0885['createPositionAt'](_0xd3bd84,0x0)),_0x2ca0bd['commands']['get']('removeTableColumn')['refresh'](),_0x2ca0bd['execute']('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x1869b8=_0x3e1381['filter'](_0x53dbce=>'$graveyard'!=_0x53dbce['root']['rootName']);_0x1869b8['length']>0x0&&_0x2e0885['setSelection'](_0x1869b8);for(const _0x40abc1 of _0x3e1381)_0x40abc1['detach']();});}function _0x2f9839(_0x346d75,_0x1f3c60){return _0x1f3c60['every'](_0x1f548b=>_0x346d75['some'](_0x9c7380=>_0x9c7380['end']['isEqual'](_0x1f548b['start'])||_0x1f548b['end']['isEqual'](_0x9c7380['start'])));}function _0x2f505a(_0x545210,_0x4b5101){return!_0x545210['some'](_0x3ebaed=>_0x4b5101['some'](_0x2f90ec=>_0x3ebaed['isIntersecting'](_0x2f90ec)))&&_0x545210['some'](_0x403c32=>_0x4b5101['some'](_0xd611b4=>_0x403c32['end']['isTouching'](_0xd611b4['start'])));}_0x2b8ff2['descriptionFactory']['registerDescriptionCallback'](_0x15ad83=>{if('insertion'!=_0x15ad83['type']&&'deletion'!=_0x15ad83['type'])return;const _0x4aa3f9=_0x15ad83['getContainedElement']();if(null!=_0x4aa3f9&&_0x4aa3f9['is']('element','table')){if('insertion'==_0x15ad83['type']){const _0x41ca6f=_0x15ad83['getItems']()['filter'](_0x2b7004=>_0x2b7004['is']('$textProxy'))['map'](_0x377c77=>_0x377c77['data']);if(_0x41ca6f['length'])return{'type':'insertion','content':getTranslation$5(_0x495f8c,'*Insert:*\x20%0',getTranslation$5(_0x495f8c,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x41ca6f['join']('\x20')+'\x22'))};}if('deletion'==_0x15ad83['type']){const _0x53ec96=_0x15ad83['getItems']()['filter'](_0x3df750=>_0x3df750['is']('$textProxy'))['map'](_0xad9609=>_0xad9609['data']);if(_0x53ec96['length'])return{'type':'deletion','content':getTranslation$5(_0x495f8c,'*Remove:*\x20%0',getTranslation$5(_0x495f8c,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x53ec96['join']('\x20')+'\x22'))};}}}),_0x2b8ff2['descriptionFactory']['registerDescriptionCallback'](_0x4aaa2c=>{if('tableRow'==_0x4aaa2c['subType']){const _0x1ab0c4=_0x4aaa2c['getItems']()['filter'](_0x4f81d4=>_0x4f81d4['is']('$textProxy'))['map'](_0x1d649d=>_0x1d649d['data']),_0x5ac919=this['_getSuggestionCoords'](_0x4aaa2c),_0x519f38=_0x5ac919['maxRow']-_0x5ac919['minRow']+0x1;if('insertion'==_0x4aaa2c['type'])return _0x1ab0c4['length']?{'type':'insertion','content':getTranslation$5(_0x495f8c,'*Insert:*\x20%0',getTranslation$5(_0x495f8c,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x519f38,'\x22'+_0x1ab0c4['join']('\x20')+'\x22']))}:{'type':'insertion','content':getTranslation$5(_0x495f8c,'*Insert:*\x20%0',getTranslation$5(_0x495f8c,'ELEMENT_TABLE_ROW',_0x519f38))};if('deletion'==_0x4aaa2c['type'])return _0x1ab0c4['length']?{'type':'deletion','content':getTranslation$5(_0x495f8c,'*Remove:*\x20%0',getTranslation$5(_0x495f8c,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x519f38,'\x22'+_0x1ab0c4['join']('\x20')+'\x22']))}:{'type':'deletion','content':getTranslation$5(_0x495f8c,'*Remove:*\x20%0',getTranslation$5(_0x495f8c,'ELEMENT_TABLE_ROW',_0x519f38))};}if('tableColumn'==_0x4aaa2c['subType']){const _0x24637e=_0x4aaa2c['getItems']()['filter'](_0xb1137=>_0xb1137['is']('$textProxy'))['map'](_0x5dfafd=>_0x5dfafd['data']),_0x50f7a0=this['_getSuggestionCoords'](_0x4aaa2c),_0x503b98=_0x50f7a0['maxColumn']-_0x50f7a0['minColumn']+0x1;if('insertion'==_0x4aaa2c['type'])return _0x24637e['length']?{'type':'insertion','content':getTranslation$5(_0x495f8c,'*Insert:*\x20%0',getTranslation$5(_0x495f8c,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x503b98,'\x22'+_0x24637e['join']('\x20')+'\x22']))}:{'type':'insertion','content':getTranslation$5(_0x495f8c,'*Insert:*\x20%0',getTranslation$5(_0x495f8c,'ELEMENT_TABLE_COLUMN',_0x503b98))};if('deletion'==_0x4aaa2c['type'])return _0x24637e['length']?{'type':'deletion','content':getTranslation$5(_0x495f8c,'*Remove:*\x20%0',getTranslation$5(_0x495f8c,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x503b98,'\x22'+_0x24637e['join']('\x20')+'\x22']))}:{'type':'deletion','content':getTranslation$5(_0x495f8c,'*Remove:*\x20%0',getTranslation$5(_0x495f8c,'ELEMENT_TABLE_COLUMN',_0x503b98))};}}),_0x2b8ff2['_suggestionFactory']['registerCustomCallback']('insertion','tableRow','discard',_0x2117ed),_0x2b8ff2['_suggestionFactory']['registerCustomCallback']('deletion','tableRow','accept',_0x2117ed),_0x2b8ff2['_suggestionFactory']['registerCustomCallback']('insertion','tableColumn','discard',_0x2adfda),_0x2b8ff2['_suggestionFactory']['registerCustomCallback']('deletion','tableColumn','accept',_0x2adfda),_0x2b8ff2['_suggestionFactory']['registerCustomCallback']('insertion','tableColumn','join',_0x2f9839),_0x2b8ff2['_suggestionFactory']['registerCustomCallback']('deletion','tableColumn','join',_0x2f9839),_0x2b8ff2['_suggestionFactory']['registerCustomCallback']('insertion','tableRow','join',_0x2f505a),_0x2b8ff2['_suggestionFactory']['registerCustomCallback']('deletion','tableRow','join',_0x2f505a);}['_acceptFormatSuggestionCallbackFactory'](){const _0x419917=this['editor'],_0x184f77=_0x419917['model']['document']['selection'];return(_0x1dfdf8,_0x4654c9)=>{_0x419917['model']['change'](_0xb78f5d=>{const {commandName:_0x439aba,commandParams:_0x1f6a66}=_0x4654c9;let _0x3b463f=_0x1dfdf8[0x0]['end']['nodeBefore'];_0x1f6a66&&_0x1f6a66[0x0]&&!0x1===_0x1f6a66[0x0]['forceValue']&&(_0x3b463f=_0x1dfdf8[0x0]['start']['nodeAfter']);const _0x6dcc88=_0xb78f5d['createRangeIn'](_0x3b463f);if('$graveyard'==_0x6dcc88['root']['rootName'])return;const _0x44b37e=Array['from'](_0x184f77['getRanges']())['map'](_0x191704=>ckeditor5['ModelLiveRange']['fromRange'](_0x191704));_0xb78f5d['setSelection'](_0x6dcc88),_0x419917['commands']['get'](_0x439aba)['refresh'](),_0x1f6a66['push']({'forceDefaultExecution':!0x0}),_0x419917['execute'](_0x439aba,..._0x1f6a66);const _0x4d89ed=_0x44b37e['filter'](_0x179547=>'$graveyard'!=_0x179547['root']['rootName']);_0x4d89ed['length']>0x0&&_0xb78f5d['setSelection'](_0x4d89ed);for(const _0x8fd842 of _0x44b37e)_0x8fd842['detach']();});};}['_getCoordsForCells'](_0x4ca812){const _0x4b0d81=this['editor']['plugins']['get']('TableUtils');let _0x17c269=Number['MAX_SAFE_INTEGER'],_0x4d3b32=Number['MIN_SAFE_INTEGER'],_0x546977=Number['MAX_SAFE_INTEGER'],_0x4c8868=Number['MIN_SAFE_INTEGER'];for(const _0x4e8199 of _0x4ca812){if('$graveyard'==_0x4e8199['root']['rootName'])continue;const {row:_0xec6cbb,column:_0x5669ad}=_0x4b0d81['getCellLocation'](_0x4e8199),_0x1e9aa5=_0x4e8199['hasAttribute']('rowspan')?_0x4e8199['getAttribute']('rowspan')-0x1:0x0,_0x2bee93=_0x4e8199['hasAttribute']('colspan')?_0x4e8199['getAttribute']('colspan')-0x1:0x0;_0x17c269=_0xec6cbb<_0x17c269?_0xec6cbb:_0x17c269,_0x4d3b32=_0xec6cbb+_0x1e9aa5>_0x4d3b32?_0xec6cbb+_0x1e9aa5:_0x4d3b32,_0x546977=_0x5669ad<_0x546977?_0x5669ad:_0x546977,_0x4c8868=_0x5669ad+_0x2bee93>_0x4c8868?_0x5669ad+_0x2bee93:_0x4c8868;}return{'minRow':_0x17c269,'maxRow':_0x4d3b32,'minColumn':_0x546977,'maxColumn':_0x4c8868};}['_setupColumnsRowsFixing'](){const _0x53ae35=this['editor'],_0x86c352=_0x53ae35['plugins']['get']('TrackChangesEditing'),_0xd5e94a=_0x53ae35['plugins']['get']('TableUtils');_0x53ae35['model']['document']['on']('change:data',()=>{const _0x5b8e7f=Array['from'](_0x53ae35['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x5098ea,data:_0xa56be5}of _0x5b8e7f){const {group:_0x1ee922,id:_0x1025c5,subType:_0x2509c2}=splitSuggestionMarkerName(_0x5098ea);if('suggestion'!=_0x1ee922)continue;if(null!=_0xa56be5['oldRange'])continue;const _0x1e6296=_0x86c352['getSuggestion'](_0x1025c5);this['_tablePostFixingSubtypes']['includes'](_0x2509c2)&&this['_tableSuggestions']['add'](_0x1e6296);}},{'priority':'low'});const _0x1c5438=(_0x24e7e9,_0x2d4c16)=>{let _0x54d6bf=!0x1;const _0x2732ea=_0x2d4c16['createRangeOn'](_0x24e7e9),_0x3a7b35=_0x24e7e9['findAncestor']('table'),_0x4aa312=_0xd5e94a['getCellLocation'](_0x24e7e9);for(const _0x4cdcd3 of this['_tableSuggestions']){const _0x14d7eb=_0x4cdcd3['subType'],_0x5cecc1=_0x14d7eb['startsWith']('tablePaste'),_0x3b67a3=_0x14d7eb['substr'](_0x5cecc1?0xa:0x5),_0x5999d2=_0x3b67a3['toLowerCase'](),_0x2f242a=_0x5999d2['substr'](0x0,0x3)+'span',_0x55492c='min'+_0x3b67a3,_0x5ca191='max'+_0x3b67a3;if(!_0x4cdcd3['isInContent'])continue;if(_0x3a7b35!=_0x4cdcd3['getFirstRange']()['start']['findAncestor']('table'))continue;if(_0x4cdcd3['isIntersectingWithRange'](_0x2732ea))continue;const _0x75e80f=_0x24e7e9['hasAttribute'](_0x2f242a)?_0x24e7e9['getAttribute'](_0x2f242a)-0x1:0x0,_0x32e8dc=this['_getSuggestionCoords'](_0x4cdcd3),_0x2f54ae=_0x32e8dc[_0x55492c],_0x6f12f2=_0x32e8dc[_0x5ca191];_0x2f54ae<=_0x4aa312[_0x5999d2]&&_0x4aa312[_0x5999d2]+_0x75e80f<=_0x6f12f2&&(_0x4cdcd3['addRange'](_0x2732ea),_0x54d6bf=!0x0);}return _0x54d6bf;};_0x53ae35['model']['document']['registerPostFixer'](_0x5e7af4=>{let _0x51291b=!0x1;for(const _0x248ab8 of _0x53ae35['model']['document']['differ']['getChanges']())if('insert'==_0x248ab8['type']){if('tableRow'==_0x248ab8['name']){for(const _0x327838 of _0x248ab8['position']['nodeAfter']['getChildren']())_0x51291b=_0x51291b||_0x1c5438(_0x327838,_0x5e7af4);}else'tableCell'==_0x248ab8['name']&&(_0x51291b=_0x51291b||_0x1c5438(_0x248ab8['position']['nodeAfter'],_0x5e7af4));}return _0x51291b;});}['_getSuggestionCoords'](_0x5a4463){return this['_getCoordsForCells'](_0x5a4463['getRanges']()['map'](_0x3381a2=>_0x3381a2['start']['nodeAfter']));}}function _0x2f5314(_0x184e0b){return Array['from'](new Set(_0x184e0b)['values']());}class TrackChangesTableMergeSplit extends ckeditor5['Plugin']{static get['requires'](){return[_0x2f4ae4];}['afterInit'](){const _0x30c8bf=this['editor'],_0x200310=_0x30c8bf['model']['document']['selection'],_0x2e6d8d=_0x30c8bf['locale'];if(!_0x30c8bf['plugins']['has']('TableEditing'))return;const _0x228f0b=_0x30c8bf['plugins']['get']('TrackChangesEditing'),_0x24949f=_0x30c8bf['plugins']['get']('TableUtils'),_0x2a888e=_0x30c8bf['plugins']['get'](_0x2f4ae4);_0x2a888e['_tablePostFixingSubtypes']['push']('mergeTableCells'),_0x228f0b['enableCommand']('mergeTableCells',()=>{const _0x4c2a20=_0x24949f['getSelectionAffectedTableCells'](_0x30c8bf['model']['document']['selection']);_0x30c8bf['model']['change'](()=>{_0x228f0b['markMultiRangeBlockFormat'](_0x4c2a20,{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});}),_0x30c8bf['commands']['get']('mergeTableCells')['on']('execute',(_0x209071,_0x5218a6)=>{_0x30c8bf['commands']['get']('trackChanges')['value']&&(_0x5218a6['length']>0x0&&_0x5218a6[_0x5218a6['length']-0x1]&&_0x5218a6[_0x5218a6['length']-0x1]['forceDefaultExecution']||_0x228f0b['_isForcedDefaultExecutionBlock']||this['_areSelectedCellsMergable']()||_0x209071['stop']());},{'priority':'highest'});for(const _0x3a8c99 of['mergeTableCellUp','mergeTableCellRight','mergeTableCellDown','mergeTableCellLeft']){const _0x244118=_0x30c8bf['commands']['get'](_0x3a8c99);_0x228f0b['enableCommand'](_0x3a8c99,()=>{const _0x49a423=_0x30c8bf['model']['document']['selection']['getFirstPosition']()['getAncestors']()['find'](_0x5857f5=>_0x5857f5['is']('element','tableCell')),_0x98be76=_0x244118['value'];_0x30c8bf['model']['change'](()=>{_0x228f0b['markMultiRangeBlockFormat']([_0x49a423,_0x98be76],{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});});}for(const _0xe84242 of['splitTableCellVertically','splitTableCellHorizontally']){const _0x272f79=_0x30c8bf['commands']['get'](_0xe84242);_0x228f0b['enableCommand'](_0xe84242,()=>{const _0x1b743d=_0x24949f['getSelectionAffectedTableCells'](_0x30c8bf['model']['document']['selection'])[0x0],_0x5abd44=_0x1b743d['findAncestor']('table'),{column:_0x4d6ea9,row:_0x4c407c}=_0x24949f['getCellLocation'](_0x1b743d);let _0x5cc5f9=[];if('horizontally'==_0x272f79['direction']){const _0x568ad7=_0x24949f['createTableWalker'](_0x5abd44,{'startRow':_0x4c407c,'endRow':_0x4c407c,'includeAllSlots':!0x0});_0x5cc5f9=Array['from'](_0x568ad7)['map'](_0x3790d1=>_0x3790d1['cell']);}else{const _0x327aea=_0x24949f['createTableWalker'](_0x5abd44,{'column':_0x4d6ea9,'includeAllSlots':!0x0});_0x5cc5f9=Array['from'](_0x327aea)['map'](_0x137c92=>_0x137c92['cell']);}_0x30c8bf['model']['change'](_0x2e30f1=>{_0x228f0b['markBlockFormat'](_0x2e30f1['createRangeOn'](_0x1b743d),{'commandName':_0xe84242,'commandParams':[]},_0x5cc5f9,_0xe84242);});});}_0x228f0b['descriptionFactory']['registerDescriptionCallback'](_0x2726c5=>{if('formatBlock'!=_0x2726c5['type']&&'formatInline'!=_0x2726c5['type'])return;const {data:_0x548ea1}=_0x2726c5;return _0x548ea1&&'mergeTableCells'==_0x548ea1['commandName']?{'type':'format','content':getTranslation$5(_0x2e6d8d,'*Merge\x20cells*')}:void 0x0;}),_0x228f0b['descriptionFactory']['registerDescriptionCallback'](_0x20655d=>{if('formatBlock'!=_0x20655d['type']&&'formatInline'!=_0x20655d['type'])return;const {data:_0x113f24}=_0x20655d;return _0x113f24?'splitTableCellVertically'==_0x113f24['commandName']?{'type':'format','content':getTranslation$5(_0x2e6d8d,'*Split\x20cell:*\x20vertically')}:'splitTableCellHorizontally'==_0x113f24['commandName']?{'type':'format','content':getTranslation$5(_0x2e6d8d,'*Split\x20cell:*\x20horizontally')}:void 0x0:void 0x0;});const _0x59b370=_0x2a888e['_acceptFormatSuggestionCallbackFactory']();for(const _0x38bcf1 of['mergeTableCellUp','mergeTableCellRight','mergeTableCellDown','mergeTableCellLeft'])_0x228f0b['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x38bcf1,'accept',_0x59b370);for(const _0x3f74f7 of['splitTableCellVertically','splitTableCellHorizontally'])_0x228f0b['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x3f74f7,'accept',_0x59b370);_0x228f0b['_suggestionFactory']['registerCustomCallback']('formatBlock','mergeTableCells','accept',_0xc96d77=>{_0x30c8bf['model']['change'](_0x36ad08=>{const _0x1705f8=Array['from'](_0x200310['getRanges']())['map'](_0x1d71d3=>ckeditor5['ModelLiveRange']['fromRange'](_0x1d71d3));_0x36ad08['setSelection'](_0xc96d77),_0x30c8bf['commands']['get']('mergeTableCells')['refresh'](),_0x30c8bf['execute']('mergeTableCells',{'forceDefaultExecution':!0x0});const _0x47ec26=_0x1705f8['filter'](_0x24e342=>'$graveyard'!=_0x24e342['root']['rootName']);_0x47ec26['length']>0x0&&_0x36ad08['setSelection'](_0x47ec26);for(const _0x4a9c07 of _0x1705f8)_0x4a9c07['detach']();});});for(const _0x5c4f77 of['mergeTableCellUp','mergeTableCellDown','mergeTableCellLeft','mergeTableCellRight']){const _0x3504ea=_0x30c8bf['commands']['get'](_0x5c4f77);_0x3504ea['on']('set:isEnabled',(_0x43b382,_0x43ab03,_0x307858)=>{if(_0x307858){const _0x3fd1d5=_0x30c8bf['model']['document']['selection']['getFirstPosition']()['getAncestors']()['find'](_0x5cfa21=>_0x5cfa21['is']('element','tableCell'));this['_areMergableCells'](_0x3504ea['value'],_0x3fd1d5)||(_0x43b382['return']=!0x1,_0x43b382['stop']());}},{'priority':'low'});}}['_areSelectedCellsMergable'](){const _0x20ba96=this['editor']['commands']['get']('mergeTableCells'),_0x5f02f0=this['editor']['plugins']['get']('TableUtils');if(!_0x20ba96['isEnabled'])return!0x1;const _0x5d91e7=_0x5f02f0['getSelectionAffectedTableCells'](this['editor']['model']['document']['selection']);for(const _0xb05309 of _0x5d91e7)for(const _0x2015c1 of _0x5d91e7)if(_0xb05309!=_0x2015c1&&!this['_areMergableCells'](_0xb05309,_0x2015c1))return!0x1;return!0x0;}['_areMergableCells'](_0x444ad1,_0x306979){const _0x5a0ca3=this['editor']['plugins']['get']('TrackChangesEditing'),_0x2e1569=this['editor']['model']['createRangeOn'](_0x444ad1),_0x2b7b21=this['editor']['model']['createRangeOn'](_0x306979),_0x44c960=new Set(),_0x5c6f05=new Set();for(const _0x1eb1d1 of _0x5a0ca3['getSuggestions']())if(('insertion'==_0x1eb1d1['type']||'deletion'==_0x1eb1d1['type']||'mergeTableCells'==_0x1eb1d1['subType'])&&_0x1eb1d1['isInContent']){for(const _0xc933f2 of _0x1eb1d1['getRanges']())_0xc933f2['containsRange'](_0x2e1569,!0x0)&&_0x44c960['add'](_0x1eb1d1['type']+':'+_0x1eb1d1['author']['id']),_0xc933f2['containsRange'](_0x2b7b21,!0x0)&&_0x5c6f05['add'](_0x1eb1d1['type']+':'+_0x1eb1d1['author']['id']);}if(_0x44c960['size']!=_0x5c6f05['size'])return!0x1;for(const _0x46c04f of _0x44c960)if(!_0x5c6f05['has'](_0x46c04f))return!0x1;return!0x0;}}class _0x4e3014 extends ckeditor5['Plugin']{static get['requires'](){return[_0x2f4ae4];}['afterInit'](){const _0x10b559=this['editor'];if(!_0x10b559['plugins']['has']('TableEditing'))return;const _0xde98a7=_0x10b559['locale'],_0x5ea9b3=_0x10b559['plugins']['get']('TrackChangesEditing');_0x5ea9b3['enableDefaultAttributesIntegration']('setTableRowHeader'),_0x5ea9b3['enableDefaultAttributesIntegration']('setTableColumnHeader'),_0x5ea9b3['descriptionFactory']['registerAttributeLabel']('headingRows',getTranslation$5(_0xde98a7,'FORMAT_HEADER_ROW')),_0x5ea9b3['descriptionFactory']['registerAttributeLabel']('headingColumns',getTranslation$5(_0xde98a7,'FORMAT_HEADER_COLUMN')),this['_handleLegacySuggestions']();}['_handleLegacySuggestions'](){const _0x1d5174=this['editor']['plugins']['get']('TrackChangesEditing'),_0x1aecdb=this['editor']['plugins']['get'](_0x2f4ae4)['_acceptFormatSuggestionCallbackFactory']();_0x1d5174['_suggestionFactory']['registerCustomCallback']('formatBlock','setTableRowHeader','accept',_0x1aecdb),_0x1d5174['_suggestionFactory']['registerCustomCallback']('formatBlock','setTableColumnHeader','accept',_0x1aecdb),this['_registerLegacyConverters'](),this['_registerLegacyDescription']();}['_registerLegacyConverters'](){const _0x4fcd4f=this['editor']['plugins']['get']('TrackChangesEditing'),_0xd26f0f=this['editor']['plugins']['get']('TableUtils');function _0xd2dd46({showActiveMarker:_0x411825=!0x0,setDataAttribute:_0x530bfe=!0x0}={}){return(_0x39f5cc,_0x4f1e9f,_0x16971f)=>{const {type:_0x595aa0,id:_0x5cc6a7}=splitSuggestionMarkerName(_0x4f1e9f['markerName']);if(!_0x4fcd4f['hasSuggestion'](_0x5cc6a7))return;const _0x295e86=_0x4fcd4f['getSuggestion'](_0x5cc6a7),_0x5bf80b=_0x295e86['data'];if('formatBlock'!=_0x295e86['type']||!_0x5bf80b||'setTableColumnHeader'!=_0x5bf80b['commandName'])return;if(_0x4f1e9f['item'])return void _0x39f5cc['stop']();if(!_0x16971f['consumable']['consume'](_0x4f1e9f['markerRange'],_0x39f5cc['name']))return;const _0x1d6cef=_0x4f1e9f['markerRange']['start']['nodeAfter'],_0x54b334=_0x4f1e9f['markerRange']['end']['nodeBefore'],_0x26654a=_0x1d6cef['parent']['parent'],{column:_0x4a89ff}=_0xd26f0f['getCellLocation'](_0x1d6cef),{column:_0x5d8b57}=_0xd26f0f['getCellLocation'](_0x54b334);for(let _0x57e1cc=_0x4a89ff;_0x57e1cc<=_0x5d8b57;_0x57e1cc++){const _0x4b081f=_0xd26f0f['createTableWalker'](_0x26654a,{'column':_0x57e1cc,'includeAllSlots':!0x1});for(const _0xa0c9dc of _0x4b081f){const _0x58ba93=_0xa0c9dc['cell'],_0x3bf096=_0x16971f['mapper']['toViewElement'](_0x58ba93);_0x16971f['writer']['addClass']('ck-suggestion-marker-'+_0x595aa0,_0x3bf096),_0x530bfe&&_0x16971f['writer']['setAttribute']('data-suggestion',_0x5cc6a7,_0x3bf096),_0x16971f['mapper']['bindElementToMarker'](_0x3bf096,_0x4f1e9f['markerName']),_0x411825&&(_0x4fcd4f['activeMarkers']['includes'](_0x4f1e9f['markerName'])?_0x16971f['writer']['addClass']('ck-suggestion-marker--active',_0x3bf096):_0x16971f['writer']['removeClass']('ck-suggestion-marker--active',_0x3bf096));}}};}this['editor']['editing']['downcastDispatcher']['on']('addMarker:suggestion',_0xd2dd46(),{'priority':'highest'}),this['editor']['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x15c05d,_0xf0c181,_0x27dcf5)=>{_0x27dcf5['options']['showSuggestionHighlights']&&_0xd2dd46({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x15c05d,_0xf0c181,_0x27dcf5);},{'priority':'highest'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x3920ce,_0x4b3816,_0x28bdb8)=>{const {type:_0x4d2919,id:_0x44ebb7}=splitSuggestionMarkerName(_0x4b3816['markerName']);if(!_0x4fcd4f['hasSuggestion'](_0x44ebb7))return;const _0xcb2de4=_0x4fcd4f['getSuggestion'](_0x44ebb7),_0x34109e=_0xcb2de4['data'];if('formatBlock'!=_0xcb2de4['type']||!_0x34109e||'setTableColumnHeader'!=_0x34109e['commandName'])return;const _0x1c3a20=_0x28bdb8['mapper']['markerNameToElements'](_0x4b3816['markerName']);if(_0x1c3a20){for(const _0x31b975 of _0x1c3a20)_0x28bdb8['writer']['removeClass']('ck-suggestion-marker-'+_0x4d2919,_0x31b975),_0x28bdb8['writer']['removeClass']('ck-suggestion-marker--active',_0x31b975),_0x28bdb8['writer']['removeAttribute']('data-suggestion',_0x31b975),_0x28bdb8['mapper']['unbindElementFromMarkerName'](_0x31b975,_0x4b3816['markerName']);}},{'priority':'highest'});}['_registerLegacyDescription'](){const _0x417415=this['editor'],_0x18c3ba=_0x417415['locale'];function _0x223f5b(_0x2ab6df){return{'type':'format','content':getTranslation$5(_0x18c3ba,'*Format:*\x20%0',_0x2ab6df)};}_0x417415['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x46f794=>{if('formatBlock'!=_0x46f794['type'])return;const {data:_0x26bcea}=_0x46f794;if(_0x26bcea){if('setTableRowHeader'==_0x26bcea['commandName']){const _0x4d22e2=_0x26bcea['commandParams'][0x0]['forceValue'];return _0x223f5b(getTranslation$5(_0x18c3ba,_0x4d22e2?'FORMAT_HEADER_ROW':'FORMAT_REGULAR_ROW'));}if('setTableColumnHeader'==_0x26bcea['commandName']){const _0x1138e5=_0x26bcea['commandParams'][0x0]['forceValue'];return _0x223f5b(getTranslation$5(_0x18c3ba,_0x1138e5?'FORMAT_HEADER_COLUMN':'FORMAT_REGULAR_COLUMN'));}}});}}class TrackChangesTableFooters extends ckeditor5['Plugin']{static get['requires'](){return[_0x2f4ae4];}['afterInit'](){const _0x59c18d=this['editor'];if(!_0x59c18d['plugins']['has']('TableEditing')||!_0x59c18d['config']['get']('table.enableFooters'))return;const _0x1424fd=_0x59c18d['locale'],_0x2d914c=_0x59c18d['plugins']['get']('TrackChangesEditing');_0x2d914c['enableDefaultAttributesIntegration']('setTableFooterRow'),_0x2d914c['descriptionFactory']['registerAttributeLabel']('footerRows',getTranslation$5(_0x1424fd,'FORMAT_FOOTER_ROW'));}}class TrackChangesTableLayout extends ckeditor5['Plugin']{['afterInit'](){const _0x3e1e81=this['editor'],_0x777093=_0x3e1e81['locale'],_0x2f7379=_0x3e1e81['plugins']['get']('TrackChangesEditing');function _0x5a8a21(_0x1425c2){return{'type':'format','content':''+getTranslation$5(_0x777093,'*Set\x20table\x20type:*\x20%0',_0x1425c2)};}_0x3e1e81['plugins']['has']('TableLayout')&&(_0x2f7379['enableCommand']('insertTableLayout'),_0x2f7379['enableDefaultAttributesIntegration']('tableType'),_0x2f7379['descriptionFactory']['registerElementLabel'](_0x4683e7=>_0x4683e7['is']('element','table')&&'layout'===_0x4683e7['getAttribute']('tableType'),_0xb24ead=>getTranslation$5(_0x777093,'ELEMENT_LAYOUT_TABLE',_0xb24ead)),_0x2f7379['descriptionFactory']['registerDescriptionCallback'](_0x4df3b3=>{const {data:_0x124430}=_0x4df3b3;if(_0x124430&&'tableType'==_0x124430['key'])switch(_0x124430['newValue']){case'layout':return _0x5a8a21(getTranslation$5(_0x777093,'ELEMENT_LAYOUT_TABLE'));case'content':return _0x5a8a21(getTranslation$5(_0x777093,'ELEMENT_CONTENT_TABLE'));}}));}}const tableCellStyleAttributeNames=['tableCellBorderWidth','tableCellBorderColor','tableCellBorderStyle','tableCellHorizontalAlignment','tableCellVerticalAlignment','tableCellBackgroundColor','tableCellPadding'],tableCellStyleAttributesObject=/* #__PURE__ -- @preserve */
Object['fromEntries'](tableCellStyleAttributeNames['map'](_0x1bd291=>[_0x1bd291,null]));class _0x106134 extends ckeditor5['Plugin']{static get['requires'](){return[_0x2f4ae4];}['afterInit'](){const _0x7940c6=this['editor'];if(!_0x7940c6['plugins']['has']('TableClipboard'))return;const _0x5935b2=_0x7940c6['plugins']['get']('TrackChangesEditing'),_0x332f6d=_0x7940c6['plugins']['get']('TableUtils'),_0x1db29b=_0x7940c6['plugins']['get'](_0x2f4ae4),_0x3c2d0d=_0x7940c6['plugins']['get']('TableClipboard'),_0x5aa045=_0x7940c6['plugins']['get']('TableSelection'),_0x31d7ce=_0x7940c6['plugins']['get'](ckeditor5['ClipboardPipeline']);_0x1db29b['_tablePostFixingSubtypes']['push']('tablePasteRow','tablePasteColumn'),_0x7940c6['model']['schema']['register']('tableCellSuggestion',{'allowIn':'tableCell','allowContentOf':'tableCell','isLimit':!0x0}),_0x7940c6['conversion']['elementToElement']({'model':'tableCellSuggestion','view':'suggestion-td'});let _0x520e89=null,_0x121105=!0x1;_0x31d7ce['on']('contentInsertion',(_0x32c715,_0x2bd1ec)=>{_0x121105='paste'===_0x2bd1ec['method'];}),_0x7940c6['model']['on']('insertContent',(_0x22caf1,_0x25b980)=>{if(!_0x121105&&null===_0x5aa045['getSelectedTableCells']())return;const [_0x3c6f79,_0x5bc4ad]=_0x25b980,_0x273cc8=_0x25b980[_0x25b980['length']-0x1];_0x273cc8&&_0x273cc8['forceDefaultExecution']||_0x5935b2['_isForcedDefaultExecutionBlock']||this['editor']['commands']['get']('trackChanges')['value']&&isPasteTableIntoTable(_0x3c6f79,_0x5bc4ad,_0x7940c6['model'],_0x332f6d,_0x3c2d0d)&&(_0x22caf1['stop'](),_0x520e89={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x7940c6['model']['change'](()=>{_0x7940c6['model']['insertContent'](_0x25b980[0x0],_0x25b980[0x1],_0x25b980[0x2],{'forceDefaultExecution':!0x0});const _0x392dfd=ckeditor5['uid'](),{rowInsertionRanges:_0x49612a,columnInsertionRanges:_0x2116f5,insertionRanges:_0x49d89a,deletionRanges:_0x46b554,cells:_0x1954e2}=_0x520e89;_0x49612a['length']&&_0x5935b2['markMultiRangeInsertion'](_0x49612a,'tablePasteRow',{'tablePasteChainId':_0x392dfd}),_0x2116f5['length']&&_0x5935b2['markMultiRangeInsertion'](_0x2116f5,'tablePasteColumn',{'tablePasteChainId':_0x392dfd}),_0x49d89a['length']&&(_0x5935b2['markMultiRangeInsertion'](_0x49d89a,'tablePaste',{'tablePasteChainId':_0x392dfd,'skipNestingCheck':!0x0}),_0x49d89a['forEach'](_0x139b50=>_0x139b50['detach']?.())),_0x46b554['length']&&(_0x5935b2['markMultiRangeDeletion'](_0x46b554,'tablePaste',{'tablePasteChainId':_0x392dfd,'skipNestingCheck':!0x0}),_0x46b554['forEach'](_0x51540e=>_0x51540e['detach']?.()));const _0x66d275=_0x5935b2['markMultiRangeBlockFormat'](_0x1954e2['map'](({element:_0x53a4df})=>_0x53a4df),{'formatGroupId':ckeditor5['uid']()},[],'tablePasteCell',{'tablePasteChainId':_0x392dfd});if(_0x66d275){const _0x52774b=_0x66d275['getMarkers'](),_0x3703b0=[];for(const {element:_0x1c2e54,attributes:_0x4c62c2}of _0x1954e2){if(!_0x4c62c2)continue;const _0x5ca45b=_0x7940c6['model']['createRangeOn'](_0x1c2e54),_0x107b8d=_0x52774b['find'](_0x16590b=>_0x16590b['getRange']()['isEqual'](_0x5ca45b));_0x107b8d&&_0x3703b0['push']([_0x107b8d['name'],_0x4c62c2]);}_0x3703b0['length']&&_0x66d275['setAttribute']('markerAttributes',Object['fromEntries'](_0x3703b0));}_0x520e89=null;}));},{'priority':ckeditor5['priorities']['high']+0xa}),_0x31d7ce['on']('contentInsertion',()=>{_0x121105=!0x1;},{'priority':'lowest'}),_0x7940c6['plugins']['get']('TableClipboard')['on']('_replaceTableSlotCell',(_0x1109a6,_0x18f8c3)=>{const [_0x4a1cd8,_0x18d6cb,,_0x54c861]=_0x18f8c3;if(!_0x520e89)return;_0x1109a6['stop']();const _0x5150a7=_0x4a1cd8['cell'],_0x452204=_0x18d6cb,_0x4f387c=isEmpty(_0x5150a7),_0x43c8ef=isEmpty(_0x452204);_0x1109a6['return']=_0x5150a7;let _0x46ed68=null,_0x223fe0=null;if(_0x43c8ef||_0x4f387c){if(_0x4f387c&&!_0x43c8ef){_0x54c861['remove'](_0x5150a7['getChild'](0x0));for(const _0x5af576 of Array['from'](_0x452204['getChildren']()))_0x54c861['insert'](_0x5af576,_0x5150a7,'end');const _0x4a4ef0=_0x520e89['rowInsertionIndexes']['includes'](_0x4a1cd8['row']),_0x54eb49=_0x520e89['columnInsertionIndexes']['includes'](_0x4a1cd8['column']);_0x4a4ef0||_0x54eb49||(_0x46ed68=ckeditor5['ModelLiveRange']['fromRange'](_0x54c861['createRangeIn'](_0x5150a7)));}else _0x43c8ef&&!_0x4f387c&&(_0x223fe0=_0x54c861['createRangeIn'](_0x5150a7));}else{const _0x3ac600=_0x54c861['createElement']('tableCellSuggestion'),_0x279c65=_0x54c861['createElement']('tableCellSuggestion');_0x54c861['wrap'](_0x54c861['createRangeIn'](_0x5150a7),_0x279c65),_0x54c861['insert'](_0x3ac600,_0x5150a7,0x0);for(const _0x12384b of Array['from'](_0x452204['getChildren']()))_0x54c861['insert'](_0x12384b,_0x3ac600,'end');_0x46ed68=ckeditor5['ModelLiveRange']['fromRange'](_0x54c861['createRangeOn'](_0x3ac600)),_0x223fe0=ckeditor5['ModelLiveRange']['fromRange'](_0x54c861['createRangeOn'](_0x279c65));}const _0x5956cd=Array['from'](_0x452204['getAttributes']())['filter'](([_0x579143])=>tableCellStyleAttributeNames['includes'](_0x579143));_0x520e89['cells']['push']({'element':_0x5150a7,'attributes':_0x5956cd['length']?Object['fromEntries'](_0x5956cd):null}),_0x46ed68&&_0x520e89['insertionRanges']['push'](_0x46ed68),_0x223fe0&&_0x520e89['deletionRanges']['push'](_0x223fe0);},{'priority':'high'}),_0x332f6d['on']('insertColumns',(_0x1fd836,_0x2f2c28)=>{const [_0x4686c2,_0xa7c33b={}]=_0x2f2c28;if(!_0x520e89)return;const _0x319be2=_0xa7c33b['at']||0x0,_0x4a3e62=_0xa7c33b['columns']||0x1;_0x520e89['columnInsertionIndexes']=new Array(_0x4a3e62)['fill'](_0x319be2)['map']((_0x577d3d,_0x129ff8)=>_0x577d3d+_0x129ff8);for(const {cell:_0xa6024b}of _0x332f6d['createTableWalker'](_0x4686c2,{'startColumn':_0x319be2,'endColumn':_0x319be2+_0x4a3e62-0x1}))_0x520e89['columnInsertionRanges']['push'](_0x7940c6['model']['createRangeOn'](_0xa6024b));},{'priority':'low'}),_0x332f6d['on']('insertRows',(_0x4091cb,_0x155fab)=>{const [_0xf7b7db,_0x329cc8={}]=_0x155fab;if(!_0x520e89)return;const _0x252834=_0x329cc8['at']||0x0,_0x4cf7d8=_0x329cc8['rows']||0x1;_0x520e89['rowInsertionIndexes']=new Array(_0x4cf7d8)['fill'](_0x252834)['map']((_0x553c2d,_0x3a33f8)=>_0x553c2d+_0x3a33f8);for(const {cell:_0x1cdeae}of _0x332f6d['createTableWalker'](_0xf7b7db,{'startRow':_0x252834,'endRow':_0x252834+_0x4cf7d8-0x1}))_0x520e89['rowInsertionRanges']['push'](_0x7940c6['model']['createRangeOn'](_0x1cdeae));},{'priority':'low'}),_0x5935b2['descriptionFactory']['registerDescriptionCallback'](_0xc75da7=>{if(_0xc75da7['subType']&&_0xc75da7['subType']['startsWith']('tablePaste'))return _0xc75da7['previous']?{}:{'type':'insertion','content':getTranslation$5(_0x7940c6['locale'],'*Replace\x20table\x20cells*')};});const _0x2cf087=()=>!0x1;for(const _0x5d521e of['tablePaste','tablePasteColumn','tablePasteRow','tablePasteCell'])_0x5935b2['_suggestionFactory']['registerCustomCallback']('insertion',_0x5d521e,'join',_0x2cf087),_0x5935b2['_suggestionFactory']['registerCustomCallback']('deletion',_0x5d521e,'join',_0x2cf087),_0x5935b2['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x5d521e,'join',_0x2cf087);_0x5935b2['_suggestionFactory']['registerCustomCallback']('formatBlock','tablePasteCell','discard',_0x2cf087),_0x5935b2['_suggestionFactory']['registerCustomCallback']('formatBlock','tablePasteCell','accept',(_0x18ee43,_0x24579a,_0x193164)=>{const _0x3f1305=_0x18ee43['map'](_0x50636a=>_0x50636a['getContainedElement']())['filter'](_0x284cc9=>_0x284cc9),_0x426fea=new Map(_0x3f1305['map'](_0x5e145a=>[_0x5e145a,null]));if(_0x520e89){for(const {element:_0x58f08f,attributes:_0x1a6722}of _0x520e89['cells'])_0x1a6722&&_0x426fea['set'](_0x58f08f,_0x1a6722);}else{if(_0x193164&&_0x193164['markerAttributes'])for(const [_0x4f643e,_0x2e0660]of Object['entries'](_0x193164['markerAttributes'])){const _0x227040=_0x7940c6['model']['markers']['get'](_0x4f643e),_0x43c662=_0x227040?_0x227040['getRange']()['getContainedElement']():null;_0x43c662&&_0x426fea['set'](_0x43c662,_0x2e0660);}}_0x7940c6['model']['change'](_0x2f0755=>{for(const [_0xb8771b,_0x155d27]of _0x426fea)_0x2f0755['setAttributes']({...tableCellStyleAttributesObject,..._0x155d27},_0xb8771b);});});const _0x236985=(_0x535f6b,_0x481940)=>{_0x5935b2['_suggestionFactory']['registerCustomCallback'](_0x535f6b,'tablePaste',_0x481940,(_0x3ce187,_0x653e21,_0x5d7c1b)=>{_0x7940c6['model']['change'](_0x13b83f=>{const _0xabcf8=[];for(const _0x4e7cd3 of _0x3ce187){const _0x10f65e=_0x4e7cd3['start']['nodeAfter'];_0x10f65e['is']('element','tableCellSuggestion')&&_0xabcf8['push'](_0x10f65e);}_0x5935b2['_suggestionFactory']['getSuggestionCallback'](_0x535f6b,null,_0x481940)(_0x3ce187,_0x653e21,_0x5d7c1b);for(const _0x57a7da of _0xabcf8)'$graveyard'!=_0x57a7da['root']['rootName']&&_0x13b83f['unwrap'](_0x57a7da);});});};_0x236985('insertion','accept'),_0x236985('insertion','discard'),_0x236985('deletion','accept'),_0x236985('deletion','discard'),_0x5935b2['_suggestionFactory']['registerCustomCallback']('insertion','tablePasteRow','discard',_0x58fcba=>{const _0x51a8cf=_0x58fcba['map'](_0x4d0359=>_0x4d0359['getContainedElement']()),_0x39a0c2=_0x51a8cf[0x0]['findAncestor']('table'),{minRow:_0xb002a,maxRow:_0x9f8cbb}=_0x1db29b['_getCoordsForCells'](_0x51a8cf);_0x332f6d['removeRows'](_0x39a0c2,{'at':_0xb002a,'rows':_0x9f8cbb-_0xb002a+0x1});}),_0x5935b2['_suggestionFactory']['registerCustomCallback']('insertion','tablePasteColumn','discard',_0x5e9c08=>{const _0x210ed0=_0x5e9c08['map'](_0x517b24=>_0x517b24['getContainedElement']()),_0x115c6a=_0x210ed0[0x0]['findAncestor']('table'),{minColumn:_0xa16939,maxColumn:_0x15834c}=_0x1db29b['_getCoordsForCells'](_0x210ed0);_0x332f6d['removeColumns'](_0x115c6a,{'at':_0xa16939,'columns':_0x15834c-_0xa16939+0x1});});const _0x3cdce0=(_0x11c6db,_0x2c4fe1)=>{if(!_0x2c4fe1['subType']||!_0x2c4fe1['subType']['startsWith']('tablePaste'))return;const _0x478545=_0x2c4fe1['attributes']['tablePasteChainId'],_0x1579f1=_0x5935b2['getSuggestions']()['filter'](_0xd2d8a7=>_0xd2d8a7['isInContent']&&_0xd2d8a7['attributes']&&_0xd2d8a7['attributes']['tablePasteChainId']==_0x478545);_0x1579f1['length']&&_0x2c4fe1['getAllAdjacentSuggestions']()['length']!=_0x1579f1['length']&&_0x1579f1['reduce']((_0x179755,_0x5d6493)=>(_0x179755['next']=_0x5d6493,_0x5d6493['previous']=_0x179755,_0x5d6493));};function _0x1e3931(_0x24f2d1,_0x48ac91=!0x0){const {id:_0x5ad916,authorId:_0x315fe1}=splitSuggestionMarkerName(_0x24f2d1['markerName']),_0x49e04f=['ck-suggestion-marker','ck-suggestion-marker-insertion'],_0x111785=_0x5935b2['activeMarkers']['includes'](_0x24f2d1['markerName']);return _0x111785&&_0x49e04f['push']('ck-suggestion-marker--active'),{'classes':_0x49e04f,'attributes':{'data-suggestion':_0x5ad916,'data-author-id':_0x315fe1},'priority':_0x111785&&_0x48ac91?0xbc2:0xbb8};}_0x5935b2['on']('suggestionLoaded',_0x3cdce0,{'priority':'high'}),_0x5935b2['on']('suggestionUnloaded',_0x3cdce0,{'priority':'high'}),_0x7940c6['model']['document']['registerPostFixer'](()=>{let _0x331006=!0x1;const _0x782525=Array['from'](_0x7940c6['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x4e799f,data:_0x320302}of _0x782525){const {group:_0xcb25b5,type:_0x30b757,id:_0x5d84ba}=splitSuggestionMarkerName(_0x4e799f);if('suggestion'!=_0xcb25b5||'deletion'!=_0x30b757||_0x320302['oldRange'])continue;if(!_0x5935b2['hasSuggestion'](_0x5d84ba))continue;const _0x4cfba9=_0x5935b2['getSuggestion'](_0x5d84ba)['getRanges'](),_0x369c00=_0x7940c6['plugins']['get']('Users')['me'];for(const _0x2594e8 of _0x5935b2['getSuggestions']()){if(!_0x2594e8['isInContent']||_0x2594e8['author']!=_0x369c00)continue;if('formatBlock'!=_0x2594e8['type']||'tablePasteCell'!=_0x2594e8['subType'])continue;if(_0x2594e8['getRanges']()['every'](_0x38d48a=>_0x4cfba9['some'](_0x274e24=>_0x274e24['containsRange'](_0x38d48a,!0x0)))){for(const _0x5969bd of _0x2594e8['getAllAdjacentSuggestions']())_0x5969bd['isInContent']&&(_0x5969bd['discard'](),_0x331006=!0x0);}}}return _0x331006;}),_0x7940c6['model']['document']['registerPostFixer'](_0x580427=>{const _0x3707a5=_0x7940c6['commands']['get']('redo');if(!_0x3707a5||!_0x3707a5['_createdBatches']['has'](_0x580427['batch']))return!0x1;let _0x2b8895=!0x1;const _0x46869d=_0x7940c6['plugins']['get']('Users')['me'],_0x3fea67=_0x7940c6['model']['document']['differ']['getChanges'](),_0x3291e0=Array['from'](_0x7940c6['model']['document']['differ']['getChangedMarkers']())['filter'](({name:_0xfea269,data:_0x28ddd1})=>{const {group:_0x46cd29,subType:_0x4bb0eb,authorId:_0x5a221c}=splitSuggestionMarkerName(_0xfea269);return'suggestion'==_0x46cd29&&'tablePaste'==_0x4bb0eb&&_0x5a221c==_0x46869d['id']&&!_0x28ddd1['oldRange'];});for(const _0x4aae51 of _0x3fea67){if('insert'!=_0x4aae51['type']||'tableCellSuggestion'!=_0x4aae51['name']||0x1!=_0x4aae51['length'])continue;const _0x577c9c=_0x580427['createRange'](_0x4aae51['position'],_0x4aae51['position']['getShiftedBy'](0x1)),_0x6997a9=_0x3291e0['find'](({data:_0x12e0f9})=>_0x12e0f9['newRange']['isEqual'](_0x577c9c));if(!_0x6997a9){for(const {name:_0x465ed4,data:_0x21ce33}of _0x3291e0)if(_0x577c9c['containsRange'](_0x21ce33['newRange'])){_0x580427['updateMarker'](_0x465ed4,{'range':_0x577c9c}),_0x2b8895=!0x0;break;}}}return _0x2b8895;}),_0x7940c6['model']['document']['registerPostFixer'](_0x4bd1c1=>{let _0x5eccfa=!0x1;const _0x4bbad2=_0x7940c6['plugins']['get']('Users')['me'],_0x4a30e9=_0x5935b2['getSuggestions']()['filter'](_0x1d5cec=>_0x1d5cec['isInContent']&&_0x1d5cec['author']==_0x4bbad2),_0x497b93=new Set(),_0x2ca323=new Set();for(const _0x1ef809 of _0x4a30e9)if('tablePaste'==_0x1ef809['subType'])for(const _0x46e3cd of _0x1ef809['getMarkers']()){const _0x114d68=_0x46e3cd['getRange']()['getContainedElement']();if(_0x114d68){if(_0x114d68['is']('element','tableCellSuggestion')&&isEmpty(_0x114d68)){_0x1ef809['removeMarker'](_0x46e3cd['name']),_0x497b93['add'](_0x114d68),_0x5eccfa=!0x0;const _0x2c10c4=_0x114d68['nextSibling'],_0x44d922=_0x114d68['previousSibling'],_0x330578=_0x2c10c4&&_0x2c10c4['is']('element','tableCellSuggestion'),_0x1a4b5e=_0x44d922&&_0x44d922['is']('element','tableCellSuggestion');_0x330578&&!_0x497b93['has'](_0x2c10c4)&&_0x2ca323['add'](_0x2c10c4),_0x1a4b5e&&!_0x497b93['has'](_0x44d922)&&_0x2ca323['add'](_0x44d922);}else _0x114d68['is']('element','paragraph')&&_0x114d68['isEmpty']&&(_0x1ef809['removeMarker'](_0x46e3cd['name']),_0x5eccfa=!0x0);}}else{if('tablePasteCell'==_0x1ef809['subType']){if(!_0x1ef809['attributes']||!_0x1ef809['attributes']['tablePasteChainId'])continue;const _0xf495ac=_0x1ef809['attributes']['markerAttributes'];if(_0xf495ac&&Object['keys'](_0xf495ac)['length'])continue;const _0x40fb6f=_0x1ef809['attributes']['tablePasteChainId'];let _0x19272d=!0x0,_0x284dc2=!0x0;for(const _0x9d9641 of _0x4a30e9)if(_0x9d9641['subType']&&_0x9d9641['subType']['startsWith']('tablePaste')){if(!_0x9d9641['attributes']['tablePasteChainId']){_0x284dc2=!0x1;break;}if(_0x9d9641['id']!=_0x1ef809['id']&&_0x9d9641['attributes']['tablePasteChainId']==_0x40fb6f){_0x19272d=!0x1;break;}}_0x284dc2&&_0x19272d&&(_0x1ef809['removeMarkers'](),_0x5eccfa=!0x0);}}for(const _0x1e3b16 of _0x497b93)_0x4bd1c1['remove'](_0x1e3b16);for(const _0xc90d74 of _0x2ca323)_0x4bd1c1['unwrap'](_0xc90d74);return _0x5eccfa;}),_0x7940c6['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':_0x12b3b1=>_0x1e3931(_0x12b3b1),'converterPriority':'high'}),_0x7940c6['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x2d2c1b,_0x46aa44)=>_0x46aa44['options']['showSuggestionHighlights']?_0x1e3931(_0x2d2c1b,!0x1):null,'converterPriority':'high'});const _0x3af110=_0x7940c6['editing']['view'];this['listenTo'](_0x3af110['document'],'clipboardOutput',(_0x197c8b,_0x1b5d17)=>{const _0x341b8b=[];for(const _0x12cc18 of _0x3af110['createRangeIn'](_0x1b5d17['content'])['getItems']())_0x12cc18['is']('element','suggestion-td')&&_0x341b8b['push'](_0x12cc18);_0x3af110['change'](_0x8a5c08=>{for(const _0x114461 of _0x341b8b)_0x8a5c08['move'](_0x8a5c08['createRangeIn'](_0x114461),_0x8a5c08['createPositionBefore'](_0x114461)),_0x8a5c08['remove'](_0x114461);});});}}function isEmpty(_0x48fa86){if(_0x48fa86['isEmpty'])return!0x0;const _0x8762b=_0x48fa86['getChild'](0x0);return _0x8762b['is']('element','paragraph')&&_0x8762b['isEmpty'];}function isPasteTableIntoTable(_0x405735,_0x14307c,_0xc8a9bd,_0x39e5c9,_0x13738f){if(_0x14307c&&!_0x14307c['is']('documentSelection'))return!0x1;const _0x5a847b=_0x13738f['getTableIfOnlyTableInContent'](_0x405735,_0xc8a9bd);if(!_0x5a847b||!_0x2e5c99(_0x5a847b,void 0x0,_0x39e5c9))return!0x1;const _0x177dd1=_0x39e5c9['getSelectionAffectedTableCells'](_0xc8a9bd['document']['selection']);if(!_0x177dd1['length'])return!0x1;const _0x33d526=_0x177dd1[0x0]['findAncestor']('table'),_0x173971=_0x39e5c9['getRowIndexes'](_0x177dd1),_0x1df0d8=_0x39e5c9['getColumnIndexes'](_0x177dd1),_0x5c3176={'startRow':_0x173971['first'],'endRow':_0x173971['last'],'startColumn':_0x1df0d8['first'],'endColumn':_0x1df0d8['last']};return 0x1==_0x177dd1['length']&&(_0x5c3176['endRow']+=_0x39e5c9['getRows'](_0x5a847b)-0x1,_0x5c3176['endColumn']+=_0x39e5c9['getColumns'](_0x5a847b)-0x1),_0x2e5c99(_0x33d526,_0x5c3176,_0x39e5c9);}function _0x2e5c99(_0x1c2509,_0x4dd26f={},_0x2f850a){for(const {isAnchor:_0x28569e,cellHeight:_0x1aca84,cellWidth:_0x4051b9}of _0x2f850a['createTableWalker'](_0x1c2509,{'includeAllSlots':!0x0,..._0x4dd26f}))if(!_0x28569e||0x1!=_0x1aca84||0x1!=_0x4051b9)return!0x1;return!0x0;}class _0x268ee5 extends ckeditor5['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('TableColumnResizeEditing'))return;const _0x213a07=this['editor']['plugins']['get']('TrackChangesEditing');_0x213a07['enableCommand']('resizeTableWidth',this['handleResizeTableWidthCommand']['bind'](this)),_0x213a07['_suggestionFactory']['registerCustomCallback']('formatBlock','resizeTable','accept',_0x213a07['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x213a07['_suggestionFactory']['registerCustomCallback']('formatBlock','resizeTable','discard',_0x213a07['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'accept')),_0x213a07['descriptionFactory']['registerDescriptionCallback'](this['handleSuggestionDescription']['bind'](this));}['handleResizeTableWidthCommand'](_0x4f7880,_0xe5e048){const _0x2ed905=this['editor']['plugins']['get']('TrackChangesEditing'),_0x5d7e0b=this['editor']['plugins']['get']('TableColumnResizeEditing'),_0x192491=_0xe5e048['table']||this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](()=>{const _0x1a4033=_0x5d7e0b['getColumnGroupElement'](_0x192491);let _0x5805f3=_0x1a4033?_0x5d7e0b['getTableColumnsWidths'](_0x1a4033):null,_0x18fa3c=_0x192491['getAttribute']('tableWidth')||null;const _0x47f2d0=_0xe5e048['tableWidth']||_0x18fa3c,_0x53b596=_0xe5e048['columnWidths']||_0x5805f3,_0x1f3d79=this['editor']['plugins']['get']('Users')['me'];for(const _0x58c3a2 of _0x2ed905['getSuggestions']()){const _0x4d88b6=_0x58c3a2['getContainedElement']();if('resizeTable'===_0x58c3a2['subType']&&_0x4d88b6===_0x192491){_0x58c3a2['author']!==_0x1f3d79&&_0x58c3a2['discard']();const _0x2ad42e=_0x58c3a2['data']['commandParams'];_0x18fa3c=_0x2ad42e[0x0]['tableWidth'],_0x5805f3=_0x2ad42e[0x0]['columnWidths'];break;}}_0x4f7880({'table':_0x192491,'tableWidth':_0x47f2d0,'columnWidths':_0x53b596}),_0x2ed905['markBlockFormat'](_0x192491,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0x18fa3c,'columnWidths':_0x5805f3}],'formatGroupId':'resizeTable'},[],'resizeTable');});}['handleSuggestionDescription'](_0xc7b1d1){if('formatBlock'!=_0xc7b1d1['type']&&'formatInline'!=_0xc7b1d1['type'])return;const {data:_0x69b4c9}=_0xc7b1d1;if(_0x69b4c9&&'resizeTable'===_0x69b4c9['formatGroupId']){const _0x3fda35='*Format:*\x20resize\x20table';return{'type':'format','content':getTranslation$5(this['editor']['locale'],_0x3fda35)};}}}class TrackChangesTemplate extends ckeditor5['Plugin']{['afterInit'](){const _0x367038=this['editor'];_0x367038['plugins']['has']('Template')&&_0x367038['plugins']['get']('TrackChangesEditing')['enableCommand']('insertTemplate');}}class TrackChangesTableOfContents extends ckeditor5['Plugin']{['afterInit'](){const _0x21649b=this['editor'];if(!_0x21649b['commands']['get']('insertTableOfContents'))return;_0x21649b['plugins']['get']('TrackChangesEditing')['enableCommand']('insertTableOfContents');const _0x3a7dde=_0x21649b['plugins']['get']('TrackChangesEditing'),_0x466ba0=_0x21649b['locale'];_0x3a7dde['descriptionFactory']['registerElementLabel']('tableOfContents',_0x243c61=>getTranslation$5(_0x466ba0,'ELEMENT_TABLE_OF_CONTENTS',_0x243c61));}}class TrackChangesTitle extends ckeditor5['Plugin']{['afterInit'](){const _0x32e146=this['editor'];if(!_0x32e146['plugins']['has']('Title'))return;_0x32e146['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerElementLabel']('title-content',()=>getTranslation$5(_0x32e146['locale'],'ELEMENT_TITLE')),_0x32e146['model']['document']['registerPostFixer'](_0x1d8eb2=>{let _0x10ab1f=!0x1;const _0x450e57=Array['from'](_0x32e146['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x421a06,data:_0x5a106c}of _0x450e57){const {group:_0x1536de}=splitSuggestionMarkerName(_0x421a06);if('suggestion'!==_0x1536de||!_0x5a106c['newRange'])continue;const _0xf7b837=_0x5a106c['newRange'],_0x3dbad5=_0xf7b837['end']['nodeBefore'];if(!_0x3dbad5||!_0x3dbad5['is']('element','title-content'))continue;if(!_0xf7b837['start']['isTouching'](_0xf7b837['end']))continue;const _0x53d6a2=_0x32e146['model']['schema']['getNearestSelectionRange'](_0xf7b837['end'],'forward');if(_0x53d6a2&&_0x53d6a2['isCollapsed']){const _0x566c12=_0x1d8eb2['createRange'](_0xf7b837['start'],_0x53d6a2['start']);_0x566c12['isEqual'](_0xf7b837)||(_0x1d8eb2['updateMarker'](_0x421a06,{'range':_0x566c12}),_0x10ab1f=!0x0);}_0x10ab1f||(_0x1d8eb2['removeMarker'](_0x421a06),_0x10ab1f=!0x0);}return _0x10ab1f;});}}class _0x38f95d extends ckeditor5['Plugin']{['afterInit'](){const _0x28f51a=this['editor'],_0x422c1b=_0x28f51a['plugins']['get']('TrackChangesEditing');_0x28f51a['plugins']['has']('Uploadcare')&&(_0x422c1b['enableCommand']('uploadcare'),_0x28f51a['plugins']['has']('UploadcareImageEdit')&&(_0x422c1b['enableCommand']('uploadcareImageEdit'),_0x422c1b['enableDefaultAttributesIntegration']('uploadcareImageReplace'),_0x422c1b['descriptionFactory']['registerDescriptionCallback'](_0x2bbbe9=>{if('attribute'!=_0x2bbbe9['type'])return;const {data:_0x4a2992}=_0x2bbbe9;return _0x4a2992&&'uploadcareImageId'==_0x4a2992['key']?{'type':'format','content':''}:void 0x0;})));}}class _0x571aec extends ckeditor5['Plugin']{['afterInit'](){const _0x293f67=this['editor'],_0x44cdc3=_0x293f67['plugins']['get']('TrackChangesEditing');_0x293f67['plugins']['has']('UndoEditing')&&(_0x44cdc3['enableCommand']('undo'),_0x44cdc3['enableCommand']('redo'));}}class TrackChangesTableCaption extends ckeditor5['Plugin']{static get['requires'](){return[_0x2f4ae4];}['afterInit'](){const _0x5ebf74=this['editor'];if(!_0x5ebf74['plugins']['has']('TableCaptionEditing'))return;_0x5ebf74['plugins']['get']('TrackChangesEditing')['enableCommand']('toggleTableCaption');}}class TrackChangesTableProperties extends ckeditor5['Plugin']{['tableProperties'];['tableCellProperties'];constructor(_0x4b7b8f){super(_0x4b7b8f),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 _0x14c276=this['editor']['plugins']['get']('TrackChangesEditing');if(this['editor']['plugins']['has']('TablePropertiesEditing')){for(const _0x1ea831 of this['tableProperties'])_0x14c276['enableCommand'](_0x1ea831,(_0x24ccd1,_0x110c52)=>{const _0x316d90=this['editor']['model']['document']['selection']['getFirstPosition']()['findAncestor']('table');this['_handlePropertyChange'](_0x1ea831,[_0x316d90],this['tableProperties'],'tableProperties',_0x24ccd1,_0x110c52);});_0x14c276['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','accept',_0x14c276['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x14c276['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','discard',(_0x2ced8d,_0x3657cf)=>this['handleDiscardAction'](this['tableProperties'],_0x2ced8d,_0x3657cf)),_0x14c276['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','join',()=>!0x1);}if(this['editor']['plugins']['has']('TableCellPropertiesEditing')){for(const _0x5b36be of this['tableCellProperties'])this['editor']['commands']['get'](_0x5b36be)&&_0x14c276['enableCommand'](_0x5b36be,(_0x4f9523,_0x404bcf)=>{const _0x1585b5=this['editor']['plugins']['get']('TableUtils')['getSelectionAffectedTableCells'](this['editor']['model']['document']['selection']);this['_handlePropertyChange'](_0x5b36be,_0x1585b5,this['tableCellProperties'],'tableCellProperties',_0x4f9523,_0x404bcf);});_0x14c276['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','accept',_0x14c276['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x14c276['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','discard',(_0x1bc92f,_0x44302f)=>this['handleDiscardAction'](this['tableCellProperties'],_0x1bc92f,_0x44302f)),_0x14c276['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','join',()=>!0x1),this['editor']['model']['schema']['checkAttribute']('tableCell','tableCellType')&&_0x14c276['descriptionFactory']['registerAttributeLabel']('tableCellType',getTranslation$5(this['editor']['locale'],'FORMAT_TABLE_CELL_TYPE'));}_0x14c276['descriptionFactory']['registerDescriptionCallback'](_0x6d5e11=>this['handleSuggestionDescription'](_0x6d5e11)),this['_registerTablePropertiesAttributes']();}['_handlePropertyChange'](_0x499522,_0x2a133d,_0x14b435,_0x8064cc,_0xa3982,_0x46ef8a){const _0x535d22=this['editor']['plugins']['get']('TrackChangesEditing');this['editor']['model']['enqueueChange'](_0x46ef8a['batch'],()=>{for(const _0x348c12 of _0x2a133d){if(this['_getSuggestion'](_0x348c12,_0x8064cc))_0xa3982(_0x46ef8a);else{const _0x188a02={};for(const _0xc9595c of _0x14b435){const _0x45826c=_0x348c12['getAttribute'](_0xc9595c);void 0x0!==_0x45826c&&(_0x188a02[_0xc9595c]=_0x45826c);}_0xa3982(_0x46ef8a),_0x535d22['markBlockFormat'](_0x348c12,{'commandParams':[_0x188a02]},[],_0x8064cc);}}});}['handleDiscardAction'](_0x16c4a1,_0x1b9877,_0x373972){const _0x27ad71=_0x1b9877[0x0]['start']['nodeAfter'],_0x2a17b2=_0x373972['commandParams'][0x0];this['editor']['model']['change'](_0x3ed8f5=>{for(const _0xc8d3ab of _0x16c4a1)void 0x0!==_0x2a17b2[_0xc8d3ab]?_0x3ed8f5['setAttribute'](_0xc8d3ab,_0x2a17b2[_0xc8d3ab],_0x27ad71):_0x3ed8f5['removeAttribute'](_0xc8d3ab,_0x27ad71);});}['handleSuggestionDescription'](_0x3f0eb0){if(_0x3f0eb0['data'])switch(_0x3f0eb0['subType']){case'tableProperties':return{'type':'format','content':getTranslation$5(this['editor']['locale'],'*Format:*\x20change\x20table\x20properties')};case'tableCellProperties':return{'type':'format','content':getTranslation$5(this['editor']['locale'],'*Format:*\x20change\x20table\x20cell\x20properties')};}}['_getSuggestion'](_0xdea9c8,_0x520b83){const _0x135702=this['editor']['plugins']['get']('TrackChangesEditing');for(const _0x5ac5b4 of _0x135702['getSuggestions']({'skipNotAttached':!0x0})){const _0x4a89ec=_0x5ac5b4['getContainedElement']();if(_0x5ac5b4['subType']===_0x520b83&&_0x4a89ec===_0xdea9c8)return _0x5ac5b4;}return null;}['_registerTablePropertiesAttributes'](){const _0x4184ec=this['editor']['plugins']['get']('TrackChangesEditing'),_0x151a87=[...this['tableProperties'],...this['tableCellProperties']];for(const _0x160905 of _0x151a87){const _0x48b6ed=_0x160905['replace'](/([A-Z])/g,'_$1')['toUpperCase']();_0x4184ec['descriptionFactory']['registerAttributeLabel'](_0x160905,getTranslation$5(this['editor']['locale'],'FORMAT_'+_0x48b6ed));}}}class TrackChangesLineHeight extends ckeditor5['Plugin']{['afterInit'](){const _0x640774=this['editor'];if(!_0x640774['plugins']['has']('LineHeight'))return;const _0x342922=_0x640774['plugins']['get']('TrackChangesEditing'),_0x432990=_0x640774['locale'];_0x342922['enableDefaultAttributesIntegration']('lineHeight'),_0x342922['descriptionFactory']['registerAttributeLabel']('lineHeight',getTranslation$5(_0x432990,'FORMAT_LINE_HEIGHT'));}}const renameAttributeKey='$elementName';class TrackChangesEditing extends ckeditor5['Plugin']{['descriptionFactory'];['trackChangesCommand'];['_adapter'];['_suggestionFactory'];['_suggestions'];['_commentsRepository'];['_suggestionsConversion'];['_enabledCommands'];['_model'];['_suggestionState'];['_isForcedDefaultExecutionBlock'];['_trackFormatChanges'];['_mergeNestedSuggestions'];['_recordAttributeSuggestions']=!0x1;['_trackingSessionId']=null;static get['requires'](){return[CommentsRepository,SuggestionsConversion,_0x4a3f8f,ckeditor5['PendingActions'],DocumentCompare,TrackChangesAIAssistant,_0x5b3f36,TrackChangesAIQuickActions,TrackChangesAlignment,TrackChangesBasicStyles,TrackChangesBlockQuote,_0x4dd554,_0x24e972,_0x3228b4,_0x3ad470,TrackChangesComments,TrackChangesDeleteCommand,_0x35e25d,TrackChangesEnterCommand,_0xee1268,TrackChangesFont,TrackChangesFootnotes,TrackChangesFormatPainter,_0x3a51f0,TrackChangesHighlight,TrackChangesHorizontalLine,TrackChangesHtmlEmbed,_0x8be0d5,TrackChangesImageStyle,_0x54e084,TrackChangesImportWord,TrackChangesIndent,TrackChangesInputCommand,TrackChangesLegacyList,TrackChangesLegacyListProperties,TrackChangesMultiLevelList,_0x210a28,TrackChangesList,TrackChangesLineHeight,TrackChangesDocumentListProperties,_0x5192a5,TrackChangesMention,_0xdde175,_0x15ed22,_0x84b1a5,_0x1c11dc,TrackChangesRemoveFormat,TrackChangesRestrictedEditingMode,TrackChangesShiftEnterCommand,TrackChangesStandardEditingMode,TrackChangesStylesDropdown,_0x2f4ae4,TrackChangesTableMergeSplit,_0x4e3014,TrackChangesTableFooters,TrackChangesTableLayout,TrackChangesTableCaption,_0x106134,_0x268ee5,TrackChangesTableOfContents,TrackChangesTableProperties,TrackChangesTemplate,TrackChangesTitle,_0x38f95d,_0x571aec];}static get['pluginName'](){return'TrackChangesEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2a948d){super(_0x2a948d),this['set']('activeMarkers',[]),this['on']('change:activeMarkers',(_0x392a3f,_0x16512e,_0x1d5aaa,_0x2fbda8)=>{this['_model']['change'](()=>{for(const _0x49ce63 of[..._0x2fbda8,..._0x1d5aaa])this['_model']['markers']['has'](_0x49ce63)&&_0x2a948d['editing']['reconvertMarker'](_0x49ce63);});}),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']=_0x2a948d['plugins']['get'](CommentsRepository),this['_suggestionsConversion']=_0x2a948d['plugins']['get'](SuggestionsConversion),this['_enabledCommands']=new Set(),this['_model']=this['editor']['model'],this['_suggestionState']=new WeakMap(),this['_isForcedDefaultExecutionBlock']=!0x1,_0x2a948d['config']['define']('trackChanges.trackFormatChanges','default'),this['_trackFormatChanges']=_0x2a948d['config']['get']('trackChanges.trackFormatChanges'),_0x2a948d['config']['define']('trackChanges.mergeNestedSuggestions',!0x0),this['_mergeNestedSuggestions']=_0x2a948d['config']['get']('trackChanges.mergeNestedSuggestions'),this['trackChangesCommand']=new _0x434369(_0x2a948d,this['_enabledCommands']),this['_initAriaMarkerChangeAnnouncements']();}['init'](){const _0x48e4e3=this['editor'];_0x48e4e3['conversion']['for']('upcast')['elementToElement']({'view':{'name':'suggestion','attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0xac5b1e,{writer:_0xed0b68})=>{let _0x5da521='suggestion:'+_0xac5b1e['getAttribute']('suggestion-type')+':'+_0xac5b1e['getAttribute']('id');return _0xac5b1e['getAttribute']('marker-count')&&(_0x5da521+=':'+_0xac5b1e['getAttribute']('marker-count')),_0xed0b68['createElement']('$marker',{'data-name':_0x5da521});}}),_0x48e4e3['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion'}),_0x48e4e3['model']['document']['registerPostFixer'](_0x5576c1=>{let _0x1348af=!0x1;const _0x3fdf02=Array['from'](_0x48e4e3['model']['document']['differ']['getChangedMarkers']()),_0xcf2ada=new Set();for(const {name:_0x222efa,data:_0x31ed64}of _0x3fdf02){const {group:_0x1becec,type:_0x452481,subType:_0x531ba2,id:_0x509185}=splitSuggestionMarkerName(_0x222efa);if('suggestion'!==_0x1becec)continue;const _0x2d56a5=_0x531ba2?'suggestion:'+_0x452481+':'+_0x531ba2+':'+_0x509185:'suggestion:'+_0x452481+':'+_0x509185,_0x3c54d8=_0x48e4e3['model']['markers']['getMarkersGroup'](_0x2d56a5),_0x5f3542=_0x48e4e3['model']['markers']['get'](_0x222efa),_0x2f1adc=this['_suggestions']['get'](_0x509185);if(null!=_0x31ed64['newRange']){'formatInline'==_0x452481&&(_0x1348af=_0x1348af||trimFormatInlineSuggestionRange(_0x31ed64['newRange'],_0x222efa,_0x5576c1,_0x48e4e3['model']['schema']));const _0x5da724='attribute'==_0x452481&&this['_suggestionsConversion']['isBlockAttribute'](_getAttributeKeyFromSubType(_0x531ba2)),_0x4431dd='attribute'==_0x452481&&this['_suggestionsConversion']['isInlineAttribute'](_getAttributeKeyFromSubType(_0x531ba2));if(_0x31ed64['newRange']['isCollapsed']||'$graveyard'==_0x31ed64['newRange']['root']['rootName']||'formatBlock'==_0x452481&&!isCorrectFormatBlockSuggestionRange(_0x31ed64['newRange'])||_0x5da724&&!isCorrectFormatBlockSuggestionRange(_0x31ed64['newRange'])||_0x4431dd&&isEmptyRange(_0x31ed64['newRange'])||'deletion'==_0x452481&&isEmptyRange(_0x31ed64['newRange'])||_0x5f3542&&isIntersectingWithOtherMarkers(_0x5f3542,_0x3c54d8))_0x5576c1['removeMarker'](_0x222efa),_0x1348af=!0x0;else{if(!_0x2f1adc||!_0x2f1adc['isInContent'])continue;if(_0x31ed64['newRange']&&_0x31ed64['oldRange']&&_0x31ed64['newRange']['isEqual'](_0x31ed64['oldRange']))continue;_0xcf2ada['add'](_0x2f1adc);}}}return _0xcf2ada['size']>0x0&&(_0x1348af=!!this['_joinWithAdjacentSuggestions'](_0xcf2ada)||_0x1348af),_0x1348af;}),_0x48e4e3['model']['document']['registerPostFixer'](_0x1f2752=>{let _0x18c84c=!0x1;for(const _0x3a9d92 of _0x48e4e3['model']['document']['differ']['getChanges']())if('insert'==_0x3a9d92['type'])for(const _0x342fad of this['_suggestions']['values']()){if(_0x342fad['isMultiRange']||!_0x342fad['isInContent'])continue;const _0x42af90='formatBlock'==_0x342fad['type'],_0x3cc430=this['_getAttributeKey'](_0x342fad),_0xfb701a=_0x3cc430&&this['_suggestionsConversion']['isBlockAttribute'](_0x3cc430);if(!_0x42af90&&!_0xfb701a)continue;const _0x49fdf5=_0x342fad['getFirstRange']();if(_0x49fdf5['start']['parent']!=_0x49fdf5['end']['parent']&&!_0x49fdf5['end']['isAtEnd']){const _0x16b727=_0x48e4e3['model']['createPositionAt'](_0x49fdf5['start']['nodeAfter'],'end'),_0x347783=_0x48e4e3['model']['createRange'](_0x49fdf5['start'],_0x16b727);_0x1f2752['updateMarker'](_0x342fad['getFirstMarker'](),{'range':_0x347783}),_0x18c84c=!0x0;}}return _0x18c84c;}),_0x48e4e3['model']['document']['registerPostFixer'](_0x55404f=>this['_processAttributeChanges'](_0x55404f)),_0x48e4e3['model']['document']['registerPostFixer'](_0x4266dc=>!_0x4266dc['batch']['isLocal']&&this['_processAttributeSuggestions'](_0x4266dc)),_0x48e4e3['model']['on']('_afterChanges',()=>{this['_recordAttributeSuggestions']=!0x1;}),_0x48e4e3['model']['document']['on']('change:data',(_0x4394e5,_0x1d53f1)=>{if(!_0x1d53f1['isLocal']||_0x1d53f1['isUndo'])return;if(!this['_recordAttributeSuggestions'])return;const _0x5bb793=_0x48e4e3['model']['document']['differ']['getChanges']();if(0x0==_0x5bb793['length'])return;const _0x4e121d=[],_0x424a64=_0x5bb793['filter'](_0x7d3c9a=>'attribute'==_0x7d3c9a['type']),_0x268783=_0x5bb793['filter'](_0x2ef9e3=>'insert'==_0x2ef9e3['type']&&'$text'!=_0x2ef9e3['name']);for(const _0x10b0de of _0x424a64)this['_suggestionsConversion']['isRegisteredAttribute'](_0x10b0de['attributeKey'])&&_0x4e121d['push']({'key':_0x10b0de['attributeKey'],'newValue':_0x10b0de['attributeNewValue'],'oldValue':_0x10b0de['attributeOldValue'],'range':fixAttributeSuggestionRange(_0x10b0de['range'],_0x48e4e3['model'])});for(const _0x59facf of _0x268783){if('rename'!=_0x59facf['action']&&'refresh'!=_0x59facf['action'])continue;const _0x18ff09=createBlockFormatRangeForElement(_0x59facf['position']['nodeAfter'],_0x48e4e3['model']),_0x5338c2=_0x59facf['before'];'rename'==_0x59facf['action']&&_0x4e121d['push']({'key':renameAttributeKey,'newValue':_0x59facf['name'],'oldValue':_0x5338c2['name'],'range':_0x18ff09});for(const [_0x5cb87d,_0x5ebe1e]of _0x5338c2['attributes']){if(!this['_suggestionsConversion']['isRegisteredAttribute'](_0x5cb87d))continue;const _0x1b3ad7=_0x59facf['attributes']['get'](_0x5cb87d);_0x5ebe1e!==_0x1b3ad7&&_0x4e121d['push']({'key':_0x5cb87d,'newValue':_0x1b3ad7,'oldValue':_0x5ebe1e,'range':_0x18ff09});}for(const [_0x1bf6a6,_0x21f58d]of _0x59facf['attributes'])this['_suggestionsConversion']['isRegisteredAttribute'](_0x1bf6a6)&&(_0x5338c2['attributes']['has'](_0x1bf6a6)||_0x4e121d['push']({'key':_0x1bf6a6,'newValue':_0x21f58d,'oldValue':null,'range':_0x18ff09}));}0x0!=_0x4e121d['length']&&_0x48e4e3['model']['enqueueChange'](_0x1d53f1,_0x4c6c9a=>{const _0x274952=ckeditor5['uid']();for(const {range:_0xd8fee1,key:_0x4212d9,oldValue:_0x2e7e41,newValue:_0x4b6595}of _0x4e121d)this['markAttributeChange'](_0xd8fee1,_0x4212d9,_0x2e7e41,_0x4b6595,{'groupId':_0x274952});this['_reduceExistingSuggestions'](_0x4c6c9a,_0x4e121d);});},{'priority':'lowest'}),_0x48e4e3['model']['markers']['on']('update:suggestion',(_0x39d4ef,_0x4d35c5,_0x25d77f)=>{if(null==_0x25d77f){const {id:_0x46c08a}=splitSuggestionMarkerName(_0x4d35c5['name']),_0x4d2161=this['_suggestions']['get'](_0x46c08a);_0x4d2161&&_0x4d2161['addMarkerName'](_0x4d35c5['name']);}}),_0x48e4e3['model']['document']['on']('change:data',()=>{const _0xed9ad3=Array['from'](_0x48e4e3['model']['document']['differ']['getChangedMarkers']())['filter'](_0x468f44=>'suggestion'===splitSuggestionMarkerName(_0x468f44['name'])['group']);if(0x0===_0xed9ad3['length'])return;_0xed9ad3['sort']((_0x35a8bd,_0x2f46e0)=>{const _0xde9fde=_0x35a8bd['data']['oldRange'],_0x3f4e31=_0x2f46e0['data']['oldRange'];return null===_0xde9fde&&null===_0x3f4e31?0x0:null===_0xde9fde&&null!==_0x3f4e31?-0x1:null!==_0xde9fde&&null===_0x3f4e31?0x1:_0xde9fde['start']['isBefore'](_0x3f4e31['start'])?-0x1:0x1;});const _0x3f459a=new Set(),_0x59a3a3=new Set();for(const {name:_0x283437,data:_0x2dd1b3}of _0xed9ad3){const {id:_0x543be5}=splitSuggestionMarkerName(_0x283437);if(null===_0x2dd1b3['oldRange']){const _0x2f0f7d=this['_handleNewSuggestionMarker'](_0x283437);_0x59a3a3['add'](_0x2f0f7d);}else{const _0x4b4504=this['_suggestions']['get'](_0x543be5);null!==_0x2dd1b3['newRange']||_0x4b4504['isInContent']?(_0x3f459a['add'](_0x4b4504['head']),_0x59a3a3['add'](_0x4b4504)):this['_removeSuggestion'](_0x4b4504);}}_0x59a3a3['size']>0x0&&this['_refreshSuggestionsChain'](_0x59a3a3);for(const _0x3d244f of _0x3f459a)this['fire']('suggestionChanged',_0x3d244f);}),_0x48e4e3['model']['on']('applyOperation',(_0x3e09a,_0x140dc4)=>{const _0x149ac4=_0x140dc4[0x0];if(!this['_suggestions']['size'])return;if(!_0x149ac4['isDocumentOperation'])return;if(_0x149ac4['batch']['isUndo']||!_0x149ac4['batch']['isLocal'])return;let _0x1d1520,_0x24691a;switch(_0x149ac4['type']){case'insert':_0x1d1520=_0x48e4e3['model']['createPositionAt'](_0x149ac4['position']),_0x24691a=_0x1d1520['getShiftedBy'](_0x149ac4['howMany']);break;case'split':_0x1d1520=_0x48e4e3['model']['createPositionAt'](_0x149ac4['splitPosition']),_0x24691a=_0x48e4e3['model']['createPositionAt'](_0x149ac4['moveTargetPosition']);break;case'move':_0x1d1520=_0x48e4e3['model']['createPositionAt'](_0x149ac4['targetPosition']),_0x24691a=_0x1d1520['getShiftedBy'](_0x149ac4['howMany']);break;default:return;}const _0x344caf=_0x48e4e3['model']['createRange'](_0x1d1520,_0x24691a);_0x48e4e3['model']['change'](()=>{for(const {suggestion:_0x17487e,meta:_0x111d29}of this['_findSuggestions'](_0x344caf)){if(_0x17487e['isMultiRange'])continue;if('formatInline'==_0x17487e['type'])continue;const _0x4b8088=this['_getAttributeKey'](_0x17487e);if(_0x4b8088&&this['_suggestionsConversion']['isBlockAttribute'](_0x4b8088)&&'split'!=_0x149ac4['type'])continue;const _0x30e739=_0x17487e['data']&&_0x17487e['data']['multipleBlocks'];('formatBlock'!=_0x17487e['type']||'split'==_0x149ac4['type']&&!_0x30e739)&&(_0x111d29['containsRangeInObject']||'insertion'==_0x17487e['type']&&_0x111d29['isOwn']||_0x17487e['getFirstRange']()['containsRange'](_0x344caf)&&this['_breakSuggestionMarker'](_0x17487e,_0x1d1520,_0x24691a));}});},{'priority':'lowest'}),_0x48e4e3['model']['on']('deleteContent',(_0x4ad783,_0x24941b)=>{const _0x5ae9e8=_0x24941b[0x0],_0x392a4b=_0x24941b[0x1];if(_0x392a4b&&_0x392a4b['forceDefaultExecution'])return;if(this['_isForcedDefaultExecutionBlock'])return;if(!this['trackChangesCommand']['value'])return;if(_0x5ae9e8['isCollapsed'])return;const _0x617544=_0x48e4e3['model']['schema'],{start:_0x434a19,end:_0x273836}=_0x5ae9e8['getFirstRange'](),_0x2c5449=_0x434a19['nodeAfter']&&_0x617544['isLimit'](_0x434a19['nodeAfter'])?null:_0x617544['getNearestSelectionRange'](_0x434a19,'forward'),_0x2e884e=_0x273836['nodeBefore']&&_0x617544['isLimit'](_0x273836['nodeBefore'])?null:_0x617544['getNearestSelectionRange'](_0x273836,'backward'),_0x45edd7=_0x48e4e3['model']['createRange'](_0x2c5449?_0x2c5449['start']:_0x434a19,_0x2e884e?_0x2e884e['end']:_0x273836);_0x48e4e3['model']['change'](_0x172377=>{this['markDeletion'](_0x45edd7);const _0x4afd5b=_0x48e4e3['model']['schema']['getNearestSelectionRange'](_0x45edd7['start']);_0x5ae9e8['is']('documentSelection')?_0x172377['setSelection'](_0x4afd5b):_0x5ae9e8['setTo'](_0x4afd5b);}),_0x4ad783['stop']();},{'priority':ckeditor5['priorities']['normal']+0xa}),_0x48e4e3['model']['on']('insertContent',(_0x14e305,_0x225387)=>{const _0x213494=_0x225387[_0x225387['length']-0x1];_0x213494&&_0x213494['forceDefaultExecution']||this['_isForcedDefaultExecutionBlock']||this['trackChangesCommand']['value']&&(_0x48e4e3['model']['change'](()=>{let _0x157b4e=_0x48e4e3['model']['insertContent'](_0x225387[0x0],_0x225387[0x1],_0x225387[0x2],{'forceDefaultExecution':!0x0});if(!_0x157b4e)return;_0x14e305['return']=_0x157b4e['clone']();const _0x52507a=_0x157b4e['end']['nodeBefore'],_0x47f729=_0x48e4e3['model']['schema'];_0x52507a&&_0x47f729['isBlock'](_0x52507a)&&!_0x47f729['isObject'](_0x52507a)&&(_0x157b4e=_0x48e4e3['model']['createRange'](_0x157b4e['start'],_0x48e4e3['model']['createPositionAt'](_0x52507a,'end'))),this['markInsertion'](_0x157b4e);}),_0x14e305['stop']());},{'priority':'high'}),this['editor']['commands']['add']('trackChanges',this['trackChangesCommand']),this['enableCommand']('trackChanges');const _0xbfc7b8=new AcceptSuggestionCommand(_0x48e4e3,this['_suggestions']);_0x48e4e3['commands']['add']('acceptSuggestion',_0xbfc7b8),this['enableCommand']('acceptSuggestion');const _0x43e79d=new DiscardSuggestionCommand(_0x48e4e3,this['_suggestions']);_0x48e4e3['commands']['add']('discardSuggestion',_0x43e79d),this['enableCommand']('discardSuggestion'),_0x48e4e3['commands']['add']('acceptAllSuggestions',new ExecuteOnAllSuggestionsCommand(_0x48e4e3,_0xbfc7b8,this['_suggestions'])),this['enableCommand']('acceptAllSuggestions'),_0x48e4e3['commands']['add']('discardAllSuggestions',new ExecuteOnAllSuggestionsCommand(_0x48e4e3,_0x43e79d,this['_suggestions'])),this['enableCommand']('discardAllSuggestions'),_0x48e4e3['commands']['add']('acceptSelectedSuggestions',new ExecuteOnSelectedSuggestionsCommand(_0x48e4e3,_0xbfc7b8,this['_suggestions'])),this['enableCommand']('acceptSelectedSuggestions'),_0x48e4e3['commands']['add']('discardSelectedSuggestions',new ExecuteOnSelectedSuggestionsCommand(_0x48e4e3,_0x43e79d,this['_suggestions'])),this['enableCommand']('discardSelectedSuggestions');const _0x2e2e66=_0x48e4e3['plugins']['get'](CommentsRepository);this['listenTo'](_0x2e2e66,'addComment',(_0x20fc2b,{threadId:_0x424fb6})=>{const _0x14fcb0=this['_suggestions']['get'](_0x424fb6);_0x14fcb0&&_0x14fcb0['commentThread']&&0x1===_0x14fcb0['commentThread']['length']&&this['_updateSuggestionData'](_0x424fb6,{'hasComments':!0x0});},{'priority':'low'}),this['listenTo'](_0x2e2e66,'removeComment',(_0x9516db,{threadId:_0x4d83e3})=>{const _0x28289b=this['_suggestions']['get'](_0x4d83e3);_0x28289b&&_0x28289b['commentThread']&&!_0x28289b['commentThread']['length']&&this['_updateSuggestionData'](_0x4d83e3,{'hasComments':!0x1});},{'priority':'low'});}['afterInit'](){_0x331dcf(this);}set['adapter'](_0x21941c){if(this['_adapter'])throw new ckeditor5['CKEditorError']('track-changes-adapter-already-set',this);this['_adapter']=_0x21941c;}get['adapter'](){return this['_adapter'];}['getSuggestions']({skipNotAttached:_0x250b7e=!0x1,toJSON:_0x4cd6c6=!0x1}={}){const _0x3a45e4=[];for(const _0x32740d of this['_suggestions']['values']())_0x250b7e&&!_0x32740d['isInContent']||_0x3a45e4['push'](_0x32740d);return _0x4cd6c6?_0x3a45e4['map'](_0x52cf1a=>_0x52cf1a['toJSON']()):_0x3a45e4;}['getSuggestion'](_0xb0721c){const _0x23c2f8=this['_suggestions']['get'](_0xb0721c);if(!_0x23c2f8)throw new ckeditor5['CKEditorError']('track-changes-suggestion-not-found',this);return _0x23c2f8;}['hasSuggestion'](_0x59220e){return this['_suggestions']['has'](_0x59220e);}['addSuggestionData'](_0x3212ff){const {authorId:_0x42c21c,id:_0xcefb8a,originalSuggestionId:_0x4ea6e1,attributes:_0x1ba2f6}=_0x3212ff,[_0x3a9853,_0x2114c9]=_0x3212ff['type']['split'](':'),_0x328bfb=this['_suggestions']['get'](_0xcefb8a)||this['_createSuggestion'](_0x3a9853,_0x2114c9,_0xcefb8a,_0x42c21c,_0x1ba2f6,_0x4ea6e1);if(this['_addThreadToSuggestion'](_0x328bfb),this['_checkSuggestionCorrectness'](_0x328bfb,_0x3a9853,_0x2114c9||null,_0x42c21c),_0x328bfb['createdAt']=_0x3212ff['createdAt'],_0x328bfb['_isDataLoaded']=!0x0,_0x1ba2f6&&_0x1ba2f6['@external']){const _0x4fd05e=_0x1ba2f6['@external'],_0x3530d5=this['_getExternalAuthor'](_0x4fd05e['authorName']);_0x328bfb['authoredAt']=_0x4fd05e['createdAt'],_0x328bfb['author']=_0x3530d5,_0x328bfb['isExternal']=!0x0;}else _0x328bfb['authoredAt']=_0x3212ff['createdAt'];switch(_0x3212ff['data']&&(_0x328bfb['data']=_0x3212ff['data']),_0x3212ff['attributes']&&(_0x328bfb['attributes']=_0x3212ff['attributes']),this['_adapter']&&this['_adapter']['addSuggestion']||(_0x328bfb['_saved']=!0x0),this['_suggestionState']['get'](_0x328bfb)){case'notReady':this['_suggestionState']['set'](_0x328bfb,'dataReady');break;case'markerReady':_0x328bfb['isInContent']?(this['_joinWithAdjacentSuggestions'](new Set([_0x328bfb])),this['_refreshSuggestionsChain'](new Set([_0x328bfb])),this['_suggestionState']['set'](_0x328bfb,'ready'),this['fire']('suggestionLoaded',_0x328bfb)):this['_suggestionState']['set'](_0x328bfb,'removed');}return _0x328bfb;}['acceptSuggestion'](_0x288e78){this['forceDefaultExecution'](()=>{this['editor']['model']['change'](()=>{for(const _0x5f4b86 of _0x288e78['getAllAdjacentSuggestions']())_0x5f4b86['accept']();});});}['discardSuggestion'](_0x4efeff){this['forceDefaultExecution'](()=>{this['editor']['model']['change'](()=>{for(const _0x20aced of _0x4efeff['getAllAdjacentSuggestions']())_0x20aced['discard']();});});}['enableCommand'](_0x3ea17e,_0x22e134){const _0x1471be=this['editor']['commands']['get'](_0x3ea17e);if(!_0x1471be)throw new ckeditor5['CKEditorError']('track-changes-command-not-found',this,{'commandName':_0x3ea17e});if(this['_enabledCommands']['has'](_0x1471be))throw new ckeditor5['CKEditorError']('track-changes-enable-command-twice',this,{'commandName':_0x3ea17e});this['_enabledCommands']['add'](_0x1471be),_0x22e134&&_0x1471be['on']('execute',(_0x2223dc,_0x236711)=>{this['trackChangesCommand']['value']&&(this['_isForcedDefaultExecutionBlock']||(_0x236711['length']>0x0&&_0x236711[_0x236711['length']-0x1]&&_0x236711[_0x236711['length']-0x1]['forceDefaultExecution']?_0x236711['pop']():(_0x2223dc['return']=_0x22e134((..._0x3b52f9)=>_0x1471be['execute'](..._0x3b52f9,{'forceDefaultExecution':!0x0}),..._0x236711),_0x2223dc['stop']())));},{'priority':'high'});}['forceDefaultExecution'](_0x55f431){let _0xdcb123,_0x375eb1;const _0x11c305=this['_isForcedDefaultExecutionBlock'];this['_isForcedDefaultExecutionBlock']=!0x0;try{_0xdcb123=_0x55f431();}catch(_0x3ec536){_0x375eb1=_0x3ec536;}return _0x11c305||(this['_isForcedDefaultExecutionBlock']=!0x1),_0x375eb1&&ckeditor5['CKEditorError']['rethrowUnexpectedError'](_0x375eb1,this),_0xdcb123;}['markInsertion'](_0x4fb958,_0x1b72b9=null,_0x4844bb={}){if(_0x4fb958['isCollapsed'])return null;const _0x5c4fce=this['editor']['plugins']['get']('Users')['me'];this['_trackingSessionId']&&(_0x4844bb['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x337140,meta:_0x30b86f}of this['_findSuggestions'](_0x4fb958,'insertion'))if(_0x30b86f['isOwn']){if(!_0x30b86f['isNextTo']){if(_0x30b86f['containsRangeInObject']){if(!this['_mergeNestedSuggestions']||!_areSimilarAttributes(_0x337140,_0x4844bb))continue;return _0x337140;}if(_areSimilarAttributes(_0x337140,_0x4844bb))return _0x337140;this['_breakSuggestionMarker'](_0x337140,_0x4fb958['start'],_0x4fb958['end']);break;}if(_0x1b72b9==_0x337140['subType']&&_areSimilarAttributes(_0x337140,_0x4844bb)){const _0x2abcab=_0x337140['getFirstRange']();return _0x2abcab['start']['isEqual'](_0x4fb958['end'])?this['_setSuggestionRange'](_0x337140,this['_model']['createRange'](_0x4fb958['start'],_0x2abcab['end'])):this['_setSuggestionRange'](_0x337140,this['_model']['createRange'](_0x2abcab['start'],_0x4fb958['end'])),_0x337140;}}const _0x16f0eb=ckeditor5['uid'](),_0x503496=_0x5c4fce['id'],_0x50368c=_0x1b72b9?'insertion:'+_0x1b72b9:'insertion',_0x4e5314=this['_setSuggestionData']({'id':_0x16f0eb,'type':_0x50368c,'createdAt':new Date(),'authorId':_0x503496,'attributes':_0x4844bb});return this['_addSuggestionMarker'](_0x50368c,_0x16f0eb,_0x503496,_0x4fb958),_0x4e5314;}['markMultiRangeInsertion'](_0x36d4ef,_0xa29f31='multi',_0x1413e8={}){const _0x146055=this['editor']['plugins']['get']('Users')['me'],_0x5d5aa0=this['_suggestionFactory']['getSuggestionCallback']('insertion',_0xa29f31,'join');this['_trackingSessionId']&&(_0x1413e8['trackingSessionId']=this['_trackingSessionId']);for(const _0x4478ac of this['getSuggestions']())if(_0x4478ac['author']['id']==_0x146055['id']&&'insertion'==_0x4478ac['type']&&_0x4478ac['subType']==_0xa29f31&&_areSimilarAttributes(_0x4478ac,_0x1413e8)&&(_0x5d5aa0(_0x4478ac['getRanges'](),_0x36d4ef)||_0x5d5aa0(_0x36d4ef,_0x4478ac['getRanges']()))){for(const _0x4fa34b of _0x36d4ef)_0x4478ac['addRange'](_0x4fa34b);return _0x4478ac;}for(const {suggestion:_0x3b6173,meta:_0x27c397}of this['_findSuggestions'](_0x36d4ef,'insertion')){if(!_0x27c397['isOwn'])continue;if(!this['_mergeNestedSuggestions']&&_0x27c397['containsRangeInObject'])continue;if(!_areSimilarAttributes(_0x3b6173,_0x1413e8))continue;let _0x5d5088=!0x0;for(const _0x2bdf6f of _0x3b6173['getRanges']())for(const _0x53e758 of _0x36d4ef)if(!_0x2bdf6f['containsRange'](_0x53e758)){_0x5d5088=!0x1;break;}if(_0x5d5088)return _0x3b6173;}const _0x1af4aa=ckeditor5['uid'](),_0x4047d0=_0x146055['id'],_0xf3de9b='insertion:'+_0xa29f31,_0x17e79e=this['_setSuggestionData']({'id':_0x1af4aa,'type':_0xf3de9b,'createdAt':new Date(),'authorId':_0x4047d0,'attributes':_0x1413e8});for(const _0x3d5a33 of _0x36d4ef)this['_addSuggestionMarker'](_0xf3de9b,_0x1af4aa,_0x4047d0,_0x3d5a33,Suggestion['getMultiRangeId']());return _0x17e79e;}['markInlineFormat'](_0x1ffb3b,_0x2774e4,_0x987a90=null,_0x4124f4={}){if(_0x987a90=_0x987a90||createFormatSubType(_0x2774e4),_0x1ffb3b['isCollapsed'])return null;if(this['_trackingSessionId']&&(_0x4124f4['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x444330=this['_suggestionFactory']['getSuggestionCallback']('formatInline',_0x987a90,'accept');return this['forceDefaultExecution'](()=>_0x444330([_0x1ffb3b],_0x2774e4,_0x4124f4)),null;}const _0xcc8401=this['editor']['plugins']['get']('Users')['me'],_0x3ab711=[];if('always'!==this['_trackFormatChanges']){for(const {suggestion:_0x5f3c89,meta:_0x177e05}of this['_findSuggestions'](_0x1ffb3b,'insertion'))_0x177e05['isOwn']&&!_0x177e05['isInsideObject']&&_0x3ab711['push'](..._0x5f3c89['getRanges']());}const _0x25d4a1=getIntersectionsWithMultipleRanges(_0x1ffb3b,_0x3ab711),_0x2f6189=getDifferencesWithMultipleRanges(_0x1ffb3b,_0x3ab711);_0x25d4a1['length']&&this['_model']['change'](()=>{for(const _0x2d3910 of _0x25d4a1){const _0x2aaf9e=this['_suggestionFactory']['getSuggestionCallback']('formatInline',_0x987a90,'accept');this['forceDefaultExecution'](()=>_0x2aaf9e([_0x2d3910],_0x2774e4,_0x4124f4));}});for(const _0x91c8ad of _0x2f6189){let _0xccff67=null,_0x588678=_0x91c8ad['start'],_0x31fbcd=_0x91c8ad['end'];for(const {suggestion:_0x591a9a,meta:_0x15ca40}of this['_findSuggestions'](_0x91c8ad,'formatInline')){if(!_0x15ca40['isOwn'])continue;if(_0x591a9a['subType']!=_0x987a90)continue;if(!_areSimilarAttributes(_0x591a9a,_0x4124f4))continue;const _0x530c4c=_0x591a9a['getFirstRange']();if(_0x530c4c['containsRange'](_0x91c8ad,!0x0))return null;_0x588678=_0x588678['isBefore'](_0x530c4c['start'])?_0x588678:_0x530c4c['start'],_0x31fbcd=_0x31fbcd['isAfter'](_0x530c4c['end'])?_0x31fbcd:_0x530c4c['end'],_0xccff67?_0x530c4c['start']['isBefore'](_0xccff67['getFirstRange']()['start'])?(_0xccff67['removeMarkers'](),_0xccff67=_0x591a9a):_0x591a9a['removeMarkers']():_0xccff67=_0x591a9a;}const _0x1c56ae=this['_model']['createRange'](_0x588678,_0x31fbcd);if(_0xccff67)this['_setSuggestionRange'](_0xccff67,_0x1c56ae);else{const _0x28d51f=ckeditor5['uid'](),_0x22e83c=_0xcc8401['id'];this['_setSuggestionData']({'id':_0x28d51f,'type':'formatInline:'+_0x987a90,'data':_0x2774e4,'createdAt':new Date(),'authorId':_0x22e83c,'attributes':_0x4124f4}),this['_addSuggestionMarker']('formatInline:'+_0x987a90,_0x28d51f,_0x22e83c,_0x1c56ae);}}return null;}['markBlockFormat'](_0x2c69b1,_0x1c25f5,_0x32e372=[],_0x382fac=null,_0x24f41c={}){_0x1c25f5['formatGroupId']||(_0x1c25f5['formatGroupId']=_0x1c25f5['commandName']),_0x1c25f5['multipleBlocks']=_0x2c69b1['is']('range'),_0x382fac=_0x382fac||createFormatSubType(_0x1c25f5);const _0x1631a3=_0x32e372['map'](_0x18b50e=>createBlockFormatRangeForElement(_0x18b50e,this['_model'])),_0x2e3e0c=_0x2c69b1['is']('range')?_0x2c69b1:createBlockFormatRangeForElement(_0x2c69b1,this['_model']);if(this['_trackingSessionId']&&(_0x24f41c['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x48e9ae=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x382fac,'accept');return this['forceDefaultExecution'](()=>_0x48e9ae([_0x2e3e0c],_0x1c25f5,_0x24f41c)),null;}_0x1631a3['push'](_0x2e3e0c);let _0x3c1b09=!0x0;for(const _0xf58af0 of _0x1631a3)if(!this['_rangeIsInLocalUserInsertion'](_0xf58af0)){_0x3c1b09=!0x1;break;}if(_0x3c1b09&&'always'!==this['_trackFormatChanges']){const _0x319ba4=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x382fac,'accept');return this['forceDefaultExecution'](()=>_0x319ba4([_0x2e3e0c],_0x1c25f5,_0x24f41c)),null;}let _0x47a38b=null,_0x144eca=_0x2e3e0c['start'],_0x3e1397=_0x2e3e0c['end'];for(const {suggestion:_0x3d1c9a,meta:_0x4e131e}of this['_findSuggestions'](_0x2e3e0c,'formatBlock')){if(!_0x4e131e['isOwn'])continue;if(_0x4e131e['isNextTo']||_0x4e131e['containsRangeInObject']||_0x4e131e['isInsideObject'])continue;if(_0x3d1c9a['data']['formatGroupId']!=_0x1c25f5['formatGroupId'])continue;if(!_areSimilarAttributes(_0x3d1c9a,_0x24f41c))continue;const _0x561d4d=_0x3d1c9a['getFirstRange']();if(_0x3d1c9a['subType']==_0x382fac){if(_0x561d4d['containsRange'](_0x2e3e0c,!0x0))return null;_0x144eca=_0x144eca['isBefore'](_0x561d4d['start'])?_0x144eca:_0x561d4d['start'],_0x3e1397=_0x3e1397['isAfter'](_0x561d4d['end'])?_0x3e1397:_0x561d4d['end'],_0x47a38b?_0x561d4d['start']['isBefore'](_0x47a38b['getFirstRange']()['start'])?(_0x47a38b['removeMarkers'](),_0x47a38b=_0x3d1c9a):_0x3d1c9a['removeMarkers']():_0x47a38b=_0x3d1c9a;}else{const _0x320519=_0x2e3e0c['getIntersection'](_0x561d4d);this['_cutOutSuggestionMarker'](_0x3d1c9a,_0x320519);}}const _0x35cc01=this['editor']['plugins']['get']('Users')['me'],_0x3ad352=ckeditor5['uid'](),_0x3c921d=_0x35cc01['id'];if(_0x47a38b)return this['_setSuggestionRange'](_0x47a38b,this['_model']['createRange'](_0x144eca,_0x3e1397)),_0x47a38b;{const _0x384278=this['_setSuggestionData']({'id':_0x3ad352,'type':'formatBlock:'+_0x382fac,'data':_0x1c25f5,'createdAt':new Date(),'authorId':_0x3c921d,'attributes':_0x24f41c});return this['_addSuggestionMarker']('formatBlock:'+_0x382fac,_0x3ad352,_0x3c921d,this['_model']['createRange'](_0x144eca,_0x3e1397)),_0x384278;}}['markMultiRangeBlockFormat'](_0x2ae2bc,_0x46476c,_0x7c00c=[],_0x4e821=null,_0x59debe={}){_0x46476c['formatGroupId']||(_0x46476c['formatGroupId']=_0x46476c['commandName']);const _0x441da3=_0x2ae2bc[0x0];_0x46476c['multipleBlocks']=_0x441da3['is']('range'),_0x4e821=_0x4e821||createFormatSubType(_0x46476c);const _0x2a5be5=_0x7c00c['map'](_0x36586b=>createBlockFormatRangeForElement(_0x36586b,this['_model'])),_0x5d3464=_0x441da3['is']('range')?_0x2ae2bc:_0x2ae2bc['map'](_0x3da4fa=>createBlockFormatRangeForElement(_0x3da4fa,this['_model']));if(this['_trackingSessionId']&&(_0x59debe['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x522741=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x4e821,'accept');return this['forceDefaultExecution'](()=>_0x522741(_0x5d3464,_0x46476c,_0x59debe)),null;}_0x2a5be5['push'](..._0x5d3464);let _0x521f27=!0x0;for(const _0x165696 of _0x2a5be5)if(!this['_rangeIsInLocalUserInsertion'](_0x165696)){_0x521f27=!0x1;break;}if(_0x521f27&&'always'!==this['_trackFormatChanges']){const _0x38d799=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x4e821,'accept');return this['forceDefaultExecution'](()=>_0x38d799(_0x5d3464,_0x46476c,_0x59debe)),null;}const _0x56a9ac=this['editor']['plugins']['get']('Users')['me'];for(const _0x27341e of this['getSuggestions']()){const _0x4d8196=_0x27341e['data'];if(_0x27341e['author']['id']!=_0x56a9ac['id'])continue;if('formatBlock'!=_0x27341e['type']||_0x4d8196['formatGroupId']!=_0x46476c['formatGroupId'])continue;if(!_areSimilarAttributes(_0x27341e,_0x59debe))continue;const _0x1e248a=_0x27341e['subType']==_0x4e821;for(let _0x51ddc8=0x0;_0x51ddc8<_0x5d3464['length'];_0x51ddc8++){const _0x4e7c7d=_0x5d3464[_0x51ddc8];for(const _0x2b72e3 of _0x27341e['getMarkers']()){const _0x56ce27=_0x2b72e3['getRange']();if(_0x4e7c7d['isEqual'](_0x56ce27)){_0x1e248a?(_0x5d3464['splice'](_0x51ddc8,0x1),_0x51ddc8--):_0x27341e['removeMarker'](_0x2b72e3['name']);break;}}}}if(0x0==_0x5d3464['length'])return null;const _0x5d9447=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x4e821,'join');for(const _0x5dee9d of this['getSuggestions']()){const _0x44440a=_0x5dee9d['data'];if(_0x5dee9d['author']['id']==_0x56a9ac['id']&&('formatBlock'==_0x5dee9d['type']&&_0x44440a['formatGroupId']==_0x46476c['formatGroupId']&&_0x5dee9d['subType']==_0x4e821&&_areSimilarAttributes(_0x5dee9d,_0x59debe)&&(_0x5d9447(_0x5dee9d['getRanges'](),_0x5d3464)||_0x5d9447(_0x5d3464,_0x5dee9d['getRanges']())))){for(const _0x249caf of _0x5d3464)_0x5dee9d['addRange'](_0x249caf);return _0x5dee9d;}}const _0x5a7fe5=ckeditor5['uid'](),_0x276a33=_0x56a9ac['id'],_0x1737e2='formatBlock:'+_0x4e821,_0x5c52f8=this['_setSuggestionData']({'id':_0x5a7fe5,'type':_0x1737e2,'data':_0x46476c,'createdAt':new Date(),'authorId':_0x276a33,'attributes':_0x59debe});for(const _0x5ef737 of _0x5d3464)this['_addSuggestionMarker'](_0x1737e2,_0x5a7fe5,_0x276a33,_0x5ef737,Suggestion['getMultiRangeId']());return _0x5c52f8;}['markDeletion'](_0x1a7e07,_0x52d3ff=null,_0x3dc4d6={}){if(_0x1a7e07['isCollapsed'])return null;const _0x5bbc79=this['editor']['plugins']['get']('Users')['me'],_0x22ae8a=new ckeditor5['ModelLiveRange'](_0x1a7e07['start'],_0x1a7e07['end']);this['_trackingSessionId']&&(_0x3dc4d6['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x48b036,meta:_0x4af6d1}of this['_findSuggestions'](_0x22ae8a,'insertion'))if(_0x4af6d1['isOwn']&&!_0x4af6d1['isNextTo']){if(_0x48b036['isMultiRange']){const _0x292852=_0x48b036['getRanges']()['filter'](_0x4dbe1e=>'$graveyard'!=_0x4dbe1e['root']['rootName']);_0x292852['every'](_0x344430=>_0x22ae8a['containsRange'](_0x344430,!0x0))&&_0x48b036['discard']();if(_0x292852['some'](_0x4293bb=>_0x4293bb['containsRange'](_0x22ae8a,!0x0))){const _0x3d3c6e=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x52d3ff,'accept');return this['forceDefaultExecution'](()=>_0x3d3c6e([_0x22ae8a],null,_0x3dc4d6)),null;}}else{const _0x13a4fa=_0x22ae8a['getIntersection'](_0x48b036['getFirstRange']());null!==_0x13a4fa&&_0x48b036['_onDiscard']([_0x13a4fa],null,_0x3dc4d6);}}if(_0x22ae8a['detach'](),_0x22ae8a['isCollapsed']||'$graveyard'==_0x22ae8a['root']['rootName'])return null;let _0x31eab0=null,_0x1a04bb=_0x22ae8a['start'],_0x2d4c30=_0x22ae8a['end'];const _0x5a388f=this['_findSuggestions'](_0x22ae8a,'deletion');for(const {suggestion:_0x2ce4ab,meta:_0x1e1e9d}of _0x5a388f){const _0x1b8713=this['_model']['createRange'](_0x1a04bb,_0x2d4c30);if(_0x1e1e9d['isOwn']&&(this['_mergeNestedSuggestions']||!_0x1e1e9d['containsRangeInObject']&&!_0x1e1e9d['isInsideObject'])){if(_0x2ce4ab['isMultiRange']){if(!_areSimilarAttributes(_0x2ce4ab,_0x3dc4d6))continue;let _0x14a63b=!0x0;for(const _0x7b7e25 of _0x2ce4ab['getRanges']()){if(_0x7b7e25['containsRange'](_0x1b8713,!0x0))return _0x2ce4ab;_0x1b8713['containsRange'](_0x7b7e25)||(_0x14a63b=!0x1);}_0x14a63b&&_0x2ce4ab['discard']();}else{const _0x4167d2=_0x2ce4ab['getFirstRange']();if(_0x4167d2['containsRange'](_0x1b8713,!0x0))return _0x2ce4ab;if(!_areSimilarAttributes(_0x2ce4ab,_0x3dc4d6)){_0x1b8713['containsRange'](_0x4167d2)?_0x2ce4ab['removeMarkers']():_0x4167d2['containsPosition'](_0x1a04bb)?_0x1a04bb=_0x4167d2['end']:_0x4167d2['containsPosition'](_0x2d4c30)&&(_0x2d4c30=_0x4167d2['start']);continue;}_0x1a04bb=_0x1a04bb['isBefore'](_0x4167d2['start'])?_0x1a04bb:_0x4167d2['start'],_0x2d4c30=_0x2d4c30['isAfter'](_0x4167d2['end'])?_0x2d4c30:_0x4167d2['end'],_0x3dc4d6=Object['assign']({},_0x2ce4ab['attributes']),_0x31eab0?_0x4167d2['start']['isBefore'](_0x31eab0['getFirstRange']()['start'])?(_0x31eab0['removeMarkers'](),_0x31eab0=_0x2ce4ab):_0x2ce4ab['removeMarkers']():_0x31eab0=_0x2ce4ab;}}}if(_0x31eab0)return this['_setSuggestionRange'](_0x31eab0,this['_model']['createRange'](_0x1a04bb,_0x2d4c30)),_0x31eab0;{const _0x3c4f1b=ckeditor5['uid'](),_0x4c3f50=this['_model']['createRange'](_0x1a04bb,_0x2d4c30),_0x4801ca=_0x5bbc79['id'],_0x3028e5=_0x52d3ff?'deletion:'+_0x52d3ff:'deletion',_0x58a34c=this['_setSuggestionData']({'id':_0x3c4f1b,'type':_0x3028e5,'createdAt':new Date(),'authorId':_0x4801ca,'attributes':_0x3dc4d6});return this['_addSuggestionMarker'](_0x3028e5,_0x3c4f1b,_0x4801ca,_0x4c3f50),_0x58a34c;}}['markMultiRangeDeletion'](_0x3ac59c,_0x4d560d='multi',_0x45e028={}){const _0x40ebf1=this['editor']['plugins']['get']('Users')['me'],_0x3dc2dd=_0x3ac59c['map'](_0x1e19b5=>new ckeditor5['ModelLiveRange'](_0x1e19b5['start'],_0x1e19b5['end'])),_0x2c296b=new Set();this['_trackingSessionId']&&(_0x45e028['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0xf8a169,meta:_0x4563ab}of this['_findSuggestions'](_0x3dc2dd,'insertion'))_0x4563ab['isOwn']&&!_0x4563ab['isNextTo']&&_0x2c296b['add'](_0xf8a169);for(const _0x509685 of _0x2c296b)if(_0x509685['isMultiRange']){const _0x3e0cd7=_0x509685['getRanges']();(!_0x509685['attributes']||!_0x509685['attributes']['skipNestingCheck'])&&(_0x3e0cd7['every'](_0x1f4685=>_0x3dc2dd['some'](_0x71ac5f=>_0x71ac5f['containsRange'](_0x1f4685,!0x0)))&&_0x509685['discard']());if(_0x3dc2dd['every'](_0x3082a6=>_0x3e0cd7['some'](_0x5ea976=>_0x5ea976['containsRange'](_0x3082a6,!0x0)))){const _0x4c85f0=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x4d560d,'accept');return this['forceDefaultExecution'](()=>_0x4c85f0(_0x3ac59c,null,_0x45e028)),null;}}else{const _0x34ed48=_0x509685['getFirstRange']();_0x3dc2dd['some'](_0x5eb764=>_0x5eb764['containsRange'](_0x34ed48,!0x0))&&_0x509685['discard']();if(_0x3dc2dd['every'](_0x3ebeea=>_0x34ed48['containsRange'](_0x3ebeea,!0x0))){const _0x273bb6=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x4d560d,'accept');return this['forceDefaultExecution'](()=>_0x273bb6(_0x3dc2dd,null,_0x45e028)),null;}}const _0x5725c5=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x4d560d,'join');let _0x252e59=null;for(const _0x4deec3 of this['getSuggestions']())if(_0x4deec3['author']['id']==_0x40ebf1['id']&&_0x4deec3['isInContent']&&'deletion'==_0x4deec3['type']&&_0x4deec3['subType']==_0x4d560d&&_areSimilarAttributes(_0x4deec3,_0x45e028)&&(_0x5725c5(_0x4deec3['getRanges'](),_0x3dc2dd)||_0x5725c5(_0x3dc2dd,_0x4deec3['getRanges']()))){if(_0x252e59){if(_0x4deec3['commentThread']&&_0x4deec3['commentThread']['length'])continue;for(const _0x3b9498 of _0x4deec3['getRanges']())_0x252e59['isIntersectingWithRange'](_0x3b9498)||_0x252e59['addRange'](_0x3b9498);_0x4deec3['removeMarkers']();}else{_0x252e59=_0x4deec3;for(const _0x42eaab of _0x3dc2dd)_0x4deec3['isIntersectingWithRange'](_0x42eaab)||_0x4deec3['addRange'](_0x42eaab);}}if(_0x252e59)return _0x252e59;_0x2c296b['clear']();for(const {suggestion:_0x47aaa2,meta:_0x28c4e5}of this['_findSuggestions'](_0x3dc2dd,'deletion'))_0x28c4e5['isOwn']&&(this['_mergeNestedSuggestions']||!_0x28c4e5['containsRangeInObject']&&!_0x28c4e5['isInsideObject'])&&_areSimilarAttributes(_0x47aaa2,_0x45e028)&&_0x2c296b['add'](_0x47aaa2);for(const _0x23dac2 of _0x2c296b){const _0x2cfb8e=_0x23dac2['getRanges']();if(!_0x45e028||!_0x45e028['skipNestingCheck']){if(_0x3dc2dd['every'](_0x5df36a=>_0x2cfb8e['some'](_0x224980=>_0x224980['containsRange'](_0x5df36a,!0x0))))return _0x23dac2;}(!_0x23dac2['attributes']||!_0x23dac2['attributes']['skipNestingCheck'])&&(_0x2cfb8e['every'](_0x1dfa77=>_0x3dc2dd['some'](_0x16f555=>_0x16f555['containsRange'](_0x1dfa77,!0x0)))&&_0x23dac2['discard']());}const _0x534710=ckeditor5['uid'](),_0x5d04c8=_0x40ebf1['id'],_0x25e4cd='deletion:'+_0x4d560d,_0x3dcf6c=this['_setSuggestionData']({'id':_0x534710,'type':_0x25e4cd,'createdAt':new Date(),'authorId':_0x5d04c8,'attributes':_0x45e028});for(const _0x690a21 of _0x3dc2dd)_0x690a21['detach'](),_0x690a21['isCollapsed']||'$graveyard'==_0x690a21['root']['rootName']||this['_addSuggestionMarker'](_0x25e4cd,_0x534710,_0x5d04c8,_0x690a21,Suggestion['getMultiRangeId']());return _0x3dcf6c;}['markAttributeChange'](_0x168930,_0x2aacd4,_0x6f57d7,_0x4b491a,_0x50d2ea){if(_0x168930['isCollapsed'])return[];if('never'===this['_trackFormatChanges'])return[];const _0x36fa0c=this['editor']['plugins']['get']('Users')['me']['id'],_0x257641=Array['from'](this['_suggestions']['values']())['filter'](_0xe5501e=>'attribute'==_0xe5501e['type']&&_0xe5501e['data']['key']==_0x2aacd4&&_0xe5501e['isIntersectingWithRange'](_0x168930));if(this['_trackingSessionId']&&(_0x50d2ea['trackingSessionId']=this['_trackingSessionId']),'default'===this['_trackFormatChanges']){const _0x4393a0=this['_findSuggestions'](_0x168930,'insertion')['filter'](({meta:_0x402bcb})=>_0x402bcb['isOwn']&&!_0x402bcb['isInsideObject']&&!_0x402bcb['isNextTo'])['map'](({suggestion:_0x2d36fc})=>_0x2d36fc);_0x257641['unshift'](..._0x4393a0);}const _0x27554a=new Map([[_0x168930,_0x6f57d7]]);for(const _0xe1f349 of _0x257641){const _0x5cbe0f='attribute'==_0xe1f349['type']?_0xe1f349['data']['oldValue']:void 0x0,_0x36002e=_0xe1f349['getFirstRange'](),_0x224225=Array['from'](_0x27554a['keys']())['find'](_0x470eff=>_0x470eff['isIntersecting'](_0x36002e));if(!_0x224225)continue;const _0x44754c=_0x224225['getDifference'](_0x36002e);this['_suggestionsConversion']['isBlockAttribute'](_0x2aacd4)&&'insertion'==_0xe1f349['type']&&0x0!=_0x44754c['length']||(_0x27554a['delete'](_0x224225),_0x44754c['forEach'](_0x68c988=>{_0x27554a['set'](_0x68c988,_0x6f57d7);}),'insertion'!=_0xe1f349['type']&&_0x5cbe0f!=_0x4b491a&&_0x27554a['set'](_0x224225['getIntersection'](_0x36002e),_0x5cbe0f));}const _0x307215=[];for(const [_0x3b0874,_0x2ceb9a]of _0x27554a){const _0x49fc8e=ckeditor5['uid'](),_0x165d30={'key':_0x2aacd4,'oldValue':_0x2ceb9a,'newValue':_0x4b491a};_0x2aacd4['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':_0x2aacd4});const _0x2c4f71=('attribute:'+(_0x2aacd4+'|'+createFormatSubType({'newValue':_0x4b491a})))['substring'](0x0,0x3c),_0x5488e=this['_setSuggestionData']({'id':_0x49fc8e,'type':_0x2c4f71,'data':_0x165d30,'createdAt':new Date(),'authorId':_0x36fa0c,'attributes':_0x50d2ea});_0x307215['push'](_0x5488e),this['_addSuggestionMarker'](_0x2c4f71,_0x49fc8e,_0x36fa0c,_0x3b0874);}return _0x307215;}['enableDefaultAttributesIntegration'](_0x41d3ec){this['enableCommand'](_0x41d3ec,(_0x5cfd60,..._0x53fcd1)=>{this['recordAttributeChanges'](()=>{_0x5cfd60(..._0x53fcd1);});});}['startTrackingSession'](_0x5bfe14){return this['_trackingSessionId']=void 0x0!==_0x5bfe14?_0x5bfe14:ckeditor5['uid'](),this['_trackingSessionId'];}['_getAttributeKey'](_0x59cc6f){return'attribute'==_0x59cc6f['type']?_getAttributeKeyFromSubType(_0x59cc6f['subType']):null;}['_applyOperationsAsSuggestions'](_0x30947e){if(0x0==_0x30947e['length'])return;const _0x431f94=this['editor'],_0x5d2f89=_0x431f94['plugins']['get'](DocumentCompare),_0x3e8b98=[];_0x431f94['model']['change'](_0x26a90f=>{for(let _0x393bf9=0x0;_0x393bf9<_0x30947e['length'];_0x393bf9++){const _0x1b4c93=_0x30947e[_0x393bf9];if(_0x1b4c93['baseVersion']=_0x431f94['model']['document']['version'],_0x1b4c93['isDocumentOperation']=!0x0,_0x5d2f89['isMarkedRemoveOperation'](_0x1b4c93)){const _0x3c85f6=fixElementSuggestionRange(_0x1b4c93['newRange'],_0x431f94['model']);_0x3e8b98['unshift'](ckeditor5['ModelLiveRange']['fromRange'](_0x3c85f6));}else switch(_0x1b4c93['type']){case'rename':{const _0x1e82fe=_0x1b4c93['oldName'],_0x5755e1=_0x1b4c93['newName'];if(_0x1e82fe==_0x5755e1)break;_0x26a90f['batch']['addOperation'](_0x1b4c93),_0x431f94['model']['applyOperation'](_0x1b4c93);const _0x105855='$elementName',_0x449537=_0x1b4c93['position'],_0x3cfe01=_0x431f94['model']['createRange'](_0x449537,_0x431f94['model']['createPositionAt'](_0x449537['nodeAfter'],'end'));this['markAttributeChange'](_0x3cfe01,_0x105855,_0x1e82fe,_0x5755e1,{'groupId':ckeditor5['uid']()});break;}case'addAttribute':case'removeAttribute':case'changeAttribute':{const _0x3586e6=_0x1b4c93['oldValue'],_0x1eedb0=_0x1b4c93['newValue'];if(_0x3586e6==_0x1eedb0)break;_0x26a90f['batch']['addOperation'](_0x1b4c93),_0x431f94['model']['applyOperation'](_0x1b4c93);const _0x480ece=_0x1b4c93['key'];if(!this['_suggestionsConversion']['isRegisteredAttribute'](_0x480ece))break;const _0x10c863=fixElementSuggestionRange(_0x1b4c93['range'],_0x431f94['model']);this['markAttributeChange'](_0x10c863,_0x480ece,_0x3586e6,_0x1eedb0,{'groupId':ckeditor5['uid']()});break;}case'insert':{_0x26a90f['batch']['addOperation'](_0x1b4c93),_0x431f94['model']['applyOperation'](_0x1b4c93);if(_0x30947e[_0x393bf9+0x1]&&'move'==_0x30947e[_0x393bf9+0x1]['type'])break;const _0xb24db5=_0x1b4c93['position'],_0x1db82b=_0x1b4c93['howMany'],_0x35fe8b=fixElementSuggestionRange(_0x431f94['model']['createRange'](_0xb24db5,_0xb24db5['getShiftedBy'](_0x1db82b)),_0x431f94['model']);this['markInsertion'](_0x35fe8b);break;}case'split':{_0x26a90f['batch']['addOperation'](_0x1b4c93),_0x431f94['model']['applyOperation'](_0x1b4c93);const _0xf2b54f=_0x1b4c93['splitPosition'],_0x29c8b2=_0x1b4c93['moveTargetPosition'];this['markInsertion'](_0x431f94['model']['createRange'](_0xf2b54f,_0x29c8b2));break;}case'move':case'remove':_0x26a90f['batch']['addOperation'](_0x1b4c93),_0x431f94['model']['applyOperation'](_0x1b4c93);}}for(const _0x54a900 of _0x3e8b98)_0x54a900['detach'](),this['markDeletion'](_0x54a900);});}['_setSuggestionRange'](_0x3e7442,_0x196d4f){const _0x3322d5=_0x3e7442['getFirstMarker']();this['_model']['change'](_0x4e28c3=>{_0x4e28c3['updateMarker'](_0x3322d5,{'range':_0x196d4f});});}['_addThreadToSuggestion'](_0x446b5e){const _0x2a4306=_0x446b5e['id'],_0x531eb9=this['editor']['config']['get']('collaboration.channelId');this['_commentsRepository']['hasCommentThread'](_0x2a4306)||this['_commentsRepository']['addCommentThread']({'channelId':_0x531eb9,'threadId':_0x2a4306,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x2eb4e3=this['_commentsRepository']['getCommentThread'](_0x2a4306);_0x2eb4e3['unbind']('isRemovable'),_0x2eb4e3['isRemovable']=!0x1,_0x446b5e['commentThread']=_0x2eb4e3;}['_checkSuggestionCorrectness'](_0x1b2363,_0x16a96f,_0x334b8b,_0xf57fdb){if(_0x1b2363['type']!=_0x16a96f||_0x1b2363['subType']!=_0x334b8b||_0x1b2363['creator']['id']!=_0xf57fdb)throw this['editor']['enableReadOnlyMode']('track-changes-suggestion-data-mismatch'),new ckeditor5['CKEditorError']('track-changes-suggestion-data-mismatch',this);}['_cutOutSuggestionMarker'](_0x1aa697,_0x5c4c92){const _0x2bebcd=_0x1aa697['getFirstRange']();if(_0x5c4c92['isEqual'](_0x2bebcd))_0x1aa697['removeMarkers']();else{if(_0x2bebcd['containsRange'](_0x5c4c92)){const _0x1cae0d=this['_model']['createPositionAt'](_0x5c4c92['start']['nodeBefore'],'end');this['_setSuggestionRange'](_0x1aa697,this['_model']['createRange'](_0x2bebcd['start'],_0x1cae0d));const _0x20a24e=ckeditor5['uid'](),_0x3781b2=_0x1aa697['creator']['id'],_0x3fa293=_0x1aa697['type']+':'+_0x1aa697['subType'];this['_setSuggestionData']({'id':_0x20a24e,'type':_0x3fa293,'createdAt':new Date(),'authorId':_0x3781b2,'data':_0x1aa697['data'],'attributes':_0x1aa697['attributes']});const _0x357f48=this['_model']['createPositionAt'](_0x5c4c92['end']['parent'],'after'),_0x451a57=this['_model']['createRange'](_0x357f48,_0x2bebcd['end']);this['_addSuggestionMarker'](_0x3fa293,_0x20a24e,_0x3781b2,_0x451a57);}else{if(_0x2bebcd['containsPosition'](_0x5c4c92['start'])){const _0x31821e=this['_model']['createPositionAt'](_0x5c4c92['start']['nodeBefore'],'end');this['_setSuggestionRange'](_0x1aa697,this['_model']['createRange'](_0x2bebcd['start'],_0x31821e));}else{const _0x1b1d12=this['_model']['createPositionAt'](_0x5c4c92['end']['parent'],'after');this['_setSuggestionRange'](_0x1aa697,this['_model']['createRange'](_0x1b1d12,_0x2bebcd['end']));}}}}['_rangeIsInLocalUserInsertion'](_0x2ea237){for(const {suggestion:_0x3719a0,meta:_0x20892a}of this['_findSuggestions'](_0x2ea237,'insertion')){if(!_0x20892a['isOwn'])continue;const _0x528ab8=_0x3719a0['getRanges']();for(const _0x39eb1b of _0x528ab8)if(!_0x2ea237['getDifference'](_0x39eb1b)['length'])return!0x0;}return!0x1;}['_getAuthorFromId'](_0x3bbb7d){return this['editor']['plugins']['get']('Users')['getUser'](_0x3bbb7d);}['_getExternalAuthor'](_0x488e27){const _0x1c674e=this['editor']['plugins']['get']('Users'),_0xe1a470=hashObject('external:'+_0x488e27),_0x30d757=_0x1c674e['getUser'](_0xe1a470);return _0x30d757||_0x1c674e['addUser']({'id':_0xe1a470,'name':_0x488e27});}['_createSuggestion'](_0x5a8a97,_0x111c11,_0x1334ac,_0x477b29,_0x43e8bc,_0x5606fb){const _0x5eb0e2=this['_getAuthorFromId'](_0x477b29);if(!_0x5eb0e2)throw new ckeditor5['CKEditorError']('track-changes-user-not-found',this,{'authorId':_0x477b29,'suggestionId':_0x1334ac});const _0x1b5db4=this['_suggestionFactory']['buildSuggestion'](_0x5a8a97,_0x111c11,_0x1334ac,_0x5eb0e2,_0x43e8bc,_0x1a9dd0=>{this['_updateSuggestionData'](_0x1334ac,{'attributes':_0x1a9dd0});const _0x4b97d3=this['getSuggestion'](_0x1334ac);this['_joinWithAdjacentSuggestions'](new Set([_0x4b97d3])),this['_refreshSuggestionsChain'](new Set([_0x4b97d3]));},_0x5606fb);return this['listenTo'](_0x1b5db4,'accept',()=>{this['_updateSuggestionData'](_0x1334ac,{'state':'accepted'});},{'priority':'high'}),this['listenTo'](_0x1b5db4,'discard',()=>{this['_updateSuggestionData'](_0x1334ac,{'state':'rejected'});},{'priority':'high'}),this['_suggestions']['set'](_0x1334ac,_0x1b5db4),this['_suggestionState']['set'](_0x1b5db4,'notReady'),_0x1b5db4;}['_breakSuggestionMarker'](_0x29593d,_0x228f19,_0x20a570){const _0x30aa9b=_0x29593d['getFirstRange'](),_0x3a921e=_0x30aa9b['start'],_0x36d927=_0x30aa9b['end'];this['_setSuggestionRange'](_0x29593d,this['_model']['createRange'](_0x3a921e,_0x228f19));const _0x4745cd=ckeditor5['uid'](),_0x5dc7e9=_0x29593d['creator']['id'],_0x5922f6=_0x29593d['type']+(_0x29593d['subType']?':'+_0x29593d['subType']:'');this['_setSuggestionData']({'id':_0x4745cd,'type':_0x5922f6,'createdAt':new Date(),'authorId':_0x5dc7e9,'originalSuggestionId':_0x29593d['_originalSuggestionId']||_0x29593d['id'],'attributes':_0x29593d['attributes'],'data':_0x29593d['data']});const _0x140d0f=this['_getAttributeKey'](_0x29593d);('formatBlock'==_0x29593d['type']||_0x140d0f&&this['_suggestionsConversion']['isBlockAttribute'](_0x140d0f))&&(_0x20a570=this['_model']['createPositionBefore'](_0x20a570['parent'])),this['_addSuggestionMarker'](_0x5922f6,_0x4745cd,_0x5dc7e9,this['_model']['createRange'](_0x20a570,_0x36d927));}['_findSuggestions'](_0x3a9995,_0x4570fa=null){const _0x16faa1=[],_0x2b23fa=this['editor']['plugins']['get']('Users')['me'];Array['isArray'](_0x3a9995)||(_0x3a9995=[_0x3a9995]);for(const _0x5b8db3 of this['getSuggestions']()){if(!_0x5b8db3['isInContent'])continue;if(_0x4570fa&&_0x5b8db3['type']!=_0x4570fa)continue;let _0x3557d3=!0x1;for(const _0x2f148b of _0x5b8db3['getRanges']()){for(const _0x2d705e of _0x3a9995){const _0xa8ae07=_0x2d705e['start']['isEqual'](_0x2f148b['end'])||_0x2d705e['end']['isEqual'](_0x2f148b['start']);if(_0xa8ae07||_0x2d705e['getIntersection'](_0x2f148b)){const _0x5083c2=_0x2d705e['containsRange'](_0x2f148b)&&_isInObject(this['_model']['schema'],_0x2f148b['start'],_0x2d705e),_0x2d5883=_0x2f148b['containsRange'](_0x2d705e)&&_isInObject(this['_model']['schema'],_0x2d705e['start'],_0x2f148b);_0x16faa1['push']({'suggestion':_0x5b8db3,'meta':{'isOwn':_0x2b23fa==_0x5b8db3['author'],'isNextTo':_0xa8ae07,'isInsideObject':_0x5083c2,'containsRangeInObject':_0x2d5883}}),_0x3557d3=!0x0;break;}}if(_0x3557d3)break;}}return _0x16faa1;}['_addSuggestionMarker'](_0x51976b,_0x65375e,_0x44bbb6,_0x22a5aa,_0x1f2e8e){this['_model']['change'](_0xfca2f2=>{let _0x1bf723='suggestion:'+_0x51976b+':'+_0x65375e+':'+_0x44bbb6;_0x1f2e8e&&(_0x1bf723=_0x1bf723+':'+_0x1f2e8e),_0xfca2f2['addMarker'](_0x1bf723,{'range':_0x22a5aa,'usingOperation':!0x0,'affectsData':!0x0});});}['_removeSuggestion'](_0x31fd89){const _0x2122fd=_0x31fd89['previous'],_0x291245=_0x31fd89['next'];_0x31fd89['previous']=null,_0x31fd89['next']=null,null!=_0x2122fd&&_0x2122fd['next']==_0x31fd89&&(_0x2122fd['next']=_0x291245),null!=_0x291245&&_0x291245['previous']==_0x31fd89&&(_0x291245['previous']=_0x2122fd),'ready'==this['_suggestionState']['get'](_0x31fd89)&&(this['_suggestionState']['set'](_0x31fd89,'removed'),this['fire']('suggestionUnloaded',_0x31fd89,_0x2122fd,_0x291245));}['_setSuggestionData'](_0x192e20){const _0xaa1e34=_0x192e20['id'],_0x379e15=this['addSuggestionData'](_0x192e20);if(this['_adapter']&&this['_adapter']['addSuggestion']){const _0x26a4f2=this['editor']['plugins']['get']('PendingActions'),_0x328ddc=_0x379e15['hasComments'],_0x64f8c8=_0x379e15['subType']?_0x379e15['type']+':'+_0x379e15['subType']:_0x379e15['type'],_0x477288=this['editor']['locale'],_0x38f44a=_0x26a4f2['add'](getTranslation$5(_0x477288,'PENDING_ACTION_SUGGESTION')),_0x309f04={'id':_0xaa1e34,'type':_0x64f8c8,'hasComments':_0x328ddc,'data':_0x192e20['data']||null,'originalSuggestionId':_0x192e20['originalSuggestionId']||null,'attributes':_0x379e15['attributes']};this['_adapter']['addSuggestion'](_0x309f04)['then'](_0x565748=>{_0x379e15['_saved']=!0x0,_0x26a4f2['remove'](_0x38f44a),_0x565748&&_0x565748['createdAt']&&(this['_suggestions']['get'](_0xaa1e34)['createdAt']=_0x565748['createdAt']);})['catch'](_0x4c1013=>{throw ckeditor5['logWarning']('error-saving-suggestion-data-suggestion-discarded'),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},()=>{_0x379e15['discard']();}),_0x379e15['stopListening'](),this['_suggestions']['delete'](_0x379e15['id']),this['_suggestionState']['delete'](_0x379e15),_0x4c1013;});}return _0x379e15;}['_updateSuggestionData'](_0x54507b,_0x16148a){const _0x3a0377=this['editor']['plugins']['get']('PendingActions'),_0x1df40a=this['getSuggestion'](_0x54507b);if(this['_adapter']&&this['_adapter']['updateSuggestion']){if(_0x1df40a['_saved']){const _0x29750f=_0x3a0377['add'](getTranslation$5(this['editor']['locale'],'PENDING_ACTION_SUGGESTION'));this['_adapter']['updateSuggestion'](_0x54507b,_0x16148a)['then'](()=>{_0x3a0377['remove'](_0x29750f);});}else _0x1df40a['on']('change:_saved',()=>{this['_updateSuggestionData'](_0x54507b,_0x16148a);});}}['_getSuggestionData'](_0xfa1ed){if(!this['_adapter']||!this['_adapter']['getSuggestion'])throw new ckeditor5['CKEditorError']('track-changes-adapter-missing-getsuggestion',this);return this['_adapter']['getSuggestion'](_0xfa1ed);}['_handleNewSuggestionMarker'](_0x207b2f){const {id:_0x570f9e,type:_0x196aa0,subType:_0x3e4bc7,authorId:_0x4a9f5b}=splitSuggestionMarkerName(_0x207b2f),_0x4c7488=this['_suggestions']['get'](_0x570f9e)||this['_createSuggestion'](_0x196aa0,_0x3e4bc7,_0x570f9e,_0x4a9f5b,{});switch(this['_checkSuggestionCorrectness'](_0x4c7488,_0x196aa0,_0x3e4bc7,_0x4a9f5b),this['_suggestionState']['get'](_0x4c7488)){case'notReady':this['_getSuggestionData'](_0x570f9e)['then'](_0x59aca4=>{let _0x49a515=Promise['resolve']();_0x59aca4['hasComments']&&(_0x49a515=this['_commentsRepository']['fetchCommentThread']({'channelId':this['editor']['config']['get']('collaboration.channelId'),'threadId':_0x570f9e})),_0x49a515['then'](()=>{this['addSuggestionData'](_0x59aca4)['_saved']=!0x0;});}),this['_suggestionState']['set'](_0x4c7488,'markerReady');break;case'removed':this['_updateSuggestionData'](_0x570f9e,{'state':'open'});case'dataReady':this['_suggestionState']['set'](_0x4c7488,'ready'),this['fire']('suggestionLoaded',_0x4c7488);break;case'ready':this['fire']('suggestionChanged',_0x4c7488);}return _0x4c7488['addMarkerName'](_0x207b2f),_0x4c7488;}['_refreshSuggestionsChain'](_0x2d23a2){const _0x237fff=Array['from'](_0x2d23a2),_0x1e069e=_0x237fff['filter'](_0x86fd4d=>'attribute'==_0x86fd4d['type']);this['_refreshAttributeSuggestionsChain'](_0x1e069e);const _0x4505aa=_0x237fff['filter'](_0x400fe9=>!_0x400fe9['isMultiRange']&&'attribute'!=_0x400fe9['type']),_0x5e2ea9=this['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x59e1fa=>!_0x59e1fa['isMultiRange']&&'attribute'!=_0x59e1fa['type']),_0x15c6b6=_0x5e2ea9['filter'](_0x2df0db=>!_0x2d23a2['has'](_0x2df0db)),_0x644438=new Map(_0x5e2ea9['map'](_0x12e4b0=>[_0x12e4b0,this['_suggestionFactory']['getSuggestionCallback'](_0x12e4b0['type'],_0x12e4b0['subType'],'chain')])),_0x3928d2=new Map(_0x5e2ea9['map'](_0x1a764d=>[_0x1a764d,_0x1a764d['getFirstRange']()])),_0x5cb968=new Set(),_0x367e74=new Set();for(let _0x1916d6=0x0;_0x1916d6<_0x4505aa['length'];_0x1916d6++)_0x3b5c2b(_0x4505aa[_0x1916d6],_0x4505aa,_0x1916d6+0x1);for(let _0x4179f8=0x0;_0x4179f8<_0x4505aa['length'];_0x4179f8++)_0x3b5c2b(_0x4505aa[_0x4179f8],_0x15c6b6,0x0);const _0x5400e1=new Set();for(let _0x5847af=0x0;_0x5847af<_0x4505aa['length'];_0x5847af++){const _0x256440=_0x4505aa[_0x5847af];!_0x367e74['has'](_0x256440)&&_0x256440['previous']&&(_0x5400e1['add'](_0x256440['previous']),_0x256440['previous']['next']===_0x256440&&(_0x256440['previous']['next']=null),_0x256440['previous']=null),!_0x5cb968['has'](_0x256440)&&_0x256440['next']&&(_0x5400e1['add'](_0x256440['next']),_0x256440['next']['previous']===_0x256440&&(_0x256440['next']['previous']=null),_0x256440['next']=null);}function _0x3b5c2b(_0x4ca172,_0x5d97f2,_0x1c70fc){for(let _0x1c128c=_0x1c70fc;_0x1c128c<_0x5d97f2['length'];_0x1c128c++){const _0x21c841=_0x548a92(_0x4ca172,_0x5d97f2[_0x1c128c]);_0x21c841&&(_0x21c841[0x0]['next']=_0x21c841[0x1],_0x21c841[0x1]['previous']=_0x21c841[0x0],_0x5cb968['add'](_0x21c841[0x0]),_0x367e74['add'](_0x21c841[0x1]));}}function _0x548a92(_0x363c8e,_0x1a8ac8){if(_0x363c8e['author']['id']!==_0x1a8ac8['author']['id'])return null;const _0x4b9794=_0x644438['get'](_0x363c8e)(_0x363c8e,_0x1a8ac8,_0x3928d2['get'](_0x363c8e),_0x3928d2['get'](_0x1a8ac8));if(!_0x4b9794)return null;return _0x644438['get'](_0x1a8ac8)(_0x363c8e,_0x1a8ac8,_0x3928d2['get'](_0x363c8e),_0x3928d2['get'](_0x1a8ac8))?_0x4b9794[0x1]['commentThread']&&_0x4b9794[0x1]['commentThread']['length']?null:_0x4b9794:null;}_0x5400e1['size']&&this['_refreshSuggestionsChain'](_0x5400e1);}['_refreshAttributeSuggestionsChain'](_0x27b67d){if(0x0==_0x27b67d['length'])return;const _0x30f87c=this['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x422815=>'attribute'==_0x422815['type']&&_0x422815['_isDataLoaded']),_0x4965d1=[],_0x25c5af=new Map();for(const _0xef1652 of _0x30f87c){const _0x4fc4d5=hashObject(_0xef1652['attributes']);_0x25c5af['has'](_0x4fc4d5)||(_0x25c5af['set'](_0x4fc4d5,_0x4965d1['length']),_0x4965d1['push']([]));const _0x47109c=_0x25c5af['get'](_0x4fc4d5);_0x4965d1[_0x47109c]['push'](_0xef1652);}!(function(){_0x4965d1['sort']((_0x541d1e,_0x4f71b2)=>{const _0x3ae51e=_0x541d1e[0x0]['createdAt'],_0x1638bb=_0x4f71b2[0x0]['createdAt'];return _0x3ae51e==_0x1638bb?_0x541d1e[0x0]['attributes']['groupId']<_0x4f71b2[0x0]['attributes']['groupId']?-0x1:0x1:_0x3ae51e<_0x1638bb?-0x1:0x1;});for(const _0x158333 of _0x4965d1)_0x158333['sort']((_0x6e6abe,_0x1b3258)=>_0x6e6abe['id']<_0x1b3258['id']?-0x1:0x1);}());for(let _0x24fb2a=0x0;_0x24fb2a<_0x4965d1['length'];_0x24fb2a++){if(0x0==_0x4965d1[_0x24fb2a]['length'])continue;const _0x53d439=[];for(let _0x3d3677=_0x24fb2a+0x1;_0x3d3677<_0x4965d1['length'];_0x3d3677++)0x0!=_0x4965d1[_0x3d3677]['length']&&_0x188673(_0x4965d1[_0x24fb2a],_0x4965d1[_0x3d3677])&&_0x53d439['push'](_0x3d3677);for(const _0x54372f of _0x53d439)_0x4965d1[_0x24fb2a]=_0x4965d1[_0x24fb2a]['concat'](_0x4965d1[_0x54372f]),_0x4965d1[_0x54372f]=[];}for(const _0x506989 of _0x4965d1)for(let _0x169a0d=0x0;_0x169a0d<_0x506989['length'];_0x169a0d++){const _0x437753=_0x506989[_0x169a0d+0x1]||null;_0x506989[_0x169a0d]['next']!==_0x437753&&(_0x506989[_0x169a0d]['next']=_0x437753);}for(const _0x3e06f9 of _0x4965d1)for(let _0x258228=0x0;_0x258228<_0x3e06f9['length'];_0x258228++){const _0x5e8798=_0x3e06f9[_0x258228-0x1]||null;_0x3e06f9[_0x258228]['previous']!==_0x5e8798&&(_0x3e06f9[_0x258228]['previous']=_0x5e8798);}function _0x188673(_0x4dddc4,_0x19c8c8){if(_0x4dddc4[0x0]['attributes']['groupId']!==_0x19c8c8[0x0]['attributes']['groupId']&&_0x4dddc4[0x0]['author']!==_0x19c8c8[0x0]['author'])return!0x1;if(!function(_0x23b9de,_0x563177){if(!_0x23b9de['hasComments']&&!_0x563177['hasComments'])return!0x0;if(_0x23b9de['hasComments']&&_0x563177['hasComments'])return!0x1;if(_0x23b9de['hasComments']&&_0x563177['createdAt']<_0x23b9de['commentThread']['comments']['get'](0x0)['createdAt'])return!0x0;if(_0x563177['hasComments']&&_0x23b9de['createdAt']<_0x563177['commentThread']['comments']['get'](0x0)['createdAt'])return!0x0;return!0x1;}(_0x4dddc4[0x0],_0x19c8c8[0x0]))return!0x1;if(!_0x3cd9dc(omit(_0x4dddc4[0x0]['attributes'],['groupId','trackingSessionId']),omit(_0x19c8c8[0x0]['attributes'],['groupId','trackingSessionId'])))return!0x1;if(_0x4dddc4[0x0]['attributes']['groupId']==_0x19c8c8[0x0]['attributes']['groupId'])return!0x0;if(_0x4dddc4[0x0]['attributes']['trackingSessionId']!==_0x19c8c8[0x0]['attributes']['trackingSessionId'])return!0x1;return!!_0x4dddc4['every'](_0x44b493=>_0x19c8c8['some'](_0x3d8cce=>_0x44b493['getFirstRange']()['isEqual'](_0x3d8cce['getFirstRange']())))&&_0x19c8c8['every'](_0x2c6938=>_0x4dddc4['some'](_0x39c7a9=>_0x2c6938['getFirstRange']()['isEqual'](_0x39c7a9['getFirstRange']())));}}['_joinWithAdjacentSuggestions'](_0x23da13){const _0xb51fa6=Array['from'](_0x23da13),_0xb6cb59=this['getSuggestions']({'skipNotAttached':!0x0}),_0x550aa6=_0xb6cb59['filter'](_0x13a25b=>!_0x23da13['has'](_0x13a25b)),_0x3e47fd=new Map(_0xb51fa6['map'](_0x59c900=>[_0x59c900,this['_suggestionFactory']['getSuggestionCallback'](_0x59c900['type'],_0x59c900['subType'],'join')])),_0x49940c=new Map(_0xb6cb59['map'](_0x276119=>[_0x276119,_0x276119['getRanges']()]));for(let _0x3c82be=0x0;_0x3c82be<_0xb51fa6['length'];_0x3c82be++){if(_0x3e686a(this,_0xb51fa6[_0x3c82be],_0xb51fa6,_0x3c82be+0x1))return!0x0;}for(let _0x1a794e=0x0;_0x1a794e<_0xb51fa6['length'];_0x1a794e++){if(_0x3e686a(this,_0xb51fa6[_0x1a794e],_0x550aa6,0x0))return!0x0;}return!0x1;function _0x3e686a(_0x476347,_0x5342f5,_0x27139d,_0x477ce4){for(let _0x4c8242=_0x477ce4;_0x4c8242<_0x27139d['length'];_0x4c8242++){const _0x5b5ad5=_0x27139d[_0x4c8242];if(_0x5b5ad5['type']!==_0x5342f5['type']||_0x5b5ad5['author']['id']!==_0x5342f5['author']['id']||_0x5b5ad5['subType']!==_0x5342f5['subType'])continue;if(!_haveSameAttributes(_0x5342f5,_0x5b5ad5))continue;if('attribute'==_0x5342f5['type']&&_0x5342f5['data']['oldValue']!=_0x5b5ad5['data']['oldValue'])continue;if('attribute'==_0x5342f5['type']&&_0x476347['_suggestionsConversion']['isBlockAttribute'](_0x5342f5['data']['key']))continue;if('formatBlock'==_0x5342f5['type']){const _0x2c5a51=_0x476347['editor']['model'],_0x3d27cd=_0x5342f5['getContainedElement']();if(_0x3d27cd&&(_0x2c5a51['schema']['isObject'](_0x3d27cd)||_0x2c5a51['schema']['isLimit'](_0x3d27cd)))continue;}const _0x38c5ec=_0x3e47fd['get'](_0x5342f5),_0x550d5c=_0x49940c['get'](_0x5342f5),_0x525a6b=_0x49940c['get'](_0x5b5ad5),_0x471f8b=_0x5342f5['commentThread']&&_0x5342f5['commentThread']['length'],_0x217cb8=_0x5b5ad5['commentThread']&&_0x5b5ad5['commentThread']['length'];if(!_0x471f8b&&_0x38c5ec(_0x525a6b,_0x550d5c))return _0x476347['_joinSuggestions'](_0x5b5ad5,_0x5342f5),_0x49940c['delete'](_0x5342f5),!0x0;if(!_0x217cb8&&_0x38c5ec(_0x550d5c,_0x525a6b))return _0x476347['_joinSuggestions'](_0x5342f5,_0x5b5ad5),_0x49940c['delete'](_0x5b5ad5),!0x0;}return!0x1;}}['_joinSuggestions'](_0x5fcadd,_0x24500f){if(_0x5fcadd['isMultiRange']){for(const _0x1dc5fa of _0x24500f['getRanges']())_0x5fcadd['addRange'](_0x1dc5fa);}else{const _0x577bd6=_0x24500f['getFirstRange']()['end'];this['_setSuggestionRange'](_0x5fcadd,this['_model']['createRange'](_0x5fcadd['getFirstRange']()['start'],_0x577bd6));}_0x24500f['removeMarkers']();}['_getMarkerAnnouncementText'](_0x5f2fa8,_0x2eee36,_0xeef7b8){const _0x17a5ac=_0x5f2fa8['startsWith']('format')||_0x5f2fa8['startsWith']('attribute')?'FORMATTING':_0x5f2fa8['toUpperCase']();return getTranslation$5(this['editor']['locale'],_0x2eee36+'_'+_0x17a5ac+'_SUGGESTION_ANNOUNCEMENT',_0xeef7b8);}['_initAriaMarkerChangeAnnouncements'](){const _0x573e73=this['editor'];if(!_0x573e73['ui'])return;const {ariaLiveAnnouncer:_0x90b7de}=_0x573e73['ui'];surroundingMarkersDetector(this['_model'],({left:_0x56e2c0,entered:_0x3078d7})=>{for(const _0x5ef3a3 of _0x56e2c0){const {group:_0x33eb07,type:_0x4031b3}=splitSuggestionMarkerName(_0x5ef3a3['name']);if('suggestion'===_0x33eb07){_0x90b7de['announce'](this['_getMarkerAnnouncementText'](_0x4031b3,'LEAVE'));break;}}for(const _0x402c43 of _0x3078d7){const {group:_0x4c7eaa,type:_0x3fbc7e}=splitSuggestionMarkerName(_0x402c43['name']);if('suggestion'===_0x4c7eaa){_0x90b7de['announce'](this['_getMarkerAnnouncementText'](_0x3fbc7e,'ENTER',ckeditor5['getEnvKeystrokeText'](_0x10eeb2)));break;}}});}['_processAttributeChanges'](_0x3e4159){if(this['_recordAttributeSuggestions'])return!0x1;const _0x1fee24=this['editor'],_0x523dcc=_0x1fee24['model']['document']['differ']['getChanges']();if(0x0==_0x523dcc['length'])return!0x1;const _0x16f867=[],_0x26ae5b=_0x523dcc['filter'](_0x217162=>'attribute'==_0x217162['type']),_0x4fcd34=_0x523dcc['filter'](_0x1b949d=>'insert'==_0x1b949d['type']&&'$text'!=_0x1b949d['name']),_0x33292c=_0x523dcc['filter'](_0x7e8c8f=>'remove'==_0x7e8c8f['type']&&'$text'!=_0x7e8c8f['name']);for(const _0x392f3c of _0x26ae5b)_0x16f867['push']({'key':_0x392f3c['attributeKey'],'newValue':_0x392f3c['attributeNewValue'],'oldValue':_0x392f3c['attributeOldValue'],'range':fixAttributeSuggestionRange(_0x392f3c['range'],_0x1fee24['model'])});for(const _0x2feb4a of _0x4fcd34){const _0x569b25=_0x33292c['find'](_0x55bfc5=>_0x55bfc5['position']['isEqual'](_0x2feb4a['position']));_0x569b25&&_0x16f867['push']({'key':renameAttributeKey,'newValue':_0x2feb4a['name'],'oldValue':_0x569b25['name'],'range':_0x1fee24['model']['createRangeOn'](_0x2feb4a['position']['nodeAfter'])});}return 0x0!=_0x16f867['length']&&this['_reduceExistingSuggestions'](_0x3e4159,_0x16f867);}['_processAttributeSuggestions'](_0x138d4e){let _0x5dfa9f=!0x1;const _0x477f39=this['editor']['model']['document']['differ']['getChangedMarkers']()['filter'](_0x3898fe=>_0x3898fe['data']['newRange']&&_0x3898fe['name']['startsWith']('suggestion:attribute:'));for(const _0x24ab82 of _0x477f39){const {subType:_0x3a2e5d,id:_0x3db202}=splitSuggestionMarkerName(_0x24ab82['name']),_0x26a629=_0x3a2e5d['split']('|')[0x0];for(const _0x343154 of this['getSuggestions']({'skipNotAttached':!0x0}))_0x343154['id']!=_0x3db202&&'attribute'==_0x343154['type']&&_0x343154['data']&&_0x343154['data']['key']==_0x26a629&&_0x343154['getFirstRange']()['isIntersecting'](_0x24ab82['data']['newRange'])&&(this['_reduceSuggestionAttributeRange'](_0x343154,_0x24ab82['data']['newRange'],_0x138d4e),_0x5dfa9f=!0x0);}return _0x5dfa9f;}['recordAttributeChanges'](_0x51a881){this['_recordAttributeSuggestions']=!0x0,_0x51a881();}['_reduceExistingSuggestions'](_0x28b134,_0x380099){if(0x0==_0x380099['length'])return!0x1;let _0x260c27=!0x1;for(const _0x48437a of _0x380099){const _0x14596b=this['_findSuggestions'](_0x48437a['range'],'attribute')['filter'](_0x3b02ff=>!_0x3b02ff['meta']['isNextTo'])['map'](_0x243391=>_0x243391['suggestion']),_0x112d5a=hashObject({'newValue':_0x48437a['newValue']});_0x14596b['filter'](_0x2626b5=>{const [_0x4ae7eb,_0x630ac5]=_0x2626b5['subType']['split']('|');return _0x4ae7eb==_0x48437a['key']&&_0x630ac5!=_0x112d5a;})['forEach'](_0x58b72a=>{this['_reduceSuggestionAttributeRange'](_0x58b72a,_0x48437a['range'],_0x28b134),_0x260c27=!0x0;});}return _0x260c27;}['_reduceSuggestionAttributeRange'](_0x5a40ab,_0x8476dd,_0x254b4f){const _0x24b481=_0x5a40ab['getFirstRange']()['getDifference'](_0x8476dd);0x0!==_0x24b481['length']?0x1!==_0x24b481['length']?this['_breakSuggestionMarker'](_0x5a40ab,_0x8476dd['start'],_0x8476dd['end']):this['_setSuggestionRange'](_0x5a40ab,_0x24b481[0x0]):_0x254b4f['removeMarker'](_0x5a40ab['getFirstMarker']());}}class SuggestionFactory{['_editor'];['_model'];['_customCallbacks'];['_defaultCallbacks'];constructor(_0x1736c1){this['_editor']=_0x1736c1,this['_model']=_0x1736c1['model'],this['_customCallbacks']=new Map(),this['_defaultCallbacks']=new Map(),this['_registerDefaultCallbacks']();}['buildSuggestion'](_0x408abf,_0x4abc80,_0x318040,_0x155f49,_0x3c6d84,_0x18b3eb,_0x1b08a4){return new Suggestion(this['_model'],{'type':_0x408abf,'subType':_0x4abc80,'id':_0x318040,'originalSuggestionId':_0x1b08a4,'author':_0x155f49,'creator':_0x155f49,'attributes':_0x3c6d84,'onAttributesChange':_0x18b3eb,'onAccept':(..._0x168bad)=>this['getSuggestionCallback'](_0x408abf,_0x4abc80,'accept')(..._0x168bad),'onDiscard':(..._0x4d0c1e)=>this['getSuggestionCallback'](_0x408abf,_0x4abc80,'discard')(..._0x4d0c1e)});}['registerCustomCallback'](_0x71a96d,_0x78d494,_0x56a36f,_0x790205){const _0x4a0c17=_0x71a96d+':'+_0x78d494+':'+_0x56a36f;this['_customCallbacks']['set'](_0x4a0c17,_0x790205);}['getSuggestionCallback'](_0x50d229,_0x4dd385,_0x27fddf){const _0x59d100=_0x50d229+':'+_0x4dd385+':'+_0x27fddf;return this['_customCallbacks']['get'](_0x59d100)||this['_defaultCallbacks']['get'](_0x50d229+':'+_0x27fddf);}['_registerDefaultCallbacks'](){const _0x818628=()=>!0x1,_0x1a1a87=_0x3e508b=>{_0x3e508b['sort']((_0x15afff,_0x8389db)=>_0x15afff['start']['isBefore'](_0x8389db['start'])?0x1:-0x1),this['_model']['change'](_0x54eba0=>{for(const _0x4e57af of _0x3e508b){let _0x13c5ee;_0x13c5ee=_0x4e57af['end']['isAtEnd']&&_0x4e57af['end']['parent']==_0x4e57af['start']['nodeAfter']?_0x54eba0['createSelection'](_0x4e57af['start']['nodeAfter'],'on'):_0x54eba0['createSelection'](_0x4e57af),this['_model']['deleteContent'](_0x13c5ee,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0,'doNotFixSelection':!0x0});}});},_0xf742d3=(_0x3498a7,_0x3043c5)=>{_0x3043c5&&this['_model']['change'](_0x1a5246=>{const {commandName:_0x32db24,commandParams:_0x47ea57=[]}=_0x3043c5,_0x5e8f9d=_0x3498a7['map'](_0x12eb91=>(_0x310f5a(_0x12eb91)&&(_0x12eb91=this['_model']['createRange'](_0x12eb91['end'])),_0x12eb91))['filter'](_0x37f518=>'$graveyard'!==_0x37f518['root']['rootName']);if(_0x5e8f9d['length']<0x1)return;const _0x16d6aa=Array['from'](this['_model']['document']['selection']['getRanges']())['map'](_0x2c3133=>ckeditor5['ModelLiveRange']['fromRange'](_0x2c3133));_0x1a5246['setSelection'](_0x5e8f9d);for(const _0x37a999 of this['_editor']['commands']['commands']())_0x37a999['refresh']();_0x47ea57['push']({'forceDefaultExecution':!0x0}),this['_editor']['execute'](_0x32db24,..._0x47ea57);const _0x3157eb=_0x16d6aa['filter'](_0x5810f6=>'$graveyard'!=_0x5810f6['root']['rootName']);_0x3157eb['length']>0x0&&_0x1a5246['setSelection'](_0x3157eb);for(const _0x2c50eb of _0x16d6aa)_0x2c50eb['detach']();});},_0x126bcc=(_0x23b1d7,_0x42c1bd)=>0x1==_0x23b1d7['length']&&0x1==_0x42c1bd['length']&&_0x23b1d7[0x0]['end']['isEqual'](_0x42c1bd[0x0]['start']),_0x291c05=(_0x1e67f1,_0x170032,_0x256342,_0x2ecbc0)=>canChainSuggestions(_0x1e67f1,_0x170032,_0x256342,_0x2ecbc0)?[_0x1e67f1,_0x170032]:canChainSuggestions(_0x170032,_0x1e67f1,_0x2ecbc0,_0x256342)?[_0x170032,_0x1e67f1]:null;this['_defaultCallbacks']['set']('insertion:accept',_0x818628),this['_defaultCallbacks']['set']('insertion:discard',_0x1a1a87),this['_defaultCallbacks']['set']('insertion:join',_0x126bcc),this['_defaultCallbacks']['set']('insertion:chain',_0x291c05),this['_defaultCallbacks']['set']('deletion:accept',_0x1a1a87),this['_defaultCallbacks']['set']('deletion:discard',_0x818628),this['_defaultCallbacks']['set']('deletion:join',_0x126bcc),this['_defaultCallbacks']['set']('deletion:chain',_0x291c05),this['_defaultCallbacks']['set']('formatInline:accept',_0xf742d3),this['_defaultCallbacks']['set']('formatInline:discard',_0x818628),this['_defaultCallbacks']['set']('formatInline:join',_0x126bcc),this['_defaultCallbacks']['set']('formatInline:chain',_0x818628),this['_defaultCallbacks']['set']('formatBlock:accept',_0xf742d3),this['_defaultCallbacks']['set']('formatBlock:discard',_0x818628),this['_defaultCallbacks']['set']('formatBlock:join',_0x126bcc),this['_defaultCallbacks']['set']('formatBlock:chain',_0x818628),this['_defaultCallbacks']['set']('attribute:accept',_0x818628),this['_defaultCallbacks']['set']('attribute:discard',(_0x5002c0,_0x396e68)=>{if(!_0x396e68)return;const _0x446b1d=this['_editor']['plugins']['get'](SuggestionsConversion);this['_model']['change'](_0x5174=>{if(_0x396e68['key']==renameAttributeKey)for(const _0x5491a3 of _0x5002c0){const _0x2abbad=_0x5491a3['start']['nodeAfter'],_0x3858ed=_0x396e68['oldValue'];_0x5174['rename'](_0x2abbad,_0x3858ed);}else{if(_0x446b1d['isBlockAttribute'](_0x396e68['key'])){for(const _0x428124 of _0x5002c0)void 0x0!==_0x396e68['oldValue']?_0x5174['setAttribute'](_0x396e68['key'],_0x396e68['oldValue'],_0x428124['start']['nodeAfter']):_0x5174['removeAttribute'](_0x396e68['key'],_0x428124['start']['nodeAfter']);}else{for(const _0x23f67b of _0x5002c0)_0x396e68['oldValue']?_0x5174['setAttribute'](_0x396e68['key'],_0x396e68['oldValue'],_0x23f67b):_0x5174['removeAttribute'](_0x396e68['key'],_0x23f67b);}}});}),this['_defaultCallbacks']['set']('attribute:join',_0x126bcc);}}function getIntersectionsWithMultipleRanges(_0x256498,_0x5565cf){const _0x174163=[];for(const _0x3585b2 of _0x5565cf){const _0x15e2fd=_0x256498['getIntersection'](_0x3585b2);_0x15e2fd&&_0x174163['push'](_0x15e2fd);}return _0x174163;}function getDifferencesWithMultipleRanges(_0x4a3c1c,_0x99340d){const _0x457e26=[_0x4a3c1c];for(const _0x32c8e6 of _0x99340d){let _0x1bb6d6=0x0;for(;_0x1bb6d6<_0x457e26['length'];){const _0x243d9c=_0x457e26[_0x1bb6d6]['getDifference'](_0x32c8e6);_0x457e26['splice'](_0x1bb6d6,0x1,..._0x243d9c),_0x1bb6d6+=_0x243d9c['length'];}}return _0x457e26;}function _isInObject(_0x59e42b,_0x53b608,_0x21f61c){for(const _0x94cbce of _0x53b608['parent']['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x94cbce['root']==_0x94cbce)return!0x1;if(!_0x21f61c['containsItem'](_0x94cbce))return!0x1;if(_0x59e42b['isObject'](_0x94cbce)||_0x59e42b['isLimit'](_0x94cbce))return!0x0;}return!0x1;}function _0x310f5a(_0x24a1af){return _0x24a1af['end']['parent']==_0x24a1af['start']['nodeAfter']&&_0x24a1af['end']['isAtStart'];}function _0x194d45(_0x451981){return _0x451981['start']['parent']==_0x451981['end']['nodeBefore']&&_0x451981['start']['isAtEnd'];}function trimFormatInlineSuggestionRange(_0xaf396d,_0x3bd317,_0x2d8d90,_0x229200){const _0x373d92=_0x26ee6f=>!_0x26ee6f['item']['is']('$textProxy')&&!_0x229200['isObject'](_0x26ee6f['item']),_0x5df4f7=_0xaf396d['start']['getLastMatchingPosition'](_0x373d92),_0x10e778=_0xaf396d['end']['getLastMatchingPosition'](_0x373d92,{'direction':'backward'});return(!_0xaf396d['start']['isEqual'](_0x5df4f7)||!_0xaf396d['end']['isEqual'](_0x10e778))&&(_0x5df4f7['isBefore'](_0x10e778)?_0x2d8d90['updateMarker'](_0x3bd317,{'range':_0x2d8d90['createRange'](_0x5df4f7,_0x10e778)}):_0x2d8d90['removeMarker'](_0x3bd317),!0x0);}function createFormatSubType(_0x38ae5e){return hashObject(_0x38ae5e);}function isCorrectFormatBlockSuggestionRange(_0x76aec6){const _0x488453=_0x76aec6['start']['nodeAfter'];return _0x488453&&_0x488453['is']('element');}function isEmptyRange(_0x1d9ef3){return _0x310f5a(_0x1d9ef3)||_0x194d45(_0x1d9ef3);}function isIntersectingWithOtherMarkers(_0x38ba64,_0x4d86d2){try{const _0x354ab0=_0x38ba64['getRange']();for(const _0x5bc988 of _0x4d86d2)if(_0x38ba64!==_0x5bc988&&_0x354ab0&&_0x354ab0['isIntersecting'](_0x5bc988['getRange']()))return!0x0;return!0x1;}catch{return!0x1;}}function fixAttributeSuggestionRange(_0x4859fd,_0x325dc1){return null==_0x4859fd['end']['nodeBefore']&&_0x4859fd['end']['parent']==_0x4859fd['start']['nodeAfter']?createBlockFormatRangeForElement(_0x4859fd['start']['nodeAfter'],_0x325dc1):_0x4859fd;}function createBlockFormatRangeForElement(_0x155be1,_0x16d4cf){const _0x401ccd=_0x16d4cf['schema']['isObject'](_0x155be1)||_0x16d4cf['schema']['isSelectable'](_0x155be1);return _0x16d4cf['createRange'](_0x16d4cf['createPositionAt'](_0x155be1,'before'),_0x401ccd?_0x16d4cf['createPositionAfter'](_0x155be1):_0x16d4cf['createPositionAt'](_0x155be1,'end'));}function canChainSuggestions(_0x20574b,_0x382bd3,_0xf5882c,_0x204e58){return!!_haveSameAttributes(_0x20574b,_0x382bd3)&&_0xf5882c['end']['isEqual'](_0x204e58['start']);}function _haveSameAttributes(_0x2e7d05,_0x4b85a3){if(!_0x2e7d05['_isDataLoaded']||!_0x4b85a3['_isDataLoaded'])return!0x1;const _0x40e7ab=new Set(Object['keys'](_0x2e7d05['attributes'])),_0x340da3=new Set(Object['keys'](_0x4b85a3['attributes']));if(_0x40e7ab['delete']('groupId'),_0x340da3['delete']('groupId'),0x0==_0x40e7ab['size']&&0x0==_0x340da3['size'])return!0x0;if(_0x40e7ab['size']!=_0x340da3['size'])return!0x1;const _0x527471={..._0x2e7d05['attributes']},_0x568eaa={..._0x4b85a3['attributes']};return delete _0x527471['groupId'],delete _0x568eaa['groupId'],JSON['stringify'](_0x527471)==JSON['stringify'](_0x568eaa);}function _areSimilarAttributes(_0x5c241b,_0x30e091){const _0x47a8c6=_cleanUpAttributes(_0x5c241b['attributes']),_0x5b686b=_cleanUpAttributes(_0x30e091);if(!_0x5c241b['_isDataLoaded'])return!0x1;for(const _0x305c06 of Object['keys'](_0x5b686b))if(!_0x3cd9dc(_0x47a8c6[_0x305c06],_0x5b686b[_0x305c06]))return!0x1;return!0x0;}function _cleanUpAttributes(_0x51d452){const _0x52dc18=Object['assign']({},_0x51d452);return delete _0x52dc18['skipNestingCheck'],delete _0x52dc18['tablePasteChainId'],_0x52dc18;}function _getAttributeKeyFromSubType(_0x5eb2a5){return _0x5eb2a5['split']('|')[0x0];}async function _0x331dcf(_0x2933a7){const _0x514a29=_0x42ad2d([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]),_0x328af0=window[_0x42ad2d([0x44,0x61,0x74,0x65])][_0x42ad2d([0x6e,0x6f,0x77])](),_0x44c101=_0x2933a7[_0x42ad2d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x27133e=new window[(_0x42ad2d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c1c0e=>{_0x44c101[_0x42ad2d([0x6f,0x6e,0x63,0x65])](_0x42ad2d([0x72,0x65,0x61,0x64,0x79]),_0x4c1c0e);}),_0x5ba992={[_0x42ad2d([0x6b,0x74,0x79])]:_0x42ad2d([0x45,0x43]),[_0x42ad2d([0x75,0x73,0x65])]:_0x42ad2d([0x73,0x69,0x67]),[_0x42ad2d([0x63,0x72,0x76])]:_0x42ad2d([0x50,0x2d,0x32,0x35,0x36]),[_0x42ad2d([0x78])]:_0x42ad2d([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]),[_0x42ad2d([0x79])]:_0x42ad2d([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]),[_0x42ad2d([0x61,0x6c,0x67])]:_0x42ad2d([0x45,0x53,0x32,0x35,0x36])},_0x3c1593=_0x44c101[_0x42ad2d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x42ad2d([0x67,0x65,0x74])](_0x42ad2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0xf32a24=await(async function(){let _0x349d39,_0x13c247=null,_0x5d4e2b=null;try{if(_0x3c1593==_0x42ad2d([0x47,0x50,0x4c]))return _0x42ad2d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x349d39=(function(){const _0x34c3a3=_0x3c1593[_0x42ad2d([0x73,0x70,0x6c,0x69,0x74])](_0x42ad2d([0x2e]));if(0x3!=_0x34c3a3[_0x42ad2d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x60796e=_0x34c3a3[0x1];return _0x59495c(_0x60796e);function _0x59495c(_0x2f03ab){const _0x2e584a=_0x4d56e1(_0x2f03ab);return _0x2e584a&&_0x4948ac()?_0x2e584a:null;function _0x4948ac(){const _0x4732e3=_0x2e584a[_0x42ad2d([0x6a,0x74,0x69])],_0x2df416=window[_0x42ad2d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4732e3[_0x42ad2d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4732e3[_0x42ad2d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x531a8b={..._0x2e584a,[_0x42ad2d([0x6a,0x74,0x69])]:_0x4732e3[_0x42ad2d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4732e3[_0x42ad2d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x531a8b[_0x42ad2d([0x76,0x63])],_0x589d0(_0x531a8b)==_0x2df416;}}}()),!_0x349d39)return _0x42ad2d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x349d39[_0x42ad2d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5d4e2b=function(_0xc90087,_0x4d35e2){return new window[(_0x42ad2d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x131241=>{if(_0x27e0e1())return _0x131241(_0x42ad2d([0x56,0x61,0x6c,0x69,0x64]));_0x248388(),_0x44c101[_0x42ad2d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x42ad2d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x53389e=!0x1;const _0x35e31f=ckeditor5['uid']();function _0x1d1f3f(_0x516c23){return!!_0x516c23&&(typeof _0x516c23===_0x42ad2d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x516c23===_0x42ad2d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x516c23[_0x42ad2d([0x74,0x68,0x65,0x6e])]===_0x42ad2d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x516c23[_0x42ad2d([0x63,0x61,0x74,0x63,0x68])]===_0x42ad2d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5091d3(_0x179005){_0xda87a2(_0x179005)[_0x42ad2d([0x74,0x68,0x65,0x6e])](_0x6ec977=>{if(!_0x6ec977||_0x6ec977[_0x42ad2d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x42ad2d([0x6f,0x6b]))return _0x42ad2d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x17c830(_0x589d0(_0x35e31f+_0x4d35e2))!=_0x6ec977[_0x42ad2d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x42ad2d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x42ad2d([0x56,0x61,0x6c,0x69,0x64]);})[_0x42ad2d([0x74,0x68,0x65,0x6e])](_0xa31721=>(_0x2d10fa(),_0xa31721),()=>{const _0x8bb63d=_0x58f1ec();return null==_0x8bb63d?(_0x2d10fa(),_0x42ad2d([0x56,0x61,0x6c,0x69,0x64])):_0x42ad2d(_0x328af0-_0x8bb63d>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x42ad2d([0x74,0x68,0x65,0x6e])](_0x131241)[_0x42ad2d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x131241(_0x42ad2d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4a92be=0x36ee80;function _0x2d10fa(){const _0x4d4cae=_0x42ad2d([0x6c,0x6c,0x63,0x74,0x2d])+_0x17c830(_0x589d0(_0xc90087)),_0x4f7319=_0xc546e0(_0x17c830(window[_0x42ad2d([0x4d,0x61,0x74,0x68])][_0x42ad2d([0x63,0x65,0x69,0x6c])](_0x328af0/_0x4a92be)));window[_0x42ad2d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x42ad2d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4d4cae,_0x4f7319);}function _0x58f1ec(){const _0x378152=_0x42ad2d([0x6c,0x6c,0x63,0x74,0x2d])+_0x17c830(_0x589d0(_0xc90087)),_0x4f6491=window[_0x42ad2d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x42ad2d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x378152);return _0x4f6491?window[_0x42ad2d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc546e0(_0x4f6491),0x10)*_0x4a92be:null;}function _0xda87a2(_0x40129d){return new window[(_0x42ad2d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1efa94,_0x26920c)=>{_0x40129d[_0x42ad2d([0x74,0x68,0x65,0x6e])](_0x1efa94,_0x26920c),window[_0x42ad2d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x26920c,0x1d4c0);});}}_0x44c101[_0x42ad2d([0x6f,0x6e])](_0x42ad2d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x46ed07,_0x1061d6)=>{if(_0x1061d6[0x0]!=_0xc90087)return _0x131241(_0x42ad2d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1061d6[0x1]={..._0x1061d6[0x1],[_0x42ad2d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x35e31f};},{[_0x42ad2d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x42ad2d([0x68,0x69,0x67,0x68])}),_0x44c101[_0x42ad2d([0x6f,0x6e])](_0x42ad2d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5c5b56=>{_0x1d1f3f(_0x5c5b56[_0x42ad2d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x53389e=!0x0,_0x5091d3(_0x5c5b56[_0x42ad2d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x42ad2d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x42ad2d([0x6c,0x6f,0x77])}),_0x27133e[_0x42ad2d([0x74,0x68,0x65,0x6e])](()=>{_0x53389e||_0x131241(_0x42ad2d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x27e0e1(){return _0x44c101[_0x42ad2d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x42ad2d([0x76,0x69,0x65,0x77])][_0x42ad2d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x42ad2d([0x61,0x75,0x74,0x6f]);}function _0x248388(){_0x44c101[_0x42ad2d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x42ad2d([0x76,0x69,0x65,0x77])][_0x42ad2d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x42ad2d([0x61,0x75,0x74,0x6f]);}}(_0x349d39[_0x42ad2d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x349d39[_0x42ad2d([0x6a,0x74,0x69])]));const _0x232568=await(async function(){let _0x602650=!0x0;try{const _0xff1384=_0x3c1593[_0x42ad2d([0x73,0x70,0x6c,0x69,0x74])](_0x42ad2d([0x2e])),[_0x1008d3,_0x125f2c,_0x3fb717]=_0xff1384;return _0x112b3e(_0x1008d3),await _0x2a515a(_0x1008d3,_0x125f2c,_0x3fb717),_0x602650;}catch{return!0x1;}function _0x112b3e(_0x3be116){const _0x444a87=_0x4d56e1(_0x3be116);_0x444a87&&_0x444a87[_0x42ad2d([0x61,0x6c,0x67])]==_0x42ad2d([0x45,0x53,0x32,0x35,0x36])||(_0x602650=!0x1);}async function _0x2a515a(_0x3a85ac,_0x2e7a88,_0x2c6555){const _0x13d168=window[_0x42ad2d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x42ad2d([0x66,0x72,0x6f,0x6d])](_0x14ee99(_0x2c6555),_0x3f2653=>_0x3f2653[_0x42ad2d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xf78fa5=new window[(_0x42ad2d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x42ad2d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3a85ac+_0x42ad2d([0x2e])+_0x2e7a88),_0x26fec6=window[_0x42ad2d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x42ad2d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x26fec6)return;const _0x1edbdc=await _0x26fec6[_0x42ad2d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x42ad2d([0x6a,0x77,0x6b]),_0x5ba992,{[_0x42ad2d([0x6e,0x61,0x6d,0x65])]:_0x42ad2d([0x45,0x43,0x44,0x53,0x41]),[_0x42ad2d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x42ad2d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x42ad2d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x26fec6[_0x42ad2d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x42ad2d([0x6e,0x61,0x6d,0x65])]:_0x42ad2d([0x45,0x43,0x44,0x53,0x41]),[_0x42ad2d([0x68,0x61,0x73,0x68])]:{[_0x42ad2d([0x6e,0x61,0x6d,0x65])]:_0x42ad2d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1edbdc,_0x13d168,_0xf78fa5)||(_0x602650=!0x1);}}());return _0x232568?(function(){const _0x114300=_0x349d39[_0x42ad2d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x114300)return!0x1;if(_0x114300[_0x42ad2d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42ad2d([0x2a])))return!0x0;if(_0x114300[_0x42ad2d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42ad2d([0x54,0x43])))return!0x0;if(_0x114300[_0x42ad2d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42ad2d([0x52,0x54,0x43]))){if(_0x302534(_0x42ad2d([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&(_0x43a142=_0x42ad2d([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]),_0x44c101[_0x42ad2d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x42ad2d([0x67,0x65,0x74])](_0x43a142))[_0x42ad2d([0x73,0x74,0x61,0x74,0x65])]==_0x42ad2d([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]))return!0x0;if(_0x302534(_0x42ad2d([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]))||_0x302534(_0x42ad2d([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72])))return!0x0;}var _0x43a142;return!0x1;}())?(function(){const _0x2f3958=[_0x42ad2d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x42ad2d([0x74,0x72,0x69,0x61,0x6c])][_0x42ad2d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x349d39[_0x42ad2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x328af0/0x3e8:0x6a03bf00;return _0x349d39[_0x42ad2d([0x65,0x78,0x70])]<_0x2f3958;}())?_0x42ad2d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0xa60185=_0x349d39[_0x42ad2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xa60185||0x0==_0xa60185[_0x42ad2d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x301e28}=new URL(window[_0x42ad2d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xa60185[_0x42ad2d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x301e28))return!0x0;const _0x2e7692=_0x301e28[_0x42ad2d([0x73,0x70,0x6c,0x69,0x74])](_0x42ad2d([0x2e]));return _0xa60185[_0x42ad2d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f0368=>_0x1f0368[_0x42ad2d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42ad2d([0x2a])))[_0x42ad2d([0x6d,0x61,0x70])](_0x16a506=>_0x16a506[_0x42ad2d([0x73,0x70,0x6c,0x69,0x74])](_0x42ad2d([0x2e])))[_0x42ad2d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x324aa6=>_0x324aa6[_0x42ad2d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2e7692[_0x42ad2d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x42ad2d([0x6d,0x61,0x70])](_0x188e98=>Array(_0x2e7692[_0x42ad2d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x188e98[_0x42ad2d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x42ad2d([0x66,0x69,0x6c,0x6c])](_0x188e98[0x0]===_0x42ad2d([0x2a])?_0x42ad2d([0x2a]):'')[_0x42ad2d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x188e98))[_0x42ad2d([0x73,0x6f,0x6d,0x65])](_0x15e610=>_0x2e7692[_0x42ad2d([0x65,0x76,0x65,0x72,0x79])]((_0x1081dd,_0x893bf7)=>_0x15e610[_0x893bf7]===_0x1081dd||_0x15e610[_0x893bf7]===_0x42ad2d([0x2a])));}())?(_0x349d39[_0x42ad2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x42ad2d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x13c247=function(_0x3432c4){const _0x5735e1=new window[(_0x42ad2d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x511511=>setTimeout(_0x511511,0x93ecc)),_0x5881be=_0x27133e[_0x42ad2d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x42ad2d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x457adb=>{let _0x6a33f7=0x0;_0x44c101[_0x42ad2d([0x6d,0x6f,0x64,0x65,0x6c])][_0x42ad2d([0x6f,0x6e])](_0x42ad2d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x105cbc,_0x269a9f)=>{_0x269a9f[0x0][_0x42ad2d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x6a33f7++,0x5e8==_0x6a33f7&&(_0x457adb(),_0x105cbc[_0x42ad2d([0x6f,0x66,0x66])]());});})),_0x471afd=[_0x5735e1,_0x5881be];return window[_0x42ad2d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x42ad2d([0x72,0x61,0x63,0x65])](_0x471afd)[_0x42ad2d([0x74,0x68,0x65,0x6e])](()=>_0x3432c4);}(_0x42ad2d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x13c247&&_0x5d4e2b)return new window[(_0x42ad2d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xe5e915,_0x577d0f)=>{_0x13c247[_0x42ad2d([0x74,0x68,0x65,0x6e])](_0xe5e915,_0x577d0f),_0x5d4e2b[_0x42ad2d([0x74,0x68,0x65,0x6e])](_0x3eacdc=>{_0x3eacdc!=_0x42ad2d([0x56,0x61,0x6c,0x69,0x64])&&_0xe5e915(_0x3eacdc);},_0x577d0f);});return _0x13c247||_0x5d4e2b||_0x42ad2d([0x56,0x61,0x6c,0x69,0x64]);}())):_0x42ad2d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x42ad2d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x42ad2d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x42ad2d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x4d56e1(_0x2c66a5){return _0x2c66a5[_0x42ad2d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x42ad2d([0x65,0x79]))?JSON[_0x42ad2d([0x70,0x61,0x72,0x73,0x65])](_0x14ee99(_0x2c66a5)):null;}function _0x14ee99(_0x361937){return window[_0x42ad2d([0x61,0x74,0x6f,0x62])](_0x361937[_0x42ad2d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x42ad2d([0x2b]))[_0x42ad2d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x42ad2d([0x2f])));}function _0x589d0(_0x51cb20){let _0x46d7b2=0x1505;function _0x5bae73(_0x1d6823){for(let _0x50b618=0x0;_0x50b618<_0x1d6823[_0x42ad2d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x50b618++){const _0x50d1ee=_0x1d6823[_0x42ad2d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x50b618);_0x46d7b2=(_0x46d7b2<<0x5)+_0x46d7b2+_0x50d1ee,_0x46d7b2&=_0x46d7b2;}}return function _0x159d1b(_0x5a4622){Array[_0x42ad2d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5a4622)?_0x5a4622[_0x42ad2d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x159d1b):_0x5a4622&&typeof _0x5a4622==_0x42ad2d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x42ad2d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5a4622)[_0x42ad2d([0x73,0x6f,0x72,0x74])]()[_0x42ad2d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x359147,_0x28e4db])=>{_0x5bae73(_0x359147),_0x159d1b(_0x28e4db);}):_0x5bae73(window[_0x42ad2d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5a4622));}(_0x51cb20),_0x46d7b2>>>0x0;}function _0x17c830(_0x389220){return _0x389220[_0x42ad2d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x42ad2d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x42ad2d([0x30]));}function _0xc546e0(_0x13b6e7){return _0x13b6e7[_0x42ad2d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x42ad2d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x42ad2d([0x6a,0x6f,0x69,0x6e])]('');}function _0x302534(_0x9ee752){return _0x44c101[_0x42ad2d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x42ad2d([0x68,0x61,0x73])](_0x9ee752);}function _0x259534(){}function _0x42ad2d(_0x177476){return _0x177476['map'](_0x2f51e0=>String['fromCharCode'](_0x2f51e0))['join']('');}!function(_0x5aa2a1){const _0x3e6601=(function(){const _0x478147=window[_0x42ad2d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x42ad2d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x42ad2d([0x6e,0x6f,0x77])]())[_0x42ad2d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x42ad2d([0x2e]),'');let _0x5f89e7=_0x42ad2d([0x52]);for(let _0x25bb5a=0x0;_0x25bb5a<_0x478147[_0x42ad2d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x25bb5a+=0x2){let _0x1ef59a=window[_0x42ad2d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x478147[_0x42ad2d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x25bb5a,_0x25bb5a+0x2));_0x1ef59a>=_0x514a29[_0x42ad2d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1ef59a-=_0x514a29[_0x42ad2d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5f89e7+=_0x514a29[_0x1ef59a];}return _0x5f89e7;}());_0x44c101[_0x3e6601]=_0x42ad2d([0x74,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5aa2a1,_0x5aa2a1!=_0x42ad2d([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x27133e,_0x44c101[_0x42ad2d([0x6d,0x6f,0x64,0x65,0x6c])][_0x42ad2d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x259534,_0x44c101[_0x42ad2d([0x6d,0x6f,0x64,0x65,0x6c])][_0x42ad2d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x259534,_0x44c101[_0x42ad2d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x42ad2d([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0xf32a24);}class SuggestionController extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['model'];['view'];['commentThreadController'];['_editor'];['_acceptCommand'];['_discardCommand'];['_pendingAction'];constructor(_0x461db6,_0x2b4ad7,_0x3a8194,_0x14c144){super(),this['model']=_0x2b4ad7,this['view']=_0x3a8194,this['commentThreadController']=_0x14c144,this['_editor']=_0x461db6,this['_acceptCommand']=_0x461db6['commands']['get']('acceptSuggestion'),this['_discardCommand']=_0x461db6['commands']['get']('discardSuggestion'),this['view']['bind']('isEnabled')['to'](this['_acceptCommand'],this['_discardCommand'],(_0x1a6f2c,_0x12cd3e)=>_0x1a6f2c||_0x12cd3e),this['view']['bind']('canAccept')['to'](this['_acceptCommand'],'isEnabled',_0xa78561=>_0xa78561&&this['_editor']['model']['canEditAt'](_0x2b4ad7['getRanges']())),this['view']['bind']('canDiscard')['to'](this['_discardCommand'],'isEnabled',_0xdc5cf3=>_0xdc5cf3&&this['_editor']['model']['canEditAt'](_0x2b4ad7['getRanges']())),this['_pendingAction']=null,_0x3a8194['isDirty']&&this['_setPendingAction'](),this['listenTo'](_0x3a8194,'acceptSuggestion',()=>this['acceptSuggestion']()),this['listenTo'](_0x3a8194,'discardSuggestion',()=>this['discardSuggestion']()),this['listenTo'](_0x3a8194,'change:isDirty',()=>{_0x3a8194['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 _0x5a69fe=getTranslation$5(this['_editor']['locale'],'PENDING_ACTION_SUGGESTION');this['_pendingAction']=this['_editor']['plugins']['get']('PendingActions')['add'](_0x5a69fe);}['_removePendingAction'](){null!==this['_pendingAction']&&this['_editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null;}}class BaseSuggestionThreadView extends ckeditor5['View']{['commentsListView'];['commentThreadInputView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_localUser'];['_config'];constructor(_0x83c9b5,_0x4a04ce,_0x26b5a0,_0x356138){super(_0x83c9b5),this['commentsListView']=null,this['commentThreadInputView']=null,this['ariaDescriptionView']=new AriaDescriptionView(_0x83c9b5,getTranslation$5(_0x83c9b5,'SUGGESTION_THREAD_DESCRIPTION')),this['set']('isActive',!0x1),this['set']('authoredAt',_0x4a04ce['authoredAt']),this['bind']('authoredAt')['to'](_0x4a04ce),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',_0x4a04ce,'authoredAt',this,'descriptionParts',(_0xc43971,_0x2d0dcf,_0x5e3cb0)=>{const _0x1a083a=_0x5e3cb0['map'](_0x8f445c=>renderDescription(_0x8f445c['content']))['join']('.\x20')+'.';return getTranslation$5(this['locale'],'SUGGESTION_THREAD_ARIA_LABEL',[_0xc43971-0x1,_0x4a04ce['author']['name'],_0x2d0dcf?_0x356138['formatDateTime'](_0x2d0dcf):'',new DOMParser()['parseFromString'](_0x1a083a,'text/html')['body']['textContent']]);}),this['focusables']=new ckeditor5['ViewCollection'](),this['focusTracker']=new ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x22aa29=>_0x22aa29['target']!==this['element']},'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['_model']=_0x4a04ce,this['_localUser']=_0x26b5a0,this['_config']=_0x356138,_0x356138['disableComments']?this['set']('length',0x1):this['_createCommentViews']();}['render'](){super['render'](),setupThreadKeyboardNavigation(this,this['focusables']);}['focus'](){this['element']['focus']();}['destroy'](){this['commentsListView']&&this['commentsListView']['destroy'](),this['commentThreadInputView']&&this['commentThreadInputView']['destroy'](),super['destroy']();}['_createCommentViews'](){const {CommentsListView:_0x29ce5d}=this['_config'];this['commentsListView']=new _0x29ce5d(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',_0x4e9ae8=>_0x4e9ae8+0x1),this['commentThreadInputView']=this['_createCommentThreadInputView'](),this['on']('removeComment',()=>this['focus']()),this['bind']('isDirty')['to'](this['commentsListView'],'hasDirtyComment',this['commentThreadInputView']['commentInputView'],'value',(_0x1728a0,_0x489f06)=>_0x1728a0||!!_0x489f06);}['_createCommentThreadInputView'](){const {CommentThreadInputView:_0x27eeb6}=this['_config'],_0x5af486=new _0x27eeb6(this['locale'],this['_localUser'],this['_config']['editorConfig']),_0x397847=_0x5af486['commentInputView'];return _0x5af486['bind']('showInput')['to'](this,'isActive',this['_model']['commentThread'],'isReadOnly',_0x397847,'value',(_0x52d2e4,_0x702c6c,_0x1ffc7e)=>!!_0x1ffc7e||_0x52d2e4&&!_0x702c6c),_0x397847['on']('submit',(_0x512b41,_0x1c2d6e)=>{this['fire']('addComment',_0x1c2d6e),_0x397847['editor']['setData']('');}),_0x397847['on']('cancel',()=>this['focus']()),_0x397847['bind']('disabledSubmit')['to'](this['_model']['commentThread'],'isReadOnly'),_0x5af486;}}class SuggestionThreadView extends BaseSuggestionThreadView{['suggestionView'];['_descriptionElement'];constructor(_0x392aa5,_0x3be4ab,_0x11f8f0,_0x3e04b4){super(_0x392aa5,_0x3be4ab,_0x11f8f0,_0x3e04b4),this['set']('type',''),this['bind']('type')['to'](this,'descriptionParts',_0x4debdd=>_0x4debdd&&_0x4debdd[0x0]?_0x4debdd[0x0]['type']:''),this['bind']('description')['to'](this,'descriptionParts',this,'isActive',(_0xd68891,_0x343605)=>{let _0x1a3029='';for(const _0x5ce767 of _0xd68891)_0x1a3029+='<p>'+renderDescription(_0x5ce767['content'],_0x5ce767['color'])+'</p>';return _0x343605?_0x1a3029:trimHtml(_0x1a3029,{'limit':0x8c});}),this['_descriptionElement']=null,this['suggestionView']=new _0x3e04b4['SuggestionView'](_0x392aa5,_0x3be4ab,{'formatDateTime':_0x3e04b4['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 _0xcae860=this['bindTemplate'],_0x28e0dc=[this['suggestionView']];this['commentsListView']&&_0x28e0dc['push'](this['commentsListView']),this['commentThreadInputView']&&_0x28e0dc['push'](this['commentThreadInputView']),_0x28e0dc['push'](this['ariaDescriptionView']);const _0x5cd309={'tag':'div','attributes':{'class':['ck','ck-rounded-corners','ck-suggestion-wrapper',_0xcae860['if']('isActive','ck-suggestion-wrapper--active'),_0xcae860['to']('type',_0x49d036=>'ck-suggestion-'+_0x49d036),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':_0xcae860['to']('ariaLabel'),'aria-describedby':this['ariaDescriptionView']['id']},'children':_0x28e0dc};return _0x5cd309;}['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 ckeditor5['View']{['userView'];['acceptButton'];['discardButton'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];constructor(_0x509606,_0x186750,_0x4ef90c){super(_0x509606),this['_model']=_0x186750,this['_config']=_0x4ef90c,this['set']('description',''),this['bind']('authoredAt')['to'](_0x186750),this['acceptButton']=this['_createButton'](getTranslation$5(_0x509606,'Accept\x20suggestion'),ckeditor5['IconCheck'],'ck-suggestion--accept','acceptSuggestion','sw'),this['discardButton']=this['_createButton'](getTranslation$5(_0x509606,'Discard\x20suggestion'),ckeditor5['IconCancel'],'ck-suggestion--discard','discardSuggestion','sw'),this['userView']=new _0xcb4734(_0x509606,_0x186750['author'],this['getUserViewNotificationText']()),this['userView']['extendTemplate']({'attributes':{'class':['ck-suggestion__user','ck-annotation__user'],'aria-hidden':!0x0}}),this['focusables']=new ckeditor5['ViewCollection']([this['acceptButton'],this['discardButton']]),this['focusTracker']=new ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'},'keystrokeHandlerOptions':{'filter':_0x1fb1e1=>_0x1fb1e1['target']!==this['element']}}),this['setTemplate'](this['getTemplate']());}['render'](){super['render']();const _0x1fab86=this['element']['querySelector']('.ck-annotation__content-wrapper');_0x1fab86['innerHTML']=this['description'],this['on']('change:description',(_0x1934be,_0x12dc93,_0x176fb6)=>{_0x1fab86['innerHTML']=_0x176fb6;}),this['_setupKeyboardNavigation']();}['getTemplate'](){const _0x59cd6e=this['bindTemplate'],_0x167444=[{'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':_0x59cd6e['to']('authoredAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x59cd6e['to']('authoredAt',_0x15becc=>this['_config']['formatDateTime'](_0x15becc))}]}]},{'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']&&_0x167444['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':_0x167444}]};}['focus'](){this['element']['focus']();}['getUserViewNotificationText'](){return this['_model']['isExternal']?'importWord'===this['_model']['attributes']['@external']['source']?getTranslation$5(this['locale'],'EXTERNAL_IMPORT_WORD_AVATAR',this['_model']['creator']['name']):getTranslation$5(this['locale'],'EXTERNAL_AVATAR',this['_model']['creator']['name']):null;}['getExternalSuggestionNote'](){return'importWord'===this['_model']['attributes']['@external']['source']?getTranslation$5(this['locale'],'EXTERNAL_IMPORT_WORD_SUGGESTION'):getTranslation$5(this['locale'],'EXTERNAL_SUGGESTION');}['_createButton'](_0xe8a12f,_0x1a86d2,_0x3cc500,_0x39ca8e,_0x135fda){const _0x391472=new LateFocusButtonView(this['locale']);return _0x391472['set']({'label':_0xe8a12f,'icon':_0x1a86d2,'tooltip':!0x0,'tooltipPosition':_0x135fda}),_0x391472['extendTemplate']({'attributes':{'class':_0x3cc500}}),_0x391472['on']('execute',()=>{this['fire'](_0x39ca8e,this['_model']['id']);}),_0x391472;}['_setupKeyboardNavigation'](){const _0x26d7ee=this['element'];this['keystrokes']['listenTo'](_0x26d7ee);for(const _0x196068 of this['focusables'])this['focusTracker']['add'](_0x196068['element']),this['keystrokes']['listenTo'](_0x196068['element']);this['keystrokes']['set']('enter',(_0x134dfc,_0x2a0eb8)=>{_0x26d7ee===_0x134dfc['target']&&(this['focusCycler']['focusFirst'](),_0x2a0eb8());}),this['keystrokes']['set']('esc',(_0xce86c0,_0x2052a3)=>{_0x26d7ee!==_0xce86c0['target']&&(this['focus'](),_0x2052a3());});}}class _0x2e2268 extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];['_suggestionToController'];['_viewToController'];['_annotationViews'];['_handleControllerBuffer'];['_disableComments'];static get['requires'](){return[TrackChangesEditing,_0x4a3f8f,CommentsRepository,Annotations,EditorAnnotations];}static get['pluginName'](){return'TrackChangesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x150a20){super(_0x150a20),this['_suggestionToController']=new Map(),this['_viewToController']=new Map(),this['_annotationViews']=new Map(),this['_handleControllerBuffer']=new Map();const _0x51e42c=this['editor']['config'];_0x51e42c['define']('trackChanges.SuggestionThreadView',SuggestionThreadView),_0x51e42c['define']('trackChanges.SuggestionView',SuggestionView),_0x51e42c['define']('trackChanges.disableComments',!0x1),this['_disableComments']=_0x51e42c['get']('trackChanges.disableComments');}['_handleSuggestionControllerDelayed'](_0x54dee6,_0x199bd8){0x0===this['_handleControllerBuffer']['size']&&setTimeout(()=>{for(const [_0xba518,_0x49b725]of this['_handleControllerBuffer']){const _0x434aa4=this['_suggestionToController']['has'](_0xba518);_0x434aa4||_0x49b725?_0x434aa4&&_0x49b725&&this['_destroyController'](_0xba518):this['_initializeController'](_0xba518);}this['_handleControllerBuffer']['clear'](),this['editor']['plugins']['get'](EditorAnnotations)['refreshSelectedViews'](),this['_refreshActiveMarkers']();},0xa),this['_handleControllerBuffer']['set'](_0x54dee6,_0x199bd8);}['init'](){const _0xd4b662=this['editor'],_0x2bfac9=_0xd4b662['plugins']['get'](TrackChangesEditing),_0x55b1c3=_0xd4b662['plugins']['get'](Annotations),_0xbffe0d=_0xd4b662['plugins']['get'](EditorAnnotations),_0x4bd81f=_0xd4b662['plugins']['get'](CommentsRepository);this['_addUIComponentsToFactory'](),_0xbffe0d['addSourceCollector'](()=>{const _0x4c4e82=[];for(const [_0x3a1c56,_0x1f2747]of Array['from'](this['_suggestionToController'])){const _0x4ee23c=_0x3a1c56['getAllAdjacentSuggestions'](),_0xdd7fbc=[];for(const _0x21693c of _0x4ee23c){if(!_0x21693c['isInContent'])continue;if(_0x21693c['isMultiRange']){_0xdd7fbc['push'](..._0x21693c['getRanges']());continue;}const _0x52cba3=_0x21693c['getFirstRange']();if(_0xdd7fbc['length']>0x0){const _0x57af4b=_0xdd7fbc[0x0]['getJoined'](_0x52cba3);if(_0x57af4b){_0xdd7fbc[0x0]=_0x57af4b;continue;}}_0xdd7fbc['push'](_0x52cba3);}_0x4c4e82['push']([_0x1f2747['view'],_0xdd7fbc]);}return _0x4c4e82;}),this['listenTo'](_0x2bfac9,'suggestionLoaded',(_0x5620cf,_0x2a292b)=>{this['listenTo'](_0x2a292b,'change:previous',(_0x1e6a84,_0x3ca3b3,_0x5e181c,_0x32df03)=>{_0x2a292b['isInContent']&&(null==_0x5e181c?(this['_updateController'](_0x32df03['head']),this['_handleSuggestionControllerDelayed'](_0x2a292b,!0x1)):(this['_updateController'](_0x5e181c['head']),null==_0x32df03&&this['_handleSuggestionControllerDelayed'](_0x2a292b,!0x0)));}),null!==_0x2a292b['previous']?this['_updateController'](_0x2a292b['head']):this['_handleSuggestionControllerDelayed'](_0x2a292b,!0x1);}),this['listenTo'](_0x2bfac9,'suggestionUnloaded',(_0x5f315c,_0x35d466,_0x168089)=>{this['stopListening'](_0x35d466,'change:previous'),this['_handleControllerBuffer']['delete'](_0x35d466),this['_suggestionToController']['has'](_0x35d466)&&this['_destroyController'](_0x35d466),_0x168089&&this['_updateController'](_0x168089['head']);}),this['listenTo'](_0x2bfac9,'suggestionChanged',(_0x4e28f9,_0x1230f5)=>{this['_updateController'](_0x1230f5);}),this['listenTo'](_0x55b1c3,'change:activeAnnotations',()=>{this['_refreshActiveMarkers']();}),this['listenTo'](_0x4bd81f,'addComment',(_0x3dcf8a,{threadId:_0x5dddca,isFromAdapter:_0x1597d0})=>{if(_0x1597d0||!_0x2bfac9['hasSuggestion'](_0x5dddca))return;const _0x1f749c=_0x2bfac9['getSuggestion'](_0x5dddca);this['_suggestionToController']['get'](_0x1f749c)['view']['commentsListView']['focus'](-0x1);},{'priority':'lowest'}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x587f72=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x196176;for(const _0x34877c in _0x587f72){const _0xbc5a3c=_0x34877c,_0xbfadc9=_0x587f72[_0xbc5a3c];if('trackChangesLicenseKeyValid'==_0xbfadc9||'trackChangesLicenseKeyInvalid'==_0xbfadc9||'trackChangesLicenseKeyExpired'==_0xbfadc9||'trackChangesLicenseKeyDomainLimit'==_0xbfadc9||'trackChangesLicenseKeyNotAllowed'==_0xbfadc9||'trackChangesLicenseKeyEvaluationLimit'==_0xbfadc9||'trackChangesLicenseKeyUsageLimit'==_0xbfadc9){delete _0x587f72[_0xbc5a3c],_0x196176=_0xbfadc9,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'trackChangesLicenseKeyInvalid'==_0x196176&&_0x587f72['_showLicenseError']('invalid'),'trackChangesLicenseKeyExpired'==_0x196176&&_0x587f72['_showLicenseError']('expired'),'trackChangesLicenseKeyDomainLimit'==_0x196176&&_0x587f72['_showLicenseError']('domainLimit'),'trackChangesLicenseKeyNotAllowed'==_0x196176&&_0x587f72['_showLicenseError']('featureNotAllowed','TrackChanges'),'trackChangesLicenseKeyEvaluationLimit'==_0x196176&&_0x587f72['_showLicenseError']('evaluationLimit'),'trackChangesLicenseKeyUsageLimit'==_0x196176&&_0x587f72['_showLicenseError']('usageLimit');},0x3e8);}['getAnnotationForSuggestion'](_0x2326f7){const _0x8376f0=this['_suggestionToController']['get'](_0x2326f7);if(!_0x8376f0)return null;return this['editor']['plugins']['get'](Annotations)['getByInnerView'](_0x8376f0['view'])||null;}['getSuggestionForAnnotation'](_0x475ad5){const _0x54b883=this['_viewToController']['get'](_0x475ad5['innerView']);return _0x54b883?_0x54b883['model']:null;}['_refreshActiveMarkers'](){const _0x77f2ba=this['editor']['plugins']['get'](Annotations),_0x43a1fd=this['editor']['plugins']['get'](TrackChangesEditing),_0x3b0a24=Array['from'](_0x77f2ba['activeAnnotations'],_0x84d61f=>_0x84d61f['innerView'])['filter'](_0x3e6bf4=>this['_viewToController']['has'](_0x3e6bf4)),_0x474313=[];for(const _0x1e2dcf of _0x3b0a24){const _0x1d8218=this['_viewToController']['get'](_0x1e2dcf)['model']['getAllAdjacentSuggestions']();_0x474313['push'](..._0x1d8218['reduce']((_0x6af2cb,_0x2baab1)=>[..._0x6af2cb,..._0x2baab1['getMarkerNames']()],[]));}_0x43a1fd['activeMarkers']=_0x474313;}['_addUIComponentsToFactory'](){const _0x4c0c09=this['editor'],_0x15ae23=_0x4c0c09['locale'],_0x5b7998=getTranslation$5(_0x15ae23,'Track\x20changes'),_0x2626d0=new ckeditor5['Collection']([{'type':'switchbutton','model':new ckeditor5['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':_0x5b7998,'commandName':'trackChanges','role':'menuitemcheckbox'})},{'type':'separator'},{'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'label':getTranslation$5(_0x15ae23,'Accept\x20all\x20suggestions'),'commandName':'acceptAllSuggestions','role':'menuitem'})},{'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'label':getTranslation$5(_0x15ae23,'Accept\x20all\x20selected\x20suggestions'),'commandName':'acceptSelectedSuggestions','role':'menuitem'})},{'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'label':getTranslation$5(_0x15ae23,'Discard\x20all\x20suggestions'),'commandName':'discardAllSuggestions','role':'menuitem'})},{'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'label':getTranslation$5(_0x15ae23,'Discard\x20all\x20selected\x20suggestions'),'commandName':'discardSelectedSuggestions','role':'menuitem'})}]);_0x4c0c09['plugins']['has']('TrackChangesPreview')&&_0x2626d0['addMany']([{'type':'separator'},{'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'label':getTranslation$5(_0x15ae23,'Preview\x20final\x20content'),'commandName':'previewFinalContent','role':'menuitem'})}]);for(const _0x2d53d8 of _0x2626d0)if(isListDropdownButtonDefinition(_0x2d53d8)){const _0x302177=_0x4c0c09['commands']['get'](_0x2d53d8['model']['commandName']);_0x2d53d8['model']['bind']('isOn','isEnabled')['to'](_0x302177,'value','isEnabled');}_0x4c0c09['ui']['componentFactory']['add']('trackChanges',_0x569c68=>this['_createToolbarButton'](_0x569c68,_0x2626d0,_0x5b7998)),_0x4c0c09['ui']['componentFactory']['add']('menuBar:trackChanges',_0x9e44ce=>this['_createMenuBarMenu'](_0x9e44ce,_0x2626d0,_0x5b7998));}['_createToolbarButton'](_0x2562f1,_0x32baf5,_0x4557ff){const _0x5801ad=ckeditor5['createDropdown'](_0x2562f1,ckeditor5['SplitButtonView']),_0xb5af0=this['editor']['commands']['get']('trackChanges');_0x5801ad['buttonView']['set']({'tooltip':_0x4557ff,'label':_0x4557ff,'icon':ckeditor5['IconTrackChanges']}),_0x5801ad['buttonView']['bind']('isOn')['to'](_0xb5af0,'value'),_0x5801ad['buttonView']['on']('execute',()=>{_0xb5af0['execute'](),this['editor']['editing']['view']['focus']();}),ckeditor5['addListToDropdown'](_0x5801ad,_0x32baf5,{'role':'menu'});const _0x4ecaf9=[];for(const _0x42653f of _0x32baf5)isListDropdownButtonDefinition(_0x42653f)&&_0x4ecaf9['push'](this['editor']['commands']['get'](_0x42653f['model']['commandName']));const _0x3ada77=_0x5801ad['buttonView'];return _0x3ada77['actionView']['unbind']('isEnabled'),_0x3ada77['arrowView']['unbind']('isEnabled'),_0x3ada77['actionView']['bind']('isEnabled')['to'](_0xb5af0,'isEnabled'),_0x3ada77['arrowView']['bind']('isEnabled')['toMany'](_0x4ecaf9,'isEnabled',(..._0x8eaac7)=>_0x8eaac7['some'](_0x4d88ba=>_0x4d88ba)),_0x5801ad['on']('execute',_0x345f8d=>{this['editor']['execute'](_0x345f8d['source']['commandName']),this['editor']['editing']['view']['focus']();}),_0x5801ad;}['_createMenuBarMenu'](_0x39dce2,_0x3baf5e,_0x1d276f){const _0x43a745=new ckeditor5['MenuBarMenuView'](_0x39dce2),_0x29d1b3=this['editor']['commands']['get']('trackChanges');_0x43a745['buttonView']['set']({'label':_0x1d276f,'icon':ckeditor5['IconTrackChanges']});const _0x3c2999=new ckeditor5['MenuBarMenuListView'](_0x39dce2);for(const _0x56e93d of _0x3baf5e){if('separator'==_0x56e93d['type']){_0x3c2999['items']['add'](new ckeditor5['ListSeparatorView'](_0x39dce2));continue;}const _0x22bdca=new ckeditor5['MenuBarMenuListItemView'](_0x39dce2,_0x43a745),_0x4b9250=new ckeditor5['MenuBarMenuListItemButtonView'](_0x39dce2),_0x6e716b=_0x56e93d['model'];_0x4b9250['bind'](...Object['keys'](_0x6e716b))['to'](_0x6e716b),_0x4b9250['delegate']('execute')['to'](_0x43a745),_0x4b9250['on']('execute',()=>{this['editor']['execute'](_0x6e716b['commandName']),this['editor']['editing']['view']['focus']();}),_0x22bdca['children']['add'](_0x4b9250),_0x3c2999['items']['add'](_0x22bdca);}return _0x43a745['bind']('isEnabled')['to'](_0x29d1b3,'isEnabled'),_0x43a745['panelView']['children']['add'](_0x3c2999),_0x43a745;}['_initializeController'](_0x59c22f){const _0x3df70d=this['editor'],_0x44801a=_0x3df70d['config'],_0x256a8e=_0x3df70d['plugins']['get'](Annotations),_0x3a5c81=_0x3df70d['plugins']['get'](CommentsRepository),_0x39d75c=_0x3df70d['plugins']['get'](EditorAnnotations),_0xe55856=_0x3df70d['plugins']['get'](_0x4a3f8f)['me'],_0x3e40e4=_0x44801a['get']('trackChanges')['SuggestionThreadView'],_0x195753=_0x44801a['get']('trackChanges')['SuggestionView'],{CommentsListView:_0x696da5,CommentThreadInputView:_0xeab453}=_0x3df70d['plugins']['get']('CommentsUI');let _0x361a7c,_0x218d80,_0x336774;this['_annotationViews']['has'](_0x59c22f['id'])?(_0x218d80=this['_annotationViews']['get'](_0x59c22f['id']),_0x361a7c=_0x218d80['mainView']):(_0x361a7c=new _0x3e40e4(_0x3df70d['locale'],_0x59c22f,_0xe55856,{'disableComments':this['_disableComments'],'editorConfig':{..._0x44801a['get']('comments.editorConfig'),'licenseKey':_0x44801a['get']('licenseKey')},'maxCommentsWhenCollapsed':_0x44801a['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x44801a['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x44801a['get']('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':getDateTimeFormatter(_0x44801a['get']('locale'),_0x3df70d['locale']),'CommentView':_0x44801a['get']('comments')['CommentView'],'CommentsListView':_0x696da5,'CommentThreadInputView':_0xeab453,'SuggestionView':_0x195753}),_0x361a7c['suggestionView']['acceptButton']['on']('execute',()=>{_0x3df70d['editing']['view']['focus']();}),_0x361a7c['suggestionView']['discardButton']['on']('execute',()=>{_0x3df70d['editing']['view']['focus']();}),_0x218d80=_0x256a8e['createAnnotationView'](this['editor']['locale'],_0x361a7c),_0x218d80['bind']('isDirty')['to'](_0x361a7c,'isDirty'),_0x218d80['bind']('length')['to'](_0x361a7c),_0x218d80['bind']('type')['to'](_0x361a7c,'type',_0x3da883=>'suggestion-'+_0x3da883),_0x361a7c['on']('escape',()=>{_0x336774['fire']('escape');}),this['_annotationViews']['set'](_0x59c22f['id'],_0x218d80));const _0xbd8a3b=_0x3a5c81['createCommentThreadController'](_0x59c22f['commentThread'],_0x361a7c),_0x4bab82=new SuggestionController(_0x3df70d,_0x59c22f,_0x361a7c,_0xbd8a3b),_0x5cd694=_0x59c22f['getAllAdjacentSuggestions']()['filter'](_0x93df3=>_0x93df3['isInContent']);_0x361a7c['descriptionParts']=_0x3df70d['plugins']['get'](TrackChangesEditing)['descriptionFactory']['getDescriptions'](_0x5cd694),this['_suggestionToController']['set'](_0x59c22f,_0x4bab82),this['_viewToController']['set'](_0x361a7c,_0x4bab82);const _0x35d75b=()=>{const _0x3f6d6c=[],_0x9dd1bf=_0x59c22f['getAllAdjacentSuggestions']()['filter'](_0x1fa1f0=>_0x1fa1f0['isInContent']);for(const _0x592eac of _0x9dd1bf)_0x3f6d6c['push'](..._0x592eac['getMarkers']());return getAllMarkersDomElementsSorted(_0x3df70d['editing'],_0x3f6d6c);};_0x336774=_0x256a8e['createAnnotation']({'view':_0x218d80,'target':_0x35d75b,'type':()=>'suggestion-'+_0x4bab82['view']['type'],'isVisible':!!_0x35d75b()}),_0x3a5c81['_bindAnnotationToEditors'](_0x361a7c,_0x336774),_0x256a8e['add'](_0x336774),_0x39d75c['registerAnnotation'](_0x336774);}['_destroyController'](_0x23203f){const _0x47c684=this['editor']['plugins']['get'](CommentsRepository),_0x1936f4=this['editor']['plugins']['get'](Annotations),_0x1b184f=this['_suggestionToController']['get'](_0x23203f),_0x199d87=_0x1b184f['view'],_0x951563=_0x1936f4['getByInnerView'](_0x199d87);_0x47c684['_unbindEditors'](_0x199d87),_0x951563&&_0x1936f4['remove'](_0x951563),this['_suggestionToController']['delete'](_0x23203f),this['_viewToController']['delete'](_0x199d87),_0x1b184f['destroy']();}['_updateController'](_0x2f6155){if(!_0x2f6155['isInContent']||!this['_suggestionToController']['has'](_0x2f6155))return;const _0x2d3b14=this['editor']['plugins']['get'](TrackChangesEditing),_0x549b2b=this['_suggestionToController']['get'](_0x2f6155),_0x50cdc7=_0x2f6155['getAllAdjacentSuggestions']();_0x549b2b['view']['descriptionParts']=_0x2d3b14['descriptionFactory']['getDescriptions'](_0x50cdc7);}['destroy'](){for(const _0x9d3b5 of this['_suggestionToController']['keys']())this['_destroyController'](_0x9d3b5);for(const _0x1c68a7 of this['_annotationViews']['values']())_0x1c68a7['mainView']['destroy']();super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function isListDropdownButtonDefinition(_0x27c2cc){return'model'in _0x27c2cc;}class _0x58dafd extends ckeditor5['Plugin']{static get['requires'](){return[TrackChangesEditing,_0x2e2268,Comments];}static get['pluginName'](){return'TrackChanges';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}set['adapter'](_0x8a33d6){this['editor']['plugins']['get'](TrackChangesEditing)['adapter']=_0x8a33d6;}get['adapter'](){return this['editor']['plugins']['get'](TrackChangesEditing)['adapter'];}['addSuggestion'](_0xfcdfd7){return this['editor']['plugins']['get'](TrackChangesEditing)['addSuggestionData'](_0xfcdfd7);}['getSuggestions']({skipNotAttached:_0x2778a0=!0x1,toJSON:_0x445717=!0x1}={}){return this['editor']['plugins']['get'](TrackChangesEditing)['getSuggestions']({'skipNotAttached':_0x2778a0,'toJSON':_0x445717});}['getSuggestion'](_0x3d4264){return this['editor']['plugins']['get'](TrackChangesEditing)['getSuggestion'](_0x3d4264);}}const blackListedPlugins$1=['Pagination'];class TrackChangesData extends ckeditor5['Plugin']{static get['requires'](){return[TrackChangesEditing];}static get['pluginName'](){return'TrackChangesData';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x25ed5c=this['editor'];if(_0x25ed5c['config']['define']('trackChangesData.editorCreator',_0xe3dcfb=>{const _0x33816c=_0x25ed5c['model']['document']['getRootNames']()['reduce']((_0x5ca02d,_0x28c3d3)=>(_0x5ca02d[_0x28c3d3]='',_0x5ca02d),{});return _0x25ed5c['constructor']['create'](_0x33816c,_0xe3dcfb);}),'function'!=typeof _0x25ed5c['config']['get']('trackChangesData')['editorCreator'])throw new ckeditor5['CKEditorError']('track-changes-data-invalid-editor-creator');}['getDataWithAcceptedSuggestions'](_0x3af534){return getTrackChangesData(this['editor'],!0x0,_0x3af534);}['getDataWithDiscardedSuggestions'](_0x508a5c){return getTrackChangesData(this['editor'],!0x1,_0x508a5c);}}class TrackChangesDataGetter extends ckeditor5['Plugin']{['result'];static get['pluginName'](){return'TrackChangesDataGetter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3239f5){function _0x3fbe7c(_0x35a70a){return _0x35a70a['map'](_0x1fce36=>String['fromCharCode'](_0x1fce36))['join']('');}super(_0x3239f5),this['result']='end',_0x3239f5[_0x3fbe7c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3fbe7c([0x76,0x69,0x65,0x77])][_0x3fbe7c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3fbe7c([0x61,0x75,0x74,0x6f]),_0x3239f5[_0x3fbe7c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x3fbe7c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3fbe7c([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x3fbe7c([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x3fbe7c([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 isMultiRootEditor$1(_0x4d6c57){return void 0x0!==_0x4d6c57['getRootsAttributes'];}async function getTrackChangesData(_0x558637,_0x1f1953,_0x2a92bc){const _0x384caa=sanitizeEditorConfig(_0x558637,blackListedPlugins$1);if(_0x384caa['plugins']['push'](TrackChangesEditing,TrackChangesDataGetter),isMultiRootEditor$1(_0x558637)){_0x384caa['roots']=Object['create'](null);for(const _0x14c2de of _0x558637['model']['document']['getRootNames']())_0x384caa['roots'][_0x14c2de]={'modelAttributes':_0x558637['getRootAttributes'](_0x14c2de)};}const _0x3aee0a=document['createDocumentFragment'](),_0x3d8f82=_0x558637['config']['get']('trackChangesData')['editorCreator'],_0x1e7831=await _0x3d8f82(_0x384caa,()=>createAttachedElement(_0x3aee0a));copyEditorData(_0x558637,_0x1e7831),_0x1e7831['execute'](_0x1f1953?'acceptAllSuggestions':'discardAllSuggestions');const _0x222d0d=isMultiRootEditor$1(_0x1e7831)?_0x1e7831['getFullData'](_0x2a92bc):_0x1e7831['data']['get'](_0x2a92bc);return await _0x1e7831['destroy'](),_0x222d0d;}function copyEditorData(_0xee8a53,_0x3295a0){const _0x3185e3=_0xee8a53['model']['document']['getRootNames']()['reduce']((_0x15c1ec,_0x41a4ac)=>(_0x15c1ec[_0x41a4ac]=_0xee8a53['data']['get']({'rootName':_0x41a4ac}),_0x15c1ec),{}),_0x47ecc4=_0xee8a53['plugins']['get']('Users')['users']['map'](_0x4d252a=>({'id':_0x4d252a['id'],'name':_0x4d252a['name']})),_0x56b58d=_0xee8a53['plugins']['get']('TrackChangesEditing')['getSuggestions']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0xf89f20=_0xee8a53['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x1afb3e=_0x3295a0['plugins']['get']('Users'),_0x54a1c5=_0x3295a0['plugins']['get']('TrackChangesEditing'),_0x51badd=_0x3295a0['plugins']['get']('CommentsRepository');for(const _0x5a4099 of _0x51badd['getCommentThreads']())_0x5a4099['remove']();for(const _0x4ecf94 of _0x47ecc4)_0x1afb3e['getUser'](_0x4ecf94['id'])||_0x1afb3e['addUser'](_0x4ecf94);_0x1afb3e['me']||_0x1afb3e['useAnonymousUser']();for(const _0x1aff66 of _0xf89f20)_0x51badd['addCommentThread'](_0x1aff66);for(const _0x50b307 of _0x56b58d)_0x54a1c5['addSuggestionData'](_0x50b307);_0x3295a0['data']['set'](_0x3185e3);}function createAttachedElement(_0x4a4d8f){const _0x587577=document['createElement']('div');return _0x4a4d8f['appendChild'](_0x587577),_0x587577;}class _0xfc7248 extends ckeditor5['View']{['options'];constructor(_0x2f2cac,_0x561a9c){super(_0x2f2cac),this['options']=_0x561a9c,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'](_0x900a,_0x11d42f){if(!this['element'])return;const _0x37f05b=[];for(const [_0x4796fa,_0x288682]of _0x900a){const _0x374cdc=document['createElement']('div');_0x374cdc['setAttribute']('data-ck-root-name',_0x4796fa),_0x374cdc['className']=_0x288682['classes']+'\x20ck-track-changes-preview__root-container',_0x374cdc['innerHTML']=_0x288682['content'],_0x37f05b['push'](_0x374cdc);}_0x11d42f(this['element'],_0x37f05b),this['element']['style']['height']='',this['fire']('previewDataReady');}['focus'](){this['element']['focus']();}}class PreviewFinalContentCommand extends ckeditor5['Command']{constructor(_0x287dda){super(_0x287dda),this['affectsData']=!0x1,this['isEnabled']=!0x0;}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x4baa5d=this['editor'],_0x2f51af=_0x4baa5d['locale'],_0x40db7b=_0x4baa5d['plugins']['get']('Dialog');let _0x2c0871;const _0x104b33=getEditables(_0x4baa5d),_0x25bfcb=calculateDialogRects(_0x104b33);_0x40db7b['show']({'id':'finalContentPreview','title':getTranslation$5(_0x2f51af,'Final\x20content\x20preview'),'isModal':!0x0,'className':'ck-track-changes-preview-dialog','content':new _0xfc7248(_0x2f51af,{'dialogRects':_0x25bfcb}),'onHide':()=>{_0x2c0871['detachFromDom']();},'onShow':()=>{_0x4baa5d['plugins']['get']('TrackChangesData')['getDataWithAcceptedSuggestions']({...this['_getMergeFieldsData']()})['then'](_0xb4dd6c=>{const _0x4d5f96=this['_standarizeRootsData'](_0xb4dd6c,_0x4baa5d,_0x104b33);_0x40db7b['view']['contentView']['children']['get'](0x0)['setPreviewData'](_0x4d5f96,_0x4baa5d['config']['get']('trackChanges.preview.renderFunction'));}),_0x2c0871=new ckeditor5['BodyCollection'](_0x2f51af,[_0x40db7b['view']]),_0x2c0871['attachToDom'](),_0x2c0871['bodyCollectionContainer']['classList']['remove']('ck-reset_all'),_0x4baa5d['once']('destroy',()=>{_0x2c0871['detachFromDom']();});const _0x1af58f=_0x40db7b['view']['headerView']['class'];_0x40db7b['view']['headerView']['class']=_0x1af58f?_0x1af58f+'\x20ck-reset_all':'ck-reset_all',_0x40db7b['view']['contentView']['children']['get'](0x0)['on']('previewDataReady',()=>{_0x40db7b['view']['updatePosition']();});}});}['_getMergeFieldsData'](){if(!this['editor']['plugins']['has']('MergeFieldsEditing'))return{};const _0x515727=this['editor']['plugins']['get']('MergeFieldsEditing'),_0x27c0d3=_0x515727['previewMode'],_0x51ccae={};if('$labels'===_0x27c0d3){for(const _0x1e365c of _0x515727['getMergeFieldsIds']())_0x51ccae[_0x1e365c]=_0x515727['getLabel'](_0x1e365c)||_0x1e365c;}else{const _0x27a0c3='$defaultValues'===_0x27c0d3?_0x515727['getDefaultValues']():_0x515727['getDataSetValues'](_0x27c0d3,!0x0);for(const _0x1e60ce of Object['entries'](_0x27a0c3)){const [_0x1b8a47,_0x19dade]=_0x1e60ce;_0x51ccae[_0x1b8a47]=null!==_0x19dade?_0x19dade:_0x515727['getLabel'](_0x1b8a47)||_0x1b8a47;}}return{'mergeFieldsData':_0x51ccae};}['_standarizeRootsData'](_0x3bed7b,_0x561af4,_0xa00aa7){let _0x3773cd;if('string'==typeof _0x3bed7b){const _0x2178e0=_0x561af4['model']['document']['getRootNames']()[0x0];_0x3773cd={[_0x2178e0]:_0x3bed7b};}else _0x3773cd=_0x3bed7b;const _0x2abd2e=this['_fixMediaEmbeds'](_0x3773cd,_0x561af4);return addEditableClasses(this['_sortRoots'](_0x561af4)['reduce']((_0x253210,_0x5d5330)=>(_0x253210['push']([_0x5d5330,{'content':_0x2abd2e[_0x5d5330],'classes':''}]),_0x253210),[]),_0xa00aa7);}['_fixMediaEmbeds'](_0xe6422f,_0x354cd7){if(!_0x354cd7['plugins']['has']('MediaEmbedEditing'))return _0xe6422f;const _0x2dc37f=_0x354cd7['plugins']['get']('MediaEmbedEditing');for(const [_0x573af6,_0x1e34ec]of Object['entries'](_0xe6422f)){const _0x40cbb0=document['createElement']('div');_0x40cbb0['innerHTML']=_0x1e34ec,(_0x40cbb0['querySelectorAll']('figure.media')['forEach'](_0x343db6=>{const _0x1c3b54=_0x343db6['querySelector']('oembed');if(_0x1c3b54){const _0x16133d=_0x1c3b54['getAttribute']('url');if(_0x16133d){const _0x5575e0=_0x2dc37f['registry']['getMediaViewElement'](new ckeditor5['ViewDowncastWriter'](_0x354cd7['editing']['view']['document']),_0x16133d,{'elementName':'','renderForEditingView':!0x0}),_0x101961=document['createElement']('div');_0x101961['classList']['add']('ck-media__wrapper'),_0x5575e0['render'](_0x101961,_0x354cd7['editing']['view']['domConverter']),_0x1c3b54['replaceWith'](_0x101961);}}}),_0xe6422f[_0x573af6]=_0x40cbb0['innerHTML']);}return _0xe6422f;}['_sortRoots'](_0x1807e5){if(!isMultiRootEditor(_0x1807e5))return _0x1807e5['model']['document']['getRootNames']();const _0x70e745=[],_0x444bea=new Map();for(const _0x3909d4 of _0x1807e5['model']['document']['getRootNames']()){const _0x2ec98e=_0x1807e5['editing']['view']['getDomRoot'](_0x3909d4)['getClientRects']()['item'](0x0);_0x70e745['push'](_0x3909d4),_0x444bea['set'](_0x3909d4,_0x2ec98e);}return _0x70e745['sort']((_0x356493,_0x2bf816)=>{const _0x1db0b8=_0x444bea['get'](_0x356493),_0x3d90da=_0x444bea['get'](_0x2bf816);return _0x1db0b8['y']-_0x3d90da['y']||_0x1db0b8['x']-_0x3d90da['x'];}),_0x70e745;}}function getEditables(_0x386cb8){const _0x5caf40={};if('editables'in _0x386cb8['ui']['view']){for(const [_0x5ac88d,_0x1d3f15]of Object['entries'](_0x386cb8['ui']['view']['editables']))_0x5caf40[_0x5ac88d]=_0x1d3f15['element'];}else _0x5caf40[_0x386cb8['model']['document']['getRootNames']()[0x0]]=_0x386cb8['ui']['view']['editable']['element'];return _0x5caf40;}function calculateDialogRects(_0xa616ca){let _0x541b1a=0x0;for(const _0x145ecc of Object['values'](_0xa616ca))_0x541b1a=Math['max'](_0x541b1a,_0x145ecc['getBoundingClientRect']()['width']);let _0x1514d2=0x0;for(const _0x19682c of Object['values'](_0xa616ca))_0x1514d2+=_0x19682c['getBoundingClientRect']()['height'];const _0x7b8a30=0.8*Math['max'](document['documentElement']['clientHeight'],window['innerHeight']);return{'width':_0x541b1a,'height':Math['min'](_0x1514d2,_0x7b8a30)};}function addEditableClasses(_0x149397,_0x2df8e5){for(const [_0x161c0d,_0x39b924]of _0x149397)_0x39b924['classes']=_0x2df8e5[_0x161c0d]['classList']['value']['replace']('ck-focused','');return _0x149397;}function isMultiRootEditor(_0x5c0d19){return void 0x0!==_0x5c0d19['getRootsAttributes'];}class _0x599caf extends ckeditor5['Plugin']{static get['requires'](){return[TrackChangesData,ckeditor5['Dialog']];}static get['pluginName'](){return'TrackChangesPreview';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1cef9f){super(_0x1cef9f),_0x1cef9f['commands']['add']('previewFinalContent',new PreviewFinalContentCommand(this['editor'])),_0x1cef9f['config']['define']('trackChanges.preview.renderFunction',(_0x2e1496,_0x580d28)=>{for(const _0x5e2651 of _0x580d28)_0x2e1496['appendChild'](_0x5e2651);});}}class CloudServicesCommentsAdapter extends ckeditor5['ContextPlugin']{static ['CommentsService']=/* #__PURE__ -- @preserve */
((()=>CommentsService)());['_services'];static get['requires'](){return[WebSocketGateway,CommentsRepository,_0xb9e36d,_0x4a3f8f];}static get['pluginName'](){return'CloudServicesCommentsAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1fafcb){super(_0x1fafcb),this['_services']=new Map();}async['init'](){const _0x2b6e84=this['context'],_0x240055=_0x2b6e84['plugins']['get'](CommentsRepository);if(_0x2b6e84['plugins']['get'](WebSocketGateway)['addToReconnectionStack'](this),_0x240055['adapter']={'addCommentThread':async({channelId:_0x43bc79,threadId:_0x58c424,comments:_0xd1d0b0,resolvedAt:_0x36b87b,resolvedBy:_0x47576e,context:_0xb880bd,attributes:_0x59b38d})=>{const _0xaac0f4=await this['_getService'](_0x43bc79)['addCommentThread']({'commentThreadId':_0x58c424,'comments':_0xd1d0b0['map'](_0x4381e8=>parseLocalCommentToRemote(_0x4381e8,_0x43bc79,_0x58c424)),'resolvedAt':_0x36b87b,'resolvedBy':_0x47576e,'context':_0xb880bd,'attributes':_0x59b38d})['catch'](handleDisconnectionError$1);return{'threadId':_0xaac0f4['commentThreadId'],'comments':_0xaac0f4['comments']};},'getCommentThread':async({channelId:_0x21f84d,threadId:_0x9fc2f6})=>{const _0x167533=await this['_getService'](_0x21f84d)['getCommentThread'](_0x9fc2f6)['catch'](_0x2933ba)['catch'](handleDisconnectionError$1);return _0x167533?_0x167533['deletedAt']?null:(await this['_fetchMissingUsersForThreads']([_0x167533]),{'threadId':_0x167533['commentThreadId'],'comments':_0x167533['comments']['map'](parseRemoteCommentToLocal),'context':_0x167533['context'],'resolvedAt':_0x167533['resolvedAt'],'resolvedBy':_0x167533['resolvedBy'],'attributes':_0x167533['attributes']||{}}):null;},'updateCommentThread':async({channelId:_0x435e69,threadId:_0x4c3944,context:_0x29bbed,unlinkedAt:_0x4a9a41,attributes:_0x570758})=>this['_getService'](_0x435e69)['updateCommentThread']({'commentThreadId':_0x4c3944,'context':_0x29bbed,'attributes':_0x570758,'unlinkedAt':_0x4a9a41})['catch'](_0x2933ba)['catch'](handleDisconnectionError$1),'resolveCommentThread':async({channelId:_0xb457d6,threadId:_0x3645c5})=>{const _0x51f929=await this['_getService'](_0xb457d6)['resolveCommentThread'](_0x3645c5)['catch'](_0x2933ba)['catch'](handleDisconnectionError$1);return{'threadId':_0x51f929['commentThreadId'],'resolvedAt':_0x51f929['resolvedAt'],'resolvedBy':_0x51f929['resolvedBy']};},'reopenCommentThread':async({channelId:_0x48d88f,threadId:_0x3c6c0c})=>this['_getService'](_0x48d88f)['reopenCommentThread'](_0x3c6c0c)['catch'](_0x2933ba)['catch'](handleDisconnectionError$1),'removeCommentThread':({channelId:_0x2a9e3e,threadId:_0x1d7346})=>this['_getService'](_0x2a9e3e)['removeCommentThread'](_0x1d7346)['catch'](_0x2933ba)['catch'](handleDisconnectionError$1),'addComment':({channelId:_0x1c7773,threadId:_0x4ccb9e,commentId:_0x433969,content:_0x1855b1,attributes:_0x3532ba})=>this['_getService'](_0x1c7773)['addComment'](_0x4ccb9e,_0x433969,_0x1855b1,_0x3532ba)['catch'](handleDisconnectionError$1),'updateComment':({channelId:_0x10bb9a,threadId:_0x53a8d1,commentId:_0x4c0ed4,content:_0x903363,attributes:_0x181c48})=>this['_getService'](_0x10bb9a)['updateComment'](_0x53a8d1,_0x4c0ed4,_0x903363,_0x181c48)['catch'](_0x2933ba)['catch'](handleDisconnectionError$1),'removeComment':({channelId:_0x37eebf,threadId:_0x3e64bd,commentId:_0x268513})=>this['_getService'](_0x37eebf)['removeComment'](_0x3e64bd,_0x268513)['catch'](_0x2933ba)['catch'](handleDisconnectionError$1)},_0x2b6e84 instanceof ckeditor5['Context']){const _0x302fa3=_0x2b6e84['config']['get']('collaboration.channelId'),_0x4b9dff=_0x2b6e84['plugins']['get'](_0xb9e36d);await this['_setUpService'](_0x302fa3);const _0x13a597=await this['_services']['get'](_0x302fa3)['getConnectedSessions']();this['listenTo'](_0x4b9dff,'sessionAdd:'+_0x302fa3,(_0x247717,{session:_0x491c17})=>{_0x491c17['id']===_0x4b9dff['mySessionId']&&(_0x247717['off'](),this['context']['plugins']['get']('Permissions')['setPermissions'](_0x491c17['permissions'],_0x302fa3));}),_0x4b9dff['register'](_0x302fa3,_0x13a597);}}async['_setUpService'](_0x1eae27){if(this['_services']['has'](_0x1eae27))throw new ckeditor5['CKEditorError']('cloudservicescommentsadapter-connect-already-connected',null,{'channelId':_0x1eae27});const _0x566b28=this['context']['plugins']['get'](CommentsRepository),_0x44499e=new CloudServicesCommentsAdapter['CommentsService'](_0x1eae27);this['_services']['set'](_0x1eae27,_0x44499e),this['listenTo'](_0x44499e,'commentThreadAdded',(_0x90660a,_0x228068)=>{const {commentThreadId:_0x7960ae,documentId:_0x1472c3,context:_0x283539,attributes:_0x26ee6a,resolvedAt:_0x4e7cd9,resolvedBy:_0x2cbf96,comments:_0x312c0f}=_0x228068;_0x566b28['getCommentThread'](_0x7960ae)||_0x566b28['addCommentThread']({'threadId':_0x7960ae,'channelId':_0x1472c3,'comments':_0x312c0f?_0x312c0f['map'](parseRemoteCommentToLocal):[],'context':_0x283539,'attributes':_0x26ee6a,'resolvedAt':_0x4e7cd9,'resolvedBy':_0x2cbf96,'isFromAdapter':!0x0});}),this['listenTo'](_0x44499e,'commentThreadUpdated',(_0x2d1fc4,{commentThreadId:_0x4f50ce,documentId:_0x1a3354,context:_0x611124,unlinkedAt:_0x2849c1,attributes:_0x1aafeb})=>{_0x566b28['getCommentThread'](_0x4f50ce)&&_0x566b28['updateCommentThread']({'threadId':_0x4f50ce,'channelId':_0x1a3354,'context':_0x611124,'unlinkedAt':_0x2849c1,'attributes':_0x1aafeb,'isFromAdapter':!0x0});}),this['listenTo'](_0x44499e,'commentThreadResolved',(_0xaced90,{commentThreadId:_0x3b3ac4,resolvedBy:_0x52042b,resolvedAt:_0x5a3821})=>{const _0x22a2b7=_0x566b28['getCommentThread'](_0x3b3ac4);_0x22a2b7&&_0x22a2b7['resolve']({'resolvedBy':_0x52042b,'resolvedAt':_0x5a3821,'isFromAdapter':!0x0});}),this['listenTo'](_0x44499e,'commentThreadReopened',(_0x25be1b,{commentThreadId:_0x570500})=>{const _0x5f4b6f=_0x566b28['getCommentThread'](_0x570500);_0x5f4b6f&&_0x5f4b6f['reopen']({'isFromAdapter':!0x0});}),this['listenTo'](_0x44499e,'commentThreadRemoved',(_0x405e3f,{commentThreadId:_0x5b4d7e})=>{const _0x231659=_0x566b28['getCommentThread'](_0x5b4d7e);_0x231659&&_0x231659['remove']({'isFromAdapter':!0x0});}),this['listenTo'](_0x44499e,'commentAdded',(_0x5a50f8,_0x4ed742)=>{const _0x1373a8=_0x4ed742['commentThreadId'],_0x2e122f=_0x566b28['getCommentThread'](_0x1373a8);_0x2e122f&&_0x2e122f['addComment']({...parseRemoteCommentToLocal(_0x4ed742),'isFromAdapter':!0x0});}),this['listenTo'](_0x44499e,'commentUpdated',(_0x45aab6,{commentThreadId:_0x2cd084,commentId:_0x18e56a,content:_0xfe7fe8,attributes:_0xc0ea3c})=>{const _0x4c2da7=_0x566b28['getCommentThread'](_0x2cd084);if(_0x4c2da7){const _0x2d538e=_0x4c2da7['getComment'](_0x18e56a);_0x2d538e&&_0x2d538e['update']({'content':_0xfe7fe8,'attributes':_0xc0ea3c,'isFromAdapter':!0x0});}}),this['listenTo'](_0x44499e,'commentRemoved',(_0x25ae6b,{commentThreadId:_0xb2efb0,commentId:_0x2155bf})=>{const _0x26f689=_0x566b28['getCommentThread'](_0xb2efb0);if(_0x26f689){const _0x2fbec7=_0x26f689['getComment'](_0x2155bf);_0x2fbec7&&_0x2fbec7['remove']({'isFromAdapter':!0x0});}}),await this['_connectService'](_0x1eae27);}['destroy'](){if(this['context']instanceof ckeditor5['Context']){const _0x2ecba1=this['context']['config']['get']('collaboration.channelId');this['_terminateService'](_0x2ecba1);}}['_terminateService'](_0x4c2b3f){if(!this['_services']['has'](_0x4c2b3f))throw new ckeditor5['CKEditorError']('cloudservicescommentsadapter-disconnect-not-exist',null,{'channelId':_0x4c2b3f});this['_getService'](_0x4c2b3f)['disconnect'](),this['_services']['delete'](_0x4c2b3f);}async['reconnect'](){for(const _0x8d78eb of this['_services']['keys']())await this['_connectService'](_0x8d78eb);if(this['context']instanceof ckeditor5['Context']){const _0x3416a6=this['context']['config']['get']('collaboration.channelId'),_0xdb8970=this['context']['plugins']['get'](_0xb9e36d);_0xdb8970['unregister'](_0x3416a6);const _0x4cfcfe=await this['_services']['get'](_0x3416a6)['getConnectedSessions']();_0xdb8970['register'](_0x3416a6,_0x4cfcfe);}}async['_connectService'](_0x47e7b7){const {connection:_0x5615c7}=this['context']['plugins']['get'](WebSocketGateway),_0xad38f7=this['context']['plugins']['get'](CommentsRepository),_0x15443b=this['_services']['get'](_0x47e7b7),_0x3685d2=await _0x15443b['connect'](_0x5615c7);await this['_fetchMissingUsersForThreads'](_0x3685d2);const _0x24c95c=new Set(Array['from'](_0xad38f7['getCommentThreads']({'channelId':_0x47e7b7}),_0x1abdb6=>_0x1abdb6['id']));for(const _0x1484ba of _0x3685d2)_0x1484ba['deletedAt']||_0x24c95c['delete'](_0x1484ba['commentThreadId']);for(const _0x5d00bb of _0x24c95c)_0xad38f7['getCommentThread'](_0x5d00bb)['remove']({'isFromAdapter':!0x0});for(const _0x2937cd of _0x3685d2){let _0x2e72bb=_0xad38f7['getCommentThread'](_0x2937cd['commentThreadId']);const {commentThreadId:_0x3956e2,context:_0x50667c,attributes:_0x5ef408,resolvedBy:_0x5a737b,resolvedAt:_0x41676c,unlinkedAt:_0x332149,deletedAt:_0x5bfa9d}=_0x2937cd;if(_0x5bfa9d)continue;_0x2e72bb||(_0x2e72bb=_0xad38f7['addCommentThread']({'channelId':_0x47e7b7,'threadId':_0x3956e2,'context':_0x50667c,'attributes':_0x5ef408||{},'resolvedBy':_0x5a737b,'resolvedAt':_0x41676c,'unlinkedAt':_0x332149,'isFromAdapter':!0x0}));const _0x486457=new Set(Array['from'](_0x2e72bb['comments'],_0x6b0263=>_0x6b0263['id']));for(const _0x16832b of _0x2937cd['comments'])_0x486457['delete'](_0x16832b['commentId']);for(const _0x340d21 of _0x486457)_0x2e72bb['getComment'](_0x340d21)['remove']({'isFromAdapter':!0x0});for(const _0x21cc22 of _0x2937cd['comments']){const _0x3fb26e=_0x2e72bb['getComment'](_0x21cc22['commentId']);_0x3fb26e?_0x3fb26e['content']!==_0x21cc22['content']&&_0x3fb26e['update']({'content':_0x21cc22['content'],'isFromAdapter':!0x0}):_0x2e72bb['addComment'](Object['assign'](parseRemoteCommentToLocal(_0x21cc22),{'isFromAdapter':!0x0}));}}}['_getService'](_0x204ee6){if(!this['_services']['has'](_0x204ee6))throw new ckeditor5['CKEditorError']('cloudservicescommentsadapter-service-not-exist',null,{'channelId':_0x204ee6});return this['_services']['get'](_0x204ee6);}async['_fetchMissingUsersForThreads'](_0x273c8b){const _0x55d205=this['context']['plugins']['get'](_0x4a3f8f),{connection:_0xb06d67}=this['context']['plugins']['get'](WebSocketGateway),_0x12cfcd=new Set();for(const {resolvedBy:_0x25f76d,comments:_0x411230}of _0x273c8b){_0x25f76d&&!_0x55d205['getUser'](_0x25f76d)&&_0x12cfcd['add'](_0x25f76d);for(const {userId:_0x400805}of _0x411230)_0x55d205['getUser'](_0x400805)||_0x12cfcd['add'](_0x400805);}if(0x0===_0x12cfcd['size'])return;const _0x610b5f=await _0x3f9ce1['getMany'](_0xb06d67,Array['from'](_0x12cfcd));for(const _0x1e4944 of _0x610b5f)_0x55d205['getUser'](_0x1e4944['id'])||_0x55d205['addUser'](_0x1e4944);}}async function _0x2933ba(_0x35a2f2){if('404'!==_0x35a2f2['code'])throw _0x35a2f2;}function handleDisconnectionError$1(_0x53ad69){if(isDisconnectionError$2(_0x53ad69))return new Promise(()=>{});throw _0x53ad69;}function isDisconnectionError$2(_0x2169e5){return _0x2169e5['message']['startsWith']('cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.')||_0x2169e5['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x2169e5['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}function parseRemoteCommentToLocal(_0x463c0f){return{'threadId':_0x463c0f['commentThreadId'],'commentId':_0x463c0f['commentId'],'content':_0x463c0f['content'],'createdAt':_0x463c0f['createdAt'],'authorId':_0x463c0f['userId'],'attributes':_0x463c0f['attributes']||{}};}function parseLocalCommentToRemote(_0x1a44da,_0x1f30a7,_0x2d310c){return{'commentThreadId':_0x2d310c,'commentId':_0x1a44da['commentId'],'userId':_0x1a44da['authorId'],'content':_0x1a44da['content'],'documentId':_0x1f30a7,'createdAt':_0x1a44da['createdAt'],'attributes':_0x1a44da['attributes']||{}};}class CloudServicesTrackChangesAdapter extends ckeditor5['Plugin']{static ['TrackChangesService']=/* #__PURE__ -- @preserve */
((()=>_0x546153)());['_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(_0x4c8594){super(_0x4c8594);const _0x167e1f=this['editor']['config']['get']('collaboration.channelId');this['_bufferedRequests']=new Map(),this['_trackChangesService']=new CloudServicesTrackChangesAdapter['TrackChangesService'](_0x167e1f);}['init'](){const _0x32837f=this['editor']['plugins']['get'](WebSocketGateway),_0x125f99=this['editor']['plugins']['get'](TrackChangesEditing);return _0x125f99['adapter']={'getSuggestion':async _0x21d910=>{await this['_waitForServiceReady']();const _0x25edb4=await this['_trackChangesService']['get'](_0x21d910)['catch'](handleDisconnectionError);return await this['_fetchMissingUsersForThreads']([_0x25edb4]),_0x25edb4;},'addSuggestion':async({id:_0x39f7c5,type:_0x460f67,data:_0x53ea0c,originalSuggestionId:_0xf4a13e,attributes:_0x46efeb})=>{await this['_waitForServiceReady']();const _0x414141={'id':_0x39f7c5,'type':_0x460f67,'data':_0x53ea0c,'originalSuggestionId':_0xf4a13e,'attributes':_0x46efeb},_0x2372ec=await this['_trackChangesService']['add'](_0x39f7c5,_0x460f67,_0x53ea0c,_0xf4a13e,_0x46efeb)['catch'](_0x19fe54=>{if(isDisconnectionError$1(_0x19fe54))return new Promise(_0x108970=>{this['_bufferedRequests']['set'](_0x39f7c5,{'resolve':_0x108970,'suggestionData':_0x414141});});throw _0x19fe54;});return this['_bufferedRequests']['delete'](_0x39f7c5),_0x2372ec;},'updateSuggestion':async(_0xde7531,_0x1e0e4d)=>{if(await this['_waitForServiceReady'](),'open'!==_0x1e0e4d['state'])return this['_trackChangesService']['update'](_0xde7531,_0x1e0e4d)['catch'](handleDisconnectionError);}},this['listenTo'](this['_trackChangesService'],'suggestionUpdated',(_0x54f397,_0xbffeae)=>{_0x125f99['hasSuggestion'](_0xbffeae['id'])&&(_0x125f99['getSuggestion'](_0xbffeae['id'])['attributes']=_0xbffeae['attributes']);}),this['_trackChangesService']['connect'](_0x32837f['connection'])['then'](_0x13522d=>(_0x32837f['addToReconnectionStack'](this),this['_fetchMissingUsersForThreads'](_0x13522d)['then'](()=>{for(const _0x4be4ff of _0x13522d){_0x125f99['addSuggestionData'](_0x4be4ff)['_saved']=!0x0;}})));}async['reconnect'](){const _0x5c0401=this['editor']['plugins']['get']('TrackChangesEditing'),{connection:_0x3d765f}=this['editor']['plugins']['get'](WebSocketGateway),_0x2b9886=await this['_trackChangesService']['connect'](_0x3d765f);await this['_fetchMissingUsersForThreads'](_0x2b9886);for(const {suggestionData:_0x4ea6c5,resolve:_0x7359c9}of this['_bufferedRequests']['values']()){let _0x31afa=_0x2b9886['find'](_0x1b2472=>_0x1b2472['id']===_0x4ea6c5['id']);_0x31afa||(_0x31afa=await this['_trackChangesService']['add'](_0x4ea6c5['id'],_0x4ea6c5['type'],_0x4ea6c5['data'],_0x4ea6c5['originalSuggestionId'])),_0x7359c9(_0x31afa);}for(const _0x5d4556 of _0x2b9886)_0x5c0401['hasSuggestion'](_0x5d4556['id'])||_0x5c0401['addSuggestionData'](_0x5d4556);}async['_waitForServiceReady'](){this['_trackChangesService']['isConnected']||await new Promise(_0x12b508=>{this['listenTo'](this['_trackChangesService'],'connected',_0x485b7b=>{_0x485b7b['off'](),_0x12b508();});});}async['_fetchMissingUsersForThreads'](_0x444fd9){const _0x8cf707=this['editor']['plugins']['get'](_0x4a3f8f),{connection:_0x21fa1b}=this['editor']['plugins']['get'](WebSocketGateway),_0x1f94d6=new Set();for(const {authorId:_0x5f2ab8}of _0x444fd9)_0x8cf707['getUser'](_0x5f2ab8)||_0x1f94d6['add'](_0x5f2ab8);if(0x0===_0x1f94d6['size'])return;const _0x97937e=await _0x3f9ce1['getMany'](_0x21fa1b,Array['from'](_0x1f94d6));for(const _0x1d6ae3 of _0x97937e)_0x8cf707['getUser'](_0x1d6ae3['id'])||_0x8cf707['addUser'](_0x1d6ae3);}}function handleDisconnectionError(_0x44a4bf){if(isDisconnectionError$1(_0x44a4bf))return new Promise(()=>{});throw _0x44a4bf;}function isDisconnectionError$1(_0xbeb75e){return _0xbeb75e['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0xbeb75e['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}class RealTimeCollaborativeComments extends ckeditor5['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 _0x352675=this['editor']['plugins']['get'](WebSocketGateway),_0x5e8231=this['editor']['plugins']['get'](CommentsEditing),_0x1ba834=this['editor']['plugins']['get'](CloudServicesCommentsAdapter);return this['editor']['data']['once']('ready',()=>{this['listenTo'](_0x352675,'change:state',(_0x3c6cbe,_0x6230a5,_0x2973db)=>{_0x5e8231['isThreadsLoadingPaused']='connected'!==_0x2973db;});}),this['listenTo'](_0x352675,'change:state',(_0x1133b9,_0x4e46a1,_0x5a6344)=>{this['editor']['plugins']['get'](CommentsRepository)['switchReadOnly']('connected'!==_0x5a6344);}),_0x1ba834['_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 ckeditor5['Plugin']{static get['requires'](){return[RealTimeCollaborativeComments,CloudServicesTrackChangesAdapter,_0x58dafd];}static get['pluginName'](){return'RealTimeCollaborativeTrackChanges';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class _0x5a34c1 extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x90e2f){super(),this['id']=_0x90e2f['id']||ckeditor5['uid'](),this['creator']=_0x90e2f['creator']||null,this['authors']=_0x90e2f['authors']||[],this['diffData']=_0x90e2f['diffData']||null,this['toVersion']=_0x90e2f['toVersion']||0x0,this['fromVersion']=_0x90e2f['fromVersion']||0x0,this['set']('name',_0x90e2f['name']||''),this['set']('createdAt',_0x90e2f['createdAt']||new Date()),this['set']('attributes',_0x90e2f['attributes']||{});}['setName'](_0xebdd51){this['_update']({'name':_0xebdd51});}['setAttribute'](_0x42edf3,_0x2a3ed5){const _0x58f9c9=_0x564b70(this['attributes']);set(_0x58f9c9,_0x42edf3,_0x2a3ed5),this['_update']({'attributes':_0x58f9c9});}['removeAttribute'](_0x562ac6){const _0x1a950f=_0x564b70(this['attributes']);unset(_0x1a950f,_0x562ac6),this['_update']({'attributes':_0x1a950f});}['_update'](_0x1d5c37,_0xce6e0b=!0x1){let _0x5256dc=!0x1;const _0x3bab1e={'id':this['id']},_0x1d0226=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x51eeb2 of _0x1d0226){const _0xf6d318=_0x1d5c37[_0x51eeb2];void 0x0!==_0xf6d318&&_0xf6d318!==this[_0x51eeb2]&&(this[_0x51eeb2]=_0xf6d318,_0x3bab1e[_0x51eeb2]=_0xf6d318,_0x5256dc=!0x0);}_0x5256dc&&(_0x3bab1e['authors']&&(_0x3bab1e['authorsIds']=_0x3bab1e['authors']['map'](_0x4a5b02=>_0x4a5b02['id']),delete _0x3bab1e['authors']),this['fire']('_update',_0x3bab1e,_0xce6e0b));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x439743=>_0x439743['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class RevisionsRepository extends ckeditor5['Plugin']{['_revisions'];static get['requires'](){return[_0x4a3f8f];}static get['pluginName'](){return'RevisionsRepository';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['length'](){return this['_revisions']['length'];}constructor(_0x4c93ce){super(_0x4c93ce),this['_revisions']=new ckeditor5['Collection']();}['afterInit'](){_0x29d9f2(this);}['createRevision'](_0x16dc1b){const _0x17b19c=this['editor']['plugins']['get']('Users');return new _0x5a34c1({'id':_0x16dc1b['id'],'name':_0x16dc1b['name'],'creator':_0x16dc1b['creatorId']?_0x17b19c['getUser'](_0x16dc1b['creatorId']):null,'diffData':_0x16dc1b['diffData']||_0x16dc1b['data'],'authors':_0x16dc1b['authorsIds']['map'](_0x288318=>_0x17b19c['getUser'](_0x288318)),'createdAt':new Date(_0x16dc1b['createdAt']),'attributes':_0x16dc1b['attributes'],'fromVersion':_0x16dc1b['fromVersion'],'toVersion':_0x16dc1b['toVersion']});}['addRevision'](_0x24075a,_0x102c1b=0x0){this['_revisions']['add'](_0x24075a,_0x102c1b);}['getRevision'](_0x1d2805){return this['_revisions']['get'](_0x1d2805);}['getRevisions'](_0x2d17fa={'toJSON':!0x1}){const _0x49031f=Array['from'](this['_revisions']);return _0x49031f['reverse'](),_0x2d17fa['toJSON']?_0x49031f['map'](_0x56e6ac=>_0x56e6ac['toJSON']()):_0x49031f;}['getIndex'](_0x316ac7){return this['_revisions']['getIndex'](_0x316ac7);}['getEarlierVisibleRevision'](_0x55c9bd){const [,_0x2cf797]=this['getRevisionsIterator'](_0x55c9bd,{'direction':'earlier'});return _0x2cf797;}['getLaterVisibleRevision'](_0x3a1f4a){const [,_0x448999]=this['getRevisionsIterator'](_0x3a1f4a,{'direction':'later'});return _0x448999;}['getRevisionsInDiff'](_0x22cf5e){const _0x13aeb2=[];for(const _0x21deda of this['getRevisionsIterator'](_0x22cf5e['newRevisionId']))if(_0x13aeb2['push'](_0x21deda),_0x21deda['id']===_0x22cf5e['oldRevisionId'])break;return _0x13aeb2;}*['getRevisionsIterator'](_0x4c75f3,{direction:_0x3115b4='earlier',filter:_0xa1371e=()=>!0x0}={}){const _0x731ac8='earlier'===_0x3115b4?0x1:-0x1;let _0x468948=this['_revisions']['get'](_0x4c75f3),_0x5e9f3e=this['getIndex'](_0x468948);for(yield _0x468948;_0x468948;){if(_0x5e9f3e+=_0x731ac8,_0x468948=this['getRevision'](_0x5e9f3e),!_0x468948)return;_0xa1371e(_0x468948)&&(yield _0x468948);}}}async function _0x29d9f2(_0x7572bf){const _0x37082e=_0x53b1f4([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]),_0x55cc95=0xeb829,_0x59511d=window[_0x53b1f4([0x44,0x61,0x74,0x65])][_0x53b1f4([0x6e,0x6f,0x77])](),_0x39b5d0=_0x7572bf[_0x53b1f4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2ffdbf=new window[(_0x53b1f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x436f93=>{_0x39b5d0[_0x53b1f4([0x6f,0x6e,0x63,0x65])](_0x53b1f4([0x72,0x65,0x61,0x64,0x79]),_0x436f93);}),_0x59f1da={[_0x53b1f4([0x6b,0x74,0x79])]:_0x53b1f4([0x45,0x43]),[_0x53b1f4([0x75,0x73,0x65])]:_0x53b1f4([0x73,0x69,0x67]),[_0x53b1f4([0x63,0x72,0x76])]:_0x53b1f4([0x50,0x2d,0x32,0x35,0x36]),[_0x53b1f4([0x78])]:_0x53b1f4([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]),[_0x53b1f4([0x79])]:_0x53b1f4([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]),[_0x53b1f4([0x61,0x6c,0x67])]:_0x53b1f4([0x45,0x53,0x32,0x35,0x36])},_0x36c670=_0x39b5d0[_0x53b1f4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x53b1f4([0x67,0x65,0x74])](_0x53b1f4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0xfd4ecf=await(async function(){let _0x226498,_0x26903d=null,_0x2e08c0=null;try{if(_0x36c670==_0x53b1f4([0x47,0x50,0x4c]))return _0x53b1f4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x226498=(function(){const _0xa6c006=_0x36c670[_0x53b1f4([0x73,0x70,0x6c,0x69,0x74])](_0x53b1f4([0x2e]));if(0x3!=_0xa6c006[_0x53b1f4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x18cf96=_0xa6c006[0x1];return _0x26ceba(_0x18cf96);function _0x26ceba(_0x4b22f6){const _0x25263e=_0x22141a(_0x4b22f6);return _0x25263e&&_0x27a870()?_0x25263e:null;function _0x27a870(){const _0x5acdab=_0x25263e[_0x53b1f4([0x6a,0x74,0x69])],_0x3d66cb=window[_0x53b1f4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5acdab[_0x53b1f4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5acdab[_0x53b1f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x11911e={..._0x25263e,[_0x53b1f4([0x6a,0x74,0x69])]:_0x5acdab[_0x53b1f4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5acdab[_0x53b1f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x11911e[_0x53b1f4([0x76,0x63])],_0x590763(_0x11911e)==_0x3d66cb;}}}()),!_0x226498)return _0x53b1f4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x226498[_0x53b1f4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2e08c0=function(_0x1cbb61,_0x3d717e){return new window[(_0x53b1f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10cfb4=>{if(_0x53363f())return _0x10cfb4(_0x53b1f4([0x56,0x61,0x6c,0x69,0x64]));_0x3b6c36(),_0x39b5d0[_0x53b1f4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x53b1f4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1f5a7e=!0x1;const _0x14d0a8=ckeditor5['uid']();function _0x2a3b23(_0x1a2d16){return!!_0x1a2d16&&(typeof _0x1a2d16===_0x53b1f4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1a2d16===_0x53b1f4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1a2d16[_0x53b1f4([0x74,0x68,0x65,0x6e])]===_0x53b1f4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1a2d16[_0x53b1f4([0x63,0x61,0x74,0x63,0x68])]===_0x53b1f4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4808cc(_0x4c94d6){_0x123e3a(_0x4c94d6)[_0x53b1f4([0x74,0x68,0x65,0x6e])](_0x2af324=>{if(!_0x2af324||_0x2af324[_0x53b1f4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x53b1f4([0x6f,0x6b]))return _0x53b1f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x46744d(_0x590763(_0x14d0a8+_0x3d717e))!=_0x2af324[_0x53b1f4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x53b1f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x53b1f4([0x56,0x61,0x6c,0x69,0x64]);})[_0x53b1f4([0x74,0x68,0x65,0x6e])](_0x4304b1=>(_0x55e21e(),_0x4304b1),()=>{const _0x380749=_0x6887b2();return null==_0x380749?(_0x55e21e(),_0x53b1f4([0x56,0x61,0x6c,0x69,0x64])):_0x53b1f4(_0x59511d-_0x380749>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x53b1f4([0x74,0x68,0x65,0x6e])](_0x10cfb4)[_0x53b1f4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x10cfb4(_0x53b1f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1dcd18=0x36ee80;function _0x55e21e(){const _0x18bffe=_0x53b1f4([0x6c,0x6c,0x63,0x74,0x2d])+_0x46744d(_0x590763(_0x1cbb61)),_0x2d4c08=_0x213270(_0x46744d(window[_0x53b1f4([0x4d,0x61,0x74,0x68])][_0x53b1f4([0x63,0x65,0x69,0x6c])](_0x59511d/_0x1dcd18)));window[_0x53b1f4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x53b1f4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x18bffe,_0x2d4c08);}function _0x6887b2(){const _0x163a5a=_0x53b1f4([0x6c,0x6c,0x63,0x74,0x2d])+_0x46744d(_0x590763(_0x1cbb61)),_0x133484=window[_0x53b1f4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x53b1f4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x163a5a);return _0x133484?window[_0x53b1f4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x213270(_0x133484),0x10)*_0x1dcd18:null;}function _0x123e3a(_0x43b789){return new window[(_0x53b1f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x504555,_0x5979f5)=>{_0x43b789[_0x53b1f4([0x74,0x68,0x65,0x6e])](_0x504555,_0x5979f5),window[_0x53b1f4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5979f5,0x1d4c0);});}}_0x39b5d0[_0x53b1f4([0x6f,0x6e])](_0x53b1f4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x59e12b,_0x22640d)=>{if(_0x22640d[0x0]!=_0x1cbb61)return _0x10cfb4(_0x53b1f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x22640d[0x1]={..._0x22640d[0x1],[_0x53b1f4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x14d0a8};},{[_0x53b1f4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x53b1f4([0x68,0x69,0x67,0x68])}),_0x39b5d0[_0x53b1f4([0x6f,0x6e])](_0x53b1f4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x40b1fd=>{_0x2a3b23(_0x40b1fd[_0x53b1f4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1f5a7e=!0x0,_0x4808cc(_0x40b1fd[_0x53b1f4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x53b1f4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x53b1f4([0x6c,0x6f,0x77])}),_0x2ffdbf[_0x53b1f4([0x74,0x68,0x65,0x6e])](()=>{_0x1f5a7e||_0x10cfb4(_0x53b1f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x53363f(){return _0x39b5d0[_0x53b1f4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x53b1f4([0x76,0x69,0x65,0x77])][_0x53b1f4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x53b1f4([0x61,0x75,0x74,0x6f]);}function _0x3b6c36(){_0x39b5d0[_0x53b1f4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x53b1f4([0x76,0x69,0x65,0x77])][_0x53b1f4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x53b1f4([0x61,0x75,0x74,0x6f]);}}(_0x226498[_0x53b1f4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x226498[_0x53b1f4([0x6a,0x74,0x69])]));const _0x22b81f=await(async function(){let _0x3f75ad=!0x0;try{const _0x14f75=_0x36c670[_0x53b1f4([0x73,0x70,0x6c,0x69,0x74])](_0x53b1f4([0x2e])),[_0x4ada0f,_0x4fb89c,_0x1956a5]=_0x14f75;return _0x524a8a(_0x4ada0f),await _0x270046(_0x4ada0f,_0x4fb89c,_0x1956a5),_0x3f75ad;}catch{return!0x1;}function _0x524a8a(_0x3ee984){const _0x3e2136=_0x22141a(_0x3ee984);_0x3e2136&&_0x3e2136[_0x53b1f4([0x61,0x6c,0x67])]==_0x53b1f4([0x45,0x53,0x32,0x35,0x36])||(_0x3f75ad=!0x1);}async function _0x270046(_0xa9b3b6,_0x5c3af9,_0x30be04){const _0x2896a4=window[_0x53b1f4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x53b1f4([0x66,0x72,0x6f,0x6d])](_0x4fa109(_0x30be04),_0x47c92f=>_0x47c92f[_0x53b1f4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x149158=new window[(_0x53b1f4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x53b1f4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xa9b3b6+_0x53b1f4([0x2e])+_0x5c3af9),_0x4829f8=window[_0x53b1f4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x53b1f4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4829f8)return;const _0x4e3712=await _0x4829f8[_0x53b1f4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x53b1f4([0x6a,0x77,0x6b]),_0x59f1da,{[_0x53b1f4([0x6e,0x61,0x6d,0x65])]:_0x53b1f4([0x45,0x43,0x44,0x53,0x41]),[_0x53b1f4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x53b1f4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x53b1f4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4829f8[_0x53b1f4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x53b1f4([0x6e,0x61,0x6d,0x65])]:_0x53b1f4([0x45,0x43,0x44,0x53,0x41]),[_0x53b1f4([0x68,0x61,0x73,0x68])]:{[_0x53b1f4([0x6e,0x61,0x6d,0x65])]:_0x53b1f4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4e3712,_0x2896a4,_0x149158)||(_0x3f75ad=!0x1);}}());return _0x22b81f?(function(){const _0x10fca4=_0x226498[_0x53b1f4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x10fca4)return!0x1;if(_0x10fca4[_0x53b1f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53b1f4([0x2a])))return!0x0;if(_0x10fca4[_0x53b1f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53b1f4([0x52,0x48])))return!0x0;if(_0x10fca4[_0x53b1f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53b1f4([0x52,0x52,0x48]))){if(_0x183eae(_0x53b1f4([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x3e79e6(_0x53b1f4([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x53b1f4([0x73,0x74,0x61,0x74,0x65])]==_0x53b1f4([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]))return!0x0;if(_0x183eae(_0x53b1f4([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]))||_0x183eae(_0x53b1f4([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72])))return!0x0;}return!0x1;}())?(function(){const _0x5d4587=[_0x53b1f4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x53b1f4([0x74,0x72,0x69,0x61,0x6c])][_0x53b1f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x226498[_0x53b1f4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x59511d/0x3e8:0x6a03bf00;return _0x226498[_0x53b1f4([0x65,0x78,0x70])]<_0x5d4587;}())?_0x53b1f4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x2db68d=_0x226498[_0x53b1f4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2db68d||0x0==_0x2db68d[_0x53b1f4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x115c9d}=new URL(window[_0x53b1f4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2db68d[_0x53b1f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x115c9d))return!0x0;const _0x71b961=_0x115c9d[_0x53b1f4([0x73,0x70,0x6c,0x69,0x74])](_0x53b1f4([0x2e]));return _0x2db68d[_0x53b1f4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x51a7f4=>_0x51a7f4[_0x53b1f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53b1f4([0x2a])))[_0x53b1f4([0x6d,0x61,0x70])](_0x3f6a9a=>_0x3f6a9a[_0x53b1f4([0x73,0x70,0x6c,0x69,0x74])](_0x53b1f4([0x2e])))[_0x53b1f4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4f8877=>_0x4f8877[_0x53b1f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x71b961[_0x53b1f4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x53b1f4([0x6d,0x61,0x70])](_0x51c8e8=>Array(_0x71b961[_0x53b1f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x51c8e8[_0x53b1f4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x53b1f4([0x66,0x69,0x6c,0x6c])](_0x51c8e8[0x0]===_0x53b1f4([0x2a])?_0x53b1f4([0x2a]):'')[_0x53b1f4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x51c8e8))[_0x53b1f4([0x73,0x6f,0x6d,0x65])](_0x1cf3d4=>_0x71b961[_0x53b1f4([0x65,0x76,0x65,0x72,0x79])]((_0x660e76,_0x5502ff)=>_0x1cf3d4[_0x5502ff]===_0x660e76||_0x1cf3d4[_0x5502ff]===_0x53b1f4([0x2a])));}())?(_0x226498[_0x53b1f4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x53b1f4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x26903d=function(_0x5c45cd){const _0x3be7ee=new window[(_0x53b1f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x156861=>setTimeout(_0x156861,0x93ecc)),_0xb06d7e=_0x2ffdbf[_0x53b1f4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x53b1f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x354440=>{const _0x58cb8c=0x7,_0x527486=_0x7572bf[_0x53b1f4([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];function _0x558eeb(){_0x527486[_0x53b1f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x58cb8c&&_0x354440();}_0x558eeb(),_0x527486[_0x53b1f4([0x6f,0x6e])](_0x53b1f4([0x61,0x64,0x64]),_0x558eeb);})),_0x1b2fbc=new window[(_0x53b1f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x411fa4=>{function _0x5ecef6(){for(const _0x10514e in window)if(window[_0x53b1f4([0x4e,0x75,0x6d,0x62,0x65,0x72])]['isNaN'](window[_0x53b1f4([0x4e,0x75,0x6d,0x62,0x65,0x72])](_0x10514e))&&window[_0x10514e]==_0x55cc95)return _0x411fa4();_0x39b5d0[_0x53b1f4([0x73,0x74,0x61,0x74,0x65])]!=_0x53b1f4([0x64,0x65,0x73,0x74,0x72,0x6f,0x79,0x65,0x64])&&window[_0x53b1f4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5ecef6,0x1388);}_0x183eae(_0x53b1f4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&_0x5ecef6();}),_0x154ecb=[_0x3be7ee,_0xb06d7e,_0x1b2fbc];return window[_0x53b1f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x53b1f4([0x72,0x61,0x63,0x65])](_0x154ecb)[_0x53b1f4([0x74,0x68,0x65,0x6e])](()=>_0x5c45cd);}(_0x53b1f4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x26903d&&_0x2e08c0)return new window[(_0x53b1f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x474989,_0x2fd790)=>{_0x26903d[_0x53b1f4([0x74,0x68,0x65,0x6e])](_0x474989,_0x2fd790),_0x2e08c0[_0x53b1f4([0x74,0x68,0x65,0x6e])](_0x4afa6d=>{_0x4afa6d!=_0x53b1f4([0x56,0x61,0x6c,0x69,0x64])&&_0x474989(_0x4afa6d);},_0x2fd790);});return _0x26903d||_0x2e08c0||_0x53b1f4([0x56,0x61,0x6c,0x69,0x64]);}())):_0x53b1f4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x53b1f4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x53b1f4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x53b1f4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x356aa3(){const _0x3e8679=window[_0x53b1f4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x53b1f4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x53b1f4([0x6e,0x6f,0x77])]())[_0x53b1f4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x53b1f4([0x2e]),'');let _0x3f87fc=_0x53b1f4([0x76]);for(let _0x38d367=0x0;_0x38d367<_0x3e8679[_0x53b1f4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x38d367+=0x2){let _0x10aa6d=window[_0x53b1f4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e8679[_0x53b1f4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x38d367,_0x38d367+0x2));_0x10aa6d>=_0x37082e[_0x53b1f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x10aa6d-=_0x37082e[_0x53b1f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3f87fc+=_0x37082e[_0x10aa6d];}return _0x3f87fc;}function _0x22141a(_0x1fc1ea){return _0x1fc1ea[_0x53b1f4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x53b1f4([0x65,0x79]))?JSON[_0x53b1f4([0x70,0x61,0x72,0x73,0x65])](_0x4fa109(_0x1fc1ea)):null;}function _0x4fa109(_0x437a9f){return window[_0x53b1f4([0x61,0x74,0x6f,0x62])](_0x437a9f[_0x53b1f4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x53b1f4([0x2b]))[_0x53b1f4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x53b1f4([0x2f])));}function _0x590763(_0x23c490){let _0x232415=0x1505;function _0x27adf4(_0x5ad424){for(let _0x1f82ee=0x0;_0x1f82ee<_0x5ad424[_0x53b1f4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1f82ee++){const _0x4ec932=_0x5ad424[_0x53b1f4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1f82ee);_0x232415=(_0x232415<<0x5)+_0x232415+_0x4ec932,_0x232415&=_0x232415;}}return function _0x7f5588(_0x68dc2d){Array[_0x53b1f4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x68dc2d)?_0x68dc2d[_0x53b1f4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x7f5588):_0x68dc2d&&typeof _0x68dc2d==_0x53b1f4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x53b1f4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x68dc2d)[_0x53b1f4([0x73,0x6f,0x72,0x74])]()[_0x53b1f4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x543288,_0x9dac0a])=>{_0x27adf4(_0x543288),_0x7f5588(_0x9dac0a);}):_0x27adf4(window[_0x53b1f4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x68dc2d));}(_0x23c490),_0x232415>>>0x0;}function _0x46744d(_0x88bde0){return _0x88bde0[_0x53b1f4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x53b1f4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x53b1f4([0x30]));}function _0x213270(_0x5e2a92){return _0x5e2a92[_0x53b1f4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x53b1f4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x53b1f4([0x6a,0x6f,0x69,0x6e])]('');}function _0x183eae(_0xd947e8){return _0x39b5d0[_0x53b1f4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x53b1f4([0x68,0x61,0x73])](_0xd947e8);}function _0x3e79e6(_0x53a167){return _0x39b5d0[_0x53b1f4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x53b1f4([0x67,0x65,0x74])](_0x53a167);}function _0x97b3d9(){}function _0x53b1f4(_0x361263){return _0x361263['map'](_0x48dc48=>String['fromCharCode'](_0x48dc48))['join']('');}!function(_0x4c740e){const _0x4c1642=_0x356aa3();_0x39b5d0[_0x4c1642]=_0x53b1f4([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])+_0x4c740e,_0x4c740e[_0x53b1f4([0x65,0x6e,0x64,0x73,0x57,0x69,0x74,0x68])](_0x53b1f4([0x4c,0x69,0x6d,0x69,0x74]))&&(window[_0x356aa3()]=_0x55cc95),_0x4c740e!=_0x53b1f4([0x56,0x61,0x6c,0x69,0x64])&&(async function(){if(await _0x2ffdbf,_0x183eae(_0x53b1f4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x520f0b=_0x7572bf[_0x53b1f4([0x67,0x65,0x74,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])](0x0),_0x5a3583=_0x7572bf[_0x53b1f4([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])](_0x520f0b[_0x53b1f4([0x69,0x64])]),_0x2f6dfe=_0x3e79e6(_0x53b1f4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]));return await _0x2f6dfe[_0x53b1f4([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x520f0b['id'],_0x5a3583?_0x5a3583['id']:null,!0x0),_0x2f6dfe[_0x53b1f4([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x53b1f4([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x2f6dfe[_0x53b1f4([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x2f6dfe[_0x53b1f4([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x97b3d9,void(_0x2f6dfe[_0x53b1f4([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x97b3d9);}if(_0x183eae(_0x53b1f4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))){const _0xa3f52e=_0x3e79e6(_0x53b1f4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]));_0xa3f52e[_0x53b1f4([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x53b1f4([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0xa3f52e[_0x53b1f4([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0xa3f52e[_0x53b1f4([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x97b3d9,_0xa3f52e[_0x53b1f4([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x97b3d9;}_0x39b5d0[_0x53b1f4([0x6d,0x6f,0x64,0x65,0x6c])][_0x53b1f4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x97b3d9,_0x39b5d0[_0x53b1f4([0x6d,0x6f,0x64,0x65,0x6c])][_0x53b1f4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x97b3d9,_0x39b5d0[_0x53b1f4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x53b1f4([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0xfd4ecf);}class RevisionHistoryUtils extends ckeditor5['Plugin']{static get['pluginName'](){return'RevisionHistoryUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_viewClassToTypeChar']=new Map([[ckeditor5['ViewContainerElement'],'c'],[ckeditor5['ViewAttributeElement'],'a'],[ckeditor5['ViewEmptyElement'],'e'],[ckeditor5['ViewRawElement'],'r'],[ckeditor5['ViewUIElement'],'u']]);['_typeCharToViewClass']=new Map([['c',ckeditor5['ViewContainerElement']],['a',ckeditor5['ViewAttributeElement']],['e',ckeditor5['ViewEmptyElement']],['r',ckeditor5['ViewRawElement']],['u',ckeditor5['ViewUIElement']]]);async['loadRevisionData'](_0x2d9119,_0x58a095){if(_0x2d9119['diffData']||!_0x58a095)return;const _0x3aa26c=this['editor']['config']['get']('collaboration.channelId'),_0x179c30=await _0x58a095['getRevision']({'channelId':_0x3aa26c,'revisionId':_0x2d9119['id']});_0x2d9119['diffData']=_0x179c30['diffData'];}['getRevisionDocumentData'](_0x570226){const _0x146d22={};for(const _0x5afa10 in _0x570226['diffData']){if(_0x570226['diffData'][_0x5afa10]['attachChange']&&!_0x570226['diffData'][_0x5afa10]['attachChange']['isAttached'])continue;const _0x352d6a=this['_removeRevisionMarkers'](JSON['parse'](_0x570226['diffData'][_0x5afa10]['insertions'])),_0x617bc1=this['editor']['editing']['view']['document'],_0x3c6701=new ckeditor5['ViewDocumentFragment'](_0x617bc1,_0x352d6a['map'](_0x521644=>this['_getViewFromDiffObj'](_0x521644,!0x1)));this['editor']['data']['processor']['useFillerType']('marked'),_0x146d22[_0x5afa10]=this['editor']['data']['processor']['toData'](_0x3c6701),this['editor']['data']['processor']['useFillerType']('default');}return _0x146d22;}['getRevisionRootsAttributes'](_0x105cb7){const _0x4f844b={};for(const _0x4b8ca7 in _0x105cb7['diffData'])_0x105cb7['diffData'][_0x4b8ca7]['attachChange']&&!_0x105cb7['diffData'][_0x4b8ca7]['attachChange']['isAttached']||(_0x4f844b[_0x4b8ca7]=_0x105cb7['diffData'][_0x4b8ca7]['attributesAfter']||{});return _0x4f844b;}['_getTypeCharForViewElement'](_0x30cdfc){return this['_viewClassToTypeChar']['get'](_0x30cdfc['constructor']);}['_getViewFromDiffObj'](_0x5705ef,_0x43ec77){const _0x563ddd=this['editor']['editing']['view']['document'];if('string'==typeof _0x5705ef)return new ckeditor5['ViewText'](_0x563ddd,_0x5705ef);{let _0x30950f,_0x58ff02;_0x58ff02='u'==_0x5705ef['type']||'r'==_0x5705ef['type']?[]:_0x5705ef['children']['map'](_0x383528=>this['_getViewFromDiffObj'](_0x383528,_0x43ec77));const _0x2fa1a5=this['_typeCharToViewClass']['get'](_0x5705ef['type'])||ckeditor5['ViewElement'],_0xe05354=this['editor']['data']['htmlProcessor']['domConverter'];if(_0x30950f=new _0x2fa1a5(_0x563ddd,_0x5705ef['name'],_0x5705ef['attributes'],_0x58ff02),'u'==_0x5705ef['type']&&_0x5705ef['children'][0x0]){const _0x1be771=_0x5705ef['children'][0x0];if(_0x30950f['render']=function(_0x3a7a15){const _0xdfcd73=_0x3a7a15['createElement']('div');return _0xdfcd73['innerHTML']=_0x1be771,_0xdfcd73['childNodes'][0x0];},_0x43ec77){const _0x1a3070=new ckeditor5['ViewDocumentFragment'](_0x563ddd);_0x1a3070['_appendChild'](_0x30950f);const _0x1922c7=Array['from'](_0xe05354['viewChildrenToDom'](_0x1a3070,{'bind':!0x1})),_0x21513a=_0xe05354['domDocument']['createElement']('div');_0x21513a['append'](..._0x1922c7),_0x30950f=Array['from'](_0xe05354['domChildrenToView'](_0x21513a))[0x0];}}else{if('r'==_0x5705ef['type']&&_0x5705ef['children'][0x0]){const _0x1dc16a=_0x5705ef['children'][0x0];if(_0x30950f['render']=function(_0x3d8fad){_0x3d8fad['innerHTML']=_0x1dc16a;},_0x43ec77){const _0x1d75ae=new ckeditor5['ViewDocumentFragment'](_0x563ddd);_0x1d75ae['_appendChild'](_0x30950f);const _0xc2261b=Array['from'](_0xe05354['viewChildrenToDom'](_0x1d75ae,{'bind':!0x1})),_0x12c4e0=_0xe05354['domDocument']['createElement']('div');_0x12c4e0['append'](..._0xc2261b);const _0xf01fe5=Array['from'](_0xe05354['domChildrenToView'](_0x12c4e0));_0xf01fe5['length']>0x1?_0x30950f['_appendChild'](_0xf01fe5):_0x30950f=_0xf01fe5[0x0];}}}if(_0x5705ef['customProperties']){for(const [_0x1b41fe,_0x20194a]of _0x5705ef['customProperties'])_0x30950f['_setCustomProperty'](_0x1b41fe,_0x20194a);}const _0x596637=void 0x0===_0x5705ef['fillerOffset']?null:_0x5705ef['fillerOffset'];return null!==_0x596637&&(_0x30950f['getFillerOffset']=()=>_0x596637),_0x30950f;}}['_makeModelFromViewString'](_0x5b8cd6){const _0x3e29fa=JSON['parse'](_0x5b8cd6),_0x2e135f=this['editor']['editing']['view']['document'],_0x3e8390=new ckeditor5['ViewDocumentFragment'](_0x2e135f,_0x3e29fa['map'](_0x4bdefb=>this['_getViewFromDiffObj'](_0x4bdefb,!0x0)));return this['editor']['data']['toModel'](_0x3e8390);}['_removeRevisionMarkers'](_0x2da533){return(_0x2da533=_0x2da533['filter'](_0x680d0d=>!_0x680d0d['name']||'revision-start'!==_0x680d0d['name']&&'revision-end'!==_0x680d0d['name']))['forEach'](_0x20ba55=>{'string'!=typeof _0x20ba55&&(_0x20ba55['children']=this['_removeRevisionMarkers'](_0x20ba55['children']),_0x20ba55['attributes']=_0x20ba55['attributes']['filter'](_0x1a2418=>!_0x1a2418[0x0]['startsWith']('data-revision-')));}),_0x2da533;}}function getTranslation$4(_0x56e56b,_0x22e1ca,_0x3fc2d2){const t=_0x56e56b['t'];switch(_0x22e1ca){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'},_0x3fc2d2);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x3fc2d2);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 _0x940f6b extends ckeditor5['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[_0x4a3f8f,RevisionsRepository,RevisionHistoryUtils,ckeditor5['PendingActions']];}constructor(_0x4158c0){super(_0x4158c0),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 _0x455ea8=ckeditor5['uid']();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x455ea8},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 _0x51232d=this['repository']['getRevision'](0x0),_0x77341b=_0x51232d&&null===_0x51232d['creator']?_0x51232d:null;if(this['_continueCurrentRevision']=!!_0x77341b&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x1af803=this['_source']['getCurrentRevisionId'](),_0x27fa5f=this['repository']['getRevision'](_0x1af803);if(_0x27fa5f)this['_startingVersion']=_0x27fa5f['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x17655a=this['_source']['history']['_operations']['find'](_0x5be671=>!_0x5be671['_isInit']),_0x222f5e=_0x17655a?_0x17655a['baseVersion']:this['_source']['history']['version'];_0x51232d?(_0x51232d['toVersion']<_0x222f5e&&_0x51232d['_update']({'toVersion':_0x222f5e}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x77341b['id'],this['_startingVersion']=_0x77341b['fromVersion']):(this['_startingVersion']=_0x51232d['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x222f5e,this['_continueCurrentRevision']=!0x1);}}else _0x77341b&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x77341b['toVersion'],this['editor']['model']['document']['history']['version']),_0x77341b['fromVersion']===_0x77341b['toVersion']?(0x0!==_0x77341b['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x77341b['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x77341b['id'],this['_startingVersion']=_0x77341b['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',_0x351ad6=>!_0x351ad6),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x54a736=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x23558d;for(const _0x8f5efd in _0x54a736){const _0x31b550=_0x8f5efd,_0x3bda19=_0x54a736[_0x31b550];if('revisionHistoryLicenseKeyValid'==_0x3bda19||'revisionHistoryLicenseKeyInvalid'==_0x3bda19||'revisionHistoryLicenseKeyExpired'==_0x3bda19||'revisionHistoryLicenseKeyDomainLimit'==_0x3bda19||'revisionHistoryLicenseKeyNotAllowed'==_0x3bda19||'revisionHistoryLicenseKeyEvaluationLimit'==_0x3bda19||'revisionHistoryLicenseKeyUsageLimit'==_0x3bda19){delete _0x54a736[_0x31b550],_0x23558d=_0x3bda19,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'revisionHistoryLicenseKeyInvalid'==_0x23558d&&_0x54a736['_showLicenseError']('invalid'),'revisionHistoryLicenseKeyExpired'==_0x23558d&&_0x54a736['_showLicenseError']('expired'),'revisionHistoryLicenseKeyDomainLimit'==_0x23558d&&_0x54a736['_showLicenseError']('domainLimit'),'revisionHistoryLicenseKeyNotAllowed'==_0x23558d&&_0x54a736['_showLicenseError']('featureNotAllowed','RevisionHistory'),'revisionHistoryLicenseKeyEvaluationLimit'==_0x23558d&&_0x54a736['_showLicenseError']('evaluationLimit'),'revisionHistoryLicenseKeyUsageLimit'==_0x23558d&&_0x54a736['_showLicenseError']('usageLimit');},0x3e8);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x5685ec=this['repository']['getRevision'](0x0),_0x1d93c1=await this['getRevisionDocumentData'](_0x5685ec),_0x3e06d7=await this['getRevisionRootsAttributes'](_0x5685ec);this['_replaceEditorDataWithRevisionData'](_0x1d93c1,_0x3e06d7);}}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['setSource'](_0x289f90){this['_source']=_0x289f90;}async['update'](){const _0x1e7f76=await this['_source']['getLatestVersion']();if(_0x1e7f76>this['currentRevision']['toVersion']){await this['_loadState']();const _0x2f5d5b=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x1e7f76});_0x2f5d5b['authors']=_0x2f5d5b['authorsIds']['map'](_0x253a00=>this['editor']['plugins']['get']('Users')['getUser'](_0x253a00)),this['currentRevision']['_update'](_0x2f5d5b);}}async['saveRevision'](_0x253aaf={},_0x3ec144=null){const _0x3020de=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x3ec144>this['currentRevision']['toVersion']&&(_0x3ec144=null),null===_0x3ec144&&(_0x3ec144=await this['_source']['getLatestVersion']());const _0x3d8759=this['_getFromVersion'](_0x3ec144),_0x13453c=this['buildRevisionData']({'from':_0x3d8759,'to':_0x3ec144});if(this['currentRevision']['toVersion']<_0x3ec144){const _0x5e14f3=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x3ec144,'to':_0x3ec144});_0x5e14f3['authors']=[],_0x5e14f3['authorsIds']=[],_0x5e14f3['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x5e14f3,!0x0),delete _0x5e14f3['authors'],_0x3020de['push'](_0x5e14f3);}_0x253aaf['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x253aaf['name']=_0x253aaf['name']||null,_0x253aaf['id']=_0x253aaf['id']||ckeditor5['uid'](),_0x253aaf={..._0x253aaf,..._0x13453c};const _0x3d7e44=this['addRevisionData'](_0x253aaf);_0x3020de['push'](_0x253aaf);const _0x528e16=this['repository']['getIndex'](_0x3d7e44);if(0x0!==_0x528e16){const _0x2d53c0=this['repository']['getRevision'](_0x528e16-0x1);if(_0x2d53c0['fromVersion']!==_0x3ec144){const _0x169804=this['_revisionDataBuilder']['getData'](_0x3ec144,_0x2d53c0['toVersion']),_0x416f6a={'id':_0x2d53c0['id'],'diffData':_0x169804['diffData'],'authorsIds':_0x169804['authorsIds'],'authors':_0x169804['authorsIds']['map'](_0x2769f1=>this['editor']['plugins']['get']('Users')['getUser'](_0x2769f1)),'fromVersion':_0x3ec144};_0x2d53c0===this['currentRevision']&&(_0x416f6a['createdAt']=new Date(_0x253aaf['createdAt']['getTime']()+0xa)),_0x2d53c0['_update'](_0x416f6a,!0x0),delete _0x416f6a['authors'],_0x3020de['push'](_0x416f6a);}}if(this['adapter']){for(const _0x129ade of _0x3020de)this['_bufferUpdate'](_0x129ade['id'],_0x129ade,!0x0);this['sendBufferedUpdates']();}return _0x3d7e44;}['addRevisionData'](_0x2c1056){const _0x16b849=this['repository']['createRevision'](_0x2c1056);return this['adapter']&&_0x16b849['on']('_update',(_0x744c36,_0x344f8e,_0x3383b3)=>{_0x3383b3||(this['_bufferUpdate'](_0x344f8e['id'],_0x344f8e,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x16b849,this['_findInsertionIndex'](_0x16b849)),_0x16b849;}async['getRevisionDocumentData'](_0x16352b){return await this['_utils']['loadRevisionData'](_0x16352b,this['adapter']),this['_utils']['getRevisionDocumentData'](_0x16352b);}async['getRevisionRootsAttributes'](_0x56efb8){return await this['_utils']['loadRevisionData'](_0x56efb8,this['adapter']),this['_utils']['getRevisionRootsAttributes'](_0x56efb8);}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0xecc239=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x352910=0x0;_0x352910<_0xecc239['length'];_0x352910++){const _0x12caf6=_0xecc239[_0x352910];let _0x4145e3=!0x1;for(const _0x1197c7 of Object['keys'](_0x12caf6))void 0x0===_0x12caf6[_0x1197c7]?delete _0x12caf6[_0x1197c7]:'id'!==_0x1197c7&&(_0x4145e3=!0x0);_0x4145e3||(_0xecc239[_0x352910]=null);}if(_0xecc239=_0xecc239['filter'](_0x2ef05a=>null!==_0x2ef05a),!_0xecc239['length'])return;for(let _0x286474=0x0;_0x286474<_0xecc239['length'];_0x286474++){const _0x45460f=_0xecc239[_0x286474];void 0x0!==_0x45460f['fromVersion']&&void 0x0===_0x45460f['toVersion']&&(_0x45460f['toVersion']=this['repository']['getRevision'](_0x45460f['id'])['toVersion']),void 0x0!==_0x45460f['toVersion']&&void 0x0===_0x45460f['fromVersion']&&(_0x45460f['fromVersion']=this['repository']['getRevision'](_0x45460f['id'])['fromVersion']);}const _0x470da2=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0xecc239,_0x470da2)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x3337a8=>{if(_0x3337a8){for(const _0x433db5 of _0x3337a8)this['setRevisionData']({'id':_0x433db5['id'],'createdAt':_0x433db5['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['buildRevisionData']({revision:_0x238f16=null,from:_0x43c1de=null,to:_0x344248=null}){_0x43c1de=null!==_0x43c1de?_0x43c1de:_0x238f16['fromVersion'],_0x344248=null!==_0x344248?_0x344248:_0x238f16['toVersion'];const _0x592c87=this['_revisionDataBuilder']['getData'](_0x43c1de,_0x344248),_0x15b603={'diffData':_0x592c87['diffData'],'authorsIds':_0x592c87['authorsIds'],'fromVersion':_0x43c1de,'toVersion':_0x344248};if(!_0x238f16||_0x344248!==_0x238f16['toVersion']){const _0x7e1706=_0x344248-0x1,_0x48eb19=this['_source']['history']['getOperation'](_0x7e1706);_0x15b603['createdAt']=_0x48eb19&&_0x48eb19['createdAt']||new Date();}if(this['_loadedStateData']&&_0x43c1de===this['_loadedStateData']['fromVersion']){for(const _0x2d9a14 of this['_loadedStateData']['authors'])_0x15b603['authorsIds']['includes'](_0x2d9a14['id'])||_0x15b603['authorsIds']['push'](_0x2d9a14['id']);}return _0x15b603;}['_bufferUpdate'](_0x56b218,_0x224d62,_0x993c77){if(this['_bufferedUpdates']['has'](_0x56b218)){const _0x4c4591=this['_bufferedUpdates']['get'](_0x56b218);_0x224d62=_0x993c77?{..._0x4c4591,..._0x224d62}:{..._0x224d62,..._0x4c4591};}this['_bufferedUpdates']['set'](_0x56b218,_0x224d62);}['setRevisionData'](_0x5ec0f2){const _0x371907=this['repository']['getRevision'](_0x5ec0f2['id']);if(_0x5ec0f2['createdAt']&&(_0x5ec0f2['createdAt']=new Date(_0x5ec0f2['createdAt'])),_0x5ec0f2['authorsIds']){const _0x27d82e=this['editor']['plugins']['get']('Users');_0x5ec0f2['authors']=_0x5ec0f2['authorsIds']['map'](_0xcabff=>_0x27d82e['getUser'](_0xcabff));}_0x371907['_update'](_0x5ec0f2,!0x0);}['_createInitialRevision'](_0x38357a){const _0x2d2641=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x2d2641)this['_initialRevisionId']=_0x2d2641['id'];else{const _0x18667a=!this['editor']['model']['document']['roots']['find'](_0x4be0ea=>this['editor']['model']['hasContent'](_0x4be0ea)),_0x1fe381=this['editor']['plugins']['get']('Users')['me']['id'],_0x5234e1=getTranslation$4(this['editor']['locale'],_0x18667a?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x38357a,'to':_0x38357a,'id':this['_initialRevisionId'],'name':_0x5234e1,'creatorId':_0x1fe381});}}['_createCurrentRevision'](_0x3795b8){const _0x35f995=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x35f995),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x3795b8,'to':_0x3795b8,'id':_0x35f995,'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'](_0x3d5bf1,_0x4a2f5a){const _0x4c7694={},_0x2e2ee0={},_0x5f21ee=this['editor']['config']['get']('roots')||{};for(const [_0x3e8a9d,_0x1741b0]of Object['entries'](_0x5f21ee))_0x1741b0['lazyLoad']||(_0x4c7694[_0x3e8a9d]=_0x1741b0['initialData']??'',_0x2e2ee0[_0x3e8a9d]=_0x1741b0['modelAttributes']||{});for(const _0x2886de of this['editor']['model']['document']['getRootNames']())_0x4c7694[_0x2886de]??='',_0x2e2ee0[_0x2886de]??={};let _0x3fe47e=!0x1;const _0x550010=Object['keys'](_0x4c7694),_0x165952=Object['keys'](_0x3d5bf1);for(const _0xbad5e1 of _0x550010){if(_0x4c7694[_0xbad5e1]!==_0x3d5bf1[_0xbad5e1]&&''!==_0x4c7694[_0xbad5e1]['trim']()){_0x3fe47e=!0x0;break;}if(!_0x3cd9dc(_0x2e2ee0[_0xbad5e1],_0x4a2f5a[_0xbad5e1])&&Object['keys'](_0x2e2ee0[_0xbad5e1])['length']>0x0){_0x3fe47e=!0x0;break;}}_0x3fe47e||(_0x3fe47e=_0x165952['some'](_0x69ec93=>!this['editor']['model']['document']['getRoot'](_0x69ec93))),_0x3fe47e&&ckeditor5['logWarning']('editor-initial-data-replaced-with-revision-data',{'editorData':_0x4c7694,'editorRootsAttributes':_0x2e2ee0,'revisionData':_0x3d5bf1,'revisionRootsAttributes':_0x4a2f5a});for(const [_0x504312,_0x57c918]of Object['entries'](_0x3d5bf1))this['editor']['config']['set']('roots.'+_0x504312+'.initialData',_0x57c918);for(const [_0x477769,_0x2b29cb]of Object['entries'](_0x4a2f5a))this['editor']['config']['set']('roots.'+_0x477769+'.modelAttributes',_0x2b29cb);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x4c0fc5=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x4c0fc5['add'](getTranslation$4(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0xdc4b87){const _0x2d6e20=this['repository']['getRevisions']();_0x2d6e20['reverse']();let _0x1bcfe1=0x0;for(;_0x1bcfe1<_0x2d6e20['length'];){const _0x2d645d=_0x2d6e20[_0x1bcfe1];if(_0x2d645d===this['currentRevision']){_0x1bcfe1++;continue;}if(_0x2d645d['id']===this['_initialRevisionId'])break;const _0x13e525=_0xdc4b87['toVersion']-_0x2d645d['toVersion']||_0xdc4b87['fromVersion']-_0x2d645d['fromVersion'];if(_0x13e525>0x0)break;if(_0x13e525<0x0)_0x1bcfe1++;else{if(!_0xdc4b87['creator']&&_0x2d645d['creator'])break;if(_0x2d645d['creator']||!_0xdc4b87['creator']){if(_0xdc4b87['createdAt']>_0x2d645d['createdAt'])break;_0x1bcfe1++;}else _0x1bcfe1++;}}return _0x1bcfe1;}['_getFromVersion'](_0x4b8203){const _0x1f5271=this['repository']['getRevisions']();_0x1f5271['reverse'](),_0x1f5271['shift']();const _0x4ef2ef=_0x1f5271['find'](_0x5c86c3=>_0x5c86c3['toVersion']<=_0x4b8203)['toVersion'];return _0x4ef2ef<this['_startingVersion']?this['_startingVersion']:_0x4ef2ef;}['_makeRevision']({name:_0x3426ea,from:_0x598380,to:_0x4b0334,creatorId:_0x4b26f3,id:_0xa194e}){const _0x16ae1c=this['buildRevisionData']({'from':_0x598380,'to':_0x4b0334});_0x16ae1c['name']=_0x3426ea,_0x16ae1c['creatorId']=_0x4b26f3,_0x16ae1c['id']=_0xa194e;const _0x482be3=this['addRevisionData'](_0x16ae1c);return this['adapter']&&this['_bufferUpdate'](_0x16ae1c['id'],_0x16ae1c,!0x0),_0x482be3;}['_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(_0x451939){this['editor']=_0x451939,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'](_0x5805aa){this['source']=_0x5805aa;const _0x5e3238=new Map(),_0x53e44d=new Map(),_0x1e6738=this['editor']['model']['document']['roots']['map'](_0x355cd6=>_0x355cd6['rootName']);for(const _0x5794f4 of _0x1e6738){const _0xc3c87e=this['editor']['model']['document']['getRoot'](_0x5794f4),_0x537938=_cloneRoot(_0xc3c87e);_0x5e3238['set'](_0x5794f4,_0x537938),_0x53e44d['set'](_0x5794f4,Object['fromEntries'](_0xc3c87e['getAttributes']()));}const _0xb02a1d=Array['from'](this['editor']['model']['markers'])['map'](_0x172f73=>[_0x172f73['name'],_0x172f73['getRange']()]),_0x535b50=this['source']['version'];this['_saveMetaData'](_0x535b50,_0x5e3238,_0xb02a1d,_0x53e44d),this['_startingRevisionId']=this['_revisionId'];const _0x1804f0=new Map(),_0x56d0b8=new Map();for(const _0x10fb53 of _0x1e6738){const _0x3f9e24=_emptyRoot(_0x10fb53);_0x1804f0['set'](_0x10fb53,_0x3f9e24),_0x56d0b8['set'](_0x10fb53,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x1804f0,[],_0x56d0b8);}['getData'](_0x2e3ce7,_0x4f9bfd){if(this['_lastFrom']===_0x2e3ce7&&this['_lastTo']<=_0x4f9bfd)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x4f9bfd,!0x0);else{if(!this['_savedMetaData']['has'](_0x2e3ce7)){const _0x1307f0=this['_getPreviousFrom'](_0x2e3ce7);this['_calculateMetaData'](_0x1307f0,_0x2e3ce7,!0x1);}this['_calculateMetaData'](_0x2e3ce7,_0x4f9bfd,!0x0);}return this['_lastFrom']=_0x2e3ce7,this['_lastTo']=_0x4f9bfd,this['_getState']();}['loadState'](_0x2ddbf1){if(!this['_savedMetaData']['has'](_0x2ddbf1['fromVersion'])){const _0x3684a6=this['_getPreviousFrom'](_0x2ddbf1['fromVersion']);this['_calculateMetaData'](_0x3684a6,_0x2ddbf1['fromVersion'],!0x1);}this['_calculateMetaData'](_0x2ddbf1['fromVersion'],_0x2ddbf1['toVersion'],!0x1);const _0xed4710=this['editor']['plugins']['get']('RevisionHistoryUtils');this['_reset'](),this['_lastFrom']=_0x2ddbf1['fromVersion'],this['_lastTo']=_0x2ddbf1['toVersion'];for(const _0x443337 in _0x2ddbf1['diffData']){const _0x3475f1=_0x2ddbf1['diffData'][_0x443337]['attachChange'],_0x4f6c41=_0x564b70(_0x2ddbf1['diffData'][_0x443337]['attributesBefore'])||{},_0x33eba3=_0xed4710['_makeModelFromViewString'](_0x2ddbf1['diffData'][_0x443337]['deletions']);_0x33eba3['rootName']=_0x443337,_0x33eba3['_isAttached']=!_0x3475f1||!_0x3475f1['isAttached'],_0x33eba3['isAttached']=()=>_0x33eba3['_isAttached'],this['_baseRoots']['set'](_0x443337,_0x33eba3),this['_baseRootsAttributes']['set'](_0x443337,_0x4f6c41),_0x3475f1&&this['_touchedRoots']['set'](_0x443337,_0x3475f1);const _0x425e07=this['_makeIdsRoot'](_0x33eba3);this['_baseIdsRoots']['set'](_0x443337,_0x425e07);for(const [_0x5affeb,_0x163566]of _0x33eba3['markers']){if(!_0x5affeb['startsWith']('revision:'))continue;const _0x455a84=_0x5affeb['split'](':')[0x2];for(const _0x505010 of _0x163566['getWalker']({'singleCharacters':!0x0})){const _0x46f74f=this['_getVidAttributeName'](_0x505010),_0x4f72e4='elementEnd'==_0x505010['type']?_0x505010['previousPosition']['path']['slice'](0x0,-0x1):_0x505010['previousPosition']['path'],_0x2bc9e0=_0x425e07['getNodeByPath'](_0x4f72e4)['getAttribute'](_0x46f74f);this['_touched']['set'](_0x2bc9e0,{'userId':_0x455a84});}_0x33eba3['markers']['delete'](_0x5affeb);}}this['_startingRevisionId']=this['_revisionId'];const _0x9ff0=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x191e5b=>!this['_touched']['has'](_0x191e5b));let _0x43cd19=0x0;const _0x3420d6=new Map();for(const _0x31afe8 in _0x2ddbf1['diffData']){const _0x40761d=_0x2ddbf1['diffData'][_0x31afe8]['attachChange'],_0x27ae35=_0x564b70(_0x2ddbf1['diffData'][_0x31afe8]['attributesAfter'])||{},_0x586d8c=_0xed4710['_makeModelFromViewString'](_0x2ddbf1['diffData'][_0x31afe8]['insertions']);_0x586d8c['rootName']=_0x31afe8,_0x586d8c['_isAttached']=!_0x40761d||_0x40761d['isAttached'],_0x586d8c['isAttached']=()=>_0x586d8c['_isAttached'],this['_diffRoots']['set'](_0x31afe8,_0x586d8c),this['_diffRootsAttributes']['set'](_0x31afe8,_0x27ae35);const _0x446ffc=this['_makeIdsRoot'](_0x586d8c,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x31afe8,_0x446ffc),_0x3420d6['set'](_0x31afe8,_0x586d8c['isAttached']()?_0x27ae35:{});for(const [_0x4166e6,_0x2229f6]of _0x586d8c['markers']){if(!_0x4166e6['startsWith']('revision:'))continue;const _0x27af89=_0x4166e6['split'](':')[0x2];for(const _0x56fb72 of _0x2229f6['getWalker']({'singleCharacters':!0x0})){const _0x419505=this['_getVidAttributeName'](_0x56fb72),_0x8d63f3=this['_revisionId']++,_0x3e9c14='elementEnd'==_0x56fb72['type']?_0x56fb72['previousPosition']['path']['slice'](0x0,-0x1):_0x56fb72['previousPosition']['path'];_0x446ffc['getNodeByPath'](_0x3e9c14)['_setAttribute'](_0x419505,_0x8d63f3),this['_touched']['set'](_0x8d63f3,{'userId':_0x27af89});}_0x586d8c['markers']['delete'](_0x4166e6);}for(const _0x9c04a9 of this['editor']['model']['createRangeIn'](_0x586d8c)['getWalker']({'singleCharacters':!0x0})){const _0x29042b=this['_getVidAttributeName'](_0x9c04a9),_0x2e1c2c='elementEnd'==_0x9c04a9['type']?_0x9c04a9['previousPosition']['path']['slice'](0x0,-0x1):_0x9c04a9['previousPosition']['path'],_0x545643=_0x446ffc['getNodeByPath'](_0x2e1c2c);_0x545643['getAttribute'](_0x29042b)>0x0||_0x545643['_setAttribute'](_0x29042b,_0x9ff0[_0x43cd19++]);}for(const [_0x3ed08b,_0x1f2c1e]of _0x586d8c['markers'])_0x3ed08b['startsWith']('revision:')||this['_markers']['set'](_0x3ed08b,_0x1f2c1e);}const {roots:_0x429606}=this['_savedMetaData']['get'](_0x2ddbf1['fromVersion']),{roots:_0x3ba54b}=this['_savedMetaData']['get'](_0x2ddbf1['toVersion']),_0x350b76=_cloneRoot(_0x429606['get']('$graveyard'));this['_baseRoots']['set']('$graveyard',_0x350b76),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x350b76,Number['NEGATIVE_INFINITY']));const _0x1b4194=_cloneRoot(_0x3ba54b['get']('$graveyard'));this['_diffRoots']['set']('$graveyard',_0x1b4194),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x1b4194));const _0x2b970c=Array['from'](this['_diffRoots'])['map'](([_0x51c5b3,_0x15525d])=>[_0x51c5b3,_cloneRoot(_0x15525d)]);this['_saveMetaData'](this['_lastTo'],_0x2b970c,this['_markers'],_0x3420d6);}['reInit'](){this['_reset'](),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_savedMetaData']['clear'](),this['init'](this['source']);}['_saveMetaData'](_0x5c3f51,_0x4fd7c6,_0x478c10,_0x5d99a7){const _0x24f353=new Map(_0x4fd7c6),_0x950038=new Map(_0x564b70(_0x5d99a7)),_0x1c9259=new Map();for(const [_0x1d14d8,_0x331a66]of _0x478c10)_0x1c9259['set'](_0x1d14d8,{'start':_0x331a66['start']['clone'](),'end':_0x331a66['end']['clone'](),'rootName':_0x331a66['root']['rootName']});this['_savedMetaData']['set'](_0x5c3f51,{'roots':_0x24f353,'markers':_0x1c9259,'rootsAttributes':_0x950038});}['_removeMetaData'](_0x73a005){this['_savedMetaData']['delete'](_0x73a005);}['_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'](_0x1ce9b4,_0x221f19=null){let _0x44087d=null;_0x1ce9b4['is']('documentFragment')||(_0x44087d=new ckeditor5['ModelElement'](_0x1ce9b4['name'],{'vid_start':null===_0x221f19?this['_revisionId']++:_0x221f19++}));const _0x4676f0=[];for(const _0x30c8a5 of _0x1ce9b4['getChildren']())if(_0x30c8a5['is']('element')){_0x4676f0['push'](this['_makeIdsRoot'](_0x30c8a5,_0x221f19));const _0x382000=_0x4676f0[_0x4676f0['length']-0x1];null!==_0x221f19&&(_0x221f19=_0x382000['is']('element','$text')?_0x382000['getAttribute']('vid')+0x1:_0x382000['getAttribute']('vid_end')+0x1);}else{for(let _0x2f8b5c=0x0;_0x2f8b5c<_0x30c8a5['offsetSize'];_0x2f8b5c++)_0x4676f0['push'](new ckeditor5['ModelElement']('$text',{'vid':null===_0x221f19?this['_revisionId']++:_0x221f19++}));}if(_0x1ce9b4['is']('documentFragment')){const _0x1ccb0d=_emptyRoot(_0x1ce9b4['rootName']);return _0x1ccb0d['_insertChild'](0x0,_0x4676f0),_0x1ccb0d;}return _0x44087d['_setAttribute']('vid_end',null===_0x221f19?this['_revisionId']++:_0x221f19++),_0x44087d['_insertChild'](0x0,_0x4676f0),_0x44087d;}['_calculateMetaData'](_0xf26384,_0x5c9d15,_0x4a367b){this['_reset']();const {roots:_0x5d3cf0,markers:_0x100369,rootsAttributes:_0x38451d}=this['_savedMetaData']['get'](_0xf26384);this['_baseRoots']=new Map(_0x5d3cf0),this['_baseRootsAttributes']=new Map(_0x564b70(_0x38451d));for(const [_0x36249d,_0x4e3d03]of this['_baseRoots'])if('$graveyard'!==_0x36249d&&(this['_diffRoots']['set'](_0x36249d,_cloneRoot(_0x4e3d03)),this['_diffRootsAttributes']=new Map(_0x564b70(_0x38451d)),_0x4a367b)){const _0x4324c0=this['_revisionId'];this['_idsRoots']['set'](_0x36249d,this['_makeIdsRoot'](_0x4e3d03)),this['_baseIdsRoots']['set'](_0x36249d,this['_makeIdsRoot'](_0x4e3d03,_0x4324c0));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',_cloneRoot(this['_baseRoots']['get']('$graveyard'))),_0x4a367b&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x469fa0,_0x582169]of _0x100369){const _0x39372c=this['_baseRoots']['get'](_0x582169['rootName']),_0x32ca9e=this['_diffRoots']['get'](_0x582169['rootName']),_0x480c05=new ckeditor5['ModelRange'](this['_fixPosition'](_0x582169['start'],_0x39372c),this['_fixPosition'](_0x582169['end'],_0x39372c)),_0x49a03b=this['_fixRange'](_0x480c05,_0x32ca9e);_0x39372c['markers']['set'](_0x469fa0,_0x480c05),this['_markers']['set'](_0x469fa0,_0x49a03b);}this['_applyOperations'](_0xf26384,_0x5c9d15,_0x4a367b);}['_applyOperations'](_0x564e1d,_0x4f52e4,_0x5c8b4b){for(const _0x2fe480 of this['source']['getOperations'](_0x564e1d,_0x4f52e4))this['_handleOperation'](_0x2fe480,_0x5c8b4b);for(const _0x2d4d10 of this['_diffRoots']['values']())_0x2d4d10['markers']['clear']();for(const [_0x53151a,_0x1862e0]of this['_markers']){this['_diffRoots']['get'](_0x1862e0['root']['rootName'])['markers']['set'](_0x53151a,_0x1862e0['clone']());}const _0x540a6e=new Map(),_0x3a7ddd=new Map();for(const [_0x437e19,_0x570d00]of this['_diffRoots'])_0x540a6e['set'](_0x437e19,_cloneRoot(_0x570d00)),_0x3a7ddd['set'](_0x437e19,this['_diffRootsAttributes']['get'](_0x437e19));this['_saveMetaData'](_0x4f52e4,_0x540a6e,this['_markers'],_0x3a7ddd);}['_getPreviousFrom'](_0x161992){const _0x16d674=Array['from'](this['_savedMetaData']['keys']());_0x16d674['sort']((_0x24a1be,_0x142d80)=>_0x24a1be-_0x142d80),_0x16d674['reverse']();for(const _0x83811d of _0x16d674)if(_0x83811d<_0x161992)return _0x83811d;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x36e966,_0x2f2822){const _0x5c70d9=Array['from'](_0x2f2822['markers'])['map'](([_0xe941bb,_0x25b76a])=>[_0xe941bb,this['_fixRange'](_0x25b76a,_0x36e966)]);_0x36e966['markers']=new Map(_0x5c70d9);}['_transformMarkers'](_0xccaab2){for(const _0x122f66 of this['_markers']['values']()){const _0xeece3b=_0x122f66['getTransformedByOperation'](_0xccaab2),_0x49f94f=ckeditor5['ModelRange']['_createFromRanges'](_0xeece3b);_0x122f66['start']=_0x49f94f['start'],_0x122f66['end']=_0x49f94f['end'];}}['_handleOperation'](_0x15868b,_0x1551ad){if('addRoot'!=_0x15868b['type']&&'detachRoot'!=_0x15868b['type']){if('insert'==_0x15868b['type']){const _0x2d0104=_0x15868b['position']['root']['rootName'];this['_diffRoots']['has'](_0x2d0104)||(this['_diffRoots']['set'](_0x2d0104,_emptyRoot(_0x2d0104,!0x0)),this['_diffRootsAttributes']['set'](_0x2d0104,{}),_0x1551ad&&this['_idsRoots']['set'](_0x2d0104,_emptyRoot(_0x2d0104,!0x0)));}else{if('addRootAttribute'==_0x15868b['type']||'removeRootAttribute'==_0x15868b['type']||'changeRootAttribute'==_0x15868b['type'])return void this['_handleRootAttributeOperation'](_0x15868b);'marker'==_0x15868b['type']&&this['_handleMarkerOperation'](_0x15868b);}if('marker'!==_0x15868b['type']){const _0x440302=this['_cloneOperation'](_0x15868b,this['_diffRoots']);_0x440302['_execute'](),this['_transformMarkers'](_0x440302);}if(_0x1551ad)switch(_0x15868b['type']){case'insert':this['_handleInsertOperation'](_0x15868b);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x15868b);break;case'merge':this['_handleMergeOperation'](_0x15868b);break;case'split':this['_handleSplitOperation'](_0x15868b);}}else this['_handleRootOperation'](_0x15868b,_0x1551ad);}['_cloneOperation'](_0x499faf,_0x4713ee){const _0x14d6ee=_0x499faf['clone']();return _0x14d6ee['_authorId']=_0x499faf['_authorId'],this['_fixOperation'](_0x14d6ee,_0x4713ee),_0x14d6ee;}['_getBaseVids'](_0x19975d){return _0x19975d['map'](_0x46f373=>{const _0x40bd77=this['_getVidAttributeName'](_0x46f373);return Number(_0x46f373['item']['getAttribute'](_0x40bd77));});}['_generateTape'](_0x3590de,_0x20d793){if(_0x3590de['is']('element','$text'))_0x20d793['push']({'item':_0x3590de,'type':'text'});else{_0x3590de['is']('element')&&_0x20d793['push']({'item':_0x3590de,'type':'elementStart'});for(const _0x2ef22b of _0x3590de['getChildren']())this['_generateTape'](_0x2ef22b,_0x20d793);_0x3590de['is']('element')&&_0x20d793['push']({'item':_0x3590de,'type':'elementEnd'});}return _0x20d793;}['_getState'](){const _0x1a329e=new Map(this['_touched']),_0x4a08d2=new Map(_0x1a329e),_0x48a6e8=new Map(),_0x4fcd6f={'insertions':{},'deletions':{}},_0x501abd={'insertions':{},'deletions':{}},_0x1dd821=new Map(),_0x1a65ad=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x1a65ad['delete']('$graveyard');for(const _0x1fba28 of _0x1a65ad){const _0x308174=this['_diffRoots']['get'](_0x1fba28)||_emptyRoot(_0x1fba28,!0x1),_0x5a8127=this['_baseRoots']['get'](_0x1fba28)||_emptyRoot(_0x1fba28,!0x1);_0x308174['isAttached']()||_0x5a8127['isAttached']()?(_0x4fcd6f['insertions'][_0x1fba28]=_cloneRoot(_0x308174),_0x4fcd6f['deletions'][_0x1fba28]=_cloneRoot(_0x5a8127),this['_copyMarkers'](_0x4fcd6f['deletions'][_0x1fba28],_0x5a8127),this['_copyMarkers'](_0x4fcd6f['insertions'][_0x1fba28],_0x308174),_0x501abd['insertions'][_0x1fba28]=this['_generateTape'](this['_idsRoots']['get'](_0x1fba28),[]),_0x501abd['deletions'][_0x1fba28]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x1fba28)||_emptyRoot(_0x1fba28,!0x1),[])):_0x1a65ad['delete'](_0x1fba28);}for(const _0x17402b of _0x1a65ad){const _0x56e828=_0x501abd['insertions'][_0x17402b];for(const _0x57ca39 of _0x56e828){const _0x25b533=this['_getVidAttributeName'](_0x57ca39),_0x24ad97=_0x57ca39['item']['getAttribute'](_0x25b533);_0x4a08d2['delete'](_0x24ad97),_0x24ad97>=this['_startingRevisionId']&&_0x48a6e8['set'](_0x24ad97,_0x1a329e['get'](_0x24ad97));}}for(const _0x264fe8 of _0x1a65ad){const _0x27a482=_0x501abd['insertions'][_0x264fe8],_0x2687cc=this['_getBaseVids'](_0x501abd['deletions'][_0x264fe8]);let _0x2c76fe=0x0;for(const _0x442288 of _0x27a482){const _0x293206=this['_getVidAttributeName'](_0x442288),_0x2c0b96=_0x442288['item']['getAttribute'](_0x293206);if(!_0x48a6e8['has'](_0x2c0b96)&&!_0x1dd821['has'](_0x2c0b96)){if(_0x4a08d2['has'](_0x2c0b96))_0x2c76fe++;else{if(_0x2c0b96!=_0x2687cc[_0x2c76fe]){const _0x27a865=_0x1a329e['get'](_0x2c0b96)||_0x1a329e['get'](_0x2687cc[_0x2c76fe]);for(;_0x2c0b96!=_0x2687cc[_0x2c76fe];)_0x4a08d2['has'](_0x2687cc[_0x2c76fe])||(_0x1dd821['set'](_0x2687cc[_0x2c76fe],_0x27a865),_0x1a329e['set'](_0x2687cc[_0x2c76fe],_0x27a865)),_0x2c76fe++;}_0x2c76fe++;}}}}for(const _0x4d039c of _0x1a65ad){const _0x324ae5=_0x501abd['insertions'][_0x4d039c];for(const _0x57e457 of _0x324ae5){const _0x1f3c8c=this['_getVidAttributeName'](_0x57e457),_0xb137d9=_0x57e457['item']['getAttribute'](_0x1f3c8c);if(_0x1dd821['has'](_0xb137d9)){const _0x5914c3=_0x1dd821['get'](_0xb137d9);_0x4a08d2['has'](_0xb137d9)||_0x4a08d2['set'](_0xb137d9,{..._0x5914c3}),_0x48a6e8['set'](_0xb137d9,{..._0x5914c3});}}}for(const _0x24198c of _0x4a08d2['keys']())_0x24198c>=this['_startingRevisionId']&&_0x4a08d2['delete'](_0x24198c);const _0x2eaf16=new Map();for(const _0x16c679 of _0x1a65ad){let _0x266656=_0x501abd['insertions'][_0x16c679];for(const _0x540e9b of _0x266656)if(_0x540e9b['item']['is']('element','tableCell')){const _0x4bc866=this['_getVidAttributeName'](_0x540e9b),_0x59e279=_0x540e9b['item']['getAttribute'](_0x4bc866);if(_0x48a6e8['has'](_0x59e279)){const _0xf65174=_0x540e9b['item']['parent']['parent']['getAttribute']('vid_start'),_0x53b71f=_0x2eaf16['get'](_0xf65174)||new Set();_0x53b71f['add'](_0x48a6e8['get'](_0x59e279)['userId']),_0x2eaf16['set'](_0xf65174,_0x53b71f);}}_0x266656=_0x501abd['deletions'][_0x16c679];for(const _0x55e97e of _0x266656)if(_0x55e97e['item']['is']('element','tableCell')){const _0xb33bd2=this['_getVidAttributeName'](_0x55e97e),_0x9876f2=_0x55e97e['item']['getAttribute'](_0xb33bd2);if(_0x4a08d2['has'](_0x9876f2)){const _0x4917e6=_0x55e97e['item']['parent']['parent']['getAttribute']('vid_start'),_0x2bef06=_0x2eaf16['get'](_0x4917e6)||new Set();_0x2bef06['add'](_0x4a08d2['get'](_0x9876f2)['userId']),_0x2eaf16['set'](_0x4917e6,_0x2bef06);}}for(const _0x351fd6 of _0x2eaf16['keys']())(_0x48a6e8['has'](_0x351fd6)||_0x4a08d2['has'](_0x351fd6))&&_0x2eaf16['delete'](_0x351fd6);}for(const _0x2f3cbe of _0x1a65ad){const _0x1f9be9=_0x501abd['insertions'][_0x2f3cbe];let _0x3a8e4a=null,_0x2e1097=null;for(const _0xafced8 of _0x1f9be9){const _0x3fbcea=this['_getVidAttributeName'](_0xafced8),_0x2b1bf4=_0xafced8['item']['getAttribute'](_0x3fbcea),_0x18f0d6=_0x2eaf16['get'](_0x2b1bf4);_0x18f0d6&&'elementStart'==_0xafced8['type']&&(_0x3a8e4a=Array['from'](_0x18f0d6)[0x0],_0x2e1097=_0xafced8['item']['getAttribute']('vid_end')),_0x3a8e4a&&(_0x4a08d2['set'](_0x2b1bf4,{'userId':_0x3a8e4a}),_0x48a6e8['set'](_0x2b1bf4,{'userId':_0x3a8e4a})),_0x2b1bf4==_0x2e1097&&(_0x3a8e4a=null,_0x2e1097=null);}}const _0x488d3a={},_0x25dbc3=new Set();for(const _0x1a4e6f of _0x1a65ad){const _0x35fbef=_0x4fcd6f['deletions'][_0x1a4e6f],_0x5a5929=_0x4fcd6f['insertions'][_0x1a4e6f];for(const {userId:_0x2aa6ad}of this['_touchedMarkers']['values']())null!==_0x2aa6ad&&_0x25dbc3['add'](_0x2aa6ad);for(const {userId:_0x4c267d}of this['_touchedRoots']['values']())null!==_0x4c267d&&_0x25dbc3['add'](_0x4c267d);this['_markChanges'](_0x5a5929,_0x501abd['insertions'][_0x1a4e6f],_0x48a6e8,'insertion',_0x25dbc3),this['_markChanges'](_0x35fbef,_0x501abd['deletions'][_0x1a4e6f],_0x4a08d2,'deletion',_0x25dbc3),_0x488d3a[_0x1a4e6f]={'insertions':this['_prepareViewToSave'](_0x5a5929),'deletions':this['_prepareViewToSave'](_0x35fbef),'attachChange':this['_touchedRoots']['get'](_0x1a4e6f)||null,'attributesBefore':_0x564b70(this['_baseRootsAttributes']['get'](_0x1a4e6f))||{},'attributesAfter':_0x564b70(this['_diffRootsAttributes']['get'](_0x1a4e6f))};}return{'diffData':_0x488d3a,'authorsIds':Array['from'](_0x25dbc3)};}['_processRootBeforeSave'](_0x57361f){for(const [,_0x48cda9]of _0x57361f['markers']){const _0x160003=_0x48cda9['start']['getAncestors']()['filter'](_0x260e86=>'tableCell'==_0x260e86['name']);for(const _0x33dcb9 of _0x160003)0x1==_0x33dcb9['childCount']&&_0x33dcb9['getChild'](0x0)['is']('element','paragraph')&&_0x33dcb9['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x4e6892){this['_processRootBeforeSave'](_0x4e6892);const _0x43eab9=this['editor']['data']['toView'](_0x4e6892,{}),_0x75b804=Array['from'](_0x43eab9['getChildren']())['map'](_0x4afc4a=>this['_getViewJson'](_0x4afc4a));return JSON['stringify'](_0x75b804);}['_getViewJson'](_0x300f87){if(_0x300f87['is']('$text'))return _0x300f87['data'];{const _0x3eb8b8=this['editor']['plugins']['get']('RevisionHistoryUtils'),_0x9f1055=_0x300f87,_0x209606=this['editor']['data']['htmlProcessor']['domConverter'],_0x4cdfbb={'type':_0x3eb8b8['_getTypeCharForViewElement'](_0x9f1055),'name':_0x9f1055['name'],'attributes':Array['from'](_0x9f1055['getAttributes']()),'children':Array['from'](_0x9f1055['getChildren']())['map'](_0xa0767=>this['_getViewJson'](_0xa0767))};if(_0x300f87['is']('uiElement')&&'$comment'!=_0x300f87['name']){const _0x19fded=_0x300f87['render'](_0x209606['domDocument'],_0x209606);_0x4cdfbb['children']['push'](_0x19fded['outerHTML']);}else{if(_0x300f87['is']('rawElement')){const _0x44645d=_0x209606['domDocument']['createElement'](_0x9f1055['name']);_0x300f87['render'](_0x44645d,_0x209606),_0x4cdfbb['children']['push'](_0x44645d['innerHTML']);}}const _0x5c32c1=Array['from'](_0x9f1055['getCustomProperties']());_0x5c32c1['length']>0x0&&(_0x4cdfbb['customProperties']=_0x5c32c1);const _0x135c96=_0x9f1055['getFillerOffset']();return null!==_0x135c96&&(_0x4cdfbb['fillerOffset']=_0x135c96),_0x4cdfbb;}}['_markChanges'](_0x29b70a,_0x5d25d8,_0x378896,_0x16255f,_0x5e2845){let _0x5315b5=null,_0x4a55b3=null,_0x41f843=0x0;const _0x1ea684=this['editor']['model'];for(let _0x3739c2=0x0;_0x3739c2<_0x5d25d8['length'];_0x3739c2++){const _0x330903=this['_getVidAttributeName'](_0x5d25d8[_0x3739c2]),_0x49c314=_0x5d25d8[_0x3739c2]['item']['getAttribute'](_0x330903),_0x42b9e8=_0x378896['get'](_0x49c314),_0x5d2373=_0x3739c2==_0x5d25d8['length']-0x1;(!_0x5315b5&&_0x42b9e8&&(_0x5315b5=_0x42b9e8,_0x4a55b3=_0x5d25d8[_0x3739c2]),_0x5315b5&&(!_0x42b9e8||_0x42b9e8['userId']!=_0x5315b5['userId']))&&(_0x43ed98(_0x42b9e8,_getPosBefore(_0x4a55b3,_0x29b70a,_0x1ea684),_getPosBefore(_0x5d25d8[_0x3739c2],_0x29b70a,_0x1ea684)),_0x5315b5=_0x42b9e8||null,_0x4a55b3=_0x42b9e8?_0x5d25d8[_0x3739c2]:null),_0x5315b5&&_0x5d2373&&_0x43ed98(_0x42b9e8,_getPosBefore(_0x4a55b3,_0x29b70a,_0x1ea684),_getPosAfter(_0x5d25d8[_0x3739c2],_0x29b70a,_0x1ea684));}function _0x43ed98(_0x271309,_0x244fba,_0x41f5a3){const _0x5d5bce=_0x5315b5['userId'],_0x43dfa6='revision:'+_0x16255f+':'+_0x5d5bce+':'+_0x41f843++,_0x532a27=_0x1ea684['createRange'](_0x244fba,_0x41f5a3);_0x29b70a['markers']['set'](_0x43dfa6,_0x532a27),null!==_0x5d5bce&&_0x5e2845['add'](_0x5d5bce);}}['_getVidAttributeName'](_0x198793){switch(_0x198793['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x382064,_0x53f14f){_0x382064['baseVersion']=null;for(const _0x48365d in _0x382064){const _0x4de6ea=_0x382064[_0x48365d];if(_0x4de6ea instanceof ckeditor5['ModelPosition']){const _0x2f0b73=_0x53f14f['get'](_0x4de6ea['root']['rootName']);_0x382064[_0x48365d]=this['_fixPosition'](_0x4de6ea,_0x2f0b73);}if(_0x4de6ea instanceof ckeditor5['ModelRange']){const _0x518d28=_0x53f14f['get'](_0x4de6ea['root']['rootName']);_0x382064[_0x48365d]=this['_fixRange'](_0x4de6ea,_0x518d28);}'root'===_0x48365d&&(_0x382064['root']=_0x53f14f['get'](_0x382064['root']['rootName']));}}['_fixRange'](_0x58ef6d,_0x57b0bf){return this['editor']['model']['createRange'](this['_fixPosition'](_0x58ef6d['start'],_0x57b0bf),this['_fixPosition'](_0x58ef6d['end'],_0x57b0bf));}['_fixPosition'](_0x3d66dd,_0x343060){return this['editor']['model']['createPositionFromPath'](_0x343060,_0x3d66dd['path'],_0x3d66dd['stickiness']);}['_handleInsertOperation'](_0x516597){const _0x5caaf2=this['_idsRoots']['get'](_0x516597['position']['root']['rootName']),_0xcd8a28=this['_fixPosition'](_0x516597['position'],_0x5caaf2),_0xb25805=null===_0x516597['_authorId']?null:_0x516597['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xa397ce=_0xcd8a28['parent'],_0x1c0086=this['_revisionId'],_0x2f2f2d=[];for(const _0x2b5734 of _0x516597['nodes'])if(_0x2b5734['is']('element'))_0x2f2f2d['push'](this['_makeIdsRoot'](_0x2b5734));else{for(let _0x541f8f=0x0;_0x541f8f<_0x2b5734['offsetSize'];_0x541f8f++)_0x2f2f2d['push'](new ckeditor5['ModelElement']('$text',{'vid':this['_revisionId']++}));}const _0x59ed01=this['_revisionId'];for(let _0x4bd9a5=_0x1c0086;_0x4bd9a5<_0x59ed01;_0x4bd9a5++)this['_touched']['set'](_0x4bd9a5,{'userId':_0xb25805});_0xa397ce['_insertChild'](_0xcd8a28['offset'],_0x2f2f2d);}['_handleMoveOperation'](_0x283d78){(_0x283d78=this['_cloneOperation'](_0x283d78,this['_idsRoots']))['_execute']();const _0x3c7360=null===_0x283d78['_authorId']?null:_0x283d78['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5f1603=_0x283d78['getMovedRangeStart'](),_0x35e8db=_0x5f1603['parent'],_0x5a4932=_0x5f1603['offset'];!function _0x444f84(_0x4755ec,_0x220ecd,_0x344454,_0x4e0ba7){for(let _0x224557=_0x344454;_0x224557<_0x4e0ba7;_0x224557++){const _0x3ba604=_0x220ecd['getChild'](_0x224557);_0x3ba604['is']('element','$text')?_0x4755ec['set'](_0x3ba604['getAttribute']('vid'),{'userId':_0x3c7360}):(_0x4755ec['set'](_0x3ba604['getAttribute']('vid_start'),{'userId':_0x3c7360}),_0x444f84(_0x4755ec,_0x3ba604,0x0,_0x3ba604['childCount']),_0x4755ec['set'](_0x3ba604['getAttribute']('vid_end'),{'userId':_0x3c7360}));}}(this['_touched'],_0x35e8db,_0x5a4932,_0x5a4932+_0x283d78['howMany']);}['_handleMergeOperation'](_0x4632f0){const _0x4bcf09=null===(_0x4632f0=this['_cloneOperation'](_0x4632f0,this['_idsRoots']))['_authorId']?null:_0x4632f0['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4fc108=_0x4632f0['targetPosition']['parent'],_0x4cedab=_0x4632f0['sourcePosition']['parent'],_0x5722f5=_0x4fc108['getAttribute']('vid_end'),_0x36de57=_0x4cedab['getAttribute']('vid_start');_0x4fc108['_setAttribute']('vid_end',_0x4cedab['getAttribute']('vid_end')),_0x4cedab['_setAttribute']('vid_end',_0x5722f5),this['_touched']['set'](_0x36de57,{'userId':_0x4bcf09}),this['_touched']['set'](_0x5722f5,{'userId':_0x4bcf09}),_0x4632f0['_execute']();}['_handleSplitOperation'](_0x1404f1){const _0x218880=null===(_0x1404f1=this['_cloneOperation'](_0x1404f1,this['_idsRoots']))['_authorId']?null:_0x1404f1['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3d99bc=_0x1404f1['graveyardPosition'],_0x156d4f=_0x1404f1['splitPosition']['parent'];_0x1404f1['_execute']();const _0x3374a2=_0x156d4f['getAttribute']('vid_end'),_0xa287f=_0x1404f1['insertionPosition']['nodeAfter'];if(_0x3d99bc){const _0x67bb6c=_0xa287f['getAttribute']('vid_end'),_0x234e66=_0x156d4f['getAttribute']('vid_end');_0x156d4f['_setAttribute']('vid_end',_0x67bb6c),_0xa287f['_setAttribute']('vid_end',_0x234e66),this['_touched']['set'](_0x156d4f['getAttribute']('vid_end'),{'userId':_0x218880}),this['_touched']['set'](_0xa287f['getAttribute']('vid_start'),{'userId':_0x218880});}else{const _0x24c0da=this['_revisionId']++,_0x1fe966=this['_revisionId']++;_0x156d4f['_setAttribute']('vid_end',_0x24c0da),_0xa287f['_setAttribute']('vid_start',_0x1fe966),_0xa287f['_setAttribute']('vid_end',_0x3374a2),this['_touched']['set'](_0x24c0da,{'userId':_0x218880}),this['_touched']['set'](_0x1fe966,{'userId':_0x218880});}}['_handleMarkerOperation'](_0x24edb6){if(!_0x24edb6['affectsData'])return;const _0x3429c6=(_0x24edb6=this['_cloneOperation'](_0x24edb6,this['_diffRoots']))['oldRange']?_0x24edb6['oldRange']['root']:null,_0x31635b=_0x24edb6['newRange']?_0x24edb6['newRange']['root']:null;_0x3429c6&&this['_markers']['delete'](_0x24edb6['name']),_0x31635b&&this['_markers']['set'](_0x24edb6['name'],_0x24edb6['newRange']['clone']());const _0x17d22c=null===_0x24edb6['_authorId']?null:_0x24edb6['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x39a3d1=_0x24edb6['name'];if(!this['_touchedMarkers']['has'](_0x39a3d1))return void this['_touchedMarkers']['set'](_0x39a3d1,{'range':_0x24edb6['oldRange'],'userId':_0x17d22c});const _0x358da7=this['_touchedMarkers']['get'](_0x39a3d1),_0x257fda=_0x358da7['range'],_0x3c7ce7=_0x24edb6['newRange'];null==_0x257fda&&null==_0x3c7ce7||_0x257fda&&_0x3c7ce7&&_0x257fda['isEqual'](_0x3c7ce7)?this['_touchedMarkers']['delete'](_0x24edb6['name']):_0x358da7['userId']=_0x17d22c;}['_handleRootOperation'](_0x13b061,_0x40652b){this['_diffRoots']['has'](_0x13b061['rootName'])?this['_diffRoots']['get'](_0x13b061['rootName'])['_isAttached']=_0x13b061['isAdd']:(this['_diffRoots']['set'](_0x13b061['rootName'],_emptyRoot(_0x13b061['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x13b061['rootName'],{}),_0x40652b&&this['_idsRoots']['set'](_0x13b061['rootName'],_emptyRoot(_0x13b061['rootName'],!0x0)));const _0x1a63fa=null===_0x13b061['_authorId']?null:_0x13b061['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3f6301=this['_touchedRoots']['get'](_0x13b061['rootName']);_0x3f6301&&_0x3f6301['userId']===_0x1a63fa?this['_touchedRoots']['delete'](_0x13b061['rootName']):this['_touchedRoots']['set'](_0x13b061['rootName'],{'userId':_0x1a63fa,'isAttached':_0x13b061['isAdd']});}['_handleRootAttributeOperation'](_0x5e520c){const _0x39448e=this['_diffRootsAttributes']['get'](_0x5e520c['root']['rootName']);null===_0x5e520c['newValue']?delete _0x39448e[_0x5e520c['key']]:_0x39448e[_0x5e520c['key']]=_0x5e520c['newValue'];}}function _cloneRoot(_0xfdc57c){const _0x3b9ac2=_emptyRoot(_0xfdc57c['rootName'],_0xfdc57c['isAttached']());for(const _0x183eec of _0xfdc57c['getChildren']()){const _0x14fbb5=_0x183eec['_clone'](!0x0);_0x3b9ac2['_appendChild'](_0x14fbb5);}return _0x3b9ac2;}function _emptyRoot(_0x565398,_0x188086=!0x0){const _0x19f8cc=new ckeditor5['ModelDocumentFragment']();return _0x19f8cc['rootName']=_0x565398,_0x19f8cc['_isAttached']=_0x188086,_0x19f8cc['isAttached']=()=>_0x19f8cc['_isAttached'],_0x19f8cc;}function _getPosBefore(_0x11dfce,_0x4e6a2d,_0x5923a6){const _0x5adfd3='elementEnd'==_0x11dfce['type']?_0x5923a6['createPositionAt'](_0x11dfce['item'],'end'):_0x5923a6['createPositionBefore'](_0x11dfce['item']);return _0x5923a6['createPositionFromPath'](_0x4e6a2d,_0x5adfd3['path'],_0x5adfd3['stickiness']);}function _getPosAfter(_0x1404c8,_0x433b95,_0x5884cd){const _0x4e49ed='elementStart'==_0x1404c8['type']?_0x5884cd['createPositionAt'](_0x1404c8['item'],0x0):_0x5884cd['createPositionAfter'](_0x1404c8['item']);return _0x5884cd['createPositionFromPath'](_0x433b95,_0x4e49ed['path'],_0x4e49ed['stickiness']);}class RevisionHistorySaveRevisionFormView extends/* #__PURE__ -- @preserve */
ckeditor5['CssTransitionDisablerMixin'](ckeditor5['View']){['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x51fcc0,_0x3b3d2a){super(_0x51fcc0),this['focusTracker']=new ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x3b3d2a),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'](),ckeditor5['submitHandler']({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x38d01c=_0xc6bcf2=>_0xc6bcf2['stopPropagation']();this['keystrokes']['set']('arrowright',_0x38d01c),this['keystrokes']['set']('arrowleft',_0x38d01c),this['keystrokes']['set']('arrowup',_0x38d01c),this['keystrokes']['set']('arrowdown',_0x38d01c);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x1d2923){this['revisionNameInputView']['fieldView']['element']['value']=_0x1d2923['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x245b61){const _0x5cca40=new ckeditor5['LabeledFieldView'](this['locale'],ckeditor5['createLabeledInputText']),_0x357888=_0x5cca40['fieldView'];_0x357888['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x50dd71=getTranslation$4(this['locale'],'Name\x20of\x20the\x20revision');return!_0x245b61&&(_0x50dd71+='\x20('+getTranslation$4(this['locale'],'optional')+')'),(_0x5cca40['label']=_0x50dd71,_0x357888['on']('input',()=>{this['revisionNameInputValue']=_0x357888['element']['value']['trim']();}),_0x5cca40);}}class RevisionHistoryUI extends ckeditor5['Plugin']{static get['pluginName'](){return'RevisionHistoryUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x940f6b];}['_saveRevisionFormView'];['init'](){const _0x3a54db=this['editor'],_0x10cf01=_0x3a54db['plugins']['get']('RevisionTracker');_0x3a54db['ui']['componentFactory']['add']('revisionHistory',_0xa29ac5=>{const _0x449158=ckeditor5['createDropdown'](_0xa29ac5),_0x4108ae=_0x449158['panelView']['children'],_0x2b8402=new ckeditor5['ListView'](_0xa29ac5),_0x13d27e=new ckeditor5['ListItemView'](_0xa29ac5),_0x57866d=this['_createSaveRevisionButton'](ckeditor5['ButtonView']),_0x472bc4=new ckeditor5['ListItemView'](_0xa29ac5),_0x29dc7c=this['_createOpenRevisionButton'](ckeditor5['ButtonView']);return _0x449158['bind']('isEnabled')['to'](_0x10cf01,'isReady',_0x10cf01,'isEnabled',_0x3a54db,'isReadOnly',(_0x36c823,_0x17e07e,_0x3bcc08)=>_0x36c823&&_0x17e07e&&!_0x3bcc08),_0x449158['buttonView']['set']({'icon':ckeditor5['IconHistory'],'label':getTranslation$4(_0xa29ac5,'Revision\x20history'),'tooltip':!0x0}),_0x57866d['set']({'withText':!0x0,'role':'menuitem'}),_0x29dc7c['set']({'withText':!0x0,'role':'menuitem'}),this['listenTo'](_0x29dc7c,'execute',()=>{_0x449158['isOpen']=!0x1,_0x3a54db['editing']['view']['focus']();},{'priority':'low'}),_0x13d27e['children']['add'](_0x57866d),_0x472bc4['children']['add'](_0x29dc7c),_0x2b8402['role']='menu',_0x2b8402['items']['addMany']([_0x13d27e,_0x472bc4]),_0x4108ae['add'](_0x2b8402),_0x449158;}),_0x3a54db['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x567940=this['editor'],_0x2adb77=_0x567940['locale'],_0x10f8b8=_0x567940['plugins']['get']('RevisionTracker'),_0x139647=new ckeditor5['MenuBarMenuView'](_0x2adb77),_0x5dcf92=new ckeditor5['MenuBarMenuListView'](_0x2adb77);_0x139647['bind']('isEnabled')['to'](_0x10f8b8,'isReady',_0x10f8b8,'isEnabled',_0x567940,'isReadOnly',(_0x515ce4,_0x482a41,_0x8e8543)=>_0x515ce4&&_0x482a41&&!_0x8e8543),_0x139647['buttonView']['set']({'icon':ckeditor5['IconHistory'],'label':getTranslation$4(_0x2adb77,'Revision\x20history')});const _0x333def=new ckeditor5['MenuBarMenuListItemView'](_0x2adb77,_0x139647),_0x7dc82c=this['_createSaveRevisionButton'](ckeditor5['MenuBarMenuListItemButtonView']);_0x7dc82c['delegate']('execute')['to'](_0x139647),_0x333def['children']['add'](_0x7dc82c),_0x5dcf92['items']['add'](_0x333def);const _0x189113=new ckeditor5['MenuBarMenuListItemView'](_0x2adb77,_0x139647),_0x458aaf=this['_createOpenRevisionButton'](ckeditor5['MenuBarMenuListItemButtonView']);return _0x458aaf['delegate']('execute')['to'](_0x139647),_0x189113['children']['add'](_0x458aaf),_0x5dcf92['items']['add'](_0x189113),_0x139647['panelView']['children']['add'](_0x5dcf92),_0x139647;}['_createSaveRevisionButton'](_0x5e6656){const _0x464b4f=this['editor'],_0x2e15e9=_0x464b4f['plugins']['get']('RevisionTracker'),_0x446696=new _0x5e6656(_0x464b4f['locale']);return _0x446696['set']({'label':getTranslation$4(_0x464b4f['locale'],'Save\x20current\x20revision')}),_0x446696['bind']('isEnabled')['to'](_0x2e15e9,'isReady',_0x2e15e9,'isEnabled',_0x464b4f,'isReadOnly',(_0x34f19a,_0x579f19,_0x5a1183)=>_0x34f19a&&_0x579f19&&!_0x5a1183),this['listenTo'](_0x446696,'execute',()=>{this['_showDialog']();}),_0x446696;}['_createOpenRevisionButton'](_0x543933){const _0x4cb697=this['editor'],_0x1b3da3=_0x4cb697['plugins']['get']('RevisionTracker'),_0x20472c=new _0x543933(_0x4cb697['locale']);return _0x20472c['set']({'label':getTranslation$4(_0x4cb697['locale'],'Open\x20revision\x20history')}),_0x20472c['bind']('isEnabled')['to'](_0x1b3da3,'isReady',_0x4cb697,'isReadOnly',(_0x3ceb23,_0x5ae0d9)=>_0x3ceb23&&!_0x5ae0d9),this['listenTo'](_0x20472c,'execute',()=>{_0x4cb697['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x20472c;}['_showDialog'](){const _0x11f01b=this['editor'],_0x539bd5=_0x11f01b['locale'],_0x12f2ec=_0x11f01b['plugins']['get']('Dialog'),_0x9f334b=_0x11f01b['plugins']['get']('RevisionTracker');function _0x3ece5e(_0x44bf55){_0x11f01b['config']['get']('revisionHistory.requireRevisionName')&&''===_0x44bf55['revisionName']?_0x44bf55['revisionNameInputView']['errorText']=getTranslation$4(_0x539bd5,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x11f01b['plugins']['get'](_0x940f6b)['saveRevision']({'name':_0x44bf55['revisionName']}),_0x12f2ec['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x3ece5e(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x12f2ec['show']({'id':'revisionSave','title':getTranslation$4(_0x539bd5,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':getTranslation$4(_0x11f01b['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x12f2ec['hide']()},{'label':getTranslation$4(_0x11f01b['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x317e5f){_0x317e5f['bind']('isEnabled')['to'](_0x9f334b,'isReady',_0x9f334b,'isEnabled',_0x11f01b,'isReadOnly',(_0x30bec4,_0x5b575a,_0x12876f)=>_0x30bec4&&_0x5b575a&&!_0x12876f);},'onExecute':()=>_0x3ece5e(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x528168=this['editor'],_0x4e3570=_0x528168['locale'];this['_saveRevisionFormView']=new RevisionHistorySaveRevisionFormView(_0x4e3570,_0x528168['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class ChangeDetailsView extends ckeditor5['View']{['changeId'];['_model'];constructor(_0xccf8e9,_0x56db97){super(_0xccf8e9),this['_model']=_0x56db97,this['changeId']=_0x56db97['id'];const _0x3f2c31=this['bindTemplate'],_0x39f916=getTranslation$4(_0xccf8e9,_0x56db97['data']['isSuggestion']?'Suggested\x20by':'add'==_0x56db97['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x56db97['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x3f2c31['to']('type',_0x176f41=>'ck-revision-change__'+_0x176f41)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x39f916}]},{'text':'\x20'+_0x56db97['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class ChangeItem extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x4f2294){super(),this['id']=_0x4f2294['id']||ckeditor5['uid'](),this['author']=_0x4f2294['author'],this['type']=_0x4f2294['type'],this['data']=_0x4f2294['data']||{},this['rootName']=_0x4f2294['rootName'],this['set']('createdAt',_0x4f2294['createdAt']);}['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}}class _0x4f16ef{['newRevisionId'];['oldRevisionId'];['changes'];constructor(_0x1aaed9,_0xae54e5){this['newRevisionId']=_0x1aaed9,this['oldRevisionId']=_0xae54e5,this['changes']=new ckeditor5['Collection']();}['_setChanges'](_0x4a949e){for(const _0x145f28 of _0x4a949e)this['changes']['add'](_0x145f28);}}class _0x23f74e extends ckeditor5['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[_0x4a3f8f,ckeditor5['ContextualBalloon'],RevisionsRepository,RevisionHistoryUtils];}constructor(_0x249c7c){super(_0x249c7c),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',(_0x21d77b,_0x284ace,_0x24546a)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x5b4acb=>{for(const _0x293878 of this['editor']['editing']['view']['document']['roots'])_0x24546a?_0x5b4acb['removeClass']('ck-editor__editable__overlay',_0x293878):_0x5b4acb['addClass']('ck-editor__editable__overlay',_0x293878);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0xe2e677=>null!==_0xe2e677),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x4cee20,_0x2e2ebf,_0x2a8338)=>_0x4cee20&&_0x2a8338?_0x2e2ebf['changes']['getIndex'](_0x2a8338):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x11f7fe,_0x492004)=>_0x11f7fe?_0x492004['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['_balloon']=this['editor']['plugins']['get'](ckeditor5['ContextualBalloon']);}['init'](){const _0x579229=this['editor'],_0x3e6ae9=new _0x4965ec(_0x579229,{'direction':'backward'}),_0x12c41b=new _0x4965ec(_0x579229,{'direction':'forward'});(_0x579229['commands']['add']('showPreviousChange',_0x3e6ae9),_0x579229['commands']['add']('showNextChange',_0x12c41b),_0x579229['commands']['add']('restoreRevision',new RestoreRevisionCommand(_0x579229)),this['on']('change:numberOfChanges',()=>{_0x3e6ae9['refresh'](),_0x12c41b['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x579229['enableReadOnlyMode']('revision-viewer'),_0x579229['plugins']['has']('WidgetToolbarRepository'))&&_0x579229['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionDocumentData'](_0x3cf3e3){return await this['_utils']['loadRevisionData'](_0x3cf3e3,this['adapter']),this['_utils']['getRevisionDocumentData'](_0x3cf3e3);}async['getRevisionRootsAttributes'](_0x1a5d71){return await this['_utils']['loadRevisionData'](_0x1a5d71,this['adapter']),this['_utils']['getRevisionRootsAttributes'](_0x1a5d71);}async['compare'](_0x37ac6f,_0x496cd6,_0x48406c=!0x1){if(!this['isEnabled'])return;const _0x3354fb=this['diff'],_0xf11226=this['repository'],_0x59b14a='string'==typeof _0x37ac6f?_0xf11226['getRevision'](_0x37ac6f):_0x37ac6f,_0x12b900='string'==typeof _0x496cd6?_0xf11226['getRevision'](_0x496cd6):_0x496cd6,_0xc685db=_0x59b14a['id'],_0x32c4cc=_0x12b900?_0x12b900['id']:null;if(!_0x48406c&&this['diff']&&this['diff']['newRevisionId']===_0xc685db&&this['diff']['oldRevisionId']===_0x32c4cc)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new _0x4f16ef(_0xc685db,_0x32c4cc);const _0x15df4b=this['_getRevisionsRange'](_0x59b14a,_0x12b900,!0x0)['map'](_0x2f2ad6=>this['_utils']['loadRevisionData'](_0x2f2ad6,this['adapter']));return _0x15df4b['push'](new Promise(_0x3427c1=>{setTimeout(_0x3427c1,0x14);})),Promise['all'](_0x15df4b)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x22dd60=this['_getDiff'](_0xc685db,_0x32c4cc);for(const _0x27b68f of _0x22dd60['changes'])this['_changeIdToChange']['set'](_0x27b68f['id'],_0x27b68f);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x4ec0e1=>{for(const _0xcc33b9 of this['editor']['model']['document']['getRootNames']())_0x4ec0e1['detachRoot'](_0xcc33b9);for(const _0x31164f of Object['keys'](_0x22dd60['model'])){const _0x17d001=_0x4ec0e1['addRoot'](_0x31164f);for(const _0x28dc81 of Object['keys'](_0x22dd60['attributes'][_0x31164f]))_0x4ec0e1['setAttribute'](_0x28dc81,_0x22dd60['attributes'][_0x31164f][_0x28dc81],_0x17d001);_0x4ec0e1['insert'](_0x22dd60['model'][_0x31164f],_0x17d001,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x22dd60['changes'])),this['isReady']=!0x0;})['catch'](_0x33b9df=>{console['error'](_0x33b9df),this['_cleanUp'](),_0x3354fb&&(this['diff']=_0x3354fb),this['isReady']=!0x0;});}['addRevisionData'](_0x4218b1,_0x18c3d8){const _0xa42ad1=this['repository']['createRevision'](_0x4218b1);return _0xa42ad1['on']('_update',(_0x451299,_0x13ea21,_0x1c6aba)=>_0x18c3d8(_0x13ea21,_0x1c6aba,_0xa42ad1)),this['repository']['addRevision'](_0xa42ad1),_0xa42ad1;}['_cleanUp'](){this['activeChange']=null,this['_cleanMarkers'](),this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=null,this['_changeIdToChange']['clear'](),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x38509e=>{for(const _0x46ff0c of this['editor']['model']['document']['getRootNames']())_0x38509e['detachRoot'](_0x46ff0c);});}['_sortAndFilterDiffChanges'](_0x12fcc1){const _0x38dc85=[],_0x44feca=new Map();for(const _0x545895 of this['editor']['model']['document']['getRootNames']()){const _0x256957=this['editor']['editing']['view']['getDomRoot'](_0x545895);if(!_0x256957)continue;const _0x29db03=_0x256957['getClientRects']()['item'](0x0);_0x29db03&&(_0x38dc85['push'](_0x545895),_0x44feca['set'](_0x545895,_0x29db03));}return _0x38dc85['sort']((_0x16436f,_0x5ec31c)=>{const _0x55a94e=_0x44feca['get'](_0x16436f),_0x155b0a=_0x44feca['get'](_0x5ec31c);return _0x55a94e['y']-_0x155b0a['y']||_0x55a94e['x']-_0x155b0a['x'];}),(_0x12fcc1=_0x12fcc1['filter'](_0xee6bea=>_0x38dc85['includes'](_0xee6bea['rootName'])))['sort']((_0x42e23b,_0x11bcd8)=>_0x38dc85['indexOf'](_0x42e23b['rootName'])-_0x38dc85['indexOf'](_0x11bcd8['rootName'])),_0x12fcc1;}['_makeTape'](_0x1e395c){const _0x3eb7b8=Array['from'](_0x1e395c['markers'])['filter'](([_0x122f04,_0x6f7f2b])=>_0x122f04['startsWith']('revision:')&&!_0x6f7f2b['isCollapsed']),_0x482a4b=Array['from'](this['editor']['model']['createRangeIn'](_0x1e395c)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x3eb7b8['length'])for(const _0x22a556 of _0x482a4b){const [_0x3eba19,_0x5f2d79]=_0x3eb7b8[0x0],[,_0x1084c7,_0x2c47d1]=_0x3eba19['split'](':');if(_0x5f2d79['end']['isEqual'](_0x22a556['nextPosition'])&&_0x3eb7b8['shift'](),(_0x22a556['previousPosition']['isEqual'](_0x5f2d79['start'])||_0x22a556['previousPosition']['isAfter'](_0x5f2d79['start']))&&('insertion'==_0x1084c7?_0x22a556['isAdded']={'userId':_0x2c47d1}:'deletion'==_0x1084c7&&(_0x22a556['isRemoved']={'userId':_0x2c47d1})),0x0==_0x3eb7b8['length'])break;}return _0x482a4b;}['_refreshStartEndIndex'](_0x4d5225){const _0x2a4546=new Map();for(let _0x86ebc0=0x0;_0x86ebc0<_0x4d5225['length'];_0x86ebc0++)'text'===_0x4d5225[_0x86ebc0]['type']?(_0x4d5225[_0x86ebc0]['item']['startIndex']=_0x86ebc0,_0x4d5225[_0x86ebc0]['item']['endIndex']=_0x86ebc0):('elementStart'===_0x4d5225[_0x86ebc0]['type']?_0x4d5225[_0x86ebc0]['item']['startIndex']=_0x86ebc0:'elementEnd'===_0x4d5225[_0x86ebc0]['type']&&(_0x4d5225[_0x86ebc0]['item']['endIndex']=_0x86ebc0),_0x2a4546['set'](_0x4d5225[_0x86ebc0]['id'],_0x86ebc0));for(const _0x4037f1 of _0x2a4546['values']())'elementStart'===_0x4d5225[_0x4037f1]['type']?_0x4d5225[_0x4037f1]['item']['endIndex']=_0x2a4546['get'](_0x4d5225[_0x4037f1]['pairId']):'elementEnd'===_0x4d5225[_0x4037f1]['type']&&(_0x4d5225[_0x4037f1]['item']['startIndex']=_0x2a4546['get'](_0x4d5225[_0x4037f1]['pairId']));}['_processTape'](_0x2e58a0){for(let _0x507e12=0x0;_0x507e12<_0x2e58a0['length'];_0x507e12++){if('elementStart'===_0x2e58a0[_0x507e12]['type'])_0x2e58a0[_0x507e12]['item']['startIndex']=_0x507e12;else{if('elementEnd'===_0x2e58a0[_0x507e12]['type']){_0x2e58a0[_0x507e12]['item']['endIndex']=_0x507e12;const _0x43a74d=_0x2e58a0[_0x507e12]['item']['startIndex'];_0x2e58a0[_0x43a74d]['pairId']=_0x2e58a0[_0x507e12]['id'],_0x2e58a0[_0x507e12]['pairId']=_0x2e58a0[_0x43a74d]['id'];}else _0x2e58a0[_0x507e12]['item']['startIndex']=_0x507e12,_0x2e58a0[_0x507e12]['item']['endIndex']=_0x507e12,_0x2e58a0[_0x507e12]['pairId']=null;}_0x2e58a0[_0x507e12]['markersStart']||(_0x2e58a0[_0x507e12]['markersStart']=[],_0x2e58a0[_0x507e12]['markersEnd']=[]);}}['_markInsertions'](_0x478312,_0x27b7c6){const _0x288b8a=_0x478312['filter'](_0x415909=>!_0x415909['isAdded']);for(let _0x3ab965=0x0;_0x3ab965<_0x27b7c6['length'];_0x3ab965++)_0x27b7c6[_0x3ab965]['isAdded']&&(_0x288b8a[_0x3ab965]['isAdded']=_0x27b7c6[_0x3ab965]['isAdded']);}['_getDiff'](_0xc9b83f,_0x5ba888=null){const _0x199450=this['repository']['getRevision'](_0xc9b83f),_0x1edbc4=_0x5ba888?this['repository']['getRevision'](_0x5ba888):null,_0x2f15c5=this['_getRevisionsRange'](_0x199450,_0x1edbc4),_0x51e2c8=_0x2f15c5[_0x2f15c5['length']-0x1],_0x3921a4=new Map(),_0x28bd7d={'model':{},'attributes':{},'changes':[]},_0x18e633=new Set(),_0x2ba52a=new Map();for(let _0x4bd698=_0x2f15c5['length']-0x1;_0x4bd698>=0x0;_0x4bd698--){const _0x5ebf77=_0x2f15c5[_0x4bd698];for(const _0x36f1fe of Object['keys'](_0x5ebf77['diffData']))if(_0x5ebf77['diffData'][_0x36f1fe]['attachChange']){const _0x2ab3b9=_0x5ebf77['diffData'][_0x36f1fe]['attachChange'];_0x2ab3b9['isAttached']?(_0x18e633['add'](_0x36f1fe),_0x2ba52a['has'](_0x36f1fe)&&_0x2ba52a['get'](_0x36f1fe)['userId']==_0x2ab3b9['userId']?_0x2ba52a['delete'](_0x36f1fe):_0x2ba52a['set'](_0x36f1fe,_0x2ab3b9)):_0x2ba52a['has'](_0x36f1fe)?(_0x18e633['delete'](_0x36f1fe),_0x2ba52a['delete'](_0x36f1fe)):(_0x18e633['add'](_0x36f1fe),_0x2ba52a['set'](_0x36f1fe,_0x2ab3b9));}else _0x18e633['add'](_0x36f1fe);}for(const _0x3e2e5e of _0x18e633){const _0x550459=_0x2ba52a['has'](_0x3e2e5e)&&!_0x2ba52a['get'](_0x3e2e5e)['isAttached'];let _0x3ae414=_0x550459?_0x2f15c5['length']-0x1:0x0;const _0x403d40=_0x550459?-0x1:0x1;for(;_0x2f15c5[_0x3ae414];){const _0x11d631=_0x2f15c5[_0x3ae414];if(_0x11d631['diffData'][_0x3e2e5e]){const _0xaccdc6=_0x550459?_0x11d631['diffData'][_0x3e2e5e]['attributesBefore']:_0x11d631['diffData'][_0x3e2e5e]['attributesAfter'];_0x28bd7d['attributes'][_0x3e2e5e]=_0xaccdc6?_0x564b70(_0xaccdc6):{};break;}_0x3ae414+=_0x403d40;}}for(const _0x2e516e of _0x2f15c5){_0x2e516e['model']={};for(const _0x3c2a5b of _0x2e516e['authors'])_0x3921a4['set'](_0x3c2a5b['id'],_0x3c2a5b);for(const _0x1f1ded of _0x18e633){const _0xc49fb6=_0x2e516e['diffData'][_0x1f1ded]?_0x2e516e['diffData'][_0x1f1ded]['insertions']:'[]',_0x520871=_0x2e516e['diffData'][_0x1f1ded]?_0x2e516e['diffData'][_0x1f1ded]['deletions']:'[]';_0x2e516e['model'][_0x1f1ded]={'insertions':this['_utils']['_makeModelFromViewString'](_0xc49fb6),'deletions':this['_utils']['_makeModelFromViewString'](_0x520871)};}}for(const _0x3e5f83 of _0x18e633){let _0x156b4c=null,_0x2165bc=0x0;const _0x57c3f0=new Map(Array['from'](_0x199450['model'][_0x3e5f83]['insertions']['markers'])['filter'](([_0x8838f3])=>!_0x8838f3['startsWith']('revision:')));let _0x4ec8c9=0x0;for(const _0x297762 of _0x2f15c5){const _0x5fa0b0=this['_makeTape'](_0x297762['model'][_0x3e5f83]['insertions']);_0x297762==_0x199450?(_0x156b4c=_0x5fa0b0,_0x2165bc=_0x156b4c['length'],_0x156b4c['forEach'](_0x52ca0e=>{_0x52ca0e['id']=_0x4ec8c9++;}),this['_processTape'](_0x156b4c)):this['_markInsertions'](_0x156b4c,_0x5fa0b0);const _0x34c34a=_0x156b4c['filter'](_0x49e4b5=>!_0x49e4b5['isAdded'])['map'](_0x545dd6=>_0x545dd6['id']);let _0x4761d=0x0;const _0x422522=this['_makeTape'](_0x297762['model'][_0x3e5f83]['deletions']);_0x422522['forEach'](_0x414043=>{_0x414043['isRemoved']?_0x414043['id']=_0x2165bc++:_0x414043['id']=_0x34c34a[_0x4761d++];}),this['_processTape'](_0x422522),this['_setDistance'](_0x156b4c,'isAdded'),this['_setDistance'](_0x422522,'isRemoved'),_0x297762==_0x199450&&this['_markMarkers'](_0x156b4c,_0x57c3f0),_0x156b4c=this['_joinTapes'](_0x156b4c,_0x422522),this['_refreshStartEndIndex'](_0x156b4c),this['_setDistance'](_0x156b4c,'isRemoved');}_0x156b4c=_0x156b4c['filter'](_0x1a5381=>!(_0x1a5381['isAdded']&&_0x1a5381['isRemoved']));const _0x1b11a3=new Map(_0x51e2c8['model'][_0x3e5f83]['deletions']['markers']),_0x2e03fe=new Set(_0x57c3f0['keys']());for(const _0x3028b0 of _0x1b11a3['keys']())_0x2e03fe['delete'](_0x3028b0);this['_markSuggestions'](_0x156b4c,_0x2e03fe),this['_fixObsoleteTags'](_0x156b4c),_0x156b4c=this['_removeMissingPairs'](_0x156b4c),_0x156b4c=this['_markMismatchedRemovedTags'](_0x156b4c),_0x156b4c=this['_removeUnsupportedChanges'](_0x156b4c);const {root:_0x40b682,changes:_0x2ff201}=this['_makeModelFromTape'](_0x156b4c,_0x3921a4,_0x3e5f83);_0x28bd7d['model'][_0x3e5f83]=_0x40b682;const _0x130d83=_0x2ba52a['get'](_0x3e5f83);if(_0x130d83){const _0x437f5c=_0x3921a4['get'](_0x130d83['userId']),_0x14a83c=new ChangeItem({'author':_0x437f5c,'type':_0x130d83['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x3e5f83});_0x2ff201['unshift'](_0x14a83c),_0x28bd7d['attributes'][_0x3e5f83]['revisionHistoryAttachChange']=_0x14a83c['id'];}_0x28bd7d['changes']=_0x28bd7d['changes']['concat'](_0x2ff201);}return _0x28bd7d;}['_markMarkers'](_0x1a25bf,_0x193e7f){for(let _0x1498f5=0x0;_0x1498f5<_0x1a25bf['length'];_0x1498f5++)for(const [_0x2568e0,_0x252739]of _0x193e7f)!_0x252739['isCollapsed']&&_0x252739['start']['isEqual'](_0x1a25bf[_0x1498f5]['previousPosition'])&&_0x1a25bf[_0x1498f5]['markersStart']['push'](_0x2568e0),_0x252739['end']['isEqual'](_0x1a25bf[_0x1498f5]['nextPosition'])&&_0x1a25bf[_0x1498f5]['markersEnd']['push'](_0x2568e0);}['_joinTapes'](_0x111f5c,_0x19a1f6){let _0x4160db=[],_0x5eb95c=0x0,_0x203e64=0x0;for(;_0x5eb95c<_0x111f5c['length']||_0x203e64<_0x19a1f6['length'];){const _0x7ca8f6=_0x111f5c[_0x5eb95c]||{},_0x5511fe=_0x19a1f6[_0x203e64]||{};if(_0x7ca8f6['id']==_0x5511fe['id'])_0x5eb95c++,_0x203e64++,_0x4160db['push'](_0x7ca8f6);else{if(_0x5511fe['isRemoved']&&_0x7ca8f6['isAdded']){const {commonTape:_0x2e14d5,iEnd:_0x3b026b,jEnd:_0x2e576d}=this['_threeWayMerge'](_0x111f5c,_0x5eb95c,_0x19a1f6,_0x203e64);_0x4160db=_0x4160db['concat'](_0x2e14d5),_0x5eb95c=_0x3b026b,_0x203e64=_0x2e576d;}else _0x5511fe['isRemoved']?(_0x203e64++,_0x4160db['push'](_0x5511fe)):(_0x5eb95c++,_0x4160db['push'](_0x7ca8f6));}}return _0x4160db;}['_markSuggestions'](_0x17516e,_0x5af80d){const _0x254970=[];for(let _0x356b15=0x0;_0x356b15<_0x17516e['length'];_0x356b15++){for(let _0x3eff31=0x0;_0x3eff31<_0x17516e[_0x356b15]['markersStart']['length'];_0x3eff31++){const _0x277f9f=_0x17516e[_0x356b15]['markersStart'][_0x3eff31];if(!_0x5af80d['has'](_0x277f9f))continue;const {group:_0x549125,type:_0x18b1fe,authorId:_0x5bf67c}=_0x3ddb94(_0x277f9f);'revision-suggestion'!=_0x549125||'insertion'!=_0x18b1fe&&'deletion'!=_0x18b1fe||(_0x254970['unshift']({'type':_0x18b1fe,'name':_0x277f9f,'userId':_0x5bf67c}),_0x17516e[_0x356b15]['markersStart']['splice'](_0x3eff31,0x1),_0x3eff31--);}_0x5d14a2(_0x17516e[_0x356b15]);for(let _0x29195a=0x0;_0x29195a<_0x17516e[_0x356b15]['markersEnd']['length'];_0x29195a++){const _0x19463c=_0x17516e[_0x356b15]['markersEnd'][_0x29195a];if(!_0x5af80d['has'](_0x19463c))continue;const {group:_0x44c86b,type:_0x3ad448}=_0x3ddb94(_0x19463c);if('revision-suggestion'!=_0x44c86b||'insertion'!=_0x3ad448&&'deletion'!=_0x3ad448)continue;_0x17516e[_0x356b15]['markersEnd']['splice'](_0x29195a,0x1),_0x29195a--;const _0x1ab9fd=_0x254970['findIndex'](_0x15b814=>_0x15b814['name']==_0x19463c);_0x1ab9fd>-0x1&&_0x254970['splice'](_0x1ab9fd,0x1);}}function _0x3ddb94(_0x47dabe){const _0x22859b=_0x47dabe['split'](':');return{'group':_0x22859b[0x0],'type':_0x22859b[0x1],'subType':_0x22859b['length']>=0x5?_0x22859b[0x2]:null,'id':_0x22859b['length']<0x5?_0x22859b[0x2]:_0x22859b[0x3],'authorId':_0x22859b['length']<0x5?_0x22859b[0x3]:_0x22859b[0x4],'markerCount':0x6==_0x22859b['length']?_0x22859b[0x5]:null};}function _0x5d14a2(_0x1cb84e){for(let _0x2d4917=0x0;_0x2d4917<_0x254970['length'];_0x2d4917++){if(_0x1cb84e['isAdded']&&'insertion'==_0x254970[_0x2d4917]['type']&&_0x1cb84e['isAdded']['userId']==_0x254970[_0x2d4917]['userId'])return _0x1cb84e['isAddSuggestion']=_0x254970[_0x2d4917],void delete _0x1cb84e['isAdded'];if(!_0x1cb84e['isAdded']&&!_0x1cb84e['isRemoved']&&'deletion'==_0x254970[_0x2d4917]['type'])return void(_0x1cb84e['isRemoveSuggestion']=_0x254970[_0x2d4917]);}}}['_setDistance'](_0x204eb5,_0x133db9){let _0x116c13=0x0,_0x1f3d84=!0x1;const _0x194d9a=new Map();for(const _0x20c87e of _0x204eb5)_0x20c87e[_0x133db9]?_0x1f3d84&&(_0x116c13++,_0x1f3d84=!0x1):(_0x116c13++,_0x1f3d84=!0x0),_0x194d9a['set'](_0x20c87e['id'],_0x116c13);for(let _0x425394=0x0;_0x425394<_0x204eb5['length'];_0x425394++){if('isRemoved'==_0x133db9&&_0x204eb5[_0x425394]['isAdded']||'isAdded'==_0x133db9&&_0x204eb5[_0x425394]['isRemoved'])continue;if('text'==_0x204eb5[_0x425394]['type']){_0x204eb5[_0x425394]['distance']=0x0;continue;}const _0x46dd4a=_0x194d9a['get'](_0x204eb5[_0x425394]['pairId']),_0x548bb8=_0x194d9a['get'](_0x204eb5[_0x425394]['id']);_0x204eb5[_0x425394]['distance']=_0x46dd4a-_0x548bb8;}}['_getRevisionsRange'](_0x5caa6a,_0x791540,_0x2c7d30=!0x1){const _0x5380c3=[];let _0x3f8467=this['repository']['getIndex'](_0x5caa6a),_0x2c9658=this['repository']['getIndex'](_0x791540);for(-0x1==_0x2c9658&&(_0x2c9658=this['repository']['_revisions']['length'],_0x2c7d30=!0x1);_0x3f8467<_0x2c9658;)_0x5380c3['push'](this['repository']['getRevision'](_0x3f8467)),_0x3f8467++;return _0x2c7d30&&_0x5380c3['push'](this['repository']['getRevision'](_0x3f8467)),_0x5380c3;}['_threeWayMerge'](_0x4277f,_0x512620,_0x440327,_0x59a314){const _0x301c4e=this['editor']['model']['schema'];let _0x4cb759=_0x512620;for(;_0x4277f[_0x4cb759]&&_0x4277f[_0x4cb759]['isAdded'];)_0x4cb759++;let _0xe452a9=_0x59a314;for(;_0x440327[_0xe452a9]&&_0x440327[_0xe452a9]['isRemoved'];)_0xe452a9++;_0x3b525e(_0x4277f,_0x512620,_0x4cb759),_0x3b525e(_0x440327,_0x59a314,_0xe452a9);const _0x192d69=_0x440327['slice'](_0x59a314,_0xe452a9)['concat'](_0x4277f['slice'](_0x512620,_0x4cb759));return _0x192d69['sort']((_0x30c7d9,_0x4846e6)=>_0x30c7d9['side']!=_0x4846e6['side']?_0x30c7d9['side']-_0x4846e6['side']:_0x30c7d9['level']!=_0x4846e6['level']?_0x30c7d9['level']-_0x4846e6['level']:_0x30c7d9['distance']!=_0x4846e6['distance']?_0x4846e6['distance']-_0x30c7d9['distance']:!!_0x30c7d9['isAdded']!=!!_0x4846e6['isAdded']?-0x1==_0x30c7d9['side']||0x0==_0x30c7d9['side']?_0x30c7d9['isAdded']?-0x1:0x1:_0x30c7d9['isAdded']?0x1:-0x1:_0x30c7d9['index']-_0x4846e6['index']),{'commonTape':_0x192d69,'iEnd':_0x4cb759,'jEnd':_0xe452a9};function _0x3b525e(_0x481577,_0x4036ca,_0x5c4272){let _0x558b49=-0x1,_0x29b87f=Number['POSITIVE_INFINITY'],_0x40bc4d=!0x0;for(let _0x1516eb=_0x4036ca;_0x1516eb<_0x5c4272;_0x1516eb++)if(_0x301c4e['isInline'](_0x481577[_0x1516eb]['item'])||(_0x40bc4d=!0x1),_0x481577[_0x1516eb]['item']['startIndex']<_0x4036ca&&(_0x558b49=_0x1516eb),_0x481577[_0x1516eb]['item']['endIndex']>=_0x5c4272){_0x29b87f=_0x1516eb;break;}_0x40bc4d&&(_0x558b49=_0x5c4272-0x1);for(let _0x2e4c99=_0x4036ca;_0x2e4c99<_0x5c4272;_0x2e4c99++)_0x481577[_0x2e4c99]['side']=_0x2e4c99<=_0x558b49?-0x1:_0x2e4c99<_0x29b87f?0x0:0x1,_0x481577[_0x2e4c99]['index']=_0x2e4c99;let _0x1e9e49=0x0;for(let _0x47d8f4=_0x4036ca;_0x47d8f4<=_0x558b49;_0x47d8f4++)0x0==_0x481577[_0x47d8f4]['distance']?_0x481577[_0x47d8f4]['level']=_0x1e9e49:(_0x1e9e49++,_0x481577[_0x47d8f4]['level']=_0x1e9e49,_0x1e9e49++);for(let _0xe0a918=_0x4036ca;_0xe0a918<_0x5c4272;_0xe0a918++)0x0==_0x481577[_0xe0a918]['side']&&(_0x481577[_0xe0a918]['level']=_0x1e9e49);_0x1e9e49=0x0;for(let _0x2139b0=_0x5c4272-0x1;_0x2139b0>=_0x29b87f;_0x2139b0--)0x0==_0x481577[_0x2139b0]['distance']?_0x481577[_0x2139b0]['level']=_0x1e9e49:(_0x1e9e49--,_0x481577[_0x2139b0]['level']=_0x1e9e49,_0x1e9e49--);}}['_fixObsoleteTags'](_0x47f50a){const _0x39b242=new Map(),_0x352614=this['editor']['model']['schema'];for(let _0x968114=0x1;_0x968114<_0x47f50a['length'];_0x968114++){let _0x58dd26,_0x1486f8,_0x2636cf;const _0x1dbb08=_0x47f50a[_0x968114],_0x489582=_0x47f50a[_0x968114-0x1];if('text'==_0x1dbb08['type'])continue;if(_0x1dbb08['type']!=_0x489582['type'])continue;if(!_0x352614['isBlock'](_0x489582['item'])||_0x352614['isLimit'](_0x489582['item']))continue;if(!_0x352614['isBlock'](_0x1dbb08['item'])||_0x352614['isLimit'](_0x1dbb08['item']))continue;if((_0x47f50a[_0x968114]['isAdded']||_0x47f50a[_0x968114]['isAddSuggestion'])&&_0x47f50a[_0x968114-0x1]['isRemoved'])_0x58dd26=_0x47f50a[_0x968114],_0x1486f8=_0x47f50a[_0x968114-0x1],_0x2636cf=_0x968114-0x1;else{if(!_0x47f50a[_0x968114]['isRemoved']||!_0x47f50a[_0x968114-0x1]['isAdded']&&!_0x47f50a[_0x968114-0x1]['isAddSuggestion'])continue;_0x58dd26=_0x47f50a[_0x968114-0x1],_0x1486f8=_0x47f50a[_0x968114],_0x2636cf=_0x968114;}const _0x10c59d=_0x58dd26['level']==_0x1486f8['level'],_0x3d5a75=Math['abs'](_0x58dd26['level'])<Math['abs'](_0x1486f8['level'])&&0x0==_0x1486f8['distance'];(_0x10c59d||_0x3d5a75)&&(_0x39b242['set'](_0x1486f8['id'],_0x58dd26['id']),_0x47f50a['splice'](_0x2636cf,0x1),_0x968114--,_0x58dd26['isAdded']=!0x1);}for(let _0x34b861=0x0;_0x34b861<_0x47f50a['length'];_0x34b861++)_0x39b242['has'](_0x47f50a[_0x34b861]['pairId'])&&(_0x47f50a[_0x34b861]['pairId']=_0x39b242['get'](_0x47f50a[_0x34b861]['pairId']));}['_removeMissingPairs'](_0x529115){const _0x59a42c=new Set(_0x529115['map'](_0x482150=>_0x482150['id']));for(let _0x476379=0x0;_0x476379<_0x529115['length'];_0x476379++)_0x59a42c['has'](_0x529115[_0x476379]['pairId'])||0x0==_0x529115[_0x476379]['distance']||(_0x529115[_0x476379]['isIncorrect']=!0x0);return _0x529115['filter'](_0x370449=>!_0x370449['isIncorrect']);}['_markMismatchedRemovedTags'](_0x2346bb){const _0x449096=new Set();for(let _0x5da0b4=0x0;_0x5da0b4<_0x2346bb['length'];_0x5da0b4++){if(_0x449096['has'](_0x2346bb[_0x5da0b4]['id'])&&_0x2346bb[_0x5da0b4]['isRemoved']&&(_0x2346bb[_0x5da0b4]['isIncorrect']=!0x0),_0x2346bb[_0x5da0b4]['isIncorrect'])continue;if(0x0==_0x2346bb[_0x5da0b4]['distance'])continue;if('elementStart'!=_0x2346bb[_0x5da0b4]['type'])continue;if(null==_0x2346bb[_0x5da0b4]['pairId'])continue;let _0x1474b4=_0x5da0b4+0x1,_0x59f0dd=0x0;for(;_0x2346bb[_0x1474b4]['id']!=_0x2346bb[_0x5da0b4]['pairId'];)'elementStart'==_0x2346bb[_0x1474b4]['type']?_0x59f0dd++:'elementEnd'==_0x2346bb[_0x1474b4]['type']&&_0x59f0dd--,_0x1474b4++;if(0x0!=_0x59f0dd){if(_0x2346bb[_0x5da0b4]['isRemoved'])_0x2346bb[_0x5da0b4]['isIncorrect']=!0x0;else{for(;_0x1474b4!=_0x5da0b4;)_0x2346bb[_0x1474b4]['isRemoved']&&0x0!=_0x2346bb[_0x1474b4]['distance']&&(_0x2346bb[_0x1474b4]['isIncorrect']=!0x0,_0x449096['add'](_0x2346bb[_0x1474b4]['pairId'])),_0x1474b4--;}}}return _0x2346bb['filter'](_0x3fb316=>!_0x3fb316['isIncorrect']);}['_removeUnsupportedChanges'](_0x2bddfd){const _0xb7626=this['editor']['model']['schema'];for(let _0x76d82f=0x0;_0x76d82f<_0x2bddfd['length'];_0x76d82f++){if(!(_0x2bddfd[_0x76d82f]['isAdded']||_0x2bddfd[_0x76d82f]['isAddSuggestion']||_0x2bddfd[_0x76d82f]['isRemoved']||_0x2bddfd[_0x76d82f]['isRemoveSuggestion']))continue;if(0x0==_0x2bddfd[_0x76d82f]['distance'])continue;const _0x15d17e=_0x2bddfd[_0x76d82f]['item'];_0xb7626['isBlock'](_0x15d17e)||_0xb7626['isLimit'](_0x15d17e)||(_0x2bddfd[_0x76d82f]['isAdded']&&delete _0x2bddfd[_0x76d82f]['isAdded'],_0x2bddfd[_0x76d82f]['isAddSuggestion']&&delete _0x2bddfd[_0x76d82f]['isAddSuggestion'],_0x2bddfd[_0x76d82f]['isRemoveSuggestion']&&delete _0x2bddfd[_0x76d82f]['isRemoveSuggestion'],_0x2bddfd[_0x76d82f]['isRemoved']&&(_0x2bddfd[_0x76d82f]['isIncorrect']=!0x0));}return _0x2bddfd['filter'](_0x555e60=>!_0x555e60['isIncorrect']);}['_makeModelFromTape'](_0x12644e,_0x5eb08f,_0x16c418){const _0x32fba2=new ckeditor5['ModelDocumentFragment'](),_0x20dd6f=[],_0x46f798=new Map(),_0x31ad6c=this['editor']['model'],_0x3b33a4=_0x31ad6c['schema'],_0x3f7c3c=[_0x32fba2],_0x325bd3={},_0x225288={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x10ceaa=null;const _0x262457=[0x0];for(let _0x191848=0x0;_0x191848<_0x12644e['length'];_0x191848++)if('elementStart'===_0x12644e[_0x191848]['type']){_0x12644e[_0x191848]['previousPosition']=_0x31ad6c['createPositionFromPath'](_0x32fba2,_0x262457);const _0x23e891=new ckeditor5['ModelElement'](_0x12644e[_0x191848]['item']['name'],_0x12644e[_0x191848]['item']['getAttributes']());_0x3f7c3c[0x0]['_appendChild'](_0x23e891),_0x262457['push'](0x0),_0x3f7c3c['unshift'](_0x23e891),_0x12644e[_0x191848]['nextPosition']=_0x31ad6c['createPositionFromPath'](_0x32fba2,_0x262457);}else'elementEnd'===_0x12644e[_0x191848]['type']?(_0x3f7c3c['shift'](),_0x12644e[_0x191848]['previousPosition']=_0x31ad6c['createPositionFromPath'](_0x32fba2,_0x262457),_0x262457['pop'](),_0x262457[_0x262457['length']-0x1]++,_0x12644e[_0x191848]['nextPosition']=_0x31ad6c['createPositionFromPath'](_0x32fba2,_0x262457)):(_0x12644e[_0x191848]['previousPosition']=_0x31ad6c['createPositionFromPath'](_0x32fba2,_0x262457),_0x10ceaa?_0x10ceaa['_data']+=_0x12644e[_0x191848]['item']['data']:_0x10ceaa=new ckeditor5['ModelText'](_0x12644e[_0x191848]['item']['data'],_0x12644e[_0x191848]['item']['getAttributes']()),_0x12644e[_0x191848+0x1]&&'text'===_0x12644e[_0x191848+0x1]['type']&&_0x5c400e(_0x10ceaa,_0x12644e[_0x191848+0x1]['item'])||(_0x3f7c3c[0x0]['_appendChild'](_0x10ceaa),_0x10ceaa=null),_0x262457[_0x262457['length']-0x1]+=_0x12644e[_0x191848]['item']['offsetSize'],_0x12644e[_0x191848]['nextPosition']=_0x31ad6c['createPositionFromPath'](_0x32fba2,_0x262457));for(let _0x24b38b=0x0;_0x24b38b<_0x12644e['length'];_0x24b38b++){const _0x5cf21c=_0x12644e[_0x24b38b]['previousPosition'],_0x5929e6=_0x12644e[_0x24b38b]['nextPosition'];for(const _0x28f3db of _0x12644e[_0x24b38b]['markersStart'])_0x46f798['set'](_0x28f3db,{'start':_0x5cf21c,'end':null});_0x1a1c15('isRemoveSuggestion',_0x24b38b,_0x5cf21c,_0x5929e6),_0x1a1c15('isAddSuggestion',_0x24b38b,_0x5cf21c,_0x5929e6),_0x1a1c15('isRemoved',_0x24b38b,_0x5cf21c,_0x5929e6),_0x1a1c15('isAdded',_0x24b38b,_0x5cf21c,_0x5929e6);for(const _0x4abce9 of _0x12644e[_0x24b38b]['markersEnd']){const _0x366717=_0x46f798['get'](_0x4abce9);_0x366717?_0x366717['end']=_0x5929e6:_0x46f798['set'](_0x4abce9,{'start':_0x5929e6,'end':_0x5929e6});}}for(const [_0x4aeee5,_0x82165b]of _0x46f798){const _0x5ddd32=this['editor']['model']['createRange'](_0x82165b['start'],_0x82165b['end']);_0x32fba2['markers']['set'](_0x4aeee5,_0x5ddd32);}return _0x20dd6f['sort']((_0x25df1c,_0x98a816)=>{const _0x196492=_0x32fba2['markers']['get']('revision:'+_0x25df1c['id']),_0x40e338=_0x32fba2['markers']['get']('revision:'+_0x98a816['id']);return _0x196492['start']['isBefore'](_0x40e338['start'])?-0x1:_0x196492['start']['isAfter'](_0x40e338['start'])?0x1:_0x196492['end']['isBefore'](_0x40e338['end'])?-0x1:_0x196492['end']['isAfter'](_0x40e338['end'])?0x1:'add'===_0x25df1c['type']?-0x1:0x1;}),{'root':_0x32fba2,'changes':_0x20dd6f};function _0x1a1c15(_0xfb81ed,_0x574675,_0x1be9a3,_0x574f3a){const _0x202b8b=!!_0x12644e[_0x574675][_0xfb81ed],_0x3099d2=_0x202b8b?_0x12644e[_0x574675][_0xfb81ed]['userId']:null,_0x7afa8c=_0x574675===_0x12644e['length']-0x1,_0x271944=_0x225288[_0xfb81ed][0x0],_0x41479=_0x3b33a4['isObject'](_0x12644e[_0x574675]['item']);!_0x325bd3[_0xfb81ed]&&_0x202b8b?_0x325bd3[_0xfb81ed]={'start':_0x1be9a3,'tapeItem':_0x12644e[_0x574675],'userId':_0x3099d2,'type':_0xfb81ed}:_0x325bd3[_0xfb81ed]&&!_0x202b8b?(_0x325bd3[_0xfb81ed]['end']=_0x1be9a3,_0x5216e1(_0x325bd3[_0xfb81ed]),_0x325bd3[_0xfb81ed]=null):_0x325bd3[_0xfb81ed]&&_0x202b8b&&_0x325bd3[_0xfb81ed]['userId']!==_0x3099d2&&(_0x325bd3[_0xfb81ed]['end']=_0x1be9a3,_0x271944&&_0x271944['userId']===_0x325bd3[_0xfb81ed]['userId']||_0x5216e1(_0x325bd3[_0xfb81ed]),_0x325bd3[_0xfb81ed]={'start':_0x1be9a3,'tapeItem':_0x12644e[_0x574675],'userId':_0x3099d2,'type':_0xfb81ed}),_0x325bd3[_0xfb81ed]&&_0x41479&&('elementStart'!==_0x12644e[_0x574675]['type']||_0x271944&&_0x271944['userId']===_0x3099d2||_0x225288[_0xfb81ed]['unshift']({'userId':_0x3099d2,'object':_0x12644e[_0x574675]['item'],'change':_0x325bd3[_0xfb81ed]}),'elementEnd'===_0x12644e[_0x574675]['type']&&_0x271944&&_0x271944['object']===_0x12644e[_0x574675]['item']&&(_0x225288[_0xfb81ed]['shift'](),_0x325bd3[_0xfb81ed]=_0x271944['change'])),_0x325bd3[_0xfb81ed]&&_0x7afa8c&&(_0x325bd3[_0xfb81ed]['end']=_0x574f3a,_0x5216e1(_0x325bd3[_0xfb81ed]),_0x325bd3[_0xfb81ed]=null);}function _0x5216e1({start:_0x11615a,end:_0x36e9f2,tapeItem:_0x21ce5f,userId:_0x4914c3,type:_0x262266}){const _0x4bb33e=_0x21ce5f['item'],_0x35dd01=_0x31ad6c['schema']['isBlock'](_0x4bb33e)&&!_0x31ad6c['schema']['isLimit'](_0x4bb33e),_0x523a73=_0x11615a['nodeAfter']==_0x36e9f2['parent']&&_0x36e9f2['isAtStart'];if(_0x35dd01&&_0x523a73)return;const _0x3cb569=_0x31ad6c['createRange'](_0x11615a,_0x36e9f2),_0x1bfc4f=_0x5eb08f['get'](_0x4914c3),_0x29b94f=new ChangeItem({'author':_0x1bfc4f,'type':'isAdded'==_0x262266||'isAddSuggestion'==_0x262266?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x262266||'isRemoveSuggestion'==_0x262266},'createdAt':new Date(),'rootName':_0x16c418});_0x20dd6f['push'](_0x29b94f),_0x32fba2['markers']['set']('revision:'+_0x29b94f['id'],_0x3cb569);}function _0x5c400e(_0x3be973,_0x1e8a3d){const _0x353d23=_0x3be973['getAttributes'](),_0xd0403c=_0x1e8a3d['getAttributes']();for(const _0x4eab07 of _0x353d23){if(_0x4eab07[0x1]!==_0x1e8a3d['getAttribute'](_0x4eab07[0x0]))return!0x1;_0xd0403c['next']();}return _0xd0403c['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x39dc18=>{const _0x3eb09b=_0x39dc18['markerName']['split'](':')[0x1],_0x184c08=this['_getChangeFromId'](_0x3eb09b);if(!_0x184c08)return null;const _0x4277f5='add'==_0x184c08['type']?'insertion':'deletion',_0x1b35b2=['ck-suggestion-marker','ck-suggestion-marker-'+_0x4277f5];return _0x184c08['data']['isSuggestion']&&_0x1b35b2['push']('ck-suggestion-marker-'+_0x4277f5+'-new'),this['activeChange']==_0x184c08&&_0x1b35b2['push']('ck-suggestion-marker--active'),{'classes':_0x1b35b2,'attributes':{'data-change-id':_0x3eb09b}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x5c612a=>{_0x5c612a['on']('element:pre',(_0x190bee,_0x4fda8f,_0xf985c7)=>{const _0x42f88d=_0x4fda8f['viewItem']['getChild'](0x0);if(!_0x42f88d||!_0x42f88d['is']('element','code'))return;if(!_0xf985c7['consumable']['consume'](_0x42f88d,{'attributes':['vid_start','vid_end']}))return;const _0x7856b2=_0x4fda8f['modelRange']['start']['nodeAfter'];_0xf985c7['writer']['setAttribute']('vid_start',_0x42f88d['getAttribute']('vid_start'),_0x7856b2),_0xf985c7['writer']['setAttribute']('vid_end',_0x42f88d['getAttribute']('vid_end'),_0x7856b2);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x3f4f0e=>{_0x3f4f0e['on']('element',(_0x2a5bc1,_0x5ada6e,_0x3f70e0)=>{if(!_0x3f70e0['consumable']['consume'](_0x5ada6e['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x5ada6e['modelRange']['isCollapsed'])return;const _0x5baec3=_0x5ada6e['modelRange']['start']['nodeAfter'];_0x5baec3['hasAttribute']('vid_start')||_0x5baec3['hasAttribute']('vid')||(_0x3f70e0['writer']['setAttribute']('vid_start',_0x5ada6e['viewItem']['getAttribute']('vid_start'),_0x5baec3),_0x3f70e0['writer']['setAttribute']('vid_end',_0x5ada6e['viewItem']['getAttribute']('vid_end'),_0x5baec3));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x218aa3=>_0x218aa3['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x27917a,[,_0x204024])=>{['vid_start','vid_end','vid']['includes'](_0x204024)&&(_0x27917a['return']=!0x0,_0x27917a['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x1cfed2=>{_0x1cfed2['on']('attribute:vid',(_0x296f8e,_0x4446a4,_0x54ae85)=>{if('\x20'!=_0x4446a4['item']['data']||_0x4446a4['item']['parent']['maxOffset']>0x1)return;if(!_0x54ae85['consumable']['consume'](_0x4446a4['item'],_0x296f8e['name']))return;const _0x58ff8f=_0x54ae85['writer'],_0x885132=_0x54ae85['mapper']['toViewRange'](_0x4446a4['range']);_0x58ff8f['wrap'](_0x885132,_0x58ff8f['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',downcastSplitMergeMarker(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x1c9bff,_0x559753,_0x37cca0)=>{const _0x372c52=_0x37cca0['mapper']['markerNameToElements'](_0x559753['markerName']);if(_0x372c52){for(const _0x52ce6a of _0x372c52)(_0x52ce6a['hasClass']('ck-suggestion-marker-split')||_0x52ce6a['hasClass']('ck-suggestion-marker-merge'))&&(_0x37cca0['mapper']['unbindElementFromMarkerName'](_0x52ce6a,_0x559753['markerName']),_0x37cca0['writer']['remove'](_0x52ce6a));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x220800,_0x5b6f4e,_0x12446e)=>{const _0x58b362=_0x5b6f4e['markerName']['split'](':')[0x1],_0x50680a=this['_getChangeFromId'](_0x58b362);if(!_0x50680a)return null;const _0x16f5d2='add'==_0x50680a['type']?'split':'merge';if(_0x12446e['consumable']['test'](_0x5b6f4e['markerRange'],_0x220800['name']))for(const _0x5a2c01 of _0x5b6f4e['markerRange']['getItems']()){if(!_0x5a2c01['is']('element','softBreak'))continue;const _0x393b83=_0x12446e['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x16f5d2}),_0x4a1998=_0x12446e['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x5a2c01));_0x50680a['data']['isSuggestion']&&_0x12446e['writer']['addClass']('ck-suggestion-marker-'+_0x16f5d2+'-new',_0x393b83),this['activeChange']==_0x50680a&&_0x12446e['writer']['addClass']('ck-suggestion-marker--active',_0x393b83),_0x12446e['writer']['insert'](_0x4a1998,_0x393b83),_0x12446e['mapper']['bindElementToMarker'](_0x393b83,_0x5b6f4e['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x220a04=>{for(const _0x5a4c64 of this['editor']['model']['document']['getRootNames']()){const _0x21b946=this['editor']['model']['document']['getRoot'](_0x5a4c64),_0x1dc02b=this['editor']['editing']['view']['document']['getRoot'](_0x5a4c64);if(_0x1dc02b){const _0x2851aa=_0x21b946['getAttribute']('revisionHistoryAttachChange');if(_0x220a04['removeAttribute']('data-change-id',_0x1dc02b),_0x220a04['removeClass']('ck-revision-history-root-add',_0x1dc02b),_0x220a04['removeClass']('ck-revision-history-root-remove',_0x1dc02b),_0x220a04['removeClass']('ck-revision-history-root--active',_0x1dc02b),_0x2851aa){const _0x14eb14=this['_getChangeFromId'](_0x2851aa);if(!_0x14eb14)return null;_0x220a04['setAttribute']('data-change-id',_0x2851aa,_0x1dc02b),_0x220a04['addClass']('ck-revision-history-root-'+_0x14eb14['type'],_0x1dc02b),this['activeChange']==_0x14eb14&&_0x220a04['addClass']('ck-revision-history-root--active',_0x1dc02b);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x58f29c=>'revision-comment:'+_0x58f29c,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x1cd9ed=>'revision-suggestion:'+_0x1cd9ed,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x374949=>({'name':'suggestion:'+_0x374949,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0xd0cd48=>{const _0x3406ce=_0xd0cd48['markerName']['split'](':')[0x1];return'insertion'!=_0x3406ce&&'deletion'!=_0x3406ce?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x3406ce]};}}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:deletion',downcastSplitMergeMarkerSuggestion(this['editor'],'merge'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:insertion',downcastSplitMergeMarkerSuggestion(this['editor'],'split'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision-suggestion',(_0x423395,_0x3244f0,_0x4e2df9)=>{const _0x1e3f1e=_0x4e2df9['mapper']['markerNameToElements'](_0x3244f0['markerName']);if(_0x1e3f1e){for(const _0x436f29 of _0x1e3f1e)_0x436f29['is']('uiElement')&&(_0x4e2df9['mapper']['unbindElementFromMarkerName'](_0x436f29,_0x3244f0['markerName']),_0x4e2df9['writer']['remove'](_0x436f29));}},{'priority':'high'});}['_getChangeFromId'](_0x402883){return this['_changeIdToChange']['get'](_0x402883);}['_getViewForChange'](_0x53ef79){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new ChangeDetailsView(this['editor']['locale'],_0x53ef79),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x2e5206,_0x42a967,_0x475c60,_0x3c7533)=>{_0x3c7533&&this['_balloon']['remove'](_0x3c7533),_0x475c60&&(this['_balloon']['add']({'view':_0x475c60,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x2abf84=this['editor']['editing'],_0x5733ab=this['_getChangeFromId'](_0x475c60['changeId']);let _0x53ea6a;if(_0x5733ab['data']['isOnRoot']){const _0x31808b=_0x2abf84['view']['getDomRoot'](_0x5733ab['rootName']);_0x53ea6a=Array['from'](_0x31808b['getClientRects']());}else{const _0x27633d=this['editor']['model']['markers']['get']('revision:'+_0x475c60['changeId']);_0x53ea6a=Array['from'](_0x2abf84['mapper']['markerNameToElements'](_0x27633d['name']))['map'](_0x140a0e=>_0x2abf84['view']['domConverter']['mapViewToDom'](_0x140a0e))['map'](_0x1facf3=>Array['from'](_0x1facf3['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x53ea6a[0x0];return _0x53ea6a['find'](_0x41facb=>_0x41facb['top']-0x3<=this['_activeViewTarget']['y']&&_0x41facb['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x41facb['left']-0x3<=this['_activeViewTarget']['x']&&_0x41facb['right']+0x3>=this['_activeViewTarget']['x'])||_0x53ea6a[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0xf09569,_0x36ff77,_0x59bcad,_0x3ba99d)=>{this['activeView']=_0x59bcad?this['_getViewForChange'](_0x59bcad):null,this['editor']['model']['change'](()=>{const _0x5affe5=this['editor']['editing'];_0x3ba99d&&(_0x3ba99d['data']['isOnRoot']?_0x5affe5['view']['change'](_0x1e6cce=>{_0x1e6cce['removeClass']('ck-revision-history-root--active',_0x5affe5['view']['document']['getRoot'](_0x3ba99d['rootName']));}):_0x5affe5['reconvertMarker']('revision:'+_0x3ba99d['id'])),_0x59bcad&&(_0x59bcad['data']['isOnRoot']?_0x5affe5['view']['change'](_0x3c22dc=>{_0x3c22dc['addClass']('ck-revision-history-root--active',_0x5affe5['view']['document']['getRoot'](_0x59bcad['rootName']));}):_0x5affe5['reconvertMarker']('revision:'+_0x59bcad['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x2de362,_0xbdabb2)=>{if(this['activeChange'])return;const _0x793c85=this['_findChangeIdFromDomTarget'](_0xbdabb2['target']),_0x3034a0=this['_changeIdToChange']['get'](_0x793c85);_0x3034a0?(this['_activeViewTarget']={'x':_0xbdabb2['domEvent']['x'],'y':_0xbdabb2['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x3034a0)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x1e93ff,_0x277eac)=>{const _0x286874=this['_findChangeIdFromDomTarget'](_0x277eac['target']),_0x12f9a6=this['_changeIdToChange']['get'](_0x286874);_0x12f9a6?(this['_activeViewTarget']={'x':_0x277eac['domEvent']['x'],'y':_0x277eac['domEvent']['y']},_0x12f9a6===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x12f9a6):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x3a9d40){do{const _0x47595d=_0x3a9d40['getAttribute']('data-change-id');if(_0x47595d)return _0x47595d;_0x3a9d40=_0x3a9d40['parent'];}while(_0x3a9d40);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x3606cb=>{for(const _0x363141 of this['editor']['model']['markers'])_0x3606cb['removeMarker'](_0x363141);});}}function downcastSplitMergeMarker(_0x473ae8){const _0x2b0ca3=_0x473ae8['plugins']['get']('RevisionViewer');return(_0x51ac89,_0x322ef5,_0xf2a3f8)=>{const _0x33b98b=_0x322ef5['markerName']['split'](':')[0x1],_0x52892c=_0x2b0ca3['_getChangeFromId'](_0x33b98b);if(!_0x52892c)return null;const _0x199573='add'==_0x52892c['type']?'split':'merge';if(!_0xf2a3f8['consumable']['test'](_0x322ef5['markerRange'],_0x51ac89['name']))return;const _0x10e890=_0x322ef5['markerRange']['getWalker'](),_0x380339=_0x322ef5['markerRange']['start'],_0x26554c=_0x473ae8['model']['schema'];let _0x59ad6f=null,_0x2d4d4d=null,_0x1284e6=!0x1,_0x179ea5=!0x1;for(const _0x2f18a7 of _0x10e890){const _0x31a73b=_0x2f18a7['item'];_0x1284e6=_0x1284e6||_0x26554c['isContent'](_0x31a73b);const _0x97681a=_0xf2a3f8['mapper']['toViewElement'](_0x31a73b);if(_0x97681a&&_0x97681a['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x2f18a7['type']&&(_0x26554c['isBlock'](_0x31a73b)&&!_0x26554c['isLimit'](_0x31a73b)&&(_0x31a73b['nextSibling']||_0x380339['isAtEnd']?_0x59ad6f&&_0x59ad6f['parent']==_0x31a73b||(_0x59ad6f=_0x31a73b,_0x1f388c(_0x2f18a7['previousPosition']),_0x179ea5=!0x0):_0x2d4d4d=_0x2d4d4d||_0x2f18a7['previousPosition']));}function _0x1f388c(_0x1e4ff7){const _0x30a435=_0xf2a3f8['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x199573}),_0x2c2751=_0xf2a3f8['mapper']['toViewPosition'](_0x1e4ff7);_0x52892c['data']['isSuggestion']&&_0xf2a3f8['writer']['addClass']('ck-suggestion-marker-'+_0x199573+'-new',_0x30a435),_0x2b0ca3['activeChange']==_0x52892c&&_0xf2a3f8['writer']['addClass']('ck-suggestion-marker--active',_0x30a435),_0xf2a3f8['writer']['insert'](_0x2c2751,_0x30a435),_0xf2a3f8['mapper']['bindElementToMarker'](_0x30a435,_0x322ef5['markerName']);}_0x1284e6||_0x179ea5||!_0x2d4d4d||_0x1f388c(_0x2d4d4d);};}function downcastSplitMergeMarkerSuggestion(_0x37e2df,_0x18f586){return(_0x2ce6bf,_0x4232dc,_0xdbd0c1)=>{if(!_0xdbd0c1['consumable']['test'](_0x4232dc['markerRange'],_0x2ce6bf['name']))return;const _0xce9488=_0x4232dc['markerRange']['getWalker'](),_0x1b50ac=_0x4232dc['markerRange']['start'],_0x2051c8=_0x37e2df['model']['schema'];let _0x43dc38=null,_0x127da8=null,_0x3fd4a7=!0x1,_0x4de396=!0x1;for(const _0x30dd35 of _0xce9488){const _0x21093f=_0x30dd35['item'];_0x3fd4a7=_0x3fd4a7||_0x2051c8['isContent'](_0x21093f);const _0x26de69=_0xdbd0c1['mapper']['toViewElement'](_0x21093f);if(_0x26de69&&_0x26de69['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x30dd35['type']&&(_0x2051c8['isBlock'](_0x21093f)&&!_0x2051c8['isLimit'](_0x21093f)&&(_0x21093f['nextSibling']||_0x1b50ac['isAtEnd']?_0x43dc38&&_0x43dc38['parent']==_0x21093f||(_0x43dc38=_0x21093f,_0x34352d(_0x30dd35['previousPosition']),_0x4de396=!0x0):_0x127da8=_0x127da8||_0x30dd35['previousPosition']));}function _0x34352d(_0x4b36ce){const _0x3153d1=_0xdbd0c1['mapper']['toViewPosition'](_0x4b36ce),_0x17d41f=_0xdbd0c1['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x18f586});_0xdbd0c1['writer']['insert'](_0x3153d1,_0x17d41f),_0xdbd0c1['mapper']['bindElementToMarker'](_0x17d41f,_0x4232dc['markerName']);}_0x3fd4a7||_0x4de396||!_0x127da8||_0x34352d(_0x127da8);};}class RestoreRevisionCommand extends ckeditor5['Command']{constructor(_0x23436e){super(_0x23436e);const _0x45bd7b=_0x23436e['plugins']['get'](_0x23f74e);this['affectsData']=!0x1,this['listenTo'](_0x45bd7b,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x45bd7b,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x47dcc9=this['editor'],_0x468675=_0x47dcc9['plugins']['get'](_0x23f74e),_0x5ba9d7=_0x468675['isReady']?_0x468675['diff']['newRevisionId']:null;_0x47dcc9['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x5ba9d7);}['refresh'](){const {isReady:_0xee09db,isEnabled:_0x516bc5,repository:_0x2c8d11,diff:_0x141f40}=this['editor']['plugins']['get'](_0x23f74e),_0x1d8899=_0x141f40&&_0x2c8d11['getLaterVisibleRevision'](_0x141f40['newRevisionId']);this['isEnabled']=_0xee09db&&_0x516bc5&&Boolean(_0x1d8899);}}class _0x4965ec extends ckeditor5['Command']{['_step'];constructor(_0x2f5ad,{direction:_0x585ee5}){super(_0x2f5ad);const _0x2d8e43=_0x2f5ad['plugins']['get'](_0x23f74e);this['affectsData']=!0x1,this['_step']='forward'===_0x585ee5?0x1:-0x1,this['listenTo'](_0x2d8e43,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x2d8e43,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x2d8e43,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x2995d1=this['editor'],_0x586d59=_0x2995d1['plugins']['get'](_0x23f74e),{isNavigationMode:_0x185bf3,currentChangeNumber:_0x561ed5}=_0x586d59;let _0x5d78f4;if(_0x586d59['activeChange']=_0x185bf3?_0x586d59['diff']['changes']['get'](_0x561ed5+this['_step']):_0x586d59['diff']['changes']['first'],_0x586d59['activeChange']['data']['isOnRoot'])_0x5d78f4=_0x2995d1['editing']['view']['getDomRoot'](_0x586d59['activeChange']['rootName']);else{const _0x4e14e4=_0x2995d1['model']['markers']['get']('revision:'+_0x586d59['activeChange']['id']);_0x5d78f4=getMarkerDomElement(_0x2995d1['editing'],_0x4e14e4);}ckeditor5['scrollViewportToShowTarget']({'target':_0x5d78f4,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x240f80,currentChangeNumber:_0x2b3564,numberOfChanges:_0x306905,isReady:_0x2f4861,isEnabled:_0x1ee893}=this['editor']['plugins']['get'](_0x23f74e);this['isEnabled']=!!(_0x1ee893&&_0x2f4861&&_0x306905)&&(!_0x240f80||(0x1===this['_step']?_0x2b3564<_0x306905-0x1:_0x2b3564>0x0));}}class ChangesNavigationView extends ckeditor5['View']{constructor(_0x1ff823){super(_0x1ff823);const _0x21d3a6=this['bindTemplate'],_0x4b2810=new ckeditor5['ButtonView'](_0x1ff823),_0x44dcbf=new ckeditor5['ButtonView'](_0x1ff823);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',(_0x27ae54,_0x5baa13)=>_0x27ae54&&_0x5baa13>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x17a014,_0x29201c,_0xadac00,_0x5bdf74)=>{if(!_0x17a014)return getTranslation$4(_0x1ff823,'Loading...');if(!_0xadac00)return getTranslation$4(_0x1ff823,'No\x20changes');const _0x124718=getTranslation$4(_0x1ff823,'NUMBER_OF_CHANGES',_0xadac00);return _0x5bdf74?getTranslation$4(_0x1ff823,'X_OF_Y_CHANGES',[_0x29201c+0x1,_0xadac00]):_0x124718;}),_0x4b2810['set']({'label':getTranslation$4(_0x1ff823,'Show\x20previous\x20change'),'tooltip':!0x0,'icon':ckeditor5['IconChevronUp']}),_0x44dcbf['set']({'label':getTranslation$4(_0x1ff823,'Show\x20next\x20change'),'tooltip':!0x0,'icon':ckeditor5['IconChevronDown']}),_0x4b2810['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x44dcbf['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x4b2810['on']('execute',()=>this['fire']('execute','backward')),_0x44dcbf['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',_0x21d3a6['if']('_isStatusLabelVisible','ck-hidden',_0x47735a=>!_0x47735a)]},'children':[{'text':_0x21d3a6['to']('isNavigationMode',_0x2ca1a4=>_0x2ca1a4?getTranslation$4(_0x1ff823,'EDIT_X_OF_Y_REVISIONS')+':\x20':getTranslation$4(_0x1ff823,'Total')+':\x20')}]},{'text':_0x21d3a6['to']('_statusText')}]},new ckeditor5['ToolbarSeparatorView'](),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x4b2810,_0x44dcbf]}]});}}const _0x18ffbb='ck-editor__editable__loading-overlay';class _0x20532a extends ckeditor5['Plugin']{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['show'](){const _0x4d1a5b=this['editor']['editing']['view'];_0x4d1a5b['change'](_0x2cd79a=>{for(const _0x2a0b23 of _0x4d1a5b['document']['roots'])_0x2cd79a['addClass'](_0x18ffbb,_0x2a0b23);});}['hide'](){const _0x2b2c69=this['editor']['editing']['view'];_0x2b2c69['change'](_0x58a7a7=>{for(const _0xba49cf of _0x2b2c69['document']['roots'])_0x58a7a7['removeClass'](_0x18ffbb,_0xba49cf);});}}class _0x37a5e7 extends ckeditor5['Plugin']{static get['pluginName'](){return'RevisionViewerUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x23f74e,_0x20532a];}['init'](){const _0xa00244=this['editor'],_0x2ecc93=_0xa00244['plugins']['get'](_0x23f74e),_0x3ed2c5=_0xa00244['plugins']['get'](_0x20532a);_0xa00244['ui']['componentFactory']['add']('exitToEditing',_0x19aaf4=>{const _0xa049d4=new ckeditor5['ButtonView'](_0x19aaf4);return _0xa049d4['set']({'label':getTranslation$4(_0x19aaf4,'Back\x20to\x20editing'),'icon':ckeditor5['IconUndo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0xa049d4,'execute',()=>{_0xa00244['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0xa049d4;}),_0xa00244['ui']['componentFactory']['add']('restoreRevision',_0x59a143=>{const _0x158922=new ckeditor5['ButtonView'](_0x59a143);return _0x158922['set']({'label':getTranslation$4(_0x59a143,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x158922['bind']('isEnabled')['to'](_0xa00244['commands']['get']('restoreRevision')),this['listenTo'](_0x158922,'execute',()=>_0xa00244['execute']('restoreRevision')),_0x158922;}),_0xa00244['ui']['componentFactory']['add']('changesNavigation',_0x370c07=>{const _0x389fc0=new ChangesNavigationView(_0x370c07),_0x61080d=_0xa00244['commands']['get']('showPreviousChange'),_0x34c897=_0xa00244['commands']['get']('showNextChange');return _0x389fc0['bind']('isBackwardNavigationEnabled')['to'](_0x61080d,'isEnabled'),_0x389fc0['bind']('isForwardNavigationEnabled')['to'](_0x34c897,'isEnabled'),_0x389fc0['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x2ecc93),this['listenTo'](_0x389fc0,'execute',(_0x4044bc,_0x1694fc)=>{_0xa00244['execute']('forward'===_0x1694fc?'showNextChange':'showPreviousChange');}),_0x389fc0;}),_0x3ed2c5['show'](),_0x2ecc93['on']('change:isReady',(_0xba6d53,_0x58e83e,_0x506189)=>{_0x506189?_0x3ed2c5['hide']():_0x3ed2c5['show']();});}}class _0x17e5bf extends ckeditor5['LabeledFieldView']{['_resizeObserver']=null;constructor(_0x2ecfc5,_0x11e18e){super(_0x2ecfc5,_0x11e18e);const _0x861ec9=this['bindTemplate'];this['set']({'label':getTranslation$4(_0x2ecfc5,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=getTranslation$4(_0x2ecfc5,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x861ec9['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}['render'](){super['render'](),this['_resizeObserver']=new ckeditor5['ResizeObserver'](this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x2ce14b=this['fieldView']['element'];this['_tooltipString']=_0x2ce14b['scrollWidth']>_0x2ce14b['clientWidth']&&_0x2ce14b['value']||'';}}class RevisionAuthorView extends ckeditor5['View']{constructor(_0x34fa08,_0x3b8643,_0x46376b){super(_0x34fa08);const _0x315778=new ckeditor5['IconView']();_0x315778['set']({'content':ckeditor5['IconUser'],'viewBox':'0\x200\x2011\x2010'});const _0x3d55af=['ck','ck-revision-history-sidebar__revision-author'];_0x46376b&&_0x3d55af['push']('ck-revision-history-sidebar__revision-author_creator');const _0x5370c8=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':getTranslation$4(_0x34fa08,_0x46376b?'Revision\x20creator':'Revision\x20author')},'children':[_0x315778,_0x3b8643['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x3d55af},'children':_0x5370c8});}}function dateToPrettyFormat(_0x53cc15,_0x3d6cbc){return _0x3d6cbc['toLocaleDateString'](_0x53cc15,{'month':'long','day':'numeric'})+',\x20'+_0x3d6cbc['toLocaleTimeString'](_0x53cc15,{'hour':'numeric','minute':'numeric'});}function createActionsDropdownView(_0x38b975,_0x42b090){const _0x399ee9=_0x38b975['bindTemplate'],_0x269cf9=_0x38b975['locale'],_0x22d96b=ckeditor5['createDropdown'](_0x269cf9);_0x22d96b['panelPosition']='sw';const _0x2a631a=_createDropdownOptions(_0x38b975,_0x42b090);return _0x38b975['bind']('isActionsDropdownOpen')['to'](_0x22d96b,'isOpen'),_0x22d96b['buttonView']['set']({'label':getTranslation$4(_0x269cf9,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':ckeditor5['IconThreeVerticalDots']}),_0x22d96b['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x399ee9['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x399ee9['to'](_0x4b423b=>_0x4b423b['stopPropagation']())}}),_0x22d96b['on']('execute',_0x530614=>{_0x38b975['isReady']&&'function'==typeof _0x530614['source']['_action']&&_0x530614['source']['_action'](_0x38b975);}),ckeditor5['addListToDropdown'](_0x22d96b,_0x2a631a,{'role':'menu'}),_0x22d96b['listenTo'](_0x38b975,'change:isActionsDropdownOpen',(_0x22bad4,_0x28607c,_0x419e91)=>{if(_0x419e91)for(const _0x3c50cb of _0x22d96b['listView']['items']){const _0x1ce9ad=_0x3c50cb['children']['first'],_0x49eccf=_0x42b090['find'](_0x488548=>_0x488548['action']===_0x1ce9ad['_action'])['isVisible'];_0x3c50cb['isVisible']=void 0x0===_0x49eccf||_0x49eccf(_0x38b975);}}),_0x22d96b;}function _createDropdownOptions(_0x265329,_0x5d3d12){const _0x153a93=_getLocalizedOptions(_0x265329,_0x5d3d12),_0x52bfe8=new ckeditor5['Collection']();for(const _0x378555 of _0x153a93){const _0x9ce121={'type':'button','model':new ckeditor5['UIModel']({'label':_0x378555['name'],'class':_0x378555['class'],'withText':!0x0,'role':'menuitem','_action':_0x378555['action']})};_0x9ce121['model']['bind']('isEnabled')['to'](_0x265329,'isActionsDropdownOpen',_0x1745fd=>'function'!=typeof _0x378555['isEnabled']||(!_0x1745fd||_0x378555['isEnabled'](_0x265329))),_0x52bfe8['add'](_0x9ce121);}return _0x52bfe8;}function _getLocalizedOptions(_0x1b9eb8,_0x1807d7){const _0x2069fe=_0x1b9eb8['locale'],_0x59af12={'Compare\x20against\x20selected':getTranslation$4(_0x2069fe,'Compare\x20against\x20selected'),'Name\x20this\x20revision':getTranslation$4(_0x2069fe,'Name\x20this\x20revision'),'Restore\x20this\x20revision':getTranslation$4(_0x2069fe,'Restore\x20this\x20revision')};return _0x1807d7['map'](_0x5e1d6a=>{const _0xfc641f=_0x59af12[_0x5e1d6a['name']];return _0xfc641f&&_0xfc641f!==_0x5e1d6a['name']&&(_0x5e1d6a['name']=_0xfc641f),_0x5e1d6a;});}class _0x4ab49d extends/* #__PURE__ -- @preserve */
_0x3102e5(ckeditor5['View']){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x39b009,_0x3aec7b,_0x4224f1,_0x417dbd){super(_0x39b009);const _0x2b4df5=this['bindTemplate'],_0x5b70ca=getAuthorViews(_0x39b009,_0x3aec7b);this['id']=_0x3aec7b['id'],this['_revision']=_0x3aec7b,this['_requireRevisionName']=_0x417dbd,this['bind']('name','createdAt')['to'](_0x3aec7b),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x4ff5fc=>dateToPrettyFormat(_0x39b009['uiLanguage'],_0x4ff5fc)),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new _0x17e5bf(_0x39b009,ckeditor5['createLabeledInputText']),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x39e773=>_0x39e773||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x30e783,_0x215ad3)=>_0x30e783&&_0x215ad3),this['revisionActionsView']=_0x4224f1&&_0x4224f1['length']?createActionsDropdownView(this,_0x4224f1):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x2b4df5['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x2b4df5['if']('isEnabled','ck-disabled',_0x38d145=>!_0x38d145),_0x2b4df5['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x2b4df5['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x2b4df5['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':_0x2b4df5['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':_0x5b70ca}]},this['revisionActionsView']],'on':{'click':_0x2b4df5['to'](_0x19b0a7=>{_0x19b0a7['srcElement']['closest']('.ck-confirm-view')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x235cdd=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x235cdd,'change',()=>{this['_requireRevisionName']&&!_0x235cdd['value']||this['fire']('setName',{'id':this['id'],'name':_0x235cdd['value']}),_0x235cdd['value']||(_0x235cdd['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}}function getAuthorViews(_0x3d0d2d,_0x1be639){const _0x5292f8=Array['from'](_0x1be639['authors'])['filter'](_0x54ece0=>_0x54ece0!=_0x1be639['creator']);return _0x1be639['creator']&&_0x5292f8['unshift'](_0x1be639['creator']),_0x5292f8['map'](_0x2a106b=>new RevisionAuthorView(_0x3d0d2d,_0x2a106b,_0x2a106b==_0x1be639['creator']));}function getDateTimePeriodInfo(_0x18e0e2,_0x32ac6d){const _0x116576=DateTime['fromJSDate'](_0x18e0e2)['setLocale'](_0x32ac6d),_0x501d38=DateTime['local'](),_0x15bf63=_0x501d38['minus']({'days':0x1})['startOf']('day');let _0x55a487,_0x4bd446;return _0x116576['hasSame'](_0x501d38,'day')?(_0x55a487=_0x116576['startOf']('day')['toJSDate'](),_0x4bd446=_0x116576['toRelativeCalendar']()):_0x116576['hasSame'](_0x15bf63,'day')?(_0x55a487=_0x15bf63['toJSDate'](),_0x4bd446=_0x116576['toRelativeCalendar']()):_0x116576['hasSame'](_0x501d38,'week')?(_0x55a487=_0x116576['startOf']('week')['toJSDate'](),_0x4bd446=_0x116576['weekdayLong']||''):_0x116576['hasSame'](_0x501d38,'year')?(_0x55a487=_0x116576['startOf']('month')['toJSDate'](),_0x4bd446=_0x116576['monthLong']||''):(_0x55a487=_0x116576['startOf']('year')['toJSDate'](),_0x4bd446=String(_0x116576['year'])),{'startDate':_0x55a487,'localizedPeriodName':_0x4bd446};}class _0x5b21f5 extends ckeditor5['View']{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x59f653,_0x300f54,_0x1c330e,_0x4b683e){super(_0x59f653);const _0x1da855=getDateTimePeriodInfo(_0x300f54,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x300f54,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x1c330e,this['_requireRevisionName']=_0x4b683e,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':_0x1da855}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x1c6cac){const _0x2d967b=new _0x4ab49d(this['locale'],_0x1c6cac,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x2d967b);}['removeRevision'](_0x1fe54c){const _0x122f08=this['revisionViews']['find'](_0x214a0b=>_0x214a0b['id']===_0x1fe54c['id']);this['revisionViews']['remove'](_0x122f08);}}class _0x5a791c extends ckeditor5['View']{constructor(_0x119bc7){super(_0x119bc7);const _0x2a164b=new ckeditor5['IconView']();_0x2a164b['content']=ckeditor5['IconHistory'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x2a164b,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[getTranslation$4(_0x119bc7,'Revision\x20history')]}]});}}class _0x4b8992 extends ckeditor5['View']{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0xe9c07c,_0x35ec4f,_0x5a82d7,_0x5a9165){super(_0xe9c07c);const _0x56ff86=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x35ec4f,this['_revisionActions']=_0x5a82d7,this['_requireRevisionName']=_0x5a9165,this['on']('select',(_0xa17ffe,_0x2a7ae1)=>{this['fire']('revisionSelected',_0x2a7ae1);}),this['on']('setName',(_0x3e3059,_0x51a5b8)=>{this['fire']('revisionSetName',_0x51a5b8);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new _0x5a791c(_0xe9c07c),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x56ff86['if']('isEnabled','ck-disabled',_0x3f9945=>!_0x3f9945)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x524d57 of this['_revisions'])this['_addRevision'](_0x524d57);this['_revisions']['on']('add',(_0x420a76,_0x3ce4ad)=>{this['_addRevision'](_0x3ce4ad);}),this['_revisions']['on']('remove',(_0x546676,_0x59a412)=>{this['_removeRevision'](_0x59a412);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x4cae63=>_0x4cae63['revisionViews']['map'](_0xa457bb=>_0xa457bb))['flat']();}['selectRevision'](_0x10af28){for(const _0x862e83 of this['revisionViews'])_0x10af28&&_0x10af28['id']===_0x862e83['id']?_0x862e83['select']():_0x862e83['deselect']();}['highlightRevisions'](_0x2beac1){for(const _0x59b091 of this['revisionViews'])_0x2beac1['some'](({id:_0x33e755})=>_0x33e755===_0x59b091['id'])?_0x59b091['highlight']():_0x59b091['unhighlight']();}['_addRevision'](_0x540350){const _0x28a95f=getDateTimePeriodInfo(_0x540350['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x10424f=this['_getTimePeriodViewByStartDate'](_0x28a95f);_0x10424f||(_0x10424f=new _0x5b21f5(this['locale'],_0x28a95f,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x10424f)),_0x10424f['addRevision'](_0x540350);}['_removeRevision'](_0x3206db){const _0x15b38c=getDateTimePeriodInfo(_0x3206db['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x15b38c)['removeRevision'](_0x3206db);}['_getTimePeriodViewByStartDate'](_0x22adc5){return this['timePeriodViews']['find'](_0x50099c=>_0x50099c['startDate']['getTime']()===_0x22adc5['getTime']());}}class _0x50e2fa extends ckeditor5['Plugin']{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
((()=>['compareAgainstSelected','restoreRevision','nameRevision'])());static ['availableRevisionActions']=/* #__PURE__ -- @preserve */
availableRevisionActions();static get['pluginName'](){return'RevisionsSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x23f74e];}constructor(_0x418177){super(_0x418177),this['_revisionViewer']=_0x418177['plugins']['get'](_0x23f74e),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x5dbd10=this['_revisionsRepository']['_revisions'],_0x4e1c37=this['_createRevisionActions'](),_0x24ccd6=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new _0x4b8992(this['editor']['locale'],_0x5dbd10,_0x4e1c37,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',(_0x24ebfd,_0x446769)=>{_0x446769['revisionViews']['on']('add',(_0x5567a3,_0x3629e8)=>{_0x3629e8['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)),_0x24ccd6['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0xd0f31c=this['_revisionsRepository']['getRevision'](0x0);if(_0xd0f31c){const _0x11780c=this['_revisionsRepository']['getEarlierVisibleRevision'](_0xd0f31c['id']);this['_revisionViewer']['compare'](_0xd0f31c,_0x11780c);}}['_handleRevisionSelected'](_0x29f91c,_0xa594b8){const _0x30ee8c=this['_revisionsRepository']['getRevision'](_0xa594b8['id']),_0x258299=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x30ee8c['id']);this['_revisionViewer']['compare'](_0x30ee8c,_0x258299);}['_handleRevisionSetName'](_0x20e12d,_0x5767b9){this['_revisionsRepository']['getRevision'](_0x5767b9['id'])['setName'](_0x5767b9['name']);}['_handleDiffChange'](_0x7c4e97,_0x99d5cf,_0x117ae7){const _0x19847c=this['_revisionsRepository']['getRevisionsInDiff'](_0x117ae7);_0x19847c['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x19847c),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x19847c[0x0]));}['_createRevisionActions'](){const _0x107f62=this['editor'],_0xaa72bc=_0x50e2fa['availableRevisionActions'],_0x6143ee=_0x107f62['config']['get']('revisionHistory.revisionActions')||_0x50e2fa['defaultRevisionActions'];if(_0x6143ee['length'])return _0x6143ee['map'](_0x2248a3=>{const _0x5a8328='string'==typeof _0x2248a3?Object['assign']({},_0xaa72bc[_0x2248a3]):_0x2248a3;return _0x5a8328['action']=_0x5a8328['action']['bind'](this,_0x107f62),_0x5a8328['isVisible']&&(_0x5a8328['isVisible']=_0x5a8328['isVisible']['bind'](this,_0x107f62)),_0x5a8328;});}}function availableRevisionActions(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x2bb211},_0x34f630)=>{const _0x1590e7=_0x2bb211['get'](_0x23f74e),_0x450737=_0x1590e7['repository'];let _0x437130=_0x1590e7['diff']['newRevisionId'],_0x494311=_0x34f630['id'];_0x450737['getIndex'](_0x437130)>_0x450737['getIndex'](_0x494311)&&([_0x437130,_0x494311]=[_0x494311,_0x437130]),_0x1590e7['compare'](_0x437130,_0x494311);},'isVisible':({plugins:_0x1216a3},_0x28f017)=>{const _0x5a0584=_0x1216a3['get'](_0x23f74e);return!(_0x5a0584['repository']['getRevisionsInDiff'](_0x5a0584['diff'])['length']>0x2)&&!_0x28f017['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x5ef009,{id:_0x2219a2})=>{_0x5ef009['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x2219a2);},'isVisible':({plugins:_0x249d52},_0x4ac4de)=>!!_0x249d52['get'](_0x23f74e)['repository']['getLaterVisibleRevision'](_0x4ac4de['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x5cee9a},{id:_0x332fe1,revisionNameView:_0x10b735})=>{const _0x2110ff=_0x5cee9a['get'](_0x23f74e),_0x542b4d=_0x2110ff['repository']['getEarlierVisibleRevision'](_0x332fe1);_0x2110ff['compare'](_0x332fe1,_0x542b4d),_0x10b735['focus'](),_0x10b735['fieldView']['select']();}}};}class RevisionViewerEditorUI extends ckeditor5['EditorUI']{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x18881e,_0x310c50){super(_0x18881e),this['_view']=_0x310c50,this['_toolbarConfig']=ckeditor5['normalizeToolbarConfig'](_0x18881e['config']['get']('toolbar')),this['_elementReplacer']=new ckeditor5['ElementReplacer']();}get['element'](){return this['view']['element'];}['init'](_0x4f23fd){const _0x556077=this['editor'],_0xa3bb95=this['view'],_0x326d1f=_0x556077['editing']['view'],_0x9066d8=_0xa3bb95['editable'],_0x44e630=_0x326d1f['document']['getRoot']();_0x9066d8['name']=_0x44e630['rootName'],_0xa3bb95['render']();const _0x54b129=_0x9066d8['element'];this['setEditableElement'](_0x9066d8['name'],_0x54b129),_0xa3bb95['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x326d1f['attachDomRoot'](_0x54b129),this['_elementReplacer']['replace'](_0x4f23fd,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x103748=this['view'],_0x2053d1=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x2053d1['detachDomRoot'](_0x103748['editable']['name']),_0x103748['destroy']();}['_initToolbar'](){const _0x43cc50=this['view'];_0x43cc50['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x43cc50['stickyPanel']['limiterElement']=_0x43cc50['element'],_0x43cc50['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0xad4ac8})=>_0xad4ac8),_0x43cc50['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x43cc50['toolbar']);}}class RevisionViewerEditorUIView extends ckeditor5['BoxedEditorUIView']{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x46cb5a,_0xe9dccf,_0x11f278={}){super(_0x46cb5a),this['stickyPanel']=new ckeditor5['StickyPanelView'](_0x46cb5a),this['toolbar']=new ckeditor5['ToolbarView'](_0x46cb5a,{'shouldGroupWhenFull':_0x11f278['shouldToolbarGroupWhenFull']}),this['_editable']=new ckeditor5['InlineEditableUIView'](_0x46cb5a,_0xe9dccf);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class RevisionViewerEditor extends/* #__PURE__ -- @preserve */
ckeditor5['ElementApiMixin'](ckeditor5['Editor']){['_ui'];get['ui'](){return this['_ui'];}constructor(_0x5c8af5,_0xa55dab){super(_0xa55dab),this['sourceElement']=_0x5c8af5,this['model']['document']['createRoot']();const _0x5b4100=new RevisionViewerEditorUIView(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new RevisionViewerEditorUI(this,_0x5b4100);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x6d4d18,_0x5bd565){const _0x57fbdf=new this(_0x6d4d18,_0x5bd565);return await _0x57fbdf['initPlugins'](),await _0x57fbdf['ui']['init'](_0x6d4d18),await _0x57fbdf['data']['init'](_0x57fbdf['config']['get']('initialData')||''),_0x57fbdf['fire']('ready'),_0x57fbdf;}}const blackListedPlugins=['RevisionHistoryUI','RestrictedEditingMode','AIChat','AIReviewMode','AIBalloon','AIQuickActions','AIActions','AIChatShortcuts','AITranslate'];class RevisionViewerIntegration extends ckeditor5['Plugin']{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x11d484){function _0x2fc014(_0x8771e6){return _0x8771e6['map'](_0x31de7f=>String['fromCharCode'](_0x31de7f))['join']('');}super(_0x11d484),this['result']='end',_0x11d484[_0x2fc014([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2fc014([0x76,0x69,0x65,0x77])][_0x2fc014([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2fc014([0x61,0x75,0x74,0x6f]),_0x11d484[_0x2fc014([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x2fc014([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2fc014([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x2fc014([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x2fc014([0x6f,0x6b])});}}class RevisionHistory extends ckeditor5['Plugin']{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x940f6b,RevisionHistoryUI];}constructor(_0x162022){if(super(_0x162022),!this['editor']['config']['get']('revisionHistory'))throw new ckeditor5['CKEditorError']('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['set']('isRevisionViewerOpen',!0x1),this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x28d695=>this['_showRevisionViewer']({..._0x28d695,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x4500aa=>this['_closeRevisionViewer'](_0x4500aa)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x5e82a3=>this['_restoreRevision'](_0x5e82a3)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x5d49a3){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x5d49a3;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x4fa280){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x4fa280);}['getRevision'](_0x236c6b){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x236c6b);}['getRevisions'](_0xf69fe){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0xf69fe||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x116907=this['editor'],_0x3468e5=sanitizeEditorConfig(_0x116907,blackListedPlugins),_0x3745dc=_0x116907['plugins']['get']('RevisionTracker'),_0x285047=_0x116907['plugins']['get'](_0x4a3f8f)['users'];_0x3468e5['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x3468e5['lazyRoots'];class _0xa74d19 extends ckeditor5['Plugin']{static get['requires'](){return[_0x23f74e,_0x4a3f8f];}['init'](){const _0x59fcd4=this['editor']['plugins']['get'](_0x4a3f8f);for(const _0x50a4eb of _0x285047)_0x50a4eb['isAnonymous']||_0x59fcd4['getUser'](_0x50a4eb['id'])||_0x59fcd4['addUser'](_0x50a4eb);const _0x54c220=_0x3745dc['repository']['getRevisions']();let _0x5282b4=null;const _0x300bd7=this['editor']['plugins']['get']('RevisionViewer');_0x300bd7['adapter']=_0x3745dc['adapter'],_0x300bd7['bind']('isEnabled')['to'](_0x3745dc),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x116907,'isReadOnly',_0x5a5dfd=>!_0x5a5dfd);for(const _0x5857c6 of _0x54c220){const _0x579e53=null===_0x5857c6['creator'];if(_0x579e53&&_0x5857c6['toVersion']===_0x5857c6['fromVersion'])continue;const _0xe785=_0x5857c6['toJSON']();_0x300bd7['addRevisionData'](_0xe785,(_0x5cf8ff,_0x2ccc87,_0x5df8de)=>{if(_0x579e53){if(_0x5282b4)_0x5282b4['_update'](_0x5cf8ff,_0x2ccc87);else{if(!_0x2ccc87){const _0x29067d=_0x5df8de['toJSON']();_0x29067d['id']=ckeditor5['uid'](),_0x3745dc['saveRevision'](_0x29067d,_0x5df8de['toVersion'])['then'](_0x4c16e9=>{_0x5282b4=_0x4c16e9;});}}}else _0x5857c6['_update'](_0x5cf8ff,_0x2ccc87);});}}}return _0x3468e5['plugins']['push'](RevisionViewerIntegration,_0x23f74e,_0x37a5e7,_0xa74d19,_0x50e2fa),_0x3468e5;}['_enhanceShowRevisionViewerCallback'](){const _0x2acde2=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x266648=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x5d5197=this['editor']['plugins']['get']('Autosave');await _0x5d5197['save']();}else await _0x266648['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x46887e=this['editor']['plugins']['get']('Dialog');_0x46887e['isOpen']&&_0x46887e['hide']();}if(this['editor']['plugins']['has']('AITabs')){const _0x4b1565=this['editor']['plugins']['get']('AITabs')['view']['panelViews'];for(const _0x1920da of _0x4b1565)_0x1920da['class']=_0x1920da['class']?_0x1920da['class']+'\x20ck-tab-panel_disabled':'ck-tab-panel_disabled';if(this['editor']['plugins']['has']('AIChat')){const _0x530b5d=document['querySelector']('.ck-ai-chat__prompt-input\x20.ck-textarea');_0x530b5d&&_0x530b5d['setAttribute']('tabindex','-1');}if(this['editor']['plugins']['has']('AIChatHistory')){const _0x3c250e=document['querySelector']('.ck-ai-chat-history\x20.ck-input');_0x3c250e&&_0x3c250e['setAttribute']('tabindex','-1');}}const _0x2ed6ef=this['_getRevisionViewerEditorConfig']();return _0x2acde2(_0x2ed6ef)['then'](_0x133d6e=>{return(this['_viewerEditor']=_0x133d6e,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'),_0x133d6e);})['catch'](_0x12038e=>(console['error'](_0x12038e),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0xc4c785=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 _0xf90a87=this['editor']['plugins']['get']('AITabs')['view']['panelViews'];for(const _0x295034 of _0xf90a87)_0x295034['class']='ck-tab-panel_disabled'===_0x295034['class']?'':_0x295034['class']['replace']('\x20ck-tab-panel_disabled','');if(this['editor']['plugins']['has']('AIChat')){const _0x318973=document['querySelector']('.ck-ai-chat__prompt-input\x20.ck-textarea');_0x318973&&_0x318973['removeAttribute']('tabindex');}if(this['editor']['plugins']['has']('AIChatHistory')){const _0x5bd017=document['querySelector']('.ck-ai-chat-history\x20.ck-input');_0x5bd017&&_0x5bd017['removeAttribute']('tabindex');}}return this['_viewerEditor']['plugins']['get']('RevisionViewer')['_cleanUp'](),_0xc4c785(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x4ea5a6=this['editor']['plugins']['get']('Annotations');_0x4ea5a6['refreshVisibility'](),_0x4ea5a6['refreshPositioning']();}});});}['_showRevisionViewer'](_0x38cd17){const _0x1c2f92=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x345715=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x4beba1=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return RevisionViewerEditor['create'](_0x4beba1,_0x38cd17)['then'](_0x397162=>(_0x345715['style']['display']='block',_0x1c2f92['style']['display']='none',this['isRevisionViewerOpen']=!0x0,_0x397162));}['_closeRevisionViewer'](_0x229472){const _0x2f7587=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x2f7587['style']['display']='',this['isRevisionViewerOpen']=!0x1,_0x229472['destroy']();}async['_restoreRevision'](_0x2b9eef){const _0x4ee936=this['editor'],_0x5231e9=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0xee47e4=_0x4ee936['plugins']['get']('RevisionTracker'),_0x7c7e24=_0x4ee936['plugins']['get']('RevisionHistoryUtils'),_0xd7b9f6=_0x5231e9['repository']['getRevision'](_0x2b9eef);let _0x28cbd8,_0x557df3,_0x2a51fc;try{await _0x7c7e24['loadRevisionData'](_0xd7b9f6,this['adapter']),_0x28cbd8=_0x7c7e24['getRevisionDocumentData'](_0xd7b9f6),_0x557df3=_0x7c7e24['getRevisionRootsAttributes'](_0xd7b9f6);}catch(_0x2a4eb1){return void console['error'](_0x2a4eb1);}_0x4ee936['model']['change'](_0x5936e8=>{for(const _0x2bad7f of Array['from'](_0x4ee936['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x5936e8['removeMarker'](_0x2bad7f);}),_0x5231e9['isReady']=!0x1,_0x4ee936['model']['enqueueChange'](_0x4250de=>{_0x4250de['setSelection'](null),_0x4250de['removeSelectionAttribute'](_0x4ee936['model']['document']['selection']['getAttributeKeys']());const _0x42fc29=Object['keys'](_0x28cbd8);for(const _0x371ec1 of _0x4ee936['model']['document']['roots'])'$graveyard'!=_0x371ec1['rootName']&&_0x371ec1['isAttached']()&&!_0x42fc29['includes'](_0x371ec1['rootName'])&&_0x4250de['detachRoot'](_0x371ec1);for(const _0x1e76fd of _0x42fc29){let _0x11ed37=_0x4ee936['model']['document']['getRoot'](_0x1e76fd);_0x11ed37&&_0x11ed37['isAttached']()||(_0x11ed37=_0x4250de['addRoot'](_0x1e76fd));const _0x446c0e=_0x557df3[_0x1e76fd],_0xd6bf4a=Object['keys'](_0x446c0e),_0x5ce7a9=_0x28cbd8[_0x1e76fd];for(const _0x30ab4d of _0x11ed37['getAttributeKeys']())_0xd6bf4a['includes'](_0x30ab4d)||_0x4250de['removeAttribute'](_0x30ab4d,_0x11ed37);for(const _0x384e87 of _0xd6bf4a)_0x4250de['setAttribute'](_0x384e87,_0x557df3[_0x1e76fd][_0x384e87],_0x11ed37);_0x4250de['remove'](_0x4250de['createRangeIn'](_0x11ed37)),_0x4250de['insert'](_0x4ee936['data']['parse'](_0x5ce7a9,_0x11ed37),_0x11ed37,0x0);}});const _0x4968b5=getTranslation$4(_0x4ee936['locale'],'Restored');if(_0xd7b9f6['name'])_0x2a51fc=-0x1==_0xd7b9f6['name']['indexOf'](_0x4968b5)?_0x4968b5+':\x20'+_0xd7b9f6['name']:_0xd7b9f6['name'];else _0x2a51fc=_0x4968b5+':\x20'+(_0xd7b9f6['createdAt']['toLocaleDateString'](_0x4ee936['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0xd7b9f6['createdAt']['toLocaleTimeString'](_0x4ee936['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0xee47e4['saveRevision']({'name':_0x2a51fc}),_0x5231e9['isReady']=!0x0,_0x4ee936['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}class CloudServicesRevisionHistoryAdapter extends ckeditor5['Plugin']{static ['RevisionHistoryService']=/* #__PURE__ -- @preserve */
((()=>RevisionHistoryService)());['_lastRequestId'];['_revisionTracker'];['_revisionHistoryService'];['_oldOffset'];static get['requires'](){return[WebSocketGateway,RealTimeCollaborationClient,RevisionHistory,_0xb9e36d,_0x4a3f8f];}static get['pluginName'](){return'CloudServicesRevisionHistoryAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x18a6eb){super(_0x18a6eb);const _0x365e72=this['editor']['config']['get']('collaboration.channelId');this['_lastRequestId']=null,this['_revisionTracker']=this['editor']['plugins']['get']('RevisionTracker'),this['_revisionHistoryService']=new CloudServicesRevisionHistoryAdapter['RevisionHistoryService'](_0x365e72);}async['init'](){const _0x397da8=this['editor']['plugins']['get'](RealTimeCollaborationClient),_0x54a1c8=_0x397da8['serverHistory'],_0x2647a2=this['editor']['plugins']['get'](WebSocketGateway);this['_revisionTracker']['setSource']({'history':_0x54a1c8,'getLatestVersion':()=>this['_getLatestVersion'](),'getCurrentRevisionId':()=>_0x397da8['sessionId']});const _0x395fba=this['editor']['config']['get']('cloudServices.bundleVersion')||ckeditor5['version'],_0x256f9f=await EditorService['isBundleUploaded'](_0x2647a2['connection'],_0x395fba);this['editor']['plugins']['get'](RevisionHistory)['adapter']={'getRevision':async({revisionId:_0x54d264})=>(await this['_waitForServiceReady'](),await this['_revisionHistoryService']['getRevision'](_0x54d264)),'updateRevisions':async _0x53a347=>{await this['_waitForServiceReady']();const _0x14a94e=this['_revisionTracker']['currentRevision'];if(_0x256f9f&&0x1===_0x53a347['length']&&_0x53a347[0x0]['id']===_0x14a94e['id'])return _0x53a347;for(const _0x38cacc of _0x53a347)_0x38cacc['id']===_0x14a94e['id']&&(_0x38cacc['isEmptyCurrent']=_0x38cacc['fromVersion']===_0x38cacc['toVersion']);return this['_revisionHistoryService']['updateRevisions'](_0x53a347,this['_lastRequestId'])['then'](_0x4eb4c1=>(this['_lastRequestId']=_0x4eb4c1,_0x53a347))['catch'](_0x238195=>{if(isDisconnectionError(_0x238195)||'400'===_0x238195['code']&&void 0x0!==_0x238195['data']['wrongRequestId']){for(const _0x2dfc1c of _0x53a347){!this['_revisionTracker']['repository']['getRevision'](_0x2dfc1c['id'])||this['_revisionTracker']['_bufferUpdate'](_0x2dfc1c['id'],_0x2dfc1c,!0x1);}if(isDisconnectionError(_0x238195)&&'destroyed'!==this['editor']['state'])throw _0x238195;return _0x53a347;}throw _0x238195;});}},this['listenTo'](this['_revisionHistoryService'],'revisionsUpdated',(_0x3b70d3,{revisionsData:_0x2bd749,requestId:_0x33055e})=>{Math['max'](..._0x2bd749['map'](_0x197e07=>_0x197e07['toVersion']))>this['_getLatestVersionFromServerOperations']()-0x1?this['_getLatestVersion']()['then'](()=>{this['_handleRevisionsUpdate'](_0x2bd749,_0x33055e);}):this['_handleRevisionsUpdate'](_0x2bd749,_0x33055e);});const {revisions:_0x2489ef,requestId:_0x476afe}=await this['_revisionHistoryService']['connect'](_0x2647a2['connection']);_0x2647a2['addToReconnectionStack'](this),this['_lastRequestId']=_0x476afe,await this['_fetchMissingUsers'](_0x2489ef);for(const _0x108027 of _0x2489ef)this['_revisionTracker']['addRevisionData'](_0x108027);this['listenTo'](_0x397da8,'change:_isConnected',(_0x5010e2,_0x4763fc,_0x28424e)=>{_0x28424e&&(this['_oldOffset']=_0x397da8['_offset'],_0x5010e2['off']());}),this['_revisionTracker']['bind']('isEnabled')['to'](_0x2647a2,'state',_0x397819=>_0x397819===_0x32ca8e['CONNECTED']);}async['reconnect'](){const _0x4f919e=this['editor']['plugins']['get'](WebSocketGateway),_0x2bbeb2=this['editor']['plugins']['get'](RealTimeCollaborationClient),_0x16c9c2=async()=>{const _0x2c38ae=this['_revisionTracker']['currentRevision'],_0x2a72c9=_0x2c38ae['id'],_0x16db88=_0x2a72c9!==_0x2bbeb2['sessionId'];if(_0x16db88){const _0x734758=_0x2bbeb2['_offset']-this['_oldOffset'],_0x5326fb=this['_getLatestVersionFromServerOperations']();this['_revisionTracker']['_revisionDataBuilder']['reInit']();if(_0x2c38ae['toVersion']+_0x734758!==_0x5326fb){const _0x1af3de=_0x2c38ae['fromVersion']+_0x734758,_0xf14c10=this['editor']['plugins']['get'](_0x4a3f8f),_0x30ae4a=this['_revisionTracker']['buildRevisionData']({'revision':_0x2c38ae,'from':_0x1af3de,'to':_0x5326fb});_0x30ae4a['id']=_0x2c38ae['id'];const _0x2fd998=_0x30ae4a['authorsIds']['map'](_0xfd2c23=>_0xf14c10['getUser'](_0xfd2c23));_0x2c38ae['_update']({..._0x30ae4a,'authors':_0x2fd998},!0x0),this['_revisionTracker']['_bufferUpdate'](_0x2c38ae['id'],_0x30ae4a,!0x0);}this['_revisionTracker']['_startingVersion']=_0x5326fb,(_0x2c38ae['toVersion']===_0x2c38ae['fromVersion']&&!this['_revisionTracker']['_bufferedUpdates']['has'](_0x2a72c9)&&this['_revisionTracker']['repository']['_revisions']['remove'](_0x2a72c9),this['_revisionTracker']['_createCurrentRevision'](_0x5326fb));}const {revisions:_0x1c04ea,requestId:_0x43d970}=await this['_revisionHistoryService']['reconnect'](_0x4f919e['connection'],this['_lastRequestId']);_0x16db88&&_0x1c04ea['length']>0x0?_0x2bbeb2['_handleReconnectionError']():(await this['_fetchMissingUsers'](_0x1c04ea),this['_handleRevisionsUpdate'](_0x1c04ea,_0x43d970),this['_revisionTracker']['sendBufferedUpdates']());};return _0x2bbeb2['_isConnected']?_0x16c9c2():new Promise((_0x1cd726,_0x6219d2)=>{_0x2bbeb2['once']('change:_isConnected',()=>{_0x16c9c2()['then'](_0x1cd726)['catch'](_0x6219d2);});});}['destroy'](){super['destroy']();}async['_waitForServiceReady'](){this['_revisionHistoryService']['isConnected']||await new Promise(_0x375275=>{this['listenTo'](this['_revisionHistoryService'],'connected',_0x5d7c0b=>{_0x5d7c0b['off'](),_0x375275();});});}['_getLatestVersionFromServerOperations'](){const _0x1d84f3=this['editor']['plugins']['get'](RealTimeCollaborationClient)['serverHistory']['getOperations']()['reverse']();for(const _0xadb3dd of _0x1d84f3)if('marker'!==_0xadb3dd['type']||_0xadb3dd['affectsData'])return _0xadb3dd['baseVersion']+0x1;}['_getLatestVersion'](){const _0x38113e=this['editor']['plugins']['get'](RealTimeCollaborationClient);return new Promise(_0x3eb4d6=>{_0x38113e['_isPendingUpdate']?_0x38113e['once']('change:_isPendingUpdate',()=>{_0x3eb4d6(this['_getLatestVersionFromServerOperations']());}):_0x3eb4d6(this['_getLatestVersionFromServerOperations']());});}['_handleRevisionsUpdate'](_0x415be8,_0x190e21){const _0x1668d1=this['_revisionTracker']['repository'];this['_lastRequestId']=_0x190e21;for(const _0x9ea965 of _0x415be8){const _0x1dc3a4=_0x1668d1['getRevision'](_0x9ea965['id']);if(_0x1dc3a4){if((_0x9ea965['fromVersion']||_0x9ea965['toVersion'])&&(_0x9ea965['diffData']=null),_0x1dc3a4===this['_revisionTracker']['currentRevision']){const _0xabb140=Math['max'](_0x1dc3a4['toVersion'],_0x9ea965['toVersion']),_0x2abad8=Math['max'](_0x1dc3a4['fromVersion'],_0x9ea965['fromVersion']);let _0x136950;_0x1dc3a4['toVersion']===_0x9ea965['toVersion']&&_0x1dc3a4['fromVersion']===_0x9ea965['fromVersion']?(_0x136950=!0x0,this['_preventResendingRevisionData'](_0x9ea965)):_0x9ea965['toVersion']===_0xabb140&&_0x9ea965['fromVersion']===_0x2abad8?_0x136950=!0x1:(_0x1dc3a4['toVersion']===_0xabb140&&_0x1dc3a4['fromVersion']===_0x2abad8||this['_fixRevision']({'revision':_0x1dc3a4,'from':_0x2abad8,'to':_0xabb140}),_0x136950=!0x0),_0x136950&&(delete _0x9ea965['fromVersion'],delete _0x9ea965['toVersion'],delete _0x9ea965['diffData'],delete _0x9ea965['createdAt'],delete _0x9ea965['authorsIds']);}this['_revisionTracker']['setRevisionData'](_0x9ea965),this['_preventResendingRevisionData'](_0x9ea965);}else this['_revisionTracker']['addRevisionData'](_0x9ea965);}const _0x1e09e0=_0x1668d1['getRevisions']();_0x1e09e0['reverse']();for(let _0x4670b6=0x0;_0x4670b6<_0x1e09e0['length']-0x1;_0x4670b6++){const _0x3be04f=_0x1e09e0[_0x4670b6],_0x455967=_0x1e09e0[_0x4670b6+0x1];if(_0x3be04f['fromVersion']<_0x455967['toVersion']){const _0x480233=_0x455967['toVersion'],_0x4f0389=Math['max'](_0x480233,_0x3be04f['toVersion']);this['_fixRevision']({'revision':_0x3be04f,'from':_0x480233,'to':_0x4f0389});}}}['_fixRevision']({revision:_0x569dda,from:_0x16360a,to:_0x25f089}={}){const _0x1abf70=this['editor']['plugins']['get'](_0x4a3f8f),_0x353a11=this['_revisionTracker']['buildRevisionData']({'revision':_0x569dda,'from':_0x16360a,'to':_0x25f089});_0x353a11['authors']=_0x353a11['authorsIds']['map'](_0x1631f9=>_0x1abf70['getUser'](_0x1631f9)),_0x569dda['_update'](_0x353a11);}['_preventResendingRevisionData'](_0x4711a4){const _0x1bacda={};_0x1bacda['id']=_0x4711a4['id'];for(const _0x3cff46 of Object['keys'](_0x4711a4))'id'!==_0x3cff46&&(_0x1bacda[_0x3cff46]=void 0x0);this['_revisionTracker']['_bufferUpdate'](_0x1bacda['id'],_0x1bacda,!0x0);}async['_fetchMissingUsers'](_0xfa08cb){const _0x283f03=this['editor']['plugins']['get'](_0x4a3f8f),{connection:_0x4b8dc2}=this['editor']['plugins']['get'](WebSocketGateway),_0x597ce9=new Set();for(const _0x7885cf of _0xfa08cb){for(const _0x326a64 of _0x7885cf['authorsIds'])_0x3e1cae(_0x326a64);_0x7885cf['creatorId']&&_0x3e1cae(_0x7885cf['creatorId']);}if(0x0===_0x597ce9['size'])return;const _0x158f04=await _0x3f9ce1['getMany'](_0x4b8dc2,Array['from'](_0x597ce9));for(const _0x583bd1 of _0x158f04)_0x283f03['getUser'](_0x583bd1['id'])||_0x283f03['addUser'](_0x583bd1);function _0x3e1cae(_0x28bd74){_0x283f03['getUser'](_0x28bd74)||_0x597ce9['add'](_0x28bd74);}}}function isDisconnectionError(_0x2a6f10){return _0x2a6f10['message']['startsWith']('cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.')||_0x2a6f10['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x2a6f10['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}class RealTimeCollaborativeRevisionHistory extends ckeditor5['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 ckeditor5['View']{['_collapseAt'];constructor(_0x1fba53,_0x2c93e2=0x6){super(_0x1fba53);const _0xa47b43=this['bindTemplate'];this['set']('isHidden',!0x0),this['set']('usersCount',0x0),this['_collapseAt']=_0x2c93e2,this['bind']('isHidden')['to'](this,'usersCount',_0x4e72d4=>_0x4e72d4<_0x2c93e2),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-presence-list__list-item',_0xa47b43['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':_0xa47b43['to']('usersCount',_0x267345=>'+'+(_0x267345-this['_collapseAt']+0x2)['toString']())}]}]}]});}}class PresenceInlineListView extends ckeditor5['View']{['items'];['keystrokes'];constructor(_0xdc052c){super(_0xdc052c);const _0x2fc87d=this['bindTemplate'];this['items']=this['createCollection'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['set']({'hasPopup':!0x1,'isExpanded':!0x1}),this['setTemplate']({'tag':'div','attributes':{'aria-haspopup':_0x2fc87d['if']('hasPopup'),'aria-expanded':_0x2fc87d['to']('isExpanded',_0x3891d1=>this['hasPopup']&&String(_0x3891d1)),'aria-label':_0x2fc87d['to']('hasPopup',_0x3232da=>getTranslation$6(_0xdc052c,_0x3232da?'Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':'Connected\x20users\x20list')),'role':'list','tabindex':_0x2fc87d['to']('hasPopup',_0x2974ae=>!!_0x2974ae&&0x0),'class':['ck','ck-presence-list__list']},'children':this['items'],'on':{'mouseenter':_0x2fc87d['to'](()=>this['fire']('presencelist:show')),'mouseleave':_0x2fc87d['to'](_0x3ebdb9=>{const _0x5829c4=_0x3ebdb9,_0x5157e0=document['querySelector']('.ck-presence-list__dropdown-list'),_0x26290c=document['querySelector']('.ck-balloon-panel_with-arrow');_0x5157e0?.['contains'](_0x5829c4['relatedTarget'])||_0x26290c?.['contains'](_0x5829c4['relatedTarget'])||this['fire']('presencelist:hide');})}}),this['on']('change:hasPopup',(_0x143f7c,_0x48dcc7,_0xf737b3)=>{this['element']&&(_0xf737b3?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 ckeditor5['View']{['counterView'];['inlineListView'];constructor(_0x569069,_0x4026ce=0x6){super(_0x569069);const _0x3b6a91=this['bindTemplate'];this['set']('isCollapsed',!0x0),this['counterView']=new PresenceCounterView(this['locale'],_0x4026ce),this['inlineListView']=new PresenceInlineListView(_0x569069),this['inlineListView']['bind']('hasPopup')['to'](this,'isCollapsed'),this['listenTo'](this['inlineListView']['items'],'change',()=>{for(const _0x2479be of this['inlineListView']['items'])_0x2479be['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',_0x3b6a91['if']('isCollapsed','ck-presence-list--collapsed')]},'children':[this['inlineListView']]});}}class PresenceDropdownListView extends ckeditor5['View']{['listWrapperView'];constructor(_0x59d08b,_0x43de00){super(_0x59d08b);const _0x1cb6c6=this['bindTemplate'];this['listWrapperView']=new PresenceDropdownListWrapperView(_0x59d08b,_0x43de00),this['setTemplate']({'tag':'div','attributes':{'tabindex':-0x1,'role':'application','class':['ck','ck-presence-list__dropdown-list'],'aria-label':getTranslation$6(_0x59d08b,'Connected\x20users\x20list\x20dropdown\x20menu')},'children':[this['listWrapperView']],'on':{'mouseleave':_0x1cb6c6['to'](_0x53c58b=>{const _0x2b3c72=_0x53c58b,_0x378050=document['querySelector']('.ck-presence-list__list'),_0x2e2b76=document['querySelector']('.ck-balloon-panel_with-arrow');_0x378050?.['contains'](_0x2b3c72['relatedTarget'])||_0x2e2b76?.['contains'](_0x2b3c72['relatedTarget'])||this['fire']('presencelist:hide');})}});}}class PresenceDropdownListWrapperView extends ckeditor5['ListView']{constructor(_0x4fd53e,_0x374144){super(_0x4fd53e);const _0x329883=this['bindTemplate'];this['set']('_isScrollable',!0x1),this['setTemplate']({'tag':_0x374144?'div':'ul','attributes':{'class':['ck','ck-reset','ck-list','ck-presence-list__dropdown-list-wrapper',_0x329883['if']('_isScrollable','ck-presence-list__dropdown-list-wrapper_scrollable')],'role':_0x329883['to']('role'),'aria-label':_0x329883['to']('ariaLabel'),'aria-labelledby':_0x329883['to']('ariaLabelledBy')},'children':this['items']}),this['listenTo'](ckeditor5['global']['window'],'resize',()=>this['checkIfScrollable']()),this['items']['on']('change',()=>this['checkIfScrollable']());}['render'](){super['render'](),this['checkIfScrollable']();}['checkIfScrollable'](){const _0x208ef8=this['element'];_0x208ef8&&(this['_isScrollable']=Math['max'](_0x208ef8['scrollHeight'],_0x208ef8['clientHeight'])>0.8*window['innerHeight']);}}class PresenceDropdownListItemView extends ckeditor5['ListItemView']{['userView'];constructor(_0x2f039e,_0x3f61ae,_0x2bbd90){super(_0x2f039e);const _0x446c10=this['bindTemplate'];this['userView']=new _0xcb4734(_0x2f039e,_0x3f61ae);const _0x1f22dc={'tag':'li','attributes':{'class':['ck','ck-presence-list__dropdown-list-item'],'tabindex':-0x1,'role':'presentation','aria-label':_0x3f61ae['name']},'children':[this['userView'],{'tag':'span','attributes':{'class':['ck','ck-user__full-name']},'children':[{'text':_0x3f61ae['name']}]},{'tag':'span','attributes':{'class':['ck','ck-presence-list__marker',_0x3f61ae['color']['getBackgroundColorClass']()],'style':{'--ck-user-color':_0x3f61ae['color']['getColorVariable'](),'--ck-user-color-alpha':_0x3f61ae['color']['getColorAlphaVariable']()},'aria-hidden':'true'}}]};_0x2bbd90&&(_0x1f22dc['tag']='button',_0x1f22dc['on']={'click':_0x446c10['to'](()=>this['fire']('execute'))}),this['setTemplate'](_0x1f22dc);}['focus'](){this['element']['focus']();}}class PresenceInlineListItemView extends ckeditor5['View']{['userView'];['markerView'];constructor(_0x303a6a,_0x3b397d,_0x3d4e14){super(_0x303a6a);const _0x301da9=this['bindTemplate'];this['set']('isFocusable',!0x1),this['set']('hasTooltip',!0x0),this['set']('tooltipPosition',''),this['userView']=new _0xcb4734(_0x303a6a,_0x3b397d),this['markerView']=new _0x30c7cc(_0x303a6a,_0x3b397d);const _0x3e0a16=new ckeditor5['LabelView'](_0x303a6a);_0x3e0a16['template']['tag']='span',_0x3e0a16['text']=_0x3b397d['name'];const _0x307453={'tag':'div','attributes':{'class':['ck','ck-presence-list__list-item'],'role':'listitem','tabindex':_0x301da9['to']('isFocusable',_0x254556=>!!_0x254556&&0x0),'aria-labelledby':_0x3e0a16['id'],'data-cke-tooltip-text':this['userView']['name'],'data-cke-tooltip-position':_0x301da9['to']('tooltipPosition'),'data-cke-tooltip-disabled':_0x301da9['to']('hasTooltip',_0x32808b=>!_0x32808b),'data-cke-tooltip-class':'ck-presence-list__list-item__tooltip'},'children':[this['userView'],this['markerView'],_0x3e0a16]};_0x3d4e14&&(_0x307453['tag']='button',_0x307453['on']={'click':_0x301da9['to'](()=>this['fire']('execute'))}),this['setTemplate'](_0x307453);}}class _0x30c7cc extends ckeditor5['View']{constructor(_0x8eea70,_0x5b77c4){super(_0x8eea70),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-presence-list__marker',_0x5b77c4['color']['getBackgroundColorClass']()],'style':{'--ck-user-color':_0x5b77c4['color']['getColorVariable'](),'--ck-user-color-alpha':_0x5b77c4['color']['getColorAlphaVariable']()},'aria-hidden':'true'}});}}const defaultPresenceListConfig={'collapseAt':0x6,'displayMe':!0x0};class PresenceListUI extends ckeditor5['ContextPlugin']{['currentDisplayedUsers'];['balloonPanelView'];['view'];['presenceDropdownView'];['_bodyCollection']=null;static get['pluginName'](){return'PresenceListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xac8208){super(_0xac8208),this['context']['config']['define']('presenceList',defaultPresenceListConfig);const _0x1a60a6=_0xac8208['config']['get']('presenceList.collapseAt');if('number'!=typeof _0x1a60a6)throw new ckeditor5['CKEditorError']('presencelist-collapseat-invalid-format',this);if(_0x1a60a6<0x1)throw new ckeditor5['CKEditorError']('presencelist-collapseat-invalid-format',this);this['_allConnectedUsers']=this['context']['plugins']['get'](_0xb9e36d)['allConnectedUsers'],this['set']('usersCount',0x0),this['currentDisplayedUsers']=new ckeditor5['Collection'](),this['balloonPanelView']=new ckeditor5['BalloonPanelView'](),this['balloonPanelView']['class']='ck\x20ck-presence-list__balloon',this['view']=this['_createView'](),this['presenceDropdownView']=void 0x0;}static get['requires'](){return[_0xb9e36d];}['init'](){for(const _0x170c98 of this['_allConnectedUsers'])this['_handleUserAdd'](_0x170c98);this['listenTo'](this['_allConnectedUsers'],'add',(_0x3be248,_0x4b2e6a)=>{this['_handleUserAdd'](_0x4b2e6a);}),this['listenTo'](this['_allConnectedUsers'],'remove',(_0x29afef,_0x34c3c2)=>{this['_handleUserRemove'](_0x34c3c2);});}['_createView'](){const _0x9c0d5c=this['context'],_0x5ed6c7=new PresenceListView(this['context']['locale'],this['context']['config']['get']('presenceList.collapseAt')),_0x43ddc6=this['balloonPanelView'];if(!isElement$2(_0x9c0d5c['config']['get']('presenceList.container')))throw new ckeditor5['CKEditorError']('presencelist-missing-container',this);return _0x5ed6c7['counterView']['bind']('usersCount')['to'](this),_0x5ed6c7['bind']('isCollapsed')['to'](this,'usersCount',_0x32d27d=>{const {collapseAt:_0x3c64f4}=_0x9c0d5c['config']['get']('presenceList'),_0x59ab1a=_0x32d27d>=_0x3c64f4;if(_0x59ab1a&&!_0x5ed6c7['inlineListView']['items']['find'](_0x6c1c21=>_0x6c1c21 instanceof PresenceCounterView)){const _0x4ae074=this['context']['config']['get']('presenceList.collapseAt')-0x1;this['currentDisplayedUsers']['length']==_0x4ae074&&this['currentDisplayedUsers']['length']>0x1&&this['currentDisplayedUsers']['remove'](this['currentDisplayedUsers']['length']-0x1),_0x5ed6c7['inlineListView']['items']['add'](_0x5ed6c7['counterView']);}return _0x59ab1a||this['hideDropdown'](),_0x59ab1a;}),_0x5ed6c7['inlineListView']['items']['bindTo'](this['currentDisplayedUsers'])['using'](_0xc70d01=>{const _0x363aa5=_0x9c0d5c['config']['get']('presenceList'),_0x49dbf5=new PresenceInlineListItemView(_0x9c0d5c['locale'],_0xc70d01,!!_0x363aa5['onClick']);return _0x49dbf5['bind']('hasTooltip')['to'](_0x5ed6c7,'isCollapsed',_0x3d9721=>!_0x3d9721),_0x49dbf5['bind']('isFocusable')['to'](_0x5ed6c7,'isCollapsed',_0x2bd384=>!_0x2bd384),_0x363aa5['onClick']&&this['listenTo'](_0x49dbf5,'execute',()=>{this['view']['isCollapsed']||_0x363aa5['onClick'](_0xc70d01,_0x49dbf5['element']);}),_0x49dbf5;}),this['listenTo'](_0x5ed6c7['inlineListView'],'presencelist:show',()=>{this['view']['isCollapsed']&&this['showDropdown']();}),this['listenTo'](_0x5ed6c7['inlineListView'],'presencelist:hide',()=>{this['presenceDropdownView']&&this['hideDropdown']();}),_0x5ed6c7['inlineListView']['keystrokes']['set']('Enter',(_0x2e7cd1,_0x2b4265)=>{this['view']['isCollapsed']&&(this['showDropdown'](),_0x2b4265());}),_0x5ed6c7['render'](),_0x43ddc6['render'](),ckeditor5['clickOutsideHandler']({'emitter':_0x5ed6c7,'activator':()=>_0x43ddc6['isVisible'],'contextElements':[_0x43ddc6['element'],_0x5ed6c7['inlineListView']['element']],'callback':()=>this['hideDropdown']()}),_0x9c0d5c['config']['get']('presenceList.container')['appendChild'](_0x5ed6c7['element']),this['_bodyCollection']=new ckeditor5['BodyCollection'](this['context']['locale']),this['_bodyCollection']['attachToDom'](),this['_bodyCollection']['add'](this['balloonPanelView']),_0x5ed6c7;}['_handleUserAdd'](_0x56c143){if(!this['context']['config']['get']('presenceList.displayMe')&&_0x56c143['isMe'])return;const _0x77ab56=this['context']['config']['get']('presenceList.collapseAt')-0x1;for(this['usersCount']++;this['currentDisplayedUsers']['length']>=_0x77ab56-(this['view']['isCollapsed']?0x1:0x0)&&this['currentDisplayedUsers']['length']>0x1;)this['currentDisplayedUsers']['remove'](0x1);const _0xc9aac5=_0x56c143['isMe']?0x0:this['currentDisplayedUsers']['length'];this['currentDisplayedUsers']['add'](_0x56c143,_0xc9aac5);}['_handleUserRemove'](_0x15d15f){this['usersCount']--;const {collapseAt:_0x4bd957}=this['context']['config']['get']('presenceList'),_0x1770ee=this['usersCount']>=_0x4bd957;if(this['currentDisplayedUsers']['get'](_0x15d15f['id']))this['currentDisplayedUsers']['remove'](_0x15d15f['id']);else{if(_0x1770ee&&this['currentDisplayedUsers']['length']+0x1===_0x4bd957-0x1)return;}if(this['currentDisplayedUsers']['length']+(_0x1770ee?0x1:0x0)<this['usersCount']){for(const _0x371b42 of Array['from'](this['_allConnectedUsers'])['reverse']())if(!this['currentDisplayedUsers']['get'](_0x371b42['id'])&&(this['currentDisplayedUsers']['add'](_0x371b42,Math['min'](this['currentDisplayedUsers']['length']-(_0x1770ee?0x1:0x0),0x1)),this['currentDisplayedUsers']['length']+(_0x1770ee?0x1:0x0)===_0x4bd957-0x1))return;}}['showDropdown'](){if(this['presenceDropdownView'])return;const _0xf2c3e5=this['context']['config']['get']('presenceList');this['presenceDropdownView']=new PresenceDropdownListView(this['context']['locale'],!!_0xf2c3e5['onClick']),this['view']['inlineListView']['isExpanded']=!0x0,this['listenTo'](this['presenceDropdownView'],'presencelist:hide',()=>{this['presenceDropdownView']&&this['hideDropdown']();});const {listWrapperView:_0x5cc819}=this['presenceDropdownView'];_0x5cc819['items']['bindTo'](this['_allConnectedUsers'])['using'](_0x4e5c36=>{if(!_0xf2c3e5['displayMe']&&_0x4e5c36['isMe'])return null;const _0x195868=new PresenceDropdownListItemView(this['context']['locale'],_0x4e5c36,!!_0xf2c3e5['onClick']);return _0xf2c3e5['onClick']&&this['listenTo'](_0x195868,'execute',()=>{_0xf2c3e5['onClick'](_0x4e5c36,_0x195868['element']);}),_0x195868;}),this['balloonPanelView']['content']['add'](this['presenceDropdownView']),this['balloonPanelView']['pin']({'target':this['view']['inlineListView']['element']}),_0x5cc819['focus'](),_0x5cc819['checkIfScrollable']();const _0x40bf30=(_0x31a041,_0x1d0cf9)=>{this['hideDropdown'](),this['view']['inlineListView']['focus'](),_0x1d0cf9();};_0x5cc819['keystrokes']['set']('Esc',_0x40bf30),_0x5cc819['keystrokes']['set']('Shift+Tab',_0x40bf30),_0x5cc819['keystrokes']['set']('Tab',(_0x1d91d0,_0x50da24)=>{focusNextElement(this['view']['element']),this['hideDropdown'](),_0x50da24();}),_0x5cc819['focusTracker']['add'](this['view']['element']),_0x5cc819['focusTracker']['on']('change:isFocused',(_0x385a9a,_0x91049b,_0x113a66)=>{_0x113a66||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);}}function focusNextElement(_0x172946){const _0x1f64ee=['a','button','input','select','textarea','[tabindex]','[contenteditable]']['map'](_0x575318=>_0x575318+':not([disabled]):not([tabindex=\x22-1\x22])')['join'](','),_0x41f9c8=[...document['body']['querySelectorAll'](_0x1f64ee)]['filter'](_0x35cd0c=>_0x35cd0c===document['activeElement']||_0x35cd0c['offsetWidth']+_0x35cd0c['offsetHeight']>0x0)['sort']((_0x264deb,_0xa5f165)=>(_0x264deb['tabIndex']||0x0)-(_0xa5f165['tabIndex']||0x0)),_0x398d45=_0x41f9c8['indexOf'](_0x172946),_0x2565ef=_0x41f9c8[(_0x398d45+0x1)%_0x41f9c8['length']];_0x2565ef&&_0x2565ef['focus']();}class PresenceList extends ckeditor5['ContextPlugin']{static get['requires'](){return[_0xb9e36d,PresenceListUI];}static get['pluginName'](){return'PresenceList';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function getTranslation$3(_0x1064ef,_0x436926){const t=_0x1064ef['t'],_0x23ef0e=_0x1064ef['t'];switch(_0x436926){case'AI\x20Assistant':return _0x23ef0e('AI\x20Assistant');case'Block\x20quote':return _0x23ef0e('Block\x20quote');case'Bulleted\x20List':return _0x23ef0e('Bulleted\x20List');case'Insert\x20code\x20block':return _0x23ef0e('Insert\x20code\x20block');case'Open\x20file\x20manager':return _0x23ef0e('Open\x20file\x20manager');case'Insert\x20image':return _0x23ef0e('Insert\x20image');case'Heading\x201':return _0x23ef0e('Heading\x201');case'Heading\x202':return _0x23ef0e('Heading\x202');case'Heading\x203':return _0x23ef0e('Heading\x203');case'Heading\x204':return _0x23ef0e('Heading\x204');case'Heading\x205':return _0x23ef0e('Heading\x205');case'Heading\x206':return _0x23ef0e('Heading\x206');case'Horizontal\x20line':return _0x23ef0e('Horizontal\x20line');case'Insert\x20HTML':return _0x23ef0e('Insert\x20HTML');case'Increase\x20indent':return _0x23ef0e('Increase\x20indent');case'Insert\x20table':return _0x23ef0e('Insert\x20table');case'Table\x20of\x20contents':return _0x23ef0e('Table\x20of\x20contents');case'Numbered\x20List':return _0x23ef0e('Numbered\x20List');case'Decrease\x20indent':return _0x23ef0e('Decrease\x20indent');case'Paragraph':return _0x23ef0e('Paragraph');case'To-do\x20List':return _0x23ef0e('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 _0x436926;}}class _0x30f339 extends ckeditor5['Plugin']{static get['pluginName'](){return'SlashCommandConfig';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5259a7){super(_0x5259a7),this['_allowedCommands']=null;}['afterInit'](){const _0x22bf79=this['editor']['config']['get']('slashCommand.removeCommands')||[],_0x1319ca=getExcludedHeadings(this['editor']['config']['get']('heading.options')),_0x22b3d7=this['getDefaultCommands']()['filter'](_0x3264a8=>!_0x1319ca['includes'](_0x3264a8['id']));let _0xb7f19=_0x22b3d7['filter'](_0x3bd9ba=>!_0x22bf79['includes'](_0x3bd9ba['commandName']));const _0x5624ac=this['editor']['config']['get']('slashCommand.extraCommands');_0x5624ac&&_0x5624ac['length']&&(_0xb7f19=_0xb7f19['concat'](_0x5624ac));const _0x3e265d=this['editor']['config']['get']('template.definitions');_0x3e265d&&_0x3e265d['length']&&(_0xb7f19=_0xb7f19['concat'](mapTemplates(_0x3e265d)));const _0x50e0a8=this['editor']['config']['get']('style.definitions');_0x50e0a8&&_0x50e0a8['length']&&(_0xb7f19=_0xb7f19['concat'](mapStyles(_0x50e0a8)));const _0x378d8a=_0xb7f19['filter'](_0x17289c=>!_0x17289c['commandName']||void 0x0!==this['editor']['commands']['get'](_0x17289c['commandName'])),_0x57abc7=[];for(const _0x2b9891 of _0x378d8a)_0x57abc7['push']({'id':_0x2b9891['id'],'commandName':_0x2b9891['commandName'],'title':'function'==typeof _0x2b9891['title']?_0x2b9891['title'](this['editor']):_0x2b9891['title'],'description':_0x2b9891['description'],'icon':_0x2b9891['icon'],'isIconColorInherited':_0x2b9891['isIconColorInherited'],'aliases':_0x2b9891['aliases'],'isEnabled':()=>this['_proxyIsEnabled'](_0x2b9891),'execute':()=>this['_proxyExecute'](_0x2b9891)});this['_allowedCommands']=_0x57abc7['sort'](_0x264777),_0x554ee2(this);}['getAllowedCommands'](){return this['_allowedCommands'];}['getDefaultCommands'](){const _0x2ee395=_0x442c20=>getTranslation$3(this['editor']['locale'],_0x442c20);return[{'id':'aiAssistant','commandName':'showAIAssistant','icon':ckeditor5['IconRobotPencil'],'title':_0x2ee395('AI\x20Assistant'),'description':_0x2ee395('Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content'),'execute':_0x3f7f0c=>{setTimeout(()=>_0x3f7f0c['execute']('showAIAssistant'));}},{'id':'blockQuote','commandName':'blockQuote','icon':ckeditor5['IconQuote'],'title':_0x2ee395('Block\x20quote'),'description':_0x2ee395('Create\x20a\x20block\x20quote')},{'id':'bulletedList','commandName':'bulletedList','icon':ckeditor5['IconBulletedList'],'title':_0x2ee395('Bulleted\x20List'),'description':_0x2ee395('Create\x20a\x20bulleted\x20list')},{'id':'codeBlock','commandName':'codeBlock','icon':ckeditor5['IconCodeBlock'],'title':_0x2ee395('Insert\x20code\x20block'),'description':_0x2ee395('Create\x20a\x20code\x20block')},{'id':'ckbox','commandName':'ckbox','icon':ckeditor5['IconBrowseFiles'],'title':_0x2ee395('Open\x20file\x20manager'),'description':_0x2ee395('Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckfinder','filemanager','upload']},{'id':'ckfinder','commandName':'ckfinder','icon':ckeditor5['IconBrowseFiles'],'title':_0x2ee395('Insert\x20image'),'description':_0x2ee395('Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckbox','filemanager','upload']},{'id':'emoji','commandName':'emoji','icon':ckeditor5['IconEmoji'],'title':_0x2ee395('Emoji'),'description':_0x2ee395('Insert\x20an\x20emoji'),'execute':_0x575b60=>{setTimeout(()=>_0x575b60['execute']('emoji'));}},{'id':'heading1','commandName':'heading','icon':ckeditor5['IconHeading1'],'title':_0x2ee395('Heading\x201'),'description':_0x2ee395('Create\x20a\x20heading\x20level\x201'),'execute':_0x207564=>{_0x207564['execute']('heading',{'value':'heading1'});}},{'id':'heading2','commandName':'heading','icon':ckeditor5['IconHeading2'],'title':_0x2ee395('Heading\x202'),'description':_0x2ee395('Create\x20a\x20heading\x20level\x202'),'execute':_0x438df9=>{_0x438df9['execute']('heading',{'value':'heading2'});}},{'id':'heading3','commandName':'heading','icon':ckeditor5['IconHeading3'],'title':_0x2ee395('Heading\x203'),'description':_0x2ee395('Create\x20a\x20heading\x20level\x203'),'execute':_0x38a65f=>{_0x38a65f['execute']('heading',{'value':'heading3'});}},{'id':'heading4','commandName':'heading','icon':ckeditor5['IconHeading4'],'title':_0x2ee395('Heading\x204'),'description':_0x2ee395('Create\x20a\x20heading\x20level\x204'),'execute':_0x1d4718=>{_0x1d4718['execute']('heading',{'value':'heading4'});}},{'id':'heading5','commandName':'heading','icon':ckeditor5['IconHeading5'],'title':_0x2ee395('Heading\x205'),'description':_0x2ee395('Create\x20a\x20heading\x20level\x205'),'execute':_0x550a78=>{_0x550a78['execute']('heading',{'value':'heading5'});}},{'id':'heading6','commandName':'heading','icon':ckeditor5['IconHeading6'],'title':_0x2ee395('Heading\x206'),'description':_0x2ee395('Create\x20a\x20heading\x20level\x206'),'execute':_0x159163=>{_0x159163['execute']('heading',{'value':'heading6'});}},{'id':'horizontalLine','commandName':'horizontalLine','icon':ckeditor5['IconHorizontalLine'],'title':_0x2ee395('Horizontal\x20line'),'description':_0x2ee395('Insert\x20a\x20horizontal\x20line')},{'id':'htmlEmbed','commandName':'htmlEmbed','icon':ckeditor5['IconHtml'],'title':_0x2ee395('Insert\x20HTML'),'description':_0x2ee395('Insert\x20an\x20HTML\x20snippet')},{'id':'indent','commandName':'indent','icon':ckeditor5['IconIndent'],'title':_0x2ee395('Increase\x20indent'),'description':_0x2ee395('Increase\x20the\x20indentation')},{'id':'insertMermaidCommand','commandName':'insertMermaidCommand','title':_0x2ee395('Insert\x20Mermaid\x20diagram'),'description':_0x2ee395('Insert\x20the\x20Mermaid\x20diagram')},{'id':'insertTable','commandName':'insertTable','icon':ckeditor5['IconTable'],'title':_0x2ee395('Insert\x20table'),'description':_0x2ee395('Create\x20a\x20table')},{'id':'insertTableOfContents','commandName':'insertTableOfContents','icon':ckeditor5['IconTableOfContents'],'title':_0x2ee395('Table\x20of\x20contents'),'description':_0x2ee395('Insert\x20table\x20of\x20contents'),'aliases':['toc']},{'id':'numberedList','commandName':'numberedList','icon':ckeditor5['IconNumberedList'],'title':_0x2ee395('Numbered\x20List'),'description':_0x2ee395('Create\x20a\x20numbered\x20list')},{'id':'outdent','commandName':'outdent','icon':ckeditor5['IconOutdent'],'title':_0x2ee395('Decrease\x20indent'),'description':_0x2ee395('Decrease\x20the\x20indentation')},{'id':'paragraph','commandName':'paragraph','icon':ckeditor5['IconParagraph'],'title':_0x2ee395('Paragraph'),'description':_0x2ee395('Insert\x20a\x20paragraph')},{'id':'todoList','commandName':'todoList','icon':ckeditor5['IconTodoList'],'title':_0x2ee395('To-do\x20List'),'description':_0x2ee395('Create\x20a\x20to-do\x20list')},{'id':'footnote','commandName':'insertFootnote','icon':ckeditor5['IconFootnote'],'title':_0x2ee395('Footnote'),'description':_0x2ee395('Insert\x20a\x20footnote')}];}['_proxyIsEnabled'](_0x2c2c11){return _0x2c2c11['isEnabled']?_0x2c2c11['isEnabled'](this['editor']):!_0x2c2c11['commandName']||this['editor']['commands']['get'](_0x2c2c11['commandName'])['isEnabled'];}['_proxyExecute'](_0x2085c3){if(_0x2085c3['execute'])_0x2085c3['execute'](this['editor']);else{if(!_0x2085c3['commandName'])throw new ckeditor5['CKEditorError']('slash-command-execute-missing',this['editor'],{'commandDefinition':_0x2085c3});this['editor']['execute'](_0x2085c3['commandName']);}}}function _0x264777(_0x31e049,_0x5ce547){return _0x31e049['title']<_0x5ce547['title']?-0x1:_0x31e049['title']>_0x5ce547['title']?0x1:0x0;}function convertTitleToId(_0x54454c,_0x36665a){return _0x36665a+'-'+_0x54454c['toLowerCase']()['split']('\x20')['join']('-');}function mapTemplates(_0x29a4b1){return _0x29a4b1['map'](_0x5389bd=>{const {title:_0x4035ac,icon:_0x1011f1,description:_0x490761,data:_0xf8b3ef}=_0x5389bd,_0x3d8010={'id':convertTitleToId(_0x4035ac,'template'),'commandName':'insertTemplate','execute':_0x4a828b=>{_0x4a828b['execute']('insertTemplate',_0xf8b3ef);},'description':_0x490761,'icon':_0x1011f1,'title':_0x4035ac};return _0x1011f1&&(_0x3d8010['isIconColorInherited']=!0x1),_0x3d8010;});}function mapStyles(_0x4fec27){return _0x4fec27['map'](_0x4ce683=>{const _0x5dcf26={'id':convertTitleToId(_0x4ce683['name'],'style'),'commandName':'style','execute':_0x462c2b=>{_0x462c2b['execute']('style',{'styleName':_0x4ce683['name']});},'isEnabled':_0x19c56f=>{const _0x4e2a27=_0x19c56f['commands']['get']('style');return _0x4e2a27['isEnabled']&&_0x4e2a27['enabledStyles']['includes'](_0x4ce683['name']);},'title':_0x4ce683['name']};return _0x5dcf26;});}function getExcludedHeadings(_0x1a44e9){let _0x37c594=['heading4','heading5','heading6'];if(_0x1a44e9){const _0x439334=_0x1a44e9['map'](_0x5cc0d1=>_0x5cc0d1['model']);_0x37c594=['heading1','heading2','heading3','heading4','heading5','heading6']['filter'](_0x3ec804=>!_0x439334['includes'](_0x3ec804));}return _0x37c594;}async function _0x554ee2(_0x5b8014){const _0x257179=_0x42ab3e([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]),_0x26db3b=window[_0x42ab3e([0x44,0x61,0x74,0x65])][_0x42ab3e([0x6e,0x6f,0x77])](),_0x515329=_0x5b8014[_0x42ab3e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x32fb7c=new window[(_0x42ab3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x142301=>{_0x515329[_0x42ab3e([0x6f,0x6e,0x63,0x65])](_0x42ab3e([0x72,0x65,0x61,0x64,0x79]),_0x142301);}),_0x215572={[_0x42ab3e([0x6b,0x74,0x79])]:_0x42ab3e([0x45,0x43]),[_0x42ab3e([0x75,0x73,0x65])]:_0x42ab3e([0x73,0x69,0x67]),[_0x42ab3e([0x63,0x72,0x76])]:_0x42ab3e([0x50,0x2d,0x32,0x35,0x36]),[_0x42ab3e([0x78])]:_0x42ab3e([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]),[_0x42ab3e([0x79])]:_0x42ab3e([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]),[_0x42ab3e([0x61,0x6c,0x67])]:_0x42ab3e([0x45,0x53,0x32,0x35,0x36])},_0x193f79=_0x515329[_0x42ab3e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x42ab3e([0x67,0x65,0x74])](_0x42ab3e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0xec85f0=await(async function(){let _0x33625c,_0x157977=null,_0x402008=null;try{if(_0x193f79==_0x42ab3e([0x47,0x50,0x4c]))return _0x42ab3e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x33625c=(function(){const _0x3e1c90=_0x193f79[_0x42ab3e([0x73,0x70,0x6c,0x69,0x74])](_0x42ab3e([0x2e]));if(0x3!=_0x3e1c90[_0x42ab3e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x5c05de=_0x3e1c90[0x1];return _0x38fb08(_0x5c05de);function _0x38fb08(_0xf69616){const _0x4b4c7d=_0x1bc2ea(_0xf69616);return _0x4b4c7d&&_0x3e1e70()?_0x4b4c7d:null;function _0x3e1e70(){const _0x208d2c=_0x4b4c7d[_0x42ab3e([0x6a,0x74,0x69])],_0x2b3a57=window[_0x42ab3e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x208d2c[_0x42ab3e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x208d2c[_0x42ab3e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2b0b23={..._0x4b4c7d,[_0x42ab3e([0x6a,0x74,0x69])]:_0x208d2c[_0x42ab3e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x208d2c[_0x42ab3e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2b0b23[_0x42ab3e([0x76,0x63])],_0x10e541(_0x2b0b23)==_0x2b3a57;}}}()),!_0x33625c)return _0x42ab3e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x33625c[_0x42ab3e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x402008=function(_0x4141fb,_0x27036e){return new window[(_0x42ab3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a9d5d=>{if(_0x376288())return _0x5a9d5d(_0x42ab3e([0x56,0x61,0x6c,0x69,0x64]));_0x5355c0(),_0x515329[_0x42ab3e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x42ab3e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2efdd8=!0x1;const _0xef76b0=ckeditor5['uid']();function _0x28892a(_0x58d43d){return!!_0x58d43d&&(typeof _0x58d43d===_0x42ab3e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x58d43d===_0x42ab3e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x58d43d[_0x42ab3e([0x74,0x68,0x65,0x6e])]===_0x42ab3e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x58d43d[_0x42ab3e([0x63,0x61,0x74,0x63,0x68])]===_0x42ab3e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3767fc(_0x5b8890){_0xc67a37(_0x5b8890)[_0x42ab3e([0x74,0x68,0x65,0x6e])](_0x5f56e5=>{if(!_0x5f56e5||_0x5f56e5[_0x42ab3e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x42ab3e([0x6f,0x6b]))return _0x42ab3e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1131bd(_0x10e541(_0xef76b0+_0x27036e))!=_0x5f56e5[_0x42ab3e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x42ab3e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x42ab3e([0x56,0x61,0x6c,0x69,0x64]);})[_0x42ab3e([0x74,0x68,0x65,0x6e])](_0x41ab20=>(_0x52c72f(),_0x41ab20),()=>{const _0x417a0a=_0x59534c();return null==_0x417a0a?(_0x52c72f(),_0x42ab3e([0x56,0x61,0x6c,0x69,0x64])):_0x42ab3e(_0x26db3b-_0x417a0a>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x42ab3e([0x74,0x68,0x65,0x6e])](_0x5a9d5d)[_0x42ab3e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5a9d5d(_0x42ab3e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4c64be=0x36ee80;function _0x52c72f(){const _0x53c648=_0x42ab3e([0x6c,0x6c,0x63,0x74,0x2d])+_0x1131bd(_0x10e541(_0x4141fb)),_0x4eb847=_0x54f867(_0x1131bd(window[_0x42ab3e([0x4d,0x61,0x74,0x68])][_0x42ab3e([0x63,0x65,0x69,0x6c])](_0x26db3b/_0x4c64be)));window[_0x42ab3e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x42ab3e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x53c648,_0x4eb847);}function _0x59534c(){const _0x991189=_0x42ab3e([0x6c,0x6c,0x63,0x74,0x2d])+_0x1131bd(_0x10e541(_0x4141fb)),_0x9622ae=window[_0x42ab3e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x42ab3e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x991189);return _0x9622ae?window[_0x42ab3e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x54f867(_0x9622ae),0x10)*_0x4c64be:null;}function _0xc67a37(_0x2f1e34){return new window[(_0x42ab3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3cee32,_0x59e8e0)=>{_0x2f1e34[_0x42ab3e([0x74,0x68,0x65,0x6e])](_0x3cee32,_0x59e8e0),window[_0x42ab3e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x59e8e0,0x1d4c0);});}}_0x515329[_0x42ab3e([0x6f,0x6e])](_0x42ab3e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x21af65,_0x1e06db)=>{if(_0x1e06db[0x0]!=_0x4141fb)return _0x5a9d5d(_0x42ab3e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1e06db[0x1]={..._0x1e06db[0x1],[_0x42ab3e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xef76b0};},{[_0x42ab3e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x42ab3e([0x68,0x69,0x67,0x68])}),_0x515329[_0x42ab3e([0x6f,0x6e])](_0x42ab3e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x7e351e=>{_0x28892a(_0x7e351e[_0x42ab3e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2efdd8=!0x0,_0x3767fc(_0x7e351e[_0x42ab3e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x42ab3e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x42ab3e([0x6c,0x6f,0x77])}),_0x32fb7c[_0x42ab3e([0x74,0x68,0x65,0x6e])](()=>{_0x2efdd8||_0x5a9d5d(_0x42ab3e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x376288(){return _0x515329[_0x42ab3e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x42ab3e([0x76,0x69,0x65,0x77])][_0x42ab3e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x42ab3e([0x61,0x75,0x74,0x6f]);}function _0x5355c0(){_0x515329[_0x42ab3e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x42ab3e([0x76,0x69,0x65,0x77])][_0x42ab3e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x42ab3e([0x61,0x75,0x74,0x6f]);}}(_0x33625c[_0x42ab3e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x33625c[_0x42ab3e([0x6a,0x74,0x69])]));const _0x4f8b4e=await(async function(){let _0x5b7528=!0x0;try{const _0x28f2ce=_0x193f79[_0x42ab3e([0x73,0x70,0x6c,0x69,0x74])](_0x42ab3e([0x2e])),[_0x21c35c,_0x55436a,_0x3d0a8f]=_0x28f2ce;return _0x43f140(_0x21c35c),await _0x39eebe(_0x21c35c,_0x55436a,_0x3d0a8f),_0x5b7528;}catch{return!0x1;}function _0x43f140(_0x5caf92){const _0x51242e=_0x1bc2ea(_0x5caf92);_0x51242e&&_0x51242e[_0x42ab3e([0x61,0x6c,0x67])]==_0x42ab3e([0x45,0x53,0x32,0x35,0x36])||(_0x5b7528=!0x1);}async function _0x39eebe(_0x38a417,_0x517978,_0x5f4308){const _0x35ce36=window[_0x42ab3e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x42ab3e([0x66,0x72,0x6f,0x6d])](_0x1c6ecf(_0x5f4308),_0x46b660=>_0x46b660[_0x42ab3e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x17d07f=new window[(_0x42ab3e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x42ab3e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x38a417+_0x42ab3e([0x2e])+_0x517978),_0x5ba0aa=window[_0x42ab3e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x42ab3e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5ba0aa)return;const _0x4c75e8=await _0x5ba0aa[_0x42ab3e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x42ab3e([0x6a,0x77,0x6b]),_0x215572,{[_0x42ab3e([0x6e,0x61,0x6d,0x65])]:_0x42ab3e([0x45,0x43,0x44,0x53,0x41]),[_0x42ab3e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x42ab3e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x42ab3e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5ba0aa[_0x42ab3e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x42ab3e([0x6e,0x61,0x6d,0x65])]:_0x42ab3e([0x45,0x43,0x44,0x53,0x41]),[_0x42ab3e([0x68,0x61,0x73,0x68])]:{[_0x42ab3e([0x6e,0x61,0x6d,0x65])]:_0x42ab3e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4c75e8,_0x35ce36,_0x17d07f)||(_0x5b7528=!0x1);}}());return _0x4f8b4e?(function(){const _0x10e0c8=_0x33625c[_0x42ab3e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x10e0c8)return!0x1;if(_0x10e0c8[_0x42ab3e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42ab3e([0x2a])))return!0x0;if(_0x10e0c8[_0x42ab3e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42ab3e([0x53,0x43])))return!0x0;if(_0x10e0c8[_0x42ab3e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42ab3e([0x50,0x50])))return!0x0;if(_0x10e0c8[_0x42ab3e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42ab3e([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x42ab3e([0x67,0x6c,0x6f,0x62])]&&window[_0x42ab3e([0x67,0x6c,0x6f,0x62])][_0x42ab3e([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;return!0x1;}())?(function(){const _0x19aeeb=[_0x42ab3e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x42ab3e([0x74,0x72,0x69,0x61,0x6c])][_0x42ab3e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33625c[_0x42ab3e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x26db3b/0x3e8:0x6a03bf00;return _0x33625c[_0x42ab3e([0x65,0x78,0x70])]<_0x19aeeb;}())?_0x42ab3e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x477c82=_0x33625c[_0x42ab3e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x477c82||0x0==_0x477c82[_0x42ab3e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x483c25}=new URL(window[_0x42ab3e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x477c82[_0x42ab3e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x483c25))return!0x0;const _0x3b7165=_0x483c25[_0x42ab3e([0x73,0x70,0x6c,0x69,0x74])](_0x42ab3e([0x2e]));return _0x477c82[_0x42ab3e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3aa607=>_0x3aa607[_0x42ab3e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42ab3e([0x2a])))[_0x42ab3e([0x6d,0x61,0x70])](_0x27c3ee=>_0x27c3ee[_0x42ab3e([0x73,0x70,0x6c,0x69,0x74])](_0x42ab3e([0x2e])))[_0x42ab3e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4371d3=>_0x4371d3[_0x42ab3e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3b7165[_0x42ab3e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x42ab3e([0x6d,0x61,0x70])](_0x2c014d=>Array(_0x3b7165[_0x42ab3e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2c014d[_0x42ab3e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x42ab3e([0x66,0x69,0x6c,0x6c])](_0x2c014d[0x0]===_0x42ab3e([0x2a])?_0x42ab3e([0x2a]):'')[_0x42ab3e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2c014d))[_0x42ab3e([0x73,0x6f,0x6d,0x65])](_0x4e074a=>_0x3b7165[_0x42ab3e([0x65,0x76,0x65,0x72,0x79])]((_0x1ebeff,_0x5a8c92)=>_0x4e074a[_0x5a8c92]===_0x1ebeff||_0x4e074a[_0x5a8c92]===_0x42ab3e([0x2a])));}())?(_0x33625c[_0x42ab3e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x42ab3e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x157977=function(_0x505776){const _0x458445=new window[(_0x42ab3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x423037=>setTimeout(_0x423037,0x93ecc)),_0x190270=_0x32fb7c[_0x42ab3e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x42ab3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3900c6=>{let _0x5eed3b=0x0;_0x515329[_0x42ab3e([0x6d,0x6f,0x64,0x65,0x6c])][_0x42ab3e([0x6f,0x6e])](_0x42ab3e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1f2b74,_0x1d6feb)=>{_0x1d6feb[0x0][_0x42ab3e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5eed3b++,0x5e8==_0x5eed3b&&(_0x3900c6(),_0x1f2b74[_0x42ab3e([0x6f,0x66,0x66])]());});})),_0x438161=[_0x458445,_0x190270];return window[_0x42ab3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x42ab3e([0x72,0x61,0x63,0x65])](_0x438161)[_0x42ab3e([0x74,0x68,0x65,0x6e])](()=>_0x505776);}(_0x42ab3e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x157977&&_0x402008)return new window[(_0x42ab3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x21fbe9,_0x5da38d)=>{_0x157977[_0x42ab3e([0x74,0x68,0x65,0x6e])](_0x21fbe9,_0x5da38d),_0x402008[_0x42ab3e([0x74,0x68,0x65,0x6e])](_0x137f5a=>{_0x137f5a!=_0x42ab3e([0x56,0x61,0x6c,0x69,0x64])&&_0x21fbe9(_0x137f5a);},_0x5da38d);});return _0x157977||_0x402008||_0x42ab3e([0x56,0x61,0x6c,0x69,0x64]);}())):_0x42ab3e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x42ab3e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x42ab3e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x42ab3e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x1bc2ea(_0x43ea0e){return _0x43ea0e[_0x42ab3e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x42ab3e([0x65,0x79]))?JSON[_0x42ab3e([0x70,0x61,0x72,0x73,0x65])](_0x1c6ecf(_0x43ea0e)):null;}function _0x1c6ecf(_0x483dcf){return window[_0x42ab3e([0x61,0x74,0x6f,0x62])](_0x483dcf[_0x42ab3e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x42ab3e([0x2b]))[_0x42ab3e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x42ab3e([0x2f])));}function _0x10e541(_0x5d82c9){let _0x29a6ac=0x1505;function _0x28ae13(_0x293dcc){for(let _0x1294c8=0x0;_0x1294c8<_0x293dcc[_0x42ab3e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1294c8++){const _0x4a5bb8=_0x293dcc[_0x42ab3e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1294c8);_0x29a6ac=(_0x29a6ac<<0x5)+_0x29a6ac+_0x4a5bb8,_0x29a6ac&=_0x29a6ac;}}return function _0xf0bbcc(_0xcb60b){Array[_0x42ab3e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xcb60b)?_0xcb60b[_0x42ab3e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xf0bbcc):_0xcb60b&&typeof _0xcb60b==_0x42ab3e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x42ab3e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xcb60b)[_0x42ab3e([0x73,0x6f,0x72,0x74])]()[_0x42ab3e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4d44d5,_0x53fa7f])=>{_0x28ae13(_0x4d44d5),_0xf0bbcc(_0x53fa7f);}):_0x28ae13(window[_0x42ab3e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xcb60b));}(_0x5d82c9),_0x29a6ac>>>0x0;}function _0x1131bd(_0xaec8ca){return _0xaec8ca[_0x42ab3e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x42ab3e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x42ab3e([0x30]));}function _0x54f867(_0x185b9e){return _0x185b9e[_0x42ab3e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x42ab3e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x42ab3e([0x6a,0x6f,0x69,0x6e])]('');}function _0x53eae1(){}function _0x42ab3e(_0x19c484){return _0x19c484['map'](_0x2afe8e=>String['fromCharCode'](_0x2afe8e))['join']('');}!function(_0x494f31){const _0x28df73=(function(){const _0x1e9bb6=window[_0x42ab3e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x42ab3e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x42ab3e([0x6e,0x6f,0x77])]())[_0x42ab3e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x42ab3e([0x2e]),'');let _0x4321ac=_0x42ab3e([0x75]);for(let _0x19afb0=0x0;_0x19afb0<_0x1e9bb6[_0x42ab3e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x19afb0+=0x2){let _0x4774d6=window[_0x42ab3e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e9bb6[_0x42ab3e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x19afb0,_0x19afb0+0x2));_0x4774d6>=_0x257179[_0x42ab3e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4774d6-=_0x257179[_0x42ab3e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4321ac+=_0x257179[_0x4774d6];}return _0x4321ac;}());_0x515329[_0x28df73]=_0x42ab3e([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x494f31,_0x494f31!=_0x42ab3e([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x32fb7c,_0x515329[_0x42ab3e([0x6d,0x6f,0x64,0x65,0x6c])][_0x42ab3e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x53eae1,_0x515329[_0x42ab3e([0x6d,0x6f,0x64,0x65,0x6c])][_0x42ab3e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x53eae1,_0x515329[_0x42ab3e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x42ab3e([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0xec85f0);}class SlashCommandEditing extends ckeditor5['Plugin']{static get['pluginName'](){return'SlashCommandEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x30f339];}['getMatchingCommands'](_0x1f1213){const _0x399ffc=_0x1f1213&&_0x1f1213['toLowerCase']();let _0x34d470=this['editor']['plugins']['get']('SlashCommandConfig')['getAllowedCommands']();if(_0x34d470=_0x34d470['filter'](_0x429d88=>_0x429d88['isEnabled']()),_0x399ffc){const _0x1e9b4b=[],_0x2886e9=[],_0x2b8c69=[],_0x867a71=[];for(const _0x82b7f8 of _0x34d470)_0x82b7f8['id']['toLowerCase']()['includes'](_0x399ffc)?_0x1e9b4b['push'](_0x82b7f8):_0x82b7f8['title']['toLowerCase']()['includes'](_0x399ffc)?_0x2886e9['push'](_0x82b7f8):_0x82b7f8['aliases']&&_0x82b7f8['aliases']['some'](_0x17a517=>_0x17a517['toLowerCase']()['includes'](_0x399ffc))?_0x2b8c69['push'](_0x82b7f8):_0x82b7f8['description']&&_0x82b7f8['description']['toLowerCase']()['includes'](_0x399ffc)&&_0x867a71['push'](_0x82b7f8);_0x34d470=_0x1e9b4b['concat'](_0x2886e9,_0x2b8c69,_0x867a71);}return _0x34d470;}}class SlashCommandButtonView extends ckeditor5['ButtonView']{constructor(_0x46e53b,_0x583286){super(_0x46e53b),this['textPartView']=this['_createTextPartView'](_0x46e53b,_0x583286),void 0x0!==_0x583286['isIconColorInherited']&&(this['iconView']['isColorInherited']=_0x583286['isIconColorInherited']),this['set']({'icon':_0x583286['icon']||ckeditor5['IconPlay'],'withText':!0x0,'label':_0x583286['title'],'class':'ck-slash-command-button'});}['render'](){super['render'](),this['children']['add'](this['textPartView']);}['_createTextPartView'](_0x43178b,_0x4192b4){const _0x5544e6=new ckeditor5['View'](_0x43178b);return _0x5544e6['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-slash-command-button__text-part']},'children':_0x4192b4['description']?[this['labelView'],{'tag':'span','attributes':{'class':['ck','ck-slash-command-button__description']},'children':[{'text':_0x4192b4['description']}]}]:[this['labelView']]}),_0x5544e6;}}class _0x15c7ff extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SlashCommandUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3c63fd){super(_0x3c63fd),this['_setupMentionConfiguration']();}['init'](){this['editor']['once']('ready',this['_overrideMentionExecuteListener']['bind'](this)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2df33a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5288b0;for(const _0x890eb1 in _0x2df33a){const _0x3c7ef7=_0x890eb1,_0x548be6=_0x2df33a[_0x3c7ef7];if('slashCommandLicenseKeyValid'==_0x548be6||'slashCommandLicenseKeyInvalid'==_0x548be6||'slashCommandLicenseKeyExpired'==_0x548be6||'slashCommandLicenseKeyDomainLimit'==_0x548be6||'slashCommandLicenseKeyNotAllowed'==_0x548be6||'slashCommandLicenseKeyEvaluationLimit'==_0x548be6||'slashCommandLicenseKeyUsageLimit'==_0x548be6){delete _0x2df33a[_0x3c7ef7],_0x5288b0=_0x548be6,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'slashCommandLicenseKeyInvalid'==_0x5288b0&&_0x2df33a['_showLicenseError']('invalid'),'slashCommandLicenseKeyExpired'==_0x5288b0&&_0x2df33a['_showLicenseError']('expired'),'slashCommandLicenseKeyDomainLimit'==_0x5288b0&&_0x2df33a['_showLicenseError']('domainLimit'),'slashCommandLicenseKeyNotAllowed'==_0x5288b0&&_0x2df33a['_showLicenseError']('featureNotAllowed','SlashCommand'),'slashCommandLicenseKeyEvaluationLimit'==_0x5288b0&&_0x2df33a['_showLicenseError']('evaluationLimit'),'slashCommandLicenseKeyUsageLimit'==_0x5288b0&&_0x2df33a['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_setupMentionConfiguration'](){const _0x192085=this['editor'],_0x52c5e4=this['editor']['plugins']['get']('SlashCommandEditing'),_0x204e09=_0x192085['config']['get']('mention.feeds');_0x204e09['push']({'marker':'/','feed':_0x378eae=>_0x52c5e4['getMatchingCommands'](_0x378eae),'itemRenderer':this['_customItemRenderer']['bind'](this),'dropdownLimit':_0x192085['config']['get']('slashCommand.dropdownLimit')||0x1/0x0}),_0x192085['config']['set']('mention.feeds',_0x204e09);}['_overrideMentionExecuteListener'](){const _0x357cbb=this['editor'];_0x357cbb['commands']['get']('mention')['on']('execute',(_0x218f5e,_0x35b5ba)=>{const _0x4a507e=_0x35b5ba[0x0],_0x44b941=_0x357cbb['model'];'/'===_0x4a507e['marker']&&_0x44b941['change'](_0x4afe80=>{_0x4afe80['remove'](_0x4a507e['range']),_0x4a507e['mention']['execute'](),_0x218f5e['stop']();});},{'priority':'high'});}['_customItemRenderer'](_0x1dc80c){const _0x3d02f3=this['editor']['locale'],_0x4246aa=new SlashCommandButtonView(_0x3d02f3,_0x1dc80c);return _0x4246aa['render'](),_0x4246aa['element'];}}class _0x230753 extends ckeditor5['Plugin']{static get['requires'](){return[ckeditor5['Mention'],SlashCommandEditing,_0x15c7ff];}static get['pluginName'](){return'SlashCommand';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function getTranslation$2(_0x3a10ff,_0x3b8e72){const t=_0x3a10ff['t'];switch(_0x3b8e72){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 _0x3b8e72;}}function getActiveRootName(_0x1ad659){const _0x3ca562=_0x1ad659['editing']['view']['document']['roots'],_0x46b7a0=_0x3ca562['length'];if(0x0===_0x46b7a0)throw new ckeditor5['CKEditorError']('source-editing-enhanced-editor-no-root',_0x1ad659);if(0x1===_0x46b7a0)return _0x3ca562['first']['rootName'];return Array['from'](_0x1ad659['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function formatSource(_0x4c6ceb){return isHtml(_0x4c6ceb)?ckeditor5['formatHtml'](_0x4c6ceb):_0x4c6ceb;}function unformatSource(_0x1b0980){return isHtml(_0x1b0980['replace'](/^[\n\s]*/g,''))?_0x1b0980['replace'](/\s+/g,''):_0x1b0980;}function isHtml(_0x17aa57){return _0x17aa57['startsWith']('<');}let _0x43037d=[],_0x9bd45c=[];function isExtendingChar(_0x50cc2f){if(_0x50cc2f<0x300)return!0x1;for(let _0x2b04eb=0x0,_0x3c547b=_0x43037d['length'];;){let _0x4858d4=_0x2b04eb+_0x3c547b>>0x1;if(_0x50cc2f<_0x43037d[_0x4858d4])_0x3c547b=_0x4858d4;else{if(!(_0x50cc2f>=_0x9bd45c[_0x4858d4]))return!0x0;_0x2b04eb=_0x4858d4+0x1;}if(_0x2b04eb==_0x3c547b)return!0x1;}}function isRegionalIndicator(_0xbadb48){return _0xbadb48>=0x1f1e6&&_0xbadb48<=0x1f1ff;}((()=>{let _0x4e3427='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'](_0x28a3d0=>_0x28a3d0?parseInt(_0x28a3d0,0x24):0x1);for(let _0xf36c0b=0x0,_0x5a1c33=0x0;_0xf36c0b<_0x4e3427['length'];_0xf36c0b++)(_0xf36c0b%0x2?_0x9bd45c:_0x43037d)['push'](_0x5a1c33+=_0x4e3427[_0xf36c0b]);})());const _0x172430=0x200d;function findClusterBreak$1(_0x3d84b9,_0x28ef0f,_0x8c9d12=!0x0,_0x24fdb8=!0x0){return(_0x8c9d12?nextClusterBreak:prevClusterBreak)(_0x3d84b9,_0x28ef0f,_0x24fdb8);}function nextClusterBreak(_0x4d8135,_0x3b3e9f,_0x96b797){if(_0x3b3e9f==_0x4d8135['length'])return _0x3b3e9f;_0x3b3e9f&&surrogateLow$1(_0x4d8135['charCodeAt'](_0x3b3e9f))&&surrogateHigh$1(_0x4d8135['charCodeAt'](_0x3b3e9f-0x1))&&_0x3b3e9f--;let _0x528424=codePointAt$1(_0x4d8135,_0x3b3e9f);for(_0x3b3e9f+=codePointSize$1(_0x528424);_0x3b3e9f<_0x4d8135['length'];){let _0x5388f1=codePointAt$1(_0x4d8135,_0x3b3e9f);if(_0x528424==_0x172430||_0x5388f1==_0x172430||_0x96b797&&isExtendingChar(_0x5388f1))_0x3b3e9f+=codePointSize$1(_0x5388f1),_0x528424=_0x5388f1;else{if(!isRegionalIndicator(_0x5388f1))break;{let _0x29a79d=0x0,_0x38c8fd=_0x3b3e9f-0x2;for(;_0x38c8fd>=0x0&&isRegionalIndicator(codePointAt$1(_0x4d8135,_0x38c8fd));)_0x29a79d++,_0x38c8fd-=0x2;if(_0x29a79d%0x2==0x0)break;_0x3b3e9f+=0x2;}}}return _0x3b3e9f;}function prevClusterBreak(_0x52eb39,_0x5366ba,_0x592929){for(;_0x5366ba>0x0;){let _0x2a17cb=nextClusterBreak(_0x52eb39,_0x5366ba-0x2,_0x592929);if(_0x2a17cb<_0x5366ba)return _0x2a17cb;_0x5366ba--;}return 0x0;}function codePointAt$1(_0x4073af,_0x127379){let _0x48d142=_0x4073af['charCodeAt'](_0x127379);if(!surrogateHigh$1(_0x48d142)||_0x127379+0x1==_0x4073af['length'])return _0x48d142;let _0x3be4d1=_0x4073af['charCodeAt'](_0x127379+0x1);return surrogateLow$1(_0x3be4d1)?_0x3be4d1-0xdc00+(_0x48d142-0xd800<<0xa)+0x10000:_0x48d142;}function surrogateLow$1(_0x2cce08){return _0x2cce08>=0xdc00&&_0x2cce08<0xe000;}function surrogateHigh$1(_0x3acacb){return _0x3acacb>=0xd800&&_0x3acacb<0xdc00;}function codePointSize$1(_0xd990d3){return _0xd990d3<0x10000?0x1:0x2;}let Text$1=class _0xb1b7e{['lineAt'](_0x6a3342){if(_0x6a3342<0x0||_0x6a3342>this['length'])throw new RangeError('Invalid\x20position\x20'+_0x6a3342+'\x20in\x20document\x20of\x20length\x20'+this['length']);return this['lineInner'](_0x6a3342,!0x1,0x1,0x0);}['line'](_0x1cd2b3){if(_0x1cd2b3<0x1||_0x1cd2b3>this['lines'])throw new RangeError('Invalid\x20line\x20number\x20'+_0x1cd2b3+'\x20in\x20'+this['lines']+'-line\x20document');return this['lineInner'](_0x1cd2b3,!0x0,0x1,0x0);}['replace'](_0x5db881,_0x2b8e20,_0x13dbd1){[_0x5db881,_0x2b8e20]=_0x1a239e(this,_0x5db881,_0x2b8e20);let _0x5b3410=[];return this['decompose'](0x0,_0x5db881,_0x5b3410,0x2),_0x13dbd1['length']&&_0x13dbd1['decompose'](0x0,_0x13dbd1['length'],_0x5b3410,0x3),this['decompose'](_0x2b8e20,this['length'],_0x5b3410,0x1),TextNode['from'](_0x5b3410,this['length']-(_0x2b8e20-_0x5db881)+_0x13dbd1['length']);}['append'](_0x3e149e){return this['replace'](this['length'],this['length'],_0x3e149e);}['slice'](_0x3e84a0,_0x44384c=this['length']){[_0x3e84a0,_0x44384c]=_0x1a239e(this,_0x3e84a0,_0x44384c);let _0x431353=[];return this['decompose'](_0x3e84a0,_0x44384c,_0x431353,0x0),TextNode['from'](_0x431353,_0x44384c-_0x3e84a0);}['eq'](_0x2ee518){if(_0x2ee518==this)return!0x0;if(_0x2ee518['length']!=this['length']||_0x2ee518['lines']!=this['lines'])return!0x1;let _0x9a09ee=this['scanIdentical'](_0x2ee518,0x1),_0x5e9c2a=this['length']-this['scanIdentical'](_0x2ee518,-0x1),_0x4730bd=new RawTextCursor(this),_0x19d24d=new RawTextCursor(_0x2ee518);for(let _0x2726d1=_0x9a09ee,_0x5a2246=_0x9a09ee;;){if(_0x4730bd['next'](_0x2726d1),_0x19d24d['next'](_0x2726d1),_0x2726d1=0x0,_0x4730bd['lineBreak']!=_0x19d24d['lineBreak']||_0x4730bd['done']!=_0x19d24d['done']||_0x4730bd['value']!=_0x19d24d['value'])return!0x1;if(_0x5a2246+=_0x4730bd['value']['length'],_0x4730bd['done']||_0x5a2246>=_0x5e9c2a)return!0x0;}}['iter'](_0x116daa=0x1){return new RawTextCursor(this,_0x116daa);}['iterRange'](_0x15cf75,_0x4a643b=this['length']){return new PartialTextCursor(this,_0x15cf75,_0x4a643b);}['iterLines'](_0x1a0169,_0x3dd72f){let _0x1f71a9;if(null==_0x1a0169)_0x1f71a9=this['iter']();else{null==_0x3dd72f&&(_0x3dd72f=this['lines']+0x1);let _0x46f6ff=this['line'](_0x1a0169)['from'];_0x1f71a9=this['iterRange'](_0x46f6ff,Math['max'](_0x46f6ff,_0x3dd72f==this['lines']+0x1?this['length']:_0x3dd72f<=0x1?0x0:this['line'](_0x3dd72f-0x1)['to']));}return new _0x1f1c1b(_0x1f71a9);}['toString'](){return this['sliceString'](0x0);}['toJSON'](){let _0x2f1410=[];return this['flatten'](_0x2f1410),_0x2f1410;}constructor(){}static['of'](_0x192505){if(0x0==_0x192505['length'])throw new RangeError('A\x20document\x20must\x20have\x20at\x20least\x20one\x20line');return 0x1!=_0x192505['length']||_0x192505[0x0]?_0x192505['length']<=0x20?new TextLeaf(_0x192505):TextNode['from'](TextLeaf['split'](_0x192505,[])):_0xb1b7e['empty'];}};class TextLeaf extends Text$1{constructor(_0x2de5fb,_0x2248d4=textLength(_0x2de5fb)){super(),this['text']=_0x2de5fb,this['length']=_0x2248d4;}get['lines'](){return this['text']['length'];}get['children'](){return null;}['lineInner'](_0x22a4e7,_0x3c7a6a,_0x4cb594,_0x37d921){for(let _0x5a9935=0x0;;_0x5a9935++){let _0x329c88=this['text'][_0x5a9935],_0x5dffa9=_0x37d921+_0x329c88['length'];if((_0x3c7a6a?_0x4cb594:_0x5dffa9)>=_0x22a4e7)return new _0xef3058(_0x37d921,_0x5dffa9,_0x4cb594,_0x329c88);_0x37d921=_0x5dffa9+0x1,_0x4cb594++;}}['decompose'](_0x52e586,_0x168cdf,_0x59093,_0x3bf70b){let _0x1b024f=_0x52e586<=0x0&&_0x168cdf>=this['length']?this:new TextLeaf(sliceText(this['text'],_0x52e586,_0x168cdf),Math['min'](_0x168cdf,this['length'])-Math['max'](0x0,_0x52e586));if(0x1&_0x3bf70b){let _0x43c026=_0x59093['pop'](),_0x30a4e0=appendText(_0x1b024f['text'],_0x43c026['text']['slice'](),0x0,_0x1b024f['length']);if(_0x30a4e0['length']<=0x20)_0x59093['push'](new TextLeaf(_0x30a4e0,_0x43c026['length']+_0x1b024f['length']));else{let _0x4a1921=_0x30a4e0['length']>>0x1;_0x59093['push'](new TextLeaf(_0x30a4e0['slice'](0x0,_0x4a1921)),new TextLeaf(_0x30a4e0['slice'](_0x4a1921)));}}else _0x59093['push'](_0x1b024f);}['replace'](_0x21ac9b,_0x3318ff,_0x5623c7){if(!(_0x5623c7 instanceof TextLeaf))return super['replace'](_0x21ac9b,_0x3318ff,_0x5623c7);[_0x21ac9b,_0x3318ff]=_0x1a239e(this,_0x21ac9b,_0x3318ff);let _0x45e983=appendText(this['text'],appendText(_0x5623c7['text'],sliceText(this['text'],0x0,_0x21ac9b)),_0x3318ff),_0x1a2238=this['length']+_0x5623c7['length']-(_0x3318ff-_0x21ac9b);return _0x45e983['length']<=0x20?new TextLeaf(_0x45e983,_0x1a2238):TextNode['from'](TextLeaf['split'](_0x45e983,[]),_0x1a2238);}['sliceString'](_0x5077bd,_0x4d818b=this['length'],_0x4b4f48='\x0a'){[_0x5077bd,_0x4d818b]=_0x1a239e(this,_0x5077bd,_0x4d818b);let _0x44e324='';for(let _0x1cbf03=0x0,_0x4fe001=0x0;_0x1cbf03<=_0x4d818b&&_0x4fe001<this['text']['length'];_0x4fe001++){let _0xfac41=this['text'][_0x4fe001],_0x2616a6=_0x1cbf03+_0xfac41['length'];_0x1cbf03>_0x5077bd&&_0x4fe001&&(_0x44e324+=_0x4b4f48),_0x5077bd<_0x2616a6&&_0x4d818b>_0x1cbf03&&(_0x44e324+=_0xfac41['slice'](Math['max'](0x0,_0x5077bd-_0x1cbf03),_0x4d818b-_0x1cbf03)),_0x1cbf03=_0x2616a6+0x1;}return _0x44e324;}['flatten'](_0x55bf2c){for(let _0x17d033 of this['text'])_0x55bf2c['push'](_0x17d033);}['scanIdentical'](){return 0x0;}static['split'](_0x5c23d5,_0x50f548){let _0x4a3163=[],_0x2b506d=-0x1;for(let _0x89cc95 of _0x5c23d5)_0x4a3163['push'](_0x89cc95),_0x2b506d+=_0x89cc95['length']+0x1,0x20==_0x4a3163['length']&&(_0x50f548['push'](new TextLeaf(_0x4a3163,_0x2b506d)),_0x4a3163=[],_0x2b506d=-0x1);return _0x2b506d>-0x1&&_0x50f548['push'](new TextLeaf(_0x4a3163,_0x2b506d)),_0x50f548;}}class TextNode extends Text$1{constructor(_0x47cd45,_0x2df808){super(),this['children']=_0x47cd45,this['length']=_0x2df808,this['lines']=0x0;for(let _0x5e830d of _0x47cd45)this['lines']+=_0x5e830d['lines'];}['lineInner'](_0x2c2bb6,_0x3a5ddd,_0xe9ddb7,_0x126477){for(let _0x16b9a9=0x0;;_0x16b9a9++){let _0x45afe5=this['children'][_0x16b9a9],_0x19ed80=_0x126477+_0x45afe5['length'],_0x2a953c=_0xe9ddb7+_0x45afe5['lines']-0x1;if((_0x3a5ddd?_0x2a953c:_0x19ed80)>=_0x2c2bb6)return _0x45afe5['lineInner'](_0x2c2bb6,_0x3a5ddd,_0xe9ddb7,_0x126477);_0x126477=_0x19ed80+0x1,_0xe9ddb7=_0x2a953c+0x1;}}['decompose'](_0x22b596,_0x1ac5e7,_0xa7563a,_0x3c147d){for(let _0x25a85b=0x0,_0x508584=0x0;_0x508584<=_0x1ac5e7&&_0x25a85b<this['children']['length'];_0x25a85b++){let _0x108eb7=this['children'][_0x25a85b],_0x5a03c6=_0x508584+_0x108eb7['length'];if(_0x22b596<=_0x5a03c6&&_0x1ac5e7>=_0x508584){let _0xf8f64c=_0x3c147d&((_0x508584<=_0x22b596?0x1:0x0)|(_0x5a03c6>=_0x1ac5e7?0x2:0x0));_0x508584>=_0x22b596&&_0x5a03c6<=_0x1ac5e7&&!_0xf8f64c?_0xa7563a['push'](_0x108eb7):_0x108eb7['decompose'](_0x22b596-_0x508584,_0x1ac5e7-_0x508584,_0xa7563a,_0xf8f64c);}_0x508584=_0x5a03c6+0x1;}}['replace'](_0x496a9a,_0x56501d,_0x4332ca){if([_0x496a9a,_0x56501d]=_0x1a239e(this,_0x496a9a,_0x56501d),_0x4332ca['lines']<this['lines'])for(let _0x4695d2=0x0,_0x1ae61d=0x0;_0x4695d2<this['children']['length'];_0x4695d2++){let _0x40c94f=this['children'][_0x4695d2],_0x47d3a4=_0x1ae61d+_0x40c94f['length'];if(_0x496a9a>=_0x1ae61d&&_0x56501d<=_0x47d3a4){let _0x4a0d19=_0x40c94f['replace'](_0x496a9a-_0x1ae61d,_0x56501d-_0x1ae61d,_0x4332ca),_0x36841b=this['lines']-_0x40c94f['lines']+_0x4a0d19['lines'];if(_0x4a0d19['lines']<_0x36841b>>0x4&&_0x4a0d19['lines']>_0x36841b>>0x6){let _0x22df1a=this['children']['slice']();return _0x22df1a[_0x4695d2]=_0x4a0d19,new TextNode(_0x22df1a,this['length']-(_0x56501d-_0x496a9a)+_0x4332ca['length']);}return super['replace'](_0x1ae61d,_0x47d3a4,_0x4a0d19);}_0x1ae61d=_0x47d3a4+0x1;}return super['replace'](_0x496a9a,_0x56501d,_0x4332ca);}['sliceString'](_0x10100f,_0x50086f=this['length'],_0x1c14af='\x0a'){[_0x10100f,_0x50086f]=_0x1a239e(this,_0x10100f,_0x50086f);let _0x32e238='';for(let _0x4ade1e=0x0,_0x2d74da=0x0;_0x4ade1e<this['children']['length']&&_0x2d74da<=_0x50086f;_0x4ade1e++){let _0x5e19c1=this['children'][_0x4ade1e],_0x4aa22a=_0x2d74da+_0x5e19c1['length'];_0x2d74da>_0x10100f&&_0x4ade1e&&(_0x32e238+=_0x1c14af),_0x10100f<_0x4aa22a&&_0x50086f>_0x2d74da&&(_0x32e238+=_0x5e19c1['sliceString'](_0x10100f-_0x2d74da,_0x50086f-_0x2d74da,_0x1c14af)),_0x2d74da=_0x4aa22a+0x1;}return _0x32e238;}['flatten'](_0x4de587){for(let _0x2a60c7 of this['children'])_0x2a60c7['flatten'](_0x4de587);}['scanIdentical'](_0x9df8cd,_0x10928f){if(!(_0x9df8cd instanceof TextNode))return 0x0;let _0x5198c0=0x0,[_0x2eafcb,_0x6ff36b,_0x5547e6,_0x2e3dfa]=_0x10928f>0x0?[0x0,0x0,this['children']['length'],_0x9df8cd['children']['length']]:[this['children']['length']-0x1,_0x9df8cd['children']['length']-0x1,-0x1,-0x1];for(;;_0x2eafcb+=_0x10928f,_0x6ff36b+=_0x10928f){if(_0x2eafcb==_0x5547e6||_0x6ff36b==_0x2e3dfa)return _0x5198c0;let _0x54ad23=this['children'][_0x2eafcb],_0x49540d=_0x9df8cd['children'][_0x6ff36b];if(_0x54ad23!=_0x49540d)return _0x5198c0+_0x54ad23['scanIdentical'](_0x49540d,_0x10928f);_0x5198c0+=_0x54ad23['length']+0x1;}}static['from'](_0x2e5306,_0x445d01=_0x2e5306['reduce']((_0x56076f,_0x487dfb)=>_0x56076f+_0x487dfb['length']+0x1,-0x1)){let _0x296c40=0x0;for(let _0x5f52e9 of _0x2e5306)_0x296c40+=_0x5f52e9['lines'];if(_0x296c40<0x20){let _0x3809ca=[];for(let _0x5090de of _0x2e5306)_0x5090de['flatten'](_0x3809ca);return new TextLeaf(_0x3809ca,_0x445d01);}let _0x4145a5=Math['max'](0x20,_0x296c40>>0x5),_0x4ce4a9=_0x4145a5<<0x1,_0x5ccc42=_0x4145a5>>0x1,_0x144654=[],_0x3d2090=0x0,_0x395aaa=-0x1,_0x40e329=[];function _0x184fa4(_0x186ed1){let _0x318dfa;if(_0x186ed1['lines']>_0x4ce4a9&&_0x186ed1 instanceof TextNode){for(let _0x45fbc9 of _0x186ed1['children'])_0x184fa4(_0x45fbc9);}else _0x186ed1['lines']>_0x5ccc42&&(_0x3d2090>_0x5ccc42||!_0x3d2090)?(_0x2b2506(),_0x144654['push'](_0x186ed1)):_0x186ed1 instanceof TextLeaf&&_0x3d2090&&(_0x318dfa=_0x40e329[_0x40e329['length']-0x1])instanceof TextLeaf&&_0x186ed1['lines']+_0x318dfa['lines']<=0x20?(_0x3d2090+=_0x186ed1['lines'],_0x395aaa+=_0x186ed1['length']+0x1,_0x40e329[_0x40e329['length']-0x1]=new TextLeaf(_0x318dfa['text']['concat'](_0x186ed1['text']),_0x318dfa['length']+0x1+_0x186ed1['length'])):(_0x3d2090+_0x186ed1['lines']>_0x4145a5&&_0x2b2506(),_0x3d2090+=_0x186ed1['lines'],_0x395aaa+=_0x186ed1['length']+0x1,_0x40e329['push'](_0x186ed1));}function _0x2b2506(){0x0!=_0x3d2090&&(_0x144654['push'](0x1==_0x40e329['length']?_0x40e329[0x0]:TextNode['from'](_0x40e329,_0x395aaa)),_0x395aaa=-0x1,_0x3d2090=_0x40e329['length']=0x0);}for(let _0x2b76a1 of _0x2e5306)_0x184fa4(_0x2b76a1);return _0x2b2506(),0x1==_0x144654['length']?_0x144654[0x0]:new TextNode(_0x144654,_0x445d01);}}function textLength(_0x128287){let _0x3c03ac=-0x1;for(let _0x49331f of _0x128287)_0x3c03ac+=_0x49331f['length']+0x1;return _0x3c03ac;}function appendText(_0x3f79eb,_0x1bd22f,_0x5858b6=0x0,_0x13fcab=0x3b9aca00){for(let _0x28883b=0x0,_0x42918c=0x0,_0x4d46b1=!0x0;_0x42918c<_0x3f79eb['length']&&_0x28883b<=_0x13fcab;_0x42918c++){let _0x1bfe7d=_0x3f79eb[_0x42918c],_0x1e303e=_0x28883b+_0x1bfe7d['length'];_0x1e303e>=_0x5858b6&&(_0x1e303e>_0x13fcab&&(_0x1bfe7d=_0x1bfe7d['slice'](0x0,_0x13fcab-_0x28883b)),_0x28883b<_0x5858b6&&(_0x1bfe7d=_0x1bfe7d['slice'](_0x5858b6-_0x28883b)),_0x4d46b1?(_0x1bd22f[_0x1bd22f['length']-0x1]+=_0x1bfe7d,_0x4d46b1=!0x1):_0x1bd22f['push'](_0x1bfe7d)),_0x28883b=_0x1e303e+0x1;}return _0x1bd22f;}function sliceText(_0xc51d5d,_0x4e7359,_0x4317b3){return appendText(_0xc51d5d,[''],_0x4e7359,_0x4317b3);}Text$1['empty']=new TextLeaf([''],0x0);class RawTextCursor{constructor(_0x4fce15,_0x7ab88=0x1){this['dir']=_0x7ab88,this['done']=!0x1,this['lineBreak']=!0x1,this['value']='',this['nodes']=[_0x4fce15],this['offsets']=[_0x7ab88>0x0?0x1:(_0x4fce15 instanceof TextLeaf?_0x4fce15['text']['length']:_0x4fce15['children']['length'])<<0x1];}['nextInner'](_0x232180,_0xfa35e9){for(this['done']=this['lineBreak']=!0x1;;){let _0x31cfe5=this['nodes']['length']-0x1,_0x1b2b4c=this['nodes'][_0x31cfe5],_0x15c785=this['offsets'][_0x31cfe5],_0x1da752=_0x15c785>>0x1,_0x1d4e10=_0x1b2b4c instanceof TextLeaf?_0x1b2b4c['text']['length']:_0x1b2b4c['children']['length'];if(_0x1da752==(_0xfa35e9>0x0?_0x1d4e10:0x0)){if(0x0==_0x31cfe5)return this['done']=!0x0,this['value']='',this;_0xfa35e9>0x0&&this['offsets'][_0x31cfe5-0x1]++,this['nodes']['pop'](),this['offsets']['pop']();}else{if((0x1&_0x15c785)==(_0xfa35e9>0x0?0x0:0x1)){if(this['offsets'][_0x31cfe5]+=_0xfa35e9,0x0==_0x232180)return this['lineBreak']=!0x0,this['value']='\x0a',this;_0x232180--;}else{if(_0x1b2b4c instanceof TextLeaf){let _0x1080df=_0x1b2b4c['text'][_0x1da752+(_0xfa35e9<0x0?-0x1:0x0)];if(this['offsets'][_0x31cfe5]+=_0xfa35e9,_0x1080df['length']>Math['max'](0x0,_0x232180))return this['value']=0x0==_0x232180?_0x1080df:_0xfa35e9>0x0?_0x1080df['slice'](_0x232180):_0x1080df['slice'](0x0,_0x1080df['length']-_0x232180),this;_0x232180-=_0x1080df['length'];}else{let _0x222052=_0x1b2b4c['children'][_0x1da752+(_0xfa35e9<0x0?-0x1:0x0)];_0x232180>_0x222052['length']?(_0x232180-=_0x222052['length'],this['offsets'][_0x31cfe5]+=_0xfa35e9):(_0xfa35e9<0x0&&this['offsets'][_0x31cfe5]--,this['nodes']['push'](_0x222052),this['offsets']['push'](_0xfa35e9>0x0?0x1:(_0x222052 instanceof TextLeaf?_0x222052['text']['length']:_0x222052['children']['length'])<<0x1));}}}}}['next'](_0x3990e9=0x0){return _0x3990e9<0x0&&(this['nextInner'](-_0x3990e9,-this['dir']),_0x3990e9=this['value']['length']),this['nextInner'](_0x3990e9,this['dir']);}}class PartialTextCursor{constructor(_0xbfbf54,_0x422bc7,_0x5ba626){this['value']='',this['done']=!0x1,this['cursor']=new RawTextCursor(_0xbfbf54,_0x422bc7>_0x5ba626?-0x1:0x1),this['pos']=_0x422bc7>_0x5ba626?_0xbfbf54['length']:0x0,this['from']=Math['min'](_0x422bc7,_0x5ba626),this['to']=Math['max'](_0x422bc7,_0x5ba626);}['nextInner'](_0x2258de,_0x43e679){if(_0x43e679<0x0?this['pos']<=this['from']:this['pos']>=this['to'])return this['value']='',this['done']=!0x0,this;_0x2258de+=Math['max'](0x0,_0x43e679<0x0?this['pos']-this['to']:this['from']-this['pos']);let _0x5f17e6=_0x43e679<0x0?this['pos']-this['from']:this['to']-this['pos'];_0x2258de>_0x5f17e6&&(_0x2258de=_0x5f17e6),_0x5f17e6-=_0x2258de;let {value:_0x1bf893}=this['cursor']['next'](_0x2258de);return this['pos']+=(_0x1bf893['length']+_0x2258de)*_0x43e679,this['value']=_0x1bf893['length']<=_0x5f17e6?_0x1bf893:_0x43e679<0x0?_0x1bf893['slice'](_0x1bf893['length']-_0x5f17e6):_0x1bf893['slice'](0x0,_0x5f17e6),this['done']=!this['value'],this;}['next'](_0x372748=0x0){return _0x372748<0x0?_0x372748=Math['max'](_0x372748,this['from']-this['pos']):_0x372748>0x0&&(_0x372748=Math['min'](_0x372748,this['to']-this['pos'])),this['nextInner'](_0x372748,this['cursor']['dir']);}get['lineBreak'](){return this['cursor']['lineBreak']&&''!=this['value'];}}class _0x1f1c1b{constructor(_0x1122ca){this['inner']=_0x1122ca,this['afterBreak']=!0x0,this['value']='',this['done']=!0x1;}['next'](_0x5e4f52=0x0){let {done:_0x1e8e01,lineBreak:_0x38ec8b,value:_0x46d684}=this['inner']['next'](_0x5e4f52);return _0x1e8e01&&this['afterBreak']?(this['value']='',this['afterBreak']=!0x1):_0x1e8e01?(this['done']=!0x0,this['value']=''):_0x38ec8b?this['afterBreak']?this['value']='':(this['afterBreak']=!0x0,this['next']()):(this['value']=_0x46d684,this['afterBreak']=!0x1),this;}get['lineBreak'](){return!0x1;}}'undefined'!=typeof Symbol&&(Text$1['prototype'][Symbol['iterator']]=function(){return this['iter']();},RawTextCursor['prototype'][Symbol['iterator']]=PartialTextCursor['prototype'][Symbol['iterator']]=_0x1f1c1b['prototype'][Symbol['iterator']]=function(){return this;});let _0xef3058=class{constructor(_0x15025d,_0x4c7e4f,_0x989c1d,_0x10f70b){this['from']=_0x15025d,this['to']=_0x4c7e4f,this['number']=_0x989c1d,this['text']=_0x10f70b;}get['length'](){return this['to']-this['from'];}};function _0x1a239e(_0x4c28e4,_0x5a7ed9,_0x4b85e){return[_0x5a7ed9=Math['max'](0x0,Math['min'](_0x4c28e4['length'],_0x5a7ed9)),Math['max'](_0x5a7ed9,Math['min'](_0x4c28e4['length'],_0x4b85e))];}function findClusterBreak(_0x5280d6,_0x2430cb,_0x112e01=!0x0,_0x5d4379=!0x0){return findClusterBreak$1(_0x5280d6,_0x2430cb,_0x112e01,_0x5d4379);}function surrogateLow(_0x4fb6e5){return _0x4fb6e5>=0xdc00&&_0x4fb6e5<0xe000;}function surrogateHigh(_0x224449){return _0x224449>=0xd800&&_0x224449<0xdc00;}function codePointAt(_0x4e1072,_0x3f2b09){let _0x3224b7=_0x4e1072['charCodeAt'](_0x3f2b09);if(!surrogateHigh(_0x3224b7)||_0x3f2b09+0x1==_0x4e1072['length'])return _0x3224b7;let _0x1baab3=_0x4e1072['charCodeAt'](_0x3f2b09+0x1);return surrogateLow(_0x1baab3)?_0x1baab3-0xdc00+(_0x3224b7-0xd800<<0xa)+0x10000:_0x3224b7;}function fromCodePoint(_0x39d117){return _0x39d117<=0xffff?String['fromCharCode'](_0x39d117):(_0x39d117-=0x10000,String['fromCharCode'](0xd800+(_0x39d117>>0xa),0xdc00+(0x3ff&_0x39d117)));}function codePointSize(_0x89f571){return _0x89f571<0x10000?0x1:0x2;}const DefaultSplit=/\r\n?|\n/;var _0x1d8e34=function(_0x54e617){return _0x54e617[_0x54e617['Simple']=0x0]='Simple',_0x54e617[_0x54e617['TrackDel']=0x1]='TrackDel',_0x54e617[_0x54e617['TrackBefore']=0x2]='TrackBefore',_0x54e617[_0x54e617['TrackAfter']=0x3]='TrackAfter',_0x54e617;}(_0x1d8e34||(_0x1d8e34={}));class _0x39cc47{constructor(_0x107c0f){this['sections']=_0x107c0f;}get['length'](){let _0x54898f=0x0;for(let _0xd59807=0x0;_0xd59807<this['sections']['length'];_0xd59807+=0x2)_0x54898f+=this['sections'][_0xd59807];return _0x54898f;}get['newLength'](){let _0xb8479b=0x0;for(let _0x41d2a0=0x0;_0x41d2a0<this['sections']['length'];_0x41d2a0+=0x2){let _0x3916d0=this['sections'][_0x41d2a0+0x1];_0xb8479b+=_0x3916d0<0x0?this['sections'][_0x41d2a0]:_0x3916d0;}return _0xb8479b;}get['empty'](){return 0x0==this['sections']['length']||0x2==this['sections']['length']&&this['sections'][0x1]<0x0;}['iterGaps'](_0x2fd949){for(let _0x428356=0x0,_0x4e7383=0x0,_0x26027b=0x0;_0x428356<this['sections']['length'];){let _0x579347=this['sections'][_0x428356++],_0x5d83af=this['sections'][_0x428356++];_0x5d83af<0x0?(_0x2fd949(_0x4e7383,_0x26027b,_0x579347),_0x26027b+=_0x579347):_0x26027b+=_0x5d83af,_0x4e7383+=_0x579347;}}['iterChangedRanges'](_0x24cb10,_0xd7af7e=!0x1){iterChanges(this,_0x24cb10,_0xd7af7e);}get['invertedDesc'](){let _0x4b597d=[];for(let _0x36c94f=0x0;_0x36c94f<this['sections']['length'];){let _0x374452=this['sections'][_0x36c94f++],_0x200e87=this['sections'][_0x36c94f++];_0x200e87<0x0?_0x4b597d['push'](_0x374452,_0x200e87):_0x4b597d['push'](_0x200e87,_0x374452);}return new _0x39cc47(_0x4b597d);}['composeDesc'](_0x5b7b13){return this['empty']?_0x5b7b13:_0x5b7b13['empty']?this:composeSets(this,_0x5b7b13);}['mapDesc'](_0x1ebce3,_0x566b00=!0x1){return _0x1ebce3['empty']?this:mapSet(this,_0x1ebce3,_0x566b00);}['mapPos'](_0x458033,_0x5ef767=-0x1,_0x2332fd=_0x1d8e34['Simple']){let _0x5bce51=0x0,_0x5dea5c=0x0;for(let _0x3ca9cc=0x0;_0x3ca9cc<this['sections']['length'];){let _0x2ed313=this['sections'][_0x3ca9cc++],_0x393d0b=this['sections'][_0x3ca9cc++],_0xf75740=_0x5bce51+_0x2ed313;if(_0x393d0b<0x0){if(_0xf75740>_0x458033)return _0x5dea5c+(_0x458033-_0x5bce51);_0x5dea5c+=_0x2ed313;}else{if(_0x2332fd!=_0x1d8e34['Simple']&&_0xf75740>=_0x458033&&(_0x2332fd==_0x1d8e34['TrackDel']&&_0x5bce51<_0x458033&&_0xf75740>_0x458033||_0x2332fd==_0x1d8e34['TrackBefore']&&_0x5bce51<_0x458033||_0x2332fd==_0x1d8e34['TrackAfter']&&_0xf75740>_0x458033))return null;if(_0xf75740>_0x458033||_0xf75740==_0x458033&&_0x5ef767<0x0&&!_0x2ed313)return _0x458033==_0x5bce51||_0x5ef767<0x0?_0x5dea5c:_0x5dea5c+_0x393d0b;_0x5dea5c+=_0x393d0b;}_0x5bce51=_0xf75740;}if(_0x458033>_0x5bce51)throw new RangeError('Position\x20'+_0x458033+'\x20is\x20out\x20of\x20range\x20for\x20changeset\x20of\x20length\x20'+_0x5bce51);return _0x5dea5c;}['touchesRange'](_0x375ba6,_0x462b66=_0x375ba6){for(let _0x21574=0x0,_0x494249=0x0;_0x21574<this['sections']['length']&&_0x494249<=_0x462b66;){let _0x5c3cd8=_0x494249+this['sections'][_0x21574++];if(this['sections'][_0x21574++]>=0x0&&_0x494249<=_0x462b66&&_0x5c3cd8>=_0x375ba6)return!(_0x494249<_0x375ba6&&_0x5c3cd8>_0x462b66)||'cover';_0x494249=_0x5c3cd8;}return!0x1;}['toString'](){let _0x307117='';for(let _0x5b83c8=0x0;_0x5b83c8<this['sections']['length'];){let _0x4975b3=this['sections'][_0x5b83c8++],_0x446213=this['sections'][_0x5b83c8++];_0x307117+=(_0x307117?'\x20':'')+_0x4975b3+(_0x446213>=0x0?':'+_0x446213:'');}return _0x307117;}['toJSON'](){return this['sections'];}static['fromJSON'](_0x16575b){if(!Array['isArray'](_0x16575b)||_0x16575b['length']%0x2||_0x16575b['some'](_0x133cd4=>'number'!=typeof _0x133cd4))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeDesc');return new _0x39cc47(_0x16575b);}static['create'](_0x484344){return new _0x39cc47(_0x484344);}}class ChangeSet extends _0x39cc47{constructor(_0xcd8532,_0x2197c0){super(_0xcd8532),this['inserted']=_0x2197c0;}['apply'](_0x179a31){if(this['length']!=_0x179a31['length'])throw new RangeError('Applying\x20change\x20set\x20to\x20a\x20document\x20with\x20the\x20wrong\x20length');return iterChanges(this,(_0x426363,_0xa2f462,_0x1febb5,_0x32225d,_0x503e82)=>_0x179a31=_0x179a31['replace'](_0x1febb5,_0x1febb5+(_0xa2f462-_0x426363),_0x503e82),!0x1),_0x179a31;}['mapDesc'](_0x1dd2a2,_0x41d649=!0x1){return mapSet(this,_0x1dd2a2,_0x41d649,!0x0);}['invert'](_0x1f79f6){let _0x537a17=this['sections']['slice'](),_0xb3a3e1=[];for(let _0x3b745a=0x0,_0x46a288=0x0;_0x3b745a<_0x537a17['length'];_0x3b745a+=0x2){let _0x3b52bc=_0x537a17[_0x3b745a],_0x46b905=_0x537a17[_0x3b745a+0x1];if(_0x46b905>=0x0){_0x537a17[_0x3b745a]=_0x46b905,_0x537a17[_0x3b745a+0x1]=_0x3b52bc;let _0x4f8738=_0x3b745a>>0x1;for(;_0xb3a3e1['length']<_0x4f8738;)_0xb3a3e1['push'](Text$1['empty']);_0xb3a3e1['push'](_0x3b52bc?_0x1f79f6['slice'](_0x46a288,_0x46a288+_0x3b52bc):Text$1['empty']);}_0x46a288+=_0x3b52bc;}return new ChangeSet(_0x537a17,_0xb3a3e1);}['compose'](_0x3c514a){return this['empty']?_0x3c514a:_0x3c514a['empty']?this:composeSets(this,_0x3c514a,!0x0);}['map'](_0x18d2e1,_0xd33ff4=!0x1){return _0x18d2e1['empty']?this:mapSet(this,_0x18d2e1,_0xd33ff4,!0x0);}['iterChanges'](_0x4c4f7e,_0x4c7567=!0x1){iterChanges(this,_0x4c4f7e,_0x4c7567);}get['desc'](){return _0x39cc47['create'](this['sections']);}['filter'](_0x1285e7){let _0x7ef721=[],_0x31b690=[],_0x250664=[],_0x5484fc=new SectionIter(this);t:for(let _0x4bfb04=0x0,_0x496325=0x0;;){let _0x3c3fd2=_0x4bfb04==_0x1285e7['length']?0x3b9aca00:_0x1285e7[_0x4bfb04++];for(;_0x496325<_0x3c3fd2||_0x496325==_0x3c3fd2&&0x0==_0x5484fc['len'];){if(_0x5484fc['done'])break t;let _0x3a9ed6=Math['min'](_0x5484fc['len'],_0x3c3fd2-_0x496325);addSection(_0x250664,_0x3a9ed6,-0x1);let _0x47ae50=-0x1==_0x5484fc['ins']?-0x1:0x0==_0x5484fc['off']?_0x5484fc['ins']:0x0;addSection(_0x7ef721,_0x3a9ed6,_0x47ae50),_0x47ae50>0x0&&addInsert(_0x31b690,_0x7ef721,_0x5484fc['text']),_0x5484fc['forward'](_0x3a9ed6),_0x496325+=_0x3a9ed6;}let _0x806c5d=_0x1285e7[_0x4bfb04++];for(;_0x496325<_0x806c5d;){if(_0x5484fc['done'])break t;let _0x28390e=Math['min'](_0x5484fc['len'],_0x806c5d-_0x496325);addSection(_0x7ef721,_0x28390e,-0x1),addSection(_0x250664,_0x28390e,-0x1==_0x5484fc['ins']?-0x1:0x0==_0x5484fc['off']?_0x5484fc['ins']:0x0),_0x5484fc['forward'](_0x28390e),_0x496325+=_0x28390e;}}return{'changes':new ChangeSet(_0x7ef721,_0x31b690),'filtered':_0x39cc47['create'](_0x250664)};}['toJSON'](){let _0x1a6299=[];for(let _0x5a18dd=0x0;_0x5a18dd<this['sections']['length'];_0x5a18dd+=0x2){let _0x333141=this['sections'][_0x5a18dd],_0x342c29=this['sections'][_0x5a18dd+0x1];_0x342c29<0x0?_0x1a6299['push'](_0x333141):0x0==_0x342c29?_0x1a6299['push']([_0x333141]):_0x1a6299['push']([_0x333141]['concat'](this['inserted'][_0x5a18dd>>0x1]['toJSON']()));}return _0x1a6299;}static['of'](_0x47525b,_0x55ef58,_0x1ea5f3){let _0x183468=[],_0x2f8ec7=[],_0x421555=0x0,_0x5800e6=null;function _0x2b47a3(_0x30aa12=!0x1){if(!_0x30aa12&&!_0x183468['length'])return;_0x421555<_0x55ef58&&addSection(_0x183468,_0x55ef58-_0x421555,-0x1);let _0x43a829=new ChangeSet(_0x183468,_0x2f8ec7);_0x5800e6=_0x5800e6?_0x5800e6['compose'](_0x43a829['map'](_0x5800e6)):_0x43a829,_0x183468=[],_0x2f8ec7=[],_0x421555=0x0;}return function _0x1b5cc7(_0x47108a){if(Array['isArray'](_0x47108a)){for(let _0x1acc5e of _0x47108a)_0x1b5cc7(_0x1acc5e);}else{if(_0x47108a instanceof ChangeSet){if(_0x47108a['length']!=_0x55ef58)throw new RangeError('Mismatched\x20change\x20set\x20length\x20(got\x20'+_0x47108a['length']+',\x20expected\x20'+_0x55ef58+')');_0x2b47a3(),_0x5800e6=_0x5800e6?_0x5800e6['compose'](_0x47108a['map'](_0x5800e6)):_0x47108a;}else{let {from:_0x2a6a8b,to:_0x52ab2c=_0x2a6a8b,insert:_0x395a47}=_0x47108a;if(_0x2a6a8b>_0x52ab2c||_0x2a6a8b<0x0||_0x52ab2c>_0x55ef58)throw new RangeError('Invalid\x20change\x20range\x20'+_0x2a6a8b+'\x20to\x20'+_0x52ab2c+'\x20(in\x20doc\x20of\x20length\x20'+_0x55ef58+')');let _0x3b6bcd=_0x395a47?'string'==typeof _0x395a47?Text$1['of'](_0x395a47['split'](_0x1ea5f3||DefaultSplit)):_0x395a47:Text$1['empty'],_0x4eef48=_0x3b6bcd['length'];if(_0x2a6a8b==_0x52ab2c&&0x0==_0x4eef48)return;_0x2a6a8b<_0x421555&&_0x2b47a3(),_0x2a6a8b>_0x421555&&addSection(_0x183468,_0x2a6a8b-_0x421555,-0x1),addSection(_0x183468,_0x52ab2c-_0x2a6a8b,_0x4eef48),addInsert(_0x2f8ec7,_0x183468,_0x3b6bcd),_0x421555=_0x52ab2c;}}}(_0x47525b),_0x2b47a3(!_0x5800e6),_0x5800e6;}static['empty'](_0x5b96d1){return new ChangeSet(_0x5b96d1?[_0x5b96d1,-0x1]:[],[]);}static['fromJSON'](_0x3484d3){if(!Array['isArray'](_0x3484d3))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeSet');let _0x2a3124=[],_0x2c07dd=[];for(let _0x4e3ac8=0x0;_0x4e3ac8<_0x3484d3['length'];_0x4e3ac8++){let _0x8ffc30=_0x3484d3[_0x4e3ac8];if('number'==typeof _0x8ffc30)_0x2a3124['push'](_0x8ffc30,-0x1);else{if(!Array['isArray'](_0x8ffc30)||'number'!=typeof _0x8ffc30[0x0]||_0x8ffc30['some']((_0x320c87,_0x314a50)=>_0x314a50&&'string'!=typeof _0x320c87))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeSet');if(0x1==_0x8ffc30['length'])_0x2a3124['push'](_0x8ffc30[0x0],0x0);else{for(;_0x2c07dd['length']<_0x4e3ac8;)_0x2c07dd['push'](Text$1['empty']);_0x2c07dd[_0x4e3ac8]=Text$1['of'](_0x8ffc30['slice'](0x1)),_0x2a3124['push'](_0x8ffc30[0x0],_0x2c07dd[_0x4e3ac8]['length']);}}}return new ChangeSet(_0x2a3124,_0x2c07dd);}static['createSet'](_0x39dbc7,_0x2e0ee8){return new ChangeSet(_0x39dbc7,_0x2e0ee8);}}function addSection(_0x37b5d7,_0x102eee,_0x2b07ef,_0x554d40=!0x1){if(0x0==_0x102eee&&_0x2b07ef<=0x0)return;let _0x579cae=_0x37b5d7['length']-0x2;_0x579cae>=0x0&&_0x2b07ef<=0x0&&_0x2b07ef==_0x37b5d7[_0x579cae+0x1]?_0x37b5d7[_0x579cae]+=_0x102eee:_0x579cae>=0x0&&0x0==_0x102eee&&0x0==_0x37b5d7[_0x579cae]?_0x37b5d7[_0x579cae+0x1]+=_0x2b07ef:_0x554d40?(_0x37b5d7[_0x579cae]+=_0x102eee,_0x37b5d7[_0x579cae+0x1]+=_0x2b07ef):_0x37b5d7['push'](_0x102eee,_0x2b07ef);}function addInsert(_0x4d68c6,_0x57082,_0x3efef1){if(0x0==_0x3efef1['length'])return;let _0x299f0a=_0x57082['length']-0x2>>0x1;if(_0x299f0a<_0x4d68c6['length'])_0x4d68c6[_0x4d68c6['length']-0x1]=_0x4d68c6[_0x4d68c6['length']-0x1]['append'](_0x3efef1);else{for(;_0x4d68c6['length']<_0x299f0a;)_0x4d68c6['push'](Text$1['empty']);_0x4d68c6['push'](_0x3efef1);}}function iterChanges(_0x5ea03d,_0x4c0097,_0x4f7bc2){let _0xdba3fe=_0x5ea03d['inserted'];for(let _0x404c76=0x0,_0x1697f5=0x0,_0xc7636f=0x0;_0xc7636f<_0x5ea03d['sections']['length'];){let _0x3ef651=_0x5ea03d['sections'][_0xc7636f++],_0x1fbf27=_0x5ea03d['sections'][_0xc7636f++];if(_0x1fbf27<0x0)_0x404c76+=_0x3ef651,_0x1697f5+=_0x3ef651;else{let _0x1e04dc=_0x404c76,_0x30953f=_0x1697f5,_0x39506e=Text$1['empty'];for(;_0x1e04dc+=_0x3ef651,_0x30953f+=_0x1fbf27,_0x1fbf27&&_0xdba3fe&&(_0x39506e=_0x39506e['append'](_0xdba3fe[_0xc7636f-0x2>>0x1])),!(_0x4f7bc2||_0xc7636f==_0x5ea03d['sections']['length']||_0x5ea03d['sections'][_0xc7636f+0x1]<0x0);)_0x3ef651=_0x5ea03d['sections'][_0xc7636f++],_0x1fbf27=_0x5ea03d['sections'][_0xc7636f++];_0x4c0097(_0x404c76,_0x1e04dc,_0x1697f5,_0x30953f,_0x39506e),_0x404c76=_0x1e04dc,_0x1697f5=_0x30953f;}}}function mapSet(_0x359575,_0x4c70a5,_0x150478,_0x4c5b32=!0x1){let _0x566011=[],_0x42448f=_0x4c5b32?[]:null,_0xdcc466=new SectionIter(_0x359575),_0x5f4b08=new SectionIter(_0x4c70a5);for(let _0x362efa=-0x1;;){if(_0xdcc466['done']&&_0x5f4b08['len']||_0x5f4b08['done']&&_0xdcc466['len'])throw new Error('Mismatched\x20change\x20set\x20lengths');if(-0x1==_0xdcc466['ins']&&-0x1==_0x5f4b08['ins']){let _0x5974dd=Math['min'](_0xdcc466['len'],_0x5f4b08['len']);addSection(_0x566011,_0x5974dd,-0x1),_0xdcc466['forward'](_0x5974dd),_0x5f4b08['forward'](_0x5974dd);}else{if(_0x5f4b08['ins']>=0x0&&(_0xdcc466['ins']<0x0||_0x362efa==_0xdcc466['i']||0x0==_0xdcc466['off']&&(_0x5f4b08['len']<_0xdcc466['len']||_0x5f4b08['len']==_0xdcc466['len']&&!_0x150478))){let _0x5752ef=_0x5f4b08['len'];for(addSection(_0x566011,_0x5f4b08['ins'],-0x1);_0x5752ef;){let _0x253e75=Math['min'](_0xdcc466['len'],_0x5752ef);_0xdcc466['ins']>=0x0&&_0x362efa<_0xdcc466['i']&&_0xdcc466['len']<=_0x253e75&&(addSection(_0x566011,0x0,_0xdcc466['ins']),_0x42448f&&addInsert(_0x42448f,_0x566011,_0xdcc466['text']),_0x362efa=_0xdcc466['i']),_0xdcc466['forward'](_0x253e75),_0x5752ef-=_0x253e75;}_0x5f4b08['next']();}else{if(!(_0xdcc466['ins']>=0x0)){if(_0xdcc466['done']&&_0x5f4b08['done'])return _0x42448f?ChangeSet['createSet'](_0x566011,_0x42448f):_0x39cc47['create'](_0x566011);throw new Error('Mismatched\x20change\x20set\x20lengths');}{let _0x35c066=0x0,_0x15e9bb=_0xdcc466['len'];for(;_0x15e9bb;)if(-0x1==_0x5f4b08['ins']){let _0x3b692b=Math['min'](_0x15e9bb,_0x5f4b08['len']);_0x35c066+=_0x3b692b,_0x15e9bb-=_0x3b692b,_0x5f4b08['forward'](_0x3b692b);}else{if(!(0x0==_0x5f4b08['ins']&&_0x5f4b08['len']<_0x15e9bb))break;_0x15e9bb-=_0x5f4b08['len'],_0x5f4b08['next']();}addSection(_0x566011,_0x35c066,_0x362efa<_0xdcc466['i']?_0xdcc466['ins']:0x0),_0x42448f&&_0x362efa<_0xdcc466['i']&&addInsert(_0x42448f,_0x566011,_0xdcc466['text']),_0x362efa=_0xdcc466['i'],_0xdcc466['forward'](_0xdcc466['len']-_0x15e9bb);}}}}}function composeSets(_0x56fca5,_0x4a9d17,_0x3e5212=!0x1){let _0x189005=[],_0x370d68=_0x3e5212?[]:null,_0x80be51=new SectionIter(_0x56fca5),_0x186841=new SectionIter(_0x4a9d17);for(let _0x891767=!0x1;;){if(_0x80be51['done']&&_0x186841['done'])return _0x370d68?ChangeSet['createSet'](_0x189005,_0x370d68):_0x39cc47['create'](_0x189005);if(0x0==_0x80be51['ins'])addSection(_0x189005,_0x80be51['len'],0x0,_0x891767),_0x80be51['next']();else{if(0x0!=_0x186841['len']||_0x186841['done']){if(_0x80be51['done']||_0x186841['done'])throw new Error('Mismatched\x20change\x20set\x20lengths');{let _0x138f2f=Math['min'](_0x80be51['len2'],_0x186841['len']),_0x388907=_0x189005['length'];if(-0x1==_0x80be51['ins']){let _0x37995e=-0x1==_0x186841['ins']?-0x1:_0x186841['off']?0x0:_0x186841['ins'];addSection(_0x189005,_0x138f2f,_0x37995e,_0x891767),_0x370d68&&_0x37995e&&addInsert(_0x370d68,_0x189005,_0x186841['text']);}else-0x1==_0x186841['ins']?(addSection(_0x189005,_0x80be51['off']?0x0:_0x80be51['len'],_0x138f2f,_0x891767),_0x370d68&&addInsert(_0x370d68,_0x189005,_0x80be51['textBit'](_0x138f2f))):(addSection(_0x189005,_0x80be51['off']?0x0:_0x80be51['len'],_0x186841['off']?0x0:_0x186841['ins'],_0x891767),_0x370d68&&!_0x186841['off']&&addInsert(_0x370d68,_0x189005,_0x186841['text']));_0x891767=(_0x80be51['ins']>_0x138f2f||_0x186841['ins']>=0x0&&_0x186841['len']>_0x138f2f)&&(_0x891767||_0x189005['length']>_0x388907),_0x80be51['forward2'](_0x138f2f),_0x186841['forward'](_0x138f2f);}}else addSection(_0x189005,0x0,_0x186841['ins'],_0x891767),_0x370d68&&addInsert(_0x370d68,_0x189005,_0x186841['text']),_0x186841['next']();}}}class SectionIter{constructor(_0x1cb2ca){this['set']=_0x1cb2ca,this['i']=0x0,this['next']();}['next'](){let {sections:_0x540abd}=this['set'];this['i']<_0x540abd['length']?(this['len']=_0x540abd[this['i']++],this['ins']=_0x540abd[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:_0x5e5d83}=this['set'],_0x5cfa47=this['i']-0x2>>0x1;return _0x5cfa47>=_0x5e5d83['length']?Text$1['empty']:_0x5e5d83[_0x5cfa47];}['textBit'](_0x19810a){let {inserted:_0x70fffd}=this['set'],_0xe64f59=this['i']-0x2>>0x1;return _0xe64f59>=_0x70fffd['length']&&!_0x19810a?Text$1['empty']:_0x70fffd[_0xe64f59]['slice'](this['off'],null==_0x19810a?void 0x0:this['off']+_0x19810a);}['forward'](_0x4a6a00){_0x4a6a00==this['len']?this['next']():(this['len']-=_0x4a6a00,this['off']+=_0x4a6a00);}['forward2'](_0x1417b8){-0x1==this['ins']?this['forward'](_0x1417b8):_0x1417b8==this['ins']?this['next']():(this['ins']-=_0x1417b8,this['off']+=_0x1417b8);}}class SelectionRange{constructor(_0x1aec38,_0x475a84,_0xd586e6){this['from']=_0x1aec38,this['to']=_0x475a84,this['flags']=_0xd586e6;}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 _0x1ddbea=0x7&this['flags'];return 0x7==_0x1ddbea?null:_0x1ddbea;}get['goalColumn'](){let _0x395952=this['flags']>>0x6;return 0xffffff==_0x395952?void 0x0:_0x395952;}['map'](_0x229013,_0x476fd5=-0x1){let _0x30fc5d,_0x4b1b99;return this['empty']?_0x30fc5d=_0x4b1b99=_0x229013['mapPos'](this['from'],_0x476fd5):(_0x30fc5d=_0x229013['mapPos'](this['from'],0x1),_0x4b1b99=_0x229013['mapPos'](this['to'],-0x1)),_0x30fc5d==this['from']&&_0x4b1b99==this['to']?this:new SelectionRange(_0x30fc5d,_0x4b1b99,this['flags']);}['extend'](_0x51f064,_0x44dfd9=_0x51f064){if(_0x51f064<=this['anchor']&&_0x44dfd9>=this['anchor'])return EditorSelection['range'](_0x51f064,_0x44dfd9);let _0x1ef007=Math['abs'](_0x51f064-this['anchor'])>Math['abs'](_0x44dfd9-this['anchor'])?_0x51f064:_0x44dfd9;return EditorSelection['range'](this['anchor'],_0x1ef007);}['eq'](_0x25593d,_0x429cb9=!0x1){return!(this['anchor']!=_0x25593d['anchor']||this['head']!=_0x25593d['head']||_0x429cb9&&this['empty']&&this['assoc']!=_0x25593d['assoc']);}['toJSON'](){return{'anchor':this['anchor'],'head':this['head']};}static['fromJSON'](_0x1fbd12){if(!_0x1fbd12||'number'!=typeof _0x1fbd12['anchor']||'number'!=typeof _0x1fbd12['head'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20SelectionRange');return EditorSelection['range'](_0x1fbd12['anchor'],_0x1fbd12['head']);}static['create'](_0x523db8,_0x32fb7a,_0x241ad4){return new SelectionRange(_0x523db8,_0x32fb7a,_0x241ad4);}}class EditorSelection{constructor(_0x4433fc,_0x184ec8){this['ranges']=_0x4433fc,this['mainIndex']=_0x184ec8;}['map'](_0x1ae101,_0x145a62=-0x1){return _0x1ae101['empty']?this:EditorSelection['create'](this['ranges']['map'](_0x3e104e=>_0x3e104e['map'](_0x1ae101,_0x145a62)),this['mainIndex']);}['eq'](_0x385149,_0x1c12fa=!0x1){if(this['ranges']['length']!=_0x385149['ranges']['length']||this['mainIndex']!=_0x385149['mainIndex'])return!0x1;for(let _0x580b8c=0x0;_0x580b8c<this['ranges']['length'];_0x580b8c++)if(!this['ranges'][_0x580b8c]['eq'](_0x385149['ranges'][_0x580b8c],_0x1c12fa))return!0x1;return!0x0;}get['main'](){return this['ranges'][this['mainIndex']];}['asSingle'](){return 0x1==this['ranges']['length']?this:new EditorSelection([this['main']],0x0);}['addRange'](_0x49192e,_0x57044b=!0x0){return EditorSelection['create']([_0x49192e]['concat'](this['ranges']),_0x57044b?0x0:this['mainIndex']+0x1);}['replaceRange'](_0x2cd741,_0x1f5c7b=this['mainIndex']){let _0x35da3d=this['ranges']['slice']();return _0x35da3d[_0x1f5c7b]=_0x2cd741,EditorSelection['create'](_0x35da3d,this['mainIndex']);}['toJSON'](){return{'ranges':this['ranges']['map'](_0x23cc6e=>_0x23cc6e['toJSON']()),'main':this['mainIndex']};}static['fromJSON'](_0x5502bd){if(!_0x5502bd||!Array['isArray'](_0x5502bd['ranges'])||'number'!=typeof _0x5502bd['main']||_0x5502bd['main']>=_0x5502bd['ranges']['length'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20EditorSelection');return new EditorSelection(_0x5502bd['ranges']['map'](_0xe05337=>SelectionRange['fromJSON'](_0xe05337)),_0x5502bd['main']);}static['single'](_0x431560,_0x4d7448=_0x431560){return new EditorSelection([EditorSelection['range'](_0x431560,_0x4d7448)],0x0);}static['create'](_0x4f8032,_0x3c86ea=0x0){if(0x0==_0x4f8032['length'])throw new RangeError('A\x20selection\x20needs\x20at\x20least\x20one\x20range');for(let _0x218cbb=0x0,_0x5f175f=0x0;_0x5f175f<_0x4f8032['length'];_0x5f175f++){let _0x529dbb=_0x4f8032[_0x5f175f];if(_0x529dbb['empty']?_0x529dbb['from']<=_0x218cbb:_0x529dbb['from']<_0x218cbb)return EditorSelection['normalized'](_0x4f8032['slice'](),_0x3c86ea);_0x218cbb=_0x529dbb['to'];}return new EditorSelection(_0x4f8032,_0x3c86ea);}static['cursor'](_0x433ca7,_0x319d1f=0x0,_0xe96109,_0x1b3576){return SelectionRange['create'](_0x433ca7,_0x433ca7,(0x0==_0x319d1f?0x0:_0x319d1f<0x0?0x8:0x10)|(null==_0xe96109?0x7:Math['min'](0x6,_0xe96109))|(null!=_0x1b3576?_0x1b3576:0xffffff)<<0x6);}static['range'](_0x2ec840,_0x563fb4,_0x4d0e7a,_0x7548df){let _0x484cdb=(null!=_0x4d0e7a?_0x4d0e7a:0xffffff)<<0x6|(null==_0x7548df?0x7:Math['min'](0x6,_0x7548df));return _0x563fb4<_0x2ec840?SelectionRange['create'](_0x563fb4,_0x2ec840,0x30|_0x484cdb):SelectionRange['create'](_0x2ec840,_0x563fb4,(_0x563fb4>_0x2ec840?0x8:0x0)|_0x484cdb);}static['normalized'](_0x1c3348,_0x48bffa=0x0){let _0x190aab=_0x1c3348[_0x48bffa];_0x1c3348['sort']((_0x2fe69f,_0x1dae7c)=>_0x2fe69f['from']-_0x1dae7c['from']),_0x48bffa=_0x1c3348['indexOf'](_0x190aab);for(let _0x52e6b1=0x1;_0x52e6b1<_0x1c3348['length'];_0x52e6b1++){let _0x518381=_0x1c3348[_0x52e6b1],_0x42641b=_0x1c3348[_0x52e6b1-0x1];if(_0x518381['empty']?_0x518381['from']<=_0x42641b['to']:_0x518381['from']<_0x42641b['to']){let _0x218b28=_0x42641b['from'],_0x1f542d=Math['max'](_0x518381['to'],_0x42641b['to']);_0x52e6b1<=_0x48bffa&&_0x48bffa--,_0x1c3348['splice'](--_0x52e6b1,0x2,_0x518381['anchor']>_0x518381['head']?EditorSelection['range'](_0x1f542d,_0x218b28):EditorSelection['range'](_0x218b28,_0x1f542d));}}return new EditorSelection(_0x1c3348,_0x48bffa);}}function checkSelection(_0x5abe14,_0x492009){for(let _0x2982aa of _0x5abe14['ranges'])if(_0x2982aa['to']>_0x492009)throw new RangeError('Selection\x20points\x20outside\x20of\x20document');}let nextID=0x0;class Facet{constructor(_0x2a8100,_0x52caf7,_0x3788e7,_0x2a5f96,_0x2bcc18){this['combine']=_0x2a8100,this['compareInput']=_0x52caf7,this['compare']=_0x3788e7,this['isStatic']=_0x2a5f96,this['id']=nextID++,this['default']=_0x2a8100([]),this['extensions']='function'==typeof _0x2bcc18?_0x2bcc18(this):_0x2bcc18;}get['reader'](){return this;}static['define'](_0x59b04a={}){return new Facet(_0x59b04a['combine']||(_0x30cd05=>_0x30cd05),_0x59b04a['compareInput']||((_0x4a61fe,_0x5da9ee)=>_0x4a61fe===_0x5da9ee),_0x59b04a['compare']||(_0x59b04a['combine']?(_0x226d89,_0x5e78b2)=>_0x226d89===_0x5e78b2:_0x3ffe7f),!!_0x59b04a['static'],_0x59b04a['enables']);}['of'](_0x420e7b){return new FacetProvider([],this,0x0,_0x420e7b);}['compute'](_0x58ec2e,_0x296e4d){if(this['isStatic'])throw new Error('Can\x27t\x20compute\x20a\x20static\x20facet');return new FacetProvider(_0x58ec2e,this,0x1,_0x296e4d);}['computeN'](_0x4bc82e,_0x42effc){if(this['isStatic'])throw new Error('Can\x27t\x20compute\x20a\x20static\x20facet');return new FacetProvider(_0x4bc82e,this,0x2,_0x42effc);}['from'](_0x135894,_0x36e3f7){return _0x36e3f7||(_0x36e3f7=_0x581ed2=>_0x581ed2),this['compute']([_0x135894],_0x16f4f2=>_0x36e3f7(_0x16f4f2['field'](_0x135894)));}}function _0x3ffe7f(_0x29dd5c,_0x136cfc){return _0x29dd5c==_0x136cfc||_0x29dd5c['length']==_0x136cfc['length']&&_0x29dd5c['every']((_0x444146,_0x418496)=>_0x444146===_0x136cfc[_0x418496]);}class FacetProvider{constructor(_0x48e37b,_0x230e95,_0x55457c,_0x530513){this['dependencies']=_0x48e37b,this['facet']=_0x230e95,this['type']=_0x55457c,this['value']=_0x530513,this['id']=nextID++;}['dynamicSlot'](_0x447211){var _0x6f9e0;let _0x4c5a8d=this['value'],_0x5d1974=this['facet']['compareInput'],_0x152417=this['id'],_0x21b8f4=_0x447211[_0x152417]>>0x1,_0x3b4113=0x2==this['type'],_0x5df939=!0x1,_0x53981a=!0x1,_0x24f2e0=[];for(let _0x5e5c7a of this['dependencies'])'doc'==_0x5e5c7a?_0x5df939=!0x0:'selection'==_0x5e5c7a?_0x53981a=!0x0:0x1&(null!==(_0x6f9e0=_0x447211[_0x5e5c7a['id']])&&void 0x0!==_0x6f9e0?_0x6f9e0:0x1)||_0x24f2e0['push'](_0x447211[_0x5e5c7a['id']]);return{'create':_0x9ab05c=>(_0x9ab05c['values'][_0x21b8f4]=_0x4c5a8d(_0x9ab05c),0x1),'update'(_0xbf5d5f,_0xe64294){if(_0x5df939&&_0xe64294['docChanged']||_0x53981a&&(_0xe64294['docChanged']||_0xe64294['selection'])||_0x52e368(_0xbf5d5f,_0x24f2e0)){let _0x476a63=_0x4c5a8d(_0xbf5d5f);if(_0x3b4113?!_0x4b6564(_0x476a63,_0xbf5d5f['values'][_0x21b8f4],_0x5d1974):!_0x5d1974(_0x476a63,_0xbf5d5f['values'][_0x21b8f4]))return _0xbf5d5f['values'][_0x21b8f4]=_0x476a63,0x1;}return 0x0;},'reconfigure':(_0x454e20,_0x3e0bc1)=>{let _0x48b32c,_0x1399c1=_0x3e0bc1['config']['address'][_0x152417];if(null!=_0x1399c1){let _0x562867=getAddr(_0x3e0bc1,_0x1399c1);if(this['dependencies']['every'](_0x3d73ba=>_0x3d73ba instanceof Facet?_0x3e0bc1['facet'](_0x3d73ba)===_0x454e20['facet'](_0x3d73ba):!(_0x3d73ba instanceof StateField)||_0x3e0bc1['field'](_0x3d73ba,!0x1)==_0x454e20['field'](_0x3d73ba,!0x1))||(_0x3b4113?_0x4b6564(_0x48b32c=_0x4c5a8d(_0x454e20),_0x562867,_0x5d1974):_0x5d1974(_0x48b32c=_0x4c5a8d(_0x454e20),_0x562867)))return _0x454e20['values'][_0x21b8f4]=_0x562867,0x0;}else _0x48b32c=_0x4c5a8d(_0x454e20);return _0x454e20['values'][_0x21b8f4]=_0x48b32c,0x1;}};}}function _0x4b6564(_0x49d6f1,_0x20c420,_0x625580){if(_0x49d6f1['length']!=_0x20c420['length'])return!0x1;for(let _0x2b770b=0x0;_0x2b770b<_0x49d6f1['length'];_0x2b770b++)if(!_0x625580(_0x49d6f1[_0x2b770b],_0x20c420[_0x2b770b]))return!0x1;return!0x0;}function _0x52e368(_0x585f61,_0x3990a5){let _0x55c3b6=!0x1;for(let _0x2d9850 of _0x3990a5)0x1&_0x1f816f(_0x585f61,_0x2d9850)&&(_0x55c3b6=!0x0);return _0x55c3b6;}function dynamicFacetSlot(_0x3c5c47,_0x14a612,_0xa19c0e){let _0x10f291=_0xa19c0e['map'](_0x1956b2=>_0x3c5c47[_0x1956b2['id']]),_0x1b797b=_0xa19c0e['map'](_0x3a13e5=>_0x3a13e5['type']),_0x123c74=_0x10f291['filter'](_0x59f1e0=>!(0x1&_0x59f1e0)),_0x571507=_0x3c5c47[_0x14a612['id']]>>0x1;function _0x5942d1(_0x381d45){let _0x24f48d=[];for(let _0x4f21ee=0x0;_0x4f21ee<_0x10f291['length'];_0x4f21ee++){let _0x17c0fd=getAddr(_0x381d45,_0x10f291[_0x4f21ee]);if(0x2==_0x1b797b[_0x4f21ee]){for(let _0x53f0b0 of _0x17c0fd)_0x24f48d['push'](_0x53f0b0);}else _0x24f48d['push'](_0x17c0fd);}return _0x14a612['combine'](_0x24f48d);}return{'create'(_0x14604d){for(let _0x505248 of _0x10f291)_0x1f816f(_0x14604d,_0x505248);return _0x14604d['values'][_0x571507]=_0x5942d1(_0x14604d),0x1;},'update'(_0x1111dc,_0x17c8e7){if(!_0x52e368(_0x1111dc,_0x123c74))return 0x0;let _0x14d4e8=_0x5942d1(_0x1111dc);return _0x14a612['compare'](_0x14d4e8,_0x1111dc['values'][_0x571507])?0x0:(_0x1111dc['values'][_0x571507]=_0x14d4e8,0x1);},'reconfigure'(_0x46a9f9,_0x3e7bda){let _0x20d34a=_0x52e368(_0x46a9f9,_0x10f291),_0x2c8bfa=_0x3e7bda['config']['facets'][_0x14a612['id']],_0x48ab82=_0x3e7bda['facet'](_0x14a612);if(_0x2c8bfa&&!_0x20d34a&&_0x3ffe7f(_0xa19c0e,_0x2c8bfa))return _0x46a9f9['values'][_0x571507]=_0x48ab82,0x0;let _0x3cce8b=_0x5942d1(_0x46a9f9);return _0x14a612['compare'](_0x3cce8b,_0x48ab82)?(_0x46a9f9['values'][_0x571507]=_0x48ab82,0x0):(_0x46a9f9['values'][_0x571507]=_0x3cce8b,0x1);}};}const initField=Facet['define']({'static':!0x0});class StateField{constructor(_0x34c31b,_0x29fe5f,_0x5dc6c1,_0x1251e9,_0x51cc9b){this['id']=_0x34c31b,this['createF']=_0x29fe5f,this['updateF']=_0x5dc6c1,this['compareF']=_0x1251e9,this['spec']=_0x51cc9b,this['provides']=void 0x0;}static['define'](_0xb9d7f6){let _0x226ca5=new StateField(nextID++,_0xb9d7f6['create'],_0xb9d7f6['update'],_0xb9d7f6['compare']||((_0x3551b9,_0x1165dc)=>_0x3551b9===_0x1165dc),_0xb9d7f6);return _0xb9d7f6['provide']&&(_0x226ca5['provides']=_0xb9d7f6['provide'](_0x226ca5)),_0x226ca5;}['create'](_0x5db19){let _0xc756f6=_0x5db19['facet'](initField)['find'](_0x5aa1a8=>_0x5aa1a8['field']==this);return((null==_0xc756f6?void 0x0:_0xc756f6['create'])||this['createF'])(_0x5db19);}['slot'](_0x30f584){let _0x263fd4=_0x30f584[this['id']]>>0x1;return{'create':_0x3fea88=>(_0x3fea88['values'][_0x263fd4]=this['create'](_0x3fea88),0x1),'update':(_0x5d32f5,_0x12ee35)=>{let _0x5a70ee=_0x5d32f5['values'][_0x263fd4],_0x15a77a=this['updateF'](_0x5a70ee,_0x12ee35);return this['compareF'](_0x5a70ee,_0x15a77a)?0x0:(_0x5d32f5['values'][_0x263fd4]=_0x15a77a,0x1);},'reconfigure':(_0x3b53e3,_0x50deb6)=>{let _0x162910,_0x561fb4=_0x3b53e3['facet'](initField),_0x5ecc09=_0x50deb6['facet'](initField);return(_0x162910=_0x561fb4['find'](_0x1789de=>_0x1789de['field']==this))&&_0x162910!=_0x5ecc09['find'](_0x877f84=>_0x877f84['field']==this)?(_0x3b53e3['values'][_0x263fd4]=_0x162910['create'](_0x3b53e3),0x1):null!=_0x50deb6['config']['address'][this['id']]?(_0x3b53e3['values'][_0x263fd4]=_0x50deb6['field'](this),0x0):(_0x3b53e3['values'][_0x263fd4]=this['create'](_0x3b53e3),0x1);}};}['init'](_0x4d2d3c){return[this,initField['of']({'field':this,'create':_0x4d2d3c})];}get['extension'](){return this;}}const _0x56dd60={'lowest':0x4,'low':0x3,'default':0x2,'high':0x1,'highest':0x0};function _0x28514b(_0x7dd956){return _0x4d8554=>new PrecExtension(_0x4d8554,_0x7dd956);}const _0x4004fa={'highest':_0x28514b(_0x56dd60['highest']),'high':_0x28514b(_0x56dd60['high']),'default':_0x28514b(_0x56dd60['default']),'low':_0x28514b(_0x56dd60['low']),'lowest':_0x28514b(_0x56dd60['lowest'])};class PrecExtension{constructor(_0x2c116f,_0x177c18){this['inner']=_0x2c116f,this['prec']=_0x177c18;}}class Compartment{['of'](_0x23d3b7){return new CompartmentInstance(this,_0x23d3b7);}['reconfigure'](_0x2176e9){return Compartment['reconfigure']['of']({'compartment':this,'extension':_0x2176e9});}['get'](_0xb76e89){return _0xb76e89['config']['compartments']['get'](this);}}class CompartmentInstance{constructor(_0x3ebfdb,_0x4ff34b){this['compartment']=_0x3ebfdb,this['inner']=_0x4ff34b;}}class Configuration{constructor(_0xf4fec3,_0x244487,_0x414fa8,_0x5b23ee,_0x5dea15,_0x2038bd){for(this['base']=_0xf4fec3,this['compartments']=_0x244487,this['dynamicSlots']=_0x414fa8,this['address']=_0x5b23ee,this['staticValues']=_0x5dea15,this['facets']=_0x2038bd,this['statusTemplate']=[];this['statusTemplate']['length']<_0x414fa8['length'];)this['statusTemplate']['push'](0x0);}['staticFacet'](_0x17b559){let _0x5bda01=this['address'][_0x17b559['id']];return null==_0x5bda01?_0x17b559['default']:this['staticValues'][_0x5bda01>>0x1];}static['resolve'](_0x285782,_0xaf37db,_0x3628c9){let _0x246d74=[],_0xfa16f3=Object['create'](null),_0x42954f=new Map();for(let _0x4cd0a0 of flatten(_0x285782,_0xaf37db,_0x42954f))_0x4cd0a0 instanceof StateField?_0x246d74['push'](_0x4cd0a0):(_0xfa16f3[_0x4cd0a0['facet']['id']]||(_0xfa16f3[_0x4cd0a0['facet']['id']]=[]))['push'](_0x4cd0a0);let _0x47c10a=Object['create'](null),_0x40d728=[],_0x31d2ff=[];for(let _0x822446 of _0x246d74)_0x47c10a[_0x822446['id']]=_0x31d2ff['length']<<0x1,_0x31d2ff['push'](_0x847e5f=>_0x822446['slot'](_0x847e5f));let _0x43787f=null==_0x3628c9?void 0x0:_0x3628c9['config']['facets'];for(let _0x1039ad in _0xfa16f3){let _0x403b97=_0xfa16f3[_0x1039ad],_0x4d4fa6=_0x403b97[0x0]['facet'],_0x2d8997=_0x43787f&&_0x43787f[_0x1039ad]||[];if(_0x403b97['every'](_0x1f0979=>0x0==_0x1f0979['type'])){if(_0x47c10a[_0x4d4fa6['id']]=_0x40d728['length']<<0x1|0x1,_0x3ffe7f(_0x2d8997,_0x403b97))_0x40d728['push'](_0x3628c9['facet'](_0x4d4fa6));else{let _0x297f41=_0x4d4fa6['combine'](_0x403b97['map'](_0x36b73a=>_0x36b73a['value']));_0x40d728['push'](_0x3628c9&&_0x4d4fa6['compare'](_0x297f41,_0x3628c9['facet'](_0x4d4fa6))?_0x3628c9['facet'](_0x4d4fa6):_0x297f41);}}else{for(let _0x8c0c39 of _0x403b97)0x0==_0x8c0c39['type']?(_0x47c10a[_0x8c0c39['id']]=_0x40d728['length']<<0x1|0x1,_0x40d728['push'](_0x8c0c39['value'])):(_0x47c10a[_0x8c0c39['id']]=_0x31d2ff['length']<<0x1,_0x31d2ff['push'](_0xcdf046=>_0x8c0c39['dynamicSlot'](_0xcdf046)));_0x47c10a[_0x4d4fa6['id']]=_0x31d2ff['length']<<0x1,_0x31d2ff['push'](_0x3a07e8=>dynamicFacetSlot(_0x3a07e8,_0x4d4fa6,_0x403b97));}}let _0x207377=_0x31d2ff['map'](_0x11f5fb=>_0x11f5fb(_0x47c10a));return new Configuration(_0x285782,_0x42954f,_0x207377,_0x47c10a,_0x40d728,_0xfa16f3);}}function flatten(_0x537bfc,_0x53b43e,_0x2f1f58){let _0x1b36e9=[[],[],[],[],[]],_0x1695c9=new Map();return function _0x2aeb05(_0x460c87,_0x35acbb){let _0x3bb509=_0x1695c9['get'](_0x460c87);if(null!=_0x3bb509){if(_0x3bb509<=_0x35acbb)return;let _0x18a4e6=_0x1b36e9[_0x3bb509]['indexOf'](_0x460c87);_0x18a4e6>-0x1&&_0x1b36e9[_0x3bb509]['splice'](_0x18a4e6,0x1),_0x460c87 instanceof CompartmentInstance&&_0x2f1f58['delete'](_0x460c87['compartment']);}if(_0x1695c9['set'](_0x460c87,_0x35acbb),Array['isArray'](_0x460c87)){for(let _0x45147d of _0x460c87)_0x2aeb05(_0x45147d,_0x35acbb);}else{if(_0x460c87 instanceof CompartmentInstance){if(_0x2f1f58['has'](_0x460c87['compartment']))throw new RangeError('Duplicate\x20use\x20of\x20compartment\x20in\x20extensions');let _0x20a8b6=_0x53b43e['get'](_0x460c87['compartment'])||_0x460c87['inner'];_0x2f1f58['set'](_0x460c87['compartment'],_0x20a8b6),_0x2aeb05(_0x20a8b6,_0x35acbb);}else{if(_0x460c87 instanceof PrecExtension)_0x2aeb05(_0x460c87['inner'],_0x460c87['prec']);else{if(_0x460c87 instanceof StateField)_0x1b36e9[_0x35acbb]['push'](_0x460c87),_0x460c87['provides']&&_0x2aeb05(_0x460c87['provides'],_0x35acbb);else{if(_0x460c87 instanceof FacetProvider)_0x1b36e9[_0x35acbb]['push'](_0x460c87),_0x460c87['facet']['extensions']&&_0x2aeb05(_0x460c87['facet']['extensions'],_0x56dd60['default']);else{let _0x4e7baf=_0x460c87['extension'];if(!_0x4e7baf)throw new Error('Unrecognized\x20extension\x20value\x20in\x20extension\x20set\x20('+_0x460c87+').\x20This\x20sometimes\x20happens\x20because\x20multiple\x20instances\x20of\x20@codemirror/state\x20are\x20loaded,\x20breaking\x20instanceof\x20checks.');_0x2aeb05(_0x4e7baf,_0x35acbb);}}}}}}(_0x537bfc,_0x56dd60['default']),_0x1b36e9['reduce']((_0x5f3d4f,_0x2d8b69)=>_0x5f3d4f['concat'](_0x2d8b69));}function _0x1f816f(_0x3fb1b3,_0x49c778){if(0x1&_0x49c778)return 0x2;let _0x51f88e=_0x49c778>>0x1,_0x2fce29=_0x3fb1b3['status'][_0x51f88e];if(0x4==_0x2fce29)throw new Error('Cyclic\x20dependency\x20between\x20fields\x20and/or\x20facets');if(0x2&_0x2fce29)return _0x2fce29;_0x3fb1b3['status'][_0x51f88e]=0x4;let _0x1594fd=_0x3fb1b3['computeSlot'](_0x3fb1b3,_0x3fb1b3['config']['dynamicSlots'][_0x51f88e]);return _0x3fb1b3['status'][_0x51f88e]=0x2|_0x1594fd;}function getAddr(_0x5bf3d2,_0x4b32d4){return 0x1&_0x4b32d4?_0x5bf3d2['config']['staticValues'][_0x4b32d4>>0x1]:_0x5bf3d2['values'][_0x4b32d4>>0x1];}const languageData=Facet['define'](),allowMultipleSelections=Facet['define']({'combine':_0x570e8f=>_0x570e8f['some'](_0x24b71f=>_0x24b71f),'static':!0x0}),lineSeparator=Facet['define']({'combine':_0x225268=>_0x225268['length']?_0x225268[0x0]:void 0x0,'static':!0x0}),changeFilter=Facet['define'](),transactionFilter=Facet['define'](),transactionExtender=Facet['define'](),_0x1c4c54=Facet['define']({'combine':_0x3fb5e6=>!!_0x3fb5e6['length']&&_0x3fb5e6[0x0]});class Annotation{constructor(_0xd70663,_0x3f4003){this['type']=_0xd70663,this['value']=_0x3f4003;}static['define'](){return new AnnotationType();}}class AnnotationType{['of'](_0x3ab8b9){return new Annotation(this,_0x3ab8b9);}}class StateEffectType{constructor(_0x529d71){this['map']=_0x529d71;}['of'](_0x31041d){return new StateEffect(this,_0x31041d);}}class StateEffect{constructor(_0x24cf74,_0x7c3b6){this['type']=_0x24cf74,this['value']=_0x7c3b6;}['map'](_0x491f17){let _0x44f25c=this['type']['map'](this['value'],_0x491f17);return void 0x0===_0x44f25c?void 0x0:_0x44f25c==this['value']?this:new StateEffect(this['type'],_0x44f25c);}['is'](_0x498b73){return this['type']==_0x498b73;}static['define'](_0x2b086a={}){return new StateEffectType(_0x2b086a['map']||(_0x426667=>_0x426667));}static['mapEffects'](_0x2e77c8,_0x86533a){if(!_0x2e77c8['length'])return _0x2e77c8;let _0x28b4fb=[];for(let _0x20f935 of _0x2e77c8){let _0x5d95df=_0x20f935['map'](_0x86533a);_0x5d95df&&_0x28b4fb['push'](_0x5d95df);}return _0x28b4fb;}}StateEffect['reconfigure']=StateEffect['define'](),StateEffect['appendConfig']=StateEffect['define']();class Transaction{constructor(_0x35990b,_0x1fa971,_0x527fed,_0x5f0e32,_0x4e3cc0,_0x420f48){this['startState']=_0x35990b,this['changes']=_0x1fa971,this['selection']=_0x527fed,this['effects']=_0x5f0e32,this['annotations']=_0x4e3cc0,this['scrollIntoView']=_0x420f48,this['_doc']=null,this['_state']=null,_0x527fed&&checkSelection(_0x527fed,_0x1fa971['newLength']),_0x4e3cc0['some'](_0x306733=>_0x306733['type']==Transaction['time'])||(this['annotations']=_0x4e3cc0['concat'](Transaction['time']['of'](Date['now']())));}static['create'](_0x382dad,_0xe58abf,_0x5b7fbe,_0x17e364,_0x334531,_0x28a627){return new Transaction(_0x382dad,_0xe58abf,_0x5b7fbe,_0x17e364,_0x334531,_0x28a627);}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'](_0x370fd6){for(let _0x2ae102 of this['annotations'])if(_0x2ae102['type']==_0x370fd6)return _0x2ae102['value'];}get['docChanged'](){return!this['changes']['empty'];}get['reconfigured'](){return this['startState']['config']!=this['state']['config'];}['isUserEvent'](_0x1e37ba){let _0x57de83=this['annotation'](Transaction['userEvent']);return!(!_0x57de83||!(_0x57de83==_0x1e37ba||_0x57de83['length']>_0x1e37ba['length']&&_0x57de83['slice'](0x0,_0x1e37ba['length'])==_0x1e37ba&&'.'==_0x57de83[_0x1e37ba['length']]));}}function _0x503144(_0xa6b8bb,_0x4d6022){let _0x1a5ec7=[];for(let _0x5eeb7f=0x0,_0x343868=0x0;;){let _0x13b7dd,_0x5f394b;if(_0x5eeb7f<_0xa6b8bb['length']&&(_0x343868==_0x4d6022['length']||_0x4d6022[_0x343868]>=_0xa6b8bb[_0x5eeb7f]))_0x13b7dd=_0xa6b8bb[_0x5eeb7f++],_0x5f394b=_0xa6b8bb[_0x5eeb7f++];else{if(!(_0x343868<_0x4d6022['length']))return _0x1a5ec7;_0x13b7dd=_0x4d6022[_0x343868++],_0x5f394b=_0x4d6022[_0x343868++];}!_0x1a5ec7['length']||_0x1a5ec7[_0x1a5ec7['length']-0x1]<_0x13b7dd?_0x1a5ec7['push'](_0x13b7dd,_0x5f394b):_0x1a5ec7[_0x1a5ec7['length']-0x1]<_0x5f394b&&(_0x1a5ec7[_0x1a5ec7['length']-0x1]=_0x5f394b);}}function mergeTransaction(_0x5c46b7,_0x460f33,_0x1e8e05){var _0x334358;let _0x280982,_0x1c8284,_0x39a0ac;return _0x1e8e05?(_0x280982=_0x460f33['changes'],_0x1c8284=ChangeSet['empty'](_0x460f33['changes']['length']),_0x39a0ac=_0x5c46b7['changes']['compose'](_0x460f33['changes'])):(_0x280982=_0x460f33['changes']['map'](_0x5c46b7['changes']),_0x1c8284=_0x5c46b7['changes']['mapDesc'](_0x460f33['changes'],!0x0),_0x39a0ac=_0x5c46b7['changes']['compose'](_0x280982)),{'changes':_0x39a0ac,'selection':_0x460f33['selection']?_0x460f33['selection']['map'](_0x1c8284):null===(_0x334358=_0x5c46b7['selection'])||void 0x0===_0x334358?void 0x0:_0x334358['map'](_0x280982),'effects':StateEffect['mapEffects'](_0x5c46b7['effects'],_0x280982)['concat'](StateEffect['mapEffects'](_0x460f33['effects'],_0x1c8284)),'annotations':_0x5c46b7['annotations']['length']?_0x5c46b7['annotations']['concat'](_0x460f33['annotations']):_0x460f33['annotations'],'scrollIntoView':_0x5c46b7['scrollIntoView']||_0x460f33['scrollIntoView']};}function resolveTransactionInner(_0x24e4fc,_0x3fe745,_0x168284){let _0x37eb76=_0x3fe745['selection'],_0x210094=_0x1b2f33(_0x3fe745['annotations']);return _0x3fe745['userEvent']&&(_0x210094=_0x210094['concat'](Transaction['userEvent']['of'](_0x3fe745['userEvent']))),{'changes':_0x3fe745['changes']instanceof ChangeSet?_0x3fe745['changes']:ChangeSet['of'](_0x3fe745['changes']||[],_0x168284,_0x24e4fc['facet'](lineSeparator)),'selection':_0x37eb76&&(_0x37eb76 instanceof EditorSelection?_0x37eb76:EditorSelection['single'](_0x37eb76['anchor'],_0x37eb76['head'])),'effects':_0x1b2f33(_0x3fe745['effects']),'annotations':_0x210094,'scrollIntoView':!!_0x3fe745['scrollIntoView']};}function resolveTransaction(_0x2ae2d1,_0x2985ec,_0x1aba74){let _0xdf0627=resolveTransactionInner(_0x2ae2d1,_0x2985ec['length']?_0x2985ec[0x0]:{},_0x2ae2d1['doc']['length']);_0x2985ec['length']&&!0x1===_0x2985ec[0x0]['filter']&&(_0x1aba74=!0x1);for(let _0x2f2d59=0x1;_0x2f2d59<_0x2985ec['length'];_0x2f2d59++){!0x1===_0x2985ec[_0x2f2d59]['filter']&&(_0x1aba74=!0x1);let _0x3b8c92=!!_0x2985ec[_0x2f2d59]['sequential'];_0xdf0627=mergeTransaction(_0xdf0627,resolveTransactionInner(_0x2ae2d1,_0x2985ec[_0x2f2d59],_0x3b8c92?_0xdf0627['changes']['newLength']:_0x2ae2d1['doc']['length']),_0x3b8c92);}let _0x1ac070=Transaction['create'](_0x2ae2d1,_0xdf0627['changes'],_0xdf0627['selection'],_0xdf0627['effects'],_0xdf0627['annotations'],_0xdf0627['scrollIntoView']);return extendTransaction(_0x1aba74?filterTransaction(_0x1ac070):_0x1ac070);}function filterTransaction(_0x2ecdec){let _0x174cbb=_0x2ecdec['startState'],_0x4ce506=!0x0;for(let _0x343e05 of _0x174cbb['facet'](changeFilter)){let _0x507817=_0x343e05(_0x2ecdec);if(!0x1===_0x507817){_0x4ce506=!0x1;break;}Array['isArray'](_0x507817)&&(_0x4ce506=!0x0===_0x4ce506?_0x507817:_0x503144(_0x4ce506,_0x507817));}if(!0x0!==_0x4ce506){let _0x2ea628,_0x958e14;if(!0x1===_0x4ce506)_0x958e14=_0x2ecdec['changes']['invertedDesc'],_0x2ea628=ChangeSet['empty'](_0x174cbb['doc']['length']);else{let _0x16f678=_0x2ecdec['changes']['filter'](_0x4ce506);_0x2ea628=_0x16f678['changes'],_0x958e14=_0x16f678['filtered']['mapDesc'](_0x16f678['changes'])['invertedDesc'];}_0x2ecdec=Transaction['create'](_0x174cbb,_0x2ea628,_0x2ecdec['selection']&&_0x2ecdec['selection']['map'](_0x958e14),StateEffect['mapEffects'](_0x2ecdec['effects'],_0x958e14),_0x2ecdec['annotations'],_0x2ecdec['scrollIntoView']);}let _0x904e66=_0x174cbb['facet'](transactionFilter);for(let _0x376f33=_0x904e66['length']-0x1;_0x376f33>=0x0;_0x376f33--){let _0x194cb2=_0x904e66[_0x376f33](_0x2ecdec);_0x2ecdec=_0x194cb2 instanceof Transaction?_0x194cb2:Array['isArray'](_0x194cb2)&&0x1==_0x194cb2['length']&&_0x194cb2[0x0]instanceof Transaction?_0x194cb2[0x0]:resolveTransaction(_0x174cbb,_0x1b2f33(_0x194cb2),!0x1);}return _0x2ecdec;}function extendTransaction(_0x4b4b9f){let _0x20c5b7=_0x4b4b9f['startState'],_0x1a65bb=_0x20c5b7['facet'](transactionExtender),_0x1e933c=_0x4b4b9f;for(let _0x3c752d=_0x1a65bb['length']-0x1;_0x3c752d>=0x0;_0x3c752d--){let _0x280898=_0x1a65bb[_0x3c752d](_0x4b4b9f);_0x280898&&Object['keys'](_0x280898)['length']&&(_0x1e933c=mergeTransaction(_0x1e933c,resolveTransactionInner(_0x20c5b7,_0x280898,_0x4b4b9f['changes']['newLength']),!0x0));}return _0x1e933c==_0x4b4b9f?_0x4b4b9f:Transaction['create'](_0x20c5b7,_0x4b4b9f['changes'],_0x4b4b9f['selection'],_0x1e933c['effects'],_0x1e933c['annotations'],_0x1e933c['scrollIntoView']);}Transaction['time']=Annotation['define'](),Transaction['userEvent']=Annotation['define'](),Transaction['addToHistory']=Annotation['define'](),Transaction['remote']=Annotation['define']();const _0x43e88e=[];function _0x1b2f33(_0x2c5ca9){return null==_0x2c5ca9?_0x43e88e:Array['isArray'](_0x2c5ca9)?_0x2c5ca9:[_0x2c5ca9];}var CharCategory=function(_0x449c55){return _0x449c55[_0x449c55['Word']=0x0]='Word',_0x449c55[_0x449c55['Space']=0x1]='Space',_0x449c55[_0x449c55['Other']=0x2]='Other',_0x449c55;}(CharCategory||(CharCategory={}));const _0xb3a1d9=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let _0x301b07;try{_0x301b07=new RegExp('[\x5cp{Alphabetic}\x5cp{Number}_]','u');}catch(_0x2a7492){}function _0x43295e(_0x1d98ba){if(_0x301b07)return _0x301b07['test'](_0x1d98ba);for(let _0x16a2b2=0x0;_0x16a2b2<_0x1d98ba['length'];_0x16a2b2++){let _0x2a7b6f=_0x1d98ba[_0x16a2b2];if(/\w/['test'](_0x2a7b6f)||_0x2a7b6f>'\u0080'&&(_0x2a7b6f['toUpperCase']()!=_0x2a7b6f['toLowerCase']()||_0xb3a1d9['test'](_0x2a7b6f)))return!0x0;}return!0x1;}function makeCategorizer(_0x2d5cb8){return _0x2d35c6=>{if(!/\S/['test'](_0x2d35c6))return CharCategory['Space'];if(_0x43295e(_0x2d35c6))return CharCategory['Word'];for(let _0x4c63e1=0x0;_0x4c63e1<_0x2d5cb8['length'];_0x4c63e1++)if(_0x2d35c6['indexOf'](_0x2d5cb8[_0x4c63e1])>-0x1)return CharCategory['Word'];return CharCategory['Other'];};}class EditorState{constructor(_0x3ed946,_0x387b3d,_0x7cef87,_0x295438,_0x1df563,_0x15043c){this['config']=_0x3ed946,this['doc']=_0x387b3d,this['selection']=_0x7cef87,this['values']=_0x295438,this['status']=_0x3ed946['statusTemplate']['slice'](),this['computeSlot']=_0x1df563,_0x15043c&&(_0x15043c['_state']=this);for(let _0x2cdea4=0x0;_0x2cdea4<this['config']['dynamicSlots']['length'];_0x2cdea4++)_0x1f816f(this,_0x2cdea4<<0x1);this['computeSlot']=null;}['field'](_0x33287a,_0xa3eae0=!0x0){let _0x53e8fe=this['config']['address'][_0x33287a['id']];if(null!=_0x53e8fe)return _0x1f816f(this,_0x53e8fe),getAddr(this,_0x53e8fe);if(_0xa3eae0)throw new RangeError('Field\x20is\x20not\x20present\x20in\x20this\x20state');}['update'](..._0x347365){return resolveTransaction(this,_0x347365,!0x0);}['applyTransaction'](_0x42a513){let _0x5027,_0x2ad609=this['config'],{base:_0x49b616,compartments:_0x2274f6}=_0x2ad609;for(let _0x18ccf9 of _0x42a513['effects'])_0x18ccf9['is'](Compartment['reconfigure'])?(_0x2ad609&&(_0x2274f6=new Map(),_0x2ad609['compartments']['forEach']((_0xfe8d58,_0x38bf10)=>_0x2274f6['set'](_0x38bf10,_0xfe8d58)),_0x2ad609=null),_0x2274f6['set'](_0x18ccf9['value']['compartment'],_0x18ccf9['value']['extension'])):_0x18ccf9['is'](StateEffect['reconfigure'])?(_0x2ad609=null,_0x49b616=_0x18ccf9['value']):_0x18ccf9['is'](StateEffect['appendConfig'])&&(_0x2ad609=null,_0x49b616=_0x1b2f33(_0x49b616)['concat'](_0x18ccf9['value']));if(_0x2ad609)_0x5027=_0x42a513['startState']['values']['slice']();else _0x2ad609=Configuration['resolve'](_0x49b616,_0x2274f6,this),_0x5027=new EditorState(_0x2ad609,this['doc'],this['selection'],_0x2ad609['dynamicSlots']['map'](()=>null),(_0x5aee7c,_0x3f9b30)=>_0x3f9b30['reconfigure'](_0x5aee7c,this),null)['values'];let _0x1df43b=_0x42a513['startState']['facet'](allowMultipleSelections)?_0x42a513['newSelection']:_0x42a513['newSelection']['asSingle']();new EditorState(_0x2ad609,_0x42a513['newDoc'],_0x1df43b,_0x5027,(_0x1b1c7a,_0x3ff100)=>_0x3ff100['update'](_0x1b1c7a,_0x42a513),_0x42a513);}['replaceSelection'](_0x55f56c){return'string'==typeof _0x55f56c&&(_0x55f56c=this['toText'](_0x55f56c)),this['changeByRange'](_0x210bca=>({'changes':{'from':_0x210bca['from'],'to':_0x210bca['to'],'insert':_0x55f56c},'range':EditorSelection['cursor'](_0x210bca['from']+_0x55f56c['length'])}));}['changeByRange'](_0x24fe85){let _0x411a0b=this['selection'],_0x323097=_0x24fe85(_0x411a0b['ranges'][0x0]),_0x4e4538=this['changes'](_0x323097['changes']),_0x596e6a=[_0x323097['range']],_0x23e259=_0x1b2f33(_0x323097['effects']);for(let _0x5ec682=0x1;_0x5ec682<_0x411a0b['ranges']['length'];_0x5ec682++){let _0x2733aa=_0x24fe85(_0x411a0b['ranges'][_0x5ec682]),_0x13332f=this['changes'](_0x2733aa['changes']),_0x4da4fd=_0x13332f['map'](_0x4e4538);for(let _0x30ed0d=0x0;_0x30ed0d<_0x5ec682;_0x30ed0d++)_0x596e6a[_0x30ed0d]=_0x596e6a[_0x30ed0d]['map'](_0x4da4fd);let _0x36f94f=_0x4e4538['mapDesc'](_0x13332f,!0x0);_0x596e6a['push'](_0x2733aa['range']['map'](_0x36f94f)),_0x4e4538=_0x4e4538['compose'](_0x4da4fd),_0x23e259=StateEffect['mapEffects'](_0x23e259,_0x4da4fd)['concat'](StateEffect['mapEffects'](_0x1b2f33(_0x2733aa['effects']),_0x36f94f));}return{'changes':_0x4e4538,'selection':EditorSelection['create'](_0x596e6a,_0x411a0b['mainIndex']),'effects':_0x23e259};}['changes'](_0x4e4723=[]){return _0x4e4723 instanceof ChangeSet?_0x4e4723:ChangeSet['of'](_0x4e4723,this['doc']['length'],this['facet'](EditorState['lineSeparator']));}['toText'](_0x53b653){return Text$1['of'](_0x53b653['split'](this['facet'](EditorState['lineSeparator'])||DefaultSplit));}['sliceDoc'](_0x3c257e=0x0,_0x3137a7=this['doc']['length']){return this['doc']['sliceString'](_0x3c257e,_0x3137a7,this['lineBreak']);}['facet'](_0x2dc026){let _0x37b562=this['config']['address'][_0x2dc026['id']];return null==_0x37b562?_0x2dc026['default']:(_0x1f816f(this,_0x37b562),getAddr(this,_0x37b562));}['toJSON'](_0x2db710){let _0x2baa08={'doc':this['sliceDoc'](),'selection':this['selection']['toJSON']()};if(_0x2db710)for(let _0x44005d in _0x2db710){let _0x1507e6=_0x2db710[_0x44005d];_0x1507e6 instanceof StateField&&null!=this['config']['address'][_0x1507e6['id']]&&(_0x2baa08[_0x44005d]=_0x1507e6['spec']['toJSON'](this['field'](_0x2db710[_0x44005d]),this));}return _0x2baa08;}static['fromJSON'](_0x4df03c,_0x27b94d={},_0x2ced7b){if(!_0x4df03c||'string'!=typeof _0x4df03c['doc'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20EditorState');let _0x8297f9=[];if(_0x2ced7b){for(let _0x3fe3ce in _0x2ced7b)if(Object['prototype']['hasOwnProperty']['call'](_0x4df03c,_0x3fe3ce)){let _0x4a7e2d=_0x2ced7b[_0x3fe3ce],_0x40975c=_0x4df03c[_0x3fe3ce];_0x8297f9['push'](_0x4a7e2d['init'](_0x2d485e=>_0x4a7e2d['spec']['fromJSON'](_0x40975c,_0x2d485e)));}}return EditorState['create']({'doc':_0x4df03c['doc'],'selection':EditorSelection['fromJSON'](_0x4df03c['selection']),'extensions':_0x27b94d['extensions']?_0x8297f9['concat']([_0x27b94d['extensions']]):_0x8297f9});}static['create'](_0x435187={}){let _0x340c91=Configuration['resolve'](_0x435187['extensions']||[],new Map()),_0x197f34=_0x435187['doc']instanceof Text$1?_0x435187['doc']:Text$1['of']((_0x435187['doc']||'')['split'](_0x340c91['staticFacet'](EditorState['lineSeparator'])||DefaultSplit)),_0x9ff1f6=_0x435187['selection']?_0x435187['selection']instanceof EditorSelection?_0x435187['selection']:EditorSelection['single'](_0x435187['selection']['anchor'],_0x435187['selection']['head']):EditorSelection['single'](0x0);return checkSelection(_0x9ff1f6,_0x197f34['length']),_0x340c91['staticFacet'](allowMultipleSelections)||(_0x9ff1f6=_0x9ff1f6['asSingle']()),new EditorState(_0x340c91,_0x197f34,_0x9ff1f6,_0x340c91['dynamicSlots']['map'](()=>null),(_0x4a39d8,_0x12c7b9)=>_0x12c7b9['create'](_0x4a39d8),null);}get['tabSize'](){return this['facet'](EditorState['tabSize']);}get['lineBreak'](){return this['facet'](EditorState['lineSeparator'])||'\x0a';}get['readOnly'](){return this['facet'](_0x1c4c54);}['phrase'](_0x28fd24,..._0x2c1c55){for(let _0x1745f5 of this['facet'](EditorState['phrases']))if(Object['prototype']['hasOwnProperty']['call'](_0x1745f5,_0x28fd24)){_0x28fd24=_0x1745f5[_0x28fd24];break;}return _0x2c1c55['length']&&(_0x28fd24=_0x28fd24['replace'](/\$(\$|\d*)/g,(_0x37a9be,_0x5f5db0)=>{if('$'==_0x5f5db0)return'$';let _0xc44bfd=+(_0x5f5db0||0x1);return!_0xc44bfd||_0xc44bfd>_0x2c1c55['length']?_0x37a9be:_0x2c1c55[_0xc44bfd-0x1];})),_0x28fd24;}['languageDataAt'](_0x2cf54f,_0x1b21e2,_0x326b9c=-0x1){let _0xd5cf29=[];for(let _0x5c56ae of this['facet'](languageData))for(let _0x14d628 of _0x5c56ae(this,_0x1b21e2,_0x326b9c))Object['prototype']['hasOwnProperty']['call'](_0x14d628,_0x2cf54f)&&_0xd5cf29['push'](_0x14d628[_0x2cf54f]);return _0xd5cf29;}['charCategorizer'](_0x557aa9){return makeCategorizer(this['languageDataAt']('wordChars',_0x557aa9)['join'](''));}['wordAt'](_0x3f0f0f){let {text:_0x3ad9bf,from:_0x4a03ec,length:_0xe6b971}=this['doc']['lineAt'](_0x3f0f0f),_0x25c7a4=this['charCategorizer'](_0x3f0f0f),_0x732948=_0x3f0f0f-_0x4a03ec,_0x3a29cd=_0x3f0f0f-_0x4a03ec;for(;_0x732948>0x0;){let _0x175e0a=findClusterBreak(_0x3ad9bf,_0x732948,!0x1);if(_0x25c7a4(_0x3ad9bf['slice'](_0x175e0a,_0x732948))!=CharCategory['Word'])break;_0x732948=_0x175e0a;}for(;_0x3a29cd<_0xe6b971;){let _0x153de7=findClusterBreak(_0x3ad9bf,_0x3a29cd);if(_0x25c7a4(_0x3ad9bf['slice'](_0x3a29cd,_0x153de7))!=CharCategory['Word'])break;_0x3a29cd=_0x153de7;}return _0x732948==_0x3a29cd?null:EditorSelection['range'](_0x732948+_0x4a03ec,_0x3a29cd+_0x4a03ec);}}function _0x253a1e(_0x128d87,_0x200c6b,_0x2577b8={}){let _0x1e4efd={};for(let _0x40e541 of _0x128d87)for(let _0x1b3ae5 of Object['keys'](_0x40e541)){let _0x49712d=_0x40e541[_0x1b3ae5],_0x19d8b8=_0x1e4efd[_0x1b3ae5];if(void 0x0===_0x19d8b8)_0x1e4efd[_0x1b3ae5]=_0x49712d;else{if(_0x19d8b8===_0x49712d||void 0x0===_0x49712d);else{if(!Object['hasOwnProperty']['call'](_0x2577b8,_0x1b3ae5))throw new Error('Config\x20merge\x20conflict\x20for\x20field\x20'+_0x1b3ae5);_0x1e4efd[_0x1b3ae5]=_0x2577b8[_0x1b3ae5](_0x19d8b8,_0x49712d);}}}for(let _0x44764e in _0x200c6b)void 0x0===_0x1e4efd[_0x44764e]&&(_0x1e4efd[_0x44764e]=_0x200c6b[_0x44764e]);return _0x1e4efd;}EditorState['allowMultipleSelections']=allowMultipleSelections,EditorState['tabSize']=Facet['define']({'combine':_0x1c5338=>_0x1c5338['length']?_0x1c5338[0x0]:0x4}),EditorState['lineSeparator']=lineSeparator,EditorState['readOnly']=_0x1c4c54,EditorState['phrases']=Facet['define']({'compare'(_0x1a380a,_0x277441){let _0x168cfc=Object['keys'](_0x1a380a),_0x24542c=Object['keys'](_0x277441);return _0x168cfc['length']==_0x24542c['length']&&_0x168cfc['every'](_0x47b42f=>_0x1a380a[_0x47b42f]==_0x277441[_0x47b42f]);}}),EditorState['languageData']=languageData,EditorState['changeFilter']=changeFilter,EditorState['transactionFilter']=transactionFilter,EditorState['transactionExtender']=transactionExtender,Compartment['reconfigure']=StateEffect['define']();class _0x57c96b{['eq'](_0x4a50b4){return this==_0x4a50b4;}['range'](_0x1934c7,_0x107699=_0x1934c7){return _0xd1fd5d['create'](_0x1934c7,_0x107699,this);}}_0x57c96b['prototype']['startSide']=_0x57c96b['prototype']['endSide']=0x0,_0x57c96b['prototype']['point']=!0x1,_0x57c96b['prototype']['mapMode']=_0x1d8e34['TrackDel'];let _0xd1fd5d=class _0x337dc0{constructor(_0x5b7183,_0x45b567,_0x2858e8){this['from']=_0x5b7183,this['to']=_0x45b567,this['value']=_0x2858e8;}static['create'](_0xebb1e3,_0x8a389b,_0x34490f){return new _0x337dc0(_0xebb1e3,_0x8a389b,_0x34490f);}};function _0xee53c1(_0x41e5c3,_0x534a35){return _0x41e5c3['from']-_0x534a35['from']||_0x41e5c3['value']['startSide']-_0x534a35['value']['startSide'];}class _0x22fefa{constructor(_0x101b4d,_0x4c569a,_0x53b25d,_0x55b502){this['from']=_0x101b4d,this['to']=_0x4c569a,this['value']=_0x53b25d,this['maxPoint']=_0x55b502;}get['length'](){return this['to'][this['to']['length']-0x1];}['findIndex'](_0x94164d,_0x3b140a,_0x45a14b,_0x928fb1=0x0){let _0x582c57=_0x45a14b?this['to']:this['from'];for(let _0x6ca42b=_0x928fb1,_0x2bca9d=_0x582c57['length'];;){if(_0x6ca42b==_0x2bca9d)return _0x6ca42b;let _0x27ee59=_0x6ca42b+_0x2bca9d>>0x1,_0x477801=_0x582c57[_0x27ee59]-_0x94164d||(_0x45a14b?this['value'][_0x27ee59]['endSide']:this['value'][_0x27ee59]['startSide'])-_0x3b140a;if(_0x27ee59==_0x6ca42b)return _0x477801>=0x0?_0x6ca42b:_0x2bca9d;_0x477801>=0x0?_0x2bca9d=_0x27ee59:_0x6ca42b=_0x27ee59+0x1;}}['between'](_0x52c746,_0xcc96d,_0x508182,_0x366f09){for(let _0x3a6638=this['findIndex'](_0xcc96d,-0x3b9aca00,!0x0),_0x531366=this['findIndex'](_0x508182,0x3b9aca00,!0x1,_0x3a6638);_0x3a6638<_0x531366;_0x3a6638++)if(!0x1===_0x366f09(this['from'][_0x3a6638]+_0x52c746,this['to'][_0x3a6638]+_0x52c746,this['value'][_0x3a6638]))return!0x1;}['map'](_0x500858,_0x31df28){let _0x4588fa=[],_0x471e96=[],_0x2cf4e7=[],_0x3a928c=-0x1,_0x483e76=-0x1;for(let _0x188f42=0x0;_0x188f42<this['value']['length'];_0x188f42++){let _0x30b803,_0x3fb9b8,_0x1568de=this['value'][_0x188f42],_0x55b4e6=this['from'][_0x188f42]+_0x500858,_0x10a299=this['to'][_0x188f42]+_0x500858;if(_0x55b4e6==_0x10a299){let _0x155c20=_0x31df28['mapPos'](_0x55b4e6,_0x1568de['startSide'],_0x1568de['mapMode']);if(null==_0x155c20)continue;if(_0x30b803=_0x3fb9b8=_0x155c20,_0x1568de['startSide']!=_0x1568de['endSide']&&(_0x3fb9b8=_0x31df28['mapPos'](_0x55b4e6,_0x1568de['endSide']),_0x3fb9b8<_0x30b803))continue;}else{if(_0x30b803=_0x31df28['mapPos'](_0x55b4e6,_0x1568de['startSide']),_0x3fb9b8=_0x31df28['mapPos'](_0x10a299,_0x1568de['endSide']),_0x30b803>_0x3fb9b8||_0x30b803==_0x3fb9b8&&_0x1568de['startSide']>0x0&&_0x1568de['endSide']<=0x0)continue;}(_0x3fb9b8-_0x30b803||_0x1568de['endSide']-_0x1568de['startSide'])<0x0||(_0x3a928c<0x0&&(_0x3a928c=_0x30b803),_0x1568de['point']&&(_0x483e76=Math['max'](_0x483e76,_0x3fb9b8-_0x30b803)),_0x4588fa['push'](_0x1568de),_0x471e96['push'](_0x30b803-_0x3a928c),_0x2cf4e7['push'](_0x3fb9b8-_0x3a928c));}return{'mapped':_0x4588fa['length']?new _0x22fefa(_0x471e96,_0x2cf4e7,_0x4588fa,_0x483e76):null,'pos':_0x3a928c};}}class RangeSet{constructor(_0x34c5ae,_0x4152b1,_0x79b41a,_0x59e1d5){this['chunkPos']=_0x34c5ae,this['chunk']=_0x4152b1,this['nextLayer']=_0x79b41a,this['maxPoint']=_0x59e1d5;}static['create'](_0x2b0225,_0x5e21a1,_0x48a27a,_0x4592cc){return new RangeSet(_0x2b0225,_0x5e21a1,_0x48a27a,_0x4592cc);}get['length'](){let _0x94e1f1=this['chunk']['length']-0x1;return _0x94e1f1<0x0?0x0:Math['max'](this['chunkEnd'](_0x94e1f1),this['nextLayer']['length']);}get['size'](){if(this['isEmpty'])return 0x0;let _0x379ad4=this['nextLayer']['size'];for(let _0x53e440 of this['chunk'])_0x379ad4+=_0x53e440['value']['length'];return _0x379ad4;}['chunkEnd'](_0x3bb912){return this['chunkPos'][_0x3bb912]+this['chunk'][_0x3bb912]['length'];}['update'](_0x407e10){let {add:_0x564442=[],sort:_0x1237cd=!0x1,filterFrom:_0x5903e8=0x0,filterTo:_0x525209=this['length']}=_0x407e10,_0x2f0bad=_0x407e10['filter'];if(0x0==_0x564442['length']&&!_0x2f0bad)return this;if(_0x1237cd&&(_0x564442=_0x564442['slice']()['sort'](_0xee53c1)),this['isEmpty'])return _0x564442['length']?RangeSet['of'](_0x564442):this;let _0x221d53=new _0x43707f(this,null,-0x1)['goto'](0x0),_0x1d5e08=0x0,_0x5f1434=[],_0x12fb4d=new RangeSetBuilder();for(;_0x221d53['value']||_0x1d5e08<_0x564442['length'];)if(_0x1d5e08<_0x564442['length']&&(_0x221d53['from']-_0x564442[_0x1d5e08]['from']||_0x221d53['startSide']-_0x564442[_0x1d5e08]['value']['startSide'])>=0x0){let _0x2d8844=_0x564442[_0x1d5e08++];_0x12fb4d['addInner'](_0x2d8844['from'],_0x2d8844['to'],_0x2d8844['value'])||_0x5f1434['push'](_0x2d8844);}else 0x1==_0x221d53['rangeIndex']&&_0x221d53['chunkIndex']<this['chunk']['length']&&(_0x1d5e08==_0x564442['length']||this['chunkEnd'](_0x221d53['chunkIndex'])<_0x564442[_0x1d5e08]['from'])&&(!_0x2f0bad||_0x5903e8>this['chunkEnd'](_0x221d53['chunkIndex'])||_0x525209<this['chunkPos'][_0x221d53['chunkIndex']])&&_0x12fb4d['addChunk'](this['chunkPos'][_0x221d53['chunkIndex']],this['chunk'][_0x221d53['chunkIndex']])?_0x221d53['nextChunk']():((!_0x2f0bad||_0x5903e8>_0x221d53['to']||_0x525209<_0x221d53['from']||_0x2f0bad(_0x221d53['from'],_0x221d53['to'],_0x221d53['value']))&&(_0x12fb4d['addInner'](_0x221d53['from'],_0x221d53['to'],_0x221d53['value'])||_0x5f1434['push'](_0xd1fd5d['create'](_0x221d53['from'],_0x221d53['to'],_0x221d53['value']))),_0x221d53['next']());return _0x12fb4d['finishInner'](this['nextLayer']['isEmpty']&&!_0x5f1434['length']?RangeSet['empty']:this['nextLayer']['update']({'add':_0x5f1434,'filter':_0x2f0bad,'filterFrom':_0x5903e8,'filterTo':_0x525209}));}['map'](_0x1cc5dc){if(_0x1cc5dc['empty']||this['isEmpty'])return this;let _0x38b50c=[],_0x1168b3=[],_0x1b54dd=-0x1;for(let _0x1c56ba=0x0;_0x1c56ba<this['chunk']['length'];_0x1c56ba++){let _0x2fe82f=this['chunkPos'][_0x1c56ba],_0x56df78=this['chunk'][_0x1c56ba],_0x54e0dc=_0x1cc5dc['touchesRange'](_0x2fe82f,_0x2fe82f+_0x56df78['length']);if(!0x1===_0x54e0dc)_0x1b54dd=Math['max'](_0x1b54dd,_0x56df78['maxPoint']),_0x38b50c['push'](_0x56df78),_0x1168b3['push'](_0x1cc5dc['mapPos'](_0x2fe82f));else{if(!0x0===_0x54e0dc){let {mapped:_0x5df726,pos:_0x1179fd}=_0x56df78['map'](_0x2fe82f,_0x1cc5dc);_0x5df726&&(_0x1b54dd=Math['max'](_0x1b54dd,_0x5df726['maxPoint']),_0x38b50c['push'](_0x5df726),_0x1168b3['push'](_0x1179fd));}}}let _0x84219=this['nextLayer']['map'](_0x1cc5dc);return 0x0==_0x38b50c['length']?_0x84219:new RangeSet(_0x1168b3,_0x38b50c,_0x84219||RangeSet['empty'],_0x1b54dd);}['between'](_0x388ddc,_0x4cb63d,_0x342bf5){if(!this['isEmpty']){for(let _0x4dfd52=0x0;_0x4dfd52<this['chunk']['length'];_0x4dfd52++){let _0x307909=this['chunkPos'][_0x4dfd52],_0xe71acc=this['chunk'][_0x4dfd52];if(_0x4cb63d>=_0x307909&&_0x388ddc<=_0x307909+_0xe71acc['length']&&!0x1===_0xe71acc['between'](_0x307909,_0x388ddc-_0x307909,_0x4cb63d-_0x307909,_0x342bf5))return;}this['nextLayer']['between'](_0x388ddc,_0x4cb63d,_0x342bf5);}}['iter'](_0x5468e6=0x0){return _0x19ca99['from']([this])['goto'](_0x5468e6);}get['isEmpty'](){return this['nextLayer']==this;}static['iter'](_0x15fb5e,_0x3a561f=0x0){return _0x19ca99['from'](_0x15fb5e)['goto'](_0x3a561f);}static['compare'](_0x5c6384,_0x40d2c3,_0x1a92dd,_0x55baa1,_0x1c3a45=-0x1){let _0x16f48f=_0x5c6384['filter'](_0x459cca=>_0x459cca['maxPoint']>0x0||!_0x459cca['isEmpty']&&_0x459cca['maxPoint']>=_0x1c3a45),_0x17d5b1=_0x40d2c3['filter'](_0x45da47=>_0x45da47['maxPoint']>0x0||!_0x45da47['isEmpty']&&_0x45da47['maxPoint']>=_0x1c3a45),_0x4d0a99=_0x13fe70(_0x16f48f,_0x17d5b1,_0x1a92dd),_0x206c95=new _0x14f02f(_0x16f48f,_0x4d0a99,_0x1c3a45),_0x1da528=new _0x14f02f(_0x17d5b1,_0x4d0a99,_0x1c3a45);_0x1a92dd['iterGaps']((_0x3c4052,_0x213df1,_0x3ef173)=>_0x3c1ae6(_0x206c95,_0x3c4052,_0x1da528,_0x213df1,_0x3ef173,_0x55baa1)),_0x1a92dd['empty']&&0x0==_0x1a92dd['length']&&_0x3c1ae6(_0x206c95,0x0,_0x1da528,0x0,0x0,_0x55baa1);}static['eq'](_0x77579,_0xb81f35,_0x289810=0x0,_0x56cbfb){null==_0x56cbfb&&(_0x56cbfb=0x3b9ac9ff);let _0xf3ec00=_0x77579['filter'](_0xf49258=>!_0xf49258['isEmpty']&&_0xb81f35['indexOf'](_0xf49258)<0x0),_0x5ccc8e=_0xb81f35['filter'](_0x1efefb=>!_0x1efefb['isEmpty']&&_0x77579['indexOf'](_0x1efefb)<0x0);if(_0xf3ec00['length']!=_0x5ccc8e['length'])return!0x1;if(!_0xf3ec00['length'])return!0x0;let _0x5bb244=_0x13fe70(_0xf3ec00,_0x5ccc8e),_0x51a6f0=new _0x14f02f(_0xf3ec00,_0x5bb244,0x0)['goto'](_0x289810),_0x440d3e=new _0x14f02f(_0x5ccc8e,_0x5bb244,0x0)['goto'](_0x289810);for(;;){if(_0x51a6f0['to']!=_0x440d3e['to']||!_0x260eeb(_0x51a6f0['active'],_0x440d3e['active'])||_0x51a6f0['point']&&(!_0x440d3e['point']||!_0x51a6f0['point']['eq'](_0x440d3e['point'])))return!0x1;if(_0x51a6f0['to']>_0x56cbfb)return!0x0;_0x51a6f0['next'](),_0x440d3e['next']();}}static['spans'](_0x2fd67b,_0xddc384,_0x325431,_0x11f173,_0x1a8a38=-0x1){let _0x327486=new _0x14f02f(_0x2fd67b,null,_0x1a8a38)['goto'](_0xddc384),_0x12bbc0=_0xddc384,_0x5c81ed=_0x327486['openStart'];for(;;){let _0x5b48d4=Math['min'](_0x327486['to'],_0x325431);if(_0x327486['point']){let _0x1a3eeb=_0x327486['activeForPoint'](_0x327486['to']),_0xed9984=_0x327486['pointFrom']<_0xddc384?_0x1a3eeb['length']+0x1:_0x327486['point']['startSide']<0x0?_0x1a3eeb['length']:Math['min'](_0x1a3eeb['length'],_0x5c81ed);_0x11f173['point'](_0x12bbc0,_0x5b48d4,_0x327486['point'],_0x1a3eeb,_0xed9984,_0x327486['pointRank']),_0x5c81ed=Math['min'](_0x327486['openEnd'](_0x5b48d4),_0x1a3eeb['length']);}else _0x5b48d4>_0x12bbc0&&(_0x11f173['span'](_0x12bbc0,_0x5b48d4,_0x327486['active'],_0x5c81ed),_0x5c81ed=_0x327486['openEnd'](_0x5b48d4));if(_0x327486['to']>_0x325431)return _0x5c81ed+(_0x327486['point']&&_0x327486['to']>_0x325431?0x1:0x0);_0x12bbc0=_0x327486['to'],_0x327486['next']();}}static['of'](_0x381524,_0x1a27bd=!0x1){let _0x4020e=new RangeSetBuilder();for(let _0x8ba033 of _0x381524 instanceof _0xd1fd5d?[_0x381524]:_0x1a27bd?lazySort(_0x381524):_0x381524)_0x4020e['add'](_0x8ba033['from'],_0x8ba033['to'],_0x8ba033['value']);return _0x4020e['finish']();}static['join'](_0x2bf1cd){if(!_0x2bf1cd['length'])return RangeSet['empty'];let _0x1b140c=_0x2bf1cd[_0x2bf1cd['length']-0x1];for(let _0x16d7c7=_0x2bf1cd['length']-0x2;_0x16d7c7>=0x0;_0x16d7c7--)for(let _0x347548=_0x2bf1cd[_0x16d7c7];_0x347548!=RangeSet['empty'];_0x347548=_0x347548['nextLayer'])_0x1b140c=new RangeSet(_0x347548['chunkPos'],_0x347548['chunk'],_0x1b140c,Math['max'](_0x347548['maxPoint'],_0x1b140c['maxPoint']));return _0x1b140c;}}function lazySort(_0x5d8601){if(_0x5d8601['length']>0x1)for(let _0x380999=_0x5d8601[0x0],_0x188d97=0x1;_0x188d97<_0x5d8601['length'];_0x188d97++){let _0x243503=_0x5d8601[_0x188d97];if(_0xee53c1(_0x380999,_0x243503)>0x0)return _0x5d8601['slice']()['sort'](_0xee53c1);_0x380999=_0x243503;}return _0x5d8601;}RangeSet['empty']=new RangeSet([],[],null,-0x1),RangeSet['empty']['nextLayer']=RangeSet['empty'];class RangeSetBuilder{['finishChunk'](_0x4daa70){this['chunks']['push'](new _0x22fefa(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,_0x4daa70&&(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'](_0x581940,_0x3fe0b2,_0x357f20){this['addInner'](_0x581940,_0x3fe0b2,_0x357f20)||(this['nextLayer']||(this['nextLayer']=new RangeSetBuilder()))['add'](_0x581940,_0x3fe0b2,_0x357f20);}['addInner'](_0x5b2c18,_0x56ce18,_0x197c51){let _0x3cad76=_0x5b2c18-this['lastTo']||_0x197c51['startSide']-this['last']['endSide'];if(_0x3cad76<=0x0&&(_0x5b2c18-this['lastFrom']||_0x197c51['startSide']-this['last']['startSide'])<0x0)throw new Error('Ranges\x20must\x20be\x20added\x20sorted\x20by\x20`from`\x20position\x20and\x20`startSide`');return!(_0x3cad76<0x0)&&(0xfa==this['from']['length']&&this['finishChunk'](!0x0),this['chunkStart']<0x0&&(this['chunkStart']=_0x5b2c18),this['from']['push'](_0x5b2c18-this['chunkStart']),this['to']['push'](_0x56ce18-this['chunkStart']),this['last']=_0x197c51,this['lastFrom']=_0x5b2c18,this['lastTo']=_0x56ce18,this['value']['push'](_0x197c51),_0x197c51['point']&&(this['maxPoint']=Math['max'](this['maxPoint'],_0x56ce18-_0x5b2c18)),!0x0);}['addChunk'](_0x155652,_0x53f477){if((_0x155652-this['lastTo']||_0x53f477['value'][0x0]['startSide']-this['last']['endSide'])<0x0)return!0x1;this['from']['length']&&this['finishChunk'](!0x0),this['setMaxPoint']=Math['max'](this['setMaxPoint'],_0x53f477['maxPoint']),this['chunks']['push'](_0x53f477),this['chunkPos']['push'](_0x155652);let _0x4f4518=_0x53f477['value']['length']-0x1;return this['last']=_0x53f477['value'][_0x4f4518],this['lastFrom']=_0x53f477['from'][_0x4f4518]+_0x155652,this['lastTo']=_0x53f477['to'][_0x4f4518]+_0x155652,!0x0;}['finish'](){return this['finishInner'](RangeSet['empty']);}['finishInner'](_0x254ec1){if(this['from']['length']&&this['finishChunk'](!0x1),0x0==this['chunks']['length'])return _0x254ec1;let _0x2dcfbd=RangeSet['create'](this['chunkPos'],this['chunks'],this['nextLayer']?this['nextLayer']['finishInner'](_0x254ec1):_0x254ec1,this['setMaxPoint']);return this['from']=null,_0x2dcfbd;}}function _0x13fe70(_0x418187,_0x5d2c9f,_0x434b1e){let _0x1d8b00=new Map();for(let _0x1da4b4 of _0x418187)for(let _0x4e88ee=0x0;_0x4e88ee<_0x1da4b4['chunk']['length'];_0x4e88ee++)_0x1da4b4['chunk'][_0x4e88ee]['maxPoint']<=0x0&&_0x1d8b00['set'](_0x1da4b4['chunk'][_0x4e88ee],_0x1da4b4['chunkPos'][_0x4e88ee]);let _0x9f796=new Set();for(let _0x13972f of _0x5d2c9f)for(let _0x266d17=0x0;_0x266d17<_0x13972f['chunk']['length'];_0x266d17++){let _0x3f58a5=_0x1d8b00['get'](_0x13972f['chunk'][_0x266d17]);null==_0x3f58a5||(_0x434b1e?_0x434b1e['mapPos'](_0x3f58a5):_0x3f58a5)!=_0x13972f['chunkPos'][_0x266d17]||(null==_0x434b1e?void 0x0:_0x434b1e['touchesRange'](_0x3f58a5,_0x3f58a5+_0x13972f['chunk'][_0x266d17]['length']))||_0x9f796['add'](_0x13972f['chunk'][_0x266d17]);}return _0x9f796;}class _0x43707f{constructor(_0x4c7a51,_0x35db09,_0x390c38,_0x50e4b5=0x0){this['layer']=_0x4c7a51,this['skip']=_0x35db09,this['minPoint']=_0x390c38,this['rank']=_0x50e4b5;}get['startSide'](){return this['value']?this['value']['startSide']:0x0;}get['endSide'](){return this['value']?this['value']['endSide']:0x0;}['goto'](_0x57a27d,_0x53a012=-0x3b9aca00){return this['chunkIndex']=this['rangeIndex']=0x0,this['gotoInner'](_0x57a27d,_0x53a012,!0x1),this;}['gotoInner'](_0x27c1cd,_0x759e1b,_0x52e5ee){for(;this['chunkIndex']<this['layer']['chunk']['length'];){let _0x368303=this['layer']['chunk'][this['chunkIndex']];if(!(this['skip']&&this['skip']['has'](_0x368303)||this['layer']['chunkEnd'](this['chunkIndex'])<_0x27c1cd||_0x368303['maxPoint']<this['minPoint']))break;this['chunkIndex']++,_0x52e5ee=!0x1;}if(this['chunkIndex']<this['layer']['chunk']['length']){let _0x30f732=this['layer']['chunk'][this['chunkIndex']]['findIndex'](_0x27c1cd-this['layer']['chunkPos'][this['chunkIndex']],_0x759e1b,!0x0);(!_0x52e5ee||this['rangeIndex']<_0x30f732)&&this['setRangeIndex'](_0x30f732);}this['next']();}['forward'](_0x398a7b,_0xb77dc4){(this['to']-_0x398a7b||this['endSide']-_0xb77dc4)<0x0&&this['gotoInner'](_0x398a7b,_0xb77dc4,!0x0);}['next'](){for(;;){if(this['chunkIndex']==this['layer']['chunk']['length']){this['from']=this['to']=0x3b9aca00,this['value']=null;break;}{let _0xc9bbdf=this['layer']['chunkPos'][this['chunkIndex']],_0x4e9cf0=this['layer']['chunk'][this['chunkIndex']],_0x4a7b26=_0xc9bbdf+_0x4e9cf0['from'][this['rangeIndex']];if(this['from']=_0x4a7b26,this['to']=_0xc9bbdf+_0x4e9cf0['to'][this['rangeIndex']],this['value']=_0x4e9cf0['value'][this['rangeIndex']],this['setRangeIndex'](this['rangeIndex']+0x1),this['minPoint']<0x0||this['value']['point']&&this['to']-this['from']>=this['minPoint'])break;}}}['setRangeIndex'](_0x5b7980){if(_0x5b7980==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']=_0x5b7980;}['nextChunk'](){this['chunkIndex']++,this['rangeIndex']=0x0,this['next']();}['compare'](_0x1e4925){return this['from']-_0x1e4925['from']||this['startSide']-_0x1e4925['startSide']||this['rank']-_0x1e4925['rank']||this['to']-_0x1e4925['to']||this['endSide']-_0x1e4925['endSide'];}}class _0x19ca99{constructor(_0x1e3421){this['heap']=_0x1e3421;}static['from'](_0x11f52c,_0x4b7c03=null,_0x46acab=-0x1){let _0x24370d=[];for(let _0x411b96=0x0;_0x411b96<_0x11f52c['length'];_0x411b96++)for(let _0x3d0162=_0x11f52c[_0x411b96];!_0x3d0162['isEmpty'];_0x3d0162=_0x3d0162['nextLayer'])_0x3d0162['maxPoint']>=_0x46acab&&_0x24370d['push'](new _0x43707f(_0x3d0162,_0x4b7c03,_0x46acab,_0x411b96));return 0x1==_0x24370d['length']?_0x24370d[0x0]:new _0x19ca99(_0x24370d);}get['startSide'](){return this['value']?this['value']['startSide']:0x0;}['goto'](_0x422a02,_0x1259f5=-0x3b9aca00){for(let _0x5289a5 of this['heap'])_0x5289a5['goto'](_0x422a02,_0x1259f5);for(let _0x303b2b=this['heap']['length']>>0x1;_0x303b2b>=0x0;_0x303b2b--)_0x38e13d(this['heap'],_0x303b2b);return this['next'](),this;}['forward'](_0x2e1e7d,_0x3bb53b){for(let _0x59efd4 of this['heap'])_0x59efd4['forward'](_0x2e1e7d,_0x3bb53b);for(let _0x3432c8=this['heap']['length']>>0x1;_0x3432c8>=0x0;_0x3432c8--)_0x38e13d(this['heap'],_0x3432c8);(this['to']-_0x2e1e7d||this['value']['endSide']-_0x3bb53b)<0x0&&this['next']();}['next'](){if(0x0==this['heap']['length'])this['from']=this['to']=0x3b9aca00,this['value']=null,this['rank']=-0x1;else{let _0x57e748=this['heap'][0x0];this['from']=_0x57e748['from'],this['to']=_0x57e748['to'],this['value']=_0x57e748['value'],this['rank']=_0x57e748['rank'],_0x57e748['value']&&_0x57e748['next'](),_0x38e13d(this['heap'],0x0);}}}function _0x38e13d(_0x11f17d,_0x2622e6){for(let _0x28868f=_0x11f17d[_0x2622e6];;){let _0x5f1a65=0x1+(_0x2622e6<<0x1);if(_0x5f1a65>=_0x11f17d['length'])break;let _0x5027fd=_0x11f17d[_0x5f1a65];if(_0x5f1a65+0x1<_0x11f17d['length']&&_0x5027fd['compare'](_0x11f17d[_0x5f1a65+0x1])>=0x0&&(_0x5027fd=_0x11f17d[_0x5f1a65+0x1],_0x5f1a65++),_0x28868f['compare'](_0x5027fd)<0x0)break;_0x11f17d[_0x5f1a65]=_0x28868f,_0x11f17d[_0x2622e6]=_0x5027fd,_0x2622e6=_0x5f1a65;}}class _0x14f02f{constructor(_0x147768,_0x352e70,_0x27f532){this['minPoint']=_0x27f532,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']=_0x19ca99['from'](_0x147768,_0x352e70,_0x27f532);}['goto'](_0x49c752,_0x47b669=-0x3b9aca00){return this['cursor']['goto'](_0x49c752,_0x47b669),this['active']['length']=this['activeTo']['length']=this['activeRank']['length']=0x0,this['minActive']=-0x1,this['to']=_0x49c752,this['endSide']=_0x47b669,this['openStart']=-0x1,this['next'](),this;}['forward'](_0x2e49ac,_0x71dec2){for(;this['minActive']>-0x1&&(this['activeTo'][this['minActive']]-_0x2e49ac||this['active'][this['minActive']]['endSide']-_0x71dec2)<0x0;)this['removeActive'](this['minActive']);this['cursor']['forward'](_0x2e49ac,_0x71dec2);}['removeActive'](_0x2d8a9f){_0x24174a(this['active'],_0x2d8a9f),_0x24174a(this['activeTo'],_0x2d8a9f),_0x24174a(this['activeRank'],_0x2d8a9f),this['minActive']=_0x2cbe32(this['active'],this['activeTo']);}['addActive'](_0x5943a7){let _0x57ddc4=0x0,{value:_0x2d591c,to:_0x50eb95,rank:_0x49d0a7}=this['cursor'];for(;_0x57ddc4<this['activeRank']['length']&&(_0x49d0a7-this['activeRank'][_0x57ddc4]||_0x50eb95-this['activeTo'][_0x57ddc4])>0x0;)_0x57ddc4++;insert(this['active'],_0x57ddc4,_0x2d591c),insert(this['activeTo'],_0x57ddc4,_0x50eb95),insert(this['activeRank'],_0x57ddc4,_0x49d0a7),_0x5943a7&&insert(_0x5943a7,_0x57ddc4,this['cursor']['from']),this['minActive']=_0x2cbe32(this['active'],this['activeTo']);}['next'](){let _0x40f75a=this['to'],_0x3ed174=this['point'];this['point']=null;let _0x13cbcc=this['openStart']<0x0?[]:null;for(;;){let _0x367a0b=this['minActive'];if(_0x367a0b>-0x1&&(this['activeTo'][_0x367a0b]-this['cursor']['from']||this['active'][_0x367a0b]['endSide']-this['cursor']['startSide'])<0x0){if(this['activeTo'][_0x367a0b]>_0x40f75a){this['to']=this['activeTo'][_0x367a0b],this['endSide']=this['active'][_0x367a0b]['endSide'];break;}this['removeActive'](_0x367a0b),_0x13cbcc&&_0x24174a(_0x13cbcc,_0x367a0b);}else{if(!this['cursor']['value']){this['to']=this['endSide']=0x3b9aca00;break;}if(this['cursor']['from']>_0x40f75a){this['to']=this['cursor']['from'],this['endSide']=this['cursor']['startSide'];break;}{let _0xa959cd=this['cursor']['value'];if(_0xa959cd['point']){if(!(_0x3ed174&&this['cursor']['to']==this['to']&&this['cursor']['from']<this['cursor']['to'])){this['point']=_0xa959cd,this['pointFrom']=this['cursor']['from'],this['pointRank']=this['cursor']['rank'],this['to']=this['cursor']['to'],this['endSide']=_0xa959cd['endSide'],this['cursor']['next'](),this['forward'](this['to'],this['endSide']);break;}this['cursor']['next']();}else this['addActive'](_0x13cbcc),this['cursor']['next']();}}}if(_0x13cbcc){this['openStart']=0x0;for(let _0xb5c53b=_0x13cbcc['length']-0x1;_0xb5c53b>=0x0&&_0x13cbcc[_0xb5c53b]<_0x40f75a;_0xb5c53b--)this['openStart']++;}}['activeForPoint'](_0xdbfaca){if(!this['active']['length'])return this['active'];let _0xb9fef2=[];for(let _0x57a718=this['active']['length']-0x1;_0x57a718>=0x0&&!(this['activeRank'][_0x57a718]<this['pointRank']);_0x57a718--)(this['activeTo'][_0x57a718]>_0xdbfaca||this['activeTo'][_0x57a718]==_0xdbfaca&&this['active'][_0x57a718]['endSide']>=this['point']['endSide'])&&_0xb9fef2['push'](this['active'][_0x57a718]);return _0xb9fef2['reverse']();}['openEnd'](_0xec5852){let _0x49326a=0x0;for(let _0x4f98e1=this['activeTo']['length']-0x1;_0x4f98e1>=0x0&&this['activeTo'][_0x4f98e1]>_0xec5852;_0x4f98e1--)_0x49326a++;return _0x49326a;}}function _0x3c1ae6(_0x9e79d6,_0x4e5664,_0x564904,_0x22e70f,_0xcbe695,_0x1c61a4){_0x9e79d6['goto'](_0x4e5664),_0x564904['goto'](_0x22e70f);let _0x3c3cce=_0x22e70f+_0xcbe695,_0x4dbdd2=_0x22e70f,_0x2be12f=_0x22e70f-_0x4e5664;for(;;){let _0x455f04=_0x9e79d6['to']+_0x2be12f-_0x564904['to'],_0x1d5f3c=_0x455f04||_0x9e79d6['endSide']-_0x564904['endSide'],_0x362d9a=_0x1d5f3c<0x0?_0x9e79d6['to']+_0x2be12f:_0x564904['to'],_0x32d64c=Math['min'](_0x362d9a,_0x3c3cce);if(_0x9e79d6['point']||_0x564904['point']?_0x9e79d6['point']&&_0x564904['point']&&(_0x9e79d6['point']==_0x564904['point']||_0x9e79d6['point']['eq'](_0x564904['point']))&&_0x260eeb(_0x9e79d6['activeForPoint'](_0x9e79d6['to']),_0x564904['activeForPoint'](_0x564904['to']))||_0x1c61a4['comparePoint'](_0x4dbdd2,_0x32d64c,_0x9e79d6['point'],_0x564904['point']):_0x32d64c>_0x4dbdd2&&!_0x260eeb(_0x9e79d6['active'],_0x564904['active'])&&_0x1c61a4['compareRange'](_0x4dbdd2,_0x32d64c,_0x9e79d6['active'],_0x564904['active']),_0x362d9a>_0x3c3cce)break;(_0x455f04||_0x9e79d6['openEnd']!=_0x564904['openEnd'])&&_0x1c61a4['boundChange']&&_0x1c61a4['boundChange'](_0x362d9a),_0x4dbdd2=_0x362d9a,_0x1d5f3c<=0x0&&_0x9e79d6['next'](),_0x1d5f3c>=0x0&&_0x564904['next']();}}function _0x260eeb(_0x319a93,_0xc300aa){if(_0x319a93['length']!=_0xc300aa['length'])return!0x1;for(let _0x2340f0=0x0;_0x2340f0<_0x319a93['length'];_0x2340f0++)if(_0x319a93[_0x2340f0]!=_0xc300aa[_0x2340f0]&&!_0x319a93[_0x2340f0]['eq'](_0xc300aa[_0x2340f0]))return!0x1;return!0x0;}function _0x24174a(_0x382c31,_0x7d006d){for(let _0x5870c4=_0x7d006d,_0x25d526=_0x382c31['length']-0x1;_0x5870c4<_0x25d526;_0x5870c4++)_0x382c31[_0x5870c4]=_0x382c31[_0x5870c4+0x1];_0x382c31['pop']();}function insert(_0x472a7c,_0x1a1b00,_0x5167a2){for(let _0x46f38a=_0x472a7c['length']-0x1;_0x46f38a>=_0x1a1b00;_0x46f38a--)_0x472a7c[_0x46f38a+0x1]=_0x472a7c[_0x46f38a];_0x472a7c[_0x1a1b00]=_0x5167a2;}function _0x2cbe32(_0x11325e,_0x197e97){let _0x115782=-0x1,_0x3ddc22=0x3b9aca00;for(let _0x408eda=0x0;_0x408eda<_0x197e97['length'];_0x408eda++)(_0x197e97[_0x408eda]-_0x3ddc22||_0x11325e[_0x408eda]['endSide']-_0x11325e[_0x115782]['endSide'])<0x0&&(_0x115782=_0x408eda,_0x3ddc22=_0x197e97[_0x408eda]);return _0x115782;}function countColumn(_0x476a23,_0x6e6f66,_0x215f5a=_0x476a23['length']){let _0x19e7b6=0x0;for(let _0x3b3ede=0x0;_0x3b3ede<_0x215f5a&&_0x3b3ede<_0x476a23['length'];)0x9==_0x476a23['charCodeAt'](_0x3b3ede)?(_0x19e7b6+=_0x6e6f66-_0x19e7b6%_0x6e6f66,_0x3b3ede++):(_0x19e7b6++,_0x3b3ede=findClusterBreak(_0x476a23,_0x3b3ede));return _0x19e7b6;}function _0x3f3917(_0x51846d,_0x1c37cf,_0x1515c5,_0x8ca56d){for(let _0x469d8d=0x0,_0x4b40e7=0x0;;){if(_0x4b40e7>=_0x1c37cf)return _0x469d8d;if(_0x469d8d==_0x51846d['length'])break;_0x4b40e7+=0x9==_0x51846d['charCodeAt'](_0x469d8d)?_0x1515c5-_0x4b40e7%_0x1515c5:0x1,_0x469d8d=findClusterBreak(_0x51846d,_0x469d8d);}return!0x0===_0x8ca56d?-0x1:_0x51846d['length'];}const _0x499e7e='ͼ',_0x58dd4f='undefined'==typeof Symbol?'__'+_0x499e7e:Symbol['for'](_0x499e7e),_0x271a28='undefined'==typeof Symbol?'__styleSet'+Math['floor'](0x5f5e100*Math['random']()):Symbol('styleSet'),top='undefined'!=typeof globalThis?globalThis:'undefined'!=typeof window?window:{};class StyleModule{constructor(_0x231cca,_0x379898){this['rules']=[];let {finish:_0xe9e7d}=_0x379898||{};function _0x219615(_0x1de32f){return/^@/['test'](_0x1de32f)?[_0x1de32f]:_0x1de32f['split'](/,\s*/);}function _0x2cd00d(_0x3276c7,_0x10b09e,_0x32de6f,_0x1f0411){let _0x460341=[],_0x238b12=/^@(\w+)\b/['exec'](_0x3276c7[0x0]),_0x3a083a=_0x238b12&&'keyframes'==_0x238b12[0x1];if(_0x238b12&&null==_0x10b09e)return _0x32de6f['push'](_0x3276c7[0x0]+';');for(let _0x767759 in _0x10b09e){let _0x1cb22c=_0x10b09e[_0x767759];if(/&/['test'](_0x767759))_0x2cd00d(_0x767759['split'](/,\s*/)['map'](_0x4c521f=>_0x3276c7['map'](_0x431aad=>_0x4c521f['replace'](/&/,_0x431aad)))['reduce']((_0x4da99c,_0x155c56)=>_0x4da99c['concat'](_0x155c56)),_0x1cb22c,_0x32de6f);else{if(_0x1cb22c&&'object'==typeof _0x1cb22c){if(!_0x238b12)throw new RangeError('The\x20value\x20of\x20a\x20property\x20('+_0x767759+')\x20should\x20be\x20a\x20primitive\x20value.');_0x2cd00d(_0x219615(_0x767759),_0x1cb22c,_0x460341,_0x3a083a);}else null!=_0x1cb22c&&_0x460341['push'](_0x767759['replace'](/_.*/,'')['replace'](/[A-Z]/g,_0x5629d0=>'-'+_0x5629d0['toLowerCase']())+':\x20'+_0x1cb22c+';');}}(_0x460341['length']||_0x3a083a)&&_0x32de6f['push']((!_0xe9e7d||_0x238b12||_0x1f0411?_0x3276c7:_0x3276c7['map'](_0xe9e7d))['join'](',\x20')+'\x20{'+_0x460341['join']('\x20')+'}');}for(let _0x1bbfd9 in _0x231cca)_0x2cd00d(_0x219615(_0x1bbfd9),_0x231cca[_0x1bbfd9],this['rules']);}['getRules'](){return this['rules']['join']('\x0a');}static['newName'](){let _0x5853c4=top[_0x58dd4f]||0x1;return top[_0x58dd4f]=_0x5853c4+0x1,_0x499e7e+_0x5853c4['toString'](0x24);}static['mount'](_0x1bfcba,_0x5aa417,_0x21ce32){let _0x2b6ec7=_0x1bfcba[_0x271a28],_0x570c6a=_0x21ce32&&_0x21ce32['nonce'];_0x2b6ec7?_0x570c6a&&_0x2b6ec7['setNonce'](_0x570c6a):_0x2b6ec7=new StyleSet(_0x1bfcba,_0x570c6a),_0x2b6ec7['mount'](Array['isArray'](_0x5aa417)?_0x5aa417:[_0x5aa417],_0x1bfcba);}}let adoptedSet=new Map();class StyleSet{constructor(_0xf773f3,_0x2a5036){let _0x36dbd9=_0xf773f3['ownerDocument']||_0xf773f3,_0x3bee24=_0x36dbd9['defaultView'];if(!_0xf773f3['head']&&_0xf773f3['adoptedStyleSheets']&&_0x3bee24['CSSStyleSheet']){let _0x3aae62=adoptedSet['get'](_0x36dbd9);if(_0x3aae62)return _0xf773f3[_0x271a28]=_0x3aae62;this['sheet']=new _0x3bee24['CSSStyleSheet'](),adoptedSet['set'](_0x36dbd9,this);}else this['styleTag']=_0x36dbd9['createElement']('style'),_0x2a5036&&this['styleTag']['setAttribute']('nonce',_0x2a5036);this['modules']=[],_0xf773f3[_0x271a28]=this;}['mount'](_0x3c548a,_0x2fc160){let _0x47cbb9=this['sheet'],_0x5eae6b=0x0,_0x436a47=0x0;for(let _0x197d77=0x0;_0x197d77<_0x3c548a['length'];_0x197d77++){let _0xdcb42f=_0x3c548a[_0x197d77],_0xb97d4a=this['modules']['indexOf'](_0xdcb42f);if(_0xb97d4a<_0x436a47&&_0xb97d4a>-0x1&&(this['modules']['splice'](_0xb97d4a,0x1),_0x436a47--,_0xb97d4a=-0x1),-0x1==_0xb97d4a){if(this['modules']['splice'](_0x436a47++,0x0,_0xdcb42f),_0x47cbb9){for(let _0x435ad5=0x0;_0x435ad5<_0xdcb42f['rules']['length'];_0x435ad5++)_0x47cbb9['insertRule'](_0xdcb42f['rules'][_0x435ad5],_0x5eae6b++);}}else{for(;_0x436a47<_0xb97d4a;)_0x5eae6b+=this['modules'][_0x436a47++]['rules']['length'];_0x5eae6b+=_0xdcb42f['rules']['length'],_0x436a47++;}}if(_0x47cbb9)_0x2fc160['adoptedStyleSheets']['indexOf'](this['sheet'])<0x0&&(_0x2fc160['adoptedStyleSheets']=[this['sheet'],..._0x2fc160['adoptedStyleSheets']]);else{let _0xad42c1='';for(let _0x31bd1b=0x0;_0x31bd1b<this['modules']['length'];_0x31bd1b++)_0xad42c1+=this['modules'][_0x31bd1b]['getRules']()+'\x0a';this['styleTag']['textContent']=_0xad42c1;let _0x2e5e7b=_0x2fc160['head']||_0x2fc160;this['styleTag']['parentNode']!=_0x2e5e7b&&_0x2e5e7b['insertBefore'](this['styleTag'],_0x2e5e7b['firstChild']);}}['setNonce'](_0x4debd1){this['styleTag']&&this['styleTag']['getAttribute']('nonce')!=_0x4debd1&&this['styleTag']['setAttribute']('nonce',_0x4debd1);}}for(var _0x107293={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'},shift={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'},_0x2f8d0c='undefined'!=typeof navigator&&/Mac/['test'](navigator['platform']),_0x35db03='undefined'!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/['exec'](navigator['userAgent']),_0x307f25=0x0;_0x307f25<0xa;_0x307f25++)_0x107293[0x30+_0x307f25]=_0x107293[0x60+_0x307f25]=String(_0x307f25);for(var _0x307f25=0x1;_0x307f25<=0x18;_0x307f25++)_0x107293[_0x307f25+0x6f]='F'+_0x307f25;for(var _0x307f25=0x41;_0x307f25<=0x5a;_0x307f25++)_0x107293[_0x307f25]=String['fromCharCode'](_0x307f25+0x20),shift[_0x307f25]=String['fromCharCode'](_0x307f25);for(var _0x566dd3 in _0x107293)shift['hasOwnProperty'](_0x566dd3)||(shift[_0x566dd3]=_0x107293[_0x566dd3]);function _0x1c75e6(_0x1ffc3e){var _0x9bd053=!(_0x2f8d0c&&_0x1ffc3e['metaKey']&&_0x1ffc3e['shiftKey']&&!_0x1ffc3e['ctrlKey']&&!_0x1ffc3e['altKey']||_0x35db03&&_0x1ffc3e['shiftKey']&&_0x1ffc3e['key']&&0x1==_0x1ffc3e['key']['length']||'Unidentified'==_0x1ffc3e['key'])&&_0x1ffc3e['key']||(_0x1ffc3e['shiftKey']?shift:_0x107293)[_0x1ffc3e['keyCode']]||_0x1ffc3e['key']||'Unidentified';return'Esc'==_0x9bd053&&(_0x9bd053='Escape'),'Del'==_0x9bd053&&(_0x9bd053='Delete'),'Left'==_0x9bd053&&(_0x9bd053='ArrowLeft'),'Up'==_0x9bd053&&(_0x9bd053='ArrowUp'),'Right'==_0x9bd053&&(_0x9bd053='ArrowRight'),'Down'==_0x9bd053&&(_0x9bd053='ArrowDown'),_0x9bd053;}let _0x311fc1='undefined'!=typeof navigator?navigator:{'userAgent':'','vendor':'','platform':''},_0x2c8971='undefined'!=typeof document?document:{'documentElement':{'style':{}}};const _0x17a7c3=/Edge\/(\d+)/['exec'](_0x311fc1['userAgent']),ie_upto10=/MSIE \d/['test'](_0x311fc1['userAgent']),_0x4dbcc4=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/['exec'](_0x311fc1['userAgent']),_0x346e45=!!(ie_upto10||_0x4dbcc4||_0x17a7c3),_0x297f3f=!_0x346e45&&/gecko\/(\d+)/i['test'](_0x311fc1['userAgent']),_0x39aaf6=!_0x346e45&&/Chrome\/(\d+)/['exec'](_0x311fc1['userAgent']),webkit='webkitFontSmoothing'in _0x2c8971['documentElement']['style'],_0x32a13f=!_0x346e45&&/Apple Computer/['test'](_0x311fc1['vendor']),_0x374a26=_0x32a13f&&(/Mobile\/\w+/['test'](_0x311fc1['userAgent'])||_0x311fc1['maxTouchPoints']>0x2);var _0x53f368={'mac':_0x374a26||/Mac/['test'](_0x311fc1['platform']),'windows':/Win/['test'](_0x311fc1['platform']),'linux':/Linux|X11/['test'](_0x311fc1['platform']),'ie':_0x346e45,'ie_version':ie_upto10?_0x2c8971['documentMode']||0x6:_0x4dbcc4?+_0x4dbcc4[0x1]:_0x17a7c3?+_0x17a7c3[0x1]:0x0,'gecko':_0x297f3f,'gecko_version':_0x297f3f?+(/Firefox\/(\d+)/['exec'](_0x311fc1['userAgent'])||[0x0,0x0])[0x1]:0x0,'chrome':!!_0x39aaf6,'chrome_version':_0x39aaf6?+_0x39aaf6[0x1]:0x0,'ios':_0x374a26,'android':/Android\b/['test'](_0x311fc1['userAgent']),'webkit_version':webkit?+(/\bAppleWebKit\/(\d+)/['exec'](_0x311fc1['userAgent'])||[0x0,0x0])[0x1]:0x0,'safari':_0x32a13f,'safari_version':_0x32a13f?+(/\bVersion\/(\d+(\.\d+)?)/['exec'](_0x311fc1['userAgent'])||[0x0,0x0])[0x1]:0x0,'tabSize':null!=_0x2c8971['documentElement']['style']['tabSize']?'tab-size':'-moz-tab-size'};function getSelection(_0x276da2){let _0x2a0373;return _0x2a0373=0xb==_0x276da2['nodeType']?_0x276da2['getSelection']?_0x276da2:_0x276da2['ownerDocument']:_0x276da2,_0x2a0373['getSelection']();}function contains(_0x3a525f,_0x42ba37){return!!_0x42ba37&&(_0x3a525f==_0x42ba37||_0x3a525f['contains'](0x1!=_0x42ba37['nodeType']?_0x42ba37['parentNode']:_0x42ba37));}function hasSelection(_0x2498de,_0x381cb1){if(!_0x381cb1['anchorNode'])return!0x1;try{return contains(_0x2498de,_0x381cb1['anchorNode']);}catch(_0x3a1eba){return!0x1;}}function clientRectsFor(_0xe567e){return 0x3==_0xe567e['nodeType']?textRange(_0xe567e,0x0,_0xe567e['nodeValue']['length'])['getClientRects']():0x1==_0xe567e['nodeType']?_0xe567e['getClientRects']():[];}function isEquivalentPosition(_0x16febd,_0x55963c,_0x558a88,_0xdaa93b){return!!_0x558a88&&(_0x54ac07(_0x16febd,_0x55963c,_0x558a88,_0xdaa93b,-0x1)||_0x54ac07(_0x16febd,_0x55963c,_0x558a88,_0xdaa93b,0x1));}function _0x12dac3(_0x45e7d1){for(var _0x3b9e08=0x0;;_0x3b9e08++)if(!(_0x45e7d1=_0x45e7d1['previousSibling']))return _0x3b9e08;}function isBlockElement(_0x2b6d01){return 0x1==_0x2b6d01['nodeType']&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/['test'](_0x2b6d01['nodeName']);}function _0x54ac07(_0x5689c5,_0x468fd4,_0x30b0c6,_0x1802ed,_0x544aa3){for(;;){if(_0x5689c5==_0x30b0c6&&_0x468fd4==_0x1802ed)return!0x0;if(_0x468fd4==(_0x544aa3<0x0?0x0:maxOffset(_0x5689c5))){if('DIV'==_0x5689c5['nodeName'])return!0x1;let _0x5e1a3b=_0x5689c5['parentNode'];if(!_0x5e1a3b||0x1!=_0x5e1a3b['nodeType'])return!0x1;_0x468fd4=_0x12dac3(_0x5689c5)+(_0x544aa3<0x0?0x0:0x1),_0x5689c5=_0x5e1a3b;}else{if(0x1!=_0x5689c5['nodeType'])return!0x1;if(0x1==(_0x5689c5=_0x5689c5['childNodes'][_0x468fd4+(_0x544aa3<0x0?-0x1:0x0)])['nodeType']&&'false'==_0x5689c5['contentEditable'])return!0x1;_0x468fd4=_0x544aa3<0x0?maxOffset(_0x5689c5):0x0;}}}function maxOffset(_0x2b56ff){return 0x3==_0x2b56ff['nodeType']?_0x2b56ff['nodeValue']['length']:_0x2b56ff['childNodes']['length'];}function flattenRect(_0x23dcbb,_0x5f0239){let _0x38ebc5=_0x5f0239?_0x23dcbb['left']:_0x23dcbb['right'];return{'left':_0x38ebc5,'right':_0x38ebc5,'top':_0x23dcbb['top'],'bottom':_0x23dcbb['bottom']};}function windowRect(_0x2728fc){let _0xaa1948=_0x2728fc['visualViewport'];return _0xaa1948?{'left':0x0,'right':_0xaa1948['width'],'top':0x0,'bottom':_0xaa1948['height']}:{'left':0x0,'right':_0x2728fc['innerWidth'],'top':0x0,'bottom':_0x2728fc['innerHeight']};}function getScale(_0x1d72e1,_0x2b8ae7){let _0x1a6be9=_0x2b8ae7['width']/_0x1d72e1['offsetWidth'],_0x109a33=_0x2b8ae7['height']/_0x1d72e1['offsetHeight'];return(_0x1a6be9>0.995&&_0x1a6be9<1.005||!isFinite(_0x1a6be9)||Math['abs'](_0x2b8ae7['width']-_0x1d72e1['offsetWidth'])<0x1)&&(_0x1a6be9=0x1),(_0x109a33>0.995&&_0x109a33<1.005||!isFinite(_0x109a33)||Math['abs'](_0x2b8ae7['height']-_0x1d72e1['offsetHeight'])<0x1)&&(_0x109a33=0x1),{'scaleX':_0x1a6be9,'scaleY':_0x109a33};}function scrollRectIntoView(_0x3a53bf,_0x3f4f9d,_0x22b5e4,_0x4f83bb,_0x3be56c,_0x10d437,_0x53ea75,_0x2a0562){let _0x5cf300=_0x3a53bf['ownerDocument'],_0x4b1447=_0x5cf300['defaultView']||window;for(let _0x22af0a=_0x3a53bf,_0x5625=!0x1;_0x22af0a&&!_0x5625;)if(0x1==_0x22af0a['nodeType']){let _0xce076c,_0x5483e2=_0x22af0a==_0x5cf300['body'],_0x5e6a18=0x1,_0x3e7082=0x1;if(_0x5483e2)_0xce076c=windowRect(_0x4b1447);else{if(/^(fixed|sticky)$/['test'](getComputedStyle(_0x22af0a)['position'])&&(_0x5625=!0x0),_0x22af0a['scrollHeight']<=_0x22af0a['clientHeight']&&_0x22af0a['scrollWidth']<=_0x22af0a['clientWidth']){_0x22af0a=_0x22af0a['assignedSlot']||_0x22af0a['parentNode'];continue;}let _0x34acd1=_0x22af0a['getBoundingClientRect']();({scaleX:_0x5e6a18,scaleY:_0x3e7082}=getScale(_0x22af0a,_0x34acd1),_0xce076c={'left':_0x34acd1['left'],'right':_0x34acd1['left']+_0x22af0a['clientWidth']*_0x5e6a18,'top':_0x34acd1['top'],'bottom':_0x34acd1['top']+_0x22af0a['clientHeight']*_0x3e7082});}let _0x32feff=0x0,_0x4d34ac=0x0;if('nearest'==_0x3be56c)_0x3f4f9d['top']<_0xce076c['top']?(_0x4d34ac=_0x3f4f9d['top']-(_0xce076c['top']+_0x53ea75),_0x22b5e4>0x0&&_0x3f4f9d['bottom']>_0xce076c['bottom']+_0x4d34ac&&(_0x4d34ac=_0x3f4f9d['bottom']-_0xce076c['bottom']+_0x53ea75)):_0x3f4f9d['bottom']>_0xce076c['bottom']&&(_0x4d34ac=_0x3f4f9d['bottom']-_0xce076c['bottom']+_0x53ea75,_0x22b5e4<0x0&&_0x3f4f9d['top']-_0x4d34ac<_0xce076c['top']&&(_0x4d34ac=_0x3f4f9d['top']-(_0xce076c['top']+_0x53ea75)));else{let _0x43bd62=_0x3f4f9d['bottom']-_0x3f4f9d['top'],_0x540994=_0xce076c['bottom']-_0xce076c['top'];_0x4d34ac=('center'==_0x3be56c&&_0x43bd62<=_0x540994?_0x3f4f9d['top']+_0x43bd62/0x2-_0x540994/0x2:'start'==_0x3be56c||'center'==_0x3be56c&&_0x22b5e4<0x0?_0x3f4f9d['top']-_0x53ea75:_0x3f4f9d['bottom']-_0x540994+_0x53ea75)-_0xce076c['top'];}if('nearest'==_0x4f83bb)_0x3f4f9d['left']<_0xce076c['left']?(_0x32feff=_0x3f4f9d['left']-(_0xce076c['left']+_0x10d437),_0x22b5e4>0x0&&_0x3f4f9d['right']>_0xce076c['right']+_0x32feff&&(_0x32feff=_0x3f4f9d['right']-_0xce076c['right']+_0x10d437)):_0x3f4f9d['right']>_0xce076c['right']&&(_0x32feff=_0x3f4f9d['right']-_0xce076c['right']+_0x10d437,_0x22b5e4<0x0&&_0x3f4f9d['left']<_0xce076c['left']+_0x32feff&&(_0x32feff=_0x3f4f9d['left']-(_0xce076c['left']+_0x10d437)));else _0x32feff=('center'==_0x4f83bb?_0x3f4f9d['left']+(_0x3f4f9d['right']-_0x3f4f9d['left'])/0x2-(_0xce076c['right']-_0xce076c['left'])/0x2:'start'==_0x4f83bb==_0x2a0562?_0x3f4f9d['left']-_0x10d437:_0x3f4f9d['right']-(_0xce076c['right']-_0xce076c['left'])+_0x10d437)-_0xce076c['left'];if(_0x32feff||_0x4d34ac){if(_0x5483e2)_0x4b1447['scrollBy'](_0x32feff,_0x4d34ac);else{let _0x409eb2=0x0,_0x1f28a1=0x0;if(_0x4d34ac){let _0x53f543=_0x22af0a['scrollTop'];_0x22af0a['scrollTop']+=_0x4d34ac/_0x3e7082,_0x1f28a1=(_0x22af0a['scrollTop']-_0x53f543)*_0x3e7082;}if(_0x32feff){let _0x1b6f29=_0x22af0a['scrollLeft'];_0x22af0a['scrollLeft']+=_0x32feff/_0x5e6a18,_0x409eb2=(_0x22af0a['scrollLeft']-_0x1b6f29)*_0x5e6a18;}_0x3f4f9d={'left':_0x3f4f9d['left']-_0x409eb2,'top':_0x3f4f9d['top']-_0x1f28a1,'right':_0x3f4f9d['right']-_0x409eb2,'bottom':_0x3f4f9d['bottom']-_0x1f28a1},_0x409eb2&&Math['abs'](_0x409eb2-_0x32feff)<0x1&&(_0x4f83bb='nearest'),_0x1f28a1&&Math['abs'](_0x1f28a1-_0x4d34ac)<0x1&&(_0x3be56c='nearest');}}if(_0x5483e2)break;(_0x3f4f9d['top']<_0xce076c['top']||_0x3f4f9d['bottom']>_0xce076c['bottom']||_0x3f4f9d['left']<_0xce076c['left']||_0x3f4f9d['right']>_0xce076c['right'])&&(_0x3f4f9d={'left':Math['max'](_0x3f4f9d['left'],_0xce076c['left']),'right':Math['min'](_0x3f4f9d['right'],_0xce076c['right']),'top':Math['max'](_0x3f4f9d['top'],_0xce076c['top']),'bottom':Math['min'](_0x3f4f9d['bottom'],_0xce076c['bottom'])}),_0x22af0a=_0x22af0a['assignedSlot']||_0x22af0a['parentNode'];}else{if(0xb!=_0x22af0a['nodeType'])break;_0x22af0a=_0x22af0a['host'];}}function scrollableParents(_0x434cd3){let _0x1d4133,_0x20b546,_0x15eb3b=_0x434cd3['ownerDocument'];for(let _0x24d9c1=_0x434cd3['parentNode'];_0x24d9c1&&!(_0x24d9c1==_0x15eb3b['body']||_0x1d4133&&_0x20b546);)if(0x1==_0x24d9c1['nodeType'])!_0x20b546&&_0x24d9c1['scrollHeight']>_0x24d9c1['clientHeight']&&(_0x20b546=_0x24d9c1),!_0x1d4133&&_0x24d9c1['scrollWidth']>_0x24d9c1['clientWidth']&&(_0x1d4133=_0x24d9c1),_0x24d9c1=_0x24d9c1['assignedSlot']||_0x24d9c1['parentNode'];else{if(0xb!=_0x24d9c1['nodeType'])break;_0x24d9c1=_0x24d9c1['host'];}return{'x':_0x1d4133,'y':_0x20b546};}class DOMSelectionState{constructor(){this['anchorNode']=null,this['anchorOffset']=0x0,this['focusNode']=null,this['focusOffset']=0x0;}['eq'](_0xe78f51){return this['anchorNode']==_0xe78f51['anchorNode']&&this['anchorOffset']==_0xe78f51['anchorOffset']&&this['focusNode']==_0xe78f51['focusNode']&&this['focusOffset']==_0xe78f51['focusOffset'];}['setRange'](_0x4995e2){let {anchorNode:_0x5ead7f,focusNode:_0x4f7f29}=_0x4995e2;this['set'](_0x5ead7f,Math['min'](_0x4995e2['anchorOffset'],_0x5ead7f?maxOffset(_0x5ead7f):0x0),_0x4f7f29,Math['min'](_0x4995e2['focusOffset'],_0x4f7f29?maxOffset(_0x4f7f29):0x0));}['set'](_0x5e3a50,_0xbb524e,_0x38e726,_0x4b6f22){this['anchorNode']=_0x5e3a50,this['anchorOffset']=_0xbb524e,this['focusNode']=_0x38e726,this['focusOffset']=_0x4b6f22;}}let preventScrollSupported=null,scratchRange;function focusPreventScroll(_0x473826){if(_0x473826['setActive'])return _0x473826['setActive']();if(preventScrollSupported)return _0x473826['focus'](preventScrollSupported);let _0x35e3f7=[];for(let _0x3e0561=_0x473826;_0x3e0561&&(_0x35e3f7['push'](_0x3e0561,_0x3e0561['scrollTop'],_0x3e0561['scrollLeft']),_0x3e0561!=_0x3e0561['ownerDocument']);_0x3e0561=_0x3e0561['parentNode']);if(_0x473826['focus'](null==preventScrollSupported?{get 'preventScroll'(){return preventScrollSupported={'preventScroll':!0x0},!0x0;}}:void 0x0),!preventScrollSupported){preventScrollSupported=!0x1;for(let _0x4e2f9f=0x0;_0x4e2f9f<_0x35e3f7['length'];){let _0x162bf9=_0x35e3f7[_0x4e2f9f++],_0xcd0f84=_0x35e3f7[_0x4e2f9f++],_0x12cacd=_0x35e3f7[_0x4e2f9f++];_0x162bf9['scrollTop']!=_0xcd0f84&&(_0x162bf9['scrollTop']=_0xcd0f84),_0x162bf9['scrollLeft']!=_0x12cacd&&(_0x162bf9['scrollLeft']=_0x12cacd);}}}function textRange(_0x5549ae,_0x4d4805,_0x5485bf=_0x4d4805){let _0x313689=scratchRange||(scratchRange=document['createRange']());return _0x313689['setEnd'](_0x5549ae,_0x5485bf),_0x313689['setStart'](_0x5549ae,_0x4d4805),_0x313689;}function dispatchKey(_0x381faa,_0x7ce48d,_0x546f74,_0xb8d156){let _0x352759={'key':_0x7ce48d,'code':_0x7ce48d,'keyCode':_0x546f74,'which':_0x546f74,'cancelable':!0x0};_0xb8d156&&({altKey:_0x352759['altKey'],ctrlKey:_0x352759['ctrlKey'],shiftKey:_0x352759['shiftKey'],metaKey:_0x352759['metaKey']}=_0xb8d156);let _0x2c77b3=new KeyboardEvent('keydown',_0x352759);_0x2c77b3['synthetic']=!0x0,_0x381faa['dispatchEvent'](_0x2c77b3);let _0x3e4300=new KeyboardEvent('keyup',_0x352759);return _0x3e4300['synthetic']=!0x0,_0x381faa['dispatchEvent'](_0x3e4300),_0x2c77b3['defaultPrevented']||_0x3e4300['defaultPrevented'];}function getRoot(_0xbfe1d0){for(;_0xbfe1d0;){if(_0xbfe1d0&&(0x9==_0xbfe1d0['nodeType']||0xb==_0xbfe1d0['nodeType']&&_0xbfe1d0['host']))return _0xbfe1d0;_0xbfe1d0=_0xbfe1d0['assignedSlot']||_0xbfe1d0['parentNode'];}return null;}function clearAttributes(_0x2a5c2a){for(;_0x2a5c2a['attributes']['length'];)_0x2a5c2a['removeAttributeNode'](_0x2a5c2a['attributes'][0x0]);}function atElementStart(_0x25e3c6,_0x55080f){let _0x2e2982=_0x55080f['focusNode'],_0x57925e=_0x55080f['focusOffset'];if(!_0x2e2982||_0x55080f['anchorNode']!=_0x2e2982||_0x55080f['anchorOffset']!=_0x57925e)return!0x1;for(_0x57925e=Math['min'](_0x57925e,maxOffset(_0x2e2982));;)if(_0x57925e){if(0x1!=_0x2e2982['nodeType'])return!0x1;let _0x2213b7=_0x2e2982['childNodes'][_0x57925e-0x1];'false'==_0x2213b7['contentEditable']?_0x57925e--:(_0x2e2982=_0x2213b7,_0x57925e=maxOffset(_0x2e2982));}else{if(_0x2e2982==_0x25e3c6)return!0x0;_0x57925e=_0x12dac3(_0x2e2982),_0x2e2982=_0x2e2982['parentNode'];}}function isScrolledToBottom(_0x3344bc){return _0x3344bc['scrollTop']>Math['max'](0x1,_0x3344bc['scrollHeight']-_0x3344bc['clientHeight']-0x4);}function textNodeBefore(_0x18c8da,_0x19ed2d){for(let _0x269177=_0x18c8da,_0x31d351=_0x19ed2d;;){if(0x3==_0x269177['nodeType']&&_0x31d351>0x0)return{'node':_0x269177,'offset':_0x31d351};if(0x1==_0x269177['nodeType']&&_0x31d351>0x0){if('false'==_0x269177['contentEditable'])return null;_0x269177=_0x269177['childNodes'][_0x31d351-0x1],_0x31d351=maxOffset(_0x269177);}else{if(!_0x269177['parentNode']||isBlockElement(_0x269177))return null;_0x31d351=_0x12dac3(_0x269177),_0x269177=_0x269177['parentNode'];}}}function textNodeAfter(_0x5a6f39,_0x103510){for(let _0x4b6be4=_0x5a6f39,_0x1a83be=_0x103510;;){if(0x3==_0x4b6be4['nodeType']&&_0x1a83be<_0x4b6be4['nodeValue']['length'])return{'node':_0x4b6be4,'offset':_0x1a83be};if(0x1==_0x4b6be4['nodeType']&&_0x1a83be<_0x4b6be4['childNodes']['length']){if('false'==_0x4b6be4['contentEditable'])return null;_0x4b6be4=_0x4b6be4['childNodes'][_0x1a83be],_0x1a83be=0x0;}else{if(!_0x4b6be4['parentNode']||isBlockElement(_0x4b6be4))return null;_0x1a83be=_0x12dac3(_0x4b6be4)+0x1,_0x4b6be4=_0x4b6be4['parentNode'];}}}_0x53f368['safari']&&_0x53f368['safari_version']>=0x1a&&(preventScrollSupported=!0x1);class _0x4e0d35{constructor(_0x2325e6,_0x608608,_0x3b9122=!0x0){this['node']=_0x2325e6,this['offset']=_0x608608,this['precise']=_0x3b9122;}static['before'](_0x2630be,_0x20d8d8){return new _0x4e0d35(_0x2630be['parentNode'],_0x12dac3(_0x2630be),_0x20d8d8);}static['after'](_0x2d6b1d,_0x5027e8){return new _0x4e0d35(_0x2d6b1d['parentNode'],_0x12dac3(_0x2d6b1d)+0x1,_0x5027e8);}}const _0x5cbe1e=[];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'](_0x554781){let _0x461ca8=this['posAtStart'];for(let _0xd60c74 of this['children']){if(_0xd60c74==_0x554781)return _0x461ca8;_0x461ca8+=_0xd60c74['length']+_0xd60c74['breakAfter'];}throw new RangeError('Invalid\x20child\x20in\x20posBefore');}['posAfter'](_0x2fcac8){return this['posBefore'](_0x2fcac8)+_0x2fcac8['length'];}['sync'](_0x3ac04e,_0x2eaa17){if(0x2&this['flags']){let _0x1a61e1,_0x432dfc=this['dom'],_0x207cae=null;for(let _0x1a94de of this['children']){if(0x7&_0x1a94de['flags']){if(!_0x1a94de['dom']&&(_0x1a61e1=_0x207cae?_0x207cae['nextSibling']:_0x432dfc['firstChild'])){let _0x49b132=ContentView['get'](_0x1a61e1);(!_0x49b132||!_0x49b132['parent']&&_0x49b132['canReuseDOM'](_0x1a94de))&&_0x1a94de['reuseDOM'](_0x1a61e1);}_0x1a94de['sync'](_0x3ac04e,_0x2eaa17),_0x1a94de['flags']&=-0x8;}if(_0x1a61e1=_0x207cae?_0x207cae['nextSibling']:_0x432dfc['firstChild'],_0x2eaa17&&!_0x2eaa17['written']&&_0x2eaa17['node']==_0x432dfc&&_0x1a61e1!=_0x1a94de['dom']&&(_0x2eaa17['written']=!0x0),_0x1a94de['dom']['parentNode']==_0x432dfc){for(;_0x1a61e1&&_0x1a61e1!=_0x1a94de['dom'];)_0x1a61e1=_0x23fbce(_0x1a61e1);}else _0x432dfc['insertBefore'](_0x1a94de['dom'],_0x1a61e1);_0x207cae=_0x1a94de['dom'];}for(_0x1a61e1=_0x207cae?_0x207cae['nextSibling']:_0x432dfc['firstChild'],_0x1a61e1&&_0x2eaa17&&_0x2eaa17['node']==_0x432dfc&&(_0x2eaa17['written']=!0x0);_0x1a61e1;)_0x1a61e1=_0x23fbce(_0x1a61e1);}else{if(0x1&this['flags']){for(let _0x24099e of this['children'])0x7&_0x24099e['flags']&&(_0x24099e['sync'](_0x3ac04e,_0x2eaa17),_0x24099e['flags']&=-0x8);}}}['reuseDOM'](_0x2530d7){}['localPosFromDOM'](_0x3f1fe9,_0x2fe894){let _0x1a8e37;if(_0x3f1fe9==this['dom'])_0x1a8e37=this['dom']['childNodes'][_0x2fe894];else{let _0x1505f4=0x0==maxOffset(_0x3f1fe9)?0x0:0x0==_0x2fe894?-0x1:0x1;for(;;){let _0x4945bf=_0x3f1fe9['parentNode'];if(_0x4945bf==this['dom'])break;0x0==_0x1505f4&&_0x4945bf['firstChild']!=_0x4945bf['lastChild']&&(_0x1505f4=_0x3f1fe9==_0x4945bf['firstChild']?-0x1:0x1),_0x3f1fe9=_0x4945bf;}_0x1a8e37=_0x1505f4<0x0?_0x3f1fe9:_0x3f1fe9['nextSibling'];}if(_0x1a8e37==this['dom']['firstChild'])return 0x0;for(;_0x1a8e37&&!ContentView['get'](_0x1a8e37);)_0x1a8e37=_0x1a8e37['nextSibling'];if(!_0x1a8e37)return this['length'];for(let _0x4bf2da=0x0,_0x2d097f=0x0;;_0x4bf2da++){let _0x5af087=this['children'][_0x4bf2da];if(_0x5af087['dom']==_0x1a8e37)return _0x2d097f;_0x2d097f+=_0x5af087['length']+_0x5af087['breakAfter'];}}['domBoundsAround'](_0x3e44c0,_0x2ddcb9,_0x30d287=0x0){let _0xec41ee=-0x1,_0x39ee8e=-0x1,_0x391be5=-0x1,_0x115f29=-0x1;for(let _0x323fb0=0x0,_0x370c66=_0x30d287,_0x5b31b1=_0x30d287;_0x323fb0<this['children']['length'];_0x323fb0++){let _0x4795fc=this['children'][_0x323fb0],_0xbe01bc=_0x370c66+_0x4795fc['length'];if(_0x370c66<_0x3e44c0&&_0xbe01bc>_0x2ddcb9)return _0x4795fc['domBoundsAround'](_0x3e44c0,_0x2ddcb9,_0x370c66);if(_0xbe01bc>=_0x3e44c0&&-0x1==_0xec41ee&&(_0xec41ee=_0x323fb0,_0x39ee8e=_0x370c66),_0x370c66>_0x2ddcb9&&_0x4795fc['dom']['parentNode']==this['dom']){_0x391be5=_0x323fb0,_0x115f29=_0x5b31b1;break;}_0x5b31b1=_0xbe01bc,_0x370c66=_0xbe01bc+_0x4795fc['breakAfter'];}return{'from':_0x39ee8e,'to':_0x115f29<0x0?_0x30d287+this['length']:_0x115f29,'startDOM':(_0xec41ee?this['children'][_0xec41ee-0x1]['dom']['nextSibling']:null)||this['dom']['firstChild'],'endDOM':_0x391be5<this['children']['length']&&_0x391be5>=0x0?this['children'][_0x391be5]['dom']:null};}['markDirty'](_0x350bc2=!0x1){this['flags']|=0x2,this['markParentsDirty'](_0x350bc2);}['markParentsDirty'](_0x4281d0){for(let _0x10685c=this['parent'];_0x10685c;_0x10685c=_0x10685c['parent']){if(_0x4281d0&&(_0x10685c['flags']|=0x2),0x1&_0x10685c['flags'])return;_0x10685c['flags']|=0x1,_0x4281d0=!0x1;}}['setParent'](_0x4c5cd8){this['parent']!=_0x4c5cd8&&(this['parent']=_0x4c5cd8,0x7&this['flags']&&this['markParentsDirty'](!0x0));}['setDOM'](_0x379ff){this['dom']!=_0x379ff&&(this['dom']&&(this['dom']['cmView']=null),this['dom']=_0x379ff,_0x379ff['cmView']=this);}get['rootView'](){for(let _0x180151=this;;){let _0x591d7c=_0x180151['parent'];if(!_0x591d7c)return _0x180151;_0x180151=_0x591d7c;}}['replaceChildren'](_0x33254d,_0x3d9044,_0x1ef8f1=_0x5cbe1e){this['markDirty']();for(let _0x19702b=_0x33254d;_0x19702b<_0x3d9044;_0x19702b++){let _0x2a764b=this['children'][_0x19702b];_0x2a764b['parent']==this&&_0x1ef8f1['indexOf'](_0x2a764b)<0x0&&_0x2a764b['destroy']();}_0x1ef8f1['length']<0xfa?this['children']['splice'](_0x33254d,_0x3d9044-_0x33254d,..._0x1ef8f1):this['children']=[]['concat'](this['children']['slice'](0x0,_0x33254d),_0x1ef8f1,this['children']['slice'](_0x3d9044));for(let _0x55b391=0x0;_0x55b391<_0x1ef8f1['length'];_0x55b391++)_0x1ef8f1[_0x55b391]['setParent'](this);}['ignoreMutation'](_0x3982f1){return!0x1;}['ignoreEvent'](_0x159f78){return!0x1;}['childCursor'](_0x2262ab=this['length']){return new _0x5b490a(this['children'],_0x2262ab,this['children']['length']);}['childPos'](_0x216a83,_0x278a91=0x1){return this['childCursor']()['findPos'](_0x216a83,_0x278a91);}['toString'](){let _0x464460=this['constructor']['name']['replace']('View','');return _0x464460+(this['children']['length']?'('+this['children']['join']()+')':this['length']?'['+('Text'==_0x464460?this['text']:this['length'])+']':'')+(this['breakAfter']?'#':'');}static['get'](_0x5a52ab){return _0x5a52ab['cmView'];}get['isEditable'](){return!0x0;}get['isWidget'](){return!0x1;}get['isHidden'](){return!0x1;}['merge'](_0x499bc7,_0x387cf2,_0x83b2b2,_0x4da7a6,_0x596fd5,_0x3830ae){return!0x1;}['become'](_0x21511b){return!0x1;}['canReuseDOM'](_0x3475c2){return _0x3475c2['constructor']==this['constructor']&&!(0x8&(this['flags']|_0x3475c2['flags']));}['getSide'](){return 0x0;}['destroy'](){for(let _0x151fe2 of this['children'])_0x151fe2['parent']==this&&_0x151fe2['destroy']();this['parent']=null;}}function _0x23fbce(_0x508982){let _0x239f13=_0x508982['nextSibling'];return _0x508982['parentNode']['removeChild'](_0x508982),_0x239f13;}ContentView['prototype']['breakAfter']=0x0;class _0x5b490a{constructor(_0x11a8be,_0x172c7c,_0x2f634c){this['children']=_0x11a8be,this['pos']=_0x172c7c,this['i']=_0x2f634c,this['off']=0x0;}['findPos'](_0x58a9fb,_0xf85b29=0x1){for(;;){if(_0x58a9fb>this['pos']||_0x58a9fb==this['pos']&&(_0xf85b29>0x0||0x0==this['i']||this['children'][this['i']-0x1]['breakAfter']))return this['off']=_0x58a9fb-this['pos'],this;let _0x3f60e4=this['children'][--this['i']];this['pos']-=_0x3f60e4['length']+_0x3f60e4['breakAfter'];}}}function _0x4aa57f(_0x27d6bd,_0x1c910a,_0x33b321,_0x2e7014,_0x178880,_0x4bc622,_0xf9c40a,_0x3acd45,_0x3a31df){let {children:_0x291c80}=_0x27d6bd,_0x215c9b=_0x291c80['length']?_0x291c80[_0x1c910a]:null,_0x38c61b=_0x4bc622['length']?_0x4bc622[_0x4bc622['length']-0x1]:null,_0x1b0ad2=_0x38c61b?_0x38c61b['breakAfter']:_0xf9c40a;if(!(_0x1c910a==_0x2e7014&&_0x215c9b&&!_0xf9c40a&&!_0x1b0ad2&&_0x4bc622['length']<0x2&&_0x215c9b['merge'](_0x33b321,_0x178880,_0x4bc622['length']?_0x38c61b:null,0x0==_0x33b321,_0x3acd45,_0x3a31df))){if(_0x2e7014<_0x291c80['length']){let _0x396d2c=_0x291c80[_0x2e7014];_0x396d2c&&(_0x178880<_0x396d2c['length']||_0x396d2c['breakAfter']&&(null==_0x38c61b?void 0x0:_0x38c61b['breakAfter']))?(_0x1c910a==_0x2e7014&&(_0x396d2c=_0x396d2c['split'](_0x178880),_0x178880=0x0),!_0x1b0ad2&&_0x38c61b&&_0x396d2c['merge'](0x0,_0x178880,_0x38c61b,!0x0,0x0,_0x3a31df)?_0x4bc622[_0x4bc622['length']-0x1]=_0x396d2c:((_0x178880||_0x396d2c['children']['length']&&!_0x396d2c['children'][0x0]['length'])&&_0x396d2c['merge'](0x0,_0x178880,null,!0x1,0x0,_0x3a31df),_0x4bc622['push'](_0x396d2c))):(null==_0x396d2c?void 0x0:_0x396d2c['breakAfter'])&&(_0x38c61b?_0x38c61b['breakAfter']=0x1:_0xf9c40a=0x1),_0x2e7014++;}for(_0x215c9b&&(_0x215c9b['breakAfter']=_0xf9c40a,_0x33b321>0x0&&(!_0xf9c40a&&_0x4bc622['length']&&_0x215c9b['merge'](_0x33b321,_0x215c9b['length'],_0x4bc622[0x0],!0x1,_0x3acd45,0x0)?_0x215c9b['breakAfter']=_0x4bc622['shift']()['breakAfter']:(_0x33b321<_0x215c9b['length']||_0x215c9b['children']['length']&&0x0==_0x215c9b['children'][_0x215c9b['children']['length']-0x1]['length'])&&_0x215c9b['merge'](_0x33b321,_0x215c9b['length'],null,!0x1,_0x3acd45,0x0),_0x1c910a++));_0x1c910a<_0x2e7014&&_0x4bc622['length'];)if(_0x291c80[_0x2e7014-0x1]['become'](_0x4bc622[_0x4bc622['length']-0x1]))_0x2e7014--,_0x4bc622['pop'](),_0x3a31df=_0x4bc622['length']?0x0:_0x3acd45;else{if(!_0x291c80[_0x1c910a]['become'](_0x4bc622[0x0]))break;_0x1c910a++,_0x4bc622['shift'](),_0x3acd45=_0x4bc622['length']?0x0:_0x3a31df;}!_0x4bc622['length']&&_0x1c910a&&_0x2e7014<_0x291c80['length']&&!_0x291c80[_0x1c910a-0x1]['breakAfter']&&_0x291c80[_0x2e7014]['merge'](0x0,0x0,_0x291c80[_0x1c910a-0x1],!0x1,_0x3acd45,_0x3a31df)&&_0x1c910a--,(_0x1c910a<_0x2e7014||_0x4bc622['length'])&&_0x27d6bd['replaceChildren'](_0x1c910a,_0x2e7014,_0x4bc622);}}function mergeChildrenInto(_0x65fece,_0x442824,_0x394044,_0x35f132,_0x1c1b4a,_0x33d172){let _0x1ba45c=_0x65fece['childCursor'](),{i:_0x319827,off:_0x58cf4c}=_0x1ba45c['findPos'](_0x394044,0x1),{i:_0x2a5ca2,off:_0x24ab2f}=_0x1ba45c['findPos'](_0x442824,-0x1),_0x225d50=_0x442824-_0x394044;for(let _0xaab856 of _0x35f132)_0x225d50+=_0xaab856['length'];_0x65fece['length']+=_0x225d50,_0x4aa57f(_0x65fece,_0x2a5ca2,_0x24ab2f,_0x319827,_0x58cf4c,_0x35f132,0x0,_0x1c1b4a,_0x33d172);}const _0x455a22=0x100;class TextView extends ContentView{constructor(_0x160408){super(),this['text']=_0x160408;}get['length'](){return this['text']['length'];}['createDOM'](_0x519033){this['setDOM'](_0x519033||document['createTextNode'](this['text']));}['sync'](_0x1184eb,_0x4ad7e6){this['dom']||this['createDOM'](),this['dom']['nodeValue']!=this['text']&&(_0x4ad7e6&&_0x4ad7e6['node']==this['dom']&&(_0x4ad7e6['written']=!0x0),this['dom']['nodeValue']=this['text']);}['reuseDOM'](_0x26a38a){0x3==_0x26a38a['nodeType']&&this['createDOM'](_0x26a38a);}['merge'](_0xbc7426,_0x83e832,_0x2014d2){return!(0x8&this['flags']||_0x2014d2&&(!(_0x2014d2 instanceof TextView)||this['length']-(_0x83e832-_0xbc7426)+_0x2014d2['length']>_0x455a22||0x8&_0x2014d2['flags']))&&(this['text']=this['text']['slice'](0x0,_0xbc7426)+(_0x2014d2?_0x2014d2['text']:'')+this['text']['slice'](_0x83e832),this['markDirty'](),!0x0);}['split'](_0x44e297){let _0x283833=new TextView(this['text']['slice'](_0x44e297));return this['text']=this['text']['slice'](0x0,_0x44e297),this['markDirty'](),_0x283833['flags']|=0x8&this['flags'],_0x283833;}['localPosFromDOM'](_0x5e9abb,_0x1e2ee7){return _0x5e9abb==this['dom']?_0x1e2ee7:_0x1e2ee7?this['text']['length']:0x0;}['domAtPos'](_0x11b176){return new _0x4e0d35(this['dom'],_0x11b176);}['domBoundsAround'](_0x251761,_0x2fbc6,_0x510257){return{'from':_0x510257,'to':_0x510257+this['length'],'startDOM':this['dom'],'endDOM':this['dom']['nextSibling']};}['coordsAt'](_0x58cbe2,_0x5765e3){return textCoords(this['dom'],_0x58cbe2,_0x5765e3);}}class _0x4038b3 extends ContentView{constructor(_0x31a284,_0x438a0c=[],_0xb33482=0x0){super(),this['mark']=_0x31a284,this['children']=_0x438a0c,this['length']=_0xb33482;for(let _0x35730a of _0x438a0c)_0x35730a['setParent'](this);}['setAttrs'](_0x2816e2){if(clearAttributes(_0x2816e2),this['mark']['class']&&(_0x2816e2['className']=this['mark']['class']),this['mark']['attrs']){for(let _0x55f611 in this['mark']['attrs'])_0x2816e2['setAttribute'](_0x55f611,this['mark']['attrs'][_0x55f611]);}return _0x2816e2;}['canReuseDOM'](_0x4efddc){return super['canReuseDOM'](_0x4efddc)&&!(0x8&(this['flags']|_0x4efddc['flags']));}['reuseDOM'](_0xc81c6b){_0xc81c6b['nodeName']==this['mark']['tagName']['toUpperCase']()&&(this['setDOM'](_0xc81c6b),this['flags']|=0x6);}['sync'](_0x5042fb,_0x11df4c){this['dom']?0x4&this['flags']&&this['setAttrs'](this['dom']):this['setDOM'](this['setAttrs'](document['createElement'](this['mark']['tagName']))),super['sync'](_0x5042fb,_0x11df4c);}['merge'](_0x4052a7,_0x296602,_0x49d36b,_0x1e979c,_0x124053,_0x1c5b05){return(!_0x49d36b||!(!(_0x49d36b instanceof _0x4038b3&&_0x49d36b['mark']['eq'](this['mark']))||_0x4052a7&&_0x124053<=0x0||_0x296602<this['length']&&_0x1c5b05<=0x0))&&(mergeChildrenInto(this,_0x4052a7,_0x296602,_0x49d36b?_0x49d36b['children']['slice']():[],_0x124053-0x1,_0x1c5b05-0x1),this['markDirty'](),!0x0);}['split'](_0x2f605b){let _0x54e1da=[],_0x66ac6b=0x0,_0x231e0a=-0x1,_0x232b44=0x0;for(let _0x3cac96 of this['children']){let _0x1b2386=_0x66ac6b+_0x3cac96['length'];_0x1b2386>_0x2f605b&&_0x54e1da['push'](_0x66ac6b<_0x2f605b?_0x3cac96['split'](_0x2f605b-_0x66ac6b):_0x3cac96),_0x231e0a<0x0&&_0x66ac6b>=_0x2f605b&&(_0x231e0a=_0x232b44),_0x66ac6b=_0x1b2386,_0x232b44++;}let _0x485ddb=this['length']-_0x2f605b;return this['length']=_0x2f605b,_0x231e0a>-0x1&&(this['children']['length']=_0x231e0a,this['markDirty']()),new _0x4038b3(this['mark'],_0x54e1da,_0x485ddb);}['domAtPos'](_0x25396b){return inlineDOMAtPos(this,_0x25396b);}['coordsAt'](_0x3efa9b,_0x21124f){return _0x56da13(this,_0x3efa9b,_0x21124f);}}function textCoords(_0x42def4,_0x529103,_0x23eadb){let _0x3c9388=_0x42def4['nodeValue']['length'];_0x529103>_0x3c9388&&(_0x529103=_0x3c9388);let _0x3a403e=_0x529103,_0x4d835e=_0x529103,_0x1fdf7b=0x0;0x0==_0x529103&&_0x23eadb<0x0||_0x529103==_0x3c9388&&_0x23eadb>=0x0?_0x53f368['chrome']||_0x53f368['gecko']||(_0x529103?(_0x3a403e--,_0x1fdf7b=0x1):_0x4d835e<_0x3c9388&&(_0x4d835e++,_0x1fdf7b=-0x1)):_0x23eadb<0x0?_0x3a403e--:_0x4d835e<_0x3c9388&&_0x4d835e++;let _0x1dc32c=textRange(_0x42def4,_0x3a403e,_0x4d835e)['getClientRects']();if(!_0x1dc32c['length'])return null;let _0x1409c9=_0x1dc32c[(_0x1fdf7b?_0x1fdf7b<0x0:_0x23eadb>=0x0)?0x0:_0x1dc32c['length']-0x1];return _0x53f368['safari']&&!_0x1fdf7b&&0x0==_0x1409c9['width']&&(_0x1409c9=Array['prototype']['find']['call'](_0x1dc32c,_0x152ccf=>_0x152ccf['width'])||_0x1409c9),_0x1fdf7b?flattenRect(_0x1409c9,_0x1fdf7b<0x0):_0x1409c9||null;}class WidgetView extends ContentView{static['create'](_0x31b79e,_0x1d0912,_0x28842a){return new WidgetView(_0x31b79e,_0x1d0912,_0x28842a);}constructor(_0x4b940c,_0xd3ea32,_0x1583ad){super(),this['widget']=_0x4b940c,this['length']=_0xd3ea32,this['side']=_0x1583ad,this['prevWidget']=null;}['split'](_0x27026){let _0x1840ce=WidgetView['create'](this['widget'],this['length']-_0x27026,this['side']);return this['length']-=_0x27026,_0x1840ce;}['sync'](_0x220752){this['dom']&&this['widget']['updateDOM'](this['dom'],_0x220752)||(this['dom']&&this['prevWidget']&&this['prevWidget']['destroy'](this['dom']),this['prevWidget']=null,this['setDOM'](this['widget']['toDOM'](_0x220752)),this['widget']['editable']||(this['dom']['contentEditable']='false'));}['getSide'](){return this['side'];}['merge'](_0x217c3a,_0x2f3311,_0x37c8ab,_0x17e2ff,_0x45a09b,_0x35d355){return!(_0x37c8ab&&(!(_0x37c8ab instanceof WidgetView&&this['widget']['compare'](_0x37c8ab['widget']))||_0x217c3a>0x0&&_0x45a09b<=0x0||_0x2f3311<this['length']&&_0x35d355<=0x0))&&(this['length']=_0x217c3a+(_0x37c8ab?_0x37c8ab['length']:0x0)+(this['length']-_0x2f3311),!0x0);}['become'](_0x2400ab){return _0x2400ab instanceof WidgetView&&_0x2400ab['side']==this['side']&&this['widget']['constructor']==_0x2400ab['widget']['constructor']&&(this['widget']['compare'](_0x2400ab['widget'])||this['markDirty'](!0x0),this['dom']&&!this['prevWidget']&&(this['prevWidget']=this['widget']),this['widget']=_0x2400ab['widget'],this['length']=_0x2400ab['length'],!0x0);}['ignoreMutation'](){return!0x0;}['ignoreEvent'](_0x1ffba5){return this['widget']['ignoreEvent'](_0x1ffba5);}get['overrideDOMText'](){if(0x0==this['length'])return Text$1['empty'];let _0x373de5=this;for(;_0x373de5['parent'];)_0x373de5=_0x373de5['parent'];let {view:_0x2132d3}=_0x373de5,_0x2e727f=_0x2132d3&&_0x2132d3['state']['doc'],_0x3b743c=this['posAtStart'];return _0x2e727f?_0x2e727f['slice'](_0x3b743c,_0x3b743c+this['length']):Text$1['empty'];}['domAtPos'](_0x5d2024){return(this['length']?0x0==_0x5d2024:this['side']>0x0)?_0x4e0d35['before'](this['dom']):_0x4e0d35['after'](this['dom'],_0x5d2024==this['length']);}['domBoundsAround'](){return null;}['coordsAt'](_0x2b94f6,_0x290056){let _0x318d5b=this['widget']['coordsAt'](this['dom'],_0x2b94f6,_0x290056);if(_0x318d5b)return _0x318d5b;let _0x1f76cf=this['dom']['getClientRects'](),_0x405127=null;if(!_0x1f76cf['length'])return null;let _0x20329e=this['side']?this['side']<0x0:_0x2b94f6>0x0;for(let _0x464db1=_0x20329e?_0x1f76cf['length']-0x1:0x0;_0x405127=_0x1f76cf[_0x464db1],!(_0x2b94f6>0x0?0x0==_0x464db1:_0x464db1==_0x1f76cf['length']-0x1||_0x405127['top']<_0x405127['bottom']);_0x464db1+=_0x20329e?-0x1:0x1);return flattenRect(_0x405127,!_0x20329e);}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(_0x495869){super(),this['side']=_0x495869;}get['length'](){return 0x0;}['merge'](){return!0x1;}['become'](_0x1a64c8){return _0x1a64c8 instanceof WidgetBufferView&&_0x1a64c8['side']==this['side'];}['split'](){return new WidgetBufferView(this['side']);}['sync'](){if(!this['dom']){let _0x1194dc=document['createElement']('img');_0x1194dc['className']='cm-widgetBuffer',_0x1194dc['setAttribute']('aria-hidden','true'),this['setDOM'](_0x1194dc);}}['getSide'](){return this['side'];}['domAtPos'](_0x3fe241){return this['side']>0x0?_0x4e0d35['before'](this['dom']):_0x4e0d35['after'](this['dom']);}['localPosFromDOM'](){return 0x0;}['domBoundsAround'](){return null;}['coordsAt'](_0x5286a5){return this['dom']['getBoundingClientRect']();}get['overrideDOMText'](){return Text$1['empty'];}get['isHidden'](){return!0x0;}}function inlineDOMAtPos(_0x171429,_0x312916){let _0x3f5b24=_0x171429['dom'],{children:_0x13799f}=_0x171429,_0x2391cb=0x0;for(let _0x23da6f=0x0;_0x2391cb<_0x13799f['length'];_0x2391cb++){let _0x5cc562=_0x13799f[_0x2391cb],_0x1ade1b=_0x23da6f+_0x5cc562['length'];if(!(_0x1ade1b==_0x23da6f&&_0x5cc562['getSide']()<=0x0)){if(_0x312916>_0x23da6f&&_0x312916<_0x1ade1b&&_0x5cc562['dom']['parentNode']==_0x3f5b24)return _0x5cc562['domAtPos'](_0x312916-_0x23da6f);if(_0x312916<=_0x23da6f)break;_0x23da6f=_0x1ade1b;}}for(let _0x3b635a=_0x2391cb;_0x3b635a>0x0;_0x3b635a--){let _0x3087ce=_0x13799f[_0x3b635a-0x1];if(_0x3087ce['dom']['parentNode']==_0x3f5b24)return _0x3087ce['domAtPos'](_0x3087ce['length']);}for(let _0x160990=_0x2391cb;_0x160990<_0x13799f['length'];_0x160990++){let _0x18a7c2=_0x13799f[_0x160990];if(_0x18a7c2['dom']['parentNode']==_0x3f5b24)return _0x18a7c2['domAtPos'](0x0);}return new _0x4e0d35(_0x3f5b24,0x0);}function joinInlineInto(_0x4d8239,_0x2af218,_0x55a0f3){let _0x2944c3,{children:_0x2d434f}=_0x4d8239;_0x55a0f3>0x0&&_0x2af218 instanceof _0x4038b3&&_0x2d434f['length']&&(_0x2944c3=_0x2d434f[_0x2d434f['length']-0x1])instanceof _0x4038b3&&_0x2944c3['mark']['eq'](_0x2af218['mark'])?joinInlineInto(_0x2944c3,_0x2af218['children'][0x0],_0x55a0f3-0x1):(_0x2d434f['push'](_0x2af218),_0x2af218['setParent'](_0x4d8239)),_0x4d8239['length']+=_0x2af218['length'];}function _0x56da13(_0x19c0df,_0x13e6b2,_0x171b99){let _0x3cbad0=null,_0x306cb1=-0x1,_0x507be3=null,_0x1860f7=-0x1;!function _0x2c7fa5(_0xc28f4,_0x5a6eac){for(let _0x526340=0x0,_0x386bb5=0x0;_0x526340<_0xc28f4['children']['length']&&_0x386bb5<=_0x5a6eac;_0x526340++){let _0x59c545=_0xc28f4['children'][_0x526340],_0x4b180a=_0x386bb5+_0x59c545['length'];_0x4b180a>=_0x5a6eac&&(_0x59c545['children']['length']?_0x2c7fa5(_0x59c545,_0x5a6eac-_0x386bb5):(!_0x507be3||_0x507be3['isHidden']&&(_0x171b99>0x0||_0x264784(_0x507be3,_0x59c545)))&&(_0x4b180a>_0x5a6eac||_0x386bb5==_0x4b180a&&_0x59c545['getSide']()>0x0)?(_0x507be3=_0x59c545,_0x1860f7=_0x5a6eac-_0x386bb5):(_0x386bb5<_0x5a6eac||_0x386bb5==_0x4b180a&&_0x59c545['getSide']()<0x0&&!_0x59c545['isHidden'])&&(_0x3cbad0=_0x59c545,_0x306cb1=_0x5a6eac-_0x386bb5)),_0x386bb5=_0x4b180a;}}(_0x19c0df,_0x13e6b2);let _0x1ee697=(_0x171b99<0x0?_0x3cbad0:_0x507be3)||_0x3cbad0||_0x507be3;return _0x1ee697?_0x1ee697['coordsAt'](Math['max'](0x0,_0x1ee697==_0x3cbad0?_0x306cb1:_0x1860f7),_0x171b99):fallbackRect(_0x19c0df);}function fallbackRect(_0xce85fd){let _0x4595cd=_0xce85fd['dom']['lastChild'];if(!_0x4595cd)return _0xce85fd['dom']['getBoundingClientRect']();let _0x2aa5d0=clientRectsFor(_0x4595cd);return _0x2aa5d0[_0x2aa5d0['length']-0x1]||null;}function _0x264784(_0x68324e,_0x31c635){let _0x4938f9=_0x68324e['coordsAt'](0x0,0x1),_0x164af1=_0x31c635['coordsAt'](0x0,0x1);return _0x4938f9&&_0x164af1&&_0x164af1['top']<_0x4938f9['bottom'];}function combineAttrs(_0x2fa0e3,_0xac2c04){for(let _0x2d4f1a in _0x2fa0e3)'class'==_0x2d4f1a&&_0xac2c04['class']?_0xac2c04['class']+='\x20'+_0x2fa0e3['class']:'style'==_0x2d4f1a&&_0xac2c04['style']?_0xac2c04['style']+=';'+_0x2fa0e3['style']:_0xac2c04[_0x2d4f1a]=_0x2fa0e3[_0x2d4f1a];return _0xac2c04;}TextView['prototype']['children']=WidgetView['prototype']['children']=WidgetBufferView['prototype']['children']=_0x5cbe1e;const noAttrs$1=Object['create'](null);function attrsEq(_0x4e3433,_0x107b75,_0x522964){if(_0x4e3433==_0x107b75)return!0x0;_0x4e3433||(_0x4e3433=noAttrs$1),_0x107b75||(_0x107b75=noAttrs$1);let _0x2e9998=Object['keys'](_0x4e3433),_0x44111d=Object['keys'](_0x107b75);if(_0x2e9998['length']-(_0x522964&&_0x2e9998['indexOf'](_0x522964)>-0x1?0x1:0x0)!=_0x44111d['length']-(_0x522964&&_0x44111d['indexOf'](_0x522964)>-0x1?0x1:0x0))return!0x1;for(let _0x3b4518 of _0x2e9998)if(_0x3b4518!=_0x522964&&(-0x1==_0x44111d['indexOf'](_0x3b4518)||_0x4e3433[_0x3b4518]!==_0x107b75[_0x3b4518]))return!0x1;return!0x0;}function updateAttrs(_0x5553e3,_0x46d134,_0x3bdd24){let _0x5a2ac0=!0x1;if(_0x46d134){for(let _0x53c9ff in _0x46d134)_0x3bdd24&&_0x53c9ff in _0x3bdd24||(_0x5a2ac0=!0x0,'style'==_0x53c9ff?_0x5553e3['style']['cssText']='':_0x5553e3['removeAttribute'](_0x53c9ff));}if(_0x3bdd24){for(let _0x4d20cc in _0x3bdd24)_0x46d134&&_0x46d134[_0x4d20cc]==_0x3bdd24[_0x4d20cc]||(_0x5a2ac0=!0x0,'style'==_0x4d20cc?_0x5553e3['style']['cssText']=_0x3bdd24[_0x4d20cc]:_0x5553e3['setAttribute'](_0x4d20cc,_0x3bdd24[_0x4d20cc]));}return _0x5a2ac0;}function getAttrs$1(_0x370aea){let _0x2ec21a=Object['create'](null);for(let _0x12f186=0x0;_0x12f186<_0x370aea['attributes']['length'];_0x12f186++){let _0x2d4d5a=_0x370aea['attributes'][_0x12f186];_0x2ec21a[_0x2d4d5a['name']]=_0x2d4d5a['value'];}return _0x2ec21a;}class WidgetType{['eq'](_0x116fc1){return!0x1;}['updateDOM'](_0x2e40b9,_0x1959b7){return!0x1;}['compare'](_0x4d2a1f){return this==_0x4d2a1f||this['constructor']==_0x4d2a1f['constructor']&&this['eq'](_0x4d2a1f);}get['estimatedHeight'](){return-0x1;}get['lineBreaks'](){return 0x0;}['ignoreEvent'](_0x2a7049){return!0x0;}['coordsAt'](_0x273403,_0x54a5c0,_0x1442e0){return null;}get['isHidden'](){return!0x1;}get['editable'](){return!0x1;}['destroy'](_0x4f28ff){}}var _0x516d37=function(_0x103012){return _0x103012[_0x103012['Text']=0x0]='Text',_0x103012[_0x103012['WidgetBefore']=0x1]='WidgetBefore',_0x103012[_0x103012['WidgetAfter']=0x2]='WidgetAfter',_0x103012[_0x103012['WidgetRange']=0x3]='WidgetRange',_0x103012;}(_0x516d37||(_0x516d37={}));class Decoration extends _0x57c96b{constructor(_0x5c347e,_0x5e07cc,_0x5040cd,_0x5aa5cd){super(),this['startSide']=_0x5c347e,this['endSide']=_0x5e07cc,this['widget']=_0x5040cd,this['spec']=_0x5aa5cd;}get['heightRelevant'](){return!0x1;}static['mark'](_0x678ec7){return new MarkDecoration(_0x678ec7);}static['widget'](_0xb46bb4){let _0x2cf72e=Math['max'](-0x2710,Math['min'](0x2710,_0xb46bb4['side']||0x0)),_0x409791=!!_0xb46bb4['block'];return _0x2cf72e+=_0x409791&&!_0xb46bb4['inlineOrder']?_0x2cf72e>0x0?0x11e1a300:-0x17d78400:_0x2cf72e>0x0?0x5f5e100:-0x5f5e100,new PointDecoration(_0xb46bb4,_0x2cf72e,_0x2cf72e,_0x409791,_0xb46bb4['widget']||null,!0x1);}static['replace'](_0x454871){let _0x5f5bff,_0x5dfa4c,_0x5ad183=!!_0x454871['block'];if(_0x454871['isBlockGap'])_0x5f5bff=-0x1dcd6500,_0x5dfa4c=0x17d78400;else{let {start:_0x1b4288,end:_0x3bda83}=getInclusive(_0x454871,_0x5ad183);_0x5f5bff=(_0x1b4288?_0x5ad183?-0x11e1a300:-0x1:0x1dcd6500)-0x1,_0x5dfa4c=0x1+(_0x3bda83?_0x5ad183?0xbebc200:0x1:-0x23c34600);}return new PointDecoration(_0x454871,_0x5f5bff,_0x5dfa4c,_0x5ad183,_0x454871['widget']||null,!0x0);}static['line'](_0x30fb20){return new LineDecoration(_0x30fb20);}static['set'](_0x530dc9,_0x1b8337=!0x1){return RangeSet['of'](_0x530dc9,_0x1b8337);}['hasHeight'](){return!!this['widget']&&this['widget']['estimatedHeight']>-0x1;}}Decoration['none']=RangeSet['empty'];class MarkDecoration extends Decoration{constructor(_0x252347){let {start:_0x40711a,end:_0x5bca53}=getInclusive(_0x252347);super(_0x40711a?-0x1:0x1dcd6500,_0x5bca53?0x1:-0x23c34600,null,_0x252347),this['tagName']=_0x252347['tagName']||'span',this['class']=_0x252347['class']||'',this['attrs']=_0x252347['attributes']||null;}['eq'](_0x48a032){var _0x22724c,_0x2c8313;return this==_0x48a032||_0x48a032 instanceof MarkDecoration&&this['tagName']==_0x48a032['tagName']&&(this['class']||(null===(_0x22724c=this['attrs'])||void 0x0===_0x22724c?void 0x0:_0x22724c['class']))==(_0x48a032['class']||(null===(_0x2c8313=_0x48a032['attrs'])||void 0x0===_0x2c8313?void 0x0:_0x2c8313['class']))&&attrsEq(this['attrs'],_0x48a032['attrs'],'class');}['range'](_0x24f34d,_0x3ed3a0=_0x24f34d){if(_0x24f34d>=_0x3ed3a0)throw new RangeError('Mark\x20decorations\x20may\x20not\x20be\x20empty');return super['range'](_0x24f34d,_0x3ed3a0);}}MarkDecoration['prototype']['point']=!0x1;class LineDecoration extends Decoration{constructor(_0x2e3643){super(-0xbebc200,-0xbebc200,null,_0x2e3643);}['eq'](_0x4fb345){return _0x4fb345 instanceof LineDecoration&&this['spec']['class']==_0x4fb345['spec']['class']&&attrsEq(this['spec']['attributes'],_0x4fb345['spec']['attributes']);}['range'](_0x231229,_0x99cda4=_0x231229){if(_0x99cda4!=_0x231229)throw new RangeError('Line\x20decoration\x20ranges\x20must\x20be\x20zero-length');return super['range'](_0x231229,_0x99cda4);}}LineDecoration['prototype']['mapMode']=_0x1d8e34['TrackBefore'],LineDecoration['prototype']['point']=!0x0;class PointDecoration extends Decoration{constructor(_0x5027a7,_0x53fa9c,_0x269d6b,_0xccaf21,_0x140dde,_0x5e696b){super(_0x53fa9c,_0x269d6b,_0x140dde,_0x5027a7),this['block']=_0xccaf21,this['isReplace']=_0x5e696b,this['mapMode']=_0xccaf21?_0x53fa9c<=0x0?_0x1d8e34['TrackBefore']:_0x1d8e34['TrackAfter']:_0x1d8e34['TrackDel'];}get['type'](){return this['startSide']!=this['endSide']?_0x516d37['WidgetRange']:this['startSide']<=0x0?_0x516d37['WidgetBefore']:_0x516d37['WidgetAfter'];}get['heightRelevant'](){return this['block']||!!this['widget']&&(this['widget']['estimatedHeight']>=0x5||this['widget']['lineBreaks']>0x0);}['eq'](_0x5dda45){return _0x5dda45 instanceof PointDecoration&&widgetsEq(this['widget'],_0x5dda45['widget'])&&this['block']==_0x5dda45['block']&&this['startSide']==_0x5dda45['startSide']&&this['endSide']==_0x5dda45['endSide'];}['range'](_0x31877a,_0x5848c2=_0x31877a){if(this['isReplace']&&(_0x31877a>_0x5848c2||_0x31877a==_0x5848c2&&this['startSide']>0x0&&this['endSide']<=0x0))throw new RangeError('Invalid\x20range\x20for\x20replacement\x20decoration');if(!this['isReplace']&&_0x5848c2!=_0x31877a)throw new RangeError('Widget\x20decorations\x20can\x20only\x20have\x20zero-length\x20ranges');return super['range'](_0x31877a,_0x5848c2);}}function getInclusive(_0x4ba8b5,_0x4397ca=!0x1){let {inclusiveStart:_0x1976c6,inclusiveEnd:_0x2203ad}=_0x4ba8b5;return null==_0x1976c6&&(_0x1976c6=_0x4ba8b5['inclusive']),null==_0x2203ad&&(_0x2203ad=_0x4ba8b5['inclusive']),{'start':null!=_0x1976c6?_0x1976c6:_0x4397ca,'end':null!=_0x2203ad?_0x2203ad:_0x4397ca};}function widgetsEq(_0xd2cea7,_0x51655f){return _0xd2cea7==_0x51655f||!!(_0xd2cea7&&_0x51655f&&_0xd2cea7['compare'](_0x51655f));}function _0x1a71f0(_0x59fad5,_0x19fbf5,_0x55df63,_0x9f2dc0=0x0){let _0x8567eb=_0x55df63['length']-0x1;_0x8567eb>=0x0&&_0x55df63[_0x8567eb]+_0x9f2dc0>=_0x59fad5?_0x55df63[_0x8567eb]=Math['max'](_0x55df63[_0x8567eb],_0x19fbf5):_0x55df63['push'](_0x59fad5,_0x19fbf5);}PointDecoration['prototype']['point']=!0x0;class _0x15d50f extends ContentView{constructor(){super(...arguments),this['children']=[],this['length']=0x0,this['prevAttrs']=void 0x0,this['attrs']=null,this['breakAfter']=0x0;}['merge'](_0x1ca789,_0x3b3a94,_0x5c65f9,_0x521718,_0x44b29f,_0x24a8f3){if(_0x5c65f9){if(!(_0x5c65f9 instanceof _0x15d50f))return!0x1;this['dom']||_0x5c65f9['transferDOM'](this);}return _0x521718&&this['setDeco'](_0x5c65f9?_0x5c65f9['attrs']:null),mergeChildrenInto(this,_0x1ca789,_0x3b3a94,_0x5c65f9?_0x5c65f9['children']['slice']():[],_0x44b29f,_0x24a8f3),!0x0;}['split'](_0x77000b){let _0x514c90=new _0x15d50f();if(_0x514c90['breakAfter']=this['breakAfter'],0x0==this['length'])return _0x514c90;let {i:_0x2ce13b,off:_0x3905fe}=this['childPos'](_0x77000b);_0x3905fe&&(_0x514c90['append'](this['children'][_0x2ce13b]['split'](_0x3905fe),0x0),this['children'][_0x2ce13b]['merge'](_0x3905fe,this['children'][_0x2ce13b]['length'],null,!0x1,0x0,0x0),_0x2ce13b++);for(let _0x2d16c5=_0x2ce13b;_0x2d16c5<this['children']['length'];_0x2d16c5++)_0x514c90['append'](this['children'][_0x2d16c5],0x0);for(;_0x2ce13b>0x0&&0x0==this['children'][_0x2ce13b-0x1]['length'];)this['children'][--_0x2ce13b]['destroy']();return this['children']['length']=_0x2ce13b,this['markDirty'](),this['length']=_0x77000b,_0x514c90;}['transferDOM'](_0x352ffc){this['dom']&&(this['markDirty'](),_0x352ffc['setDOM'](this['dom']),_0x352ffc['prevAttrs']=void 0x0===this['prevAttrs']?this['attrs']:this['prevAttrs'],this['prevAttrs']=void 0x0,this['dom']=null);}['setDeco'](_0x1a5791){attrsEq(this['attrs'],_0x1a5791)||(this['dom']&&(this['prevAttrs']=this['attrs'],this['markDirty']()),this['attrs']=_0x1a5791);}['append'](_0x29e26e,_0x538763){joinInlineInto(this,_0x29e26e,_0x538763);}['addLineDeco'](_0x17eaf1){let _0x27301c=_0x17eaf1['spec']['attributes'],_0x339461=_0x17eaf1['spec']['class'];_0x27301c&&(this['attrs']=combineAttrs(_0x27301c,this['attrs']||{})),_0x339461&&(this['attrs']=combineAttrs({'class':_0x339461},this['attrs']||{}));}['domAtPos'](_0x1de74a){return inlineDOMAtPos(this,_0x1de74a);}['reuseDOM'](_0x4a15be){'DIV'==_0x4a15be['nodeName']&&(this['setDOM'](_0x4a15be),this['flags']|=0x6);}['sync'](_0x4ae6b5,_0x23c2ed){var _0x1d6709;this['dom']?0x4&this['flags']&&(clearAttributes(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']&&(updateAttrs(this['dom'],this['prevAttrs'],this['attrs']),this['dom']['classList']['add']('cm-line'),this['prevAttrs']=void 0x0),super['sync'](_0x4ae6b5,_0x23c2ed);let _0x23cf4a=this['dom']['lastChild'];for(;_0x23cf4a&&ContentView['get'](_0x23cf4a)instanceof _0x4038b3;)_0x23cf4a=_0x23cf4a['lastChild'];if(!(_0x23cf4a&&this['length']&&('BR'==_0x23cf4a['nodeName']||0x0!=(null===(_0x1d6709=ContentView['get'](_0x23cf4a))||void 0x0===_0x1d6709?void 0x0:_0x1d6709['isEditable'])||_0x53f368['ios']&&this['children']['some'](_0x2da69d=>_0x2da69d instanceof TextView)))){let _0x3cea81=document['createElement']('BR');_0x3cea81['cmIgnore']=!0x0,this['dom']['appendChild'](_0x3cea81);}}['measureTextSize'](){if(0x0==this['children']['length']||this['length']>0x14)return null;let _0x17745d,_0x1994cb=0x0;for(let _0xe735cb of this['children']){if(!(_0xe735cb instanceof TextView)||/[^ -~]/['test'](_0xe735cb['text']))return null;let _0x4ede81=clientRectsFor(_0xe735cb['dom']);if(0x1!=_0x4ede81['length'])return null;_0x1994cb+=_0x4ede81[0x0]['width'],_0x17745d=_0x4ede81[0x0]['height'];}return _0x1994cb?{'lineHeight':this['dom']['getBoundingClientRect']()['height'],'charWidth':_0x1994cb/this['length'],'textHeight':_0x17745d}:null;}['coordsAt'](_0x181ab6,_0x38b432){let _0x11d21e=_0x56da13(this,_0x181ab6,_0x38b432);if(!this['children']['length']&&_0x11d21e&&this['parent']){let {heightOracle:_0x10f3ab}=this['parent']['view']['viewState'],_0x1a6de2=_0x11d21e['bottom']-_0x11d21e['top'];if(Math['abs'](_0x1a6de2-_0x10f3ab['lineHeight'])<0x2&&_0x10f3ab['textHeight']<_0x1a6de2){let _0x455d1e=(_0x1a6de2-_0x10f3ab['textHeight'])/0x2;return{'top':_0x11d21e['top']+_0x455d1e,'bottom':_0x11d21e['bottom']-_0x455d1e,'left':_0x11d21e['left'],'right':_0x11d21e['left']};}}return _0x11d21e;}['become'](_0x5e091f){return _0x5e091f instanceof _0x15d50f&&0x0==this['children']['length']&&0x0==_0x5e091f['children']['length']&&attrsEq(this['attrs'],_0x5e091f['attrs'])&&this['breakAfter']==_0x5e091f['breakAfter'];}['covers'](){return!0x0;}static['find'](_0xd0005a,_0x44bb51){for(let _0x45d152=0x0,_0x48ce2b=0x0;_0x45d152<_0xd0005a['children']['length'];_0x45d152++){let _0x5943cd=_0xd0005a['children'][_0x45d152],_0x2a6fd3=_0x48ce2b+_0x5943cd['length'];if(_0x2a6fd3>=_0x44bb51){if(_0x5943cd instanceof _0x15d50f)return _0x5943cd;if(_0x2a6fd3>_0x44bb51)break;}_0x48ce2b=_0x2a6fd3+_0x5943cd['breakAfter'];}return null;}}class BlockWidgetView extends ContentView{constructor(_0x1116cc,_0x4adc6d,_0x2dc796){super(),this['widget']=_0x1116cc,this['length']=_0x4adc6d,this['deco']=_0x2dc796,this['breakAfter']=0x0,this['prevWidget']=null;}['merge'](_0x56881d,_0x26dc08,_0x224070,_0x168965,_0x3c6b71,_0x29ff04){return!(_0x224070&&(!(_0x224070 instanceof BlockWidgetView&&this['widget']['compare'](_0x224070['widget']))||_0x56881d>0x0&&_0x3c6b71<=0x0||_0x26dc08<this['length']&&_0x29ff04<=0x0))&&(this['length']=_0x56881d+(_0x224070?_0x224070['length']:0x0)+(this['length']-_0x26dc08),!0x0);}['domAtPos'](_0x2a0a24){return 0x0==_0x2a0a24?_0x4e0d35['before'](this['dom']):_0x4e0d35['after'](this['dom'],_0x2a0a24==this['length']);}['split'](_0x3d30fd){let _0x1b3aaf=this['length']-_0x3d30fd;this['length']=_0x3d30fd;let _0x1081c1=new BlockWidgetView(this['widget'],_0x1b3aaf,this['deco']);return _0x1081c1['breakAfter']=this['breakAfter'],_0x1081c1;}get['children'](){return _0x5cbe1e;}['sync'](_0x290ca8){this['dom']&&this['widget']['updateDOM'](this['dom'],_0x290ca8)||(this['dom']&&this['prevWidget']&&this['prevWidget']['destroy'](this['dom']),this['prevWidget']=null,this['setDOM'](this['widget']['toDOM'](_0x290ca8)),this['widget']['editable']||(this['dom']['contentEditable']='false'));}get['overrideDOMText'](){return this['parent']?this['parent']['view']['state']['doc']['slice'](this['posAtStart'],this['posAtEnd']):Text$1['empty'];}['domBoundsAround'](){return null;}['become'](_0x77dd9e){return _0x77dd9e instanceof BlockWidgetView&&_0x77dd9e['widget']['constructor']==this['widget']['constructor']&&(_0x77dd9e['widget']['compare'](this['widget'])||this['markDirty'](!0x0),this['dom']&&!this['prevWidget']&&(this['prevWidget']=this['widget']),this['widget']=_0x77dd9e['widget'],this['length']=_0x77dd9e['length'],this['deco']=_0x77dd9e['deco'],this['breakAfter']=_0x77dd9e['breakAfter'],!0x0);}['ignoreMutation'](){return!0x0;}['ignoreEvent'](_0x2a4815){return this['widget']['ignoreEvent'](_0x2a4815);}get['isEditable'](){return!0x1;}get['isWidget'](){return!0x0;}['coordsAt'](_0x1610b2,_0x3e9791){let _0x543fb3=this['widget']['coordsAt'](this['dom'],_0x1610b2,_0x3e9791);return _0x543fb3||(this['widget']instanceof BlockGapWidget?null:flattenRect(this['dom']['getBoundingClientRect'](),this['length']?0x0==_0x1610b2:_0x3e9791<=0x0));}['destroy'](){super['destroy'](),this['dom']&&this['widget']['destroy'](this['dom']);}['covers'](_0x3bf7e7){let {startSide:_0x13853f,endSide:_0x45b978}=this['deco'];return _0x13853f!=_0x45b978&&(_0x3bf7e7<0x0?_0x13853f<0x0:_0x45b978>0x0);}}class BlockGapWidget extends WidgetType{constructor(_0x3c9cdb){super(),this['height']=_0x3c9cdb;}['toDOM'](){let _0x4da339=document['createElement']('div');return _0x4da339['className']='cm-gap',this['updateDOM'](_0x4da339),_0x4da339;}['eq'](_0x392368){return _0x392368['height']==this['height'];}['updateDOM'](_0x660e14){return _0x660e14['style']['height']=this['height']+'px',!0x0;}get['editable'](){return!0x0;}get['estimatedHeight'](){return this['height'];}['ignoreEvent'](){return!0x1;}}class ContentBuilder{constructor(_0xf3cb3d,_0x11fb43,_0x2d1d72,_0x5908e1){this['doc']=_0xf3cb3d,this['pos']=_0x11fb43,this['end']=_0x2d1d72,this['disallowBlockEffectsFor']=_0x5908e1,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']=_0xf3cb3d['iter'](),this['skip']=_0x11fb43;}['posCovered'](){if(0x0==this['content']['length'])return!this['breakAtStart']&&this['doc']['lineAt'](this['pos'])['from']!=this['pos'];let _0x11e309=this['content'][this['content']['length']-0x1];return!(_0x11e309['breakAfter']||_0x11e309 instanceof BlockWidgetView&&_0x11e309['deco']['endSide']<0x0);}['getLine'](){return this['curLine']||(this['content']['push'](this['curLine']=new _0x15d50f()),this['atCursorPos']=!0x0),this['curLine'];}['flushBuffer'](_0x18731b=this['bufferMarks']){this['pendingBuffer']&&(this['curLine']['append'](_0x4ba6dd(new WidgetBufferView(-0x1),_0x18731b),_0x18731b['length']),this['pendingBuffer']=0x0);}['addBlockWidget'](_0x15014e){this['flushBuffer'](),this['curLine']=null,this['content']['push'](_0x15014e);}['finish'](_0x268608){this['pendingBuffer']&&_0x268608<=this['bufferMarks']['length']?this['flushBuffer']():this['pendingBuffer']=0x0,this['posCovered']()||_0x268608&&this['content']['length']&&this['content'][this['content']['length']-0x1]instanceof BlockWidgetView||this['getLine']();}['buildText'](_0x199db4,_0x23626e,_0x79a81a){for(;_0x199db4>0x0;){if(this['textOff']==this['text']['length']){let {value:_0x32fcc6,lineBreak:_0x314082,done:_0x3af43e}=this['cursor']['next'](this['skip']);if(this['skip']=0x0,_0x3af43e)throw new Error('Ran\x20out\x20of\x20text\x20content\x20when\x20drawing\x20inline\x20views');if(_0x314082){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,_0x199db4--;continue;}this['text']=_0x32fcc6,this['textOff']=0x0;}let _0x280871=Math['min'](this['text']['length']-this['textOff'],_0x199db4),_0x39721c=Math['min'](_0x280871,0x200);this['flushBuffer'](_0x23626e['slice'](_0x23626e['length']-_0x79a81a)),this['getLine']()['append'](_0x4ba6dd(new TextView(this['text']['slice'](this['textOff'],this['textOff']+_0x39721c)),_0x23626e),_0x79a81a),this['atCursorPos']=!0x0,this['textOff']+=_0x39721c,_0x199db4-=_0x39721c,_0x79a81a=_0x280871<=_0x39721c?0x0:_0x23626e['length'];}}['span'](_0x41fc80,_0x41a382,_0x3e415a,_0x5864b5){this['buildText'](_0x41a382-_0x41fc80,_0x3e415a,_0x5864b5),this['pos']=_0x41a382,this['openStart']<0x0&&(this['openStart']=_0x5864b5);}['point'](_0x59392b,_0x28fb80,_0x214f5b,_0x581c64,_0x24ce44,_0x1292a4){if(this['disallowBlockEffectsFor'][_0x1292a4]&&_0x214f5b instanceof PointDecoration){if(_0x214f5b['block'])throw new RangeError('Block\x20decorations\x20may\x20not\x20be\x20specified\x20via\x20plugins');if(_0x28fb80>this['doc']['lineAt'](this['pos'])['to'])throw new RangeError('Decorations\x20that\x20replace\x20line\x20breaks\x20may\x20not\x20be\x20specified\x20via\x20plugins');}let _0x2972b3=_0x28fb80-_0x59392b;if(_0x214f5b instanceof PointDecoration){if(_0x214f5b['block'])_0x214f5b['startSide']>0x0&&!this['posCovered']()&&this['getLine'](),this['addBlockWidget'](new BlockWidgetView(_0x214f5b['widget']||NullWidget['block'],_0x2972b3,_0x214f5b));else{let _0x47697a=WidgetView['create'](_0x214f5b['widget']||NullWidget['inline'],_0x2972b3,_0x2972b3?0x0:_0x214f5b['startSide']),_0x32b164=this['atCursorPos']&&!_0x47697a['isEditable']&&_0x24ce44<=_0x581c64['length']&&(_0x59392b<_0x28fb80||_0x214f5b['startSide']>0x0),_0x18fd2e=!_0x47697a['isEditable']&&(_0x59392b<_0x28fb80||_0x24ce44>_0x581c64['length']||_0x214f5b['startSide']<=0x0),_0x54023d=this['getLine']();0x2!=this['pendingBuffer']||_0x32b164||_0x47697a['isEditable']||(this['pendingBuffer']=0x0),this['flushBuffer'](_0x581c64),_0x32b164&&(_0x54023d['append'](_0x4ba6dd(new WidgetBufferView(0x1),_0x581c64),_0x24ce44),_0x24ce44=_0x581c64['length']+Math['max'](0x0,_0x24ce44-_0x581c64['length'])),_0x54023d['append'](_0x4ba6dd(_0x47697a,_0x581c64),_0x24ce44),this['atCursorPos']=_0x18fd2e,this['pendingBuffer']=_0x18fd2e?_0x59392b<_0x28fb80||_0x24ce44>_0x581c64['length']?0x1:0x2:0x0,this['pendingBuffer']&&(this['bufferMarks']=_0x581c64['slice']());}}else this['doc']['lineAt'](this['pos'])['from']==this['pos']&&this['getLine']()['addLineDeco'](_0x214f5b);_0x2972b3&&(this['textOff']+_0x2972b3<=this['text']['length']?this['textOff']+=_0x2972b3:(this['skip']+=_0x2972b3-(this['text']['length']-this['textOff']),this['text']='',this['textOff']=0x0),this['pos']=_0x28fb80),this['openStart']<0x0&&(this['openStart']=_0x24ce44);}static['build'](_0x486a28,_0x4c157a,_0x148fa0,_0x21dada,_0x5abb67){let _0x3a7d45=new ContentBuilder(_0x486a28,_0x4c157a,_0x148fa0,_0x5abb67);return _0x3a7d45['openEnd']=RangeSet['spans'](_0x21dada,_0x4c157a,_0x148fa0,_0x3a7d45),_0x3a7d45['openStart']<0x0&&(_0x3a7d45['openStart']=_0x3a7d45['openEnd']),_0x3a7d45['finish'](_0x3a7d45['openEnd']),_0x3a7d45;}}function _0x4ba6dd(_0x15e81c,_0xb5c73d){for(let _0x2192d1 of _0xb5c73d)_0x15e81c=new _0x4038b3(_0x2192d1,[_0x15e81c],_0x15e81c['length']);return _0x15e81c;}class NullWidget extends WidgetType{constructor(_0xe5d67d){super(),this['tag']=_0xe5d67d;}['eq'](_0x3425b5){return _0x3425b5['tag']==this['tag'];}['toDOM'](){return document['createElement'](this['tag']);}['updateDOM'](_0x117c49){return _0x117c49['nodeName']['toLowerCase']()==this['tag'];}get['isHidden'](){return!0x0;}}NullWidget['inline']=new NullWidget('span'),NullWidget['block']=new NullWidget('div');var Direction=function(_0x2104b3){return _0x2104b3[_0x2104b3['LTR']=0x0]='LTR',_0x2104b3[_0x2104b3['RTL']=0x1]='RTL',_0x2104b3;}(Direction||(Direction={}));const _0x3a50dc=Direction['LTR'],_0x2efb0a=Direction['RTL'];function _0x3c51ea(_0x491f7e){let _0x1ebdc5=[];for(let _0x228de5=0x0;_0x228de5<_0x491f7e['length'];_0x228de5++)_0x1ebdc5['push'](0x1<<+_0x491f7e[_0x228de5]);return _0x1ebdc5;}const _0x1b6ab5=_0x3c51ea('88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008'),_0x35b0fc=_0x3c51ea('4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333'),Brackets=Object['create'](null),BracketStack=[];for(let _0x318e49 of['()','[]','{}']){let _0x1e2844=_0x318e49['charCodeAt'](0x0),_0x566cdb=_0x318e49['charCodeAt'](0x1);Brackets[_0x1e2844]=_0x566cdb,Brackets[_0x566cdb]=-_0x1e2844;}function _0x126e5c(_0x583886){return _0x583886<=0xf7?_0x1b6ab5[_0x583886]:0x590<=_0x583886&&_0x583886<=0x5f4?0x2:0x600<=_0x583886&&_0x583886<=0x6f9?_0x35b0fc[_0x583886-0x600]:0x6ee<=_0x583886&&_0x583886<=0x8ac?0x4:0x2000<=_0x583886&&_0x583886<=0x200c?0x100:0xfb50<=_0x583886&&_0x583886<=0xfdff?0x4:0x1;}const _0x2b56dd=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/;class _0x3705ae{get['dir'](){return this['level']%0x2?_0x2efb0a:_0x3a50dc;}constructor(_0x5034fb,_0x1d22a1,_0x48a216){this['from']=_0x5034fb,this['to']=_0x1d22a1,this['level']=_0x48a216;}['side'](_0x258473,_0x2af466){return this['dir']==_0x2af466==_0x258473?this['to']:this['from'];}['forward'](_0x3f3be6,_0x26a770){return _0x3f3be6==(this['dir']==_0x26a770);}static['find'](_0x52d5f4,_0x12374a,_0x2a14dc,_0x4e1558){let _0x191aff=-0x1;for(let _0x520427=0x0;_0x520427<_0x52d5f4['length'];_0x520427++){let _0x1750c1=_0x52d5f4[_0x520427];if(_0x1750c1['from']<=_0x12374a&&_0x1750c1['to']>=_0x12374a){if(_0x1750c1['level']==_0x2a14dc)return _0x520427;(_0x191aff<0x0||(0x0!=_0x4e1558?_0x4e1558<0x0?_0x1750c1['from']<_0x12374a:_0x1750c1['to']>_0x12374a:_0x52d5f4[_0x191aff]['level']>_0x1750c1['level']))&&(_0x191aff=_0x520427);}}if(_0x191aff<0x0)throw new RangeError('Index\x20out\x20of\x20range');return _0x191aff;}}function isolatesEq(_0x1d89a2,_0x41dee1){if(_0x1d89a2['length']!=_0x41dee1['length'])return!0x1;for(let _0x311927=0x0;_0x311927<_0x1d89a2['length'];_0x311927++){let _0x13dfc6=_0x1d89a2[_0x311927],_0x4e9090=_0x41dee1[_0x311927];if(_0x13dfc6['from']!=_0x4e9090['from']||_0x13dfc6['to']!=_0x4e9090['to']||_0x13dfc6['direction']!=_0x4e9090['direction']||!isolatesEq(_0x13dfc6['inner'],_0x4e9090['inner']))return!0x1;}return!0x0;}const types=[];function computeCharTypes(_0x57f541,_0x2c5634,_0x42ede2,_0x206266,_0x23796a){for(let _0x278db6=0x0;_0x278db6<=_0x206266['length'];_0x278db6++){let _0x53035c=_0x278db6?_0x206266[_0x278db6-0x1]['to']:_0x2c5634,_0x1ffefd=_0x278db6<_0x206266['length']?_0x206266[_0x278db6]['from']:_0x42ede2,_0x1336ac=_0x278db6?0x100:_0x23796a;for(let _0x200d88=_0x53035c,_0x25f6dc=_0x1336ac,_0x19e1df=_0x1336ac;_0x200d88<_0x1ffefd;_0x200d88++){let _0x811225=_0x126e5c(_0x57f541['charCodeAt'](_0x200d88));0x200==_0x811225?_0x811225=_0x25f6dc:0x8==_0x811225&&0x4==_0x19e1df&&(_0x811225=0x10),types[_0x200d88]=0x4==_0x811225?0x2:_0x811225,0x7&_0x811225&&(_0x19e1df=_0x811225),_0x25f6dc=_0x811225;}for(let _0x2ff271=_0x53035c,_0x631136=_0x1336ac,_0xb4bc9c=_0x1336ac;_0x2ff271<_0x1ffefd;_0x2ff271++){let _0x41dce8=types[_0x2ff271];if(0x80==_0x41dce8)_0x2ff271<_0x1ffefd-0x1&&_0x631136==types[_0x2ff271+0x1]&&0x18&_0x631136?_0x41dce8=types[_0x2ff271]=_0x631136:types[_0x2ff271]=0x100;else{if(0x40==_0x41dce8){let _0x546f00=_0x2ff271+0x1;for(;_0x546f00<_0x1ffefd&&0x40==types[_0x546f00];)_0x546f00++;let _0x549a73=_0x2ff271&&0x8==_0x631136||_0x546f00<_0x42ede2&&0x8==types[_0x546f00]?0x1==_0xb4bc9c?0x1:0x8:0x100;for(let _0x263546=_0x2ff271;_0x263546<_0x546f00;_0x263546++)types[_0x263546]=_0x549a73;_0x2ff271=_0x546f00-0x1;}else 0x8==_0x41dce8&&0x1==_0xb4bc9c&&(types[_0x2ff271]=0x1);}_0x631136=_0x41dce8,0x7&_0x41dce8&&(_0xb4bc9c=_0x41dce8);}}}function processBracketPairs(_0xafb461,_0x3cb67d,_0x6eb5a8,_0x12bfb2,_0x62ce6c){let _0x2b56a5=0x1==_0x62ce6c?0x2:0x1;for(let _0x270d03=0x0,_0x34ec00=0x0,_0x3747be=0x0;_0x270d03<=_0x12bfb2['length'];_0x270d03++){let _0x5d361c=_0x270d03?_0x12bfb2[_0x270d03-0x1]['to']:_0x3cb67d,_0x558000=_0x270d03<_0x12bfb2['length']?_0x12bfb2[_0x270d03]['from']:_0x6eb5a8;for(let _0x2bedc3,_0x1fca21,_0x3018b3,_0x5c918c=_0x5d361c;_0x5c918c<_0x558000;_0x5c918c++)if(_0x1fca21=Brackets[_0x2bedc3=_0xafb461['charCodeAt'](_0x5c918c)]){if(_0x1fca21<0x0){for(let _0x43910a=_0x34ec00-0x3;_0x43910a>=0x0;_0x43910a-=0x3)if(BracketStack[_0x43910a+0x1]==-_0x1fca21){let _0x4e658b=BracketStack[_0x43910a+0x2],_0x27ecec=0x2&_0x4e658b?_0x62ce6c:0x4&_0x4e658b?0x1&_0x4e658b?_0x2b56a5:_0x62ce6c:0x0;_0x27ecec&&(types[_0x5c918c]=types[BracketStack[_0x43910a]]=_0x27ecec),_0x34ec00=_0x43910a;break;}}else{if(0xbd==BracketStack['length'])break;BracketStack[_0x34ec00++]=_0x5c918c,BracketStack[_0x34ec00++]=_0x2bedc3,BracketStack[_0x34ec00++]=_0x3747be;}}else{if(0x2==(_0x3018b3=types[_0x5c918c])||0x1==_0x3018b3){let _0x47d94f=_0x3018b3==_0x62ce6c;_0x3747be=_0x47d94f?0x0:0x1;for(let _0x2aa082=_0x34ec00-0x3;_0x2aa082>=0x0;_0x2aa082-=0x3){let _0x5f27cd=BracketStack[_0x2aa082+0x2];if(0x2&_0x5f27cd)break;if(_0x47d94f)BracketStack[_0x2aa082+0x2]|=0x2;else{if(0x4&_0x5f27cd)break;BracketStack[_0x2aa082+0x2]|=0x4;}}}}}}function processNeutrals(_0x1ce813,_0x27bb90,_0x2e868e,_0x57a030){for(let _0x5ee3f9=0x0,_0x952e6f=_0x57a030;_0x5ee3f9<=_0x2e868e['length'];_0x5ee3f9++){let _0x47813d=_0x5ee3f9?_0x2e868e[_0x5ee3f9-0x1]['to']:_0x1ce813,_0x4eb421=_0x5ee3f9<_0x2e868e['length']?_0x2e868e[_0x5ee3f9]['from']:_0x27bb90;for(let _0x1abb87=_0x47813d;_0x1abb87<_0x4eb421;){let _0x48168b=types[_0x1abb87];if(0x100==_0x48168b){let _0x4e0cbe=_0x1abb87+0x1;for(;;)if(_0x4e0cbe==_0x4eb421){if(_0x5ee3f9==_0x2e868e['length'])break;_0x4e0cbe=_0x2e868e[_0x5ee3f9++]['to'],_0x4eb421=_0x5ee3f9<_0x2e868e['length']?_0x2e868e[_0x5ee3f9]['from']:_0x27bb90;}else{if(0x100!=types[_0x4e0cbe])break;_0x4e0cbe++;}let _0x140027=0x1==_0x952e6f,_0x564271=_0x140027==(0x1==(_0x4e0cbe<_0x27bb90?types[_0x4e0cbe]:_0x57a030))?_0x140027?0x1:0x2:_0x57a030;for(let _0x3d42c0=_0x4e0cbe,_0x320d2d=_0x5ee3f9,_0x147e2a=_0x320d2d?_0x2e868e[_0x320d2d-0x1]['to']:_0x1ce813;_0x3d42c0>_0x1abb87;)_0x3d42c0==_0x147e2a&&(_0x3d42c0=_0x2e868e[--_0x320d2d]['from'],_0x147e2a=_0x320d2d?_0x2e868e[_0x320d2d-0x1]['to']:_0x1ce813),types[--_0x3d42c0]=_0x564271;_0x1abb87=_0x4e0cbe;}else _0x952e6f=_0x48168b,_0x1abb87++;}}}function emitSpans(_0x3ed844,_0x3e2eeb,_0x69a0af,_0xce432c,_0x145a0a,_0x15b0a5,_0x447efa){let _0x20f394=_0xce432c%0x2?0x2:0x1;if(_0xce432c%0x2==_0x145a0a%0x2)for(let _0x3e644d=_0x3e2eeb,_0x495143=0x0;_0x3e644d<_0x69a0af;){let _0x532a1c=!0x0,_0x71cec5=!0x1;if(_0x495143==_0x15b0a5['length']||_0x3e644d<_0x15b0a5[_0x495143]['from']){let _0x24855d=types[_0x3e644d];_0x24855d!=_0x20f394&&(_0x532a1c=!0x1,_0x71cec5=0x10==_0x24855d);}let _0x5135d4=_0x532a1c||0x1!=_0x20f394?null:[],_0x3e50a5=_0x532a1c?_0xce432c:_0xce432c+0x1,_0x4df732=_0x3e644d;t:for(;;)if(_0x495143<_0x15b0a5['length']&&_0x4df732==_0x15b0a5[_0x495143]['from']){if(_0x71cec5)break t;let _0x1b4981=_0x15b0a5[_0x495143];if(!_0x532a1c)for(let _0x41ddc1=_0x1b4981['to'],_0x4dcedf=_0x495143+0x1;;){if(_0x41ddc1==_0x69a0af)break t;if(!(_0x4dcedf<_0x15b0a5['length']&&_0x15b0a5[_0x4dcedf]['from']==_0x41ddc1)){if(types[_0x41ddc1]==_0x20f394)break t;break;}_0x41ddc1=_0x15b0a5[_0x4dcedf++]['to'];}if(_0x495143++,_0x5135d4)_0x5135d4['push'](_0x1b4981);else _0x1b4981['from']>_0x3e644d&&_0x447efa['push'](new _0x3705ae(_0x3e644d,_0x1b4981['from'],_0x3e50a5)),computeSectionOrder(_0x3ed844,_0x1b4981['direction']==_0x3a50dc!=!(_0x3e50a5%0x2)?_0xce432c+0x1:_0xce432c,_0x145a0a,_0x1b4981['inner'],_0x1b4981['from'],_0x1b4981['to'],_0x447efa),_0x3e644d=_0x1b4981['to'];_0x4df732=_0x1b4981['to'];}else{if(_0x4df732==_0x69a0af||(_0x532a1c?types[_0x4df732]!=_0x20f394:types[_0x4df732]==_0x20f394))break;_0x4df732++;}_0x5135d4?emitSpans(_0x3ed844,_0x3e644d,_0x4df732,_0xce432c+0x1,_0x145a0a,_0x5135d4,_0x447efa):_0x3e644d<_0x4df732&&_0x447efa['push'](new _0x3705ae(_0x3e644d,_0x4df732,_0x3e50a5)),_0x3e644d=_0x4df732;}else for(let _0x361faa=_0x69a0af,_0x2e2578=_0x15b0a5['length'];_0x361faa>_0x3e2eeb;){let _0x55e36e=!0x0,_0x20c0fb=!0x1;if(!_0x2e2578||_0x361faa>_0x15b0a5[_0x2e2578-0x1]['to']){let _0x35e761=types[_0x361faa-0x1];_0x35e761!=_0x20f394&&(_0x55e36e=!0x1,_0x20c0fb=0x10==_0x35e761);}let _0x2bdb8b=_0x55e36e||0x1!=_0x20f394?null:[],_0x2f2b42=_0x55e36e?_0xce432c:_0xce432c+0x1,_0x3519c9=_0x361faa;t:for(;;)if(_0x2e2578&&_0x3519c9==_0x15b0a5[_0x2e2578-0x1]['to']){if(_0x20c0fb)break t;let _0x2f6ceb=_0x15b0a5[--_0x2e2578];if(!_0x55e36e)for(let _0x179c7c=_0x2f6ceb['from'],_0x4aa47c=_0x2e2578;;){if(_0x179c7c==_0x3e2eeb)break t;if(!_0x4aa47c||_0x15b0a5[_0x4aa47c-0x1]['to']!=_0x179c7c){if(types[_0x179c7c-0x1]==_0x20f394)break t;break;}_0x179c7c=_0x15b0a5[--_0x4aa47c]['from'];}if(_0x2bdb8b)_0x2bdb8b['push'](_0x2f6ceb);else _0x2f6ceb['to']<_0x361faa&&_0x447efa['push'](new _0x3705ae(_0x2f6ceb['to'],_0x361faa,_0x2f2b42)),computeSectionOrder(_0x3ed844,_0x2f6ceb['direction']==_0x3a50dc!=!(_0x2f2b42%0x2)?_0xce432c+0x1:_0xce432c,_0x145a0a,_0x2f6ceb['inner'],_0x2f6ceb['from'],_0x2f6ceb['to'],_0x447efa),_0x361faa=_0x2f6ceb['from'];_0x3519c9=_0x2f6ceb['from'];}else{if(_0x3519c9==_0x3e2eeb||(_0x55e36e?types[_0x3519c9-0x1]!=_0x20f394:types[_0x3519c9-0x1]==_0x20f394))break;_0x3519c9--;}_0x2bdb8b?emitSpans(_0x3ed844,_0x3519c9,_0x361faa,_0xce432c+0x1,_0x145a0a,_0x2bdb8b,_0x447efa):_0x3519c9<_0x361faa&&_0x447efa['push'](new _0x3705ae(_0x3519c9,_0x361faa,_0x2f2b42)),_0x361faa=_0x3519c9;}}function computeSectionOrder(_0x173e8a,_0x6e8c82,_0x42e5a0,_0x53d494,_0x14fd45,_0x1c301e,_0x4120f8){let _0x26b331=_0x6e8c82%0x2?0x2:0x1;computeCharTypes(_0x173e8a,_0x14fd45,_0x1c301e,_0x53d494,_0x26b331),processBracketPairs(_0x173e8a,_0x14fd45,_0x1c301e,_0x53d494,_0x26b331),processNeutrals(_0x14fd45,_0x1c301e,_0x53d494,_0x26b331),emitSpans(_0x173e8a,_0x14fd45,_0x1c301e,_0x6e8c82,_0x42e5a0,_0x53d494,_0x4120f8);}function computeOrder(_0x935ca9,_0xbe64ff,_0x42c330){if(!_0x935ca9)return[new _0x3705ae(0x0,0x0,_0xbe64ff==_0x2efb0a?0x1:0x0)];if(_0xbe64ff==_0x3a50dc&&!_0x42c330['length']&&!_0x2b56dd['test'](_0x935ca9))return trivialOrder(_0x935ca9['length']);if(_0x42c330['length']){for(;_0x935ca9['length']>types['length'];)types[types['length']]=0x100;}let _0xf3176b=[],_0x344d49=_0xbe64ff==_0x3a50dc?0x0:0x1;return computeSectionOrder(_0x935ca9,_0x344d49,_0x344d49,_0x42c330,0x0,_0x935ca9['length'],_0xf3176b),_0xf3176b;}function trivialOrder(_0x306fbe){return[new _0x3705ae(0x0,_0x306fbe,0x0)];}let _0x447b8f='';function _0xb6512d(_0x5b9cde,_0x129f2a,_0x2ea13f,_0x336938,_0x893632){var _0x26e8d4;let _0x2a1c2d=_0x336938['head']-_0x5b9cde['from'],_0x4871f1=_0x3705ae['find'](_0x129f2a,_0x2a1c2d,null!==(_0x26e8d4=_0x336938['bidiLevel'])&&void 0x0!==_0x26e8d4?_0x26e8d4:-0x1,_0x336938['assoc']),_0x213ebd=_0x129f2a[_0x4871f1],_0x404579=_0x213ebd['side'](_0x893632,_0x2ea13f);if(_0x2a1c2d==_0x404579){let _0x3f23b6=_0x4871f1+=_0x893632?0x1:-0x1;if(_0x3f23b6<0x0||_0x3f23b6>=_0x129f2a['length'])return null;_0x213ebd=_0x129f2a[_0x4871f1=_0x3f23b6],_0x2a1c2d=_0x213ebd['side'](!_0x893632,_0x2ea13f),_0x404579=_0x213ebd['side'](_0x893632,_0x2ea13f);}let _0x40ffe2=findClusterBreak(_0x5b9cde['text'],_0x2a1c2d,_0x213ebd['forward'](_0x893632,_0x2ea13f));(_0x40ffe2<_0x213ebd['from']||_0x40ffe2>_0x213ebd['to'])&&(_0x40ffe2=_0x404579),_0x447b8f=_0x5b9cde['text']['slice'](Math['min'](_0x2a1c2d,_0x40ffe2),Math['max'](_0x2a1c2d,_0x40ffe2));let _0x56b8a7=_0x4871f1==(_0x893632?_0x129f2a['length']-0x1:0x0)?null:_0x129f2a[_0x4871f1+(_0x893632?0x1:-0x1)];return _0x56b8a7&&_0x40ffe2==_0x404579&&_0x56b8a7['level']+(_0x893632?0x0:0x1)<_0x213ebd['level']?EditorSelection['cursor'](_0x56b8a7['side'](!_0x893632,_0x2ea13f)+_0x5b9cde['from'],_0x56b8a7['forward'](_0x893632,_0x2ea13f)?0x1:-0x1,_0x56b8a7['level']):EditorSelection['cursor'](_0x40ffe2+_0x5b9cde['from'],_0x213ebd['forward'](_0x893632,_0x2ea13f)?-0x1:0x1,_0x213ebd['level']);}function autoDirection(_0x4ee3fb,_0x5bbefd,_0x190eae){for(let _0x3b755c=_0x5bbefd;_0x3b755c<_0x190eae;_0x3b755c++){let _0x3ddcbd=_0x126e5c(_0x4ee3fb['charCodeAt'](_0x3b755c));if(0x1==_0x3ddcbd)return _0x3a50dc;if(0x2==_0x3ddcbd||0x4==_0x3ddcbd)return _0x2efb0a;}return _0x3a50dc;}const clickAddsSelectionRange=Facet['define'](),dragMovesSelection$1=Facet['define'](),mouseSelectionStyle=Facet['define'](),exceptionSink=Facet['define'](),updateListener=Facet['define'](),inputHandler$1=Facet['define'](),focusChangeEffect=Facet['define'](),clipboardInputFilter=Facet['define'](),clipboardOutputFilter=Facet['define'](),perLineTextDirection=Facet['define']({'combine':_0x2b66a7=>_0x2b66a7['some'](_0x271621=>_0x271621)}),nativeSelectionHidden=Facet['define']({'combine':_0x45ed9e=>_0x45ed9e['some'](_0x2c50a5=>_0x2c50a5)}),_0x33cca4=Facet['define']();class ScrollTarget{constructor(_0x5d07f5,_0x52bbf4='nearest',_0x5504c3='nearest',_0x54647d=0x5,_0x53f625=0x5,_0x498e9a=!0x1){this['range']=_0x5d07f5,this['y']=_0x52bbf4,this['x']=_0x5504c3,this['yMargin']=_0x54647d,this['xMargin']=_0x53f625,this['isSnapshot']=_0x498e9a;}['map'](_0x2b6400){return _0x2b6400['empty']?this:new ScrollTarget(this['range']['map'](_0x2b6400),this['y'],this['x'],this['yMargin'],this['xMargin'],this['isSnapshot']);}['clip'](_0x2ad5b8){return this['range']['to']<=_0x2ad5b8['doc']['length']?this:new ScrollTarget(EditorSelection['cursor'](_0x2ad5b8['doc']['length']),this['y'],this['x'],this['yMargin'],this['xMargin'],this['isSnapshot']);}}const scrollIntoView$1=StateEffect['define']({'map':(t,_0x1e2576)=>t['map'](_0x1e2576)}),setEditContextFormatting=StateEffect['define']();function logException(_0x106022,_0x58aac7,_0x3c929c){let _0x5bca34=_0x106022['facet'](exceptionSink);_0x5bca34['length']?_0x5bca34[0x0](_0x58aac7):window['onerror']&&window['onerror'](String(_0x58aac7),_0x3c929c,void 0x0,void 0x0,_0x58aac7)||(_0x3c929c?console['error'](_0x3c929c+':',_0x58aac7):console['error'](_0x58aac7));}const editable=Facet['define']({'combine':_0x5c5265=>!_0x5c5265['length']||_0x5c5265[0x0]});let nextPluginID=0x0;const _0x9a28ff=Facet['define']({'combine':_0x2c1a61=>_0x2c1a61['filter']((_0x1a542f,_0x416ed9)=>{for(let _0x47e96d=0x0;_0x47e96d<_0x416ed9;_0x47e96d++)if(_0x2c1a61[_0x47e96d]['plugin']==_0x1a542f['plugin'])return!0x1;return!0x0;})});class _0x132f9d{constructor(_0x37107a,_0x17b3ce,_0x3b9501,_0x5315ff,_0x292bff){this['id']=_0x37107a,this['create']=_0x17b3ce,this['domEventHandlers']=_0x3b9501,this['domEventObservers']=_0x5315ff,this['baseExtensions']=_0x292bff(this),this['extension']=this['baseExtensions']['concat'](_0x9a28ff['of']({'plugin':this,'arg':void 0x0}));}['of'](_0x9c771a){return this['baseExtensions']['concat'](_0x9a28ff['of']({'plugin':this,'arg':_0x9c771a}));}static['define'](_0x58e15a,_0x4444b2){const {eventHandlers:_0x40f002,eventObservers:_0x4251da,provide:_0x48846d,decorations:_0x2d5f03}=_0x4444b2||{};return new _0x132f9d(nextPluginID++,_0x58e15a,_0x40f002,_0x4251da,_0x56ea1b=>{let _0x17330e=[];return _0x2d5f03&&_0x17330e['push'](decorations['of'](_0x155f91=>{let _0x5335d9=_0x155f91['plugin'](_0x56ea1b);return _0x5335d9?_0x2d5f03(_0x5335d9):Decoration['none'];})),_0x48846d&&_0x17330e['push'](_0x48846d(_0x56ea1b)),_0x17330e;});}static['fromClass'](_0x5ec75b,_0x4076d0){return _0x132f9d['define']((_0x6ee7a1,_0x1b9ef7)=>new _0x5ec75b(_0x6ee7a1,_0x1b9ef7),_0x4076d0);}}class PluginInstance{constructor(_0x55e6fa){this['spec']=_0x55e6fa,this['mustUpdate']=null,this['value']=null;}get['plugin'](){return this['spec']&&this['spec']['plugin'];}['update'](_0xc9a41f){if(this['value']){if(this['mustUpdate']){let _0x30a7fb=this['mustUpdate'];if(this['mustUpdate']=null,this['value']['update'])try{this['value']['update'](_0x30a7fb);}catch(_0x5a2a13){if(logException(_0x30a7fb['state'],_0x5a2a13,'CodeMirror\x20plugin\x20crashed'),this['value']['destroy'])try{this['value']['destroy']();}catch(_0x250b5f){}this['deactivate']();}}}else{if(this['spec'])try{this['value']=this['spec']['plugin']['create'](_0xc9a41f,this['spec']['arg']);}catch(_0x3db02c){logException(_0xc9a41f['state'],_0x3db02c,'CodeMirror\x20plugin\x20crashed'),this['deactivate']();}}return this;}['destroy'](_0x13444b){var _0x992c9d;if(null===(_0x992c9d=this['value'])||void 0x0===_0x992c9d?void 0x0:_0x992c9d['destroy'])try{this['value']['destroy']();}catch(_0x26b1d4){logException(_0x13444b['state'],_0x26b1d4,'CodeMirror\x20plugin\x20crashed');}}['deactivate'](){this['spec']=this['value']=null;}}const editorAttributes=Facet['define'](),contentAttributes=Facet['define'](),decorations=Facet['define'](),outerDecorations=Facet['define'](),atomicRanges=Facet['define'](),bidiIsolatedRanges=Facet['define']();function getIsolatedRanges(_0x262154,_0x9772da){let _0x3f1214=_0x262154['state']['facet'](bidiIsolatedRanges);if(!_0x3f1214['length'])return _0x3f1214;let _0x48632b=_0x3f1214['map'](_0x11df67=>_0x11df67 instanceof Function?_0x11df67(_0x262154):_0x11df67),_0x3c3139=[];return RangeSet['spans'](_0x48632b,_0x9772da['from'],_0x9772da['to'],{'point'(){},'span'(_0x2fc68a,_0x1917f2,_0x5a5be8,_0x5ca67a){let _0x6d60d0=_0x2fc68a-_0x9772da['from'],_0x131961=_0x1917f2-_0x9772da['from'],_0x41b5ae=_0x3c3139;for(let _0x1868a2=_0x5a5be8['length']-0x1;_0x1868a2>=0x0;_0x1868a2--,_0x5ca67a--){let _0x2ea72b,_0x24209c=_0x5a5be8[_0x1868a2]['spec']['bidiIsolate'];if(null==_0x24209c&&(_0x24209c=autoDirection(_0x9772da['text'],_0x6d60d0,_0x131961)),_0x5ca67a>0x0&&_0x41b5ae['length']&&(_0x2ea72b=_0x41b5ae[_0x41b5ae['length']-0x1])['to']==_0x6d60d0&&_0x2ea72b['direction']==_0x24209c)_0x2ea72b['to']=_0x131961,_0x41b5ae=_0x2ea72b['inner'];else{let _0x5732b3={'from':_0x6d60d0,'to':_0x131961,'direction':_0x24209c,'inner':[]};_0x41b5ae['push'](_0x5732b3),_0x41b5ae=_0x5732b3['inner'];}}}}),_0x3c3139;}const _0x25a838=Facet['define']();function getScrollMargins(_0x127cd5){let _0x13ec84=0x0,_0x2a9508=0x0,_0x4d09fa=0x0,_0x27813d=0x0;for(let _0x408e33 of _0x127cd5['state']['facet'](_0x25a838)){let _0x5465e0=_0x408e33(_0x127cd5);_0x5465e0&&(null!=_0x5465e0['left']&&(_0x13ec84=Math['max'](_0x13ec84,_0x5465e0['left'])),null!=_0x5465e0['right']&&(_0x2a9508=Math['max'](_0x2a9508,_0x5465e0['right'])),null!=_0x5465e0['top']&&(_0x4d09fa=Math['max'](_0x4d09fa,_0x5465e0['top'])),null!=_0x5465e0['bottom']&&(_0x27813d=Math['max'](_0x27813d,_0x5465e0['bottom'])));}return{'left':_0x13ec84,'right':_0x2a9508,'top':_0x4d09fa,'bottom':_0x27813d};}const styleModule=Facet['define']();class _0x4eb499{constructor(_0x8927fa,_0x576dca,_0x4a69e5,_0x5a3b72){this['fromA']=_0x8927fa,this['toA']=_0x576dca,this['fromB']=_0x4a69e5,this['toB']=_0x5a3b72;}['join'](_0x3f8110){return new _0x4eb499(Math['min'](this['fromA'],_0x3f8110['fromA']),Math['max'](this['toA'],_0x3f8110['toA']),Math['min'](this['fromB'],_0x3f8110['fromB']),Math['max'](this['toB'],_0x3f8110['toB']));}['addToSet'](_0x5a717c){let _0x4f370e=_0x5a717c['length'],_0x141204=this;for(;_0x4f370e>0x0;_0x4f370e--){let _0x706e77=_0x5a717c[_0x4f370e-0x1];if(!(_0x706e77['fromA']>_0x141204['toA'])){if(_0x706e77['toA']<_0x141204['fromA'])break;_0x141204=_0x141204['join'](_0x706e77),_0x5a717c['splice'](_0x4f370e-0x1,0x1);}}return _0x5a717c['splice'](_0x4f370e,0x0,_0x141204),_0x5a717c;}static['extendWithRanges'](_0x166208,_0x424f58){if(0x0==_0x424f58['length'])return _0x166208;let _0x75658e=[];for(let _0x27b47c=0x0,_0x19df4e=0x0,_0x5e5eb6=0x0,_0x1a5516=0x0;;_0x27b47c++){let _0x4997ec=_0x27b47c==_0x166208['length']?null:_0x166208[_0x27b47c],_0x3418f0=_0x5e5eb6-_0x1a5516,_0x465a41=_0x4997ec?_0x4997ec['fromB']:0x3b9aca00;for(;_0x19df4e<_0x424f58['length']&&_0x424f58[_0x19df4e]<_0x465a41;){let _0x54d496=_0x424f58[_0x19df4e],_0x2aa760=_0x424f58[_0x19df4e+0x1],_0x190edd=Math['max'](_0x1a5516,_0x54d496),_0x5ed2ec=Math['min'](_0x465a41,_0x2aa760);if(_0x190edd<=_0x5ed2ec&&new _0x4eb499(_0x190edd+_0x3418f0,_0x5ed2ec+_0x3418f0,_0x190edd,_0x5ed2ec)['addToSet'](_0x75658e),_0x2aa760>_0x465a41)break;_0x19df4e+=0x2;}if(!_0x4997ec)return _0x75658e;new _0x4eb499(_0x4997ec['fromA'],_0x4997ec['toA'],_0x4997ec['fromB'],_0x4997ec['toB'])['addToSet'](_0x75658e),_0x5e5eb6=_0x4997ec['toA'],_0x1a5516=_0x4997ec['toB'];}}}class ViewUpdate{constructor(_0x49b564,_0x59df97,_0x523a1e){this['view']=_0x49b564,this['state']=_0x59df97,this['transactions']=_0x523a1e,this['flags']=0x0,this['startState']=_0x49b564['state'],this['changes']=ChangeSet['empty'](this['startState']['doc']['length']);for(let _0x2cf9d6 of _0x523a1e)this['changes']=this['changes']['compose'](_0x2cf9d6['changes']);let _0x4796e5=[];this['changes']['iterChangedRanges']((_0x584b7e,_0xf4fc45,_0x195cda,_0x5e2cc4)=>_0x4796e5['push'](new _0x4eb499(_0x584b7e,_0xf4fc45,_0x195cda,_0x5e2cc4))),this['changedRanges']=_0x4796e5;}static['create'](_0x54037b,_0x232167,_0x46ae0c){return new ViewUpdate(_0x54037b,_0x232167,_0x46ae0c);}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'](_0x11bb1d=>_0x11bb1d['selection']);}get['empty'](){return 0x0==this['flags']&&0x0==this['transactions']['length'];}}class _0x30492b extends ContentView{get['length'](){return this['view']['state']['doc']['length'];}constructor(_0xe6e4){super(),this['view']=_0xe6e4,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'](_0xe6e4['contentDOM']),this['children']=[new _0x15d50f()],this['children'][0x0]['setParent'](this),this['updateDeco'](),this['updateInner']([new _0x4eb499(0x0,0x0,0x0,_0xe6e4['state']['doc']['length'])],0x0,null);}['update'](_0x115585){var _0x2dc701;let _0x531944=_0x115585['changedRanges'];this['minWidth']>0x0&&_0x531944['length']&&(_0x531944['every'](({fromA:_0xac096,toA:_0x512bfe})=>_0x512bfe<this['minWidthFrom']||_0xac096>this['minWidthTo'])?(this['minWidthFrom']=_0x115585['changes']['mapPos'](this['minWidthFrom'],0x1),this['minWidthTo']=_0x115585['changes']['mapPos'](this['minWidthTo'],0x1)):this['minWidth']=this['minWidthFrom']=this['minWidthTo']=0x0),this['updateEditContextFormatting'](_0x115585);let _0x4d7307=-0x1;this['view']['inputState']['composing']>=0x0&&!this['view']['observer']['editContext']&&((null===(_0x2dc701=this['domChanged'])||void 0x0===_0x2dc701?void 0x0:_0x2dc701['newSel'])?_0x4d7307=this['domChanged']['newSel']['head']:touchesComposition(_0x115585['changes'],this['hasComposition'])||_0x115585['selectionSet']||(_0x4d7307=_0x115585['state']['selection']['main']['head']));let _0x3377c6=_0x4d7307>-0x1?findCompositionRange(this['view'],_0x115585['changes'],_0x4d7307):null;if(this['domChanged']=null,this['hasComposition']){this['markedForComposition']['clear']();let {from:_0x335bef,to:_0x280adc}=this['hasComposition'];_0x531944=new _0x4eb499(_0x335bef,_0x280adc,_0x115585['changes']['mapPos'](_0x335bef,-0x1),_0x115585['changes']['mapPos'](_0x280adc,0x1))['addToSet'](_0x531944['slice']());}this['hasComposition']=_0x3377c6?{'from':_0x3377c6['range']['fromB'],'to':_0x3377c6['range']['toB']}:null,(_0x53f368['ie']||_0x53f368['chrome'])&&!_0x3377c6&&_0x115585&&_0x115585['state']['doc']['lines']!=_0x115585['startState']['doc']['lines']&&(this['forceSelection']=!0x0);let _0x4d17e1=_0x238595(this['decorations'],this['updateDeco'](),_0x115585['changes']);return _0x531944=_0x4eb499['extendWithRanges'](_0x531944,_0x4d17e1),!!(0x7&this['flags']||0x0!=_0x531944['length'])&&(this['updateInner'](_0x531944,_0x115585['startState']['doc']['length'],_0x3377c6),_0x115585['transactions']['length']&&(this['lastUpdate']=Date['now']()),!0x0);}['updateInner'](_0x33d417,_0x6473fe,_0x5cd555){this['view']['viewState']['mustMeasureContent']=!0x0,this['updateChildren'](_0x33d417,_0x6473fe,_0x5cd555);let {observer:_0xda284}=this['view'];_0xda284['ignore'](()=>{this['dom']['style']['height']=this['view']['viewState']['contentHeight']/this['view']['scaleY']+'px',this['dom']['style']['flexBasis']=this['minWidth']?this['minWidth']+'px':'';let _0x4398f7=_0x53f368['chrome']||_0x53f368['ios']?{'node':_0xda284['selectionRange']['focusNode'],'written':!0x1}:void 0x0;this['sync'](this['view'],_0x4398f7),this['flags']&=-0x8,_0x4398f7&&(_0x4398f7['written']||_0xda284['selectionRange']['focusNode']!=_0x4398f7['node'])&&(this['forceSelection']=!0x0),this['dom']['style']['height']='';}),this['markedForComposition']['forEach'](_0x480e9d=>_0x480e9d['flags']&=-0x9);let _0x46e663=[];if(this['view']['viewport']['from']||this['view']['viewport']['to']<this['view']['state']['doc']['length']){for(let _0x3f39bf of this['children'])_0x3f39bf instanceof BlockWidgetView&&_0x3f39bf['widget']instanceof BlockGapWidget&&_0x46e663['push'](_0x3f39bf['dom']);}_0xda284['updateGaps'](_0x46e663);}['updateChildren'](_0x48d1c2,_0x2b2a5c,_0xf46dfe){let _0xef9f72=_0xf46dfe?_0xf46dfe['range']['addToSet'](_0x48d1c2['slice']()):_0x48d1c2,_0x1cf3e2=this['childCursor'](_0x2b2a5c);for(let _0x138e51=_0xef9f72['length']-0x1;;_0x138e51--){let _0x285825=_0x138e51>=0x0?_0xef9f72[_0x138e51]:null;if(!_0x285825)break;let _0x529292,_0x3642b0,_0x14c34f,_0x379dad,{fromA:_0x3cba3e,toA:_0x3df1e3,fromB:_0x5b9696,toB:_0x381133}=_0x285825;if(_0xf46dfe&&_0xf46dfe['range']['fromB']<_0x381133&&_0xf46dfe['range']['toB']>_0x5b9696){let _0x49b0f7=ContentBuilder['build'](this['view']['state']['doc'],_0x5b9696,_0xf46dfe['range']['fromB'],this['decorations'],this['dynamicDecorationMap']),_0x13b820=ContentBuilder['build'](this['view']['state']['doc'],_0xf46dfe['range']['toB'],_0x381133,this['decorations'],this['dynamicDecorationMap']);_0x3642b0=_0x49b0f7['breakAtStart'],_0x14c34f=_0x49b0f7['openStart'],_0x379dad=_0x13b820['openEnd'];let _0x15ecc2=this['compositionView'](_0xf46dfe);_0x13b820['breakAtStart']?_0x15ecc2['breakAfter']=0x1:_0x13b820['content']['length']&&_0x15ecc2['merge'](_0x15ecc2['length'],_0x15ecc2['length'],_0x13b820['content'][0x0],!0x1,_0x13b820['openStart'],0x0)&&(_0x15ecc2['breakAfter']=_0x13b820['content'][0x0]['breakAfter'],_0x13b820['content']['shift']()),_0x49b0f7['content']['length']&&_0x15ecc2['merge'](0x0,0x0,_0x49b0f7['content'][_0x49b0f7['content']['length']-0x1],!0x0,0x0,_0x49b0f7['openEnd'])&&_0x49b0f7['content']['pop'](),_0x529292=_0x49b0f7['content']['concat'](_0x15ecc2)['concat'](_0x13b820['content']);}else({content:_0x529292,breakAtStart:_0x3642b0,openStart:_0x14c34f,openEnd:_0x379dad}=ContentBuilder['build'](this['view']['state']['doc'],_0x5b9696,_0x381133,this['decorations'],this['dynamicDecorationMap']));let {i:_0x5c23c9,off:_0x498c8b}=_0x1cf3e2['findPos'](_0x3df1e3,0x1),{i:_0x30d858,off:_0x310df4}=_0x1cf3e2['findPos'](_0x3cba3e,-0x1);_0x4aa57f(this,_0x30d858,_0x310df4,_0x5c23c9,_0x498c8b,_0x529292,_0x3642b0,_0x14c34f,_0x379dad);}_0xf46dfe&&this['fixCompositionDOM'](_0xf46dfe);}['updateEditContextFormatting'](_0x20034c){this['editContextFormatting']=this['editContextFormatting']['map'](_0x20034c['changes']);for(let _0x588d39 of _0x20034c['transactions'])for(let _0x11b027 of _0x588d39['effects'])_0x11b027['is'](setEditContextFormatting)&&(this['editContextFormatting']=_0x11b027['value']);}['compositionView'](_0x3c6e23){let _0x269b5c=new TextView(_0x3c6e23['text']['nodeValue']);_0x269b5c['flags']|=0x8;for(let {deco:_0xdd87e8}of _0x3c6e23['marks'])_0x269b5c=new _0x4038b3(_0xdd87e8,[_0x269b5c],_0x269b5c['length']);let _0xf9cd18=new _0x15d50f();return _0xf9cd18['append'](_0x269b5c,0x0),_0xf9cd18;}['fixCompositionDOM'](_0xf9ddfd){let _0x3b371d=(_0x24d945,_0x4b710b)=>{_0x4b710b['flags']|=0x8|(_0x4b710b['children']['some'](_0x378b75=>0x7&_0x378b75['flags'])?0x1:0x0),this['markedForComposition']['add'](_0x4b710b);let _0x103fdc=ContentView['get'](_0x24d945);_0x103fdc&&_0x103fdc!=_0x4b710b&&(_0x103fdc['dom']=null),_0x4b710b['setDOM'](_0x24d945);},_0x4ecefd=this['childPos'](_0xf9ddfd['range']['fromB'],0x1),_0x1aa08e=this['children'][_0x4ecefd['i']];_0x3b371d(_0xf9ddfd['line'],_0x1aa08e);for(let _0x389c00=_0xf9ddfd['marks']['length']-0x1;_0x389c00>=-0x1;_0x389c00--)_0x4ecefd=_0x1aa08e['childPos'](_0x4ecefd['off'],0x1),_0x1aa08e=_0x1aa08e['children'][_0x4ecefd['i']],_0x3b371d(_0x389c00>=0x0?_0xf9ddfd['marks'][_0x389c00]['node']:_0xf9ddfd['text'],_0x1aa08e);}['updateSelection'](_0xc154c2=!0x1,_0x2adace=!0x1){!_0xc154c2&&this['view']['observer']['selectionRange']['focusNode']||this['view']['observer']['readSelectionRange']();let _0x2c0984=this['view']['root']['activeElement'],_0x2af0da=_0x2c0984==this['dom'],_0x579bba=!_0x2af0da&&!(this['view']['state']['facet'](editable)||this['dom']['tabIndex']>-0x1)&&hasSelection(this['dom'],this['view']['observer']['selectionRange'])&&!(_0x2c0984&&this['dom']['contains'](_0x2c0984));if(!(_0x2af0da||_0x2adace||_0x579bba))return;let _0x9396cb=this['forceSelection'];this['forceSelection']=!0x1;let _0x99115d=this['view']['state']['selection']['main'],_0x1186fb=this['moveToLine'](this['domAtPos'](_0x99115d['anchor'])),_0xfdf1b6=_0x99115d['empty']?_0x1186fb:this['moveToLine'](this['domAtPos'](_0x99115d['head']));if(_0x53f368['gecko']&&_0x99115d['empty']&&!this['hasComposition']&&betweenUneditable(_0x1186fb)){let _0x32aa70=document['createTextNode']('');this['view']['observer']['ignore'](()=>_0x1186fb['node']['insertBefore'](_0x32aa70,_0x1186fb['node']['childNodes'][_0x1186fb['offset']]||null)),_0x1186fb=_0xfdf1b6=new _0x4e0d35(_0x32aa70,0x0),_0x9396cb=!0x0;}let _0x1cf384=this['view']['observer']['selectionRange'];!_0x9396cb&&_0x1cf384['focusNode']&&(isEquivalentPosition(_0x1186fb['node'],_0x1186fb['offset'],_0x1cf384['anchorNode'],_0x1cf384['anchorOffset'])&&isEquivalentPosition(_0xfdf1b6['node'],_0xfdf1b6['offset'],_0x1cf384['focusNode'],_0x1cf384['focusOffset'])||this['suppressWidgetCursorChange'](_0x1cf384,_0x99115d))||(this['view']['observer']['ignore'](()=>{_0x53f368['android']&&_0x53f368['chrome']&&this['dom']['contains'](_0x1cf384['focusNode'])&&inUneditable(_0x1cf384['focusNode'],this['dom'])&&(this['dom']['blur'](),this['dom']['focus']({'preventScroll':!0x0}));let _0x5d4fd6=getSelection(this['view']['root']);if(_0x5d4fd6){if(_0x99115d['empty']){if(_0x53f368['gecko']){let _0x2911f9=nextToUneditable(_0x1186fb['node'],_0x1186fb['offset']);if(_0x2911f9&&0x3!=_0x2911f9){let _0x26bce2=(0x1==_0x2911f9?textNodeBefore:textNodeAfter)(_0x1186fb['node'],_0x1186fb['offset']);_0x26bce2&&(_0x1186fb=new _0x4e0d35(_0x26bce2['node'],_0x26bce2['offset']));}}_0x5d4fd6['collapse'](_0x1186fb['node'],_0x1186fb['offset']),null!=_0x99115d['bidiLevel']&&void 0x0!==_0x5d4fd6['caretBidiLevel']&&(_0x5d4fd6['caretBidiLevel']=_0x99115d['bidiLevel']);}else{if(_0x5d4fd6['extend']){_0x5d4fd6['collapse'](_0x1186fb['node'],_0x1186fb['offset']);try{_0x5d4fd6['extend'](_0xfdf1b6['node'],_0xfdf1b6['offset']);}catch(_0x1026aa){}}else{let _0x1e749a=document['createRange']();_0x99115d['anchor']>_0x99115d['head']&&([_0x1186fb,_0xfdf1b6]=[_0xfdf1b6,_0x1186fb]),_0x1e749a['setEnd'](_0xfdf1b6['node'],_0xfdf1b6['offset']),_0x1e749a['setStart'](_0x1186fb['node'],_0x1186fb['offset']),_0x5d4fd6['removeAllRanges'](),_0x5d4fd6['addRange'](_0x1e749a);}}}else;_0x579bba&&this['view']['root']['activeElement']==this['dom']&&(this['dom']['blur'](),_0x2c0984&&_0x2c0984['focus']());}),this['view']['observer']['setSelectionRange'](_0x1186fb,_0xfdf1b6)),this['impreciseAnchor']=_0x1186fb['precise']?null:new _0x4e0d35(_0x1cf384['anchorNode'],_0x1cf384['anchorOffset']),this['impreciseHead']=_0xfdf1b6['precise']?null:new _0x4e0d35(_0x1cf384['focusNode'],_0x1cf384['focusOffset']);}['suppressWidgetCursorChange'](_0x6de007,_0x432cda){return this['hasComposition']&&_0x432cda['empty']&&isEquivalentPosition(_0x6de007['focusNode'],_0x6de007['focusOffset'],_0x6de007['anchorNode'],_0x6de007['anchorOffset'])&&this['posFromDOM'](_0x6de007['focusNode'],_0x6de007['focusOffset'])==_0x432cda['head'];}['enforceCursorAssoc'](){if(this['hasComposition'])return;let {view:_0x23d4a1}=this,_0x5d6244=_0x23d4a1['state']['selection']['main'],_0x5dfee7=getSelection(_0x23d4a1['root']),{anchorNode:_0x350435,anchorOffset:_0x48371f}=_0x23d4a1['observer']['selectionRange'];if(!(_0x5dfee7&&_0x5d6244['empty']&&_0x5d6244['assoc']&&_0x5dfee7['modify']))return;let _0x5eaeff=_0x15d50f['find'](this,_0x5d6244['head']);if(!_0x5eaeff)return;let _0x5dddb4=_0x5eaeff['posAtStart'];if(_0x5d6244['head']==_0x5dddb4||_0x5d6244['head']==_0x5dddb4+_0x5eaeff['length'])return;let _0x1863a7=this['coordsAt'](_0x5d6244['head'],-0x1),_0x507048=this['coordsAt'](_0x5d6244['head'],0x1);if(!_0x1863a7||!_0x507048||_0x1863a7['bottom']>_0x507048['top'])return;let _0x194acd=this['domAtPos'](_0x5d6244['head']+_0x5d6244['assoc']);_0x5dfee7['collapse'](_0x194acd['node'],_0x194acd['offset']),_0x5dfee7['modify']('move',_0x5d6244['assoc']<0x0?'forward':'backward','lineboundary'),_0x23d4a1['observer']['readSelectionRange']();let _0x6999d7=_0x23d4a1['observer']['selectionRange'];_0x23d4a1['docView']['posFromDOM'](_0x6999d7['anchorNode'],_0x6999d7['anchorOffset'])!=_0x5d6244['from']&&_0x5dfee7['collapse'](_0x350435,_0x48371f);}['moveToLine'](_0x30074e){let _0x5f0431,_0x4de138=this['dom'];if(_0x30074e['node']!=_0x4de138)return _0x30074e;for(let _0x456149=_0x30074e['offset'];!_0x5f0431&&_0x456149<_0x4de138['childNodes']['length'];_0x456149++){let _0x211f9d=ContentView['get'](_0x4de138['childNodes'][_0x456149]);_0x211f9d instanceof _0x15d50f&&(_0x5f0431=_0x211f9d['domAtPos'](0x0));}for(let _0x212748=_0x30074e['offset']-0x1;!_0x5f0431&&_0x212748>=0x0;_0x212748--){let _0x9eb19a=ContentView['get'](_0x4de138['childNodes'][_0x212748]);_0x9eb19a instanceof _0x15d50f&&(_0x5f0431=_0x9eb19a['domAtPos'](_0x9eb19a['length']));}return _0x5f0431?new _0x4e0d35(_0x5f0431['node'],_0x5f0431['offset'],!0x0):_0x30074e;}['nearest'](_0xded087){for(let _0x1cd718=_0xded087;_0x1cd718;){let _0x111fdc=ContentView['get'](_0x1cd718);if(_0x111fdc&&_0x111fdc['rootView']==this)return _0x111fdc;_0x1cd718=_0x1cd718['parentNode'];}return null;}['posFromDOM'](_0x2e330f,_0x2dc1f5){let _0x5548f0=this['nearest'](_0x2e330f);if(!_0x5548f0)throw new RangeError('Trying\x20to\x20find\x20position\x20for\x20a\x20DOM\x20position\x20outside\x20of\x20the\x20document');return _0x5548f0['localPosFromDOM'](_0x2e330f,_0x2dc1f5)+_0x5548f0['posAtStart'];}['domAtPos'](_0x42e4c9){let {i:_0x23a400,off:_0x580b9e}=this['childCursor']()['findPos'](_0x42e4c9,-0x1);for(;_0x23a400<this['children']['length']-0x1;){let _0x39b995=this['children'][_0x23a400];if(_0x580b9e<_0x39b995['length']||_0x39b995 instanceof _0x15d50f)break;_0x23a400++,_0x580b9e=0x0;}return this['children'][_0x23a400]['domAtPos'](_0x580b9e);}['coordsAt'](_0x477e48,_0x1d040c){let _0x48a6c6=null,_0x18213d=0x0;for(let _0x3408e8=this['length'],_0x334c9c=this['children']['length']-0x1;_0x334c9c>=0x0;_0x334c9c--){let _0x5f3a2f=this['children'][_0x334c9c],_0x414740=_0x3408e8-_0x5f3a2f['breakAfter'],_0x96b7aa=_0x414740-_0x5f3a2f['length'];if(_0x414740<_0x477e48)break;if(_0x96b7aa<=_0x477e48&&(_0x96b7aa<_0x477e48||_0x5f3a2f['covers'](-0x1))&&(_0x414740>_0x477e48||_0x5f3a2f['covers'](0x1))&&(!_0x48a6c6||_0x5f3a2f instanceof _0x15d50f&&!(_0x48a6c6 instanceof _0x15d50f&&_0x1d040c>=0x0)))_0x48a6c6=_0x5f3a2f,_0x18213d=_0x96b7aa;else{if(_0x48a6c6&&_0x96b7aa==_0x477e48&&_0x414740==_0x477e48&&_0x5f3a2f instanceof BlockWidgetView&&Math['abs'](_0x1d040c)<0x2){if(_0x5f3a2f['deco']['startSide']<0x0)break;_0x334c9c&&(_0x48a6c6=null);}}_0x3408e8=_0x96b7aa;}return _0x48a6c6?_0x48a6c6['coordsAt'](_0x477e48-_0x18213d,_0x1d040c):null;}['coordsForChar'](_0x59fe2c){let {i:_0x19db22,off:_0x1446bd}=this['childPos'](_0x59fe2c,0x1),_0xccb5b1=this['children'][_0x19db22];if(!(_0xccb5b1 instanceof _0x15d50f))return null;for(;_0xccb5b1['children']['length'];){let {i:_0x45d314,off:_0x4d0710}=_0xccb5b1['childPos'](_0x1446bd,0x1);for(;;_0x45d314++){if(_0x45d314==_0xccb5b1['children']['length'])return null;if((_0xccb5b1=_0xccb5b1['children'][_0x45d314])['length'])break;}_0x1446bd=_0x4d0710;}if(!(_0xccb5b1 instanceof TextView))return null;let _0x34d0cf=findClusterBreak(_0xccb5b1['text'],_0x1446bd);if(_0x34d0cf==_0x1446bd)return null;let _0x32535b=textRange(_0xccb5b1['dom'],_0x1446bd,_0x34d0cf)['getClientRects']();for(let _0x4bd049=0x0;_0x4bd049<_0x32535b['length'];_0x4bd049++){let _0x3e39d9=_0x32535b[_0x4bd049];if(_0x4bd049==_0x32535b['length']-0x1||_0x3e39d9['top']<_0x3e39d9['bottom']&&_0x3e39d9['left']<_0x3e39d9['right'])return _0x3e39d9;}return null;}['measureVisibleLineHeights'](_0x2bb677){let _0x54192d=[],{from:_0x710593,to:_0x116b4a}=_0x2bb677,_0x1054ea=this['view']['contentDOM']['clientWidth'],_0x23b6d0=_0x1054ea>Math['max'](this['view']['scrollDOM']['clientWidth'],this['minWidth'])+0x1,_0xedef6b=-0x1,_0x14db4d=this['view']['textDirection']==Direction['LTR'];for(let _0x379519=0x0,_0x19453d=0x0;_0x19453d<this['children']['length'];_0x19453d++){let _0x303c81=this['children'][_0x19453d],_0x2c20ab=_0x379519+_0x303c81['length'];if(_0x2c20ab>_0x116b4a)break;if(_0x379519>=_0x710593){let _0x1b3a23=_0x303c81['dom']['getBoundingClientRect']();if(_0x54192d['push'](_0x1b3a23['height']),_0x23b6d0){let _0x29720a=_0x303c81['dom']['lastChild'],_0x1a3f61=_0x29720a?clientRectsFor(_0x29720a):[];if(_0x1a3f61['length']){let _0x4763bb=_0x1a3f61[_0x1a3f61['length']-0x1],_0x434ab2=_0x14db4d?_0x4763bb['right']-_0x1b3a23['left']:_0x1b3a23['right']-_0x4763bb['left'];_0x434ab2>_0xedef6b&&(_0xedef6b=_0x434ab2,this['minWidth']=_0x1054ea,this['minWidthFrom']=_0x379519,this['minWidthTo']=_0x2c20ab);}}}_0x379519=_0x2c20ab+_0x303c81['breakAfter'];}return _0x54192d;}['textDirectionAt'](_0x33520e){let {i:_0x4398df}=this['childPos'](_0x33520e,0x1);return'rtl'==getComputedStyle(this['children'][_0x4398df]['dom'])['direction']?Direction['RTL']:Direction['LTR'];}['measureTextSize'](){for(let _0x4eae02 of this['children'])if(_0x4eae02 instanceof _0x15d50f){let _0x5edab8=_0x4eae02['measureTextSize']();if(_0x5edab8)return _0x5edab8;}let _0x22f7fa,_0x50f998,_0x5d7176,_0x5f3bef=document['createElement']('div');return _0x5f3bef['className']='cm-line',_0x5f3bef['style']['width']='99999px',_0x5f3bef['style']['position']='absolute',_0x5f3bef['textContent']='abc\x20def\x20ghi\x20jkl\x20mno\x20pqr\x20stu',this['view']['observer']['ignore'](()=>{this['dom']['appendChild'](_0x5f3bef);let _0xb4e338=clientRectsFor(_0x5f3bef['firstChild'])[0x0];_0x22f7fa=_0x5f3bef['getBoundingClientRect']()['height'],_0x50f998=_0xb4e338?_0xb4e338['width']/0x1b:0x7,_0x5d7176=_0xb4e338?_0xb4e338['height']:_0x22f7fa,_0x5f3bef['remove']();}),{'lineHeight':_0x22f7fa,'charWidth':_0x50f998,'textHeight':_0x5d7176};}['childCursor'](_0x42e4e7=this['length']){let _0x4b85fa=this['children']['length'];return _0x4b85fa&&(_0x42e4e7-=this['children'][--_0x4b85fa]['length']),new _0x5b490a(this['children'],_0x42e4e7,_0x4b85fa);}['computeBlockGapDeco'](){let _0x4742ec=[],_0x183ab0=this['view']['viewState'];for(let _0x24747a=0x0,_0x13730f=0x0;;_0x13730f++){let _0x42aec8=_0x13730f==_0x183ab0['viewports']['length']?null:_0x183ab0['viewports'][_0x13730f],_0x3cb5a9=_0x42aec8?_0x42aec8['from']-0x1:this['length'];if(_0x3cb5a9>_0x24747a){let _0x322915=(_0x183ab0['lineBlockAt'](_0x3cb5a9)['bottom']-_0x183ab0['lineBlockAt'](_0x24747a)['top'])/this['view']['scaleY'];_0x4742ec['push'](Decoration['replace']({'widget':new BlockGapWidget(_0x322915),'block':!0x0,'inclusive':!0x0,'isBlockGap':!0x0})['range'](_0x24747a,_0x3cb5a9));}if(!_0x42aec8)break;_0x24747a=_0x42aec8['to']+0x1;}return Decoration['set'](_0x4742ec);}['updateDeco'](){let _0x2fccd2=0x1,_0x356fb2=this['view']['state']['facet'](decorations)['map'](_0x444680=>(this['dynamicDecorationMap'][_0x2fccd2++]='function'==typeof _0x444680)?_0x444680(this['view']):_0x444680),_0x5517c6=!0x1,_0x989ef4=this['view']['state']['facet'](outerDecorations)['map']((_0x2bc779,_0x5350a1)=>{let _0x8f7345='function'==typeof _0x2bc779;return _0x8f7345&&(_0x5517c6=!0x0),_0x8f7345?_0x2bc779(this['view']):_0x2bc779;});for(_0x989ef4['length']&&(this['dynamicDecorationMap'][_0x2fccd2++]=_0x5517c6,_0x356fb2['push'](RangeSet['join'](_0x989ef4))),this['decorations']=[this['editContextFormatting'],..._0x356fb2,this['computeBlockGapDeco'](),this['view']['viewState']['lineGapDeco']];_0x2fccd2<this['decorations']['length'];)this['dynamicDecorationMap'][_0x2fccd2++]=!0x1;return this['decorations'];}['scrollIntoView'](_0x5e2a20){if(_0x5e2a20['isSnapshot']){let _0x1d0333=this['view']['viewState']['lineBlockAt'](_0x5e2a20['range']['head']);return this['view']['scrollDOM']['scrollTop']=_0x1d0333['top']-_0x5e2a20['yMargin'],void(this['view']['scrollDOM']['scrollLeft']=_0x5e2a20['xMargin']);}for(let _0x35ad5a of this['view']['state']['facet'](_0x33cca4))try{if(_0x35ad5a(this['view'],_0x5e2a20['range'],_0x5e2a20))return!0x0;}catch(_0x338bca){logException(this['view']['state'],_0x338bca,'scroll\x20handler');}let _0x15301e,{range:_0x1a3bbe}=_0x5e2a20,_0x408062=this['coordsAt'](_0x1a3bbe['head'],_0x1a3bbe['empty']?_0x1a3bbe['assoc']:_0x1a3bbe['head']>_0x1a3bbe['anchor']?-0x1:0x1);if(!_0x408062)return;!_0x1a3bbe['empty']&&(_0x15301e=this['coordsAt'](_0x1a3bbe['anchor'],_0x1a3bbe['anchor']>_0x1a3bbe['head']?-0x1:0x1))&&(_0x408062={'left':Math['min'](_0x408062['left'],_0x15301e['left']),'top':Math['min'](_0x408062['top'],_0x15301e['top']),'right':Math['max'](_0x408062['right'],_0x15301e['right']),'bottom':Math['max'](_0x408062['bottom'],_0x15301e['bottom'])});let _0xda83a0=getScrollMargins(this['view']),_0x5ad8f6={'left':_0x408062['left']-_0xda83a0['left'],'top':_0x408062['top']-_0xda83a0['top'],'right':_0x408062['right']+_0xda83a0['right'],'bottom':_0x408062['bottom']+_0xda83a0['bottom']},{offsetWidth:_0x2275e8,offsetHeight:_0x2d2d56}=this['view']['scrollDOM'];scrollRectIntoView(this['view']['scrollDOM'],_0x5ad8f6,_0x1a3bbe['head']<_0x1a3bbe['anchor']?-0x1:0x1,_0x5e2a20['x'],_0x5e2a20['y'],Math['max'](Math['min'](_0x5e2a20['xMargin'],_0x2275e8),-_0x2275e8),Math['max'](Math['min'](_0x5e2a20['yMargin'],_0x2d2d56),-_0x2d2d56),this['view']['textDirection']==Direction['LTR']);}}function betweenUneditable(_0x2b9e24){return 0x1==_0x2b9e24['node']['nodeType']&&_0x2b9e24['node']['firstChild']&&(0x0==_0x2b9e24['offset']||'false'==_0x2b9e24['node']['childNodes'][_0x2b9e24['offset']-0x1]['contentEditable'])&&(_0x2b9e24['offset']==_0x2b9e24['node']['childNodes']['length']||'false'==_0x2b9e24['node']['childNodes'][_0x2b9e24['offset']]['contentEditable']);}function findCompositionNode(_0x561a4e,_0x3186a9){let _0xc5b605=_0x561a4e['observer']['selectionRange'];if(!_0xc5b605['focusNode'])return null;let _0x11efac=textNodeBefore(_0xc5b605['focusNode'],_0xc5b605['focusOffset']),_0x4063d4=textNodeAfter(_0xc5b605['focusNode'],_0xc5b605['focusOffset']),_0x433a83=_0x11efac||_0x4063d4;if(_0x4063d4&&_0x11efac&&_0x4063d4['node']!=_0x11efac['node']){let _0x3c663f=ContentView['get'](_0x4063d4['node']);if(!_0x3c663f||_0x3c663f instanceof TextView&&_0x3c663f['text']!=_0x4063d4['node']['nodeValue'])_0x433a83=_0x4063d4;else{if(_0x561a4e['docView']['lastCompositionAfterCursor']){let _0x2ac560=ContentView['get'](_0x11efac['node']);!_0x2ac560||_0x2ac560 instanceof TextView&&_0x2ac560['text']!=_0x11efac['node']['nodeValue']||(_0x433a83=_0x4063d4);}}}if(_0x561a4e['docView']['lastCompositionAfterCursor']=_0x433a83!=_0x11efac,!_0x433a83)return null;let _0x1ce516=_0x3186a9-_0x433a83['offset'];return{'from':_0x1ce516,'to':_0x1ce516+_0x433a83['node']['nodeValue']['length'],'node':_0x433a83['node']};}function findCompositionRange(_0x4854e8,_0x55f769,_0x44caeb){let _0x42a208=findCompositionNode(_0x4854e8,_0x44caeb);if(!_0x42a208)return null;let {node:_0x1b174f,from:_0x59524b,to:_0x57b172}=_0x42a208,_0x564062=_0x1b174f['nodeValue'];if(/[\n\r]/['test'](_0x564062))return null;if(_0x4854e8['state']['doc']['sliceString'](_0x42a208['from'],_0x42a208['to'])!=_0x564062)return null;let _0x1ba947=_0x55f769['invertedDesc'],_0x39a71a=new _0x4eb499(_0x1ba947['mapPos'](_0x59524b),_0x1ba947['mapPos'](_0x57b172),_0x59524b,_0x57b172),_0x11537e=[];for(let _0x6f87b7=_0x1b174f['parentNode'];;_0x6f87b7=_0x6f87b7['parentNode']){let _0x4ae5be=ContentView['get'](_0x6f87b7);if(_0x4ae5be instanceof _0x4038b3)_0x11537e['push']({'node':_0x6f87b7,'deco':_0x4ae5be['mark']});else{if(_0x4ae5be instanceof _0x15d50f||'DIV'==_0x6f87b7['nodeName']&&_0x6f87b7['parentNode']==_0x4854e8['contentDOM'])return{'range':_0x39a71a,'text':_0x1b174f,'marks':_0x11537e,'line':_0x6f87b7};if(_0x6f87b7==_0x4854e8['contentDOM'])return null;_0x11537e['push']({'node':_0x6f87b7,'deco':new MarkDecoration({'inclusive':!0x0,'attributes':getAttrs$1(_0x6f87b7),'tagName':_0x6f87b7['tagName']['toLowerCase']()})});}}}function nextToUneditable(_0x1690f9,_0x19fbba){return 0x1!=_0x1690f9['nodeType']?0x0:(_0x19fbba&&'false'==_0x1690f9['childNodes'][_0x19fbba-0x1]['contentEditable']?0x1:0x0)|(_0x19fbba<_0x1690f9['childNodes']['length']&&'false'==_0x1690f9['childNodes'][_0x19fbba]['contentEditable']?0x2:0x0);}let DecorationComparator$1=class{constructor(){this['changes']=[];}['compareRange'](_0x4038ba,_0x419580){_0x1a71f0(_0x4038ba,_0x419580,this['changes']);}['comparePoint'](_0x2a4c41,_0x37cee0){_0x1a71f0(_0x2a4c41,_0x37cee0,this['changes']);}['boundChange'](_0x2679e6){_0x1a71f0(_0x2679e6,_0x2679e6,this['changes']);}};function _0x238595(_0x1ac4ab,_0x51d9c8,_0x1bef52){let _0x2f3aa7=new DecorationComparator$1();return RangeSet['compare'](_0x1ac4ab,_0x51d9c8,_0x1bef52,_0x2f3aa7),_0x2f3aa7['changes'];}function inUneditable(_0x279206,_0x5a4c30){for(let _0x3c31ec=_0x279206;_0x3c31ec&&_0x3c31ec!=_0x5a4c30;_0x3c31ec=_0x3c31ec['assignedSlot']||_0x3c31ec['parentNode'])if(0x1==_0x3c31ec['nodeType']&&'false'==_0x3c31ec['contentEditable'])return!0x0;return!0x1;}function touchesComposition(_0x4eed9a,_0x1bf00a){let _0x2e39b3=!0x1;return _0x1bf00a&&_0x4eed9a['iterChangedRanges']((_0x479711,_0x58d74b)=>{_0x479711<_0x1bf00a['to']&&_0x58d74b>_0x1bf00a['from']&&(_0x2e39b3=!0x0);}),_0x2e39b3;}function groupAt(_0x511b11,_0x3eed70,_0x23fb8c=0x1){let _0x4eef2f=_0x511b11['charCategorizer'](_0x3eed70),_0x612170=_0x511b11['doc']['lineAt'](_0x3eed70),_0x3bdac4=_0x3eed70-_0x612170['from'];if(0x0==_0x612170['length'])return EditorSelection['cursor'](_0x3eed70);0x0==_0x3bdac4?_0x23fb8c=0x1:_0x3bdac4==_0x612170['length']&&(_0x23fb8c=-0x1);let _0x17972b=_0x3bdac4,_0x798862=_0x3bdac4;_0x23fb8c<0x0?_0x17972b=findClusterBreak(_0x612170['text'],_0x3bdac4,!0x1):_0x798862=findClusterBreak(_0x612170['text'],_0x3bdac4);let _0x2cb82b=_0x4eef2f(_0x612170['text']['slice'](_0x17972b,_0x798862));for(;_0x17972b>0x0;){let _0x4cd39d=findClusterBreak(_0x612170['text'],_0x17972b,!0x1);if(_0x4eef2f(_0x612170['text']['slice'](_0x4cd39d,_0x17972b))!=_0x2cb82b)break;_0x17972b=_0x4cd39d;}for(;_0x798862<_0x612170['length'];){let _0x4eb7d5=findClusterBreak(_0x612170['text'],_0x798862);if(_0x4eef2f(_0x612170['text']['slice'](_0x798862,_0x4eb7d5))!=_0x2cb82b)break;_0x798862=_0x4eb7d5;}return EditorSelection['range'](_0x17972b+_0x612170['from'],_0x798862+_0x612170['from']);}function getdx(_0x130b08,_0x4ab071){return _0x4ab071['left']>_0x130b08?_0x4ab071['left']-_0x130b08:Math['max'](0x0,_0x130b08-_0x4ab071['right']);}function getdy(_0xc39e72,_0x3c0c1b){return _0x3c0c1b['top']>_0xc39e72?_0x3c0c1b['top']-_0xc39e72:Math['max'](0x0,_0xc39e72-_0x3c0c1b['bottom']);}function _0x46ef3a(_0x30f306,_0x573e09){return _0x30f306['top']<_0x573e09['bottom']-0x1&&_0x30f306['bottom']>_0x573e09['top']+0x1;}function _0x4a5099(_0x8c42d8,_0x5acb13){return _0x5acb13<_0x8c42d8['top']?{'top':_0x5acb13,'left':_0x8c42d8['left'],'right':_0x8c42d8['right'],'bottom':_0x8c42d8['bottom']}:_0x8c42d8;}function upBot(_0x379de6,_0x55ad72){return _0x55ad72>_0x379de6['bottom']?{'top':_0x379de6['top'],'left':_0x379de6['left'],'right':_0x379de6['right'],'bottom':_0x55ad72}:_0x379de6;}function domPosAtCoords(_0x48635c,_0x211024,_0x571137){let _0x45aefc,_0x57599d,_0x2f4952,_0x1af24c,_0x206f75,_0x3730b2,_0x8f07c4,_0x2af2d0,_0x18cac9=!0x1;for(let _0x175daa=_0x48635c['firstChild'];_0x175daa;_0x175daa=_0x175daa['nextSibling']){let _0x59283f=clientRectsFor(_0x175daa);for(let _0x24cb53=0x0;_0x24cb53<_0x59283f['length'];_0x24cb53++){let _0x1f7f40=_0x59283f[_0x24cb53];_0x57599d&&_0x46ef3a(_0x57599d,_0x1f7f40)&&(_0x1f7f40=_0x4a5099(upBot(_0x1f7f40,_0x57599d['bottom']),_0x57599d['top']));let _0x48ff68=getdx(_0x211024,_0x1f7f40),_0x1dd8a2=getdy(_0x571137,_0x1f7f40);if(0x0==_0x48ff68&&0x0==_0x1dd8a2)return 0x3==_0x175daa['nodeType']?domPosInText(_0x175daa,_0x211024,_0x571137):domPosAtCoords(_0x175daa,_0x211024,_0x571137);(!_0x45aefc||_0x1af24c>_0x1dd8a2||_0x1af24c==_0x1dd8a2&&_0x2f4952>_0x48ff68)&&(_0x45aefc=_0x175daa,_0x57599d=_0x1f7f40,_0x2f4952=_0x48ff68,_0x1af24c=_0x1dd8a2,_0x18cac9=!_0x48ff68||(_0x211024<_0x1f7f40['left']?_0x24cb53>0x0:_0x24cb53<_0x59283f['length']-0x1)),0x0==_0x48ff68?_0x571137>_0x1f7f40['bottom']&&(!_0x8f07c4||_0x8f07c4['bottom']<_0x1f7f40['bottom'])?(_0x206f75=_0x175daa,_0x8f07c4=_0x1f7f40):_0x571137<_0x1f7f40['top']&&(!_0x2af2d0||_0x2af2d0['top']>_0x1f7f40['top'])&&(_0x3730b2=_0x175daa,_0x2af2d0=_0x1f7f40):_0x8f07c4&&_0x46ef3a(_0x8f07c4,_0x1f7f40)?_0x8f07c4=upBot(_0x8f07c4,_0x1f7f40['bottom']):_0x2af2d0&&_0x46ef3a(_0x2af2d0,_0x1f7f40)&&(_0x2af2d0=_0x4a5099(_0x2af2d0,_0x1f7f40['top']));}}if(_0x8f07c4&&_0x8f07c4['bottom']>=_0x571137?(_0x45aefc=_0x206f75,_0x57599d=_0x8f07c4):_0x2af2d0&&_0x2af2d0['top']<=_0x571137&&(_0x45aefc=_0x3730b2,_0x57599d=_0x2af2d0),!_0x45aefc)return{'node':_0x48635c,'offset':0x0};let _0x49edfc=Math['max'](_0x57599d['left'],Math['min'](_0x57599d['right'],_0x211024));return 0x3==_0x45aefc['nodeType']?domPosInText(_0x45aefc,_0x49edfc,_0x571137):_0x18cac9&&'false'!=_0x45aefc['contentEditable']?domPosAtCoords(_0x45aefc,_0x49edfc,_0x571137):{'node':_0x48635c,'offset':Array['prototype']['indexOf']['call'](_0x48635c['childNodes'],_0x45aefc)+(_0x211024>=(_0x57599d['left']+_0x57599d['right'])/0x2?0x1:0x0)};}function domPosInText(_0x2c33f2,_0x33ee7a,_0x1d0d3c){let _0x472d58=_0x2c33f2['nodeValue']['length'],_0x2e2b35=-0x1,_0x3df05e=0x3b9aca00,_0x4c74f6=0x0;for(let _0x239632=0x0;_0x239632<_0x472d58;_0x239632++){let _0x1c6f2b=textRange(_0x2c33f2,_0x239632,_0x239632+0x1)['getClientRects']();for(let _0x26b70c=0x0;_0x26b70c<_0x1c6f2b['length'];_0x26b70c++){let _0x45092e=_0x1c6f2b[_0x26b70c];if(_0x45092e['top']==_0x45092e['bottom'])continue;_0x4c74f6||(_0x4c74f6=_0x33ee7a-_0x45092e['left']);let _0x5754d6=(_0x45092e['top']>_0x1d0d3c?_0x45092e['top']-_0x1d0d3c:_0x1d0d3c-_0x45092e['bottom'])-0x1;if(_0x45092e['left']-0x1<=_0x33ee7a&&_0x45092e['right']+0x1>=_0x33ee7a&&_0x5754d6<_0x3df05e){let _0x7eb33d=_0x33ee7a>=(_0x45092e['left']+_0x45092e['right'])/0x2,_0x57d43a=_0x7eb33d;(_0x53f368['chrome']||_0x53f368['gecko'])&&(textRange(_0x2c33f2,_0x239632)['getBoundingClientRect']()['left']==_0x45092e['right']&&(_0x57d43a=!_0x7eb33d));if(_0x5754d6<=0x0)return{'node':_0x2c33f2,'offset':_0x239632+(_0x57d43a?0x1:0x0)};_0x2e2b35=_0x239632+(_0x57d43a?0x1:0x0),_0x3df05e=_0x5754d6;}}}return{'node':_0x2c33f2,'offset':_0x2e2b35>-0x1?_0x2e2b35:_0x4c74f6>0x0?_0x2c33f2['nodeValue']['length']:0x0};}function posAtCoords(_0x4bf18f,_0x44cd2e,_0x45de5f,_0x2b8f73=-0x1){var _0x79c4f0,_0x586f12;let _0x32d825,_0xd25369=_0x4bf18f['contentDOM']['getBoundingClientRect'](),_0x37a153=_0xd25369['top']+_0x4bf18f['viewState']['paddingTop'],{docHeight:_0x45a1de}=_0x4bf18f['viewState'],{x:_0x1f1252,y:_0x32bc1e}=_0x44cd2e,_0x340039=_0x32bc1e-_0x37a153;if(_0x340039<0x0)return 0x0;if(_0x340039>_0x45a1de)return _0x4bf18f['state']['doc']['length'];for(let _0x382dcd=_0x4bf18f['viewState']['heightOracle']['textHeight']/0x2,_0x1256da=!0x1;_0x32d825=_0x4bf18f['elementAtHeight'](_0x340039),_0x32d825['type']!=_0x516d37['Text'];)for(;_0x340039=_0x2b8f73>0x0?_0x32d825['bottom']+_0x382dcd:_0x32d825['top']-_0x382dcd,!(_0x340039>=0x0&&_0x340039<=_0x45a1de);){if(_0x1256da)return _0x45de5f?null:0x0;_0x1256da=!0x0,_0x2b8f73=-_0x2b8f73;}_0x32bc1e=_0x37a153+_0x340039;let _0xdcfdd0=_0x32d825['from'];if(_0xdcfdd0<_0x4bf18f['viewport']['from'])return 0x0==_0x4bf18f['viewport']['from']?0x0:_0x45de5f?null:posAtCoordsImprecise(_0x4bf18f,_0xd25369,_0x32d825,_0x1f1252,_0x32bc1e);if(_0xdcfdd0>_0x4bf18f['viewport']['to'])return _0x4bf18f['viewport']['to']==_0x4bf18f['state']['doc']['length']?_0x4bf18f['state']['doc']['length']:_0x45de5f?null:posAtCoordsImprecise(_0x4bf18f,_0xd25369,_0x32d825,_0x1f1252,_0x32bc1e);let _0x3d4525=_0x4bf18f['dom']['ownerDocument'],_0xcdfe9a=_0x4bf18f['root']['elementFromPoint']?_0x4bf18f['root']:_0x3d4525,_0xf8fd01=_0xcdfe9a['elementFromPoint'](_0x1f1252,_0x32bc1e);_0xf8fd01&&!_0x4bf18f['contentDOM']['contains'](_0xf8fd01)&&(_0xf8fd01=null),_0xf8fd01||(_0x1f1252=Math['max'](_0xd25369['left']+0x1,Math['min'](_0xd25369['right']-0x1,_0x1f1252)),_0xf8fd01=_0xcdfe9a['elementFromPoint'](_0x1f1252,_0x32bc1e),_0xf8fd01&&!_0x4bf18f['contentDOM']['contains'](_0xf8fd01)&&(_0xf8fd01=null));let _0x2a23fc,_0x4a268c=-0x1;if(_0xf8fd01&&0x0!=(null===(_0x79c4f0=_0x4bf18f['docView']['nearest'](_0xf8fd01))||void 0x0===_0x79c4f0?void 0x0:_0x79c4f0['isEditable'])){if(_0x3d4525['caretPositionFromPoint']){let _0x72d424=_0x3d4525['caretPositionFromPoint'](_0x1f1252,_0x32bc1e);_0x72d424&&({offsetNode:_0x2a23fc,offset:_0x4a268c}=_0x72d424);}else{if(_0x3d4525['caretRangeFromPoint']){let _0x5a5ef9=_0x3d4525['caretRangeFromPoint'](_0x1f1252,_0x32bc1e);_0x5a5ef9&&({startContainer:_0x2a23fc,startOffset:_0x4a268c}=_0x5a5ef9);}}_0x2a23fc&&(!_0x4bf18f['contentDOM']['contains'](_0x2a23fc)||_0x53f368['safari']&&isSuspiciousSafariCaretResult(_0x2a23fc,_0x4a268c,_0x1f1252)||_0x53f368['chrome']&&isSuspiciousChromeCaretResult(_0x2a23fc,_0x4a268c,_0x1f1252))&&(_0x2a23fc=void 0x0),_0x2a23fc&&(_0x4a268c=Math['min'](maxOffset(_0x2a23fc),_0x4a268c));}if(!_0x2a23fc||!_0x4bf18f['docView']['dom']['contains'](_0x2a23fc)){let _0x11bf5b=_0x15d50f['find'](_0x4bf18f['docView'],_0xdcfdd0);if(!_0x11bf5b)return _0x340039>_0x32d825['top']+_0x32d825['height']/0x2?_0x32d825['to']:_0x32d825['from'];({node:_0x2a23fc,offset:_0x4a268c}=domPosAtCoords(_0x11bf5b['dom'],_0x1f1252,_0x32bc1e));}let _0x1df284=_0x4bf18f['docView']['nearest'](_0x2a23fc);if(!_0x1df284)return null;if(_0x1df284['isWidget']&&0x1==(null===(_0x586f12=_0x1df284['dom'])||void 0x0===_0x586f12?void 0x0:_0x586f12['nodeType'])){let _0x162b5c=_0x1df284['dom']['getBoundingClientRect']();return _0x44cd2e['y']<_0x162b5c['top']||_0x44cd2e['y']<=_0x162b5c['bottom']&&_0x44cd2e['x']<=(_0x162b5c['left']+_0x162b5c['right'])/0x2?_0x1df284['posAtStart']:_0x1df284['posAtEnd'];}return _0x1df284['localPosFromDOM'](_0x2a23fc,_0x4a268c)+_0x1df284['posAtStart'];}function posAtCoordsImprecise(_0x3dc931,_0x218207,_0x2f47d5,_0xb9f6f4,_0x4d84b5){let _0x4ac5b7=Math['round']((_0xb9f6f4-_0x218207['left'])*_0x3dc931['defaultCharacterWidth']);if(_0x3dc931['lineWrapping']&&_0x2f47d5['height']>1.5*_0x3dc931['defaultLineHeight']){let _0x42b18b=_0x3dc931['viewState']['heightOracle']['textHeight'];_0x4ac5b7+=Math['floor']((_0x4d84b5-_0x2f47d5['top']-0.5*(_0x3dc931['defaultLineHeight']-_0x42b18b))/_0x42b18b)*_0x3dc931['viewState']['heightOracle']['lineLength'];}let _0x2415d7=_0x3dc931['state']['sliceDoc'](_0x2f47d5['from'],_0x2f47d5['to']);return _0x2f47d5['from']+_0x3f3917(_0x2415d7,_0x4ac5b7,_0x3dc931['state']['tabSize']);}function _0xc04c01(_0x12d275,_0x4170a1,_0x1375c7){let _0x502134,_0x5e320d=_0x12d275;if(0x3!=_0x12d275['nodeType']||_0x4170a1!=(_0x502134=_0x12d275['nodeValue']['length']))return!0x1;for(;;){let _0x105b03=_0x5e320d['nextSibling'];if(_0x105b03){if('BR'==_0x105b03['nodeName'])break;return!0x1;}{let _0x448329=_0x5e320d['parentNode'];if(!_0x448329||'DIV'==_0x448329['nodeName'])break;_0x5e320d=_0x448329;}}return textRange(_0x12d275,_0x502134-0x1,_0x502134)['getBoundingClientRect']()['right']>_0x1375c7;}function isSuspiciousSafariCaretResult(_0x25fed3,_0x538b10,_0x3b2a32){return _0xc04c01(_0x25fed3,_0x538b10,_0x3b2a32);}function isSuspiciousChromeCaretResult(_0x21f813,_0x5bc1a1,_0x5f3ce6){if(0x0!=_0x5bc1a1)return _0xc04c01(_0x21f813,_0x5bc1a1,_0x5f3ce6);for(let _0x2d52c4=_0x21f813;;){let _0x2a15de=_0x2d52c4['parentNode'];if(!_0x2a15de||0x1!=_0x2a15de['nodeType']||_0x2a15de['firstChild']!=_0x2d52c4)return!0x1;if(_0x2a15de['classList']['contains']('cm-line'))break;_0x2d52c4=_0x2a15de;}return _0x5f3ce6-(0x1==_0x21f813['nodeType']?_0x21f813['getBoundingClientRect']():textRange(_0x21f813,0x0,Math['max'](_0x21f813['nodeValue']['length'],0x1))['getBoundingClientRect']())['left']>0x5;}function blockAt(_0x5bc715,_0x1e5058,_0x547ea9){let _0x5c7110=_0x5bc715['lineBlockAt'](_0x1e5058);if(Array['isArray'](_0x5c7110['type'])){let _0x27c797;for(let _0x180304 of _0x5c7110['type']){if(_0x180304['from']>_0x1e5058)break;if(!(_0x180304['to']<_0x1e5058)){if(_0x180304['from']<_0x1e5058&&_0x180304['to']>_0x1e5058)return _0x180304;_0x27c797&&(_0x180304['type']!=_0x516d37['Text']||_0x27c797['type']==_0x180304['type']&&!(_0x547ea9<0x0?_0x180304['from']<_0x1e5058:_0x180304['to']>_0x1e5058))||(_0x27c797=_0x180304);}}return _0x27c797||_0x5c7110;}return _0x5c7110;}function _0x2c4617(_0x1bd0cd,_0x334166,_0xc05fc7,_0x582e84){let _0x5c531c=blockAt(_0x1bd0cd,_0x334166['head'],_0x334166['assoc']||-0x1),_0xddc336=_0x582e84&&_0x5c531c['type']==_0x516d37['Text']&&(_0x1bd0cd['lineWrapping']||_0x5c531c['widgetLineBreaks'])?_0x1bd0cd['coordsAtPos'](_0x334166['assoc']<0x0&&_0x334166['head']>_0x5c531c['from']?_0x334166['head']-0x1:_0x334166['head']):null;if(_0xddc336){let _0x23212c=_0x1bd0cd['dom']['getBoundingClientRect'](),_0x1c74f9=_0x1bd0cd['textDirectionAt'](_0x5c531c['from']),_0x927b40=_0x1bd0cd['posAtCoords']({'x':_0xc05fc7==(_0x1c74f9==Direction['LTR'])?_0x23212c['right']-0x1:_0x23212c['left']+0x1,'y':(_0xddc336['top']+_0xddc336['bottom'])/0x2});if(null!=_0x927b40)return EditorSelection['cursor'](_0x927b40,_0xc05fc7?-0x1:0x1);}return EditorSelection['cursor'](_0xc05fc7?_0x5c531c['to']:_0x5c531c['from'],_0xc05fc7?-0x1:0x1);}function _0x476ff5(_0x52b24d,_0x571c7d,_0x177816,_0x1af367){let _0x5510a4=_0x52b24d['state']['doc']['lineAt'](_0x571c7d['head']),_0x4602fe=_0x52b24d['bidiSpans'](_0x5510a4),_0x4f89bd=_0x52b24d['textDirectionAt'](_0x5510a4['from']);for(let _0x1ab70d=_0x571c7d,_0x209bb0=null;;){let _0x334a79=_0xb6512d(_0x5510a4,_0x4602fe,_0x4f89bd,_0x1ab70d,_0x177816),_0x220ea7=_0x447b8f;if(!_0x334a79){if(_0x5510a4['number']==(_0x177816?_0x52b24d['state']['doc']['lines']:0x1))return _0x1ab70d;_0x220ea7='\x0a',_0x5510a4=_0x52b24d['state']['doc']['line'](_0x5510a4['number']+(_0x177816?0x1:-0x1)),_0x4602fe=_0x52b24d['bidiSpans'](_0x5510a4),_0x334a79=_0x52b24d['visualLineSide'](_0x5510a4,!_0x177816);}if(_0x209bb0){if(!_0x209bb0(_0x220ea7))return _0x1ab70d;}else{if(!_0x1af367)return _0x334a79;_0x209bb0=_0x1af367(_0x220ea7);}_0x1ab70d=_0x334a79;}}function _0x59bd6f(_0x43bc4b,_0xa98bfa,_0x36b1a7){let _0x238747=_0x43bc4b['state']['charCategorizer'](_0xa98bfa),_0x1f868c=_0x238747(_0x36b1a7);return _0x391d04=>{let _0x3cc417=_0x238747(_0x391d04);return _0x1f868c==CharCategory['Space']&&(_0x1f868c=_0x3cc417),_0x1f868c==_0x3cc417;};}function moveVertically(_0x1a3fe4,_0x47ade8,_0x1fc87f,_0x4c6033){let _0x4a17e4=_0x47ade8['head'],_0x509e43=_0x1fc87f?0x1:-0x1;if(_0x4a17e4==(_0x1fc87f?_0x1a3fe4['state']['doc']['length']:0x0))return EditorSelection['cursor'](_0x4a17e4,_0x47ade8['assoc']);let _0x255c78,_0x496524=_0x47ade8['goalColumn'],_0x7fc5b7=_0x1a3fe4['contentDOM']['getBoundingClientRect'](),_0x302f1a=_0x1a3fe4['coordsAtPos'](_0x4a17e4,_0x47ade8['assoc']||-0x1),_0x367e86=_0x1a3fe4['documentTop'];if(_0x302f1a)null==_0x496524&&(_0x496524=_0x302f1a['left']-_0x7fc5b7['left']),_0x255c78=_0x509e43<0x0?_0x302f1a['top']:_0x302f1a['bottom'];else{let _0xc180be=_0x1a3fe4['viewState']['lineBlockAt'](_0x4a17e4);null==_0x496524&&(_0x496524=Math['min'](_0x7fc5b7['right']-_0x7fc5b7['left'],_0x1a3fe4['defaultCharacterWidth']*(_0x4a17e4-_0xc180be['from']))),_0x255c78=(_0x509e43<0x0?_0xc180be['top']:_0xc180be['bottom'])+_0x367e86;}let _0x42b7c7=_0x7fc5b7['left']+_0x496524,_0x23e7e2=null!=_0x4c6033?_0x4c6033:_0x1a3fe4['viewState']['heightOracle']['textHeight']>>0x1;for(let _0x48e514=0x0;;_0x48e514+=0xa){let _0x206a5b=_0x255c78+(_0x23e7e2+_0x48e514)*_0x509e43,_0x491cd6=posAtCoords(_0x1a3fe4,{'x':_0x42b7c7,'y':_0x206a5b},!0x1,_0x509e43);if(_0x206a5b<_0x7fc5b7['top']||_0x206a5b>_0x7fc5b7['bottom']||(_0x509e43<0x0?_0x491cd6<_0x4a17e4:_0x491cd6>_0x4a17e4)){let _0x5f235f=_0x1a3fe4['docView']['coordsForChar'](_0x491cd6),_0x33ae23=!_0x5f235f||_0x206a5b<_0x5f235f['top']?-0x1:0x1;return EditorSelection['cursor'](_0x491cd6,_0x33ae23,void 0x0,_0x496524);}}}function skipAtomicRanges(_0x4e8680,_0x567115,_0x1191e2){for(;;){let _0x4fb675=0x0;for(let _0x346904 of _0x4e8680)_0x346904['between'](_0x567115-0x1,_0x567115+0x1,(_0x58ee19,_0x48d87c,_0x1ba093)=>{if(_0x567115>_0x58ee19&&_0x567115<_0x48d87c){let _0x3fc9d1=_0x4fb675||_0x1191e2||(_0x567115-_0x58ee19<_0x48d87c-_0x567115?-0x1:0x1);_0x567115=_0x3fc9d1<0x0?_0x58ee19:_0x48d87c,_0x4fb675=_0x3fc9d1;}});if(!_0x4fb675)return _0x567115;}}function skipAtomsForSelection(_0x310047,_0x5ab4b4){let _0x4697c3=null;for(let _0x4e96d3=0x0;_0x4e96d3<_0x5ab4b4['ranges']['length'];_0x4e96d3++){let _0x34f006=_0x5ab4b4['ranges'][_0x4e96d3],_0xd8eed8=null;if(_0x34f006['empty']){let _0x104793=skipAtomicRanges(_0x310047,_0x34f006['from'],0x0);_0x104793!=_0x34f006['from']&&(_0xd8eed8=EditorSelection['cursor'](_0x104793,-0x1));}else{let _0x271909=skipAtomicRanges(_0x310047,_0x34f006['from'],-0x1),_0x739a81=skipAtomicRanges(_0x310047,_0x34f006['to'],0x1);_0x271909==_0x34f006['from']&&_0x739a81==_0x34f006['to']||(_0xd8eed8=EditorSelection['range'](_0x34f006['from']==_0x34f006['anchor']?_0x271909:_0x739a81,_0x34f006['from']==_0x34f006['head']?_0x271909:_0x739a81));}_0xd8eed8&&(_0x4697c3||(_0x4697c3=_0x5ab4b4['ranges']['slice']()),_0x4697c3[_0x4e96d3]=_0xd8eed8);}return _0x4697c3?EditorSelection['create'](_0x4697c3,_0x5ab4b4['mainIndex']):_0x5ab4b4;}function skipAtoms(_0x2cf858,_0x517974,_0x2a67f5){let _0x26835c=skipAtomicRanges(_0x2cf858['state']['facet'](atomicRanges)['map'](_0x2dcf7c=>_0x2dcf7c(_0x2cf858)),_0x2a67f5['from'],_0x517974['head']>_0x2a67f5['from']?-0x1:0x1);return _0x26835c==_0x2a67f5['from']?_0x2a67f5:EditorSelection['cursor'](_0x26835c,_0x26835c<_0x2a67f5['from']?0x1:-0x1);}const _0x21367e='';class _0xe4a8d1{constructor(_0x1c2c62,_0x557aeb){this['points']=_0x1c2c62,this['text']='',this['lineSeparator']=_0x557aeb['facet'](EditorState['lineSeparator']);}['append'](_0x42a032){this['text']+=_0x42a032;}['lineBreak'](){this['text']+=_0x21367e;}['readRange'](_0x10a2c4,_0x4db2ae){if(!_0x10a2c4)return this;let _0x67095f=_0x10a2c4['parentNode'];for(let _0x2d633b=_0x10a2c4;;){this['findPointBefore'](_0x67095f,_0x2d633b);let _0xebc1e=this['text']['length'];this['readNode'](_0x2d633b);let _0x403710=_0x2d633b['nextSibling'];if(_0x403710==_0x4db2ae)break;let _0x174665=ContentView['get'](_0x2d633b),_0x40ab9a=ContentView['get'](_0x403710);(_0x174665&&_0x40ab9a?_0x174665['breakAfter']:(_0x174665?_0x174665['breakAfter']:isBlockElement(_0x2d633b))||isBlockElement(_0x403710)&&('BR'!=_0x2d633b['nodeName']||_0x2d633b['cmIgnore'])&&this['text']['length']>_0xebc1e)&&!isEmptyToEnd(_0x403710,_0x4db2ae)&&this['lineBreak'](),_0x2d633b=_0x403710;}return this['findPointBefore'](_0x67095f,_0x4db2ae),this;}['readTextNode'](_0x153ff5){let _0x593747=_0x153ff5['nodeValue'];for(let _0x284f7c of this['points'])_0x284f7c['node']==_0x153ff5&&(_0x284f7c['pos']=this['text']['length']+Math['min'](_0x284f7c['offset'],_0x593747['length']));for(let _0x37426a=0x0,_0x39a81e=this['lineSeparator']?null:/\r\n?|\n/g;;){let _0x400ca4,_0x11b4f9=-0x1,_0x3200f2=0x1;if(this['lineSeparator']?(_0x11b4f9=_0x593747['indexOf'](this['lineSeparator'],_0x37426a),_0x3200f2=this['lineSeparator']['length']):(_0x400ca4=_0x39a81e['exec'](_0x593747))&&(_0x11b4f9=_0x400ca4['index'],_0x3200f2=_0x400ca4[0x0]['length']),this['append'](_0x593747['slice'](_0x37426a,_0x11b4f9<0x0?_0x593747['length']:_0x11b4f9)),_0x11b4f9<0x0)break;if(this['lineBreak'](),_0x3200f2>0x1){for(let _0x2a3f4e of this['points'])_0x2a3f4e['node']==_0x153ff5&&_0x2a3f4e['pos']>this['text']['length']&&(_0x2a3f4e['pos']-=_0x3200f2-0x1);}_0x37426a=_0x11b4f9+_0x3200f2;}}['readNode'](_0x11310d){if(_0x11310d['cmIgnore'])return;let _0x24cccc=ContentView['get'](_0x11310d),_0x19161f=_0x24cccc&&_0x24cccc['overrideDOMText'];if(null!=_0x19161f){this['findPointInside'](_0x11310d,_0x19161f['length']);for(let _0xd4e3f7=_0x19161f['iter']();!_0xd4e3f7['next']()['done'];)_0xd4e3f7['lineBreak']?this['lineBreak']():this['append'](_0xd4e3f7['value']);}else 0x3==_0x11310d['nodeType']?this['readTextNode'](_0x11310d):'BR'==_0x11310d['nodeName']?_0x11310d['nextSibling']&&this['lineBreak']():0x1==_0x11310d['nodeType']&&this['readRange'](_0x11310d['firstChild'],null);}['findPointBefore'](_0xb0e81f,_0x31f05d){for(let _0x45e4bb of this['points'])_0x45e4bb['node']==_0xb0e81f&&_0xb0e81f['childNodes'][_0x45e4bb['offset']]==_0x31f05d&&(_0x45e4bb['pos']=this['text']['length']);}['findPointInside'](_0x39c77d,_0x325ed8){for(let _0x16e834 of this['points'])(0x3==_0x39c77d['nodeType']?_0x16e834['node']==_0x39c77d:_0x39c77d['contains'](_0x16e834['node']))&&(_0x16e834['pos']=this['text']['length']+(isAtEnd(_0x39c77d,_0x16e834['node'],_0x16e834['offset'])?_0x325ed8:0x0));}}function isAtEnd(_0x5dfa48,_0x1feabb,_0x3f264a){for(;;){if(!_0x1feabb||_0x3f264a<maxOffset(_0x1feabb))return!0x1;if(_0x1feabb==_0x5dfa48)return!0x0;_0x3f264a=_0x12dac3(_0x1feabb)+0x1,_0x1feabb=_0x1feabb['parentNode'];}}function isEmptyToEnd(_0x56c2e0,_0x398ad5){let _0x10bcbc;for(;_0x56c2e0!=_0x398ad5&&_0x56c2e0;_0x56c2e0=_0x56c2e0['nextSibling']){let _0x1c5467=ContentView['get'](_0x56c2e0);if(!(null==_0x1c5467?void 0x0:_0x1c5467['isWidget'])&&!_0x56c2e0['cmIgnore'])return!0x1;_0x1c5467&&(_0x10bcbc||(_0x10bcbc=[]))['push'](_0x1c5467);}if(_0x10bcbc)for(let _0x54040a of _0x10bcbc){let _0x3aa330=_0x54040a['overrideDOMText'];if(null==_0x3aa330?void 0x0:_0x3aa330['length'])return!0x1;}return!0x0;}class DOMPoint{constructor(_0x5b128d,_0x1b61c1){this['node']=_0x5b128d,this['offset']=_0x1b61c1,this['pos']=-0x1;}}class _0xa67ed6{constructor(_0x56a1ac,_0x2ba819,_0x45705e,_0x3e7d0f){this['typeOver']=_0x3e7d0f,this['bounds']=null,this['text']='',this['domChanged']=_0x2ba819>-0x1;let {impreciseHead:_0x31b423,impreciseAnchor:_0x52b19c}=_0x56a1ac['docView'];if(_0x56a1ac['state']['readOnly']&&_0x2ba819>-0x1)this['newSel']=null;else{if(_0x2ba819>-0x1&&(this['bounds']=_0x56a1ac['docView']['domBoundsAround'](_0x2ba819,_0x45705e,0x0))){let _0x5d0b8b=_0x31b423||_0x52b19c?[]:selectionPoints(_0x56a1ac),_0x5f3338=new _0xe4a8d1(_0x5d0b8b,_0x56a1ac['state']);_0x5f3338['readRange'](this['bounds']['startDOM'],this['bounds']['endDOM']),this['text']=_0x5f3338['text'],this['newSel']=selectionFromPoints(_0x5d0b8b,this['bounds']['from']);}else{let _0x4faaef=_0x56a1ac['observer']['selectionRange'],_0x7f5fbc=_0x31b423&&_0x31b423['node']==_0x4faaef['focusNode']&&_0x31b423['offset']==_0x4faaef['focusOffset']||!contains(_0x56a1ac['contentDOM'],_0x4faaef['focusNode'])?_0x56a1ac['state']['selection']['main']['head']:_0x56a1ac['docView']['posFromDOM'](_0x4faaef['focusNode'],_0x4faaef['focusOffset']),_0x26e955=_0x52b19c&&_0x52b19c['node']==_0x4faaef['anchorNode']&&_0x52b19c['offset']==_0x4faaef['anchorOffset']||!contains(_0x56a1ac['contentDOM'],_0x4faaef['anchorNode'])?_0x56a1ac['state']['selection']['main']['anchor']:_0x56a1ac['docView']['posFromDOM'](_0x4faaef['anchorNode'],_0x4faaef['anchorOffset']),_0x23f469=_0x56a1ac['viewport'];if((_0x53f368['ios']||_0x53f368['chrome'])&&_0x56a1ac['state']['selection']['main']['empty']&&_0x7f5fbc!=_0x26e955&&(_0x23f469['from']>0x0||_0x23f469['to']<_0x56a1ac['state']['doc']['length'])){let _0x2bd737=Math['min'](_0x7f5fbc,_0x26e955),_0x15f704=Math['max'](_0x7f5fbc,_0x26e955),_0x33473b=_0x23f469['from']-_0x2bd737,_0x1d3c40=_0x23f469['to']-_0x15f704;0x0!=_0x33473b&&0x1!=_0x33473b&&0x0!=_0x2bd737||0x0!=_0x1d3c40&&-0x1!=_0x1d3c40&&_0x15f704!=_0x56a1ac['state']['doc']['length']||(_0x7f5fbc=0x0,_0x26e955=_0x56a1ac['state']['doc']['length']);}this['newSel']=EditorSelection['single'](_0x26e955,_0x7f5fbc);}}}}function _0x1abbd2(_0x37cc58,_0x67f116){let _0xb17bc7,{newSel:_0x3bec5f}=_0x67f116,_0x45419f=_0x37cc58['state']['selection']['main'],_0x9d31a8=_0x37cc58['inputState']['lastKeyTime']>Date['now']()-0x64?_0x37cc58['inputState']['lastKeyCode']:-0x1;if(_0x67f116['bounds']){let {from:_0x40cd32,to:_0x525212}=_0x67f116['bounds'],_0x5df05f=_0x45419f['from'],_0xfad787=null;(0x8===_0x9d31a8||_0x53f368['android']&&_0x67f116['text']['length']<_0x525212-_0x40cd32)&&(_0x5df05f=_0x45419f['to'],_0xfad787='end');let _0x537e28=_0xcd1672(_0x37cc58['state']['doc']['sliceString'](_0x40cd32,_0x525212,_0x21367e),_0x67f116['text'],_0x5df05f-_0x40cd32,_0xfad787);_0x537e28&&(_0x53f368['chrome']&&0xd==_0x9d31a8&&_0x537e28['toB']==_0x537e28['from']+0x2&&_0x67f116['text']['slice'](_0x537e28['from'],_0x537e28['toB'])==_0x21367e+_0x21367e&&_0x537e28['toB']--,_0xb17bc7={'from':_0x40cd32+_0x537e28['from'],'to':_0x40cd32+_0x537e28['toA'],'insert':Text$1['of'](_0x67f116['text']['slice'](_0x537e28['from'],_0x537e28['toB'])['split'](_0x21367e))});}else _0x3bec5f&&(!_0x37cc58['hasFocus']&&_0x37cc58['state']['facet'](editable)||_0x3bec5f['main']['eq'](_0x45419f))&&(_0x3bec5f=null);if(!_0xb17bc7&&!_0x3bec5f)return!0x1;if(!_0xb17bc7&&_0x67f116['typeOver']&&!_0x45419f['empty']&&_0x3bec5f&&_0x3bec5f['main']['empty']?_0xb17bc7={'from':_0x45419f['from'],'to':_0x45419f['to'],'insert':_0x37cc58['state']['doc']['slice'](_0x45419f['from'],_0x45419f['to'])}:(_0x53f368['mac']||_0x53f368['android'])&&_0xb17bc7&&_0xb17bc7['from']==_0xb17bc7['to']&&_0xb17bc7['from']==_0x45419f['head']-0x1&&/^\. ?$/['test'](_0xb17bc7['insert']['toString']())&&'off'==_0x37cc58['contentDOM']['getAttribute']('autocorrect')?(_0x3bec5f&&0x2==_0xb17bc7['insert']['length']&&(_0x3bec5f=EditorSelection['single'](_0x3bec5f['main']['anchor']-0x1,_0x3bec5f['main']['head']-0x1)),_0xb17bc7={'from':_0xb17bc7['from'],'to':_0xb17bc7['to'],'insert':Text$1['of']([_0xb17bc7['insert']['toString']()['replace']('.','\x20')])}):_0xb17bc7&&_0xb17bc7['from']>=_0x45419f['from']&&_0xb17bc7['to']<=_0x45419f['to']&&(_0xb17bc7['from']!=_0x45419f['from']||_0xb17bc7['to']!=_0x45419f['to'])&&_0x45419f['to']-_0x45419f['from']-(_0xb17bc7['to']-_0xb17bc7['from'])<=0x4?_0xb17bc7={'from':_0x45419f['from'],'to':_0x45419f['to'],'insert':_0x37cc58['state']['doc']['slice'](_0x45419f['from'],_0xb17bc7['from'])['append'](_0xb17bc7['insert'])['append'](_0x37cc58['state']['doc']['slice'](_0xb17bc7['to'],_0x45419f['to']))}:_0x53f368['chrome']&&_0xb17bc7&&_0xb17bc7['from']==_0xb17bc7['to']&&_0xb17bc7['from']==_0x45419f['head']&&'\x0a\x20'==_0xb17bc7['insert']['toString']()&&_0x37cc58['lineWrapping']&&(_0x3bec5f&&(_0x3bec5f=EditorSelection['single'](_0x3bec5f['main']['anchor']-0x1,_0x3bec5f['main']['head']-0x1)),_0xb17bc7={'from':_0x45419f['from'],'to':_0x45419f['to'],'insert':Text$1['of'](['\x20'])}),_0xb17bc7)return _0x177154(_0x37cc58,_0xb17bc7,_0x3bec5f,_0x9d31a8);if(_0x3bec5f&&!_0x3bec5f['main']['eq'](_0x45419f)){let _0x2fd4bd=!0x1,_0x10b8e7='select';return _0x37cc58['inputState']['lastSelectionTime']>Date['now']()-0x32&&('select'==_0x37cc58['inputState']['lastSelectionOrigin']&&(_0x2fd4bd=!0x0),_0x10b8e7=_0x37cc58['inputState']['lastSelectionOrigin'],'select.pointer'==_0x10b8e7&&(_0x3bec5f=skipAtomsForSelection(_0x37cc58['state']['facet'](atomicRanges)['map'](_0x4c8af5=>_0x4c8af5(_0x37cc58)),_0x3bec5f))),_0x37cc58['dispatch']({'selection':_0x3bec5f,'scrollIntoView':_0x2fd4bd,'userEvent':_0x10b8e7}),!0x0;}return!0x1;}function _0x177154(_0x455e5b,_0x241d9e,_0x31c4b9,_0x567ec2=-0x1){if(_0x53f368['ios']&&_0x455e5b['inputState']['flushIOSKey'](_0x241d9e))return!0x0;let _0x5ee334=_0x455e5b['state']['selection']['main'];if(_0x53f368['android']&&(_0x241d9e['to']==_0x5ee334['to']&&(_0x241d9e['from']==_0x5ee334['from']||_0x241d9e['from']==_0x5ee334['from']-0x1&&'\x20'==_0x455e5b['state']['sliceDoc'](_0x241d9e['from'],_0x5ee334['from']))&&0x1==_0x241d9e['insert']['length']&&0x2==_0x241d9e['insert']['lines']&&dispatchKey(_0x455e5b['contentDOM'],'Enter',0xd)||(_0x241d9e['from']==_0x5ee334['from']-0x1&&_0x241d9e['to']==_0x5ee334['to']&&0x0==_0x241d9e['insert']['length']||0x8==_0x567ec2&&_0x241d9e['insert']['length']<_0x241d9e['to']-_0x241d9e['from']&&_0x241d9e['to']>_0x5ee334['head'])&&dispatchKey(_0x455e5b['contentDOM'],'Backspace',0x8)||_0x241d9e['from']==_0x5ee334['from']&&_0x241d9e['to']==_0x5ee334['to']+0x1&&0x0==_0x241d9e['insert']['length']&&dispatchKey(_0x455e5b['contentDOM'],'Delete',0x2e)))return!0x0;let _0x382ece,_0x2204d6=_0x241d9e['insert']['toString']();_0x455e5b['inputState']['composing']>=0x0&&_0x455e5b['inputState']['composing']++;let _0x39d3b4=()=>_0x382ece||(_0x382ece=applyDefaultInsert(_0x455e5b,_0x241d9e,_0x31c4b9));return _0x455e5b['state']['facet'](inputHandler$1)['some'](_0x2d9d26=>_0x2d9d26(_0x455e5b,_0x241d9e['from'],_0x241d9e['to'],_0x2204d6,_0x39d3b4))||_0x455e5b['dispatch'](_0x39d3b4()),!0x0;}function applyDefaultInsert(_0x2ceb6a,_0xecc325,_0x1e3790){let _0x4ff529,_0x4ff9df=_0x2ceb6a['state'],_0x5106c5=_0x4ff9df['selection']['main'],_0x18aee5=-0x1;if(_0xecc325['from']==_0xecc325['to']&&_0xecc325['from']<_0x5106c5['from']||_0xecc325['from']>_0x5106c5['to']){let _0x3d477d=_0xecc325['from']<_0x5106c5['from']?-0x1:0x1,_0x5a1b9f=_0x3d477d<0x0?_0x5106c5['from']:_0x5106c5['to'],_0x34dfaf=skipAtomicRanges(_0x4ff9df['facet'](atomicRanges)['map'](_0x336da7=>_0x336da7(_0x2ceb6a)),_0x5a1b9f,_0x3d477d);_0xecc325['from']==_0x34dfaf&&(_0x18aee5=_0x34dfaf);}if(_0x18aee5>-0x1)_0x4ff529={'changes':_0xecc325,'selection':EditorSelection['cursor'](_0xecc325['from']+_0xecc325['insert']['length'],-0x1)};else{if(_0xecc325['from']>=_0x5106c5['from']&&_0xecc325['to']<=_0x5106c5['to']&&_0xecc325['to']-_0xecc325['from']>=(_0x5106c5['to']-_0x5106c5['from'])/0x3&&(!_0x1e3790||_0x1e3790['main']['empty']&&_0x1e3790['main']['from']==_0xecc325['from']+_0xecc325['insert']['length'])&&_0x2ceb6a['inputState']['composing']<0x0){let _0x32968a=_0x5106c5['from']<_0xecc325['from']?_0x4ff9df['sliceDoc'](_0x5106c5['from'],_0xecc325['from']):'',_0x1aaa74=_0x5106c5['to']>_0xecc325['to']?_0x4ff9df['sliceDoc'](_0xecc325['to'],_0x5106c5['to']):'';_0x4ff529=_0x4ff9df['replaceSelection'](_0x2ceb6a['state']['toText'](_0x32968a+_0xecc325['insert']['sliceString'](0x0,void 0x0,_0x2ceb6a['state']['lineBreak'])+_0x1aaa74));}else{let _0x5e7349=_0x4ff9df['changes'](_0xecc325),_0x150b6c=_0x1e3790&&_0x1e3790['main']['to']<=_0x5e7349['newLength']?_0x1e3790['main']:void 0x0;if(_0x4ff9df['selection']['ranges']['length']>0x1&&_0x2ceb6a['inputState']['composing']>=0x0&&_0xecc325['to']<=_0x5106c5['to']&&_0xecc325['to']>=_0x5106c5['to']-0xa){let _0xb9f429,_0x2f6360=_0x2ceb6a['state']['sliceDoc'](_0xecc325['from'],_0xecc325['to']),_0x5e4a50=_0x1e3790&&findCompositionNode(_0x2ceb6a,_0x1e3790['main']['head']);if(_0x5e4a50){let _0x422dcf=_0xecc325['insert']['length']-(_0xecc325['to']-_0xecc325['from']);_0xb9f429={'from':_0x5e4a50['from'],'to':_0x5e4a50['to']-_0x422dcf};}else _0xb9f429=_0x2ceb6a['state']['doc']['lineAt'](_0x5106c5['head']);let _0x2093ef=_0x5106c5['to']-_0xecc325['to'],_0x5581d8=_0x5106c5['to']-_0x5106c5['from'];_0x4ff529=_0x4ff9df['changeByRange'](_0x44dc8f=>{if(_0x44dc8f['from']==_0x5106c5['from']&&_0x44dc8f['to']==_0x5106c5['to'])return{'changes':_0x5e7349,'range':_0x150b6c||_0x44dc8f['map'](_0x5e7349)};let _0x41d310=_0x44dc8f['to']-_0x2093ef,_0x55e762=_0x41d310-_0x2f6360['length'];if(_0x44dc8f['to']-_0x44dc8f['from']!=_0x5581d8||_0x2ceb6a['state']['sliceDoc'](_0x55e762,_0x41d310)!=_0x2f6360||_0x44dc8f['to']>=_0xb9f429['from']&&_0x44dc8f['from']<=_0xb9f429['to'])return{'range':_0x44dc8f};let _0x45213a=_0x4ff9df['changes']({'from':_0x55e762,'to':_0x41d310,'insert':_0xecc325['insert']}),_0xcba01f=_0x44dc8f['to']-_0x5106c5['to'];return{'changes':_0x45213a,'range':_0x150b6c?EditorSelection['range'](Math['max'](0x0,_0x150b6c['anchor']+_0xcba01f),Math['max'](0x0,_0x150b6c['head']+_0xcba01f)):_0x44dc8f['map'](_0x45213a)};});}else _0x4ff529={'changes':_0x5e7349,'selection':_0x150b6c&&_0x4ff9df['selection']['replaceRange'](_0x150b6c)};}}let _0x449996='input.type';return(_0x2ceb6a['composing']||_0x2ceb6a['inputState']['compositionPendingChange']&&_0x2ceb6a['inputState']['compositionEndedAt']>Date['now']()-0x32)&&(_0x2ceb6a['inputState']['compositionPendingChange']=!0x1,_0x449996+='.compose',_0x2ceb6a['inputState']['compositionFirstChange']&&(_0x449996+='.start',_0x2ceb6a['inputState']['compositionFirstChange']=!0x1)),_0x4ff9df['update'](_0x4ff529,{'userEvent':_0x449996,'scrollIntoView':!0x0});}function _0xcd1672(_0x51fd27,_0x1e7c63,_0xbde177,_0x20a23c){let _0x20bda2=Math['min'](_0x51fd27['length'],_0x1e7c63['length']),_0x3c7aab=0x0;for(;_0x3c7aab<_0x20bda2&&_0x51fd27['charCodeAt'](_0x3c7aab)==_0x1e7c63['charCodeAt'](_0x3c7aab);)_0x3c7aab++;if(_0x3c7aab==_0x20bda2&&_0x51fd27['length']==_0x1e7c63['length'])return null;let _0x517d3a=_0x51fd27['length'],_0x3e6219=_0x1e7c63['length'];for(;_0x517d3a>0x0&&_0x3e6219>0x0&&_0x51fd27['charCodeAt'](_0x517d3a-0x1)==_0x1e7c63['charCodeAt'](_0x3e6219-0x1);)_0x517d3a--,_0x3e6219--;'end'==_0x20a23c&&(_0xbde177-=_0x517d3a+Math['max'](0x0,_0x3c7aab-Math['min'](_0x517d3a,_0x3e6219))-_0x3c7aab);if(_0x517d3a<_0x3c7aab&&_0x51fd27['length']<_0x1e7c63['length'])_0x3c7aab-=_0xbde177<=_0x3c7aab&&_0xbde177>=_0x517d3a?_0x3c7aab-_0xbde177:0x0,_0x3e6219=_0x3c7aab+(_0x3e6219-_0x517d3a),_0x517d3a=_0x3c7aab;else _0x3e6219<_0x3c7aab&&(_0x3c7aab-=_0xbde177<=_0x3c7aab&&_0xbde177>=_0x3e6219?_0x3c7aab-_0xbde177:0x0,_0x517d3a=_0x3c7aab+(_0x517d3a-_0x3e6219),_0x3e6219=_0x3c7aab);return{'from':_0x3c7aab,'toA':_0x517d3a,'toB':_0x3e6219};}function selectionPoints(_0x203b36){let _0x539f5e=[];if(_0x203b36['root']['activeElement']!=_0x203b36['contentDOM'])return _0x539f5e;let {anchorNode:_0x2b3f46,anchorOffset:_0x39069f,focusNode:_0x1bea58,focusOffset:_0x3c7e85}=_0x203b36['observer']['selectionRange'];return _0x2b3f46&&(_0x539f5e['push'](new DOMPoint(_0x2b3f46,_0x39069f)),_0x1bea58==_0x2b3f46&&_0x3c7e85==_0x39069f||_0x539f5e['push'](new DOMPoint(_0x1bea58,_0x3c7e85))),_0x539f5e;}function selectionFromPoints(_0x4d79fd,_0x46e69e){if(0x0==_0x4d79fd['length'])return null;let _0x4251f8=_0x4d79fd[0x0]['pos'],_0x5393aa=0x2==_0x4d79fd['length']?_0x4d79fd[0x1]['pos']:_0x4251f8;return _0x4251f8>-0x1&&_0x5393aa>-0x1?EditorSelection['single'](_0x4251f8+_0x46e69e,_0x5393aa+_0x46e69e):null;}class InputState{['setSelectionOrigin'](_0x2baec0){this['lastSelectionOrigin']=_0x2baec0,this['lastSelectionTime']=Date['now']();}constructor(_0x29cccb){this['view']=_0x29cccb,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']=_0x29cccb['hasFocus'],_0x53f368['safari']&&_0x29cccb['contentDOM']['addEventListener']('input',()=>null),_0x53f368['gecko']&&firefoxCopyCutHack(_0x29cccb['contentDOM']['ownerDocument']);}['handleEvent'](_0x1aabff){eventBelongsToEditor(this['view'],_0x1aabff)&&!this['ignoreDuringComposition'](_0x1aabff)&&('keydown'==_0x1aabff['type']&&this['keydown'](_0x1aabff)||(0x0!=this['view']['updateState']?Promise['resolve']()['then'](()=>this['runHandlers'](_0x1aabff['type'],_0x1aabff)):this['runHandlers'](_0x1aabff['type'],_0x1aabff)));}['runHandlers'](_0xd2ad24,_0x351c1b){let _0x11b840=this['handlers'][_0xd2ad24];if(_0x11b840){for(let _0x4babc6 of _0x11b840['observers'])_0x4babc6(this['view'],_0x351c1b);for(let _0x111ce8 of _0x11b840['handlers']){if(_0x351c1b['defaultPrevented'])break;if(_0x111ce8(this['view'],_0x351c1b)){_0x351c1b['preventDefault']();break;}}}}['ensureHandlers'](_0x164740){let _0x5e9398=computeHandlers(_0x164740),_0x518dba=this['handlers'],_0xb9d232=this['view']['contentDOM'];for(let _0x1aa9b3 in _0x5e9398)if('scroll'!=_0x1aa9b3){let _0x299bf9=!_0x5e9398[_0x1aa9b3]['handlers']['length'],_0x3ceb27=_0x518dba[_0x1aa9b3];_0x3ceb27&&_0x299bf9!=!_0x3ceb27['handlers']['length']&&(_0xb9d232['removeEventListener'](_0x1aa9b3,this['handleEvent']),_0x3ceb27=null),_0x3ceb27||_0xb9d232['addEventListener'](_0x1aa9b3,this['handleEvent'],{'passive':_0x299bf9});}for(let _0x4bd016 in _0x518dba)'scroll'==_0x4bd016||_0x5e9398[_0x4bd016]||_0xb9d232['removeEventListener'](_0x4bd016,this['handleEvent']);this['handlers']=_0x5e9398;}['keydown'](_0x36cdb2){if(this['lastKeyCode']=_0x36cdb2['keyCode'],this['lastKeyTime']=Date['now'](),0x9==_0x36cdb2['keyCode']&&this['tabFocusMode']>-0x1&&(!this['tabFocusMode']||Date['now']()<=this['tabFocusMode']))return!0x0;if(this['tabFocusMode']>0x0&&0x1b!=_0x36cdb2['keyCode']&&_0x31a21e['indexOf'](_0x36cdb2['keyCode'])<0x0&&(this['tabFocusMode']=-0x1),_0x53f368['android']&&_0x53f368['chrome']&&!_0x36cdb2['synthetic']&&(0xd==_0x36cdb2['keyCode']||0x8==_0x36cdb2['keyCode']))return this['view']['observer']['delayAndroidKey'](_0x36cdb2['key'],_0x36cdb2['keyCode']),!0x0;let _0x412fa1;return!_0x53f368['ios']||_0x36cdb2['synthetic']||_0x36cdb2['altKey']||_0x36cdb2['metaKey']||!((_0x412fa1=_0x2e3f6a['find'](_0x68c01b=>_0x68c01b['keyCode']==_0x36cdb2['keyCode']))&&!_0x36cdb2['ctrlKey']||_0x1ce23e['indexOf'](_0x36cdb2['key'])>-0x1&&_0x36cdb2['ctrlKey']&&!_0x36cdb2['shiftKey'])?(0xe5!=_0x36cdb2['keyCode']&&this['view']['observer']['forceFlush'](),!0x1):(this['pendingIOSKey']=_0x412fa1||_0x36cdb2,setTimeout(()=>this['flushIOSKey'](),0xfa),!0x0);}['flushIOSKey'](_0x2c19b2){let _0x5c91ae=this['pendingIOSKey'];return!!_0x5c91ae&&(!('Enter'==_0x5c91ae['key']&&_0x2c19b2&&_0x2c19b2['from']<_0x2c19b2['to']&&/^\S+$/['test'](_0x2c19b2['insert']['toString']()))&&(this['pendingIOSKey']=void 0x0,dispatchKey(this['view']['contentDOM'],_0x5c91ae['key'],_0x5c91ae['keyCode'],_0x5c91ae instanceof KeyboardEvent?_0x5c91ae:void 0x0)));}['ignoreDuringComposition'](_0x257168){return!(!/^key/['test'](_0x257168['type'])||_0x257168['synthetic'])&&(this['composing']>0x0||!!(_0x53f368['safari']&&!_0x53f368['ios']&&this['compositionPendingKey']&&Date['now']()-this['compositionEndedAt']<0x64)&&(this['compositionPendingKey']=!0x1,!0x0));}['startMouseSelection'](_0xdd6168){this['mouseSelection']&&this['mouseSelection']['destroy'](),this['mouseSelection']=_0xdd6168;}['update'](_0x2c1abf){this['view']['observer']['update'](_0x2c1abf),this['mouseSelection']&&this['mouseSelection']['update'](_0x2c1abf),this['draggedContent']&&_0x2c1abf['docChanged']&&(this['draggedContent']=this['draggedContent']['map'](_0x2c1abf['changes'])),_0x2c1abf['transactions']['length']&&(this['lastKeyCode']=this['lastSelectionTime']=0x0);}['destroy'](){this['mouseSelection']&&this['mouseSelection']['destroy']();}}function _0x4522a1(_0x3b4060,_0x392289){return(_0x5d9868,_0xb62578)=>{try{return _0x392289['call'](_0x3b4060,_0xb62578,_0x5d9868);}catch(_0x4da232){logException(_0x5d9868['state'],_0x4da232);}};}function computeHandlers(_0x3942a5){let _0x2224f1=Object['create'](null);function _0x7f3d8e(_0x556495){return _0x2224f1[_0x556495]||(_0x2224f1[_0x556495]={'observers':[],'handlers':[]});}for(let _0x1c4d72 of _0x3942a5){let _0x33109e=_0x1c4d72['spec'],_0x1d34a5=_0x33109e&&_0x33109e['plugin']['domEventHandlers'],_0x76cfe9=_0x33109e&&_0x33109e['plugin']['domEventObservers'];if(_0x1d34a5)for(let _0x4d5b03 in _0x1d34a5){let _0x241d42=_0x1d34a5[_0x4d5b03];_0x241d42&&_0x7f3d8e(_0x4d5b03)['handlers']['push'](_0x4522a1(_0x1c4d72['value'],_0x241d42));}if(_0x76cfe9)for(let _0x3dd96a in _0x76cfe9){let _0x512793=_0x76cfe9[_0x3dd96a];_0x512793&&_0x7f3d8e(_0x3dd96a)['observers']['push'](_0x4522a1(_0x1c4d72['value'],_0x512793));}}for(let _0x119bf6 in _0x404da3)_0x7f3d8e(_0x119bf6)['handlers']['push'](_0x404da3[_0x119bf6]);for(let _0x526235 in _0x16daf2)_0x7f3d8e(_0x526235)['observers']['push'](_0x16daf2[_0x526235]);return _0x2224f1;}const _0x2e3f6a=[{'key':'Backspace','keyCode':0x8,'inputType':'deleteContentBackward'},{'key':'Enter','keyCode':0xd,'inputType':'insertParagraph'},{'key':'Enter','keyCode':0xd,'inputType':'insertLineBreak'},{'key':'Delete','keyCode':0x2e,'inputType':'deleteContentForward'}],_0x1ce23e='dthko',_0x31a21e=[0x10,0x11,0x12,0x14,0x5b,0x5c,0xe0,0xe1],_0x32b1a7=0x6;function _0xbf6fcf(_0xfc1a9b){return 0.7*Math['max'](0x0,_0xfc1a9b)+0x8;}function dist(_0x55a8cf,_0xc87208){return Math['max'](Math['abs'](_0x55a8cf['clientX']-_0xc87208['clientX']),Math['abs'](_0x55a8cf['clientY']-_0xc87208['clientY']));}class MouseSelection{constructor(_0x337b5b,_0x2e8877,_0x273523,_0xd0124d){this['view']=_0x337b5b,this['startEvent']=_0x2e8877,this['style']=_0x273523,this['mustSelect']=_0xd0124d,this['scrollSpeed']={'x':0x0,'y':0x0},this['scrolling']=-0x1,this['lastEvent']=_0x2e8877,this['scrollParents']=scrollableParents(_0x337b5b['contentDOM']),this['atoms']=_0x337b5b['state']['facet'](atomicRanges)['map'](_0x397cd8=>_0x397cd8(_0x337b5b));let _0xec7bd6=_0x337b5b['contentDOM']['ownerDocument'];_0xec7bd6['addEventListener']('mousemove',this['move']=this['move']['bind'](this)),_0xec7bd6['addEventListener']('mouseup',this['up']=this['up']['bind'](this)),this['extend']=_0x2e8877['shiftKey'],this['multiple']=_0x337b5b['state']['facet'](EditorState['allowMultipleSelections'])&&addsSelectionRange(_0x337b5b,_0x2e8877),this['dragging']=!(!isInPrimarySelection(_0x337b5b,_0x2e8877)||0x1!=getClickType(_0x2e8877))&&null;}['start'](_0x3a4796){!0x1===this['dragging']&&this['select'](_0x3a4796);}['move'](_0x5d3ab1){if(0x0==_0x5d3ab1['buttons'])return this['destroy']();if(this['dragging']||null==this['dragging']&&dist(this['startEvent'],_0x5d3ab1)<0xa)return;this['select'](this['lastEvent']=_0x5d3ab1);let _0x1488b7=0x0,_0x43cfee=0x0,_0x440825=0x0,_0x3521b6=0x0,_0x4ffa24=this['view']['win']['innerWidth'],_0x466a1a=this['view']['win']['innerHeight'];this['scrollParents']['x']&&({left:_0x440825,right:_0x4ffa24}=this['scrollParents']['x']['getBoundingClientRect']()),this['scrollParents']['y']&&({top:_0x3521b6,bottom:_0x466a1a}=this['scrollParents']['y']['getBoundingClientRect']());let _0x4124d8=getScrollMargins(this['view']);_0x5d3ab1['clientX']-_0x4124d8['left']<=_0x440825+_0x32b1a7?_0x1488b7=-_0xbf6fcf(_0x440825-_0x5d3ab1['clientX']):_0x5d3ab1['clientX']+_0x4124d8['right']>=_0x4ffa24-_0x32b1a7&&(_0x1488b7=_0xbf6fcf(_0x5d3ab1['clientX']-_0x4ffa24)),_0x5d3ab1['clientY']-_0x4124d8['top']<=_0x3521b6+_0x32b1a7?_0x43cfee=-_0xbf6fcf(_0x3521b6-_0x5d3ab1['clientY']):_0x5d3ab1['clientY']+_0x4124d8['bottom']>=_0x466a1a-_0x32b1a7&&(_0x43cfee=_0xbf6fcf(_0x5d3ab1['clientY']-_0x466a1a)),this['setScrollSpeed'](_0x1488b7,_0x43cfee);}['up'](_0x39af8a){null==this['dragging']&&this['select'](this['lastEvent']),this['dragging']||_0x39af8a['preventDefault'](),this['destroy']();}['destroy'](){this['setScrollSpeed'](0x0,0x0);let _0x43df81=this['view']['contentDOM']['ownerDocument'];_0x43df81['removeEventListener']('mousemove',this['move']),_0x43df81['removeEventListener']('mouseup',this['up']),this['view']['inputState']['mouseSelection']=this['view']['inputState']['draggedContent']=null;}['setScrollSpeed'](_0x97af71,_0x4b5548){this['scrollSpeed']={'x':_0x97af71,'y':_0x4b5548},_0x97af71||_0x4b5548?this['scrolling']<0x0&&(this['scrolling']=setInterval(()=>this['scroll'](),0x32)):this['scrolling']>-0x1&&(clearInterval(this['scrolling']),this['scrolling']=-0x1);}['scroll'](){let {x:_0x3209ca,y:_0x16e9ca}=this['scrollSpeed'];_0x3209ca&&this['scrollParents']['x']&&(this['scrollParents']['x']['scrollLeft']+=_0x3209ca,_0x3209ca=0x0),_0x16e9ca&&this['scrollParents']['y']&&(this['scrollParents']['y']['scrollTop']+=_0x16e9ca,_0x16e9ca=0x0),(_0x3209ca||_0x16e9ca)&&this['view']['win']['scrollBy'](_0x3209ca,_0x16e9ca),!0x1===this['dragging']&&this['select'](this['lastEvent']);}['select'](_0x22920f){let {view:_0x31e3e8}=this,_0x2d8bad=skipAtomsForSelection(this['atoms'],this['style']['get'](_0x22920f,this['extend'],this['multiple']));!this['mustSelect']&&_0x2d8bad['eq'](_0x31e3e8['state']['selection'],!0x1===this['dragging'])||this['view']['dispatch']({'selection':_0x2d8bad,'userEvent':'select.pointer'}),this['mustSelect']=!0x1;}['update'](_0x187b8d){_0x187b8d['transactions']['some'](_0x3bc9e4=>_0x3bc9e4['isUserEvent']('input.type'))?this['destroy']():this['style']['update'](_0x187b8d)&&setTimeout(()=>this['select'](this['lastEvent']),0x14);}}function addsSelectionRange(_0x1f06f4,_0x278979){let _0x4b858d=_0x1f06f4['state']['facet'](clickAddsSelectionRange);return _0x4b858d['length']?_0x4b858d[0x0](_0x278979):_0x53f368['mac']?_0x278979['metaKey']:_0x278979['ctrlKey'];}function dragMovesSelection(_0x20d74f,_0x272b1b){let _0x226024=_0x20d74f['state']['facet'](dragMovesSelection$1);return _0x226024['length']?_0x226024[0x0](_0x272b1b):_0x53f368['mac']?!_0x272b1b['altKey']:!_0x272b1b['ctrlKey'];}function isInPrimarySelection(_0x4188cc,_0x4ce922){let {main:_0x3bb4a1}=_0x4188cc['state']['selection'];if(_0x3bb4a1['empty'])return!0x1;let _0x2ee3ee=getSelection(_0x4188cc['root']);if(!_0x2ee3ee||0x0==_0x2ee3ee['rangeCount'])return!0x0;let _0x32673a=_0x2ee3ee['getRangeAt'](0x0)['getClientRects']();for(let _0x4b435a=0x0;_0x4b435a<_0x32673a['length'];_0x4b435a++){let _0x5cbc2f=_0x32673a[_0x4b435a];if(_0x5cbc2f['left']<=_0x4ce922['clientX']&&_0x5cbc2f['right']>=_0x4ce922['clientX']&&_0x5cbc2f['top']<=_0x4ce922['clientY']&&_0x5cbc2f['bottom']>=_0x4ce922['clientY'])return!0x0;}return!0x1;}function eventBelongsToEditor(_0x3d7f9a,_0x325e6b){if(!_0x325e6b['bubbles'])return!0x0;if(_0x325e6b['defaultPrevented'])return!0x1;for(let _0x2ffd50,_0x246089=_0x325e6b['target'];_0x246089!=_0x3d7f9a['contentDOM'];_0x246089=_0x246089['parentNode'])if(!_0x246089||0xb==_0x246089['nodeType']||(_0x2ffd50=ContentView['get'](_0x246089))&&_0x2ffd50['ignoreEvent'](_0x325e6b))return!0x1;return!0x0;}const _0x404da3=Object['create'](null),_0x16daf2=Object['create'](null),_0x476147=_0x53f368['ie']&&_0x53f368['ie_version']<0xf||_0x53f368['ios']&&_0x53f368['webkit_version']<0x25c;function capturePaste(_0xc0cb0b){let _0x5079c1=_0xc0cb0b['dom']['parentNode'];if(!_0x5079c1)return;let _0x555031=_0x5079c1['appendChild'](document['createElement']('textarea'));_0x555031['style']['cssText']='position:\x20fixed;\x20left:\x20-10000px;\x20top:\x2010px',_0x555031['focus'](),setTimeout(()=>{_0xc0cb0b['focus'](),_0x555031['remove'](),doPaste(_0xc0cb0b,_0x555031['value']);},0x32);}function textFilter(_0x55e7b4,_0x14daa3,_0x106f90){for(let _0x2cdb57 of _0x55e7b4['facet'](_0x14daa3))_0x106f90=_0x2cdb57(_0x106f90,_0x55e7b4);return _0x106f90;}function doPaste(_0x137335,_0x775340){_0x775340=textFilter(_0x137335['state'],clipboardInputFilter,_0x775340);let _0x19562b,{state:_0x374d39}=_0x137335,_0x5b2d88=0x1,_0x307423=_0x374d39['toText'](_0x775340),_0x4e8cb7=_0x307423['lines']==_0x374d39['selection']['ranges']['length'];if(null!=lastLinewiseCopy&&_0x374d39['selection']['ranges']['every'](_0x3121f6=>_0x3121f6['empty'])&&lastLinewiseCopy==_0x307423['toString']()){let _0x2366ea=-0x1;_0x19562b=_0x374d39['changeByRange'](_0xdc8896=>{let _0x4301e3=_0x374d39['doc']['lineAt'](_0xdc8896['from']);if(_0x4301e3['from']==_0x2366ea)return{'range':_0xdc8896};_0x2366ea=_0x4301e3['from'];let _0x2581a0=_0x374d39['toText']((_0x4e8cb7?_0x307423['line'](_0x5b2d88++)['text']:_0x775340)+_0x374d39['lineBreak']);return{'changes':{'from':_0x4301e3['from'],'insert':_0x2581a0},'range':EditorSelection['cursor'](_0xdc8896['from']+_0x2581a0['length'])};});}else _0x19562b=_0x4e8cb7?_0x374d39['changeByRange'](_0x5f49ee=>{let _0x1b9310=_0x307423['line'](_0x5b2d88++);return{'changes':{'from':_0x5f49ee['from'],'to':_0x5f49ee['to'],'insert':_0x1b9310['text']},'range':EditorSelection['cursor'](_0x5f49ee['from']+_0x1b9310['length'])};}):_0x374d39['replaceSelection'](_0x307423);_0x137335['dispatch'](_0x19562b,{'userEvent':'input.paste','scrollIntoView':!0x0});}function _0x15ad33(_0x3d574d,_0x26b605,_0x1c3aa2,_0xeac259){if(0x1==_0xeac259)return EditorSelection['cursor'](_0x26b605,_0x1c3aa2);if(0x2==_0xeac259)return groupAt(_0x3d574d['state'],_0x26b605,_0x1c3aa2);{let _0x4edbab=_0x15d50f['find'](_0x3d574d['docView'],_0x26b605),_0x2ea5f9=_0x3d574d['state']['doc']['lineAt'](_0x4edbab?_0x4edbab['posAtEnd']:_0x26b605),_0x4ea015=_0x4edbab?_0x4edbab['posAtStart']:_0x2ea5f9['from'],_0x4d2ac6=_0x4edbab?_0x4edbab['posAtEnd']:_0x2ea5f9['to'];return _0x4d2ac6<_0x3d574d['state']['doc']['length']&&_0x4d2ac6==_0x2ea5f9['to']&&_0x4d2ac6++,EditorSelection['range'](_0x4ea015,_0x4d2ac6);}}_0x16daf2['scroll']=_0x185b98=>{_0x185b98['inputState']['lastScrollTop']=_0x185b98['scrollDOM']['scrollTop'],_0x185b98['inputState']['lastScrollLeft']=_0x185b98['scrollDOM']['scrollLeft'];},_0x404da3['keydown']=(_0x340173,_0x59009e)=>(_0x340173['inputState']['setSelectionOrigin']('select'),0x1b==_0x59009e['keyCode']&&0x0!=_0x340173['inputState']['tabFocusMode']&&(_0x340173['inputState']['tabFocusMode']=Date['now']()+0x7d0),!0x1),_0x16daf2['touchstart']=(_0x3be549,_0x1c9172)=>{_0x3be549['inputState']['lastTouchTime']=Date['now'](),_0x3be549['inputState']['setSelectionOrigin']('select.pointer');},_0x16daf2['touchmove']=_0x1d2b6b=>{_0x1d2b6b['inputState']['setSelectionOrigin']('select.pointer');},_0x404da3['mousedown']=(_0x2e26df,_0x495b20)=>{if(_0x2e26df['observer']['flush'](),_0x2e26df['inputState']['lastTouchTime']>Date['now']()-0x7d0)return!0x1;let _0x3304dc=null;for(let _0x315ea3 of _0x2e26df['state']['facet'](mouseSelectionStyle))if(_0x3304dc=_0x315ea3(_0x2e26df,_0x495b20),_0x3304dc)break;if(_0x3304dc||0x0!=_0x495b20['button']||(_0x3304dc=basicMouseSelection(_0x2e26df,_0x495b20)),_0x3304dc){let _0x4356b2=!_0x2e26df['hasFocus'];_0x2e26df['inputState']['startMouseSelection'](new MouseSelection(_0x2e26df,_0x495b20,_0x3304dc,_0x4356b2)),_0x4356b2&&_0x2e26df['observer']['ignore'](()=>{focusPreventScroll(_0x2e26df['contentDOM']);let _0x1558d3=_0x2e26df['root']['activeElement'];_0x1558d3&&!_0x1558d3['contains'](_0x2e26df['contentDOM'])&&_0x1558d3['blur']();});let _0xdb9def=_0x2e26df['inputState']['mouseSelection'];if(_0xdb9def)return _0xdb9def['start'](_0x495b20),!0x1===_0xdb9def['dragging'];}else _0x2e26df['inputState']['setSelectionOrigin']('select.pointer');return!0x1;};let _0xe76e61=(_0x4cab3a,_0xa45d3,_0x7b5a80)=>_0xa45d3>=_0x7b5a80['top']&&_0xa45d3<=_0x7b5a80['bottom']&&_0x4cab3a>=_0x7b5a80['left']&&_0x4cab3a<=_0x7b5a80['right'];function findPositionSide(_0x48f231,_0x47e025,_0x387145,_0x4862b1){let _0x34c6ca=_0x15d50f['find'](_0x48f231['docView'],_0x47e025);if(!_0x34c6ca)return 0x1;let _0xe2d332=_0x47e025-_0x34c6ca['posAtStart'];if(0x0==_0xe2d332)return 0x1;if(_0xe2d332==_0x34c6ca['length'])return-0x1;let _0xe3b932=_0x34c6ca['coordsAt'](_0xe2d332,-0x1);if(_0xe3b932&&_0xe76e61(_0x387145,_0x4862b1,_0xe3b932))return-0x1;let _0x47dd8c=_0x34c6ca['coordsAt'](_0xe2d332,0x1);return _0x47dd8c&&_0xe76e61(_0x387145,_0x4862b1,_0x47dd8c)?0x1:_0xe3b932&&_0xe3b932['bottom']>=_0x4862b1?-0x1:0x1;}function _0x210eb3(_0x361040,_0x2af899){let _0x2290f7=_0x361040['posAtCoords']({'x':_0x2af899['clientX'],'y':_0x2af899['clientY']},!0x1);return{'pos':_0x2290f7,'bias':findPositionSide(_0x361040,_0x2290f7,_0x2af899['clientX'],_0x2af899['clientY'])};}const BadMouseDetail=_0x53f368['ie']&&_0x53f368['ie_version']<=0xb;let lastMouseDown=null,lastMouseDownCount=0x0,lastMouseDownTime=0x0;function getClickType(_0x2f093f){if(!BadMouseDetail)return _0x2f093f['detail'];let _0x4373b5=lastMouseDown,_0xe20d6=lastMouseDownTime;return lastMouseDown=_0x2f093f,lastMouseDownTime=Date['now'](),lastMouseDownCount=!_0x4373b5||_0xe20d6>Date['now']()-0x190&&Math['abs'](_0x4373b5['clientX']-_0x2f093f['clientX'])<0x2&&Math['abs'](_0x4373b5['clientY']-_0x2f093f['clientY'])<0x2?(lastMouseDownCount+0x1)%0x3:0x1;}function basicMouseSelection(_0x337491,_0x56b99a){let _0x5040f4=_0x210eb3(_0x337491,_0x56b99a),_0x382643=getClickType(_0x56b99a),_0x9608c2=_0x337491['state']['selection'];return{'update'(_0x4ee22d){_0x4ee22d['docChanged']&&(_0x5040f4['pos']=_0x4ee22d['changes']['mapPos'](_0x5040f4['pos']),_0x9608c2=_0x9608c2['map'](_0x4ee22d['changes']));},'get'(_0xd4f71a,_0x218858,_0x12acc5){let _0xe6b11,_0x5839aa=_0x210eb3(_0x337491,_0xd4f71a),_0x176c66=_0x15ad33(_0x337491,_0x5839aa['pos'],_0x5839aa['bias'],_0x382643);if(_0x5040f4['pos']!=_0x5839aa['pos']&&!_0x218858){let _0x26c8ab=_0x15ad33(_0x337491,_0x5040f4['pos'],_0x5040f4['bias'],_0x382643),_0x3837a0=Math['min'](_0x26c8ab['from'],_0x176c66['from']),_0x1d2032=Math['max'](_0x26c8ab['to'],_0x176c66['to']);_0x176c66=_0x3837a0<_0x176c66['from']?EditorSelection['range'](_0x3837a0,_0x1d2032):EditorSelection['range'](_0x1d2032,_0x3837a0);}return _0x218858?_0x9608c2['replaceRange'](_0x9608c2['main']['extend'](_0x176c66['from'],_0x176c66['to'])):_0x12acc5&&0x1==_0x382643&&_0x9608c2['ranges']['length']>0x1&&(_0xe6b11=_0x3aef12(_0x9608c2,_0x5839aa['pos']))?_0xe6b11:_0x12acc5?_0x9608c2['addRange'](_0x176c66):EditorSelection['create']([_0x176c66]);}};}function _0x3aef12(_0x2bfc66,_0x40ec1b){for(let _0x5613e9=0x0;_0x5613e9<_0x2bfc66['ranges']['length'];_0x5613e9++){let {from:_0x2fae76,to:_0x20cf3b}=_0x2bfc66['ranges'][_0x5613e9];if(_0x2fae76<=_0x40ec1b&&_0x20cf3b>=_0x40ec1b)return EditorSelection['create'](_0x2bfc66['ranges']['slice'](0x0,_0x5613e9)['concat'](_0x2bfc66['ranges']['slice'](_0x5613e9+0x1)),_0x2bfc66['mainIndex']==_0x5613e9?0x0:_0x2bfc66['mainIndex']-(_0x2bfc66['mainIndex']>_0x5613e9?0x1:0x0));}return null;}function dropText(_0x33bab2,_0x445187,_0x292272,_0x395bbc){if(!(_0x292272=textFilter(_0x33bab2['state'],clipboardInputFilter,_0x292272)))return;let _0x3de1a8=_0x33bab2['posAtCoords']({'x':_0x445187['clientX'],'y':_0x445187['clientY']},!0x1),{draggedContent:_0x20fb44}=_0x33bab2['inputState'],_0x46feb2=_0x395bbc&&_0x20fb44&&dragMovesSelection(_0x33bab2,_0x445187)?{'from':_0x20fb44['from'],'to':_0x20fb44['to']}:null,_0x40db0d={'from':_0x3de1a8,'insert':_0x292272},_0x131ac9=_0x33bab2['state']['changes'](_0x46feb2?[_0x46feb2,_0x40db0d]:_0x40db0d);_0x33bab2['focus'](),_0x33bab2['dispatch']({'changes':_0x131ac9,'selection':{'anchor':_0x131ac9['mapPos'](_0x3de1a8,-0x1),'head':_0x131ac9['mapPos'](_0x3de1a8,0x1)},'userEvent':_0x46feb2?'move.drop':'input.drop'}),_0x33bab2['inputState']['draggedContent']=null;}function captureCopy(_0x56f73f,_0x254a7e){let _0x510262=_0x56f73f['dom']['parentNode'];if(!_0x510262)return;let _0x2f341f=_0x510262['appendChild'](document['createElement']('textarea'));_0x2f341f['style']['cssText']='position:\x20fixed;\x20left:\x20-10000px;\x20top:\x2010px',_0x2f341f['value']=_0x254a7e,_0x2f341f['focus'](),_0x2f341f['selectionEnd']=_0x254a7e['length'],_0x2f341f['selectionStart']=0x0,setTimeout(()=>{_0x2f341f['remove'](),_0x56f73f['focus']();},0x32);}function _0x367a8a(_0x3a8f34){let _0x1d83f3=[],_0x53514b=[],_0x42ff7d=!0x1;for(let _0x28efa3 of _0x3a8f34['selection']['ranges'])_0x28efa3['empty']||(_0x1d83f3['push'](_0x3a8f34['sliceDoc'](_0x28efa3['from'],_0x28efa3['to'])),_0x53514b['push'](_0x28efa3));if(!_0x1d83f3['length']){let _0x368345=-0x1;for(let {from:_0x16c262}of _0x3a8f34['selection']['ranges']){let _0x368c04=_0x3a8f34['doc']['lineAt'](_0x16c262);_0x368c04['number']>_0x368345&&(_0x1d83f3['push'](_0x368c04['text']),_0x53514b['push']({'from':_0x368c04['from'],'to':Math['min'](_0x3a8f34['doc']['length'],_0x368c04['to']+0x1)})),_0x368345=_0x368c04['number'];}_0x42ff7d=!0x0;}return{'text':textFilter(_0x3a8f34,clipboardOutputFilter,_0x1d83f3['join'](_0x3a8f34['lineBreak'])),'ranges':_0x53514b,'linewise':_0x42ff7d};}_0x404da3['dragstart']=(_0x182cb5,_0x4e706b)=>{let {selection:{main:_0x53039f}}=_0x182cb5['state'];if(_0x4e706b['target']['draggable']){let _0x2bd52e=_0x182cb5['docView']['nearest'](_0x4e706b['target']);if(_0x2bd52e&&_0x2bd52e['isWidget']){let _0x1b3a4f=_0x2bd52e['posAtStart'],_0x500491=_0x1b3a4f+_0x2bd52e['length'];(_0x1b3a4f>=_0x53039f['to']||_0x500491<=_0x53039f['from'])&&(_0x53039f=EditorSelection['range'](_0x1b3a4f,_0x500491));}}let {inputState:_0x3eae30}=_0x182cb5;return _0x3eae30['mouseSelection']&&(_0x3eae30['mouseSelection']['dragging']=!0x0),_0x3eae30['draggedContent']=_0x53039f,_0x4e706b['dataTransfer']&&(_0x4e706b['dataTransfer']['setData']('Text',textFilter(_0x182cb5['state'],clipboardOutputFilter,_0x182cb5['state']['sliceDoc'](_0x53039f['from'],_0x53039f['to']))),_0x4e706b['dataTransfer']['effectAllowed']='copyMove'),!0x1;},_0x404da3['dragend']=_0xdd015e=>(_0xdd015e['inputState']['draggedContent']=null,!0x1),_0x404da3['drop']=(_0x3c9ce6,_0x5e09f9)=>{if(!_0x5e09f9['dataTransfer'])return!0x1;if(_0x3c9ce6['state']['readOnly'])return!0x0;let _0x37d324=_0x5e09f9['dataTransfer']['files'];if(_0x37d324&&_0x37d324['length']){let _0x1fbc84=Array(_0x37d324['length']),_0x5348ce=0x0,_0x1ad902=()=>{++_0x5348ce==_0x37d324['length']&&dropText(_0x3c9ce6,_0x5e09f9,_0x1fbc84['filter'](_0x465a86=>null!=_0x465a86)['join'](_0x3c9ce6['state']['lineBreak']),!0x1);};for(let _0x1bc176=0x0;_0x1bc176<_0x37d324['length'];_0x1bc176++){let _0x5c9c2e=new FileReader();_0x5c9c2e['onerror']=_0x1ad902,_0x5c9c2e['onload']=()=>{/[\x00-\x08\x0e-\x1f]{2}/['test'](_0x5c9c2e['result'])||(_0x1fbc84[_0x1bc176]=_0x5c9c2e['result']),_0x1ad902();},_0x5c9c2e['readAsText'](_0x37d324[_0x1bc176]);}return!0x0;}{let _0x5cc4bf=_0x5e09f9['dataTransfer']['getData']('Text');if(_0x5cc4bf)return dropText(_0x3c9ce6,_0x5e09f9,_0x5cc4bf,!0x0),!0x0;}return!0x1;},_0x404da3['paste']=(_0x240dc7,_0x507dc1)=>{if(_0x240dc7['state']['readOnly'])return!0x0;_0x240dc7['observer']['flush']();let _0x5512b6=_0x476147?null:_0x507dc1['clipboardData'];return _0x5512b6?(doPaste(_0x240dc7,_0x5512b6['getData']('text/plain')||_0x5512b6['getData']('text/uri-list')),!0x0):(capturePaste(_0x240dc7),!0x1);};let lastLinewiseCopy=null;_0x404da3['copy']=_0x404da3['cut']=(_0xef3d43,_0x397963)=>{let {text:_0x2c09c7,ranges:_0x59449b,linewise:_0x4f3be7}=_0x367a8a(_0xef3d43['state']);if(!_0x2c09c7&&!_0x4f3be7)return!0x1;lastLinewiseCopy=_0x4f3be7?_0x2c09c7:null,'cut'!=_0x397963['type']||_0xef3d43['state']['readOnly']||_0xef3d43['dispatch']({'changes':_0x59449b,'scrollIntoView':!0x0,'userEvent':'delete.cut'});let _0x2a99ca=_0x476147?null:_0x397963['clipboardData'];return _0x2a99ca?(_0x2a99ca['clearData'](),_0x2a99ca['setData']('text/plain',_0x2c09c7),!0x0):(captureCopy(_0xef3d43,_0x2c09c7),!0x1);};const _0x4810c1=Annotation['define']();function focusChangeTransaction(_0x384a9f,_0x1048ec){let _0x2283a5=[];for(let _0x1a77e3 of _0x384a9f['facet'](focusChangeEffect)){let _0x58c854=_0x1a77e3(_0x384a9f,_0x1048ec);_0x58c854&&_0x2283a5['push'](_0x58c854);}return _0x2283a5['length']?_0x384a9f['update']({'effects':_0x2283a5,'annotations':_0x4810c1['of'](!0x0)}):null;}function updateForFocusChange(_0x179d37){setTimeout(()=>{let _0x4159b7=_0x179d37['hasFocus'];if(_0x4159b7!=_0x179d37['inputState']['notifiedFocused']){let _0xb8c0d0=focusChangeTransaction(_0x179d37['state'],_0x4159b7);_0xb8c0d0?_0x179d37['dispatch'](_0xb8c0d0):_0x179d37['update']([]);}},0xa);}_0x16daf2['focus']=_0xe9495d=>{_0xe9495d['inputState']['lastFocusTime']=Date['now'](),_0xe9495d['scrollDOM']['scrollTop']||!_0xe9495d['inputState']['lastScrollTop']&&!_0xe9495d['inputState']['lastScrollLeft']||(_0xe9495d['scrollDOM']['scrollTop']=_0xe9495d['inputState']['lastScrollTop'],_0xe9495d['scrollDOM']['scrollLeft']=_0xe9495d['inputState']['lastScrollLeft']),updateForFocusChange(_0xe9495d);},_0x16daf2['blur']=_0x512399=>{_0x512399['observer']['clearSelectionRange'](),updateForFocusChange(_0x512399);},_0x16daf2['compositionstart']=_0x16daf2['compositionupdate']=_0x408214=>{_0x408214['observer']['editContext']||(null==_0x408214['inputState']['compositionFirstChange']&&(_0x408214['inputState']['compositionFirstChange']=!0x0),_0x408214['inputState']['composing']<0x0&&(_0x408214['inputState']['composing']=0x0));},_0x16daf2['compositionend']=_0x3f47d9=>{_0x3f47d9['observer']['editContext']||(_0x3f47d9['inputState']['composing']=-0x1,_0x3f47d9['inputState']['compositionEndedAt']=Date['now'](),_0x3f47d9['inputState']['compositionPendingKey']=!0x0,_0x3f47d9['inputState']['compositionPendingChange']=_0x3f47d9['observer']['pendingRecords']()['length']>0x0,_0x3f47d9['inputState']['compositionFirstChange']=null,_0x53f368['chrome']&&_0x53f368['android']?_0x3f47d9['observer']['flushSoon']():_0x3f47d9['inputState']['compositionPendingChange']?Promise['resolve']()['then'](()=>_0x3f47d9['observer']['flush']()):setTimeout(()=>{_0x3f47d9['inputState']['composing']<0x0&&_0x3f47d9['docView']['hasComposition']&&_0x3f47d9['update']([]);},0x32));},_0x16daf2['contextmenu']=_0x412f8a=>{_0x412f8a['inputState']['lastContextMenu']=Date['now']();},_0x404da3['beforeinput']=(_0x2fbfd7,_0x1db7be)=>{var _0x3e55d6,_0x46bfec;if('insertReplacementText'==_0x1db7be['inputType']&&_0x2fbfd7['observer']['editContext']){let _0x7f475c=null===(_0x3e55d6=_0x1db7be['dataTransfer'])||void 0x0===_0x3e55d6?void 0x0:_0x3e55d6['getData']('text/plain'),_0x211e94=_0x1db7be['getTargetRanges']();if(_0x7f475c&&_0x211e94['length']){let _0x37f7f0=_0x211e94[0x0],_0x10f197=_0x2fbfd7['posAtDOM'](_0x37f7f0['startContainer'],_0x37f7f0['startOffset']),_0x82e5fb=_0x2fbfd7['posAtDOM'](_0x37f7f0['endContainer'],_0x37f7f0['endOffset']);return _0x177154(_0x2fbfd7,{'from':_0x10f197,'to':_0x82e5fb,'insert':_0x2fbfd7['state']['toText'](_0x7f475c)},null),!0x0;}}let _0x422221;if(_0x53f368['chrome']&&_0x53f368['android']&&(_0x422221=_0x2e3f6a['find'](_0x45f7bd=>_0x45f7bd['inputType']==_0x1db7be['inputType']))&&(_0x2fbfd7['observer']['delayAndroidKey'](_0x422221['key'],_0x422221['keyCode']),'Backspace'==_0x422221['key']||'Delete'==_0x422221['key'])){let _0x2f4406=(null===(_0x46bfec=window['visualViewport'])||void 0x0===_0x46bfec?void 0x0:_0x46bfec['height'])||0x0;setTimeout(()=>{var _0x2e1797;((null===(_0x2e1797=window['visualViewport'])||void 0x0===_0x2e1797?void 0x0:_0x2e1797['height'])||0x0)>_0x2f4406+0xa&&_0x2fbfd7['hasFocus']&&(_0x2fbfd7['contentDOM']['blur'](),_0x2fbfd7['focus']());},0x64);}return _0x53f368['ios']&&'deleteContentForward'==_0x1db7be['inputType']&&_0x2fbfd7['observer']['flushSoon'](),_0x53f368['safari']&&'insertText'==_0x1db7be['inputType']&&_0x2fbfd7['inputState']['composing']>=0x0&&setTimeout(()=>_0x16daf2['compositionend'](_0x2fbfd7,_0x1db7be),0x14),!0x1;};const _0x2d3491=new Set();function firefoxCopyCutHack(_0x506ca2){_0x2d3491['has'](_0x506ca2)||(_0x2d3491['add'](_0x506ca2),_0x506ca2['addEventListener']('copy',()=>{}),_0x506ca2['addEventListener']('cut',()=>{}));}const wrappingWhiteSpace=['pre-wrap','normal','pre-line','break-spaces'];let heightChangeFlag=!0x1;function clearHeightChangeFlag(){heightChangeFlag=!0x1;}class HeightOracle{constructor(_0x19d74a){this['lineWrapping']=_0x19d74a,this['doc']=Text$1['empty'],this['heightSamples']={},this['lineHeight']=0xe,this['charWidth']=0x7,this['textHeight']=0xe,this['lineLength']=0x1e;}['heightForGap'](_0x5cedff,_0x663b01){let _0x3814c6=this['doc']['lineAt'](_0x663b01)['number']-this['doc']['lineAt'](_0x5cedff)['number']+0x1;return this['lineWrapping']&&(_0x3814c6+=Math['max'](0x0,Math['ceil']((_0x663b01-_0x5cedff-_0x3814c6*this['lineLength']*0.5)/this['lineLength']))),this['lineHeight']*_0x3814c6;}['heightForLine'](_0x4ee937){if(!this['lineWrapping'])return this['lineHeight'];return(0x1+Math['max'](0x0,Math['ceil']((_0x4ee937-this['lineLength'])/Math['max'](0x1,this['lineLength']-0x5))))*this['lineHeight'];}['setDoc'](_0x324052){return this['doc']=_0x324052,this;}['mustRefreshForWrapping'](_0xf2d93e){return wrappingWhiteSpace['indexOf'](_0xf2d93e)>-0x1!=this['lineWrapping'];}['mustRefreshForHeights'](_0x30e910){let _0x256b0e=!0x1;for(let _0x52fea9=0x0;_0x52fea9<_0x30e910['length'];_0x52fea9++){let _0x23c8fa=_0x30e910[_0x52fea9];_0x23c8fa<0x0?_0x52fea9++:this['heightSamples'][Math['floor'](0xa*_0x23c8fa)]||(_0x256b0e=!0x0,this['heightSamples'][Math['floor'](0xa*_0x23c8fa)]=!0x0);}return _0x256b0e;}['refresh'](_0x4d1475,_0x350eed,_0x16a8e6,_0x46ee9f,_0x13d1bb,_0x581232){let _0x1264aa=wrappingWhiteSpace['indexOf'](_0x4d1475)>-0x1,_0x3b1474=Math['round'](_0x350eed)!=Math['round'](this['lineHeight'])||this['lineWrapping']!=_0x1264aa;if(this['lineWrapping']=_0x1264aa,this['lineHeight']=_0x350eed,this['charWidth']=_0x16a8e6,this['textHeight']=_0x46ee9f,this['lineLength']=_0x13d1bb,_0x3b1474){this['heightSamples']={};for(let _0x21acae=0x0;_0x21acae<_0x581232['length'];_0x21acae++){let _0x3b275d=_0x581232[_0x21acae];_0x3b275d<0x0?_0x21acae++:this['heightSamples'][Math['floor'](0xa*_0x3b275d)]=!0x0;}}return _0x3b1474;}}class MeasuredHeights{constructor(_0x84ec80,_0x1c9ab2){this['from']=_0x84ec80,this['heights']=_0x1c9ab2,this['index']=0x0;}get['more'](){return this['index']<this['heights']['length'];}}class _0x12feae{constructor(_0x123021,_0x5bf036,_0x3aba43,_0x347f7b,_0x55253c){this['from']=_0x123021,this['length']=_0x5bf036,this['top']=_0x3aba43,this['height']=_0x347f7b,this['_content']=_0x55253c;}get['type'](){return'number'==typeof this['_content']?_0x516d37['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'](_0x2b93fd){let _0x4b1478=(Array['isArray'](this['_content'])?this['_content']:[this])['concat'](Array['isArray'](_0x2b93fd['_content'])?_0x2b93fd['_content']:[_0x2b93fd]);return new _0x12feae(this['from'],this['length']+_0x2b93fd['length'],this['top'],this['height']+_0x2b93fd['height'],_0x4b1478);}}var _0x10d07b=function(_0x3d7089){return _0x3d7089[_0x3d7089['ByPos']=0x0]='ByPos',_0x3d7089[_0x3d7089['ByHeight']=0x1]='ByHeight',_0x3d7089[_0x3d7089['ByPosNoHeight']=0x2]='ByPosNoHeight',_0x3d7089;}(_0x10d07b||(_0x10d07b={}));const _0x29ca4a=0.001;class HeightMap{constructor(_0x234271,_0x3ba27d,_0x5dfd6e=0x2){this['length']=_0x234271,this['height']=_0x3ba27d,this['flags']=_0x5dfd6e;}get['outdated'](){return(0x2&this['flags'])>0x0;}set['outdated'](_0x23774c){this['flags']=(_0x23774c?0x2:0x0)|-0x3&this['flags'];}['setHeight'](_0x357a55){this['height']!=_0x357a55&&(Math['abs'](this['height']-_0x357a55)>_0x29ca4a&&(heightChangeFlag=!0x0),this['height']=_0x357a55);}['replace'](_0x408447,_0x70db22,_0x1a65c3){return HeightMap['of'](_0x1a65c3);}['decomposeLeft'](_0x4d77c2,_0x37d68d){_0x37d68d['push'](this);}['decomposeRight'](_0x2a1dd0,_0x2af2d1){_0x2af2d1['push'](this);}['applyChanges'](_0x38ab17,_0x5a2f50,_0x247831,_0x4e9732){let _0x5303aa=this,_0x20053e=_0x247831['doc'];for(let _0x545113=_0x4e9732['length']-0x1;_0x545113>=0x0;_0x545113--){let {fromA:_0x3ce42c,toA:_0x1697d2,fromB:_0x3be112,toB:_0x2be3f4}=_0x4e9732[_0x545113],_0x41e62d=_0x5303aa['lineAt'](_0x3ce42c,_0x10d07b['ByPosNoHeight'],_0x247831['setDoc'](_0x5a2f50),0x0,0x0),_0x1ba984=_0x41e62d['to']>=_0x1697d2?_0x41e62d:_0x5303aa['lineAt'](_0x1697d2,_0x10d07b['ByPosNoHeight'],_0x247831,0x0,0x0);for(_0x2be3f4+=_0x1ba984['to']-_0x1697d2,_0x1697d2=_0x1ba984['to'];_0x545113>0x0&&_0x41e62d['from']<=_0x4e9732[_0x545113-0x1]['toA'];)_0x3ce42c=_0x4e9732[_0x545113-0x1]['fromA'],_0x3be112=_0x4e9732[_0x545113-0x1]['fromB'],_0x545113--,_0x3ce42c<_0x41e62d['from']&&(_0x41e62d=_0x5303aa['lineAt'](_0x3ce42c,_0x10d07b['ByPosNoHeight'],_0x247831,0x0,0x0));_0x3be112+=_0x41e62d['from']-_0x3ce42c,_0x3ce42c=_0x41e62d['from'];let _0x73a4e7=_0x35e457['build'](_0x247831['setDoc'](_0x20053e),_0x38ab17,_0x3be112,_0x2be3f4);_0x5303aa=_0x3bea65(_0x5303aa,_0x5303aa['replace'](_0x3ce42c,_0x1697d2,_0x73a4e7));}return _0x5303aa['updateHeight'](_0x247831,0x0);}static['empty'](){return new HeightMapText(0x0,0x0);}static['of'](_0x1e8983){if(0x1==_0x1e8983['length'])return _0x1e8983[0x0];let _0x421e9e=0x0,_0x1052c2=_0x1e8983['length'],_0x52605f=0x0,_0x5ba1bc=0x0;for(;;)if(_0x421e9e==_0x1052c2){if(_0x52605f>0x2*_0x5ba1bc){let _0x3efdfe=_0x1e8983[_0x421e9e-0x1];_0x3efdfe['break']?_0x1e8983['splice'](--_0x421e9e,0x1,_0x3efdfe['left'],null,_0x3efdfe['right']):_0x1e8983['splice'](--_0x421e9e,0x1,_0x3efdfe['left'],_0x3efdfe['right']),_0x1052c2+=0x1+_0x3efdfe['break'],_0x52605f-=_0x3efdfe['size'];}else{if(!(_0x5ba1bc>0x2*_0x52605f))break;{let _0x3f307f=_0x1e8983[_0x1052c2];_0x3f307f['break']?_0x1e8983['splice'](_0x1052c2,0x1,_0x3f307f['left'],null,_0x3f307f['right']):_0x1e8983['splice'](_0x1052c2,0x1,_0x3f307f['left'],_0x3f307f['right']),_0x1052c2+=0x2+_0x3f307f['break'],_0x5ba1bc-=_0x3f307f['size'];}}}else{if(_0x52605f<_0x5ba1bc){let _0x55dccb=_0x1e8983[_0x421e9e++];_0x55dccb&&(_0x52605f+=_0x55dccb['size']);}else{let _0x2d4d77=_0x1e8983[--_0x1052c2];_0x2d4d77&&(_0x5ba1bc+=_0x2d4d77['size']);}}let _0x5b556c=0x0;return null==_0x1e8983[_0x421e9e-0x1]?(_0x5b556c=0x1,_0x421e9e--):null==_0x1e8983[_0x421e9e]&&(_0x5b556c=0x1,_0x1052c2++),new HeightMapBranch(HeightMap['of'](_0x1e8983['slice'](0x0,_0x421e9e)),_0x5b556c,HeightMap['of'](_0x1e8983['slice'](_0x1052c2)));}}function _0x3bea65(_0x342d7d,_0x3159a6){return _0x342d7d==_0x3159a6?_0x342d7d:(_0x342d7d['constructor']!=_0x3159a6['constructor']&&(heightChangeFlag=!0x0),_0x3159a6);}HeightMap['prototype']['size']=0x1;class HeightMapBlock extends HeightMap{constructor(_0x375fad,_0x3e4983,_0x387ad3){super(_0x375fad,_0x3e4983),this['deco']=_0x387ad3;}['blockAt'](_0x9e1cae,_0x45a283,_0xdbda9f,_0x20c244){return new _0x12feae(_0x20c244,this['length'],_0xdbda9f,this['height'],this['deco']||0x0);}['lineAt'](_0x139c83,_0xef01a6,_0x2f1948,_0x3a1930,_0x1eee17){return this['blockAt'](0x0,_0x2f1948,_0x3a1930,_0x1eee17);}['forEachLine'](_0x119845,_0x5602f1,_0x4b3b3c,_0x2ed0b6,_0x206a91,_0x220e7d){_0x119845<=_0x206a91+this['length']&&_0x5602f1>=_0x206a91&&_0x220e7d(this['blockAt'](0x0,_0x4b3b3c,_0x2ed0b6,_0x206a91));}['updateHeight'](_0xe01af,_0xcf12f1=0x0,_0xa2edc2=!0x1,_0x1726db){return _0x1726db&&_0x1726db['from']<=_0xcf12f1&&_0x1726db['more']&&this['setHeight'](_0x1726db['heights'][_0x1726db['index']++]),this['outdated']=!0x1,this;}['toString'](){return'block('+this['length']+')';}}class HeightMapText extends HeightMapBlock{constructor(_0x2f0e2c,_0x19f3cc){super(_0x2f0e2c,_0x19f3cc,null),this['collapsed']=0x0,this['widgetHeight']=0x0,this['breaks']=0x0;}['blockAt'](_0x2ce7e3,_0x3a9801,_0x2f699b,_0x319382){return new _0x12feae(_0x319382,this['length'],_0x2f699b,this['height'],this['breaks']);}['replace'](_0x19a90a,_0x5f50e8,_0x59637f){let _0x38b0a7=_0x59637f[0x0];return 0x1==_0x59637f['length']&&(_0x38b0a7 instanceof HeightMapText||_0x38b0a7 instanceof HeightMapGap&&0x4&_0x38b0a7['flags'])&&Math['abs'](this['length']-_0x38b0a7['length'])<0xa?(_0x38b0a7 instanceof HeightMapGap?_0x38b0a7=new HeightMapText(_0x38b0a7['length'],this['height']):_0x38b0a7['height']=this['height'],this['outdated']||(_0x38b0a7['outdated']=!0x1),_0x38b0a7):HeightMap['of'](_0x59637f);}['updateHeight'](_0x52a1da,_0x51ceca=0x0,_0x2325f3=!0x1,_0x4f5982){return _0x4f5982&&_0x4f5982['from']<=_0x51ceca&&_0x4f5982['more']?this['setHeight'](_0x4f5982['heights'][_0x4f5982['index']++]):(_0x2325f3||this['outdated'])&&this['setHeight'](Math['max'](this['widgetHeight'],_0x52a1da['heightForLine'](this['length']-this['collapsed']))+this['breaks']*_0x52a1da['lineHeight']),this['outdated']=!0x1,this;}['toString'](){return'line('+this['length']+(this['collapsed']?-this['collapsed']:'')+(this['widgetHeight']?':'+this['widgetHeight']:'')+')';}}class HeightMapGap extends HeightMap{constructor(_0x1b44be){super(_0x1b44be,0x0);}['heightMetrics'](_0x5c2361,_0x4df04f){let _0x570baa,_0x4b1e04=_0x5c2361['doc']['lineAt'](_0x4df04f)['number'],_0x503ed3=_0x5c2361['doc']['lineAt'](_0x4df04f+this['length'])['number'],_0x4f37fa=_0x503ed3-_0x4b1e04+0x1,_0x246eeb=0x0;if(_0x5c2361['lineWrapping']){let _0x9eff3c=Math['min'](this['height'],_0x5c2361['lineHeight']*_0x4f37fa);_0x570baa=_0x9eff3c/_0x4f37fa,this['length']>_0x4f37fa+0x1&&(_0x246eeb=(this['height']-_0x9eff3c)/(this['length']-_0x4f37fa-0x1));}else _0x570baa=this['height']/_0x4f37fa;return{'firstLine':_0x4b1e04,'lastLine':_0x503ed3,'perLine':_0x570baa,'perChar':_0x246eeb};}['blockAt'](_0x18b5e2,_0x2e22fd,_0x48a2c3,_0x13e855){let {firstLine:_0x103a89,lastLine:_0x19be10,perLine:_0x51d88,perChar:_0x485984}=this['heightMetrics'](_0x2e22fd,_0x13e855);if(_0x2e22fd['lineWrapping']){let _0x4b4b38=_0x13e855+(_0x18b5e2<_0x2e22fd['lineHeight']?0x0:Math['round'](Math['max'](0x0,Math['min'](0x1,(_0x18b5e2-_0x48a2c3)/this['height']))*this['length'])),_0x5e216c=_0x2e22fd['doc']['lineAt'](_0x4b4b38),_0x4da80f=_0x51d88+_0x5e216c['length']*_0x485984,_0x4bafbb=Math['max'](_0x48a2c3,_0x18b5e2-_0x4da80f/0x2);return new _0x12feae(_0x5e216c['from'],_0x5e216c['length'],_0x4bafbb,_0x4da80f,0x0);}{let _0x6806f0=Math['max'](0x0,Math['min'](_0x19be10-_0x103a89,Math['floor']((_0x18b5e2-_0x48a2c3)/_0x51d88))),{from:_0x45e89e,length:_0x288553}=_0x2e22fd['doc']['line'](_0x103a89+_0x6806f0);return new _0x12feae(_0x45e89e,_0x288553,_0x48a2c3+_0x51d88*_0x6806f0,_0x51d88,0x0);}}['lineAt'](_0x31e0aa,_0x40ce3f,_0x440b93,_0x36214e,_0x2f6cbd){if(_0x40ce3f==_0x10d07b['ByHeight'])return this['blockAt'](_0x31e0aa,_0x440b93,_0x36214e,_0x2f6cbd);if(_0x40ce3f==_0x10d07b['ByPosNoHeight']){let {from:_0x3f106f,to:_0xa02725}=_0x440b93['doc']['lineAt'](_0x31e0aa);return new _0x12feae(_0x3f106f,_0xa02725-_0x3f106f,0x0,0x0,0x0);}let {firstLine:_0x475552,perLine:_0x1e4484,perChar:_0x4e276a}=this['heightMetrics'](_0x440b93,_0x2f6cbd),_0x483f60=_0x440b93['doc']['lineAt'](_0x31e0aa),_0x506548=_0x1e4484+_0x483f60['length']*_0x4e276a,_0x81b7bd=_0x483f60['number']-_0x475552,_0x19c1b8=_0x36214e+_0x1e4484*_0x81b7bd+_0x4e276a*(_0x483f60['from']-_0x2f6cbd-_0x81b7bd);return new _0x12feae(_0x483f60['from'],_0x483f60['length'],Math['max'](_0x36214e,Math['min'](_0x19c1b8,_0x36214e+this['height']-_0x506548)),_0x506548,0x0);}['forEachLine'](_0x42844c,_0x124448,_0x146853,_0x4e6a1e,_0x105089,_0x4e8fc9){_0x42844c=Math['max'](_0x42844c,_0x105089),_0x124448=Math['min'](_0x124448,_0x105089+this['length']);let {firstLine:_0x5d8b22,perLine:_0x592386,perChar:_0x7619e8}=this['heightMetrics'](_0x146853,_0x105089);for(let _0x5967af=_0x42844c,_0x24880a=_0x4e6a1e;_0x5967af<=_0x124448;){let _0x1164d7=_0x146853['doc']['lineAt'](_0x5967af);if(_0x5967af==_0x42844c){let _0x59796c=_0x1164d7['number']-_0x5d8b22;_0x24880a+=_0x592386*_0x59796c+_0x7619e8*(_0x42844c-_0x105089-_0x59796c);}let _0xd38237=_0x592386+_0x7619e8*_0x1164d7['length'];_0x4e8fc9(new _0x12feae(_0x1164d7['from'],_0x1164d7['length'],_0x24880a,_0xd38237,0x0)),_0x24880a+=_0xd38237,_0x5967af=_0x1164d7['to']+0x1;}}['replace'](_0x2710ae,_0x1c0ea4,_0x46a5d4){let _0x85e73c=this['length']-_0x1c0ea4;if(_0x85e73c>0x0){let _0x5868a5=_0x46a5d4[_0x46a5d4['length']-0x1];_0x5868a5 instanceof HeightMapGap?_0x46a5d4[_0x46a5d4['length']-0x1]=new HeightMapGap(_0x5868a5['length']+_0x85e73c):_0x46a5d4['push'](null,new HeightMapGap(_0x85e73c-0x1));}if(_0x2710ae>0x0){let _0xd9df4b=_0x46a5d4[0x0];_0xd9df4b instanceof HeightMapGap?_0x46a5d4[0x0]=new HeightMapGap(_0x2710ae+_0xd9df4b['length']):_0x46a5d4['unshift'](new HeightMapGap(_0x2710ae-0x1),null);}return HeightMap['of'](_0x46a5d4);}['decomposeLeft'](_0x307c0b,_0x445034){_0x445034['push'](new HeightMapGap(_0x307c0b-0x1),null);}['decomposeRight'](_0x31936f,_0x1d0e84){_0x1d0e84['push'](null,new HeightMapGap(this['length']-_0x31936f-0x1));}['updateHeight'](_0x4f9279,_0x454ef8=0x0,_0x32d211=!0x1,_0x2c94fa){let _0x3bdc24=_0x454ef8+this['length'];if(_0x2c94fa&&_0x2c94fa['from']<=_0x454ef8+this['length']&&_0x2c94fa['more']){let _0x2d5749=[],_0x139856=Math['max'](_0x454ef8,_0x2c94fa['from']),_0x264f9d=-0x1;for(_0x2c94fa['from']>_0x454ef8&&_0x2d5749['push'](new HeightMapGap(_0x2c94fa['from']-_0x454ef8-0x1)['updateHeight'](_0x4f9279,_0x454ef8));_0x139856<=_0x3bdc24&&_0x2c94fa['more'];){let _0x204c8c=_0x4f9279['doc']['lineAt'](_0x139856)['length'];_0x2d5749['length']&&_0x2d5749['push'](null);let _0x54bc1d=_0x2c94fa['heights'][_0x2c94fa['index']++];-0x1==_0x264f9d?_0x264f9d=_0x54bc1d:Math['abs'](_0x54bc1d-_0x264f9d)>=_0x29ca4a&&(_0x264f9d=-0x2);let _0x45efec=new HeightMapText(_0x204c8c,_0x54bc1d);_0x45efec['outdated']=!0x1,_0x2d5749['push'](_0x45efec),_0x139856+=_0x204c8c+0x1;}_0x139856<=_0x3bdc24&&_0x2d5749['push'](null,new HeightMapGap(_0x3bdc24-_0x139856)['updateHeight'](_0x4f9279,_0x139856));let _0x4ac7eb=HeightMap['of'](_0x2d5749);return(_0x264f9d<0x0||Math['abs'](_0x4ac7eb['height']-this['height'])>=_0x29ca4a||Math['abs'](_0x264f9d-this['heightMetrics'](_0x4f9279,_0x454ef8)['perLine'])>=_0x29ca4a)&&(heightChangeFlag=!0x0),_0x3bea65(this,_0x4ac7eb);}return(_0x32d211||this['outdated'])&&(this['setHeight'](_0x4f9279['heightForGap'](_0x454ef8,_0x454ef8+this['length'])),this['outdated']=!0x1),this;}['toString'](){return'gap('+this['length']+')';}}class HeightMapBranch extends HeightMap{constructor(_0x9fd3ce,_0x20c0a4,_0x20a2da){super(_0x9fd3ce['length']+_0x20c0a4+_0x20a2da['length'],_0x9fd3ce['height']+_0x20a2da['height'],_0x20c0a4|(_0x9fd3ce['outdated']||_0x20a2da['outdated']?0x2:0x0)),this['left']=_0x9fd3ce,this['right']=_0x20a2da,this['size']=_0x9fd3ce['size']+_0x20a2da['size'];}get['break'](){return 0x1&this['flags'];}['blockAt'](_0x48471f,_0xfef807,_0x1ec151,_0x9bcaf1){let _0x1acb9e=_0x1ec151+this['left']['height'];return _0x48471f<_0x1acb9e?this['left']['blockAt'](_0x48471f,_0xfef807,_0x1ec151,_0x9bcaf1):this['right']['blockAt'](_0x48471f,_0xfef807,_0x1acb9e,_0x9bcaf1+this['left']['length']+this['break']);}['lineAt'](_0x14db3f,_0x4aa42b,_0x3b9bcc,_0x247b4e,_0x4f46b4){let _0x33f2dd=_0x247b4e+this['left']['height'],_0x577753=_0x4f46b4+this['left']['length']+this['break'],_0xbf9d15=_0x4aa42b==_0x10d07b['ByHeight']?_0x14db3f<_0x33f2dd:_0x14db3f<_0x577753,_0x4d5f91=_0xbf9d15?this['left']['lineAt'](_0x14db3f,_0x4aa42b,_0x3b9bcc,_0x247b4e,_0x4f46b4):this['right']['lineAt'](_0x14db3f,_0x4aa42b,_0x3b9bcc,_0x33f2dd,_0x577753);if(this['break']||(_0xbf9d15?_0x4d5f91['to']<_0x577753:_0x4d5f91['from']>_0x577753))return _0x4d5f91;let _0x321322=_0x4aa42b==_0x10d07b['ByPosNoHeight']?_0x10d07b['ByPosNoHeight']:_0x10d07b['ByPos'];return _0xbf9d15?_0x4d5f91['join'](this['right']['lineAt'](_0x577753,_0x321322,_0x3b9bcc,_0x33f2dd,_0x577753)):this['left']['lineAt'](_0x577753,_0x321322,_0x3b9bcc,_0x247b4e,_0x4f46b4)['join'](_0x4d5f91);}['forEachLine'](_0x41ccd1,_0x1de7c9,_0x29eaf5,_0x10605f,_0x4b303,_0x4b99e5){let _0x595270=_0x10605f+this['left']['height'],_0x45bb18=_0x4b303+this['left']['length']+this['break'];if(this['break'])_0x41ccd1<_0x45bb18&&this['left']['forEachLine'](_0x41ccd1,_0x1de7c9,_0x29eaf5,_0x10605f,_0x4b303,_0x4b99e5),_0x1de7c9>=_0x45bb18&&this['right']['forEachLine'](_0x41ccd1,_0x1de7c9,_0x29eaf5,_0x595270,_0x45bb18,_0x4b99e5);else{let _0x41f0e7=this['lineAt'](_0x45bb18,_0x10d07b['ByPos'],_0x29eaf5,_0x10605f,_0x4b303);_0x41ccd1<_0x41f0e7['from']&&this['left']['forEachLine'](_0x41ccd1,_0x41f0e7['from']-0x1,_0x29eaf5,_0x10605f,_0x4b303,_0x4b99e5),_0x41f0e7['to']>=_0x41ccd1&&_0x41f0e7['from']<=_0x1de7c9&&_0x4b99e5(_0x41f0e7),_0x1de7c9>_0x41f0e7['to']&&this['right']['forEachLine'](_0x41f0e7['to']+0x1,_0x1de7c9,_0x29eaf5,_0x595270,_0x45bb18,_0x4b99e5);}}['replace'](_0x5d7ddb,_0x2bd08e,_0x4fbf58){let _0x2af828=this['left']['length']+this['break'];if(_0x2bd08e<_0x2af828)return this['balanced'](this['left']['replace'](_0x5d7ddb,_0x2bd08e,_0x4fbf58),this['right']);if(_0x5d7ddb>this['left']['length'])return this['balanced'](this['left'],this['right']['replace'](_0x5d7ddb-_0x2af828,_0x2bd08e-_0x2af828,_0x4fbf58));let _0x2e8ffc=[];_0x5d7ddb>0x0&&this['decomposeLeft'](_0x5d7ddb,_0x2e8ffc);let _0x1aecf2=_0x2e8ffc['length'];for(let _0xa6737b of _0x4fbf58)_0x2e8ffc['push'](_0xa6737b);if(_0x5d7ddb>0x0&&_0x4ae79a(_0x2e8ffc,_0x1aecf2-0x1),_0x2bd08e<this['length']){let _0x521e5f=_0x2e8ffc['length'];this['decomposeRight'](_0x2bd08e,_0x2e8ffc),_0x4ae79a(_0x2e8ffc,_0x521e5f);}return HeightMap['of'](_0x2e8ffc);}['decomposeLeft'](_0x43ea8a,_0x237eca){let _0x265f45=this['left']['length'];if(_0x43ea8a<=_0x265f45)return this['left']['decomposeLeft'](_0x43ea8a,_0x237eca);_0x237eca['push'](this['left']),this['break']&&(_0x265f45++,_0x43ea8a>=_0x265f45&&_0x237eca['push'](null)),_0x43ea8a>_0x265f45&&this['right']['decomposeLeft'](_0x43ea8a-_0x265f45,_0x237eca);}['decomposeRight'](_0x296d9e,_0x224a79){let _0x192051=this['left']['length'],_0x8f140=_0x192051+this['break'];if(_0x296d9e>=_0x8f140)return this['right']['decomposeRight'](_0x296d9e-_0x8f140,_0x224a79);_0x296d9e<_0x192051&&this['left']['decomposeRight'](_0x296d9e,_0x224a79),this['break']&&_0x296d9e<_0x8f140&&_0x224a79['push'](null),_0x224a79['push'](this['right']);}['balanced'](_0x1e19d2,_0x17ebb4){return _0x1e19d2['size']>0x2*_0x17ebb4['size']||_0x17ebb4['size']>0x2*_0x1e19d2['size']?HeightMap['of'](this['break']?[_0x1e19d2,null,_0x17ebb4]:[_0x1e19d2,_0x17ebb4]):(this['left']=_0x3bea65(this['left'],_0x1e19d2),this['right']=_0x3bea65(this['right'],_0x17ebb4),this['setHeight'](_0x1e19d2['height']+_0x17ebb4['height']),this['outdated']=_0x1e19d2['outdated']||_0x17ebb4['outdated'],this['size']=_0x1e19d2['size']+_0x17ebb4['size'],this['length']=_0x1e19d2['length']+this['break']+_0x17ebb4['length'],this);}['updateHeight'](_0x51a953,_0x1377be=0x0,_0x3d732e=!0x1,_0x2aa892){let {left:_0x42c240,right:_0x340543}=this,_0x43f2d9=_0x1377be+_0x42c240['length']+this['break'],_0x11dd1a=null;return _0x2aa892&&_0x2aa892['from']<=_0x1377be+_0x42c240['length']&&_0x2aa892['more']?_0x11dd1a=_0x42c240=_0x42c240['updateHeight'](_0x51a953,_0x1377be,_0x3d732e,_0x2aa892):_0x42c240['updateHeight'](_0x51a953,_0x1377be,_0x3d732e),_0x2aa892&&_0x2aa892['from']<=_0x43f2d9+_0x340543['length']&&_0x2aa892['more']?_0x11dd1a=_0x340543=_0x340543['updateHeight'](_0x51a953,_0x43f2d9,_0x3d732e,_0x2aa892):_0x340543['updateHeight'](_0x51a953,_0x43f2d9,_0x3d732e),_0x11dd1a?this['balanced'](_0x42c240,_0x340543):(this['height']=this['left']['height']+this['right']['height'],this['outdated']=!0x1,this);}['toString'](){return this['left']+(this['break']?'\x20':'-')+this['right'];}}function _0x4ae79a(_0x3431fb,_0x542cc5){let _0x15eb55,_0x50131f;null==_0x3431fb[_0x542cc5]&&(_0x15eb55=_0x3431fb[_0x542cc5-0x1])instanceof HeightMapGap&&(_0x50131f=_0x3431fb[_0x542cc5+0x1])instanceof HeightMapGap&&_0x3431fb['splice'](_0x542cc5-0x1,0x3,new HeightMapGap(_0x15eb55['length']+0x1+_0x50131f['length']));}const relevantWidgetHeight=0x5;class _0x35e457{constructor(_0x121575,_0x354f50){this['pos']=_0x121575,this['oracle']=_0x354f50,this['nodes']=[],this['lineStart']=-0x1,this['lineEnd']=-0x1,this['covering']=null,this['writtenTo']=_0x121575;}get['isCovered'](){return this['covering']&&this['nodes'][this['nodes']['length']-0x1]==this['covering'];}['span'](_0x503a4f,_0x125f92){if(this['lineStart']>-0x1){let _0x25c8d9=Math['min'](_0x125f92,this['lineEnd']),_0x583691=this['nodes'][this['nodes']['length']-0x1];_0x583691 instanceof HeightMapText?_0x583691['length']+=_0x25c8d9-this['pos']:(_0x25c8d9>this['pos']||!this['isCovered'])&&this['nodes']['push'](new HeightMapText(_0x25c8d9-this['pos'],-0x1)),this['writtenTo']=_0x25c8d9,_0x125f92>_0x25c8d9&&(this['nodes']['push'](null),this['writtenTo']++,this['lineStart']=-0x1);}this['pos']=_0x125f92;}['point'](_0x494e71,_0x1e0d20,_0xd41df1){if(_0x494e71<_0x1e0d20||_0xd41df1['heightRelevant']){let _0x2df2e0=_0xd41df1['widget']?_0xd41df1['widget']['estimatedHeight']:0x0,_0x344a68=_0xd41df1['widget']?_0xd41df1['widget']['lineBreaks']:0x0;_0x2df2e0<0x0&&(_0x2df2e0=this['oracle']['lineHeight']);let _0x226a41=_0x1e0d20-_0x494e71;_0xd41df1['block']?this['addBlock'](new HeightMapBlock(_0x226a41,_0x2df2e0,_0xd41df1)):(_0x226a41||_0x344a68||_0x2df2e0>=relevantWidgetHeight)&&this['addLineDeco'](_0x2df2e0,_0x344a68,_0x226a41);}else _0x1e0d20>_0x494e71&&this['span'](_0x494e71,_0x1e0d20);this['lineEnd']>-0x1&&this['lineEnd']<this['pos']&&(this['lineEnd']=this['oracle']['doc']['lineAt'](this['pos'])['to']);}['enterLine'](){if(this['lineStart']>-0x1)return;let {from:_0x250d4e,to:_0x63a23f}=this['oracle']['doc']['lineAt'](this['pos']);this['lineStart']=_0x250d4e,this['lineEnd']=_0x63a23f,this['writtenTo']<_0x250d4e&&((this['writtenTo']<_0x250d4e-0x1||null==this['nodes'][this['nodes']['length']-0x1])&&this['nodes']['push'](this['blankContent'](this['writtenTo'],_0x250d4e-0x1)),this['nodes']['push'](null)),this['pos']>_0x250d4e&&this['nodes']['push'](new HeightMapText(this['pos']-_0x250d4e,-0x1)),this['writtenTo']=this['pos'];}['blankContent'](_0x3e257e,_0x30483d){let _0x1cb9a3=new HeightMapGap(_0x30483d-_0x3e257e);return this['oracle']['doc']['lineAt'](_0x3e257e)['to']==_0x30483d&&(_0x1cb9a3['flags']|=0x4),_0x1cb9a3;}['ensureLine'](){this['enterLine']();let _0x4d3987=this['nodes']['length']?this['nodes'][this['nodes']['length']-0x1]:null;if(_0x4d3987 instanceof HeightMapText)return _0x4d3987;let _0x48ced5=new HeightMapText(0x0,-0x1);return this['nodes']['push'](_0x48ced5),_0x48ced5;}['addBlock'](_0x4e42cb){this['enterLine']();let _0x237e26=_0x4e42cb['deco'];_0x237e26&&_0x237e26['startSide']>0x0&&!this['isCovered']&&this['ensureLine'](),this['nodes']['push'](_0x4e42cb),this['writtenTo']=this['pos']=this['pos']+_0x4e42cb['length'],_0x237e26&&_0x237e26['endSide']>0x0&&(this['covering']=_0x4e42cb);}['addLineDeco'](_0x67178e,_0x31932e,_0x49f29a){let _0x4209da=this['ensureLine']();_0x4209da['length']+=_0x49f29a,_0x4209da['collapsed']+=_0x49f29a,_0x4209da['widgetHeight']=Math['max'](_0x4209da['widgetHeight'],_0x67178e),_0x4209da['breaks']+=_0x31932e,this['writtenTo']=this['pos']=this['pos']+_0x49f29a;}['finish'](_0xdebf3){let _0x13d617=0x0==this['nodes']['length']?null:this['nodes'][this['nodes']['length']-0x1];!(this['lineStart']>-0x1)||_0x13d617 instanceof HeightMapText||this['isCovered']?(this['writtenTo']<this['pos']||null==_0x13d617)&&this['nodes']['push'](this['blankContent'](this['writtenTo'],this['pos'])):this['nodes']['push'](new HeightMapText(0x0,-0x1));let _0x8d7249=_0xdebf3;for(let _0x1a376c of this['nodes'])_0x1a376c instanceof HeightMapText&&_0x1a376c['updateHeight'](this['oracle'],_0x8d7249),_0x8d7249+=_0x1a376c?_0x1a376c['length']:0x1;return this['nodes'];}static['build'](_0x1e5322,_0x1d1e46,_0x321301,_0x2e657a){let _0x516f38=new _0x35e457(_0x321301,_0x1e5322);return RangeSet['spans'](_0x1d1e46,_0x321301,_0x2e657a,_0x516f38,0x0),_0x516f38['finish'](_0x321301);}}function heightRelevantDecoChanges(_0xbc87a9,_0x80211f,_0x4a1a92){let _0x33a6f2=new DecorationComparator();return RangeSet['compare'](_0xbc87a9,_0x80211f,_0x4a1a92,_0x33a6f2,0x0),_0x33a6f2['changes'];}class DecorationComparator{constructor(){this['changes']=[];}['compareRange'](){}['comparePoint'](_0x23c6ef,_0x27f0cc,_0x327220,_0x3aa0e5){(_0x23c6ef<_0x27f0cc||_0x327220&&_0x327220['heightRelevant']||_0x3aa0e5&&_0x3aa0e5['heightRelevant'])&&_0x1a71f0(_0x23c6ef,_0x27f0cc,this['changes'],0x5);}}function _0x37a95b(_0x21542a,_0x22c414){let _0xff3e1b=_0x21542a['getBoundingClientRect'](),_0x2c86bb=_0x21542a['ownerDocument'],_0x2cbab2=_0x2c86bb['defaultView']||window,_0x554de8=Math['max'](0x0,_0xff3e1b['left']),_0x571710=Math['min'](_0x2cbab2['innerWidth'],_0xff3e1b['right']),_0x134048=Math['max'](0x0,_0xff3e1b['top']),_0x481110=Math['min'](_0x2cbab2['innerHeight'],_0xff3e1b['bottom']);for(let _0x3be851=_0x21542a['parentNode'];_0x3be851&&_0x3be851!=_0x2c86bb['body'];)if(0x1==_0x3be851['nodeType']){let _0x2ccb5c=_0x3be851,_0x4b3cba=window['getComputedStyle'](_0x2ccb5c);if((_0x2ccb5c['scrollHeight']>_0x2ccb5c['clientHeight']||_0x2ccb5c['scrollWidth']>_0x2ccb5c['clientWidth'])&&'visible'!=_0x4b3cba['overflow']){let _0xfcee6c=_0x2ccb5c['getBoundingClientRect']();_0x554de8=Math['max'](_0x554de8,_0xfcee6c['left']),_0x571710=Math['min'](_0x571710,_0xfcee6c['right']),_0x134048=Math['max'](_0x134048,_0xfcee6c['top']),_0x481110=Math['min'](_0x3be851==_0x21542a['parentNode']?_0x2cbab2['innerHeight']:_0x481110,_0xfcee6c['bottom']);}_0x3be851='absolute'==_0x4b3cba['position']||'fixed'==_0x4b3cba['position']?_0x2ccb5c['offsetParent']:_0x2ccb5c['parentNode'];}else{if(0xb!=_0x3be851['nodeType'])break;_0x3be851=_0x3be851['host'];}return{'left':_0x554de8-_0xff3e1b['left'],'right':Math['max'](_0x554de8,_0x571710)-_0xff3e1b['left'],'top':_0x134048-(_0xff3e1b['top']+_0x22c414),'bottom':Math['max'](_0x134048,_0x481110)-(_0xff3e1b['top']+_0x22c414)};}function _0x5a8de5(_0x279892){let _0x43b447=_0x279892['getBoundingClientRect'](),_0x23337e=_0x279892['ownerDocument']['defaultView']||window;return _0x43b447['left']<_0x23337e['innerWidth']&&_0x43b447['right']>0x0&&_0x43b447['top']<_0x23337e['innerHeight']&&_0x43b447['bottom']>0x0;}function _0x1bcda2(_0x566ea8,_0x50916d){let _0x34ae6e=_0x566ea8['getBoundingClientRect']();return{'left':0x0,'right':_0x34ae6e['right']-_0x34ae6e['left'],'top':_0x50916d,'bottom':_0x34ae6e['bottom']-(_0x34ae6e['top']+_0x50916d)};}class _0x4d61a6{constructor(_0x3ab75e,_0x28b384,_0x30c8f0,_0x12ae4b){this['from']=_0x3ab75e,this['to']=_0x28b384,this['size']=_0x30c8f0,this['displaySize']=_0x12ae4b;}static['same'](_0x41b244,_0x41fe55){if(_0x41b244['length']!=_0x41fe55['length'])return!0x1;for(let _0x35bd84=0x0;_0x35bd84<_0x41b244['length'];_0x35bd84++){let _0x423e4d=_0x41b244[_0x35bd84],_0x19a4cc=_0x41fe55[_0x35bd84];if(_0x423e4d['from']!=_0x19a4cc['from']||_0x423e4d['to']!=_0x19a4cc['to']||_0x423e4d['size']!=_0x19a4cc['size'])return!0x1;}return!0x0;}['draw'](_0x5cc9fb,_0x510a20){return Decoration['replace']({'widget':new LineGapWidget(this['displaySize']*(_0x510a20?_0x5cc9fb['scaleY']:_0x5cc9fb['scaleX']),_0x510a20)})['range'](this['from'],this['to']);}}class LineGapWidget extends WidgetType{constructor(_0x13956b,_0x544c9d){super(),this['size']=_0x13956b,this['vertical']=_0x544c9d;}['eq'](_0x5e3930){return _0x5e3930['size']==this['size']&&_0x5e3930['vertical']==this['vertical'];}['toDOM'](){let _0x2abc1d=document['createElement']('div');return this['vertical']?_0x2abc1d['style']['height']=this['size']+'px':(_0x2abc1d['style']['width']=this['size']+'px',_0x2abc1d['style']['height']='2px',_0x2abc1d['style']['display']='inline-block'),_0x2abc1d;}get['estimatedHeight'](){return this['vertical']?this['size']:-0x1;}}class ViewState{constructor(_0x2c18f6){this['state']=_0x2c18f6,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']=_0x1b7c08,this['scrollTarget']=null,this['printing']=!0x1,this['mustMeasureContent']=!0x0,this['defaultTextDirection']=Direction['LTR'],this['visibleRanges']=[],this['mustEnforceCursorAssoc']=!0x1;let _0x135506=_0x2c18f6['facet'](contentAttributes)['some'](_0x34b9e5=>'function'!=typeof _0x34b9e5&&'cm-lineWrapping'==_0x34b9e5['class']);this['heightOracle']=new HeightOracle(_0x135506),this['stateDeco']=_0x2c18f6['facet'](decorations)['filter'](_0x1d8a97=>'function'!=typeof _0x1d8a97),this['heightMap']=HeightMap['empty']()['applyChanges'](this['stateDeco'],Text$1['empty'],this['heightOracle']['setDoc'](_0x2c18f6['doc']),[new _0x4eb499(0x0,0x0,0x0,_0x2c18f6['doc']['length'])]);for(let _0x3ed545=0x0;_0x3ed545<0x2&&(this['viewport']=this['getViewport'](0x0,null),this['updateForViewport']());_0x3ed545++);this['updateViewportLines'](),this['lineGaps']=this['ensureLineGaps']([]),this['lineGapDeco']=Decoration['set'](this['lineGaps']['map'](_0xf2e9e2=>_0xf2e9e2['draw'](this,!0x1))),this['computeVisibleRanges']();}['updateForViewport'](){let _0x2eb3e4=[this['viewport']],{main:_0x4742ff}=this['state']['selection'];for(let _0x2c5cca=0x0;_0x2c5cca<=0x1;_0x2c5cca++){let _0x3ee40e=_0x2c5cca?_0x4742ff['head']:_0x4742ff['anchor'];if(!_0x2eb3e4['some'](({from:_0x265581,to:_0x5a9e18})=>_0x3ee40e>=_0x265581&&_0x3ee40e<=_0x5a9e18)){let {from:_0x1392f0,to:_0x2a00e7}=this['lineBlockAt'](_0x3ee40e);_0x2eb3e4['push'](new Viewport(_0x1392f0,_0x2a00e7));}}return this['viewports']=_0x2eb3e4['sort']((_0x4d3757,_0x3a7e57)=>_0x4d3757['from']-_0x3a7e57['from']),this['updateScaler']();}['updateScaler'](){let _0x37b2d3=this['scaler'];return this['scaler']=this['heightMap']['height']<=0x6acfc0?_0x1b7c08:new _0x4440ed(this['heightOracle'],this['heightMap'],this['viewports']),_0x37b2d3['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,_0x4b8ad1=>{this['viewportLines']['push'](_0x5a61a3(_0x4b8ad1,this['scaler']));});}['update'](_0x5ba45e,_0x226691=null){this['state']=_0x5ba45e['state'];let _0x54c0b8=this['stateDeco'];this['stateDeco']=this['state']['facet'](decorations)['filter'](_0x98b176=>'function'!=typeof _0x98b176);let _0x53311b=_0x5ba45e['changedRanges'],_0x175582=_0x4eb499['extendWithRanges'](_0x53311b,heightRelevantDecoChanges(_0x54c0b8,this['stateDeco'],_0x5ba45e?_0x5ba45e['changes']:ChangeSet['empty'](this['state']['doc']['length']))),_0x1562f4=this['heightMap']['height'],_0x4d0c84=this['scrolledToBottom']?null:this['scrollAnchorAt'](this['scrollTop']);clearHeightChangeFlag(),this['heightMap']=this['heightMap']['applyChanges'](this['stateDeco'],_0x5ba45e['startState']['doc'],this['heightOracle']['setDoc'](this['state']['doc']),_0x175582),(this['heightMap']['height']!=_0x1562f4||heightChangeFlag)&&(_0x5ba45e['flags']|=0x2),_0x4d0c84?(this['scrollAnchorPos']=_0x5ba45e['changes']['mapPos'](_0x4d0c84['from'],-0x1),this['scrollAnchorHeight']=_0x4d0c84['top']):(this['scrollAnchorPos']=-0x1,this['scrollAnchorHeight']=_0x1562f4);let _0x393d57=_0x175582['length']?this['mapViewport'](this['viewport'],_0x5ba45e['changes']):this['viewport'];(_0x226691&&(_0x226691['range']['head']<_0x393d57['from']||_0x226691['range']['head']>_0x393d57['to'])||!this['viewportIsAppropriate'](_0x393d57))&&(_0x393d57=this['getViewport'](0x0,_0x226691));let _0x1e88a6=_0x393d57['from']!=this['viewport']['from']||_0x393d57['to']!=this['viewport']['to'];this['viewport']=_0x393d57,_0x5ba45e['flags']|=this['updateForViewport'](),(_0x1e88a6||!_0x5ba45e['changes']['empty']||0x2&_0x5ba45e['flags'])&&this['updateViewportLines'](),(this['lineGaps']['length']||this['viewport']['to']-this['viewport']['from']>0xfa0)&&this['updateLineGaps'](this['ensureLineGaps'](this['mapLineGaps'](this['lineGaps'],_0x5ba45e['changes']))),_0x5ba45e['flags']|=this['computeVisibleRanges'](_0x5ba45e['changes']),_0x226691&&(this['scrollTarget']=_0x226691),!this['mustEnforceCursorAssoc']&&_0x5ba45e['selectionSet']&&_0x5ba45e['view']['lineWrapping']&&_0x5ba45e['state']['selection']['main']['empty']&&_0x5ba45e['state']['selection']['main']['assoc']&&!_0x5ba45e['state']['facet'](nativeSelectionHidden)&&(this['mustEnforceCursorAssoc']=!0x0);}['measure'](_0x2832a7){let _0x528b8f=_0x2832a7['contentDOM'],_0x50be6a=window['getComputedStyle'](_0x528b8f),_0x498814=this['heightOracle'],_0x2f41eb=_0x50be6a['whiteSpace'];this['defaultTextDirection']='rtl'==_0x50be6a['direction']?Direction['RTL']:Direction['LTR'];let _0x16eb06=this['heightOracle']['mustRefreshForWrapping'](_0x2f41eb),_0x5eadb6=_0x528b8f['getBoundingClientRect'](),_0x19150c=_0x16eb06||this['mustMeasureContent']||this['contentDOMHeight']!=_0x5eadb6['height'];this['contentDOMHeight']=_0x5eadb6['height'],this['mustMeasureContent']=!0x1;let _0x276b79=0x0,_0xdf9193=0x0;if(_0x5eadb6['width']&&_0x5eadb6['height']){let {scaleX:_0x4b5567,scaleY:_0x3a6790}=getScale(_0x528b8f,_0x5eadb6);(_0x4b5567>0.005&&Math['abs'](this['scaleX']-_0x4b5567)>0.005||_0x3a6790>0.005&&Math['abs'](this['scaleY']-_0x3a6790)>0.005)&&(this['scaleX']=_0x4b5567,this['scaleY']=_0x3a6790,_0x276b79|=0x10,_0x16eb06=_0x19150c=!0x0);}let _0x4808dc=(parseInt(_0x50be6a['paddingTop'])||0x0)*this['scaleY'],_0xe4a5d=(parseInt(_0x50be6a['paddingBottom'])||0x0)*this['scaleY'];this['paddingTop']==_0x4808dc&&this['paddingBottom']==_0xe4a5d||(this['paddingTop']=_0x4808dc,this['paddingBottom']=_0xe4a5d,_0x276b79|=0x12),this['editorWidth']!=_0x2832a7['scrollDOM']['clientWidth']&&(_0x498814['lineWrapping']&&(_0x19150c=!0x0),this['editorWidth']=_0x2832a7['scrollDOM']['clientWidth'],_0x276b79|=0x10);let _0x167689=_0x2832a7['scrollDOM']['scrollTop']*this['scaleY'];this['scrollTop']!=_0x167689&&(this['scrollAnchorHeight']=-0x1,this['scrollTop']=_0x167689),this['scrolledToBottom']=isScrolledToBottom(_0x2832a7['scrollDOM']);let _0xcc544c=(this['printing']?_0x1bcda2:_0x37a95b)(_0x528b8f,this['paddingTop']),_0xa60adc=_0xcc544c['top']-this['pixelViewport']['top'],_0x3f1373=_0xcc544c['bottom']-this['pixelViewport']['bottom'];this['pixelViewport']=_0xcc544c;let _0xa17c02=this['pixelViewport']['bottom']>this['pixelViewport']['top']&&this['pixelViewport']['right']>this['pixelViewport']['left'];if(_0xa17c02!=this['inView']&&(this['inView']=_0xa17c02,_0xa17c02&&(_0x19150c=!0x0)),!this['inView']&&!this['scrollTarget']&&!_0x5a8de5(_0x2832a7['dom']))return 0x0;let _0x460e7e=_0x5eadb6['width'];if(this['contentDOMWidth']==_0x460e7e&&this['editorHeight']==_0x2832a7['scrollDOM']['clientHeight']||(this['contentDOMWidth']=_0x5eadb6['width'],this['editorHeight']=_0x2832a7['scrollDOM']['clientHeight'],_0x276b79|=0x10),_0x19150c){let _0x127600=_0x2832a7['docView']['measureVisibleLineHeights'](this['viewport']);if(_0x498814['mustRefreshForHeights'](_0x127600)&&(_0x16eb06=!0x0),_0x16eb06||_0x498814['lineWrapping']&&Math['abs'](_0x460e7e-this['contentDOMWidth'])>_0x498814['charWidth']){let {lineHeight:_0x2d8438,charWidth:_0x12788f,textHeight:_0x27fa48}=_0x2832a7['docView']['measureTextSize']();_0x16eb06=_0x2d8438>0x0&&_0x498814['refresh'](_0x2f41eb,_0x2d8438,_0x12788f,_0x27fa48,Math['max'](0x5,_0x460e7e/_0x12788f),_0x127600),_0x16eb06&&(_0x2832a7['docView']['minWidth']=0x0,_0x276b79|=0x10);}_0xa60adc>0x0&&_0x3f1373>0x0?_0xdf9193=Math['max'](_0xa60adc,_0x3f1373):_0xa60adc<0x0&&_0x3f1373<0x0&&(_0xdf9193=Math['min'](_0xa60adc,_0x3f1373)),clearHeightChangeFlag();for(let _0x14e0d2 of this['viewports']){let _0x4f9a19=_0x14e0d2['from']==this['viewport']['from']?_0x127600:_0x2832a7['docView']['measureVisibleLineHeights'](_0x14e0d2);this['heightMap']=(_0x16eb06?HeightMap['empty']()['applyChanges'](this['stateDeco'],Text$1['empty'],this['heightOracle'],[new _0x4eb499(0x0,0x0,0x0,_0x2832a7['state']['doc']['length'])]):this['heightMap'])['updateHeight'](_0x498814,0x0,_0x16eb06,new MeasuredHeights(_0x14e0d2['from'],_0x4f9a19));}heightChangeFlag&&(_0x276b79|=0x2);}let _0x4763d8=!this['viewportIsAppropriate'](this['viewport'],_0xdf9193)||this['scrollTarget']&&(this['scrollTarget']['range']['head']<this['viewport']['from']||this['scrollTarget']['range']['head']>this['viewport']['to']);return _0x4763d8&&(0x2&_0x276b79&&(_0x276b79|=this['updateScaler']()),this['viewport']=this['getViewport'](_0xdf9193,this['scrollTarget']),_0x276b79|=this['updateForViewport']()),(0x2&_0x276b79||_0x4763d8)&&this['updateViewportLines'](),(this['lineGaps']['length']||this['viewport']['to']-this['viewport']['from']>0xfa0)&&this['updateLineGaps'](this['ensureLineGaps'](_0x16eb06?[]:this['lineGaps'],_0x2832a7)),_0x276b79|=this['computeVisibleRanges'](),this['mustEnforceCursorAssoc']&&(this['mustEnforceCursorAssoc']=!0x1,_0x2832a7['docView']['enforceCursorAssoc']()),_0x276b79;}get['visibleTop'](){return this['scaler']['fromDOM'](this['pixelViewport']['top']);}get['visibleBottom'](){return this['scaler']['fromDOM'](this['pixelViewport']['bottom']);}['getViewport'](_0x21432f,_0x584dac){let _0x268c4e=0.5-Math['max'](-0.5,Math['min'](0.5,_0x21432f/0x3e8/0x2)),_0x18c7a6=this['heightMap'],_0x5a0052=this['heightOracle'],{visibleTop:_0x413322,visibleBottom:_0x4097d4}=this,_0x29b912=new Viewport(_0x18c7a6['lineAt'](_0x413322-0x3e8*_0x268c4e,_0x10d07b['ByHeight'],_0x5a0052,0x0,0x0)['from'],_0x18c7a6['lineAt'](_0x4097d4+0x3e8*(0x1-_0x268c4e),_0x10d07b['ByHeight'],_0x5a0052,0x0,0x0)['to']);if(_0x584dac){let {head:_0x117bac}=_0x584dac['range'];if(_0x117bac<_0x29b912['from']||_0x117bac>_0x29b912['to']){let _0x54ef24,_0x4d1abb=Math['min'](this['editorHeight'],this['pixelViewport']['bottom']-this['pixelViewport']['top']),_0x23a60a=_0x18c7a6['lineAt'](_0x117bac,_0x10d07b['ByPos'],_0x5a0052,0x0,0x0);_0x54ef24='center'==_0x584dac['y']?(_0x23a60a['top']+_0x23a60a['bottom'])/0x2-_0x4d1abb/0x2:'start'==_0x584dac['y']||'nearest'==_0x584dac['y']&&_0x117bac<_0x29b912['from']?_0x23a60a['top']:_0x23a60a['bottom']-_0x4d1abb,_0x29b912=new Viewport(_0x18c7a6['lineAt'](_0x54ef24-0x1f4,_0x10d07b['ByHeight'],_0x5a0052,0x0,0x0)['from'],_0x18c7a6['lineAt'](_0x54ef24+_0x4d1abb+0x1f4,_0x10d07b['ByHeight'],_0x5a0052,0x0,0x0)['to']);}}return _0x29b912;}['mapViewport'](_0xc138e3,_0x593e17){let _0x423430=_0x593e17['mapPos'](_0xc138e3['from'],-0x1),_0x3060a7=_0x593e17['mapPos'](_0xc138e3['to'],0x1);return new Viewport(this['heightMap']['lineAt'](_0x423430,_0x10d07b['ByPos'],this['heightOracle'],0x0,0x0)['from'],this['heightMap']['lineAt'](_0x3060a7,_0x10d07b['ByPos'],this['heightOracle'],0x0,0x0)['to']);}['viewportIsAppropriate']({from:_0x1cad3d,to:_0x36317b},_0x40cb1a=0x0){if(!this['inView'])return!0x0;let {top:_0x4886ef}=this['heightMap']['lineAt'](_0x1cad3d,_0x10d07b['ByPos'],this['heightOracle'],0x0,0x0),{bottom:_0x1ac39e}=this['heightMap']['lineAt'](_0x36317b,_0x10d07b['ByPos'],this['heightOracle'],0x0,0x0),{visibleTop:_0x2314a1,visibleBottom:_0x15a48f}=this;return(0x0==_0x1cad3d||_0x4886ef<=_0x2314a1-Math['max'](0xa,Math['min'](-_0x40cb1a,0xfa)))&&(_0x36317b==this['state']['doc']['length']||_0x1ac39e>=_0x15a48f+Math['max'](0xa,Math['min'](_0x40cb1a,0xfa)))&&_0x4886ef>_0x2314a1-0x7d0&&_0x1ac39e<_0x15a48f+0x7d0;}['mapLineGaps'](_0x375c4d,_0x1e4da1){if(!_0x375c4d['length']||_0x1e4da1['empty'])return _0x375c4d;let _0x54c205=[];for(let _0xd38cb3 of _0x375c4d)_0x1e4da1['touchesRange'](_0xd38cb3['from'],_0xd38cb3['to'])||_0x54c205['push'](new _0x4d61a6(_0x1e4da1['mapPos'](_0xd38cb3['from']),_0x1e4da1['mapPos'](_0xd38cb3['to']),_0xd38cb3['size'],_0xd38cb3['displaySize']));return _0x54c205;}['ensureLineGaps'](_0x1821a0,_0x4c26b3){let _0x211d53=this['heightOracle']['lineWrapping'],_0x50780f=_0x211d53?0x2710:0x7d0,_0x37c8ac=_0x50780f>>0x1,_0x28fd2a=_0x50780f<<0x1;if(this['defaultTextDirection']!=Direction['LTR']&&!_0x211d53)return[];let _0x127cc6=[],_0x34e797=(_0x108235,_0x1e3e53,_0x5c16a8,_0x2a8e21)=>{if(_0x1e3e53-_0x108235<_0x37c8ac)return;let _0x4f5246=this['state']['selection']['main'],_0x347465=[_0x4f5246['from']];_0x4f5246['empty']||_0x347465['push'](_0x4f5246['to']);for(let _0x23a4f8 of _0x347465)if(_0x23a4f8>_0x108235&&_0x23a4f8<_0x1e3e53)return _0x34e797(_0x108235,_0x23a4f8-0xa,_0x5c16a8,_0x2a8e21),void _0x34e797(_0x23a4f8+0xa,_0x1e3e53,_0x5c16a8,_0x2a8e21);let _0xafc88a=_0x4faf5a(_0x1821a0,_0x83d50e=>_0x83d50e['from']>=_0x5c16a8['from']&&_0x83d50e['to']<=_0x5c16a8['to']&&Math['abs'](_0x83d50e['from']-_0x108235)<_0x37c8ac&&Math['abs'](_0x83d50e['to']-_0x1e3e53)<_0x37c8ac&&!_0x347465['some'](_0x298953=>_0x83d50e['from']<_0x298953&&_0x83d50e['to']>_0x298953));if(!_0xafc88a){if(_0x1e3e53<_0x5c16a8['to']&&_0x4c26b3&&_0x211d53&&_0x4c26b3['visibleRanges']['some'](_0x3f7009=>_0x3f7009['from']<=_0x1e3e53&&_0x3f7009['to']>=_0x1e3e53)){let _0x3ce8e7=_0x4c26b3['moveToLineBoundary'](EditorSelection['cursor'](_0x1e3e53),!0x1,!0x0)['head'];_0x3ce8e7>_0x108235&&(_0x1e3e53=_0x3ce8e7);}let _0x220376=this['gapSize'](_0x5c16a8,_0x108235,_0x1e3e53,_0x2a8e21);_0xafc88a=new _0x4d61a6(_0x108235,_0x1e3e53,_0x220376,_0x211d53||_0x220376<0x1e8480?_0x220376:0x1e8480);}_0x127cc6['push'](_0xafc88a);},_0x26ff3e=_0x323cc5=>{if(_0x323cc5['length']<_0x28fd2a||_0x323cc5['type']!=_0x516d37['Text'])return;let _0x460aee=lineStructure(_0x323cc5['from'],_0x323cc5['to'],this['stateDeco']);if(_0x460aee['total']<_0x28fd2a)return;let _0x124a66,_0x5f4987,_0x46e458=this['scrollTarget']?this['scrollTarget']['range']['head']:null;if(_0x211d53){let _0xe94665,_0x23c399,_0x497344=_0x50780f/this['heightOracle']['lineLength']*this['heightOracle']['lineHeight'];if(null!=_0x46e458){let _0x278352=findFraction(_0x460aee,_0x46e458),_0x46558d=((this['visibleBottom']-this['visibleTop'])/0x2+_0x497344)/_0x323cc5['height'];_0xe94665=_0x278352-_0x46558d,_0x23c399=_0x278352+_0x46558d;}else _0xe94665=(this['visibleTop']-_0x323cc5['top']-_0x497344)/_0x323cc5['height'],_0x23c399=(this['visibleBottom']-_0x323cc5['top']+_0x497344)/_0x323cc5['height'];_0x124a66=findPosition(_0x460aee,_0xe94665),_0x5f4987=findPosition(_0x460aee,_0x23c399);}else{let _0x103fa9=_0x460aee['total']*this['heightOracle']['charWidth'],_0x5a6fe1=_0x50780f*this['heightOracle']['charWidth'],_0x1148d8=0x0;if(_0x103fa9>0x1e8480){for(let _0x13fab5 of _0x1821a0)_0x13fab5['from']>=_0x323cc5['from']&&_0x13fab5['from']<_0x323cc5['to']&&_0x13fab5['size']!=_0x13fab5['displaySize']&&_0x13fab5['from']*this['heightOracle']['charWidth']+_0x1148d8<this['pixelViewport']['left']&&(_0x1148d8=_0x13fab5['size']-_0x13fab5['displaySize']);}let _0x2e1fad,_0x3770ce,_0x13b934=this['pixelViewport']['left']+_0x1148d8,_0x2b45a8=this['pixelViewport']['right']+_0x1148d8;if(null!=_0x46e458){let _0x3b23f1=findFraction(_0x460aee,_0x46e458),_0x3a3090=((_0x2b45a8-_0x13b934)/0x2+_0x5a6fe1)/_0x103fa9;_0x2e1fad=_0x3b23f1-_0x3a3090,_0x3770ce=_0x3b23f1+_0x3a3090;}else _0x2e1fad=(_0x13b934-_0x5a6fe1)/_0x103fa9,_0x3770ce=(_0x2b45a8+_0x5a6fe1)/_0x103fa9;_0x124a66=findPosition(_0x460aee,_0x2e1fad),_0x5f4987=findPosition(_0x460aee,_0x3770ce);}_0x124a66>_0x323cc5['from']&&_0x34e797(_0x323cc5['from'],_0x124a66,_0x323cc5,_0x460aee),_0x5f4987<_0x323cc5['to']&&_0x34e797(_0x5f4987,_0x323cc5['to'],_0x323cc5,_0x460aee);};for(let _0x32c033 of this['viewportLines'])Array['isArray'](_0x32c033['type'])?_0x32c033['type']['forEach'](_0x26ff3e):_0x26ff3e(_0x32c033);return _0x127cc6;}['gapSize'](_0x2f80d4,_0x43ddb8,_0x4c84c8,_0x47e82d){let _0x6fe80c=findFraction(_0x47e82d,_0x4c84c8)-findFraction(_0x47e82d,_0x43ddb8);return this['heightOracle']['lineWrapping']?_0x2f80d4['height']*_0x6fe80c:_0x47e82d['total']*this['heightOracle']['charWidth']*_0x6fe80c;}['updateLineGaps'](_0x507bf0){_0x4d61a6['same'](_0x507bf0,this['lineGaps'])||(this['lineGaps']=_0x507bf0,this['lineGapDeco']=Decoration['set'](_0x507bf0['map'](_0x1486de=>_0x1486de['draw'](this,this['heightOracle']['lineWrapping']))));}['computeVisibleRanges'](_0x1488c2){let _0xd1dc38=this['stateDeco'];this['lineGaps']['length']&&(_0xd1dc38=_0xd1dc38['concat'](this['lineGapDeco']));let _0x176c3c=[];RangeSet['spans'](_0xd1dc38,this['viewport']['from'],this['viewport']['to'],{'span'(_0x345095,_0x358f19){_0x176c3c['push']({'from':_0x345095,'to':_0x358f19});},'point'(){}},0x14);let _0x3ba795=0x0;if(_0x176c3c['length']!=this['visibleRanges']['length'])_0x3ba795=0xc;else for(let _0x722efe=0x0;_0x722efe<_0x176c3c['length']&&!(0x8&_0x3ba795);_0x722efe++){let _0x41365e=this['visibleRanges'][_0x722efe],_0x1ce4f1=_0x176c3c[_0x722efe];_0x41365e['from']==_0x1ce4f1['from']&&_0x41365e['to']==_0x1ce4f1['to']||(_0x3ba795|=0x4,_0x1488c2&&_0x1488c2['mapPos'](_0x41365e['from'],-0x1)==_0x1ce4f1['from']&&_0x1488c2['mapPos'](_0x41365e['to'],0x1)==_0x1ce4f1['to']||(_0x3ba795|=0x8));}return this['visibleRanges']=_0x176c3c,_0x3ba795;}['lineBlockAt'](_0x3c5512){return _0x3c5512>=this['viewport']['from']&&_0x3c5512<=this['viewport']['to']&&this['viewportLines']['find'](_0x34d2fd=>_0x34d2fd['from']<=_0x3c5512&&_0x34d2fd['to']>=_0x3c5512)||_0x5a61a3(this['heightMap']['lineAt'](_0x3c5512,_0x10d07b['ByPos'],this['heightOracle'],0x0,0x0),this['scaler']);}['lineBlockAtHeight'](_0x3aece6){return _0x3aece6>=this['viewportLines'][0x0]['top']&&_0x3aece6<=this['viewportLines'][this['viewportLines']['length']-0x1]['bottom']&&this['viewportLines']['find'](_0x222f80=>_0x222f80['top']<=_0x3aece6&&_0x222f80['bottom']>=_0x3aece6)||_0x5a61a3(this['heightMap']['lineAt'](this['scaler']['fromDOM'](_0x3aece6),_0x10d07b['ByHeight'],this['heightOracle'],0x0,0x0),this['scaler']);}['scrollAnchorAt'](_0x570c56){let _0x32f227=this['lineBlockAtHeight'](_0x570c56+0x8);return _0x32f227['from']>=this['viewport']['from']||this['viewportLines'][0x0]['top']-_0x570c56>0xc8?_0x32f227:this['viewportLines'][0x0];}['elementAtHeight'](_0x1c50a7){return _0x5a61a3(this['heightMap']['blockAt'](this['scaler']['fromDOM'](_0x1c50a7),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(_0x1b175b,_0x48e7cc){this['from']=_0x1b175b,this['to']=_0x48e7cc;}}function lineStructure(_0x37d9df,_0x2101f0,_0x26627d){let _0x108a98=[],_0x458f47=_0x37d9df,_0x1fd3f8=0x0;return RangeSet['spans'](_0x26627d,_0x37d9df,_0x2101f0,{'span'(){},'point'(_0x10e72b,_0x9ec000){_0x10e72b>_0x458f47&&(_0x108a98['push']({'from':_0x458f47,'to':_0x10e72b}),_0x1fd3f8+=_0x10e72b-_0x458f47),_0x458f47=_0x9ec000;}},0x14),_0x458f47<_0x2101f0&&(_0x108a98['push']({'from':_0x458f47,'to':_0x2101f0}),_0x1fd3f8+=_0x2101f0-_0x458f47),{'total':_0x1fd3f8,'ranges':_0x108a98};}function findPosition({total:_0x67fd43,ranges:_0x12795a},_0x3e86a4){if(_0x3e86a4<=0x0)return _0x12795a[0x0]['from'];if(_0x3e86a4>=0x1)return _0x12795a[_0x12795a['length']-0x1]['to'];let _0x4509cb=Math['floor'](_0x67fd43*_0x3e86a4);for(let _0x1ccd64=0x0;;_0x1ccd64++){let {from:_0x3960a0,to:_0x1ac6f8}=_0x12795a[_0x1ccd64],_0x5a51bf=_0x1ac6f8-_0x3960a0;if(_0x4509cb<=_0x5a51bf)return _0x3960a0+_0x4509cb;_0x4509cb-=_0x5a51bf;}}function findFraction(_0x2ef567,_0x32b4d2){let _0x3d5148=0x0;for(let {from:_0x501412,to:_0x29a517}of _0x2ef567['ranges']){if(_0x32b4d2<=_0x29a517){_0x3d5148+=_0x32b4d2-_0x501412;break;}_0x3d5148+=_0x29a517-_0x501412;}return _0x3d5148/_0x2ef567['total'];}function _0x4faf5a(_0x337f1d,_0x599549){for(let _0x297fe4 of _0x337f1d)if(_0x599549(_0x297fe4))return _0x297fe4;}const _0x1b7c08={'toDOM':_0x175aba=>_0x175aba,'fromDOM':_0x181e2b=>_0x181e2b,'scale':0x1,'eq'(_0x323ae2){return _0x323ae2==this;}};class _0x4440ed{constructor(_0x26f342,_0x287883,_0x2be47a){let _0x2b0db3=0x0,_0x5e5b8c=0x0,_0x3b63a9=0x0;this['viewports']=_0x2be47a['map'](({from:_0x49b075,to:_0x5f0260})=>{let _0x385483=_0x287883['lineAt'](_0x49b075,_0x10d07b['ByPos'],_0x26f342,0x0,0x0)['top'],_0x257c09=_0x287883['lineAt'](_0x5f0260,_0x10d07b['ByPos'],_0x26f342,0x0,0x0)['bottom'];return _0x2b0db3+=_0x257c09-_0x385483,{'from':_0x49b075,'to':_0x5f0260,'top':_0x385483,'bottom':_0x257c09,'domTop':0x0,'domBottom':0x0};}),this['scale']=(0x6acfc0-_0x2b0db3)/(_0x287883['height']-_0x2b0db3);for(let _0x2484cf of this['viewports'])_0x2484cf['domTop']=_0x3b63a9+(_0x2484cf['top']-_0x5e5b8c)*this['scale'],_0x3b63a9=_0x2484cf['domBottom']=_0x2484cf['domTop']+(_0x2484cf['bottom']-_0x2484cf['top']),_0x5e5b8c=_0x2484cf['bottom'];}['toDOM'](_0xcb5467){for(let _0x31b1f9=0x0,_0x33c6cb=0x0,_0x16aabb=0x0;;_0x31b1f9++){let _0x4b3969=_0x31b1f9<this['viewports']['length']?this['viewports'][_0x31b1f9]:null;if(!_0x4b3969||_0xcb5467<_0x4b3969['top'])return _0x16aabb+(_0xcb5467-_0x33c6cb)*this['scale'];if(_0xcb5467<=_0x4b3969['bottom'])return _0x4b3969['domTop']+(_0xcb5467-_0x4b3969['top']);_0x33c6cb=_0x4b3969['bottom'],_0x16aabb=_0x4b3969['domBottom'];}}['fromDOM'](_0x19f554){for(let _0x1651e1=0x0,_0x5a7091=0x0,_0xc0065f=0x0;;_0x1651e1++){let _0x4f47cc=_0x1651e1<this['viewports']['length']?this['viewports'][_0x1651e1]:null;if(!_0x4f47cc||_0x19f554<_0x4f47cc['domTop'])return _0x5a7091+(_0x19f554-_0xc0065f)/this['scale'];if(_0x19f554<=_0x4f47cc['domBottom'])return _0x4f47cc['top']+(_0x19f554-_0x4f47cc['domTop']);_0x5a7091=_0x4f47cc['bottom'],_0xc0065f=_0x4f47cc['domBottom'];}}['eq'](_0x4b2f88){return _0x4b2f88 instanceof _0x4440ed&&(this['scale']==_0x4b2f88['scale']&&this['viewports']['length']==_0x4b2f88['viewports']['length']&&this['viewports']['every']((_0x2f85e8,_0x45823c)=>_0x2f85e8['from']==_0x4b2f88['viewports'][_0x45823c]['from']&&_0x2f85e8['to']==_0x4b2f88['viewports'][_0x45823c]['to']));}}function _0x5a61a3(_0x27292c,_0x2585bc){if(0x1==_0x2585bc['scale'])return _0x27292c;let _0x2da1a8=_0x2585bc['toDOM'](_0x27292c['top']),_0x31d6be=_0x2585bc['toDOM'](_0x27292c['bottom']);return new _0x12feae(_0x27292c['from'],_0x27292c['length'],_0x2da1a8,_0x31d6be-_0x2da1a8,Array['isArray'](_0x27292c['_content'])?_0x27292c['_content']['map'](_0x576979=>_0x5a61a3(_0x576979,_0x2585bc)):_0x27292c['_content']);}const theme=Facet['define']({'combine':_0x2e249a=>_0x2e249a['join']('\x20')}),_0x1bb1df=Facet['define']({'combine':_0x58e06b=>_0x58e06b['indexOf'](!0x0)>-0x1}),_0x37e960=StyleModule['newName'](),baseLightID=StyleModule['newName'](),_0x261d57=StyleModule['newName'](),lightDarkIDs={'&light':'.'+baseLightID,'&dark':'.'+_0x261d57};function _0x106977(_0x2624e9,_0x26c139,_0x4e440b){return new StyleModule(_0x26c139,{'finish':_0x4c66eb=>/&/['test'](_0x4c66eb)?_0x4c66eb['replace'](/&\w*/,_0x10c66f=>{if('&'==_0x10c66f)return _0x2624e9;if(!_0x4e440b||!_0x4e440b[_0x10c66f])throw new RangeError('Unsupported\x20selector:\x20'+_0x10c66f);return _0x4e440b[_0x10c66f];}):_0x2624e9+'\x20'+_0x4c66eb});}const _0x120636=_0x106977('.'+_0x37e960,{'&':{'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'}},lightDarkIDs),observeOptions={'childList':!0x0,'characterData':!0x0,'subtree':!0x0,'attributes':!0x0,'characterDataOldValue':!0x0},useCharData=_0x53f368['ie']&&_0x53f368['ie_version']<=0xb;class _0x20ff53{constructor(_0x5ebffa){this['view']=_0x5ebffa,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']=_0x5ebffa['contentDOM'],this['observer']=new MutationObserver(_0x55fc3c=>{for(let _0x2a90da of _0x55fc3c)this['queue']['push'](_0x2a90da);(_0x53f368['ie']&&_0x53f368['ie_version']<=0xb||_0x53f368['ios']&&_0x5ebffa['composing'])&&_0x55fc3c['some'](_0x47b7da=>'childList'==_0x47b7da['type']&&_0x47b7da['removedNodes']['length']||'characterData'==_0x47b7da['type']&&_0x47b7da['oldValue']['length']>_0x47b7da['target']['nodeValue']['length'])?this['flushSoon']():this['flush']();}),!window['EditContext']||!_0x53f368['android']||!0x1===_0x5ebffa['constructor']['EDIT_CONTEXT']||_0x53f368['chrome']&&_0x53f368['chrome_version']<0x7e||(this['editContext']=new EditContextManager(_0x5ebffa),_0x5ebffa['state']['facet'](editable)&&(_0x5ebffa['contentDOM']['editContext']=this['editContext']['editContext'])),useCharData&&(this['onCharData']=_0x46e154=>{this['queue']['push']({'target':_0x46e154['target'],'type':'characterData','oldValue':_0x46e154['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 _0xad5088;(null===(_0xad5088=this['view']['docView'])||void 0x0===_0xad5088?void 0x0:_0xad5088['lastUpdate'])<Date['now']()-0x4b&&this['onResize']();}),this['resizeScroll']['observe'](_0x5ebffa['scrollDOM'])),this['addWindowListeners'](this['win']=_0x5ebffa['win']),this['start'](),'function'==typeof IntersectionObserver&&(this['intersection']=new IntersectionObserver(_0x514612=>{this['parentCheck']<0x0&&(this['parentCheck']=setTimeout(this['listenForScroll']['bind'](this),0x3e8)),_0x514612['length']>0x0&&_0x514612[_0x514612['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(_0x286fbc=>{_0x286fbc['length']>0x0&&_0x286fbc[_0x286fbc['length']-0x1]['intersectionRatio']>0x0&&this['onScrollChanged'](document['createEvent']('Event'));},{})),this['listenForScroll'](),this['readSelectionRange']();}['onScrollChanged'](_0x5ce411){this['view']['inputState']['runHandlers']('scroll',_0x5ce411),this['intersecting']&&this['view']['measure']();}['onScroll'](_0x3d6454){this['intersecting']&&this['flush'](!0x1),this['editContext']&&this['view']['requestMeasure'](this['editContext']['measureReq']),this['onScrollChanged'](_0x3d6454);}['onResize'](){this['resizeTimeout']<0x0&&(this['resizeTimeout']=setTimeout(()=>{this['resizeTimeout']=-0x1,this['view']['requestMeasure']();},0x32));}['onPrint'](_0x5388ac){('change'!=_0x5388ac['type']&&_0x5388ac['type']||_0x5388ac['matches'])&&(this['view']['viewState']['printing']=!0x0,this['view']['measure'](),setTimeout(()=>{this['view']['viewState']['printing']=!0x1,this['view']['requestMeasure']();},0x1f4));}['updateGaps'](_0x132f36){if(this['gapIntersection']&&(_0x132f36['length']!=this['gaps']['length']||this['gaps']['some']((_0x11c79d,_0x94305d)=>_0x11c79d!=_0x132f36[_0x94305d]))){this['gapIntersection']['disconnect']();for(let _0x291e97 of _0x132f36)this['gapIntersection']['observe'](_0x291e97);this['gaps']=_0x132f36;}}['onSelectionChange'](_0x4ab3f4){let _0xd96463=this['selectionChanged'];if(!this['readSelectionRange']()||this['delayedAndroidKey'])return;let {view:_0x964db}=this,_0x536f4f=this['selectionRange'];if(_0x964db['state']['facet'](editable)?_0x964db['root']['activeElement']!=this['dom']:!hasSelection(this['dom'],_0x536f4f))return;let _0x9c0ed4=_0x536f4f['anchorNode']&&_0x964db['docView']['nearest'](_0x536f4f['anchorNode']);_0x9c0ed4&&_0x9c0ed4['ignoreEvent'](_0x4ab3f4)?_0xd96463||(this['selectionChanged']=!0x1):(_0x53f368['ie']&&_0x53f368['ie_version']<=0xb||_0x53f368['android']&&_0x53f368['chrome'])&&!_0x964db['state']['selection']['main']['empty']&&_0x536f4f['focusNode']&&isEquivalentPosition(_0x536f4f['focusNode'],_0x536f4f['focusOffset'],_0x536f4f['anchorNode'],_0x536f4f['anchorOffset'])?this['flushSoon']():this['flush'](!0x1);}['readSelectionRange'](){let {view:_0x1f2a44}=this,_0x373172=getSelection(_0x1f2a44['root']);if(!_0x373172)return!0x1;let _0x9374e3=_0x53f368['safari']&&0xb==_0x1f2a44['root']['nodeType']&&_0x1f2a44['root']['activeElement']==this['dom']&&safariSelectionRangeHack(this['view'],_0x373172)||_0x373172;if(!_0x9374e3||this['selectionRange']['eq'](_0x9374e3))return!0x1;let _0x46989c=hasSelection(this['dom'],_0x9374e3);return _0x46989c&&!this['selectionChanged']&&_0x1f2a44['inputState']['lastFocusTime']>Date['now']()-0xc8&&_0x1f2a44['inputState']['lastTouchTime']<Date['now']()-0x12c&&atElementStart(this['dom'],_0x9374e3)?(this['view']['inputState']['lastFocusTime']=0x0,_0x1f2a44['docView']['updateSelection'](),!0x1):(this['selectionRange']['setRange'](_0x9374e3),_0x46989c&&(this['selectionChanged']=!0x0),!0x0);}['setSelectionRange'](_0x456d78,_0xfac3bb){this['selectionRange']['set'](_0x456d78['node'],_0x456d78['offset'],_0xfac3bb['node'],_0xfac3bb['offset']),this['selectionChanged']=!0x1;}['clearSelectionRange'](){this['selectionRange']['set'](null,0x0,null,0x0);}['listenForScroll'](){this['parentCheck']=-0x1;let _0x4ff810=0x0,_0x39a9a3=null;for(let _0x3ed9b6=this['dom'];_0x3ed9b6;)if(0x1==_0x3ed9b6['nodeType'])!_0x39a9a3&&_0x4ff810<this['scrollTargets']['length']&&this['scrollTargets'][_0x4ff810]==_0x3ed9b6?_0x4ff810++:_0x39a9a3||(_0x39a9a3=this['scrollTargets']['slice'](0x0,_0x4ff810)),_0x39a9a3&&_0x39a9a3['push'](_0x3ed9b6),_0x3ed9b6=_0x3ed9b6['assignedSlot']||_0x3ed9b6['parentNode'];else{if(0xb!=_0x3ed9b6['nodeType'])break;_0x3ed9b6=_0x3ed9b6['host'];}if(_0x4ff810<this['scrollTargets']['length']&&!_0x39a9a3&&(_0x39a9a3=this['scrollTargets']['slice'](0x0,_0x4ff810)),_0x39a9a3){for(let _0x429ae9 of this['scrollTargets'])_0x429ae9['removeEventListener']('scroll',this['onScroll']);for(let _0x3fd1d9 of this['scrollTargets']=_0x39a9a3)_0x3fd1d9['addEventListener']('scroll',this['onScroll']);}}['ignore'](_0x1eac76){if(!this['active'])return _0x1eac76();try{return this['stop'](),_0x1eac76();}finally{this['start'](),this['clear']();}}['start'](){this['active']||(this['observer']['observe'](this['dom'],observeOptions),useCharData&&this['dom']['addEventListener']('DOMCharacterDataModified',this['onCharData']),this['active']=!0x0);}['stop'](){this['active']&&(this['active']=!0x1,this['observer']['disconnect'](),useCharData&&this['dom']['removeEventListener']('DOMCharacterDataModified',this['onCharData']));}['clear'](){this['processRecords'](),this['queue']['length']=0x0,this['selectionChanged']=!0x1;}['delayAndroidKey'](_0x3512be,_0x60ad0c){var _0x8c56b3;if(!this['delayedAndroidKey']){let _0x40077e=()=>{let _0x5aee50=this['delayedAndroidKey'];_0x5aee50&&(this['clearDelayedAndroidKey'](),this['view']['inputState']['lastKeyCode']=_0x5aee50['keyCode'],this['view']['inputState']['lastKeyTime']=Date['now'](),!this['flush']()&&_0x5aee50['force']&&dispatchKey(this['dom'],_0x5aee50['key'],_0x5aee50['keyCode']));};this['flushingAndroidKey']=this['view']['win']['requestAnimationFrame'](_0x40077e);}this['delayedAndroidKey']&&'Enter'!=_0x3512be||(this['delayedAndroidKey']={'key':_0x3512be,'keyCode':_0x60ad0c,'force':this['lastChange']<Date['now']()-0x32||!!(null===(_0x8c56b3=this['delayedAndroidKey'])||void 0x0===_0x8c56b3?void 0x0:_0x8c56b3['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 _0x90bed8 of this['observer']['takeRecords']())this['queue']['push'](_0x90bed8);return this['queue'];}['processRecords'](){let _0x3eff9d=this['pendingRecords']();_0x3eff9d['length']&&(this['queue']=[]);let _0x49d790=-0x1,_0x4da2f0=-0x1,_0x603c19=!0x1;for(let _0xa2b2da of _0x3eff9d){let _0x3f1d82=this['readMutation'](_0xa2b2da);_0x3f1d82&&(_0x3f1d82['typeOver']&&(_0x603c19=!0x0),-0x1==_0x49d790?{from:_0x49d790,to:_0x4da2f0}=_0x3f1d82:(_0x49d790=Math['min'](_0x3f1d82['from'],_0x49d790),_0x4da2f0=Math['max'](_0x3f1d82['to'],_0x4da2f0)));}return{'from':_0x49d790,'to':_0x4da2f0,'typeOver':_0x603c19};}['readChange'](){let {from:_0x39bc02,to:_0x4b97ef,typeOver:_0x3260a2}=this['processRecords'](),_0x887cba=this['selectionChanged']&&hasSelection(this['dom'],this['selectionRange']);if(_0x39bc02<0x0&&!_0x887cba)return null;_0x39bc02>-0x1&&(this['lastChange']=Date['now']()),this['view']['inputState']['lastFocusTime']=0x0,this['selectionChanged']=!0x1;let _0x5a98a1=new _0xa67ed6(this['view'],_0x39bc02,_0x4b97ef,_0x3260a2);return this['view']['docView']['domChanged']={'newSel':_0x5a98a1['newSel']?_0x5a98a1['newSel']['main']:null},_0x5a98a1;}['flush'](_0x33582b=!0x0){if(this['delayedFlush']>=0x0||this['delayedAndroidKey'])return!0x1;_0x33582b&&this['readSelectionRange']();let _0x2cbcd6=this['readChange']();if(!_0x2cbcd6)return this['view']['requestMeasure'](),!0x1;let _0x44db77=this['view']['state'],_0x53bfbd=_0x1abbd2(this['view'],_0x2cbcd6);return this['view']['state']==_0x44db77&&(_0x2cbcd6['domChanged']||_0x2cbcd6['newSel']&&!_0x2cbcd6['newSel']['main']['eq'](this['view']['state']['selection']['main']))&&this['view']['update']([]),_0x53bfbd;}['readMutation'](_0x86586a){let _0x5528c6=this['view']['docView']['nearest'](_0x86586a['target']);if(!_0x5528c6||_0x5528c6['ignoreMutation'](_0x86586a))return null;if(_0x5528c6['markDirty']('attributes'==_0x86586a['type']),'attributes'==_0x86586a['type']&&(_0x5528c6['flags']|=0x4),'childList'==_0x86586a['type']){let _0x5594b7=_0x27b77b(_0x5528c6,_0x86586a['previousSibling']||_0x86586a['target']['previousSibling'],-0x1),_0x52ff67=_0x27b77b(_0x5528c6,_0x86586a['nextSibling']||_0x86586a['target']['nextSibling'],0x1);return{'from':_0x5594b7?_0x5528c6['posAfter'](_0x5594b7):_0x5528c6['posAtStart'],'to':_0x52ff67?_0x5528c6['posBefore'](_0x52ff67):_0x5528c6['posAtEnd'],'typeOver':!0x1};}return'characterData'==_0x86586a['type']?{'from':_0x5528c6['posAtStart'],'to':_0x5528c6['posAtEnd'],'typeOver':_0x86586a['target']['nodeValue']==_0x86586a['oldValue']}:null;}['setWindow'](_0x1a9b65){_0x1a9b65!=this['win']&&(this['removeWindowListeners'](this['win']),this['win']=_0x1a9b65,this['addWindowListeners'](this['win']));}['addWindowListeners'](_0x243583){_0x243583['addEventListener']('resize',this['onResize']),this['printQuery']?this['printQuery']['addEventListener']?this['printQuery']['addEventListener']('change',this['onPrint']):this['printQuery']['addListener'](this['onPrint']):_0x243583['addEventListener']('beforeprint',this['onPrint']),_0x243583['addEventListener']('scroll',this['onScroll']),_0x243583['document']['addEventListener']('selectionchange',this['onSelectionChange']);}['removeWindowListeners'](_0x2d4fc1){_0x2d4fc1['removeEventListener']('scroll',this['onScroll']),_0x2d4fc1['removeEventListener']('resize',this['onResize']),this['printQuery']?this['printQuery']['removeEventListener']?this['printQuery']['removeEventListener']('change',this['onPrint']):this['printQuery']['removeListener'](this['onPrint']):_0x2d4fc1['removeEventListener']('beforeprint',this['onPrint']),_0x2d4fc1['document']['removeEventListener']('selectionchange',this['onSelectionChange']);}['update'](_0xd334b8){this['editContext']&&(this['editContext']['update'](_0xd334b8),_0xd334b8['startState']['facet'](editable)!=_0xd334b8['state']['facet'](editable)&&(_0xd334b8['view']['contentDOM']['editContext']=_0xd334b8['state']['facet'](editable)?this['editContext']['editContext']:null));}['destroy'](){var _0x2193a2,_0x93dce1,_0x234238;this['stop'](),null===(_0x2193a2=this['intersection'])||void 0x0===_0x2193a2||_0x2193a2['disconnect'](),null===(_0x93dce1=this['gapIntersection'])||void 0x0===_0x93dce1||_0x93dce1['disconnect'](),null===(_0x234238=this['resizeScroll'])||void 0x0===_0x234238||_0x234238['disconnect']();for(let _0x128ea8 of this['scrollTargets'])_0x128ea8['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 _0x27b77b(_0x45310d,_0xa4e331,_0x50332b){for(;_0xa4e331;){let _0x26ec27=ContentView['get'](_0xa4e331);if(_0x26ec27&&_0x26ec27['parent']==_0x45310d)return _0x26ec27;let _0xaa99b1=_0xa4e331['parentNode'];_0xa4e331=_0xaa99b1!=_0x45310d['dom']?_0xaa99b1:_0x50332b>0x0?_0xa4e331['nextSibling']:_0xa4e331['previousSibling'];}return null;}function buildSelectionRangeFromRange(_0x3a0d85,_0x477b1a){let _0x1cdbff=_0x477b1a['startContainer'],_0x376a75=_0x477b1a['startOffset'],_0x179d17=_0x477b1a['endContainer'],_0x5cc627=_0x477b1a['endOffset'],_0x54371b=_0x3a0d85['docView']['domAtPos'](_0x3a0d85['state']['selection']['main']['anchor']);return isEquivalentPosition(_0x54371b['node'],_0x54371b['offset'],_0x179d17,_0x5cc627)&&([_0x1cdbff,_0x376a75,_0x179d17,_0x5cc627]=[_0x179d17,_0x5cc627,_0x1cdbff,_0x376a75]),{'anchorNode':_0x1cdbff,'anchorOffset':_0x376a75,'focusNode':_0x179d17,'focusOffset':_0x5cc627};}function safariSelectionRangeHack(_0x1ef704,_0x2dcc36){if(_0x2dcc36['getComposedRanges']){let _0x3a8ea1=_0x2dcc36['getComposedRanges'](_0x1ef704['root'])[0x0];if(_0x3a8ea1)return buildSelectionRangeFromRange(_0x1ef704,_0x3a8ea1);}let _0x168f8f=null;function _0x1cc0b1(_0x361bab){_0x361bab['preventDefault'](),_0x361bab['stopImmediatePropagation'](),_0x168f8f=_0x361bab['getTargetRanges']()[0x0];}return _0x1ef704['contentDOM']['addEventListener']('beforeinput',_0x1cc0b1,!0x0),_0x1ef704['dom']['ownerDocument']['execCommand']('indent'),_0x1ef704['contentDOM']['removeEventListener']('beforeinput',_0x1cc0b1,!0x0),_0x168f8f?buildSelectionRangeFromRange(_0x1ef704,_0x168f8f):null;}class EditContextManager{constructor(_0x48d5ce){this['from']=0x0,this['to']=0x0,this['pendingContextChange']=null,this['handlers']=Object['create'](null),this['composing']=null,this['resetRange'](_0x48d5ce['state']);let _0x3cc6e7=this['editContext']=new window['EditContext']({'text':_0x48d5ce['state']['doc']['sliceString'](this['from'],this['to']),'selectionStart':this['toContextPos'](Math['max'](this['from'],Math['min'](this['to'],_0x48d5ce['state']['selection']['main']['anchor']))),'selectionEnd':this['toContextPos'](_0x48d5ce['state']['selection']['main']['head'])});this['handlers']['textupdate']=_0x442e12=>{let _0x3c3a24=_0x48d5ce['state']['selection']['main'],{anchor:_0x587be3,head:_0x1ffa36}=_0x3c3a24,_0x279870=this['toEditorPos'](_0x442e12['updateRangeStart']),_0x5db2db=this['toEditorPos'](_0x442e12['updateRangeEnd']);_0x48d5ce['inputState']['composing']>=0x0&&!this['composing']&&(this['composing']={'contextBase':_0x442e12['updateRangeStart'],'editorBase':_0x279870,'drifted':!0x1});let _0x34a942=_0x5db2db-_0x279870>_0x442e12['text']['length'];_0x279870==this['from']&&_0x587be3<this['from']?_0x279870=_0x587be3:_0x5db2db==this['to']&&_0x587be3>this['to']&&(_0x5db2db=_0x587be3);let _0x2e3737=_0xcd1672(_0x48d5ce['state']['sliceDoc'](_0x279870,_0x5db2db),_0x442e12['text'],(_0x34a942?_0x3c3a24['from']:_0x3c3a24['to'])-_0x279870,_0x34a942?'end':null);if(!_0x2e3737){let _0x393255=EditorSelection['single'](this['toEditorPos'](_0x442e12['selectionStart']),this['toEditorPos'](_0x442e12['selectionEnd']));return void(_0x393255['main']['eq'](_0x3c3a24)||_0x48d5ce['dispatch']({'selection':_0x393255,'userEvent':'select'}));}let _0x6007e1={'from':_0x2e3737['from']+_0x279870,'to':_0x2e3737['toA']+_0x279870,'insert':Text$1['of'](_0x442e12['text']['slice'](_0x2e3737['from'],_0x2e3737['toB'])['split']('\x0a'))};if((_0x53f368['mac']||_0x53f368['android'])&&_0x6007e1['from']==_0x1ffa36-0x1&&/^\. ?$/['test'](_0x442e12['text'])&&'off'==_0x48d5ce['contentDOM']['getAttribute']('autocorrect')&&(_0x6007e1={'from':_0x279870,'to':_0x5db2db,'insert':Text$1['of']([_0x442e12['text']['replace']('.','\x20')])}),this['pendingContextChange']=_0x6007e1,!_0x48d5ce['state']['readOnly']){let _0x19302b=this['to']-this['from']+(_0x6007e1['to']-_0x6007e1['from']+_0x6007e1['insert']['length']);_0x177154(_0x48d5ce,_0x6007e1,EditorSelection['single'](this['toEditorPos'](_0x442e12['selectionStart'],_0x19302b),this['toEditorPos'](_0x442e12['selectionEnd'],_0x19302b)));}this['pendingContextChange']&&(this['revertPending'](_0x48d5ce['state']),this['setSelection'](_0x48d5ce['state'])),_0x6007e1['from']<_0x6007e1['to']&&!_0x6007e1['insert']['length']&&_0x48d5ce['inputState']['composing']>=0x0&&!/[\\p{Alphabetic}\\p{Number}_]/['test'](_0x3cc6e7['text']['slice'](Math['max'](0x0,_0x442e12['updateRangeStart']-0x1),Math['min'](_0x3cc6e7['text']['length'],_0x442e12['updateRangeStart']+0x1)))&&this['handlers']['compositionend'](_0x442e12);},this['handlers']['characterboundsupdate']=_0x806a0=>{let _0x2f508a=[],_0x231cd6=null;for(let _0x3c5d06=this['toEditorPos'](_0x806a0['rangeStart']),_0x4a083c=this['toEditorPos'](_0x806a0['rangeEnd']);_0x3c5d06<_0x4a083c;_0x3c5d06++){let _0x143ec0=_0x48d5ce['coordsForChar'](_0x3c5d06);_0x231cd6=_0x143ec0&&new DOMRect(_0x143ec0['left'],_0x143ec0['top'],_0x143ec0['right']-_0x143ec0['left'],_0x143ec0['bottom']-_0x143ec0['top'])||_0x231cd6||new DOMRect(),_0x2f508a['push'](_0x231cd6);}_0x3cc6e7['updateCharacterBounds'](_0x806a0['rangeStart'],_0x2f508a);},this['handlers']['textformatupdate']=_0x1da74f=>{let _0x5a5a77=[];for(let _0x4018bd of _0x1da74f['getTextFormats']()){let _0x3ae090=_0x4018bd['underlineStyle'],_0x4903da=_0x4018bd['underlineThickness'];if(!/none/i['test'](_0x3ae090)&&!/none/i['test'](_0x4903da)){let _0xc52e63=this['toEditorPos'](_0x4018bd['rangeStart']),_0x3eaef6=this['toEditorPos'](_0x4018bd['rangeEnd']);if(_0xc52e63<_0x3eaef6){let _0x4036dd='text-decoration:\x20underline\x20'+(/^[a-z]/['test'](_0x3ae090)?_0x3ae090+'\x20':'Dashed'==_0x3ae090?'dashed\x20':'Squiggle'==_0x3ae090?'wavy\x20':'')+(/thin/i['test'](_0x4903da)?0x1:0x2)+'px';_0x5a5a77['push'](Decoration['mark']({'attributes':{'style':_0x4036dd}})['range'](_0xc52e63,_0x3eaef6));}}}_0x48d5ce['dispatch']({'effects':setEditContextFormatting['of'](Decoration['set'](_0x5a5a77))});},this['handlers']['compositionstart']=()=>{_0x48d5ce['inputState']['composing']<0x0&&(_0x48d5ce['inputState']['composing']=0x0,_0x48d5ce['inputState']['compositionFirstChange']=!0x0);},this['handlers']['compositionend']=()=>{if(_0x48d5ce['inputState']['composing']=-0x1,_0x48d5ce['inputState']['compositionFirstChange']=null,this['composing']){let {drifted:_0x487ad7}=this['composing'];this['composing']=null,_0x487ad7&&this['reset'](_0x48d5ce['state']);}};for(let _0x3ee382 in this['handlers'])_0x3cc6e7['addEventListener'](_0x3ee382,this['handlers'][_0x3ee382]);this['measureReq']={'read':_0x24b754=>{this['editContext']['updateControlBounds'](_0x24b754['contentDOM']['getBoundingClientRect']());let _0x292f65=getSelection(_0x24b754['root']);_0x292f65&&_0x292f65['rangeCount']&&this['editContext']['updateSelectionBounds'](_0x292f65['getRangeAt'](0x0)['getBoundingClientRect']());}};}['applyEdits'](_0x235fa3){let _0x1aead2=0x0,_0x5a4887=!0x1,_0x2ee4bb=this['pendingContextChange'];return _0x235fa3['changes']['iterChanges']((_0x16ddb7,_0x476829,_0x43ce0b,_0x166048,_0x21ca2e)=>{if(_0x5a4887)return;let _0x3439fd=_0x21ca2e['length']-(_0x476829-_0x16ddb7);if(_0x2ee4bb&&_0x476829>=_0x2ee4bb['to']){if(_0x2ee4bb['from']==_0x16ddb7&&_0x2ee4bb['to']==_0x476829&&_0x2ee4bb['insert']['eq'](_0x21ca2e))return _0x2ee4bb=this['pendingContextChange']=null,_0x1aead2+=_0x3439fd,void(this['to']+=_0x3439fd);_0x2ee4bb=null,this['revertPending'](_0x235fa3['state']);}if(_0x16ddb7+=_0x1aead2,(_0x476829+=_0x1aead2)<=this['from'])this['from']+=_0x3439fd,this['to']+=_0x3439fd;else{if(_0x16ddb7<this['to']){if(_0x16ddb7<this['from']||_0x476829>this['to']||this['to']-this['from']+_0x21ca2e['length']>0x7530)return void(_0x5a4887=!0x0);this['editContext']['updateText'](this['toContextPos'](_0x16ddb7),this['toContextPos'](_0x476829),_0x21ca2e['toString']()),this['to']+=_0x3439fd;}}_0x1aead2+=_0x3439fd;}),_0x2ee4bb&&!_0x5a4887&&this['revertPending'](_0x235fa3['state']),!_0x5a4887;}['update'](_0x59886a){let _0x30aa1f=this['pendingContextChange'],_0x54205f=_0x59886a['startState']['selection']['main'];this['composing']&&(this['composing']['drifted']||!_0x59886a['changes']['touchesRange'](_0x54205f['from'],_0x54205f['to'])&&_0x59886a['transactions']['some'](_0x50ed4e=>!_0x50ed4e['isUserEvent']('input.type')&&_0x50ed4e['changes']['touchesRange'](this['from'],this['to'])))?(this['composing']['drifted']=!0x0,this['composing']['editorBase']=_0x59886a['changes']['mapPos'](this['composing']['editorBase'])):this['applyEdits'](_0x59886a)&&this['rangeIsValid'](_0x59886a['state'])?(_0x59886a['docChanged']||_0x59886a['selectionSet']||_0x30aa1f)&&this['setSelection'](_0x59886a['state']):(this['pendingContextChange']=null,this['reset'](_0x59886a['state'])),(_0x59886a['geometryChanged']||_0x59886a['docChanged']||_0x59886a['selectionSet'])&&_0x59886a['view']['requestMeasure'](this['measureReq']);}['resetRange'](_0x3492ac){let {head:_0x343f3d}=_0x3492ac['selection']['main'];this['from']=Math['max'](0x0,_0x343f3d-0x2710),this['to']=Math['min'](_0x3492ac['doc']['length'],_0x343f3d+0x2710);}['reset'](_0x1612cf){this['resetRange'](_0x1612cf),this['editContext']['updateText'](0x0,this['editContext']['text']['length'],_0x1612cf['doc']['sliceString'](this['from'],this['to'])),this['setSelection'](_0x1612cf);}['revertPending'](_0x5a5f77){let _0xf9c337=this['pendingContextChange'];this['pendingContextChange']=null,this['editContext']['updateText'](this['toContextPos'](_0xf9c337['from']),this['toContextPos'](_0xf9c337['from']+_0xf9c337['insert']['length']),_0x5a5f77['doc']['sliceString'](_0xf9c337['from'],_0xf9c337['to']));}['setSelection'](_0x266782){let {main:_0x3f12bd}=_0x266782['selection'],_0x4370be=this['toContextPos'](Math['max'](this['from'],Math['min'](this['to'],_0x3f12bd['anchor']))),_0x2327cb=this['toContextPos'](_0x3f12bd['head']);this['editContext']['selectionStart']==_0x4370be&&this['editContext']['selectionEnd']==_0x2327cb||this['editContext']['updateSelection'](_0x4370be,_0x2327cb);}['rangeIsValid'](_0x276df6){let {head:_0x8bfb85}=_0x276df6['selection']['main'];return!(this['from']>0x0&&_0x8bfb85-this['from']<0x1f4||this['to']<_0x276df6['doc']['length']&&this['to']-_0x8bfb85<0x1f4||this['to']-this['from']>0x7530);}['toEditorPos'](_0x9e7aa,_0x3ea597=this['to']-this['from']){_0x9e7aa=Math['min'](_0x9e7aa,_0x3ea597);let _0x36a094=this['composing'];return _0x36a094&&_0x36a094['drifted']?_0x36a094['editorBase']+(_0x9e7aa-_0x36a094['contextBase']):_0x9e7aa+this['from'];}['toContextPos'](_0x2ab4a8){let _0x7a2315=this['composing'];return _0x7a2315&&_0x7a2315['drifted']?_0x7a2315['contextBase']+(_0x2ab4a8-_0x7a2315['editorBase']):_0x2ab4a8-this['from'];}['destroy'](){for(let _0x16b130 in this['handlers'])this['editContext']['removeEventListener'](_0x16b130,this['handlers'][_0x16b130]);}}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(_0x2e1b93={}){var _0x31c030;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']),_0x2e1b93['parent']&&_0x2e1b93['parent']['appendChild'](this['dom']);let {dispatch:_0xb31aae}=_0x2e1b93;this['dispatchTransactions']=_0x2e1b93['dispatchTransactions']||_0xb31aae&&(_0x57606f=>_0x57606f['forEach'](_0x21e683=>_0xb31aae(_0x21e683,this)))||(_0x4853a5=>this['update'](_0x4853a5)),this['dispatch']=this['dispatch']['bind'](this),this['_root']=_0x2e1b93['root']||getRoot(_0x2e1b93['parent'])||document,this['viewState']=new ViewState(_0x2e1b93['state']||EditorState['create'](_0x2e1b93)),_0x2e1b93['scrollTo']&&_0x2e1b93['scrollTo']['is'](scrollIntoView$1)&&(this['viewState']['scrollTarget']=_0x2e1b93['scrollTo']['value']['clip'](this['viewState']['state'])),this['plugins']=this['state']['facet'](_0x9a28ff)['map'](_0x466780=>new PluginInstance(_0x466780));for(let _0x1a2a60 of this['plugins'])_0x1a2a60['update'](this);this['observer']=new _0x20ff53(this),this['inputState']=new InputState(this),this['inputState']['ensureHandlers'](this['plugins']),this['docView']=new _0x30492b(this),this['mountStyles'](),this['updateAttrs'](),this['updateState']=0x0,this['requestMeasure'](),(null===(_0x31c030=document['fonts'])||void 0x0===_0x31c030?void 0x0:_0x31c030['ready'])&&document['fonts']['ready']['then'](()=>this['requestMeasure']());}['dispatch'](..._0x49cf66){let _0x55fc40=0x1==_0x49cf66['length']&&_0x49cf66[0x0]instanceof Transaction?_0x49cf66:0x1==_0x49cf66['length']&&Array['isArray'](_0x49cf66[0x0])?_0x49cf66[0x0]:[this['state']['update'](..._0x49cf66)];this['dispatchTransactions'](_0x55fc40,this);}['update'](_0x5c9a04){if(0x0!=this['updateState'])throw new Error('Calls\x20to\x20EditorView.update\x20are\x20not\x20allowed\x20while\x20an\x20update\x20is\x20in\x20progress');let _0x2c6e2c,_0x2226bb=!0x1,_0x3c4db8=!0x1,_0x35c863=this['state'];for(let _0x5ef6f1 of _0x5c9a04){if(_0x5ef6f1['startState']!=_0x35c863)throw new RangeError('Trying\x20to\x20update\x20state\x20with\x20a\x20transaction\x20that\x20doesn\x27t\x20start\x20from\x20the\x20previous\x20state.');_0x35c863=_0x5ef6f1['state'];}if(this['destroyed'])return void(this['viewState']['state']=_0x35c863);let _0x26bcbe=this['hasFocus'],_0x2a7bb5=0x0,_0x2519b2=null;_0x5c9a04['some'](_0x521a63=>_0x521a63['annotation'](_0x4810c1))?(this['inputState']['notifiedFocused']=_0x26bcbe,_0x2a7bb5=0x1):_0x26bcbe!=this['inputState']['notifiedFocused']&&(this['inputState']['notifiedFocused']=_0x26bcbe,_0x2519b2=focusChangeTransaction(_0x35c863,_0x26bcbe),_0x2519b2||(_0x2a7bb5=0x1));let _0x31f724=this['observer']['delayedAndroidKey'],_0x45ae86=null;if(_0x31f724?(this['observer']['clearDelayedAndroidKey'](),_0x45ae86=this['observer']['readChange'](),(_0x45ae86&&!this['state']['doc']['eq'](_0x35c863['doc'])||!this['state']['selection']['eq'](_0x35c863['selection']))&&(_0x45ae86=null)):this['observer']['clear'](),_0x35c863['facet'](EditorState['phrases'])!=this['state']['facet'](EditorState['phrases']))return this['setState'](_0x35c863);_0x2c6e2c=ViewUpdate['create'](this,_0x35c863,_0x5c9a04),_0x2c6e2c['flags']|=_0x2a7bb5;let _0xbbc72b=this['viewState']['scrollTarget'];try{this['updateState']=0x2;for(let _0x48c71e of _0x5c9a04){if(_0xbbc72b&&(_0xbbc72b=_0xbbc72b['map'](_0x48c71e['changes'])),_0x48c71e['scrollIntoView']){let {main:_0x45d034}=_0x48c71e['state']['selection'];_0xbbc72b=new ScrollTarget(_0x45d034['empty']?_0x45d034:EditorSelection['cursor'](_0x45d034['head'],_0x45d034['head']>_0x45d034['anchor']?-0x1:0x1));}for(let _0x2aee36 of _0x48c71e['effects'])_0x2aee36['is'](scrollIntoView$1)&&(_0xbbc72b=_0x2aee36['value']['clip'](this['state']));}this['viewState']['update'](_0x2c6e2c,_0xbbc72b),this['bidiCache']=_0x38300b['update'](this['bidiCache'],_0x2c6e2c['changes']),_0x2c6e2c['empty']||(this['updatePlugins'](_0x2c6e2c),this['inputState']['update'](_0x2c6e2c)),_0x2226bb=this['docView']['update'](_0x2c6e2c),this['state']['facet'](styleModule)!=this['styleModules']&&this['mountStyles'](),_0x3c4db8=this['updateAttrs'](),this['showAnnouncements'](_0x5c9a04),this['docView']['updateSelection'](_0x2226bb,_0x5c9a04['some'](_0x125ebf=>_0x125ebf['isUserEvent']('select.pointer')));}finally{this['updateState']=0x0;}if(_0x2c6e2c['startState']['facet'](theme)!=_0x2c6e2c['state']['facet'](theme)&&(this['viewState']['mustMeasureContent']=!0x0),(_0x2226bb||_0x3c4db8||_0xbbc72b||this['viewState']['mustEnforceCursorAssoc']||this['viewState']['mustMeasureContent'])&&this['requestMeasure'](),_0x2226bb&&this['docViewUpdate'](),!_0x2c6e2c['empty']){for(let _0x4d9840 of this['state']['facet'](updateListener))try{_0x4d9840(_0x2c6e2c);}catch(_0x4dcba8){logException(this['state'],_0x4dcba8,'update\x20listener');}}(_0x2519b2||_0x45ae86)&&Promise['resolve']()['then'](()=>{_0x2519b2&&this['state']==_0x2519b2['startState']&&this['dispatch'](_0x2519b2),_0x45ae86&&!_0x1abbd2(this,_0x45ae86)&&_0x31f724['force']&&dispatchKey(this['contentDOM'],_0x31f724['key'],_0x31f724['keyCode']);});}['setState'](_0x483cd1){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']=_0x483cd1);this['updateState']=0x2;let _0x17b5f2=this['hasFocus'];try{for(let _0x18ace9 of this['plugins'])_0x18ace9['destroy'](this);this['viewState']=new ViewState(_0x483cd1),this['plugins']=_0x483cd1['facet'](_0x9a28ff)['map'](_0x51accb=>new PluginInstance(_0x51accb)),this['pluginMap']['clear']();for(let _0x31832f of this['plugins'])_0x31832f['update'](this);this['docView']['destroy'](),this['docView']=new _0x30492b(this),this['inputState']['ensureHandlers'](this['plugins']),this['mountStyles'](),this['updateAttrs'](),this['bidiCache']=[];}finally{this['updateState']=0x0;}_0x17b5f2&&this['focus'](),this['requestMeasure']();}['updatePlugins'](_0x22d2ca){let _0xe59d1a=_0x22d2ca['startState']['facet'](_0x9a28ff),_0x528395=_0x22d2ca['state']['facet'](_0x9a28ff);if(_0xe59d1a!=_0x528395){let _0x320fd8=[];for(let _0x91f2c1 of _0x528395){let _0x195a26=_0xe59d1a['indexOf'](_0x91f2c1);if(_0x195a26<0x0)_0x320fd8['push'](new PluginInstance(_0x91f2c1));else{let _0x24867a=this['plugins'][_0x195a26];_0x24867a['mustUpdate']=_0x22d2ca,_0x320fd8['push'](_0x24867a);}}for(let _0x5306f8 of this['plugins'])_0x5306f8['mustUpdate']!=_0x22d2ca&&_0x5306f8['destroy'](this);this['plugins']=_0x320fd8,this['pluginMap']['clear']();}else{for(let _0x1b9e68 of this['plugins'])_0x1b9e68['mustUpdate']=_0x22d2ca;}for(let _0x11e977=0x0;_0x11e977<this['plugins']['length'];_0x11e977++)this['plugins'][_0x11e977]['update'](this);_0xe59d1a!=_0x528395&&this['inputState']['ensureHandlers'](this['plugins']);}['docViewUpdate'](){for(let _0xa45bb of this['plugins']){let _0x117374=_0xa45bb['value'];if(_0x117374&&_0x117374['docViewUpdate'])try{_0x117374['docViewUpdate'](this);}catch(_0x2c60fb){logException(this['state'],_0x2c60fb,'doc\x20view\x20update\x20listener');}}}['measure'](_0x105e00=!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,_0x105e00&&this['observer']['forceFlush']();let _0x2441f7=null,_0x1275ec=this['scrollDOM'],_0x1b5e95=_0x1275ec['scrollTop']*this['scaleY'],{scrollAnchorPos:_0x1b054e,scrollAnchorHeight:_0x2b1373}=this['viewState'];Math['abs'](_0x1b5e95-this['viewState']['scrollTop'])>0x1&&(_0x2b1373=-0x1),this['viewState']['scrollAnchorHeight']=-0x1;try{for(let _0x14f9a8=0x0;;_0x14f9a8++){if(_0x2b1373<0x0){if(isScrolledToBottom(_0x1275ec))_0x1b054e=-0x1,_0x2b1373=this['viewState']['heightMap']['height'];else{let _0x5a8c43=this['viewState']['scrollAnchorAt'](_0x1b5e95);_0x1b054e=_0x5a8c43['from'],_0x2b1373=_0x5a8c43['top'];}}this['updateState']=0x1;let _0x27c972=this['viewState']['measure'](this);if(!_0x27c972&&!this['measureRequests']['length']&&null==this['viewState']['scrollTarget'])break;if(_0x14f9a8>0x5){console['warn'](this['measureRequests']['length']?'Measure\x20loop\x20restarted\x20more\x20than\x205\x20times':'Viewport\x20failed\x20to\x20stabilize');break;}let _0x1e7ec3=[];0x4&_0x27c972||([this['measureRequests'],_0x1e7ec3]=[_0x1e7ec3,this['measureRequests']]);let _0x4775eb=_0x1e7ec3['map'](_0x4c59bb=>{try{return _0x4c59bb['read'](this);}catch(_0x1639ee){return logException(this['state'],_0x1639ee),_0x2e723a;}}),_0x52ee0c=ViewUpdate['create'](this,this['state'],[]),_0x1a6516=!0x1;_0x52ee0c['flags']|=_0x27c972,_0x2441f7?_0x2441f7['flags']|=_0x27c972:_0x2441f7=_0x52ee0c,this['updateState']=0x2,_0x52ee0c['empty']||(this['updatePlugins'](_0x52ee0c),this['inputState']['update'](_0x52ee0c),this['updateAttrs'](),_0x1a6516=this['docView']['update'](_0x52ee0c),_0x1a6516&&this['docViewUpdate']());for(let _0x525e82=0x0;_0x525e82<_0x1e7ec3['length'];_0x525e82++)if(_0x4775eb[_0x525e82]!=_0x2e723a)try{let _0x14bc84=_0x1e7ec3[_0x525e82];_0x14bc84['write']&&_0x14bc84['write'](_0x4775eb[_0x525e82],this);}catch(_0x386bba){logException(this['state'],_0x386bba);}if(_0x1a6516&&this['docView']['updateSelection'](!0x0),!_0x52ee0c['viewportChanged']&&0x0==this['measureRequests']['length']){if(this['viewState']['editorHeight']){if(this['viewState']['scrollTarget']){this['docView']['scrollIntoView'](this['viewState']['scrollTarget']),this['viewState']['scrollTarget']=null,_0x2b1373=-0x1;continue;}{let _0x9a8628=(_0x1b054e<0x0?this['viewState']['heightMap']['height']:this['viewState']['lineBlockAt'](_0x1b054e)['top'])-_0x2b1373;if(_0x9a8628>0x1||_0x9a8628<-0x1){_0x1b5e95+=_0x9a8628,_0x1275ec['scrollTop']=_0x1b5e95/this['scaleY'],_0x2b1373=-0x1;continue;}}}break;}}}finally{this['updateState']=0x0,this['measureScheduled']=-0x1;}if(_0x2441f7&&!_0x2441f7['empty']){for(let _0x13a52f of this['state']['facet'](updateListener))_0x13a52f(_0x2441f7);}}get['themeClasses'](){return _0x37e960+'\x20'+(this['state']['facet'](_0x1bb1df)?_0x261d57:baseLightID)+'\x20'+this['state']['facet'](theme);}['updateAttrs'](){let _0x3f7a86=attrsFromFacet(this,editorAttributes,{'class':'cm-editor'+(this['hasFocus']?'\x20cm-focused\x20':'\x20')+this['themeClasses']}),_0x203df1={'spellcheck':'false','autocorrect':'off','autocapitalize':'off','writingsuggestions':'false','translate':'no','contenteditable':this['state']['facet'](editable)?'true':'false','class':'cm-content','style':_0x53f368['tabSize']+':\x20'+this['state']['tabSize'],'role':'textbox','aria-multiline':'true'};this['state']['readOnly']&&(_0x203df1['aria-readonly']='true'),attrsFromFacet(this,contentAttributes,_0x203df1);let _0x54979e=this['observer']['ignore'](()=>{let _0x14045d=updateAttrs(this['contentDOM'],this['contentAttrs'],_0x203df1),_0x4db57e=updateAttrs(this['dom'],this['editorAttrs'],_0x3f7a86);return _0x14045d||_0x4db57e;});return this['editorAttrs']=_0x3f7a86,this['contentAttrs']=_0x203df1,_0x54979e;}['showAnnouncements'](_0x3ee2ee){let _0x23a4b1=!0x0;for(let _0x78afed of _0x3ee2ee)for(let _0x276071 of _0x78afed['effects'])_0x276071['is'](EditorView['announce'])&&(_0x23a4b1&&(this['announceDOM']['textContent']=''),_0x23a4b1=!0x1,this['announceDOM']['appendChild'](document['createElement']('div'))['textContent']=_0x276071['value']);}['mountStyles'](){this['styleModules']=this['state']['facet'](styleModule);let _0x2199b5=this['state']['facet'](EditorView['cspNonce']);StyleModule['mount'](this['root'],this['styleModules']['concat'](_0x120636)['reverse'](),_0x2199b5?{'nonce':_0x2199b5}: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'](_0x57565c){if(this['measureScheduled']<0x0&&(this['measureScheduled']=this['win']['requestAnimationFrame'](()=>this['measure']())),_0x57565c){if(this['measureRequests']['indexOf'](_0x57565c)>-0x1)return;if(null!=_0x57565c['key']){for(let _0x2e590f=0x0;_0x2e590f<this['measureRequests']['length'];_0x2e590f++)if(this['measureRequests'][_0x2e590f]['key']===_0x57565c['key'])return void(this['measureRequests'][_0x2e590f]=_0x57565c);}this['measureRequests']['push'](_0x57565c);}}['plugin'](_0x35565c){let _0x4573be=this['pluginMap']['get'](_0x35565c);return(void 0x0===_0x4573be||_0x4573be&&_0x4573be['plugin']!=_0x35565c)&&this['pluginMap']['set'](_0x35565c,_0x4573be=this['plugins']['find'](_0x112d65=>_0x112d65['plugin']==_0x35565c)||null),_0x4573be&&_0x4573be['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'](_0x5194b8){return this['readMeasured'](),this['viewState']['elementAtHeight'](_0x5194b8);}['lineBlockAtHeight'](_0x4c2ef6){return this['readMeasured'](),this['viewState']['lineBlockAtHeight'](_0x4c2ef6);}get['viewportLineBlocks'](){return this['viewState']['viewportLines'];}['lineBlockAt'](_0x3d8a52){return this['viewState']['lineBlockAt'](_0x3d8a52);}get['contentHeight'](){return this['viewState']['contentHeight'];}['moveByChar'](_0x53285f,_0xa9fbb5,_0x2ae147){return skipAtoms(this,_0x53285f,_0x476ff5(this,_0x53285f,_0xa9fbb5,_0x2ae147));}['moveByGroup'](_0x3cf794,_0x133e70){return skipAtoms(this,_0x3cf794,_0x476ff5(this,_0x3cf794,_0x133e70,_0x3ace74=>_0x59bd6f(this,_0x3cf794['head'],_0x3ace74)));}['visualLineSide'](_0xb7112f,_0x2ba73f){let _0x39fea1=this['bidiSpans'](_0xb7112f),_0x5441bc=this['textDirectionAt'](_0xb7112f['from']),_0x264e60=_0x39fea1[_0x2ba73f?_0x39fea1['length']-0x1:0x0];return EditorSelection['cursor'](_0x264e60['side'](_0x2ba73f,_0x5441bc)+_0xb7112f['from'],_0x264e60['forward'](!_0x2ba73f,_0x5441bc)?0x1:-0x1);}['moveToLineBoundary'](_0xbeb355,_0x595bbd,_0x2a3ab0=!0x0){return _0x2c4617(this,_0xbeb355,_0x595bbd,_0x2a3ab0);}['moveVertically'](_0x20ce5d,_0x1439f1,_0x1d85a2){return skipAtoms(this,_0x20ce5d,moveVertically(this,_0x20ce5d,_0x1439f1,_0x1d85a2));}['domAtPos'](_0x414fe8){return this['docView']['domAtPos'](_0x414fe8);}['posAtDOM'](_0x5dedeb,_0x2b2b16=0x0){return this['docView']['posFromDOM'](_0x5dedeb,_0x2b2b16);}['posAtCoords'](_0x21891c,_0xeb059d=!0x0){return this['readMeasured'](),posAtCoords(this,_0x21891c,_0xeb059d);}['coordsAtPos'](_0x832ef8,_0x298e40=0x1){this['readMeasured']();let _0x150a2a=this['docView']['coordsAt'](_0x832ef8,_0x298e40);if(!_0x150a2a||_0x150a2a['left']==_0x150a2a['right'])return _0x150a2a;let _0x3c4919=this['state']['doc']['lineAt'](_0x832ef8),_0x7da094=this['bidiSpans'](_0x3c4919);return flattenRect(_0x150a2a,_0x7da094[_0x3705ae['find'](_0x7da094,_0x832ef8-_0x3c4919['from'],-0x1,_0x298e40)]['dir']==Direction['LTR']==_0x298e40>0x0);}['coordsForChar'](_0x56b745){return this['readMeasured'](),this['docView']['coordsForChar'](_0x56b745);}get['defaultCharacterWidth'](){return this['viewState']['heightOracle']['charWidth'];}get['defaultLineHeight'](){return this['viewState']['heightOracle']['lineHeight'];}get['textDirection'](){return this['viewState']['defaultTextDirection'];}['textDirectionAt'](_0x272a26){return!this['state']['facet'](perLineTextDirection)||_0x272a26<this['viewport']['from']||_0x272a26>this['viewport']['to']?this['textDirection']:(this['readMeasured'](),this['docView']['textDirectionAt'](_0x272a26));}get['lineWrapping'](){return this['viewState']['heightOracle']['lineWrapping'];}['bidiSpans'](_0x317d87){if(_0x317d87['length']>_0x56fc5e)return trivialOrder(_0x317d87['length']);let _0x4b7288,_0x23f0a8=this['textDirectionAt'](_0x317d87['from']);for(let _0x5e971b of this['bidiCache'])if(_0x5e971b['from']==_0x317d87['from']&&_0x5e971b['dir']==_0x23f0a8&&(_0x5e971b['fresh']||isolatesEq(_0x5e971b['isolates'],_0x4b7288=getIsolatedRanges(this,_0x317d87))))return _0x5e971b['order'];_0x4b7288||(_0x4b7288=getIsolatedRanges(this,_0x317d87));let _0x3faa54=computeOrder(_0x317d87['text'],_0x23f0a8,_0x4b7288);return this['bidiCache']['push'](new _0x38300b(_0x317d87['from'],_0x317d87['to'],_0x23f0a8,_0x4b7288,!0x0,_0x3faa54)),_0x3faa54;}get['hasFocus'](){var _0x3e3e40;return(this['dom']['ownerDocument']['hasFocus']()||_0x53f368['safari']&&(null===(_0x3e3e40=this['inputState'])||void 0x0===_0x3e3e40?void 0x0:_0x3e3e40['lastContextMenu'])>Date['now']()-0x7530)&&this['root']['activeElement']==this['contentDOM'];}['focus'](){this['observer']['ignore'](()=>{focusPreventScroll(this['contentDOM']),this['docView']['updateSelection']();});}['setRoot'](_0xc2e79d){this['_root']!=_0xc2e79d&&(this['_root']=_0xc2e79d,this['observer']['setWindow']((0x9==_0xc2e79d['nodeType']?_0xc2e79d:_0xc2e79d['ownerDocument'])['defaultView']||window),this['mountStyles']());}['destroy'](){this['root']['activeElement']==this['contentDOM']&&this['contentDOM']['blur']();for(let _0x1966f1 of this['plugins'])_0x1966f1['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'](_0xe02b71,_0x3ba021={}){return scrollIntoView$1['of'](new ScrollTarget('number'==typeof _0xe02b71?EditorSelection['cursor'](_0xe02b71):_0xe02b71,_0x3ba021['y'],_0x3ba021['x'],_0x3ba021['yMargin'],_0x3ba021['xMargin']));}['scrollSnapshot'](){let {scrollTop:_0x18c056,scrollLeft:_0x41f5fd}=this['scrollDOM'],_0x2c3eb1=this['viewState']['scrollAnchorAt'](_0x18c056);return scrollIntoView$1['of'](new ScrollTarget(EditorSelection['cursor'](_0x2c3eb1['from']),'start','start',_0x2c3eb1['top']-_0x18c056,_0x41f5fd,!0x0));}['setTabFocusMode'](_0x50b865){null==_0x50b865?this['inputState']['tabFocusMode']=this['inputState']['tabFocusMode']<0x0?0x0:-0x1:'boolean'==typeof _0x50b865?this['inputState']['tabFocusMode']=_0x50b865?0x0:-0x1:0x0!=this['inputState']['tabFocusMode']&&(this['inputState']['tabFocusMode']=Date['now']()+_0x50b865);}static['domEventHandlers'](_0x2a5582){return _0x132f9d['define'](()=>({}),{'eventHandlers':_0x2a5582});}static['domEventObservers'](_0x1309a8){return _0x132f9d['define'](()=>({}),{'eventObservers':_0x1309a8});}static['theme'](_0x1cfdba,_0x423701){let _0x31c904=StyleModule['newName'](),_0x372913=[theme['of'](_0x31c904),styleModule['of'](_0x106977('.'+_0x31c904,_0x1cfdba))];return _0x423701&&_0x423701['dark']&&_0x372913['push'](_0x1bb1df['of'](!0x0)),_0x372913;}static['baseTheme'](_0x364ff8){return _0x4004fa['lowest'](styleModule['of'](_0x106977('.'+_0x37e960,_0x364ff8,lightDarkIDs)));}static['findFromDOM'](_0x1a29fb){var _0x327f2f;let _0x13d897=_0x1a29fb['querySelector']('.cm-content'),_0x31e39c=_0x13d897&&ContentView['get'](_0x13d897)||ContentView['get'](_0x1a29fb);return(null===(_0x327f2f=null==_0x31e39c?void 0x0:_0x31e39c['rootView'])||void 0x0===_0x327f2f?void 0x0:_0x327f2f['view'])||null;}}EditorView['styleModule']=styleModule,EditorView['inputHandler']=inputHandler$1,EditorView['clipboardInputFilter']=clipboardInputFilter,EditorView['clipboardOutputFilter']=clipboardOutputFilter,EditorView['scrollHandler']=_0x33cca4,EditorView['focusChangeEffect']=focusChangeEffect,EditorView['perLineTextDirection']=perLineTextDirection,EditorView['exceptionSink']=exceptionSink,EditorView['updateListener']=updateListener,EditorView['editable']=editable,EditorView['mouseSelectionStyle']=mouseSelectionStyle,EditorView['dragMovesSelection']=dragMovesSelection$1,EditorView['clickAddsSelectionRange']=clickAddsSelectionRange,EditorView['decorations']=decorations,EditorView['outerDecorations']=outerDecorations,EditorView['atomicRanges']=atomicRanges,EditorView['bidiIsolatedRanges']=bidiIsolatedRanges,EditorView['scrollMargins']=_0x25a838,EditorView['darkTheme']=_0x1bb1df,EditorView['cspNonce']=Facet['define']({'combine':_0x8f359=>_0x8f359['length']?_0x8f359[0x0]:''}),EditorView['contentAttributes']=contentAttributes,EditorView['editorAttributes']=editorAttributes,EditorView['lineWrapping']=EditorView['contentAttributes']['of']({'class':'cm-lineWrapping'}),EditorView['announce']=StateEffect['define']();const _0x56fc5e=0x1000,_0x2e723a={};class _0x38300b{constructor(_0x29a26a,_0x5ba872,_0x507faf,_0x25e3e9,_0x39a6e7,_0x99aa30){this['from']=_0x29a26a,this['to']=_0x5ba872,this['dir']=_0x507faf,this['isolates']=_0x25e3e9,this['fresh']=_0x39a6e7,this['order']=_0x99aa30;}static['update'](_0x1a1cd5,_0xbb0597){if(_0xbb0597['empty']&&!_0x1a1cd5['some'](_0xe1e72f=>_0xe1e72f['fresh']))return _0x1a1cd5;let _0x57a71a=[],_0x102471=_0x1a1cd5['length']?_0x1a1cd5[_0x1a1cd5['length']-0x1]['dir']:Direction['LTR'];for(let _0xf00a14=Math['max'](0x0,_0x1a1cd5['length']-0xa);_0xf00a14<_0x1a1cd5['length'];_0xf00a14++){let _0x265405=_0x1a1cd5[_0xf00a14];_0x265405['dir']!=_0x102471||_0xbb0597['touchesRange'](_0x265405['from'],_0x265405['to'])||_0x57a71a['push'](new _0x38300b(_0xbb0597['mapPos'](_0x265405['from'],0x1),_0xbb0597['mapPos'](_0x265405['to'],-0x1),_0x265405['dir'],_0x265405['isolates'],!0x1,_0x265405['order']));}return _0x57a71a;}}function attrsFromFacet(_0x5e429b,_0x3e6d1d,_0x3b851b){for(let _0x145c79=_0x5e429b['state']['facet'](_0x3e6d1d),_0x537294=_0x145c79['length']-0x1;_0x537294>=0x0;_0x537294--){let _0x55c547=_0x145c79[_0x537294],_0x1bab43='function'==typeof _0x55c547?_0x55c547(_0x5e429b):_0x55c547;_0x1bab43&&combineAttrs(_0x1bab43,_0x3b851b);}return _0x3b851b;}const currentPlatform=_0x53f368['mac']?'mac':_0x53f368['windows']?'win':_0x53f368['linux']?'linux':'key';function _0xa604fd(_0xa49481,_0xd76dbf){const _0x477464=_0xa49481['split'](/-(?!$)/);let _0x168087,_0x1870e5,_0x2f0bcf,_0x1c2d96,_0xc907bc=_0x477464[_0x477464['length']-0x1];'Space'==_0xc907bc&&(_0xc907bc='\x20');for(let _0x570c79=0x0;_0x570c79<_0x477464['length']-0x1;++_0x570c79){const _0x5285c2=_0x477464[_0x570c79];if(/^(cmd|meta|m)$/i['test'](_0x5285c2))_0x1c2d96=!0x0;else{if(/^a(lt)?$/i['test'](_0x5285c2))_0x168087=!0x0;else{if(/^(c|ctrl|control)$/i['test'](_0x5285c2))_0x1870e5=!0x0;else{if(/^s(hift)?$/i['test'](_0x5285c2))_0x2f0bcf=!0x0;else{if(!/^mod$/i['test'](_0x5285c2))throw new Error('Unrecognized\x20modifier\x20name:\x20'+_0x5285c2);'mac'==_0xd76dbf?_0x1c2d96=!0x0:_0x1870e5=!0x0;}}}}}return _0x168087&&(_0xc907bc='Alt-'+_0xc907bc),_0x1870e5&&(_0xc907bc='Ctrl-'+_0xc907bc),_0x1c2d96&&(_0xc907bc='Meta-'+_0xc907bc),_0x2f0bcf&&(_0xc907bc='Shift-'+_0xc907bc),_0xc907bc;}function _0x94bf49(_0x2414f5,_0x333aff,_0x304f11){return _0x333aff['altKey']&&(_0x2414f5='Alt-'+_0x2414f5),_0x333aff['ctrlKey']&&(_0x2414f5='Ctrl-'+_0x2414f5),_0x333aff['metaKey']&&(_0x2414f5='Meta-'+_0x2414f5),!0x1!==_0x304f11&&_0x333aff['shiftKey']&&(_0x2414f5='Shift-'+_0x2414f5),_0x2414f5;}const handleKeyEvents=_0x4004fa['default'](EditorView['domEventHandlers']({'keydown':(_0x2cc1a2,_0x2c02cf)=>_0x1ff830(getKeymap(_0x2c02cf['state']),_0x2cc1a2,_0x2c02cf,'editor')})),_0x1222e4=Facet['define']({'enables':handleKeyEvents}),_0x875ce4=new WeakMap();function getKeymap(_0x353412){let _0x252c72=_0x353412['facet'](_0x1222e4),_0xa318cf=_0x875ce4['get'](_0x252c72);return _0xa318cf||_0x875ce4['set'](_0x252c72,_0xa318cf=_0x3ec8c6(_0x252c72['reduce']((_0x3360d7,_0x2649f9)=>_0x3360d7['concat'](_0x2649f9),[]))),_0xa318cf;}let storedPrefix=null;const PrefixTimeout=0xfa0;function _0x3ec8c6(_0x2170af,_0x15596d=currentPlatform){let _0x151017=Object['create'](null),_0x490a89=Object['create'](null),_0x542cd1=(_0xa373e8,_0x4cf37b)=>{let _0x2e2912=_0x490a89[_0xa373e8];if(null==_0x2e2912)_0x490a89[_0xa373e8]=_0x4cf37b;else{if(_0x2e2912!=_0x4cf37b)throw new Error('Key\x20binding\x20'+_0xa373e8+'\x20is\x20used\x20both\x20as\x20a\x20regular\x20binding\x20and\x20as\x20a\x20multi-stroke\x20prefix');}},_0x133304=(_0x127da0,_0x3ff930,_0x310657,_0x1a0835,_0x6abbe0)=>{var _0x2d69e7,_0x568bb7;let _0xea6369=_0x151017[_0x127da0]||(_0x151017[_0x127da0]=Object['create'](null)),_0x4d28de=_0x3ff930['split'](/ (?!$)/)['map'](_0x3b9a9b=>_0xa604fd(_0x3b9a9b,_0x15596d));for(let _0x2ad3ad=0x1;_0x2ad3ad<_0x4d28de['length'];_0x2ad3ad++){let _0x2ee1f9=_0x4d28de['slice'](0x0,_0x2ad3ad)['join']('\x20');_0x542cd1(_0x2ee1f9,!0x0),_0xea6369[_0x2ee1f9]||(_0xea6369[_0x2ee1f9]={'preventDefault':!0x0,'stopPropagation':!0x1,'run':[_0x2cac62=>{let _0x4a3294=storedPrefix={'view':_0x2cac62,'prefix':_0x2ee1f9,'scope':_0x127da0};return setTimeout(()=>{storedPrefix==_0x4a3294&&(storedPrefix=null);},PrefixTimeout),!0x0;}]});}let _0xe4780b=_0x4d28de['join']('\x20');_0x542cd1(_0xe4780b,!0x1);let _0x5e1620=_0xea6369[_0xe4780b]||(_0xea6369[_0xe4780b]={'preventDefault':!0x1,'stopPropagation':!0x1,'run':(null===(_0x568bb7=null===(_0x2d69e7=_0xea6369['_any'])||void 0x0===_0x2d69e7?void 0x0:_0x2d69e7['run'])||void 0x0===_0x568bb7?void 0x0:_0x568bb7['slice']())||[]});_0x310657&&_0x5e1620['run']['push'](_0x310657),_0x1a0835&&(_0x5e1620['preventDefault']=!0x0),_0x6abbe0&&(_0x5e1620['stopPropagation']=!0x0);};for(let _0x233112 of _0x2170af){let _0x5c1793=_0x233112['scope']?_0x233112['scope']['split']('\x20'):['editor'];if(_0x233112['any'])for(let _0x46110d of _0x5c1793){let _0x2ddc72=_0x151017[_0x46110d]||(_0x151017[_0x46110d]=Object['create'](null));_0x2ddc72['_any']||(_0x2ddc72['_any']={'preventDefault':!0x1,'stopPropagation':!0x1,'run':[]});let {any:_0x3403f6}=_0x233112;for(let _0x35590d in _0x2ddc72)_0x2ddc72[_0x35590d]['run']['push'](_0x3b8646=>_0x3403f6(_0x3b8646,currentKeyEvent));}let _0x10c522=_0x233112[_0x15596d]||_0x233112['key'];if(_0x10c522){for(let _0x4c8e64 of _0x5c1793)_0x133304(_0x4c8e64,_0x10c522,_0x233112['run'],_0x233112['preventDefault'],_0x233112['stopPropagation']),_0x233112['shift']&&_0x133304(_0x4c8e64,'Shift-'+_0x10c522,_0x233112['shift'],_0x233112['preventDefault'],_0x233112['stopPropagation']);}}return _0x151017;}let currentKeyEvent=null;function _0x1ff830(_0x250dc6,_0x57b3d4,_0xfba9f6,_0x4ed0f3){currentKeyEvent=_0x57b3d4;let _0x2a735d=_0x1c75e6(_0x57b3d4),_0x80649c=codePointSize(codePointAt(_0x2a735d,0x0))==_0x2a735d['length']&&'\x20'!=_0x2a735d,_0x396257='',_0x5c22ae=!0x1,_0x4b3bbd=!0x1,_0x703e59=!0x1;storedPrefix&&storedPrefix['view']==_0xfba9f6&&storedPrefix['scope']==_0x4ed0f3&&(_0x396257=storedPrefix['prefix']+'\x20',_0x31a21e['indexOf'](_0x57b3d4['keyCode'])<0x0&&(_0x4b3bbd=!0x0,storedPrefix=null));let _0x4b97e1,_0x1dceec,_0x32f19c=new Set(),_0x586439=_0x127427=>{if(_0x127427){for(let _0x43fb3d of _0x127427['run'])if(!_0x32f19c['has'](_0x43fb3d)&&(_0x32f19c['add'](_0x43fb3d),_0x43fb3d(_0xfba9f6)))return _0x127427['stopPropagation']&&(_0x703e59=!0x0),!0x0;_0x127427['preventDefault']&&(_0x127427['stopPropagation']&&(_0x703e59=!0x0),_0x4b3bbd=!0x0);}return!0x1;},_0x15858d=_0x250dc6[_0x4ed0f3];return _0x15858d&&(_0x586439(_0x15858d[_0x396257+_0x94bf49(_0x2a735d,_0x57b3d4,!_0x80649c)])?_0x5c22ae=!0x0:!_0x80649c||!(_0x57b3d4['altKey']||_0x57b3d4['metaKey']||_0x57b3d4['ctrlKey'])||_0x53f368['windows']&&_0x57b3d4['ctrlKey']&&_0x57b3d4['altKey']||_0x53f368['mac']&&_0x57b3d4['altKey']&&!_0x57b3d4['ctrlKey']&&!_0x57b3d4['metaKey']||!(_0x4b97e1=_0x107293[_0x57b3d4['keyCode']])||_0x4b97e1==_0x2a735d?_0x80649c&&_0x57b3d4['shiftKey']&&_0x586439(_0x15858d[_0x396257+_0x94bf49(_0x2a735d,_0x57b3d4,!0x0)])&&(_0x5c22ae=!0x0):(_0x586439(_0x15858d[_0x396257+_0x94bf49(_0x4b97e1,_0x57b3d4,!0x0)])||_0x57b3d4['shiftKey']&&(_0x1dceec=shift[_0x57b3d4['keyCode']])!=_0x2a735d&&_0x1dceec!=_0x4b97e1&&_0x586439(_0x15858d[_0x396257+_0x94bf49(_0x1dceec,_0x57b3d4,!0x1)]))&&(_0x5c22ae=!0x0),!_0x5c22ae&&_0x586439(_0x15858d['_any'])&&(_0x5c22ae=!0x0)),_0x4b3bbd&&(_0x5c22ae=!0x0),_0x5c22ae&&_0x703e59&&_0x57b3d4['stopPropagation'](),currentKeyEvent=null,_0x5c22ae;}class RectangleMarker{constructor(_0x2c6b5a,_0x301024,_0x4d70da,_0x58445f,_0x282ce4){this['className']=_0x2c6b5a,this['left']=_0x301024,this['top']=_0x4d70da,this['width']=_0x58445f,this['height']=_0x282ce4;}['draw'](){let _0x5b080b=document['createElement']('div');return _0x5b080b['className']=this['className'],this['adjust'](_0x5b080b),_0x5b080b;}['update'](_0x14b912,_0x2fc515){return _0x2fc515['className']==this['className']&&(this['adjust'](_0x14b912),!0x0);}['adjust'](_0x442c84){_0x442c84['style']['left']=this['left']+'px',_0x442c84['style']['top']=this['top']+'px',null!=this['width']&&(_0x442c84['style']['width']=this['width']+'px'),_0x442c84['style']['height']=this['height']+'px';}['eq'](_0x1d00be){return this['left']==_0x1d00be['left']&&this['top']==_0x1d00be['top']&&this['width']==_0x1d00be['width']&&this['height']==_0x1d00be['height']&&this['className']==_0x1d00be['className'];}static['forRange'](_0x8c8069,_0x278e88,_0x1d54c3){if(_0x1d54c3['empty']){let _0x2efa20=_0x8c8069['coordsAtPos'](_0x1d54c3['head'],_0x1d54c3['assoc']||0x1);if(!_0x2efa20)return[];let _0x4d617e=getBase(_0x8c8069);return[new RectangleMarker(_0x278e88,_0x2efa20['left']-_0x4d617e['left'],_0x2efa20['top']-_0x4d617e['top'],null,_0x2efa20['bottom']-_0x2efa20['top'])];}return rectanglesForRange(_0x8c8069,_0x278e88,_0x1d54c3);}}function getBase(_0x5ef85a){let _0x3f5a8e=_0x5ef85a['scrollDOM']['getBoundingClientRect']();return{'left':(_0x5ef85a['textDirection']==Direction['LTR']?_0x3f5a8e['left']:_0x3f5a8e['right']-_0x5ef85a['scrollDOM']['clientWidth']*_0x5ef85a['scaleX'])-_0x5ef85a['scrollDOM']['scrollLeft']*_0x5ef85a['scaleX'],'top':_0x3f5a8e['top']-_0x5ef85a['scrollDOM']['scrollTop']*_0x5ef85a['scaleY']};}function _0x44f130(_0x447860,_0x3a4765,_0x25a08e,_0x3b5aeb){let _0xa4c63=_0x447860['coordsAtPos'](_0x3a4765,0x2*_0x25a08e);if(!_0xa4c63)return _0x3b5aeb;let _0x434ff1=_0x447860['dom']['getBoundingClientRect'](),_0x5345ad=(_0xa4c63['top']+_0xa4c63['bottom'])/0x2,_0x54a836=_0x447860['posAtCoords']({'x':_0x434ff1['left']+0x1,'y':_0x5345ad}),_0x262036=_0x447860['posAtCoords']({'x':_0x434ff1['right']-0x1,'y':_0x5345ad});return null==_0x54a836||null==_0x262036?_0x3b5aeb:{'from':Math['max'](_0x3b5aeb['from'],Math['min'](_0x54a836,_0x262036)),'to':Math['min'](_0x3b5aeb['to'],Math['max'](_0x54a836,_0x262036))};}function rectanglesForRange(_0x31ed79,_0x522c4d,_0x1ae806){if(_0x1ae806['to']<=_0x31ed79['viewport']['from']||_0x1ae806['from']>=_0x31ed79['viewport']['to'])return[];let _0x5c1856=Math['max'](_0x1ae806['from'],_0x31ed79['viewport']['from']),_0x29997d=Math['min'](_0x1ae806['to'],_0x31ed79['viewport']['to']),_0x1fc3b7=_0x31ed79['textDirection']==Direction['LTR'],_0x55db1f=_0x31ed79['contentDOM'],_0x335311=_0x55db1f['getBoundingClientRect'](),_0x4094f3=getBase(_0x31ed79),_0x34202f=_0x55db1f['querySelector']('.cm-line'),_0x34acf2=_0x34202f&&window['getComputedStyle'](_0x34202f),_0x5bb5fd=_0x335311['left']+(_0x34acf2?parseInt(_0x34acf2['paddingLeft'])+Math['min'](0x0,parseInt(_0x34acf2['textIndent'])):0x0),_0x34d037=_0x335311['right']-(_0x34acf2?parseInt(_0x34acf2['paddingRight']):0x0),_0xfa6921=blockAt(_0x31ed79,_0x5c1856,0x1),_0x29b5fe=blockAt(_0x31ed79,_0x29997d,-0x1),_0x5374e2=_0xfa6921['type']==_0x516d37['Text']?_0xfa6921:null,_0x2f0753=_0x29b5fe['type']==_0x516d37['Text']?_0x29b5fe:null;if(_0x5374e2&&(_0x31ed79['lineWrapping']||_0xfa6921['widgetLineBreaks'])&&(_0x5374e2=_0x44f130(_0x31ed79,_0x5c1856,0x1,_0x5374e2)),_0x2f0753&&(_0x31ed79['lineWrapping']||_0x29b5fe['widgetLineBreaks'])&&(_0x2f0753=_0x44f130(_0x31ed79,_0x29997d,-0x1,_0x2f0753)),_0x5374e2&&_0x2f0753&&_0x5374e2['from']==_0x2f0753['from']&&_0x5374e2['to']==_0x2f0753['to'])return _0x33c89f(_0x2ed906(_0x1ae806['from'],_0x1ae806['to'],_0x5374e2));{let _0x1c4055=_0x5374e2?_0x2ed906(_0x1ae806['from'],null,_0x5374e2):_0x443e73(_0xfa6921,!0x1),_0x2970da=_0x2f0753?_0x2ed906(null,_0x1ae806['to'],_0x2f0753):_0x443e73(_0x29b5fe,!0x0),_0x3d712a=[];return(_0x5374e2||_0xfa6921)['to']<(_0x2f0753||_0x29b5fe)['from']-(_0x5374e2&&_0x2f0753?0x1:0x0)||_0xfa6921['widgetLineBreaks']>0x1&&_0x1c4055['bottom']+_0x31ed79['defaultLineHeight']/0x2<_0x2970da['top']?_0x3d712a['push'](_0x4240a2(_0x5bb5fd,_0x1c4055['bottom'],_0x34d037,_0x2970da['top'])):_0x1c4055['bottom']<_0x2970da['top']&&_0x31ed79['elementAtHeight']((_0x1c4055['bottom']+_0x2970da['top'])/0x2)['type']==_0x516d37['Text']&&(_0x1c4055['bottom']=_0x2970da['top']=(_0x1c4055['bottom']+_0x2970da['top'])/0x2),_0x33c89f(_0x1c4055)['concat'](_0x3d712a)['concat'](_0x33c89f(_0x2970da));}function _0x4240a2(_0x4a9b50,_0x247a02,_0x14c391,_0x2a6b01){return new RectangleMarker(_0x522c4d,_0x4a9b50-_0x4094f3['left'],_0x247a02-_0x4094f3['top'],_0x14c391-_0x4a9b50,_0x2a6b01-_0x247a02);}function _0x33c89f({top:_0x5f33fc,bottom:_0x29c4f8,horizontal:_0x5c8cb3}){let _0x84ad16=[];for(let _0x5ccf50=0x0;_0x5ccf50<_0x5c8cb3['length'];_0x5ccf50+=0x2)_0x84ad16['push'](_0x4240a2(_0x5c8cb3[_0x5ccf50],_0x5f33fc,_0x5c8cb3[_0x5ccf50+0x1],_0x29c4f8));return _0x84ad16;}function _0x2ed906(_0x4d9a79,_0x28d052,_0x2ecd69){let _0x3ef6f9=0x3b9aca00,_0x102933=-0x3b9aca00,_0x255a2e=[];function _0x1b526b(_0x22b563,_0x589b70,_0x408880,_0x562239,_0x51a205){let _0x4f8681=_0x31ed79['coordsAtPos'](_0x22b563,_0x22b563==_0x2ecd69['to']?-0x2:0x2),_0x15c21c=_0x31ed79['coordsAtPos'](_0x408880,_0x408880==_0x2ecd69['from']?0x2:-0x2);_0x4f8681&&_0x15c21c&&(_0x3ef6f9=Math['min'](_0x4f8681['top'],_0x15c21c['top'],_0x3ef6f9),_0x102933=Math['max'](_0x4f8681['bottom'],_0x15c21c['bottom'],_0x102933),_0x51a205==Direction['LTR']?_0x255a2e['push'](_0x1fc3b7&&_0x589b70?_0x5bb5fd:_0x4f8681['left'],_0x1fc3b7&&_0x562239?_0x34d037:_0x15c21c['right']):_0x255a2e['push'](!_0x1fc3b7&&_0x562239?_0x5bb5fd:_0x15c21c['left'],!_0x1fc3b7&&_0x589b70?_0x34d037:_0x4f8681['right']));}let _0x2ccdbd=null!=_0x4d9a79?_0x4d9a79:_0x2ecd69['from'],_0x1bbf3d=null!=_0x28d052?_0x28d052:_0x2ecd69['to'];for(let _0x6b1811 of _0x31ed79['visibleRanges'])if(_0x6b1811['to']>_0x2ccdbd&&_0x6b1811['from']<_0x1bbf3d)for(let _0x53f31d=Math['max'](_0x6b1811['from'],_0x2ccdbd),_0xbe7b9a=Math['min'](_0x6b1811['to'],_0x1bbf3d);;){let _0x3b2a3c=_0x31ed79['state']['doc']['lineAt'](_0x53f31d);for(let _0x3c30df of _0x31ed79['bidiSpans'](_0x3b2a3c)){let _0x75d335=_0x3c30df['from']+_0x3b2a3c['from'],_0x3bf87a=_0x3c30df['to']+_0x3b2a3c['from'];if(_0x75d335>=_0xbe7b9a)break;_0x3bf87a>_0x53f31d&&_0x1b526b(Math['max'](_0x75d335,_0x53f31d),null==_0x4d9a79&&_0x75d335<=_0x2ccdbd,Math['min'](_0x3bf87a,_0xbe7b9a),null==_0x28d052&&_0x3bf87a>=_0x1bbf3d,_0x3c30df['dir']);}if(_0x53f31d=_0x3b2a3c['to']+0x1,_0x53f31d>=_0xbe7b9a)break;}return 0x0==_0x255a2e['length']&&_0x1b526b(_0x2ccdbd,null==_0x4d9a79,_0x1bbf3d,null==_0x28d052,_0x31ed79['textDirection']),{'top':_0x3ef6f9,'bottom':_0x102933,'horizontal':_0x255a2e};}function _0x443e73(_0x450f88,_0xf6423c){let _0x5542be=_0x335311['top']+(_0xf6423c?_0x450f88['top']:_0x450f88['bottom']);return{'top':_0x5542be,'bottom':_0x5542be,'horizontal':[]};}}function _0x1cc343(_0x3e1589,_0x2e8943){return _0x3e1589['constructor']==_0x2e8943['constructor']&&_0x3e1589['eq'](_0x2e8943);}class _0x22349a{constructor(_0x4eea6c,_0x92921e){this['view']=_0x4eea6c,this['layer']=_0x92921e,this['drawn']=[],this['scaleX']=0x1,this['scaleY']=0x1,this['measureReq']={'read':this['measure']['bind'](this),'write':this['draw']['bind'](this)},this['dom']=_0x4eea6c['scrollDOM']['appendChild'](document['createElement']('div')),this['dom']['classList']['add']('cm-layer'),_0x92921e['above']&&this['dom']['classList']['add']('cm-layer-above'),_0x92921e['class']&&this['dom']['classList']['add'](_0x92921e['class']),this['scale'](),this['dom']['setAttribute']('aria-hidden','true'),this['setOrder'](_0x4eea6c['state']),_0x4eea6c['requestMeasure'](this['measureReq']),_0x92921e['mount']&&_0x92921e['mount'](this['dom'],_0x4eea6c);}['update'](_0x30dbac){_0x30dbac['startState']['facet'](_0x2fc15c)!=_0x30dbac['state']['facet'](_0x2fc15c)&&this['setOrder'](_0x30dbac['state']),(this['layer']['update'](_0x30dbac,this['dom'])||_0x30dbac['geometryChanged'])&&(this['scale'](),_0x30dbac['view']['requestMeasure'](this['measureReq']));}['docViewUpdate'](_0x49273b){!0x1!==this['layer']['updateOnDocViewUpdate']&&_0x49273b['requestMeasure'](this['measureReq']);}['setOrder'](_0x482ae8){let _0x48929b=0x0,_0x400c46=_0x482ae8['facet'](_0x2fc15c);for(;_0x48929b<_0x400c46['length']&&_0x400c46[_0x48929b]!=this['layer'];)_0x48929b++;this['dom']['style']['zIndex']=String((this['layer']['above']?0x96:-0x1)-_0x48929b);}['measure'](){return this['layer']['markers'](this['view']);}['scale'](){let {scaleX:_0x471e1c,scaleY:_0x389a04}=this['view'];_0x471e1c==this['scaleX']&&_0x389a04==this['scaleY']||(this['scaleX']=_0x471e1c,this['scaleY']=_0x389a04,this['dom']['style']['transform']='scale('+0x1/_0x471e1c+',\x20'+0x1/_0x389a04+')');}['draw'](_0x1ab1e3){if(_0x1ab1e3['length']!=this['drawn']['length']||_0x1ab1e3['some']((_0x173ea2,_0x1fa9fb)=>!_0x1cc343(_0x173ea2,this['drawn'][_0x1fa9fb]))){let _0x2a4899=this['dom']['firstChild'],_0x24f54e=0x0;for(let _0x5e233f of _0x1ab1e3)_0x5e233f['update']&&_0x2a4899&&_0x5e233f['constructor']&&this['drawn'][_0x24f54e]['constructor']&&_0x5e233f['update'](_0x2a4899,this['drawn'][_0x24f54e])?(_0x2a4899=_0x2a4899['nextSibling'],_0x24f54e++):this['dom']['insertBefore'](_0x5e233f['draw'](),_0x2a4899);for(;_0x2a4899;){let _0x5ccdd6=_0x2a4899['nextSibling'];_0x2a4899['remove'](),_0x2a4899=_0x5ccdd6;}this['drawn']=_0x1ab1e3,_0x53f368['safari']&&_0x53f368['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 _0x2fc15c=Facet['define']();function _0x50f973(_0x420dc2){return[_0x132f9d['define'](_0xd2d35=>new _0x22349a(_0xd2d35,_0x420dc2)),_0x2fc15c['of'](_0x420dc2)];}const selectionConfig=Facet['define']({'combine':_0x230fec=>_0x253a1e(_0x230fec,{'cursorBlinkRate':0x4b0,'drawRangeCursor':!0x0},{'cursorBlinkRate':(_0x4685c8,_0x50327f)=>Math['min'](_0x4685c8,_0x50327f),'drawRangeCursor':(_0x63b3f,_0x1be502)=>_0x63b3f||_0x1be502})});function drawSelection(_0x38ea7a={}){return[selectionConfig['of'](_0x38ea7a),_0x48e5a6,selectionLayer,hideNativeSelection,nativeSelectionHidden['of'](!0x0)];}function _0x2518e1(_0x1b7992){return _0x1b7992['startState']['facet'](selectionConfig)!=_0x1b7992['state']['facet'](selectionConfig);}const _0x48e5a6=_0x50f973({'above':!0x0,'markers'(_0x426e5c){let {state:_0x45fed3}=_0x426e5c,_0x917ce0=_0x45fed3['facet'](selectionConfig),_0x21269a=[];for(let _0x488ede of _0x45fed3['selection']['ranges']){let _0x291b88=_0x488ede==_0x45fed3['selection']['main'];if(_0x488ede['empty']||_0x917ce0['drawRangeCursor']){let _0x3e0d4a=_0x291b88?'cm-cursor\x20cm-cursor-primary':'cm-cursor\x20cm-cursor-secondary',_0x2134f9=_0x488ede['empty']?_0x488ede:EditorSelection['cursor'](_0x488ede['head'],_0x488ede['head']>_0x488ede['anchor']?-0x1:0x1);for(let _0xf4e36c of RectangleMarker['forRange'](_0x426e5c,_0x3e0d4a,_0x2134f9))_0x21269a['push'](_0xf4e36c);}}return _0x21269a;},'update'(_0x1b8b57,_0x215587){_0x1b8b57['transactions']['some'](_0xfdde16=>_0xfdde16['selection'])&&(_0x215587['style']['animationName']='cm-blink'==_0x215587['style']['animationName']?'cm-blink2':'cm-blink');let _0x330bdb=_0x2518e1(_0x1b8b57);return _0x330bdb&&setBlinkRate(_0x1b8b57['state'],_0x215587),_0x1b8b57['docChanged']||_0x1b8b57['selectionSet']||_0x330bdb;},'mount'(_0x7fbb78,_0x1e46d1){setBlinkRate(_0x1e46d1['state'],_0x7fbb78);},'class':'cm-cursorLayer'});function setBlinkRate(_0x58b011,_0x67c8fc){_0x67c8fc['style']['animationDuration']=_0x58b011['facet'](selectionConfig)['cursorBlinkRate']+'ms';}const selectionLayer=_0x50f973({'above':!0x1,'markers':_0x33de92=>_0x33de92['state']['selection']['ranges']['map'](_0xa1976a=>_0xa1976a['empty']?[]:RectangleMarker['forRange'](_0x33de92,'cm-selectionBackground',_0xa1976a))['reduce']((_0x9e857d,_0x141d47)=>_0x9e857d['concat'](_0x141d47)),'update':(_0x59da12,_0x5df495)=>_0x59da12['docChanged']||_0x59da12['selectionSet']||_0x59da12['viewportChanged']||_0x2518e1(_0x59da12),'class':'cm-selectionLayer'}),hideNativeSelection=_0x4004fa['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'}}}})),setDropCursorPos=StateEffect['define']({'map':(_0x31b693,_0x1b3743)=>null==_0x31b693?null:_0x1b3743['mapPos'](_0x31b693)}),_0x2f71f7=StateField['define']({'create':()=>null,'update':(_0x49b8ee,_0x230fe1)=>(null!=_0x49b8ee&&(_0x49b8ee=_0x230fe1['changes']['mapPos'](_0x49b8ee)),_0x230fe1['effects']['reduce']((_0x4f4f15,_0x109b40)=>_0x109b40['is'](setDropCursorPos)?_0x109b40['value']:_0x4f4f15,_0x49b8ee))}),_0x599ad1=_0x132f9d['fromClass'](class{constructor(_0x341d6e){this['view']=_0x341d6e,this['cursor']=null,this['measureReq']={'read':this['readPos']['bind'](this),'write':this['drawCursor']['bind'](this)};}['update'](_0x582268){var _0x3185ed;let _0x192ea5=_0x582268['state']['field'](_0x2f71f7);null==_0x192ea5?null!=this['cursor']&&(null===(_0x3185ed=this['cursor'])||void 0x0===_0x3185ed||_0x3185ed['remove'](),this['cursor']=null):(this['cursor']||(this['cursor']=this['view']['scrollDOM']['appendChild'](document['createElement']('div')),this['cursor']['className']='cm-dropCursor'),(_0x582268['startState']['field'](_0x2f71f7)!=_0x192ea5||_0x582268['docChanged']||_0x582268['geometryChanged'])&&this['view']['requestMeasure'](this['measureReq']));}['readPos'](){let {view:_0x2d2503}=this,_0x2a35e3=_0x2d2503['state']['field'](_0x2f71f7),_0x262fd0=null!=_0x2a35e3&&_0x2d2503['coordsAtPos'](_0x2a35e3);if(!_0x262fd0)return null;let _0x314dad=_0x2d2503['scrollDOM']['getBoundingClientRect']();return{'left':_0x262fd0['left']-_0x314dad['left']+_0x2d2503['scrollDOM']['scrollLeft']*_0x2d2503['scaleX'],'top':_0x262fd0['top']-_0x314dad['top']+_0x2d2503['scrollDOM']['scrollTop']*_0x2d2503['scaleY'],'height':_0x262fd0['bottom']-_0x262fd0['top']};}['drawCursor'](_0x364a35){if(this['cursor']){let {scaleX:_0x4f8b04,scaleY:_0x3e0bcc}=this['view'];_0x364a35?(this['cursor']['style']['left']=_0x364a35['left']/_0x4f8b04+'px',this['cursor']['style']['top']=_0x364a35['top']/_0x3e0bcc+'px',this['cursor']['style']['height']=_0x364a35['height']/_0x3e0bcc+'px'):this['cursor']['style']['left']='-100000px';}}['destroy'](){this['cursor']&&this['cursor']['remove']();}['setDropPos'](_0x22ac78){this['view']['state']['field'](_0x2f71f7)!=_0x22ac78&&this['view']['dispatch']({'effects':setDropCursorPos['of'](_0x22ac78)});}},{'eventObservers':{'dragover'(_0x1b74b3){this['setDropPos'](this['view']['posAtCoords']({'x':_0x1b74b3['clientX'],'y':_0x1b74b3['clientY']}));},'dragleave'(_0x2537de){_0x2537de['target']!=this['view']['contentDOM']&&this['view']['contentDOM']['contains'](_0x2537de['relatedTarget'])||this['setDropPos'](null);},'dragend'(){this['setDropPos'](null);},'drop'(){this['setDropPos'](null);}}});function _0x17253d(){return[_0x2f71f7,_0x599ad1];}function iterMatches(_0x233daf,_0x3c2ad9,_0x49d762,_0x349598,_0x9b8e5d){_0x3c2ad9['lastIndex']=0x0;for(let _0x133558,_0x1b6b52=_0x233daf['iterRange'](_0x49d762,_0x349598),_0x253d2e=_0x49d762;!_0x1b6b52['next']()['done'];_0x253d2e+=_0x1b6b52['value']['length'])if(!_0x1b6b52['lineBreak']){for(;_0x133558=_0x3c2ad9['exec'](_0x1b6b52['value']);)_0x9b8e5d(_0x253d2e+_0x133558['index'],_0x133558);}}function matchRanges(_0x443d91,_0xded882){let _0x373599=_0x443d91['visibleRanges'];if(0x1==_0x373599['length']&&_0x373599[0x0]['from']==_0x443d91['viewport']['from']&&_0x373599[0x0]['to']==_0x443d91['viewport']['to'])return _0x373599;let _0x73d5e0=[];for(let {from:_0x44cc0f,to:_0x4d8e94}of _0x373599)_0x44cc0f=Math['max'](_0x443d91['state']['doc']['lineAt'](_0x44cc0f)['from'],_0x44cc0f-_0xded882),_0x4d8e94=Math['min'](_0x443d91['state']['doc']['lineAt'](_0x4d8e94)['to'],_0x4d8e94+_0xded882),_0x73d5e0['length']&&_0x73d5e0[_0x73d5e0['length']-0x1]['to']>=_0x44cc0f?_0x73d5e0[_0x73d5e0['length']-0x1]['to']=_0x4d8e94:_0x73d5e0['push']({'from':_0x44cc0f,'to':_0x4d8e94});return _0x73d5e0;}class MatchDecorator{constructor(_0x30e9c6){const {regexp:_0x565696,decoration:_0x30f6d6,decorate:_0x230b8e,boundary:_0x29c950,maxLength:_0x54e3bd=0x3e8}=_0x30e9c6;if(!_0x565696['global'])throw new RangeError('The\x20regular\x20expression\x20given\x20to\x20MatchDecorator\x20should\x20have\x20its\x20\x27g\x27\x20flag\x20set');if(this['regexp']=_0x565696,_0x230b8e)this['addMatch']=(_0x20d384,_0x2acd7e,_0x169599,_0x43b942)=>_0x230b8e(_0x43b942,_0x169599,_0x169599+_0x20d384[0x0]['length'],_0x20d384,_0x2acd7e);else{if('function'==typeof _0x30f6d6)this['addMatch']=(_0x17e201,_0x462b4,_0x2c8e29,_0x479d3b)=>{let _0x2796de=_0x30f6d6(_0x17e201,_0x462b4,_0x2c8e29);_0x2796de&&_0x479d3b(_0x2c8e29,_0x2c8e29+_0x17e201[0x0]['length'],_0x2796de);};else{if(!_0x30f6d6)throw new RangeError('Either\x20\x27decorate\x27\x20or\x20\x27decoration\x27\x20should\x20be\x20provided\x20to\x20MatchDecorator');this['addMatch']=(_0x313bcc,_0x17c67e,_0xc971,_0xc6af7)=>_0xc6af7(_0xc971,_0xc971+_0x313bcc[0x0]['length'],_0x30f6d6);}}this['boundary']=_0x29c950,this['maxLength']=_0x54e3bd;}['createDeco'](_0x4587b5){let _0x57b83b=new RangeSetBuilder(),_0x57f5c6=_0x57b83b['add']['bind'](_0x57b83b);for(let {from:_0x294eed,to:_0x444478}of matchRanges(_0x4587b5,this['maxLength']))iterMatches(_0x4587b5['state']['doc'],this['regexp'],_0x294eed,_0x444478,(_0x230aaf,_0x8c8945)=>this['addMatch'](_0x8c8945,_0x4587b5,_0x230aaf,_0x57f5c6));return _0x57b83b['finish']();}['updateDeco'](_0x49abe4,_0x12db89){let _0x186731=0x3b9aca00,_0x40a0df=-0x1;return _0x49abe4['docChanged']&&_0x49abe4['changes']['iterChanges']((_0x3fac74,_0x17a78e,_0x3ce78c,_0x14edcc)=>{_0x14edcc>=_0x49abe4['view']['viewport']['from']&&_0x3ce78c<=_0x49abe4['view']['viewport']['to']&&(_0x186731=Math['min'](_0x3ce78c,_0x186731),_0x40a0df=Math['max'](_0x14edcc,_0x40a0df));}),_0x49abe4['viewportMoved']||_0x40a0df-_0x186731>0x3e8?this['createDeco'](_0x49abe4['view']):_0x40a0df>-0x1?this['updateRange'](_0x49abe4['view'],_0x12db89['map'](_0x49abe4['changes']),_0x186731,_0x40a0df):_0x12db89;}['updateRange'](_0x5dcd28,_0x50bf94,_0x27684a,_0x20c621){for(let _0x4902ae of _0x5dcd28['visibleRanges']){let _0x3bfae9=Math['max'](_0x4902ae['from'],_0x27684a),_0xde9eac=Math['min'](_0x4902ae['to'],_0x20c621);if(_0xde9eac>=_0x3bfae9){let _0x4825a0=_0x5dcd28['state']['doc']['lineAt'](_0x3bfae9),_0x1628ec=_0x4825a0['to']<_0xde9eac?_0x5dcd28['state']['doc']['lineAt'](_0xde9eac):_0x4825a0,_0x1ca5f9=Math['max'](_0x4902ae['from'],_0x4825a0['from']),_0x12b1ee=Math['min'](_0x4902ae['to'],_0x1628ec['to']);if(this['boundary']){for(;_0x3bfae9>_0x4825a0['from'];_0x3bfae9--)if(this['boundary']['test'](_0x4825a0['text'][_0x3bfae9-0x1-_0x4825a0['from']])){_0x1ca5f9=_0x3bfae9;break;}for(;_0xde9eac<_0x1628ec['to'];_0xde9eac++)if(this['boundary']['test'](_0x1628ec['text'][_0xde9eac-_0x1628ec['from']])){_0x12b1ee=_0xde9eac;break;}}let _0x5d29f3,_0x1cf472=[],_0x2fa4fb=(_0x3d61ed,_0xaf3ce5,_0xfb0978)=>_0x1cf472['push'](_0xfb0978['range'](_0x3d61ed,_0xaf3ce5));if(_0x4825a0==_0x1628ec){for(this['regexp']['lastIndex']=_0x1ca5f9-_0x4825a0['from'];(_0x5d29f3=this['regexp']['exec'](_0x4825a0['text']))&&_0x5d29f3['index']<_0x12b1ee-_0x4825a0['from'];)this['addMatch'](_0x5d29f3,_0x5dcd28,_0x5d29f3['index']+_0x4825a0['from'],_0x2fa4fb);}else iterMatches(_0x5dcd28['state']['doc'],this['regexp'],_0x1ca5f9,_0x12b1ee,(_0x2d3612,_0xfd6818)=>this['addMatch'](_0xfd6818,_0x5dcd28,_0x2d3612,_0x2fa4fb));_0x50bf94=_0x50bf94['update']({'filterFrom':_0x1ca5f9,'filterTo':_0x12b1ee,'filter':(_0x599746,_0x1d390a)=>_0x599746<_0x1ca5f9||_0x1d390a>_0x12b1ee,'add':_0x1cf472});}}return _0x50bf94;}}const UnicodeRegexpSupport=null!=/x/['unicode']?'gu':'g',_0x3be035=new RegExp('[\x00-\x08\x0a-\x1f\x7f-\u009f­؜​‎‏\u2028\u2029‭‮⁦⁧⁩\ufeff￹-￼]',UnicodeRegexpSupport),_0x518da3={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 _supportsTabSize=null;function supportsTabSize(){var _0x1d1064;if(null==_supportsTabSize&&'undefined'!=typeof document&&document['body']){let _0x6f0215=document['body']['style'];_supportsTabSize=null!=(null!==(_0x1d1064=_0x6f0215['tabSize'])&&void 0x0!==_0x1d1064?_0x1d1064:_0x6f0215['MozTabSize']);}return _supportsTabSize||!0x1;}const _0x4fe0aa=Facet['define']({'combine'(_0x2bb55a){let _0x4c97c0=_0x253a1e(_0x2bb55a,{'render':null,'specialChars':_0x3be035,'addSpecialChars':null});return(_0x4c97c0['replaceTabs']=!supportsTabSize())&&(_0x4c97c0['specialChars']=new RegExp('\x09|'+_0x4c97c0['specialChars']['source'],UnicodeRegexpSupport)),_0x4c97c0['addSpecialChars']&&(_0x4c97c0['specialChars']=new RegExp(_0x4c97c0['specialChars']['source']+'|'+_0x4c97c0['addSpecialChars']['source'],UnicodeRegexpSupport)),_0x4c97c0;}});function highlightSpecialChars(_0xb016b3={}){return[_0x4fe0aa['of'](_0xb016b3),_0x3105a5()];}let _0x1c97cc=null;function _0x3105a5(){return _0x1c97cc||(_0x1c97cc=_0x132f9d['fromClass'](class{constructor(_0x2f921f){this['view']=_0x2f921f,this['decorations']=Decoration['none'],this['decorationCache']=Object['create'](null),this['decorator']=this['makeDecorator'](_0x2f921f['state']['facet'](_0x4fe0aa)),this['decorations']=this['decorator']['createDeco'](_0x2f921f);}['makeDecorator'](_0x1a2ead){return new MatchDecorator({'regexp':_0x1a2ead['specialChars'],'decoration':(_0x115407,_0x54698d,_0x1b3d05)=>{let {doc:_0x153bfa}=_0x54698d['state'],_0x27ba5a=codePointAt(_0x115407[0x0],0x0);if(0x9==_0x27ba5a){let _0x15a9e6=_0x153bfa['lineAt'](_0x1b3d05),_0x3e85ab=_0x54698d['state']['tabSize'],_0x4fd8c1=countColumn(_0x15a9e6['text'],_0x3e85ab,_0x1b3d05-_0x15a9e6['from']);return Decoration['replace']({'widget':new TabWidget((_0x3e85ab-_0x4fd8c1%_0x3e85ab)*this['view']['defaultCharacterWidth']/this['view']['scaleX'])});}return this['decorationCache'][_0x27ba5a]||(this['decorationCache'][_0x27ba5a]=Decoration['replace']({'widget':new SpecialCharWidget(_0x1a2ead,_0x27ba5a)}));},'boundary':_0x1a2ead['replaceTabs']?void 0x0:/[^]/});}['update'](_0x414bee){let _0x3277c1=_0x414bee['state']['facet'](_0x4fe0aa);_0x414bee['startState']['facet'](_0x4fe0aa)!=_0x3277c1?(this['decorator']=this['makeDecorator'](_0x3277c1),this['decorations']=this['decorator']['createDeco'](_0x414bee['view'])):this['decorations']=this['decorator']['updateDeco'](_0x414bee,this['decorations']);}},{'decorations':_0x551112=>_0x551112['decorations']}));}const DefaultPlaceholder='•';function _0x480c97(_0x8a907c){return _0x8a907c>=0x20?DefaultPlaceholder:0xa==_0x8a907c?'␤':String['fromCharCode'](0x2400+_0x8a907c);}class SpecialCharWidget extends WidgetType{constructor(_0xf52c31,_0x2ef7a2){super(),this['options']=_0xf52c31,this['code']=_0x2ef7a2;}['eq'](_0x16a2c0){return _0x16a2c0['code']==this['code'];}['toDOM'](_0x558092){let _0x3c4a4f=_0x480c97(this['code']),_0xdf4297=_0x558092['state']['phrase']('Control\x20character')+'\x20'+(_0x518da3[this['code']]||'0x'+this['code']['toString'](0x10)),_0x1f7ace=this['options']['render']&&this['options']['render'](this['code'],_0xdf4297,_0x3c4a4f);if(_0x1f7ace)return _0x1f7ace;let _0x59506c=document['createElement']('span');return _0x59506c['textContent']=_0x3c4a4f,_0x59506c['title']=_0xdf4297,_0x59506c['setAttribute']('aria-label',_0xdf4297),_0x59506c['className']='cm-specialChar',_0x59506c;}['ignoreEvent'](){return!0x1;}}class TabWidget extends WidgetType{constructor(_0x22cbd7){super(),this['width']=_0x22cbd7;}['eq'](_0x37cb47){return _0x37cb47['width']==this['width'];}['toDOM'](){let _0x5e65ce=document['createElement']('span');return _0x5e65ce['textContent']='\x09',_0x5e65ce['className']='cm-tab',_0x5e65ce['style']['width']=this['width']+'px',_0x5e65ce;}['ignoreEvent'](){return!0x1;}}function highlightActiveLine(){return activeLineHighlighter;}const _0x47f370=Decoration['line']({'class':'cm-activeLine'}),activeLineHighlighter=_0x132f9d['fromClass'](class{constructor(_0x12ca9d){this['decorations']=this['getDeco'](_0x12ca9d);}['update'](_0x100e88){(_0x100e88['docChanged']||_0x100e88['selectionSet'])&&(this['decorations']=this['getDeco'](_0x100e88['view']));}['getDeco'](_0x4ac30d){let _0x1b47f5=-0x1,_0x2980a4=[];for(let _0xfd925f of _0x4ac30d['state']['selection']['ranges']){let _0x5a04f1=_0x4ac30d['lineBlockAt'](_0xfd925f['head']);_0x5a04f1['from']>_0x1b47f5&&(_0x2980a4['push'](_0x47f370['range'](_0x5a04f1['from'])),_0x1b47f5=_0x5a04f1['from']);}return Decoration['set'](_0x2980a4);}},{'decorations':_0x2457bb=>_0x2457bb['decorations']}),_0x3edb01=0x7d0;function rectangleFor(_0x50f4f1,_0x80b04e,_0x2d8315){let _0x3b1dee=Math['min'](_0x80b04e['line'],_0x2d8315['line']),_0x44f93e=Math['max'](_0x80b04e['line'],_0x2d8315['line']),_0x1feeb9=[];if(_0x80b04e['off']>_0x3edb01||_0x2d8315['off']>_0x3edb01||_0x80b04e['col']<0x0||_0x2d8315['col']<0x0){let _0x270534=Math['min'](_0x80b04e['off'],_0x2d8315['off']),_0x2665cb=Math['max'](_0x80b04e['off'],_0x2d8315['off']);for(let _0x325506=_0x3b1dee;_0x325506<=_0x44f93e;_0x325506++){let _0x4dfbbf=_0x50f4f1['doc']['line'](_0x325506);_0x4dfbbf['length']<=_0x2665cb&&_0x1feeb9['push'](EditorSelection['range'](_0x4dfbbf['from']+_0x270534,_0x4dfbbf['to']+_0x2665cb));}}else{let _0x1ed110=Math['min'](_0x80b04e['col'],_0x2d8315['col']),_0x3296a9=Math['max'](_0x80b04e['col'],_0x2d8315['col']);for(let _0x31b18e=_0x3b1dee;_0x31b18e<=_0x44f93e;_0x31b18e++){let _0x29260d=_0x50f4f1['doc']['line'](_0x31b18e),_0x1ff729=_0x3f3917(_0x29260d['text'],_0x1ed110,_0x50f4f1['tabSize'],!0x0);if(_0x1ff729<0x0)_0x1feeb9['push'](EditorSelection['cursor'](_0x29260d['to']));else{let _0x45e524=_0x3f3917(_0x29260d['text'],_0x3296a9,_0x50f4f1['tabSize']);_0x1feeb9['push'](EditorSelection['range'](_0x29260d['from']+_0x1ff729,_0x29260d['from']+_0x45e524));}}}return _0x1feeb9;}function absoluteColumn(_0x5717d6,_0x194df9){let _0x3732c7=_0x5717d6['coordsAtPos'](_0x5717d6['viewport']['from']);return _0x3732c7?Math['round'](Math['abs']((_0x3732c7['left']-_0x194df9)/_0x5717d6['defaultCharacterWidth'])):-0x1;}function getPos(_0x5db2d6,_0x50d5c6){let _0x3dc2b5=_0x5db2d6['posAtCoords']({'x':_0x50d5c6['clientX'],'y':_0x50d5c6['clientY']},!0x1),_0x5e9699=_0x5db2d6['state']['doc']['lineAt'](_0x3dc2b5),_0x4d72df=_0x3dc2b5-_0x5e9699['from'],_0x57f1d8=_0x4d72df>_0x3edb01?-0x1:_0x4d72df==_0x5e9699['length']?absoluteColumn(_0x5db2d6,_0x50d5c6['clientX']):countColumn(_0x5e9699['text'],_0x5db2d6['state']['tabSize'],_0x3dc2b5-_0x5e9699['from']);return{'line':_0x5e9699['number'],'col':_0x57f1d8,'off':_0x4d72df};}function rectangleSelectionStyle(_0x27fe58,_0x1cd745){let _0x5e6776=getPos(_0x27fe58,_0x1cd745),_0x248b21=_0x27fe58['state']['selection'];return _0x5e6776?{'update'(_0x3cf062){if(_0x3cf062['docChanged']){let _0x4cb10f=_0x3cf062['changes']['mapPos'](_0x3cf062['startState']['doc']['line'](_0x5e6776['line'])['from']),_0x1d610f=_0x3cf062['state']['doc']['lineAt'](_0x4cb10f);_0x5e6776={'line':_0x1d610f['number'],'col':_0x5e6776['col'],'off':Math['min'](_0x5e6776['off'],_0x1d610f['length'])},_0x248b21=_0x248b21['map'](_0x3cf062['changes']);}},'get'(_0x2a743d,_0x242d65,_0x2942f){let _0x18cb42=getPos(_0x27fe58,_0x2a743d);if(!_0x18cb42)return _0x248b21;let _0x36a9c3=rectangleFor(_0x27fe58['state'],_0x5e6776,_0x18cb42);return _0x36a9c3['length']?_0x2942f?EditorSelection['create'](_0x36a9c3['concat'](_0x248b21['ranges'])):EditorSelection['create'](_0x36a9c3):_0x248b21;}}:null;}function rectangularSelection(_0xa8c1b){return EditorView['mouseSelectionStyle']['of']((_0x5062ba,_0x4cf0b1)=>{return(_0x7f595c=_0x4cf0b1)['altKey']&&0x0==_0x7f595c['button']?rectangleSelectionStyle(_0x5062ba,_0x4cf0b1):null;var _0x7f595c;});}const _0x278fec={'Alt':[0x12,_0x2d1434=>!!_0x2d1434['altKey']],'Control':[0x11,_0x1be3ea=>!!_0x1be3ea['ctrlKey']],'Shift':[0x10,_0x421e92=>!!_0x421e92['shiftKey']],'Meta':[0x5b,_0x17295a=>!!_0x17295a['metaKey']]},_0x48e701={'style':'cursor:\x20crosshair'};function _0x5572d0(_0x56179c={}){let [_0x172260,_0x1bc6e1]=_0x278fec[_0x56179c['key']||'Alt'],_0x2f350a=_0x132f9d['fromClass'](class{constructor(_0x4e57e7){this['view']=_0x4e57e7,this['isDown']=!0x1;}['set'](_0x3167f2){this['isDown']!=_0x3167f2&&(this['isDown']=_0x3167f2,this['view']['update']([]));}},{'eventObservers':{'keydown'(_0x3a7450){this['set'](_0x3a7450['keyCode']==_0x172260||_0x1bc6e1(_0x3a7450));},'keyup'(_0x3aaf5c){_0x3aaf5c['keyCode']!=_0x172260&&_0x1bc6e1(_0x3aaf5c)||this['set'](!0x1);},'mousemove'(_0x4916e3){this['set'](_0x1bc6e1(_0x4916e3));}}});return[_0x2f350a,EditorView['contentAttributes']['of'](_0x4213de=>{var _0x143240;return(null===(_0x143240=_0x4213de['plugin'](_0x2f350a))||void 0x0===_0x143240?void 0x0:_0x143240['isDown'])?_0x48e701:null;})];}const Outside='-10000px';class TooltipViewManager{constructor(_0x4aae43,_0x36a63f,_0x430910,_0x3efe96){this['facet']=_0x36a63f,this['createTooltipView']=_0x430910,this['removeTooltipView']=_0x3efe96,this['input']=_0x4aae43['state']['facet'](_0x36a63f),this['tooltips']=this['input']['filter'](t=>t);let _0xfaf172=null;this['tooltipViews']=this['tooltips']['map'](t=>_0xfaf172=_0x430910(t,_0xfaf172));}['update'](_0x41e5e3,_0x3b49bf){var _0x3755bb;let _0x32be=_0x41e5e3['state']['facet'](this['facet']),_0x24aa45=_0x32be['filter'](_0x240be0=>_0x240be0);if(_0x32be===this['input']){for(let t of this['tooltipViews'])t['update']&&t['update'](_0x41e5e3);return!0x1;}let _0x448cf0=[],_0x392d65=_0x3b49bf?[]:null;for(let _0x73feff=0x0;_0x73feff<_0x24aa45['length'];_0x73feff++){let _0x3712fd=_0x24aa45[_0x73feff],_0x18d524=-0x1;if(_0x3712fd){for(let _0x2c9e1d=0x0;_0x2c9e1d<this['tooltips']['length'];_0x2c9e1d++){let _0x4dfbbc=this['tooltips'][_0x2c9e1d];_0x4dfbbc&&_0x4dfbbc['create']==_0x3712fd['create']&&(_0x18d524=_0x2c9e1d);}if(_0x18d524<0x0)_0x448cf0[_0x73feff]=this['createTooltipView'](_0x3712fd,_0x73feff?_0x448cf0[_0x73feff-0x1]:null),_0x392d65&&(_0x392d65[_0x73feff]=!!_0x3712fd['above']);else{let _0x27f106=_0x448cf0[_0x73feff]=this['tooltipViews'][_0x18d524];_0x392d65&&(_0x392d65[_0x73feff]=_0x3b49bf[_0x18d524]),_0x27f106['update']&&_0x27f106['update'](_0x41e5e3);}}}for(let t of this['tooltipViews'])_0x448cf0['indexOf'](t)<0x0&&(this['removeTooltipView'](t),null===(_0x3755bb=t['destroy'])||void 0x0===_0x3755bb||_0x3755bb['call'](t));return _0x3b49bf&&(_0x392d65['forEach']((_0x13d18c,_0x4de53e)=>_0x3b49bf[_0x4de53e]=_0x13d18c),_0x3b49bf['length']=_0x392d65['length']),this['input']=_0x32be,this['tooltips']=_0x24aa45,this['tooltipViews']=_0x448cf0,!0x0;}}function _0x5b51aa(_0x483c30){let _0x5bfcc5=_0x483c30['dom']['ownerDocument']['documentElement'];return{'top':0x0,'left':0x0,'bottom':_0x5bfcc5['clientHeight'],'right':_0x5bfcc5['clientWidth']};}const tooltipConfig=Facet['define']({'combine':_0x58e3c3=>{var _0x5bc362,_0x517c66,_0x560c97;return{'position':_0x53f368['ios']?'absolute':(null===(_0x5bc362=_0x58e3c3['find'](_0x8f5ee0=>_0x8f5ee0['position']))||void 0x0===_0x5bc362?void 0x0:_0x5bc362['position'])||'fixed','parent':(null===(_0x517c66=_0x58e3c3['find'](_0x559c83=>_0x559c83['parent']))||void 0x0===_0x517c66?void 0x0:_0x517c66['parent'])||null,'tooltipSpace':(null===(_0x560c97=_0x58e3c3['find'](_0x2102a9=>_0x2102a9['tooltipSpace']))||void 0x0===_0x560c97?void 0x0:_0x560c97['tooltipSpace'])||_0x5b51aa};}}),knownHeight=new WeakMap(),tooltipPlugin=_0x132f9d['fromClass'](class{constructor(_0x40de69){this['view']=_0x40de69,this['above']=[],this['inView']=!0x0,this['madeAbsolute']=!0x1,this['lastTransaction']=0x0,this['measureTimeout']=-0x1;let _0x16986f=_0x40de69['state']['facet'](tooltipConfig);this['position']=_0x16986f['position'],this['parent']=_0x16986f['parent'],this['classes']=_0x40de69['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(_0x40de69,showTooltip,(t,_0x50e680)=>this['createTooltip'](t,_0x50e680),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(_0x256d0e=>{Date['now']()>this['lastTransaction']-0x32&&_0x256d0e['length']>0x0&&_0x256d0e[_0x256d0e['length']-0x1]['intersectionRatio']<0x1&&this['measureSoon']();},{'threshold':[0x1]}):null,this['observeIntersection'](),_0x40de69['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 _0xa6f120 of this['manager']['tooltipViews'])this['intersectionObserver']['observe'](_0xa6f120['dom']);}}['measureSoon'](){this['measureTimeout']<0x0&&(this['measureTimeout']=setTimeout(()=>{this['measureTimeout']=-0x1,this['maybeMeasure']();},0x32));}['update'](_0x2a7287){_0x2a7287['transactions']['length']&&(this['lastTransaction']=Date['now']());let _0x54e02d=this['manager']['update'](_0x2a7287,this['above']);_0x54e02d&&this['observeIntersection']();let _0xd2648b=_0x54e02d||_0x2a7287['geometryChanged'],_0x16bc58=_0x2a7287['state']['facet'](tooltipConfig);if(_0x16bc58['position']!=this['position']&&!this['madeAbsolute']){this['position']=_0x16bc58['position'];for(let t of this['manager']['tooltipViews'])t['dom']['style']['position']=this['position'];_0xd2648b=!0x0;}if(_0x16bc58['parent']!=this['parent']){this['parent']&&this['container']['remove'](),this['parent']=_0x16bc58['parent'],this['createContainer']();for(let t of this['manager']['tooltipViews'])this['container']['appendChild'](t['dom']);_0xd2648b=!0x0;}else this['parent']&&this['view']['themeClasses']!=this['classes']&&(this['classes']=this['container']['className']=this['view']['themeClasses']);_0xd2648b&&this['maybeMeasure']();}['createTooltip'](_0x388efa,_0x13dd57){let _0x7708dd=_0x388efa['create'](this['view']),_0x521165=_0x13dd57?_0x13dd57['dom']:null;if(_0x7708dd['dom']['classList']['add']('cm-tooltip'),_0x388efa['arrow']&&!_0x7708dd['dom']['querySelector']('.cm-tooltip\x20>\x20.cm-tooltip-arrow')){let _0x4b77e0=document['createElement']('div');_0x4b77e0['className']='cm-tooltip-arrow',_0x7708dd['dom']['appendChild'](_0x4b77e0);}return _0x7708dd['dom']['style']['position']=this['position'],_0x7708dd['dom']['style']['top']=Outside,_0x7708dd['dom']['style']['left']='0px',this['container']['insertBefore'](_0x7708dd['dom'],_0x521165),_0x7708dd['mount']&&_0x7708dd['mount'](this['view']),this['resizeObserver']&&this['resizeObserver']['observe'](_0x7708dd['dom']),_0x7708dd;}['destroy'](){var _0x329117,_0x4549b8,_0x4b1712;this['view']['win']['removeEventListener']('resize',this['measureSoon']);for(let _0x4b6411 of this['manager']['tooltipViews'])_0x4b6411['dom']['remove'](),null===(_0x329117=_0x4b6411['destroy'])||void 0x0===_0x329117||_0x329117['call'](_0x4b6411);this['parent']&&this['container']['remove'](),null===(_0x4549b8=this['resizeObserver'])||void 0x0===_0x4549b8||_0x4549b8['disconnect'](),null===(_0x4b1712=this['intersectionObserver'])||void 0x0===_0x4b1712||_0x4b1712['disconnect'](),clearTimeout(this['measureTimeout']);}['readMeasure'](){let _0x3d9e63=0x1,_0x5cad44=0x1,_0x108f61=!0x1;if('fixed'==this['position']&&this['manager']['tooltipViews']['length']){let {dom:_0x2512dd}=this['manager']['tooltipViews'][0x0];if(_0x53f368['gecko'])_0x108f61=_0x2512dd['offsetParent']!=this['container']['ownerDocument']['body'];else{if(_0x2512dd['style']['top']==Outside&&'0px'==_0x2512dd['style']['left']){let _0x10af30=_0x2512dd['getBoundingClientRect']();_0x108f61=Math['abs'](_0x10af30['top']+0x2710)>0x1||Math['abs'](_0x10af30['left'])>0x1;}}}if(_0x108f61||'absolute'==this['position']){if(this['parent']){let _0x3fe982=this['parent']['getBoundingClientRect']();_0x3fe982['width']&&_0x3fe982['height']&&(_0x3d9e63=_0x3fe982['width']/this['parent']['offsetWidth'],_0x5cad44=_0x3fe982['height']/this['parent']['offsetHeight']);}else({scaleX:_0x3d9e63,scaleY:_0x5cad44}=this['view']['viewState']);}let _0x5df19c=this['view']['scrollDOM']['getBoundingClientRect'](),_0x5f196e=getScrollMargins(this['view']);return{'visible':{'left':_0x5df19c['left']+_0x5f196e['left'],'top':_0x5df19c['top']+_0x5f196e['top'],'right':_0x5df19c['right']-_0x5f196e['right'],'bottom':_0x5df19c['bottom']-_0x5f196e['bottom']},'parent':this['parent']?this['container']['getBoundingClientRect']():this['view']['dom']['getBoundingClientRect'](),'pos':this['manager']['tooltips']['map']((t,_0x311204)=>{let _0x17019c=this['manager']['tooltipViews'][_0x311204];return _0x17019c['getCoords']?_0x17019c['getCoords'](t['pos']):this['view']['coordsAtPos'](t['pos']);}),'size':this['manager']['tooltipViews']['map'](({dom:_0x49d1e0})=>_0x49d1e0['getBoundingClientRect']()),'space':this['view']['state']['facet'](tooltipConfig)['tooltipSpace'](this['view']),'scaleX':_0x3d9e63,'scaleY':_0x5cad44,'makeAbsolute':_0x108f61};}['writeMeasure'](_0x196202){var _0x34a2b8;if(_0x196202['makeAbsolute']){this['madeAbsolute']=!0x0,this['position']='absolute';for(let t of this['manager']['tooltipViews'])t['dom']['style']['position']='absolute';}let {visible:_0x35e3d9,space:_0x4a632c,scaleX:_0x29a731,scaleY:_0x5acc94}=_0x196202,_0x2242c8=[];for(let _0x43dd7e=0x0;_0x43dd7e<this['manager']['tooltips']['length'];_0x43dd7e++){let _0x513e91=this['manager']['tooltips'][_0x43dd7e],_0x364a8a=this['manager']['tooltipViews'][_0x43dd7e],{dom:_0x5587e4}=_0x364a8a,_0x28af28=_0x196202['pos'][_0x43dd7e],_0x1379f5=_0x196202['size'][_0x43dd7e];if(!_0x28af28||!0x1!==_0x513e91['clip']&&(_0x28af28['bottom']<=Math['max'](_0x35e3d9['top'],_0x4a632c['top'])||_0x28af28['top']>=Math['min'](_0x35e3d9['bottom'],_0x4a632c['bottom'])||_0x28af28['right']<Math['max'](_0x35e3d9['left'],_0x4a632c['left'])-0.1||_0x28af28['left']>Math['min'](_0x35e3d9['right'],_0x4a632c['right'])+0.1)){_0x5587e4['style']['top']=Outside;continue;}let _0x40b148=_0x513e91['arrow']?_0x364a8a['dom']['querySelector']('.cm-tooltip-arrow'):null,_0x3a996f=_0x40b148?0x7:0x0,_0x3cec7d=_0x1379f5['right']-_0x1379f5['left'],_0x4f8c39=null!==(_0x34a2b8=knownHeight['get'](_0x364a8a))&&void 0x0!==_0x34a2b8?_0x34a2b8:_0x1379f5['bottom']-_0x1379f5['top'],_0x29ac4d=_0x364a8a['offset']||noOffset,_0x5cebee=this['view']['textDirection']==Direction['LTR'],_0xcf5665=_0x1379f5['width']>_0x4a632c['right']-_0x4a632c['left']?_0x5cebee?_0x4a632c['left']:_0x4a632c['right']-_0x1379f5['width']:_0x5cebee?Math['max'](_0x4a632c['left'],Math['min'](_0x28af28['left']-(_0x40b148?0xe:0x0)+_0x29ac4d['x'],_0x4a632c['right']-_0x3cec7d)):Math['min'](Math['max'](_0x4a632c['left'],_0x28af28['left']-_0x3cec7d+(_0x40b148?0xe:0x0)-_0x29ac4d['x']),_0x4a632c['right']-_0x3cec7d),_0x205259=this['above'][_0x43dd7e];!_0x513e91['strictSide']&&(_0x205259?_0x28af28['top']-_0x4f8c39-_0x3a996f-_0x29ac4d['y']<_0x4a632c['top']:_0x28af28['bottom']+_0x4f8c39+_0x3a996f+_0x29ac4d['y']>_0x4a632c['bottom'])&&_0x205259==_0x4a632c['bottom']-_0x28af28['bottom']>_0x28af28['top']-_0x4a632c['top']&&(_0x205259=this['above'][_0x43dd7e]=!_0x205259);let _0x2adf33=(_0x205259?_0x28af28['top']-_0x4a632c['top']:_0x4a632c['bottom']-_0x28af28['bottom'])-_0x3a996f;if(_0x2adf33<_0x4f8c39&&!0x1!==_0x364a8a['resize']){if(_0x2adf33<this['view']['defaultLineHeight']){_0x5587e4['style']['top']=Outside;continue;}knownHeight['set'](_0x364a8a,_0x4f8c39),_0x5587e4['style']['height']=(_0x4f8c39=_0x2adf33)/_0x5acc94+'px';}else _0x5587e4['style']['height']&&(_0x5587e4['style']['height']='');let _0x10f21e=_0x205259?_0x28af28['top']-_0x4f8c39-_0x3a996f-_0x29ac4d['y']:_0x28af28['bottom']+_0x3a996f+_0x29ac4d['y'],_0x155bff=_0xcf5665+_0x3cec7d;if(!0x0!==_0x364a8a['overlap']){for(let _0x3770cd of _0x2242c8)_0x3770cd['left']<_0x155bff&&_0x3770cd['right']>_0xcf5665&&_0x3770cd['top']<_0x10f21e+_0x4f8c39&&_0x3770cd['bottom']>_0x10f21e&&(_0x10f21e=_0x205259?_0x3770cd['top']-_0x4f8c39-0x2-_0x3a996f:_0x3770cd['bottom']+_0x3a996f+0x2);}if('absolute'==this['position']?(_0x5587e4['style']['top']=(_0x10f21e-_0x196202['parent']['top'])/_0x5acc94+'px',setLeftStyle(_0x5587e4,(_0xcf5665-_0x196202['parent']['left'])/_0x29a731)):(_0x5587e4['style']['top']=_0x10f21e/_0x5acc94+'px',setLeftStyle(_0x5587e4,_0xcf5665/_0x29a731)),_0x40b148){let _0x1fef14=_0x28af28['left']+(_0x5cebee?_0x29ac4d['x']:-_0x29ac4d['x'])-(_0xcf5665+0xe-0x7);_0x40b148['style']['left']=_0x1fef14/_0x29a731+'px';}!0x0!==_0x364a8a['overlap']&&_0x2242c8['push']({'left':_0xcf5665,'top':_0x10f21e,'right':_0x155bff,'bottom':_0x10f21e+_0x4f8c39}),_0x5587e4['classList']['toggle']('cm-tooltip-above',_0x205259),_0x5587e4['classList']['toggle']('cm-tooltip-below',!_0x205259),_0x364a8a['positioned']&&_0x364a8a['positioned'](_0x196202['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 _0x46eb21 of this['manager']['tooltipViews'])_0x46eb21['dom']['style']['top']=Outside;}}},{'eventObservers':{'scroll'(){this['maybeMeasure']();}}});function setLeftStyle(_0x3f78df,_0x3d79df){let _0xedf1a=parseInt(_0x3f78df['style']['left'],0xa);(isNaN(_0xedf1a)||Math['abs'](_0x3d79df-_0xedf1a)>0x1)&&(_0x3f78df['style']['left']=_0x3d79df+'px');}const _0x3f0e27=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'}}}),noOffset={'x':0x0,'y':0x0},showTooltip=Facet['define']({'enables':[tooltipPlugin,_0x3f0e27]});function getTooltip(_0x1b6a74,_0x4cdd4f){let _0x1fd6e5=_0x1b6a74['plugin'](tooltipPlugin);if(!_0x1fd6e5)return null;let _0x1b352f=_0x1fd6e5['manager']['tooltips']['indexOf'](_0x4cdd4f);return _0x1b352f<0x0?null:_0x1fd6e5['manager']['tooltipViews'][_0x1b352f];}class GutterMarker extends _0x57c96b{['compare'](_0x74ce8){return this==_0x74ce8||this['constructor']==_0x74ce8['constructor']&&this['eq'](_0x74ce8);}['eq'](_0xc0d9c2){return!0x1;}['destroy'](_0x18c222){}}GutterMarker['prototype']['elementClass']='',GutterMarker['prototype']['toDOM']=void 0x0,GutterMarker['prototype']['mapMode']=_0x1d8e34['TrackBefore'],GutterMarker['prototype']['startSide']=GutterMarker['prototype']['endSide']=-0x1,GutterMarker['prototype']['point']=!0x0;const gutterLineClass=Facet['define'](),gutterWidgetClass=Facet['define'](),defaults$1={'class':'','renderEmptyElements':!0x1,'elementStyle':'','markers':()=>RangeSet['empty'],'lineMarker':()=>null,'widgetMarker':()=>null,'lineMarkerChange':null,'initialSpacer':null,'updateSpacer':null,'domEventHandlers':{},'side':'before'},activeGutters=Facet['define']();function gutter(_0x12a12d){return[gutters(),activeGutters['of']({...defaults$1,..._0x12a12d})];}const unfixGutters=Facet['define']({'combine':_0x590da2=>_0x590da2['some'](_0xc8de32=>_0xc8de32)});function gutters(_0x31bf08){return[gutterView];}const gutterView=_0x132f9d['fromClass'](class{constructor(_0x1c19ab){this['view']=_0x1c19ab,this['domAfter']=null,this['prevViewport']=_0x1c19ab['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']=_0x1c19ab['state']['facet'](activeGutters)['map'](_0x1bb55d=>new SingleGutterView(_0x1c19ab,_0x1bb55d)),this['fixed']=!_0x1c19ab['state']['facet'](unfixGutters);for(let _0xf7ca27 of this['gutters'])'after'==_0xf7ca27['config']['side']?this['getDOMAfter']()['appendChild'](_0xf7ca27['dom']):this['dom']['appendChild'](_0xf7ca27['dom']);this['fixed']&&(this['dom']['style']['position']='sticky'),this['syncGutters'](!0x1),_0x1c19ab['scrollDOM']['insertBefore'](this['dom'],_0x1c19ab['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'](_0x25f134){if(this['updateGutters'](_0x25f134)){let _0x36be04=this['prevViewport'],_0x5e9d0d=_0x25f134['view']['viewport'],_0x5947a8=Math['min'](_0x36be04['to'],_0x5e9d0d['to'])-Math['max'](_0x36be04['from'],_0x5e9d0d['from']);this['syncGutters'](_0x5947a8<0.8*(_0x5e9d0d['to']-_0x5e9d0d['from']));}if(_0x25f134['geometryChanged']){let _0x638fb7=this['view']['contentHeight']/this['view']['scaleY']+'px';this['dom']['style']['minHeight']=_0x638fb7,this['domAfter']&&(this['domAfter']['style']['minHeight']=_0x638fb7);}this['view']['state']['facet'](unfixGutters)!=!this['fixed']&&(this['fixed']=!this['fixed'],this['dom']['style']['position']=this['fixed']?'sticky':'',this['domAfter']&&(this['domAfter']['style']['position']=this['fixed']?'sticky':'')),this['prevViewport']=_0x25f134['view']['viewport'];}['syncGutters'](_0x60305){let _0x3572f2=this['dom']['nextSibling'];_0x60305&&(this['dom']['remove'](),this['domAfter']&&this['domAfter']['remove']());let _0x5bd7a2=RangeSet['iter'](this['view']['state']['facet'](gutterLineClass),this['view']['viewport']['from']),_0x5a4c9d=[],_0x5a0eff=this['gutters']['map'](_0x1e4ae6=>new UpdateContext(_0x1e4ae6,this['view']['viewport'],-this['view']['documentPadding']['top']));for(let _0x341d42 of this['view']['viewportLineBlocks'])if(_0x5a4c9d['length']&&(_0x5a4c9d=[]),Array['isArray'](_0x341d42['type'])){let _0x5a98a7=!0x0;for(let _0x2496b0 of _0x341d42['type'])if(_0x2496b0['type']==_0x516d37['Text']&&_0x5a98a7){_0x1ba440(_0x5bd7a2,_0x5a4c9d,_0x2496b0['from']);for(let _0x35ae1f of _0x5a0eff)_0x35ae1f['line'](this['view'],_0x2496b0,_0x5a4c9d);_0x5a98a7=!0x1;}else{if(_0x2496b0['widget']){for(let _0x3e19c3 of _0x5a0eff)_0x3e19c3['widget'](this['view'],_0x2496b0);}}}else{if(_0x341d42['type']==_0x516d37['Text']){_0x1ba440(_0x5bd7a2,_0x5a4c9d,_0x341d42['from']);for(let _0x3f592c of _0x5a0eff)_0x3f592c['line'](this['view'],_0x341d42,_0x5a4c9d);}else{if(_0x341d42['widget']){for(let _0x4cf8bd of _0x5a0eff)_0x4cf8bd['widget'](this['view'],_0x341d42);}}}for(let _0x5a6201 of _0x5a0eff)_0x5a6201['finish']();_0x60305&&(this['view']['scrollDOM']['insertBefore'](this['dom'],_0x3572f2),this['domAfter']&&this['view']['scrollDOM']['appendChild'](this['domAfter']));}['updateGutters'](_0x11b117){let _0x2c540c=_0x11b117['startState']['facet'](activeGutters),_0x401846=_0x11b117['state']['facet'](activeGutters),_0x4fffdc=_0x11b117['docChanged']||_0x11b117['heightChanged']||_0x11b117['viewportChanged']||!RangeSet['eq'](_0x11b117['startState']['facet'](gutterLineClass),_0x11b117['state']['facet'](gutterLineClass),_0x11b117['view']['viewport']['from'],_0x11b117['view']['viewport']['to']);if(_0x2c540c==_0x401846){for(let _0x1b252d of this['gutters'])_0x1b252d['update'](_0x11b117)&&(_0x4fffdc=!0x0);}else{_0x4fffdc=!0x0;let _0x47001b=[];for(let _0x1e586b of _0x401846){let _0xd0d79e=_0x2c540c['indexOf'](_0x1e586b);_0xd0d79e<0x0?_0x47001b['push'](new SingleGutterView(this['view'],_0x1e586b)):(this['gutters'][_0xd0d79e]['update'](_0x11b117),_0x47001b['push'](this['gutters'][_0xd0d79e]));}for(let _0x283f70 of this['gutters'])_0x283f70['dom']['remove'](),_0x47001b['indexOf'](_0x283f70)<0x0&&_0x283f70['destroy']();for(let _0x572f7d of _0x47001b)'after'==_0x572f7d['config']['side']?this['getDOMAfter']()['appendChild'](_0x572f7d['dom']):this['dom']['appendChild'](_0x572f7d['dom']);this['gutters']=_0x47001b;}return _0x4fffdc;}['destroy'](){for(let _0x25bbfc of this['gutters'])_0x25bbfc['destroy']();this['dom']['remove'](),this['domAfter']&&this['domAfter']['remove']();}},{'provide':_0x3b2df0=>EditorView['scrollMargins']['of'](_0x34062f=>{let _0x1a8210=_0x34062f['plugin'](_0x3b2df0);if(!_0x1a8210||0x0==_0x1a8210['gutters']['length']||!_0x1a8210['fixed'])return null;let _0x174946=_0x1a8210['dom']['offsetWidth']*_0x34062f['scaleX'],_0x1ba287=_0x1a8210['domAfter']?_0x1a8210['domAfter']['offsetWidth']*_0x34062f['scaleX']:0x0;return _0x34062f['textDirection']==Direction['LTR']?{'left':_0x174946,'right':_0x1ba287}:{'right':_0x174946,'left':_0x1ba287};})});function _0x2afd39(_0x497e50){return Array['isArray'](_0x497e50)?_0x497e50:[_0x497e50];}function _0x1ba440(_0x1f80aa,_0x2689ac,_0x4ea233){for(;_0x1f80aa['value']&&_0x1f80aa['from']<=_0x4ea233;)_0x1f80aa['from']==_0x4ea233&&_0x2689ac['push'](_0x1f80aa['value']),_0x1f80aa['next']();}class UpdateContext{constructor(_0x1e149f,_0x423914,_0x448164){this['gutter']=_0x1e149f,this['height']=_0x448164,this['i']=0x0,this['cursor']=RangeSet['iter'](_0x1e149f['markers'],_0x423914['from']);}['addElement'](_0x4d6472,_0x5f2411,_0x4a304b){let {gutter:_0x43b220}=this,_0x6441d2=(_0x5f2411['top']-this['height'])/_0x4d6472['scaleY'],_0x5cbb3e=_0x5f2411['height']/_0x4d6472['scaleY'];if(this['i']==_0x43b220['elements']['length']){let _0x3dc9e8=new GutterElement(_0x4d6472,_0x5cbb3e,_0x6441d2,_0x4a304b);_0x43b220['elements']['push'](_0x3dc9e8),_0x43b220['dom']['appendChild'](_0x3dc9e8['dom']);}else _0x43b220['elements'][this['i']]['update'](_0x4d6472,_0x5cbb3e,_0x6441d2,_0x4a304b);this['height']=_0x5f2411['bottom'],this['i']++;}['line'](_0x23bdb,_0x5a663a,_0x12a98a){let _0x4cefd4=[];_0x1ba440(this['cursor'],_0x4cefd4,_0x5a663a['from']),_0x12a98a['length']&&(_0x4cefd4=_0x4cefd4['concat'](_0x12a98a));let _0x50baaf=this['gutter']['config']['lineMarker'](_0x23bdb,_0x5a663a,_0x4cefd4);_0x50baaf&&_0x4cefd4['unshift'](_0x50baaf);let _0x3e87d8=this['gutter'];(0x0!=_0x4cefd4['length']||_0x3e87d8['config']['renderEmptyElements'])&&this['addElement'](_0x23bdb,_0x5a663a,_0x4cefd4);}['widget'](_0x43b941,_0x1ba78b){let _0x32316f=this['gutter']['config']['widgetMarker'](_0x43b941,_0x1ba78b['widget'],_0x1ba78b),_0x44527c=_0x32316f?[_0x32316f]:null;for(let _0x55e1ce of _0x43b941['state']['facet'](gutterWidgetClass)){let _0x37e51c=_0x55e1ce(_0x43b941,_0x1ba78b['widget'],_0x1ba78b);_0x37e51c&&(_0x44527c||(_0x44527c=[]))['push'](_0x37e51c);}_0x44527c&&this['addElement'](_0x43b941,_0x1ba78b,_0x44527c);}['finish'](){let _0x295e32=this['gutter'];for(;_0x295e32['elements']['length']>this['i'];){let _0x4cb4e9=_0x295e32['elements']['pop']();_0x295e32['dom']['removeChild'](_0x4cb4e9['dom']),_0x4cb4e9['destroy']();}}}class SingleGutterView{constructor(_0x352f26,_0x4e07c5){this['view']=_0x352f26,this['config']=_0x4e07c5,this['elements']=[],this['spacer']=null,this['dom']=document['createElement']('div'),this['dom']['className']='cm-gutter'+(this['config']['class']?'\x20'+this['config']['class']:'');for(let _0x492c4e in _0x4e07c5['domEventHandlers'])this['dom']['addEventListener'](_0x492c4e,_0xfe40ed=>{let _0x1578e4,_0x36f1ff=_0xfe40ed['target'];if(_0x36f1ff!=this['dom']&&this['dom']['contains'](_0x36f1ff)){for(;_0x36f1ff['parentNode']!=this['dom'];)_0x36f1ff=_0x36f1ff['parentNode'];let _0x7a4a6a=_0x36f1ff['getBoundingClientRect']();_0x1578e4=(_0x7a4a6a['top']+_0x7a4a6a['bottom'])/0x2;}else _0x1578e4=_0xfe40ed['clientY'];let _0x54bd0b=_0x352f26['lineBlockAtHeight'](_0x1578e4-_0x352f26['documentTop']);_0x4e07c5['domEventHandlers'][_0x492c4e](_0x352f26,_0x54bd0b,_0xfe40ed)&&_0xfe40ed['preventDefault']();});this['markers']=_0x2afd39(_0x4e07c5['markers'](_0x352f26)),_0x4e07c5['initialSpacer']&&(this['spacer']=new GutterElement(_0x352f26,0x0,0x0,[_0x4e07c5['initialSpacer'](_0x352f26)]),this['dom']['appendChild'](this['spacer']['dom']),this['spacer']['dom']['style']['cssText']+='visibility:\x20hidden;\x20pointer-events:\x20none');}['update'](_0x1e3672){let _0x5e5bfd=this['markers'];if(this['markers']=_0x2afd39(this['config']['markers'](_0x1e3672['view'])),this['spacer']&&this['config']['updateSpacer']){let _0x23f235=this['config']['updateSpacer'](this['spacer']['markers'][0x0],_0x1e3672);_0x23f235!=this['spacer']['markers'][0x0]&&this['spacer']['update'](_0x1e3672['view'],0x0,0x0,[_0x23f235]);}let _0x2b5219=_0x1e3672['view']['viewport'];return!RangeSet['eq'](this['markers'],_0x5e5bfd,_0x2b5219['from'],_0x2b5219['to'])||!!this['config']['lineMarkerChange']&&this['config']['lineMarkerChange'](_0x1e3672);}['destroy'](){for(let _0x579b8f of this['elements'])_0x579b8f['destroy']();}}class GutterElement{constructor(_0x11dbb1,_0x13a850,_0x208ae6,_0x458834){this['height']=-0x1,this['above']=0x0,this['markers']=[],this['dom']=document['createElement']('div'),this['dom']['className']='cm-gutterElement',this['update'](_0x11dbb1,_0x13a850,_0x208ae6,_0x458834);}['update'](_0x522cdf,_0x3fcfb1,_0x2917f5,_0x3e2a3c){this['height']!=_0x3fcfb1&&(this['height']=_0x3fcfb1,this['dom']['style']['height']=_0x3fcfb1+'px'),this['above']!=_0x2917f5&&(this['dom']['style']['marginTop']=(this['above']=_0x2917f5)?_0x2917f5+'px':''),_0x124687(this['markers'],_0x3e2a3c)||this['setMarkers'](_0x522cdf,_0x3e2a3c);}['setMarkers'](_0x4e0472,_0x90491){let _0x4f8bf5='cm-gutterElement',_0x53fd12=this['dom']['firstChild'];for(let _0x53083c=0x0,_0x3fab46=0x0;;){let _0x518783=_0x3fab46,_0x40d9fb=_0x53083c<_0x90491['length']?_0x90491[_0x53083c++]:null,_0x2520bc=!0x1;if(_0x40d9fb){let _0x28cdb3=_0x40d9fb['elementClass'];_0x28cdb3&&(_0x4f8bf5+='\x20'+_0x28cdb3);for(let _0x44bb19=_0x3fab46;_0x44bb19<this['markers']['length'];_0x44bb19++)if(this['markers'][_0x44bb19]['compare'](_0x40d9fb)){_0x518783=_0x44bb19,_0x2520bc=!0x0;break;}}else _0x518783=this['markers']['length'];for(;_0x3fab46<_0x518783;){let _0x32577a=this['markers'][_0x3fab46++];if(_0x32577a['toDOM']){_0x32577a['destroy'](_0x53fd12);let _0x333e69=_0x53fd12['nextSibling'];_0x53fd12['remove'](),_0x53fd12=_0x333e69;}}if(!_0x40d9fb)break;_0x40d9fb['toDOM']&&(_0x2520bc?_0x53fd12=_0x53fd12['nextSibling']:this['dom']['insertBefore'](_0x40d9fb['toDOM'](_0x4e0472),_0x53fd12)),_0x2520bc&&_0x3fab46++;}this['dom']['className']=_0x4f8bf5,this['markers']=_0x90491;}['destroy'](){this['setMarkers'](null,[]);}}function _0x124687(_0x39d1d8,_0x85686a){if(_0x39d1d8['length']!=_0x85686a['length'])return!0x1;for(let _0x5cb770=0x0;_0x5cb770<_0x39d1d8['length'];_0x5cb770++)if(!_0x39d1d8[_0x5cb770]['compare'](_0x85686a[_0x5cb770]))return!0x1;return!0x0;}const _0x1e3489=Facet['define'](),lineNumberWidgetMarker=Facet['define'](),_0x13f5fc=Facet['define']({'combine':_0x152238=>_0x253a1e(_0x152238,{'formatNumber':String,'domEventHandlers':{}},{'domEventHandlers'(_0x59d90b,_0xba128c){let _0x4da80e=Object['assign']({},_0x59d90b);for(let _0x33ab53 in _0xba128c){let _0xa78738=_0x4da80e[_0x33ab53],_0x992a8=_0xba128c[_0x33ab53];_0x4da80e[_0x33ab53]=_0xa78738?(_0x7d183d,_0x1b20bb,_0x3d1347)=>_0xa78738(_0x7d183d,_0x1b20bb,_0x3d1347)||_0x992a8(_0x7d183d,_0x1b20bb,_0x3d1347):_0x992a8;}return _0x4da80e;}})});class _0x41265e extends GutterMarker{constructor(_0x45dbc1){super(),this['number']=_0x45dbc1;}['eq'](_0x23888e){return this['number']==_0x23888e['number'];}['toDOM'](){return document['createTextNode'](this['number']);}}function formatNumber(_0xe73731,_0x4c53c5){return _0xe73731['state']['facet'](_0x13f5fc)['formatNumber'](_0x4c53c5,_0xe73731['state']);}const lineNumberGutter=activeGutters['compute']([_0x13f5fc],_0x5259ff=>({'class':'cm-lineNumbers','renderEmptyElements':!0x1,'markers':_0x459de1=>_0x459de1['state']['facet'](_0x1e3489),'lineMarker':(_0x313b61,_0x232663,_0x45a088)=>_0x45a088['some'](_0x294c9a=>_0x294c9a['toDOM'])?null:new _0x41265e(formatNumber(_0x313b61,_0x313b61['state']['doc']['lineAt'](_0x232663['from'])['number'])),'widgetMarker':(_0x294d1a,_0x4fad0c,_0x56b0a0)=>{for(let _0x4850af of _0x294d1a['state']['facet'](lineNumberWidgetMarker)){let _0x4fcb7d=_0x4850af(_0x294d1a,_0x4fad0c,_0x56b0a0);if(_0x4fcb7d)return _0x4fcb7d;}return null;},'lineMarkerChange':_0x4f6fa8=>_0x4f6fa8['startState']['facet'](_0x13f5fc)!=_0x4f6fa8['state']['facet'](_0x13f5fc),'initialSpacer':_0x17a6f5=>new _0x41265e(formatNumber(_0x17a6f5,_0x1f7c69(_0x17a6f5['state']['doc']['lines']))),'updateSpacer'(_0xe94260,_0x11ed1a){let _0xc74d96=formatNumber(_0x11ed1a['view'],_0x1f7c69(_0x11ed1a['view']['state']['doc']['lines']));return _0xc74d96==_0xe94260['number']?_0xe94260:new _0x41265e(_0xc74d96);},'domEventHandlers':_0x5259ff['facet'](_0x13f5fc)['domEventHandlers'],'side':'before'}));function _0x2151b8(_0x318c10={}){return[_0x13f5fc['of'](_0x318c10),gutters(),lineNumberGutter];}function _0x1f7c69(_0x485ee3){let _0x528c9a=0x9;for(;_0x528c9a<_0x485ee3;)_0x528c9a=0xa*_0x528c9a+0x9;return _0x528c9a;}const activeLineGutterMarker=new class extends GutterMarker{constructor(){super(...arguments),this['elementClass']='cm-activeLineGutter';}}(),activeLineGutterHighlighter=gutterLineClass['compute'](['selection'],_0x554588=>{let _0x350a06=[],_0x4e79df=-0x1;for(let _0x40b00b of _0x554588['selection']['ranges']){let _0x57a098=_0x554588['doc']['lineAt'](_0x40b00b['head'])['from'];_0x57a098>_0x4e79df&&(_0x4e79df=_0x57a098,_0x350a06['push'](activeLineGutterMarker['range'](_0x57a098)));}return RangeSet['of'](_0x350a06);});function highlightActiveLineGutter(){return activeLineGutterHighlighter;}const DefaultBufferLength=0x400;let nextPropID=0x0;class _0x45707a{constructor(_0x431cc3,_0x3156e5){this['from']=_0x431cc3,this['to']=_0x3156e5;}}class _0x332766{constructor(_0x27323d={}){this['id']=nextPropID++,this['perNode']=!!_0x27323d['perNode'],this['deserialize']=_0x27323d['deserialize']||(()=>{throw new Error('This\x20node\x20type\x20doesn\x27t\x20define\x20a\x20deserialize\x20function');}),this['combine']=_0x27323d['combine']||null;}['add'](_0x2c1e86){if(this['perNode'])throw new RangeError('Can\x27t\x20add\x20per-node\x20props\x20to\x20node\x20types');return'function'!=typeof _0x2c1e86&&(_0x2c1e86=_0x37cf2b['match'](_0x2c1e86)),_0x2a744e=>{let _0x5bfca2=_0x2c1e86(_0x2a744e);return void 0x0===_0x5bfca2?null:[this,_0x5bfca2];};}}_0x332766['closedBy']=new _0x332766({'deserialize':_0x1d69be=>_0x1d69be['split']('\x20')}),_0x332766['openedBy']=new _0x332766({'deserialize':_0x3c0355=>_0x3c0355['split']('\x20')}),_0x332766['group']=new _0x332766({'deserialize':_0x21c222=>_0x21c222['split']('\x20')}),_0x332766['isolate']=new _0x332766({'deserialize':_0x4f3d92=>{if(_0x4f3d92&&'rtl'!=_0x4f3d92&&'ltr'!=_0x4f3d92&&'auto'!=_0x4f3d92)throw new RangeError('Invalid\x20value\x20for\x20isolate:\x20'+_0x4f3d92);return _0x4f3d92||'auto';}}),_0x332766['contextHash']=new _0x332766({'perNode':!0x0}),_0x332766['lookAhead']=new _0x332766({'perNode':!0x0}),_0x332766['mounted']=new _0x332766({'perNode':!0x0});class MountedTree{constructor(_0x47bf1b,_0x10b26a,_0x2c3e68){this['tree']=_0x47bf1b,this['overlay']=_0x10b26a,this['parser']=_0x2c3e68;}static['get'](_0x20dbbc){return _0x20dbbc&&_0x20dbbc['props']&&_0x20dbbc['props'][_0x332766['mounted']['id']];}}const _0x9bef8=Object['create'](null);class _0x37cf2b{constructor(_0x3685f7,_0xcd9796,_0x9049eb,_0x2de5ca=0x0){this['name']=_0x3685f7,this['props']=_0xcd9796,this['id']=_0x9049eb,this['flags']=_0x2de5ca;}static['define'](_0x30ceea){let _0x231dc8=_0x30ceea['props']&&_0x30ceea['props']['length']?Object['create'](null):_0x9bef8,_0x47d414=(_0x30ceea['top']?0x1:0x0)|(_0x30ceea['skipped']?0x2:0x0)|(_0x30ceea['error']?0x4:0x0)|(null==_0x30ceea['name']?0x8:0x0),_0x229785=new _0x37cf2b(_0x30ceea['name']||'',_0x231dc8,_0x30ceea['id'],_0x47d414);if(_0x30ceea['props']){for(let _0x3540ac of _0x30ceea['props'])if(Array['isArray'](_0x3540ac)||(_0x3540ac=_0x3540ac(_0x229785)),_0x3540ac){if(_0x3540ac[0x0]['perNode'])throw new RangeError('Can\x27t\x20store\x20a\x20per-node\x20prop\x20on\x20a\x20node\x20type');_0x231dc8[_0x3540ac[0x0]['id']]=_0x3540ac[0x1];}}return _0x229785;}['prop'](_0x580c0a){return this['props'][_0x580c0a['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'](_0x2a310f){if('string'==typeof _0x2a310f){if(this['name']==_0x2a310f)return!0x0;let _0x48551a=this['prop'](_0x332766['group']);return!!_0x48551a&&_0x48551a['indexOf'](_0x2a310f)>-0x1;}return this['id']==_0x2a310f;}static['match'](_0x3d607c){let _0x2b0dcf=Object['create'](null);for(let _0x2c6903 in _0x3d607c)for(let _0x3da213 of _0x2c6903['split']('\x20'))_0x2b0dcf[_0x3da213]=_0x3d607c[_0x2c6903];return _0x114887=>{for(let _0x2527f0=_0x114887['prop'](_0x332766['group']),_0x55176d=-0x1;_0x55176d<(_0x2527f0?_0x2527f0['length']:0x0);_0x55176d++){let _0x1f6faf=_0x2b0dcf[_0x55176d<0x0?_0x114887['name']:_0x2527f0[_0x55176d]];if(_0x1f6faf)return _0x1f6faf;}};}}_0x37cf2b['none']=new _0x37cf2b('',Object['create'](null),0x0,0x8);class NodeSet{constructor(_0x1959e5){this['types']=_0x1959e5;for(let _0x1b7154=0x0;_0x1b7154<_0x1959e5['length'];_0x1b7154++)if(_0x1959e5[_0x1b7154]['id']!=_0x1b7154)throw new RangeError('Node\x20type\x20ids\x20should\x20correspond\x20to\x20array\x20positions\x20when\x20creating\x20a\x20node\x20set');}['extend'](..._0xdff49a){let _0x9522ba=[];for(let _0x50422e of this['types']){let _0x524a92=null;for(let _0x50412a of _0xdff49a){let _0x422a29=_0x50412a(_0x50422e);if(_0x422a29){_0x524a92||(_0x524a92=Object['assign']({},_0x50422e['props']));let _0x1999d0=_0x422a29[0x1],_0x2cc109=_0x422a29[0x0];_0x2cc109['combine']&&_0x2cc109['id']in _0x524a92&&(_0x1999d0=_0x2cc109['combine'](_0x524a92[_0x2cc109['id']],_0x1999d0)),_0x524a92[_0x2cc109['id']]=_0x1999d0;}}_0x9522ba['push'](_0x524a92?new _0x37cf2b(_0x50422e['name'],_0x524a92,_0x50422e['id'],_0x50422e['flags']):_0x50422e);}return new NodeSet(_0x9522ba);}}const _0xb5e0be=new WeakMap(),_0x54cc9a=new WeakMap();var IterMode;!function(_0x208332){_0x208332[_0x208332['ExcludeBuffers']=0x1]='ExcludeBuffers',_0x208332[_0x208332['IncludeAnonymous']=0x2]='IncludeAnonymous',_0x208332[_0x208332['IgnoreMounts']=0x4]='IgnoreMounts',_0x208332[_0x208332['IgnoreOverlays']=0x8]='IgnoreOverlays';}(IterMode||(IterMode={}));class _0x21283b{constructor(_0x1aad0f,_0xff44c5,_0x12cf14,_0x6e94ba,_0xcedb63){if(this['type']=_0x1aad0f,this['children']=_0xff44c5,this['positions']=_0x12cf14,this['length']=_0x6e94ba,this['props']=null,_0xcedb63&&_0xcedb63['length']){this['props']=Object['create'](null);for(let [_0x45525b,_0x265739]of _0xcedb63)this['props']['number'==typeof _0x45525b?_0x45525b:_0x45525b['id']]=_0x265739;}}['toString'](){let _0x1e289d=MountedTree['get'](this);if(_0x1e289d&&!_0x1e289d['overlay'])return _0x1e289d['tree']['toString']();let _0x46f354='';for(let _0x179b99 of this['children']){let _0x151747=_0x179b99['toString']();_0x151747&&(_0x46f354&&(_0x46f354+=','),_0x46f354+=_0x151747);}return this['type']['name']?(/\W/['test'](this['type']['name'])&&!this['type']['isError']?JSON['stringify'](this['type']['name']):this['type']['name'])+(_0x46f354['length']?'('+_0x46f354+')':''):_0x46f354;}['cursor'](_0x36c2c7=0x0){return new _0x94a0f9(this['topNode'],_0x36c2c7);}['cursorAt'](_0x1348d3,_0x253ab2=0x0,_0x2f3d36=0x0){let _0x32e356=_0xb5e0be['get'](this)||this['topNode'],_0x3af688=new _0x94a0f9(_0x32e356);return _0x3af688['moveTo'](_0x1348d3,_0x253ab2),_0xb5e0be['set'](this,_0x3af688['_tree']),_0x3af688;}get['topNode'](){return new _0x475272(this,0x0,0x0,null);}['resolve'](_0x294e45,_0x440947=0x0){let _0x4f62bc=_0x185650(_0xb5e0be['get'](this)||this['topNode'],_0x294e45,_0x440947,!0x1);return _0xb5e0be['set'](this,_0x4f62bc),_0x4f62bc;}['resolveInner'](_0x12ee92,_0x47e9af=0x0){let _0x13d67a=_0x185650(_0x54cc9a['get'](this)||this['topNode'],_0x12ee92,_0x47e9af,!0x0);return _0x54cc9a['set'](this,_0x13d67a),_0x13d67a;}['resolveStack'](_0x10ec66,_0x3fda5e=0x0){return stackIterator(this,_0x10ec66,_0x3fda5e);}['iterate'](_0x36ea16){let {enter:_0x2a8e47,leave:_0x54f7c6,from:_0x1bb9a2=0x0,to:_0x468caa=this['length']}=_0x36ea16,_0x1885f8=_0x36ea16['mode']||0x0,_0x51e4e5=(_0x1885f8&IterMode['IncludeAnonymous'])>0x0;for(let _0x3f28f6=this['cursor'](_0x1885f8|IterMode['IncludeAnonymous']);;){let _0x1562f3=!0x1;if(_0x3f28f6['from']<=_0x468caa&&_0x3f28f6['to']>=_0x1bb9a2&&(!_0x51e4e5&&_0x3f28f6['type']['isAnonymous']||!0x1!==_0x2a8e47(_0x3f28f6))){if(_0x3f28f6['firstChild']())continue;_0x1562f3=!0x0;}for(;_0x1562f3&&_0x54f7c6&&(_0x51e4e5||!_0x3f28f6['type']['isAnonymous'])&&_0x54f7c6(_0x3f28f6),!_0x3f28f6['nextSibling']();){if(!_0x3f28f6['parent']())return;_0x1562f3=!0x0;}}}['prop'](_0x24afd6){return _0x24afd6['perNode']?this['props']?this['props'][_0x24afd6['id']]:void 0x0:this['type']['prop'](_0x24afd6);}get['propValues'](){let _0x3795ce=[];if(this['props']){for(let _0x1ef03c in this['props'])_0x3795ce['push']([+_0x1ef03c,this['props'][_0x1ef03c]]);}return _0x3795ce;}['balance'](_0xf52d0c={}){return this['children']['length']<=0x8?this:_0x1c4cba(_0x37cf2b['none'],this['children'],this['positions'],0x0,this['children']['length'],0x0,this['length'],(_0xaa9f74,_0x4e1494,_0x578214)=>new _0x21283b(this['type'],_0xaa9f74,_0x4e1494,_0x578214,this['propValues']),_0xf52d0c['makeTree']||((_0x47dc14,_0x11316a,_0x27cb68)=>new _0x21283b(_0x37cf2b['none'],_0x47dc14,_0x11316a,_0x27cb68)));}static['build'](_0xd83750){return _0x5176c4(_0xd83750);}}_0x21283b['empty']=new _0x21283b(_0x37cf2b['none'],[],[],0x0);class FlatBufferCursor{constructor(_0x31a6e1,_0x458928){this['buffer']=_0x31a6e1,this['index']=_0x458928;}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 _0x760d2{constructor(_0x28c289,_0xd3be27,_0x3ce892){this['buffer']=_0x28c289,this['length']=_0xd3be27,this['set']=_0x3ce892;}get['type'](){return _0x37cf2b['none'];}['toString'](){let _0x58e4b2=[];for(let _0xd5543f=0x0;_0xd5543f<this['buffer']['length'];)_0x58e4b2['push'](this['childString'](_0xd5543f)),_0xd5543f=this['buffer'][_0xd5543f+0x3];return _0x58e4b2['join'](',');}['childString'](_0x1ee01f){let _0x211fc7=this['buffer'][_0x1ee01f],_0x3c656f=this['buffer'][_0x1ee01f+0x3],_0x49403e=this['set']['types'][_0x211fc7],_0x218695=_0x49403e['name'];if(/\W/['test'](_0x218695)&&!_0x49403e['isError']&&(_0x218695=JSON['stringify'](_0x218695)),_0x3c656f==(_0x1ee01f+=0x4))return _0x218695;let _0x68d1e4=[];for(;_0x1ee01f<_0x3c656f;)_0x68d1e4['push'](this['childString'](_0x1ee01f)),_0x1ee01f=this['buffer'][_0x1ee01f+0x3];return _0x218695+'('+_0x68d1e4['join'](',')+')';}['findChild'](_0x4d3c9c,_0x53f23e,_0x2b7278,_0x4c5247,_0x528271){let {buffer:_0x86fd92}=this,_0x301a56=-0x1;for(let _0x4abf5b=_0x4d3c9c;_0x4abf5b!=_0x53f23e&&!(_0x4d60b7(_0x528271,_0x4c5247,_0x86fd92[_0x4abf5b+0x1],_0x86fd92[_0x4abf5b+0x2])&&(_0x301a56=_0x4abf5b,_0x2b7278>0x0));_0x4abf5b=_0x86fd92[_0x4abf5b+0x3]);return _0x301a56;}['slice'](_0x43f4eb,_0x3d8b65,_0x58bed2){let _0x511ec7=this['buffer'],_0x1181cf=new Uint16Array(_0x3d8b65-_0x43f4eb),_0x439eef=0x0;for(let _0x35536a=_0x43f4eb,_0x1a3e63=0x0;_0x35536a<_0x3d8b65;){_0x1181cf[_0x1a3e63++]=_0x511ec7[_0x35536a++],_0x1181cf[_0x1a3e63++]=_0x511ec7[_0x35536a++]-_0x58bed2;let _0x31bfc9=_0x1181cf[_0x1a3e63++]=_0x511ec7[_0x35536a++]-_0x58bed2;_0x1181cf[_0x1a3e63++]=_0x511ec7[_0x35536a++]-_0x43f4eb,_0x439eef=Math['max'](_0x439eef,_0x31bfc9);}return new _0x760d2(_0x1181cf,_0x439eef,this['set']);}}function _0x4d60b7(_0x1d1672,_0x34a673,_0x3cfe42,_0x1ca783){switch(_0x1d1672){case-0x2:return _0x3cfe42<_0x34a673;case-0x1:return _0x1ca783>=_0x34a673&&_0x3cfe42<_0x34a673;case 0x0:return _0x3cfe42<_0x34a673&&_0x1ca783>_0x34a673;case 0x1:return _0x3cfe42<=_0x34a673&&_0x1ca783>_0x34a673;case 0x2:return _0x1ca783>_0x34a673;case 0x4:return!0x0;}}function _0x185650(_0x265225,_0x56a4a2,_0x18f43f,_0x39baa9){for(var _0x2c80d2;_0x265225['from']==_0x265225['to']||(_0x18f43f<0x1?_0x265225['from']>=_0x56a4a2:_0x265225['from']>_0x56a4a2)||(_0x18f43f>-0x1?_0x265225['to']<=_0x56a4a2:_0x265225['to']<_0x56a4a2);){let _0x4802bf=!_0x39baa9&&_0x265225 instanceof _0x475272&&_0x265225['index']<0x0?null:_0x265225['parent'];if(!_0x4802bf)return _0x265225;_0x265225=_0x4802bf;}let _0xc4831=_0x39baa9?0x0:IterMode['IgnoreOverlays'];if(_0x39baa9){for(let _0x567b02=_0x265225,_0x1e2f8b=_0x567b02['parent'];_0x1e2f8b;_0x567b02=_0x1e2f8b,_0x1e2f8b=_0x567b02['parent'])_0x567b02 instanceof _0x475272&&_0x567b02['index']<0x0&&(null===(_0x2c80d2=_0x1e2f8b['enter'](_0x56a4a2,_0x18f43f,_0xc4831))||void 0x0===_0x2c80d2?void 0x0:_0x2c80d2['from'])!=_0x567b02['from']&&(_0x265225=_0x1e2f8b);}for(;;){let _0x159a1d=_0x265225['enter'](_0x56a4a2,_0x18f43f,_0xc4831);if(!_0x159a1d)return _0x265225;_0x265225=_0x159a1d;}}class _0x39a425{['cursor'](_0x1da985=0x0){return new _0x94a0f9(this,_0x1da985);}['getChild'](_0x567ede,_0x1a3b9b=null,_0x41b008=null){let _0x4339af=getChildren(this,_0x567ede,_0x1a3b9b,_0x41b008);return _0x4339af['length']?_0x4339af[0x0]:null;}['getChildren'](_0x5d26f1,_0x30115a=null,_0x49ad80=null){return getChildren(this,_0x5d26f1,_0x30115a,_0x49ad80);}['resolve'](_0x191747,_0x21b9d5=0x0){return _0x185650(this,_0x191747,_0x21b9d5,!0x1);}['resolveInner'](_0xd94cf6,_0x155587=0x0){return _0x185650(this,_0xd94cf6,_0x155587,!0x0);}['matchContext'](_0x4d6565){return matchNodeContext(this['parent'],_0x4d6565);}['enterUnfinishedNodesBefore'](_0x1f741f){let _0x136bfa=this['childBefore'](_0x1f741f),_0x4442f2=this;for(;_0x136bfa;){let _0x50e794=_0x136bfa['lastChild'];if(!_0x50e794||_0x50e794['to']!=_0x136bfa['to'])break;_0x50e794['type']['isError']&&_0x50e794['from']==_0x50e794['to']?(_0x4442f2=_0x136bfa,_0x136bfa=_0x50e794['prevSibling']):_0x136bfa=_0x50e794;}return _0x4442f2;}get['node'](){return this;}get['next'](){return this['parent'];}}class _0x475272 extends _0x39a425{constructor(_0x4babba,_0x4970e1,_0x1261ec,_0x189c39){super(),this['_tree']=_0x4babba,this['from']=_0x4970e1,this['index']=_0x1261ec,this['_parent']=_0x189c39;}get['type'](){return this['_tree']['type'];}get['name'](){return this['_tree']['type']['name'];}get['to'](){return this['from']+this['_tree']['length'];}['nextChild'](_0x3b843e,_0x326c84,_0x698b81,_0x829c79,_0x59ec13=0x0){for(let _0x851a69=this;;){for(let {children:_0x37b954,positions:_0x14791f}=_0x851a69['_tree'],_0x6cd3b8=_0x326c84>0x0?_0x37b954['length']:-0x1;_0x3b843e!=_0x6cd3b8;_0x3b843e+=_0x326c84){let _0x51bba6=_0x37b954[_0x3b843e],_0x1f59ee=_0x14791f[_0x3b843e]+_0x851a69['from'];if(_0x4d60b7(_0x829c79,_0x698b81,_0x1f59ee,_0x1f59ee+_0x51bba6['length'])){if(_0x51bba6 instanceof _0x760d2){if(_0x59ec13&IterMode['ExcludeBuffers'])continue;let _0x177fd9=_0x51bba6['findChild'](0x0,_0x51bba6['buffer']['length'],_0x326c84,_0x698b81-_0x1f59ee,_0x829c79);if(_0x177fd9>-0x1)return new _0x3c1c51(new BufferContext(_0x851a69,_0x51bba6,_0x3b843e,_0x1f59ee),null,_0x177fd9);}else{if(_0x59ec13&IterMode['IncludeAnonymous']||!_0x51bba6['type']['isAnonymous']||_0x5ed187(_0x51bba6)){let _0x31189e;if(!(_0x59ec13&IterMode['IgnoreMounts'])&&(_0x31189e=MountedTree['get'](_0x51bba6))&&!_0x31189e['overlay'])return new _0x475272(_0x31189e['tree'],_0x1f59ee,_0x3b843e,_0x851a69);let _0x30b852=new _0x475272(_0x51bba6,_0x1f59ee,_0x3b843e,_0x851a69);return _0x59ec13&IterMode['IncludeAnonymous']||!_0x30b852['type']['isAnonymous']?_0x30b852:_0x30b852['nextChild'](_0x326c84<0x0?_0x51bba6['children']['length']-0x1:0x0,_0x326c84,_0x698b81,_0x829c79);}}}}if(_0x59ec13&IterMode['IncludeAnonymous']||!_0x851a69['type']['isAnonymous'])return null;if(_0x3b843e=_0x851a69['index']>=0x0?_0x851a69['index']+_0x326c84:_0x326c84<0x0?-0x1:_0x851a69['_parent']['_tree']['children']['length'],_0x851a69=_0x851a69['_parent'],!_0x851a69)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'](_0x2138f7){return this['nextChild'](0x0,0x1,_0x2138f7,0x2);}['childBefore'](_0x86822c){return this['nextChild'](this['_tree']['children']['length']-0x1,-0x1,_0x86822c,-0x2);}['enter'](_0xf1f348,_0x48fa8e,_0x208bca=0x0){let _0x4c98e1;if(!(_0x208bca&IterMode['IgnoreOverlays'])&&(_0x4c98e1=MountedTree['get'](this['_tree']))&&_0x4c98e1['overlay']){let _0x12c1db=_0xf1f348-this['from'];for(let {from:_0x1e7359,to:_0x256c0f}of _0x4c98e1['overlay'])if((_0x48fa8e>0x0?_0x1e7359<=_0x12c1db:_0x1e7359<_0x12c1db)&&(_0x48fa8e<0x0?_0x256c0f>=_0x12c1db:_0x256c0f>_0x12c1db))return new _0x475272(_0x4c98e1['tree'],_0x4c98e1['overlay'][0x0]['from']+this['from'],-0x1,this);}return this['nextChild'](0x0,0x1,_0xf1f348,_0x48fa8e,_0x208bca);}['nextSignificantParent'](){let _0x2beab5=this;for(;_0x2beab5['type']['isAnonymous']&&_0x2beab5['_parent'];)_0x2beab5=_0x2beab5['_parent'];return _0x2beab5;}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 getChildren(_0x598b15,_0x1f8c73,_0x1fec1d,_0x19303b){let _0x329512=_0x598b15['cursor'](),_0x1bc23b=[];if(!_0x329512['firstChild']())return _0x1bc23b;if(null!=_0x1fec1d){for(let _0x462cee=!0x1;!_0x462cee;)if(_0x462cee=_0x329512['type']['is'](_0x1fec1d),!_0x329512['nextSibling']())return _0x1bc23b;}for(;;){if(null!=_0x19303b&&_0x329512['type']['is'](_0x19303b))return _0x1bc23b;if(_0x329512['type']['is'](_0x1f8c73)&&_0x1bc23b['push'](_0x329512['node']),!_0x329512['nextSibling']())return null==_0x19303b?_0x1bc23b:[];}}function matchNodeContext(_0x3e89db,_0x212233,_0x12f2b0=_0x212233['length']-0x1){for(let _0x3ad902=_0x3e89db;_0x12f2b0>=0x0;_0x3ad902=_0x3ad902['parent']){if(!_0x3ad902)return!0x1;if(!_0x3ad902['type']['isAnonymous']){if(_0x212233[_0x12f2b0]&&_0x212233[_0x12f2b0]!=_0x3ad902['name'])return!0x1;_0x12f2b0--;}}return!0x0;}class BufferContext{constructor(_0x284037,_0x167ad9,_0x5f0e93,_0x23f3c9){this['parent']=_0x284037,this['buffer']=_0x167ad9,this['index']=_0x5f0e93,this['start']=_0x23f3c9;}}class _0x3c1c51 extends _0x39a425{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(_0x5ec2b6,_0x4dabe2,_0x4478de){super(),this['context']=_0x5ec2b6,this['_parent']=_0x4dabe2,this['index']=_0x4478de,this['type']=_0x5ec2b6['buffer']['set']['types'][_0x5ec2b6['buffer']['buffer'][_0x4478de]];}['child'](_0x6d41f5,_0x372301,_0x13c610){let {buffer:_0x4288df}=this['context'],_0x563624=_0x4288df['findChild'](this['index']+0x4,_0x4288df['buffer'][this['index']+0x3],_0x6d41f5,_0x372301-this['context']['start'],_0x13c610);return _0x563624<0x0?null:new _0x3c1c51(this['context'],this,_0x563624);}get['firstChild'](){return this['child'](0x1,0x0,0x4);}get['lastChild'](){return this['child'](-0x1,0x0,0x4);}['childAfter'](_0x44c0d8){return this['child'](0x1,_0x44c0d8,0x2);}['childBefore'](_0x316f1c){return this['child'](-0x1,_0x316f1c,-0x2);}['enter'](_0x2b66d2,_0x37bad8,_0xb0f36=0x0){if(_0xb0f36&IterMode['ExcludeBuffers'])return null;let {buffer:_0x738587}=this['context'],_0x341293=_0x738587['findChild'](this['index']+0x4,_0x738587['buffer'][this['index']+0x3],_0x37bad8>0x0?0x1:-0x1,_0x2b66d2-this['context']['start'],_0x37bad8);return _0x341293<0x0?null:new _0x3c1c51(this['context'],this,_0x341293);}get['parent'](){return this['_parent']||this['context']['parent']['nextSignificantParent']();}['externalSibling'](_0x29de74){return this['_parent']?null:this['context']['parent']['nextChild'](this['context']['index']+_0x29de74,_0x29de74,0x0,0x4);}get['nextSibling'](){let {buffer:_0x4b0fdd}=this['context'],_0xa85d02=_0x4b0fdd['buffer'][this['index']+0x3];return _0xa85d02<(this['_parent']?_0x4b0fdd['buffer'][this['_parent']['index']+0x3]:_0x4b0fdd['buffer']['length'])?new _0x3c1c51(this['context'],this['_parent'],_0xa85d02):this['externalSibling'](0x1);}get['prevSibling'](){let {buffer:_0x59729e}=this['context'],_0x306225=this['_parent']?this['_parent']['index']+0x4:0x0;return this['index']==_0x306225?this['externalSibling'](-0x1):new _0x3c1c51(this['context'],this['_parent'],_0x59729e['findChild'](_0x306225,this['index'],-0x1,0x0,0x4));}get['tree'](){return null;}['toTree'](){let _0xdbbb82=[],_0x162099=[],{buffer:_0x83b01c}=this['context'],_0x1f8658=this['index']+0x4,_0x4a0f46=_0x83b01c['buffer'][this['index']+0x3];if(_0x4a0f46>_0x1f8658){let _0x3065bc=_0x83b01c['buffer'][this['index']+0x1];_0xdbbb82['push'](_0x83b01c['slice'](_0x1f8658,_0x4a0f46,_0x3065bc)),_0x162099['push'](0x0);}return new _0x21283b(this['type'],_0xdbbb82,_0x162099,this['to']-this['from']);}['toString'](){return this['context']['buffer']['childString'](this['index']);}}function iterStack(_0x31064b){if(!_0x31064b['length'])return null;let _0x579958=0x0,_0x393bac=_0x31064b[0x0];for(let _0x35f594=0x1;_0x35f594<_0x31064b['length'];_0x35f594++){let _0x3d2b0b=_0x31064b[_0x35f594];(_0x3d2b0b['from']>_0x393bac['from']||_0x3d2b0b['to']<_0x393bac['to'])&&(_0x393bac=_0x3d2b0b,_0x579958=_0x35f594);}let _0x2b79fc=_0x393bac instanceof _0x475272&&_0x393bac['index']<0x0?null:_0x393bac['parent'],_0x2fef82=_0x31064b['slice']();return _0x2b79fc?_0x2fef82[_0x579958]=_0x2b79fc:_0x2fef82['splice'](_0x579958,0x1),new StackIterator(_0x2fef82,_0x393bac);}class StackIterator{constructor(_0x26ce74,_0x3875c6){this['heads']=_0x26ce74,this['node']=_0x3875c6;}get['next'](){return iterStack(this['heads']);}}function stackIterator(_0x51e1e4,_0x5e595a,_0x565d0d){let _0x54a9b1=_0x51e1e4['resolveInner'](_0x5e595a,_0x565d0d),_0x13fc61=null;for(let _0xcb292d=_0x54a9b1 instanceof _0x475272?_0x54a9b1:_0x54a9b1['context']['parent'];_0xcb292d;_0xcb292d=_0xcb292d['parent'])if(_0xcb292d['index']<0x0){let _0x543bf0=_0xcb292d['parent'];(_0x13fc61||(_0x13fc61=[_0x54a9b1]))['push'](_0x543bf0['resolve'](_0x5e595a,_0x565d0d)),_0xcb292d=_0x543bf0;}else{let _0x62dd1f=MountedTree['get'](_0xcb292d['tree']);if(_0x62dd1f&&_0x62dd1f['overlay']&&_0x62dd1f['overlay'][0x0]['from']<=_0x5e595a&&_0x62dd1f['overlay'][_0x62dd1f['overlay']['length']-0x1]['to']>=_0x5e595a){let _0x30ec6a=new _0x475272(_0x62dd1f['tree'],_0x62dd1f['overlay'][0x0]['from']+_0xcb292d['from'],-0x1,_0xcb292d);(_0x13fc61||(_0x13fc61=[_0x54a9b1]))['push'](_0x185650(_0x30ec6a,_0x5e595a,_0x565d0d,!0x1));}}return _0x13fc61?iterStack(_0x13fc61):_0x54a9b1;}class _0x94a0f9{get['name'](){return this['type']['name'];}constructor(_0x599e75,_0x3f5fda=0x0){if(this['mode']=_0x3f5fda,this['buffer']=null,this['stack']=[],this['index']=0x0,this['bufferNode']=null,_0x599e75 instanceof _0x475272)this['yieldNode'](_0x599e75);else{this['_tree']=_0x599e75['context']['parent'],this['buffer']=_0x599e75['context'];for(let _0x16a5e2=_0x599e75['_parent'];_0x16a5e2;_0x16a5e2=_0x16a5e2['_parent'])this['stack']['unshift'](_0x16a5e2['index']);this['bufferNode']=_0x599e75,this['yieldBuf'](_0x599e75['index']);}}['yieldNode'](_0x443b22){return!!_0x443b22&&(this['_tree']=_0x443b22,this['type']=_0x443b22['type'],this['from']=_0x443b22['from'],this['to']=_0x443b22['to'],!0x0);}['yieldBuf'](_0x2715c3,_0x21be44){this['index']=_0x2715c3;let {start:_0x1c4759,buffer:_0x30713e}=this['buffer'];return this['type']=_0x21be44||_0x30713e['set']['types'][_0x30713e['buffer'][_0x2715c3]],this['from']=_0x1c4759+_0x30713e['buffer'][_0x2715c3+0x1],this['to']=_0x1c4759+_0x30713e['buffer'][_0x2715c3+0x2],!0x0;}['yield'](_0x5b60e3){return!!_0x5b60e3&&(_0x5b60e3 instanceof _0x475272?(this['buffer']=null,this['yieldNode'](_0x5b60e3)):(this['buffer']=_0x5b60e3['context'],this['yieldBuf'](_0x5b60e3['index'],_0x5b60e3['type'])));}['toString'](){return this['buffer']?this['buffer']['buffer']['childString'](this['index']):this['_tree']['toString']();}['enterChild'](_0x18c9aa,_0x2638ab,_0x4818b7){if(!this['buffer'])return this['yield'](this['_tree']['nextChild'](_0x18c9aa<0x0?this['_tree']['_tree']['children']['length']-0x1:0x0,_0x18c9aa,_0x2638ab,_0x4818b7,this['mode']));let {buffer:_0x21f543}=this['buffer'],_0x38c4b5=_0x21f543['findChild'](this['index']+0x4,_0x21f543['buffer'][this['index']+0x3],_0x18c9aa,_0x2638ab-this['buffer']['start'],_0x4818b7);return!(_0x38c4b5<0x0)&&(this['stack']['push'](this['index']),this['yieldBuf'](_0x38c4b5));}['firstChild'](){return this['enterChild'](0x1,0x0,0x4);}['lastChild'](){return this['enterChild'](-0x1,0x0,0x4);}['childAfter'](_0x47bfcf){return this['enterChild'](0x1,_0x47bfcf,0x2);}['childBefore'](_0x1511c7){return this['enterChild'](-0x1,_0x1511c7,-0x2);}['enter'](_0x353143,_0x12c727,_0x96c354=this['mode']){return this['buffer']?!(_0x96c354&IterMode['ExcludeBuffers'])&&this['enterChild'](0x1,_0x353143,_0x12c727):this['yield'](this['_tree']['enter'](_0x353143,_0x12c727,_0x96c354));}['parent'](){if(!this['buffer'])return this['yieldNode'](this['mode']&IterMode['IncludeAnonymous']?this['_tree']['_parent']:this['_tree']['parent']);if(this['stack']['length'])return this['yieldBuf'](this['stack']['pop']());let _0x35be8b=this['mode']&IterMode['IncludeAnonymous']?this['buffer']['parent']:this['buffer']['parent']['nextSignificantParent']();return this['buffer']=null,this['yieldNode'](_0x35be8b);}['sibling'](_0x48c90c){if(!this['buffer'])return!!this['_tree']['_parent']&&this['yield'](this['_tree']['index']<0x0?null:this['_tree']['_parent']['nextChild'](this['_tree']['index']+_0x48c90c,_0x48c90c,0x0,0x4,this['mode']));let {buffer:_0x38da63}=this['buffer'],_0x48fe9f=this['stack']['length']-0x1;if(_0x48c90c<0x0){let _0x3effda=_0x48fe9f<0x0?0x0:this['stack'][_0x48fe9f]+0x4;if(this['index']!=_0x3effda)return this['yieldBuf'](_0x38da63['findChild'](_0x3effda,this['index'],-0x1,0x0,0x4));}else{let _0x16bd07=_0x38da63['buffer'][this['index']+0x3];if(_0x16bd07<(_0x48fe9f<0x0?_0x38da63['buffer']['length']:_0x38da63['buffer'][this['stack'][_0x48fe9f]+0x3]))return this['yieldBuf'](_0x16bd07);}return _0x48fe9f<0x0&&this['yield'](this['buffer']['parent']['nextChild'](this['buffer']['index']+_0x48c90c,_0x48c90c,0x0,0x4,this['mode']));}['nextSibling'](){return this['sibling'](0x1);}['prevSibling'](){return this['sibling'](-0x1);}['atLastNode'](_0x5c9c5f){let _0x3c0756,_0x515701,{buffer:_0x1036d2}=this;if(_0x1036d2){if(_0x5c9c5f>0x0){if(this['index']<_0x1036d2['buffer']['buffer']['length'])return!0x1;}else{for(let _0x247654=0x0;_0x247654<this['index'];_0x247654++)if(_0x1036d2['buffer']['buffer'][_0x247654+0x3]<this['index'])return!0x1;}({index:_0x3c0756,parent:_0x515701}=_0x1036d2);}else({index:_0x3c0756,_parent:_0x515701}=this['_tree']);for(;_0x515701;{index:_0x3c0756,_parent:_0x515701}=_0x515701)if(_0x3c0756>-0x1)for(let _0x2ccd4c=_0x3c0756+_0x5c9c5f,_0x3ee1c2=_0x5c9c5f<0x0?-0x1:_0x515701['_tree']['children']['length'];_0x2ccd4c!=_0x3ee1c2;_0x2ccd4c+=_0x5c9c5f){let _0x3d6b84=_0x515701['_tree']['children'][_0x2ccd4c];if(this['mode']&IterMode['IncludeAnonymous']||_0x3d6b84 instanceof _0x760d2||!_0x3d6b84['type']['isAnonymous']||_0x5ed187(_0x3d6b84))return!0x1;}return!0x0;}['move'](_0x48662b,_0x52f93e){if(_0x52f93e&&this['enterChild'](_0x48662b,0x0,0x4))return!0x0;for(;;){if(this['sibling'](_0x48662b))return!0x0;if(this['atLastNode'](_0x48662b)||!this['parent']())return!0x1;}}['next'](_0x14a0e7=!0x0){return this['move'](0x1,_0x14a0e7);}['prev'](_0x10e5b0=!0x0){return this['move'](-0x1,_0x10e5b0);}['moveTo'](_0x3121c4,_0x471f7c=0x0){for(;(this['from']==this['to']||(_0x471f7c<0x1?this['from']>=_0x3121c4:this['from']>_0x3121c4)||(_0x471f7c>-0x1?this['to']<=_0x3121c4:this['to']<_0x3121c4))&&this['parent'](););for(;this['enterChild'](0x1,_0x3121c4,_0x471f7c););return this;}get['node'](){if(!this['buffer'])return this['_tree'];let _0xfde979=this['bufferNode'],_0x571f2c=null,_0xb16e1f=0x0;if(_0xfde979&&_0xfde979['context']==this['buffer']){t:for(let _0x48b69b=this['index'],_0x2cc73a=this['stack']['length'];_0x2cc73a>=0x0;){for(let _0x232b11=_0xfde979;_0x232b11;_0x232b11=_0x232b11['_parent'])if(_0x232b11['index']==_0x48b69b){if(_0x48b69b==this['index'])return _0x232b11;_0x571f2c=_0x232b11,_0xb16e1f=_0x2cc73a+0x1;break t;}_0x48b69b=this['stack'][--_0x2cc73a];}}for(let _0x336443=_0xb16e1f;_0x336443<this['stack']['length'];_0x336443++)_0x571f2c=new _0x3c1c51(this['buffer'],_0x571f2c,this['stack'][_0x336443]);return this['bufferNode']=new _0x3c1c51(this['buffer'],_0x571f2c,this['index']);}get['tree'](){return this['buffer']?null:this['_tree']['_tree'];}['iterate'](_0x308ddb,_0x5a3851){for(let _0x362322=0x0;;){let _0x451808=!0x1;if(this['type']['isAnonymous']||!0x1!==_0x308ddb(this)){if(this['firstChild']()){_0x362322++;continue;}this['type']['isAnonymous']||(_0x451808=!0x0);}for(;;){if(_0x451808&&_0x5a3851&&_0x5a3851(this),_0x451808=this['type']['isAnonymous'],!_0x362322)return;if(this['nextSibling']())break;this['parent'](),_0x362322--,_0x451808=!0x0;}}}['matchContext'](_0x3690ad){if(!this['buffer'])return matchNodeContext(this['node']['parent'],_0x3690ad);let {buffer:_0x3fd0b5}=this['buffer'],{types:_0x534cec}=_0x3fd0b5['set'];for(let _0x154474=_0x3690ad['length']-0x1,_0x203bb1=this['stack']['length']-0x1;_0x154474>=0x0;_0x203bb1--){if(_0x203bb1<0x0)return matchNodeContext(this['_tree'],_0x3690ad,_0x154474);let _0x49e118=_0x534cec[_0x3fd0b5['buffer'][this['stack'][_0x203bb1]]];if(!_0x49e118['isAnonymous']){if(_0x3690ad[_0x154474]&&_0x3690ad[_0x154474]!=_0x49e118['name'])return!0x1;_0x154474--;}}return!0x0;}}function _0x5ed187(_0x2ef303){return _0x2ef303['children']['some'](_0xf5dc79=>_0xf5dc79 instanceof _0x760d2||!_0xf5dc79['type']['isAnonymous']||_0x5ed187(_0xf5dc79));}function _0x5176c4(_0x427a1d){var _0x63d3d9;let {buffer:_0x4d2151,nodeSet:_0x351b1f,maxBufferLength:_0x24b003=DefaultBufferLength,reused:_0x3f6ecf=[],minRepeatType:_0x5180e2=_0x351b1f['types']['length']}=_0x427a1d,_0x3f2213=Array['isArray'](_0x4d2151)?new FlatBufferCursor(_0x4d2151,_0x4d2151['length']):_0x4d2151,_0x249e8a=_0x351b1f['types'],_0x578e88=0x0,_0x2e32de=0x0;function _0xeb6b7b(_0x594227,_0x259229,_0x110548,_0x4b8fd6,_0x51c753,_0x1c9919){let {id:_0x30f79a,start:_0x17f3c2,end:_0x197ae4,size:_0x6ffb67}=_0x3f2213,_0xfbf298=_0x2e32de,_0x245d2f=_0x578e88;if(_0x6ffb67<0x0){if(_0x3f2213['next'](),-0x1==_0x6ffb67){let _0x132d83=_0x3f6ecf[_0x30f79a];return _0x110548['push'](_0x132d83),void _0x4b8fd6['push'](_0x17f3c2-_0x594227);}if(-0x3==_0x6ffb67)return void(_0x578e88=_0x30f79a);if(-0x4==_0x6ffb67)return void(_0x2e32de=_0x30f79a);throw new RangeError('Unrecognized\x20record\x20size:\x20'+_0x6ffb67);}let _0x1a88ba,_0x3ae227,_0x5cc4c1=_0x249e8a[_0x30f79a],_0x25b911=_0x17f3c2-_0x594227;if(_0x197ae4-_0x17f3c2<=_0x24b003&&(_0x3ae227=function(_0x52c3fd,_0x24e3ef){let _0x59373a=_0x3f2213['fork'](),_0x3b92ed=0x0,_0x43f29c=0x0,_0xf66706=0x0,_0x2db4a3=_0x59373a['end']-_0x24b003,_0x5c0592={'size':0x0,'start':0x0,'skip':0x0};t:for(let _0x1e2158=_0x59373a['pos']-_0x52c3fd;_0x59373a['pos']>_0x1e2158;){let _0x4579fd=_0x59373a['size'];if(_0x59373a['id']==_0x24e3ef&&_0x4579fd>=0x0){_0x5c0592['size']=_0x3b92ed,_0x5c0592['start']=_0x43f29c,_0x5c0592['skip']=_0xf66706,_0xf66706+=0x4,_0x3b92ed+=0x4,_0x59373a['next']();continue;}let _0x25128c=_0x59373a['pos']-_0x4579fd;if(_0x4579fd<0x0||_0x25128c<_0x1e2158||_0x59373a['start']<_0x2db4a3)break;let _0x4ef36d=_0x59373a['id']>=_0x5180e2?0x4:0x0,_0x4b58c5=_0x59373a['start'];for(_0x59373a['next']();_0x59373a['pos']>_0x25128c;){if(_0x59373a['size']<0x0){if(-0x3!=_0x59373a['size'])break t;_0x4ef36d+=0x4;}else _0x59373a['id']>=_0x5180e2&&(_0x4ef36d+=0x4);_0x59373a['next']();}_0x43f29c=_0x4b58c5,_0x3b92ed+=_0x4579fd,_0xf66706+=_0x4ef36d;}return(_0x24e3ef<0x0||_0x3b92ed==_0x52c3fd)&&(_0x5c0592['size']=_0x3b92ed,_0x5c0592['start']=_0x43f29c,_0x5c0592['skip']=_0xf66706),_0x5c0592['size']>0x4?_0x5c0592:void 0x0;}(_0x3f2213['pos']-_0x259229,_0x51c753))){let _0x31e164=new Uint16Array(_0x3ae227['size']-_0x3ae227['skip']),_0x3e4fa4=_0x3f2213['pos']-_0x3ae227['size'],_0x5a1c11=_0x31e164['length'];for(;_0x3f2213['pos']>_0x3e4fa4;)_0x5a1c11=_0x436fcf(_0x3ae227['start'],_0x31e164,_0x5a1c11);_0x1a88ba=new _0x760d2(_0x31e164,_0x197ae4-_0x3ae227['start'],_0x351b1f),_0x25b911=_0x3ae227['start']-_0x594227;}else{let _0x42c899=_0x3f2213['pos']-_0x6ffb67;_0x3f2213['next']();let _0x369ecf=[],_0x3e51d0=[],_0x4c913d=_0x30f79a>=_0x5180e2?_0x30f79a:-0x1,_0x10844a=0x0,_0x1708b0=_0x197ae4;for(;_0x3f2213['pos']>_0x42c899;)_0x4c913d>=0x0&&_0x3f2213['id']==_0x4c913d&&_0x3f2213['size']>=0x0?(_0x3f2213['end']<=_0x1708b0-_0x24b003&&(_0x195908(_0x369ecf,_0x3e51d0,_0x17f3c2,_0x10844a,_0x3f2213['end'],_0x1708b0,_0x4c913d,_0xfbf298,_0x245d2f),_0x10844a=_0x369ecf['length'],_0x1708b0=_0x3f2213['end']),_0x3f2213['next']()):_0x1c9919>0x9c4?_0xe68e77(_0x17f3c2,_0x42c899,_0x369ecf,_0x3e51d0):_0xeb6b7b(_0x17f3c2,_0x42c899,_0x369ecf,_0x3e51d0,_0x4c913d,_0x1c9919+0x1);if(_0x4c913d>=0x0&&_0x10844a>0x0&&_0x10844a<_0x369ecf['length']&&_0x195908(_0x369ecf,_0x3e51d0,_0x17f3c2,_0x10844a,_0x17f3c2,_0x1708b0,_0x4c913d,_0xfbf298,_0x245d2f),_0x369ecf['reverse'](),_0x3e51d0['reverse'](),_0x4c913d>-0x1&&_0x10844a>0x0){let _0x2c81f8=function(_0x15a82f,_0x4f0dfd){return(_0x3f6b8e,_0x1f21e5,_0x11d891)=>{let _0x15f5ea,_0x1bef7c,_0x5d93c0=0x0,_0xeffed6=_0x3f6b8e['length']-0x1;if(_0xeffed6>=0x0&&(_0x15f5ea=_0x3f6b8e[_0xeffed6])instanceof _0x21283b){if(!_0xeffed6&&_0x15f5ea['type']==_0x15a82f&&_0x15f5ea['length']==_0x11d891)return _0x15f5ea;(_0x1bef7c=_0x15f5ea['prop'](_0x332766['lookAhead']))&&(_0x5d93c0=_0x1f21e5[_0xeffed6]+_0x15f5ea['length']+_0x1bef7c);}return _0x162c8f(_0x15a82f,_0x3f6b8e,_0x1f21e5,_0x11d891,_0x5d93c0,_0x4f0dfd);};}(_0x5cc4c1,_0x245d2f);_0x1a88ba=_0x1c4cba(_0x5cc4c1,_0x369ecf,_0x3e51d0,0x0,_0x369ecf['length'],0x0,_0x197ae4-_0x17f3c2,_0x2c81f8,_0x2c81f8);}else _0x1a88ba=_0x162c8f(_0x5cc4c1,_0x369ecf,_0x3e51d0,_0x197ae4-_0x17f3c2,_0xfbf298-_0x197ae4,_0x245d2f);}_0x110548['push'](_0x1a88ba),_0x4b8fd6['push'](_0x25b911);}function _0xe68e77(_0x46830f,_0x41b718,_0x58d598,_0xb42694){let _0x552794=[],_0x364b22=0x0,_0x526862=-0x1;for(;_0x3f2213['pos']>_0x41b718;){let {id:_0x401012,start:_0x4633c5,end:_0x5ba038,size:_0x2e6ce8}=_0x3f2213;if(_0x2e6ce8>0x4)_0x3f2213['next']();else{if(_0x526862>-0x1&&_0x4633c5<_0x526862)break;_0x526862<0x0&&(_0x526862=_0x5ba038-_0x24b003),_0x552794['push'](_0x401012,_0x4633c5,_0x5ba038),_0x364b22++,_0x3f2213['next']();}}if(_0x364b22){let _0x530e75=new Uint16Array(0x4*_0x364b22),_0x580a51=_0x552794[_0x552794['length']-0x2];for(let _0x5f2854=_0x552794['length']-0x3,_0x17f886=0x0;_0x5f2854>=0x0;_0x5f2854-=0x3)_0x530e75[_0x17f886++]=_0x552794[_0x5f2854],_0x530e75[_0x17f886++]=_0x552794[_0x5f2854+0x1]-_0x580a51,_0x530e75[_0x17f886++]=_0x552794[_0x5f2854+0x2]-_0x580a51,_0x530e75[_0x17f886++]=_0x17f886;_0x58d598['push'](new _0x760d2(_0x530e75,_0x552794[0x2]-_0x580a51,_0x351b1f)),_0xb42694['push'](_0x580a51-_0x46830f);}}function _0x195908(_0x36954c,_0x5935aa,_0x3be9fa,_0x41673c,_0x2ababb,_0x1dcf13,_0x2e2bb6,_0x2d145e,_0x2cfb1b){let _0x26d348=[],_0x471e8a=[];for(;_0x36954c['length']>_0x41673c;)_0x26d348['push'](_0x36954c['pop']()),_0x471e8a['push'](_0x5935aa['pop']()+_0x3be9fa-_0x2ababb);_0x36954c['push'](_0x162c8f(_0x351b1f['types'][_0x2e2bb6],_0x26d348,_0x471e8a,_0x1dcf13-_0x2ababb,_0x2d145e-_0x1dcf13,_0x2cfb1b)),_0x5935aa['push'](_0x2ababb-_0x3be9fa);}function _0x162c8f(_0x4bb123,_0x308de5,_0x15a50f,_0x9f6845,_0x997bc4,_0x4134c8,_0x3954ca){if(_0x4134c8){let _0x224e37=[_0x332766['contextHash'],_0x4134c8];_0x3954ca=_0x3954ca?[_0x224e37]['concat'](_0x3954ca):[_0x224e37];}if(_0x997bc4>0x19){let _0x25ee41=[_0x332766['lookAhead'],_0x997bc4];_0x3954ca=_0x3954ca?[_0x25ee41]['concat'](_0x3954ca):[_0x25ee41];}return new _0x21283b(_0x4bb123,_0x308de5,_0x15a50f,_0x9f6845,_0x3954ca);}function _0x436fcf(_0x4bff48,_0x4756f3,_0x3f99d3){let {id:_0x10a4fb,start:_0x44faed,end:_0x163024,size:_0x3c7480}=_0x3f2213;if(_0x3f2213['next'](),_0x3c7480>=0x0&&_0x10a4fb<_0x5180e2){let _0x5566f6=_0x3f99d3;if(_0x3c7480>0x4){let _0x13a7bf=_0x3f2213['pos']-(_0x3c7480-0x4);for(;_0x3f2213['pos']>_0x13a7bf;)_0x3f99d3=_0x436fcf(_0x4bff48,_0x4756f3,_0x3f99d3);}_0x4756f3[--_0x3f99d3]=_0x5566f6,_0x4756f3[--_0x3f99d3]=_0x163024-_0x4bff48,_0x4756f3[--_0x3f99d3]=_0x44faed-_0x4bff48,_0x4756f3[--_0x3f99d3]=_0x10a4fb;}else-0x3==_0x3c7480?_0x578e88=_0x10a4fb:-0x4==_0x3c7480&&(_0x2e32de=_0x10a4fb);return _0x3f99d3;}let _0x373e33=[],_0x283285=[];for(;_0x3f2213['pos']>0x0;)_0xeb6b7b(_0x427a1d['start']||0x0,_0x427a1d['bufferStart']||0x0,_0x373e33,_0x283285,-0x1,0x0);let _0x584196=null!==(_0x63d3d9=_0x427a1d['length'])&&void 0x0!==_0x63d3d9?_0x63d3d9:_0x373e33['length']?_0x283285[0x0]+_0x373e33[0x0]['length']:0x0;return new _0x21283b(_0x249e8a[_0x427a1d['topID']],_0x373e33['reverse'](),_0x283285['reverse'](),_0x584196);}const _0x3bcbdb=new WeakMap();function _0x3cddae(_0x72b169,_0x374c13){if(!_0x72b169['isAnonymous']||_0x374c13 instanceof _0x760d2||_0x374c13['type']!=_0x72b169)return 0x1;let _0x5a08c3=_0x3bcbdb['get'](_0x374c13);if(null==_0x5a08c3){_0x5a08c3=0x1;for(let _0x1f4028 of _0x374c13['children']){if(_0x1f4028['type']!=_0x72b169||!(_0x1f4028 instanceof _0x21283b)){_0x5a08c3=0x1;break;}_0x5a08c3+=_0x3cddae(_0x72b169,_0x1f4028);}_0x3bcbdb['set'](_0x374c13,_0x5a08c3);}return _0x5a08c3;}function _0x1c4cba(_0x5503cd,_0x286a7e,_0x1b5096,_0x3e5d6a,_0x33530d,_0x50159e,_0x24914b,_0x55367b,_0x1babcf){let _0x3e2007=0x0;for(let _0xca54b6=_0x3e5d6a;_0xca54b6<_0x33530d;_0xca54b6++)_0x3e2007+=_0x3cddae(_0x5503cd,_0x286a7e[_0xca54b6]);let _0x264da1=Math['ceil'](1.5*_0x3e2007/0x8),_0x1ff107=[],_0x3fe5b3=[];return function _0x32003f(_0xdd5c51,_0x19c4df,_0x1dde8d,_0x391c45,_0x51108d){for(let _0x263fc1=_0x1dde8d;_0x263fc1<_0x391c45;){let _0x1d9c17=_0x263fc1,_0x5adb08=_0x19c4df[_0x263fc1],_0x5558be=_0x3cddae(_0x5503cd,_0xdd5c51[_0x263fc1]);for(_0x263fc1++;_0x263fc1<_0x391c45;_0x263fc1++){let _0x2c3cd7=_0x3cddae(_0x5503cd,_0xdd5c51[_0x263fc1]);if(_0x5558be+_0x2c3cd7>=_0x264da1)break;_0x5558be+=_0x2c3cd7;}if(_0x263fc1==_0x1d9c17+0x1){if(_0x5558be>_0x264da1){let _0x36976d=_0xdd5c51[_0x1d9c17];_0x32003f(_0x36976d['children'],_0x36976d['positions'],0x0,_0x36976d['children']['length'],_0x19c4df[_0x1d9c17]+_0x51108d);continue;}_0x1ff107['push'](_0xdd5c51[_0x1d9c17]);}else{let _0x1ffa20=_0x19c4df[_0x263fc1-0x1]+_0xdd5c51[_0x263fc1-0x1]['length']-_0x5adb08;_0x1ff107['push'](_0x1c4cba(_0x5503cd,_0xdd5c51,_0x19c4df,_0x1d9c17,_0x263fc1,_0x5adb08,_0x1ffa20,null,_0x1babcf));}_0x3fe5b3['push'](_0x5adb08+_0x51108d-_0x50159e);}}(_0x286a7e,_0x1b5096,_0x3e5d6a,_0x33530d,0x0),(_0x55367b||_0x1babcf)(_0x1ff107,_0x3fe5b3,_0x24914b);}class _0x3950ba{constructor(){this['map']=new WeakMap();}['setBuffer'](_0x42c7ac,_0x537f7b,_0x4b3543){let _0x2bf79e=this['map']['get'](_0x42c7ac);_0x2bf79e||this['map']['set'](_0x42c7ac,_0x2bf79e=new Map()),_0x2bf79e['set'](_0x537f7b,_0x4b3543);}['getBuffer'](_0xeb0500,_0x4c2e70){let _0x1165c3=this['map']['get'](_0xeb0500);return _0x1165c3&&_0x1165c3['get'](_0x4c2e70);}['set'](_0x3d3404,_0x4e3c73){_0x3d3404 instanceof _0x3c1c51?this['setBuffer'](_0x3d3404['context']['buffer'],_0x3d3404['index'],_0x4e3c73):_0x3d3404 instanceof _0x475272&&this['map']['set'](_0x3d3404['tree'],_0x4e3c73);}['get'](_0x34f044){return _0x34f044 instanceof _0x3c1c51?this['getBuffer'](_0x34f044['context']['buffer'],_0x34f044['index']):_0x34f044 instanceof _0x475272?this['map']['get'](_0x34f044['tree']):void 0x0;}['cursorSet'](_0x3dbf37,_0x208fcc){_0x3dbf37['buffer']?this['setBuffer'](_0x3dbf37['buffer']['buffer'],_0x3dbf37['index'],_0x208fcc):this['map']['set'](_0x3dbf37['tree'],_0x208fcc);}['cursorGet'](_0x26044a){return _0x26044a['buffer']?this['getBuffer'](_0x26044a['buffer']['buffer'],_0x26044a['index']):this['map']['get'](_0x26044a['tree']);}}class TreeFragment{constructor(_0x29ea7f,_0x44b337,_0x550608,_0x2b8cb4,_0x479408=!0x1,_0x53ce68=!0x1){this['from']=_0x29ea7f,this['to']=_0x44b337,this['tree']=_0x550608,this['offset']=_0x2b8cb4,this['open']=(_0x479408?0x1:0x0)|(_0x53ce68?0x2:0x0);}get['openStart'](){return(0x1&this['open'])>0x0;}get['openEnd'](){return(0x2&this['open'])>0x0;}static['addTree'](_0x40114f,_0x1d9660=[],_0x38689d=!0x1){let _0x459c06=[new TreeFragment(0x0,_0x40114f['length'],_0x40114f,0x0,!0x1,_0x38689d)];for(let _0x465677 of _0x1d9660)_0x465677['to']>_0x40114f['length']&&_0x459c06['push'](_0x465677);return _0x459c06;}static['applyChanges'](_0x11aeea,_0x2d2a26,_0x1fa62b=0x80){if(!_0x2d2a26['length'])return _0x11aeea;let _0x3c808c=[],_0x591301=0x1,_0x12b7a3=_0x11aeea['length']?_0x11aeea[0x0]:null;for(let _0x5f10cd=0x0,_0x1bbaf8=0x0,_0x5efc2c=0x0;;_0x5f10cd++){let _0x32208d=_0x5f10cd<_0x2d2a26['length']?_0x2d2a26[_0x5f10cd]:null,_0xeb8835=_0x32208d?_0x32208d['fromA']:0x3b9aca00;if(_0xeb8835-_0x1bbaf8>=_0x1fa62b)for(;_0x12b7a3&&_0x12b7a3['from']<_0xeb8835;){let _0x11bd3a=_0x12b7a3;if(_0x1bbaf8>=_0x11bd3a['from']||_0xeb8835<=_0x11bd3a['to']||_0x5efc2c){let _0x34e650=Math['max'](_0x11bd3a['from'],_0x1bbaf8)-_0x5efc2c,_0x35391f=Math['min'](_0x11bd3a['to'],_0xeb8835)-_0x5efc2c;_0x11bd3a=_0x34e650>=_0x35391f?null:new TreeFragment(_0x34e650,_0x35391f,_0x11bd3a['tree'],_0x11bd3a['offset']+_0x5efc2c,_0x5f10cd>0x0,!!_0x32208d);}if(_0x11bd3a&&_0x3c808c['push'](_0x11bd3a),_0x12b7a3['to']>_0xeb8835)break;_0x12b7a3=_0x591301<_0x11aeea['length']?_0x11aeea[_0x591301++]:null;}if(!_0x32208d)break;_0x1bbaf8=_0x32208d['toA'],_0x5efc2c=_0x32208d['toA']-_0x32208d['toB'];}return _0x3c808c;}}class _0xf66e14{['startParse'](_0x5b0c5a,_0x5bad41,_0x7083da){return'string'==typeof _0x5b0c5a&&(_0x5b0c5a=new StringInput(_0x5b0c5a)),_0x7083da=_0x7083da?_0x7083da['length']?_0x7083da['map'](_0x26ff3b=>new _0x45707a(_0x26ff3b['from'],_0x26ff3b['to'])):[new _0x45707a(0x0,0x0)]:[new _0x45707a(0x0,_0x5b0c5a['length'])],this['createParse'](_0x5b0c5a,_0x5bad41||[],_0x7083da);}['parse'](_0x48dd4e,_0x4ece25,_0x198eb9){let _0x3b6666=this['startParse'](_0x48dd4e,_0x4ece25,_0x198eb9);for(;;){let _0x388e1f=_0x3b6666['advance']();if(_0x388e1f)return _0x388e1f;}}}class StringInput{constructor(_0x9fe99f){this['string']=_0x9fe99f;}get['length'](){return this['string']['length'];}['chunk'](_0x2673ff){return this['string']['slice'](_0x2673ff);}get['lineChunks'](){return!0x1;}['read'](_0x454138,_0x112cd2){return this['string']['slice'](_0x454138,_0x112cd2);}}function _0x1afdd3(_0x3a7d76){return(_0x4df336,_0x729567,_0x674266,_0x37c407)=>new _0x2c7772(_0x4df336,_0x3a7d76,_0x729567,_0x674266,_0x37c407);}class _0x437548{constructor(_0x45ab38,_0x219cbc,_0x3deef1,_0xc8f751,_0x68bc77){this['parser']=_0x45ab38,this['parse']=_0x219cbc,this['overlay']=_0x3deef1,this['target']=_0xc8f751,this['from']=_0x68bc77;}}function _0x2b3aac(_0x2207b0){if(!_0x2207b0['length']||_0x2207b0['some'](_0xb70767=>_0xb70767['from']>=_0xb70767['to']))throw new RangeError('Invalid\x20inner\x20parse\x20ranges\x20given:\x20'+JSON['stringify'](_0x2207b0));}class ActiveOverlay{constructor(_0x153637,_0x2643ae,_0x3f16a8,_0x107e42,_0x33be0d,_0x121a3b,_0x353c6f){this['parser']=_0x153637,this['predicate']=_0x2643ae,this['mounts']=_0x3f16a8,this['index']=_0x107e42,this['start']=_0x33be0d,this['target']=_0x121a3b,this['prev']=_0x353c6f,this['depth']=0x0,this['ranges']=[];}}const stoppedInner=new _0x332766({'perNode':!0x0});class _0x2c7772{constructor(_0xdc63f4,_0x412fcf,_0x185f19,_0x201551,_0x4e6676){this['nest']=_0x412fcf,this['input']=_0x185f19,this['fragments']=_0x201551,this['ranges']=_0x4e6676,this['inner']=[],this['innerDone']=0x0,this['baseTree']=null,this['stoppedAt']=null,this['baseParse']=_0xdc63f4;}['advance'](){if(this['baseParse']){let _0x32e32a=this['baseParse']['advance']();if(!_0x32e32a)return null;if(this['baseParse']=null,this['baseTree']=_0x32e32a,this['startInner'](),null!=this['stoppedAt']){for(let _0x34792d of this['inner'])_0x34792d['parse']['stopAt'](this['stoppedAt']);}}if(this['innerDone']==this['inner']['length']){let _0x5d2862=this['baseTree'];return null!=this['stoppedAt']&&(_0x5d2862=new _0x21283b(_0x5d2862['type'],_0x5d2862['children'],_0x5d2862['positions'],_0x5d2862['length'],_0x5d2862['propValues']['concat']([[stoppedInner,this['stoppedAt']]]))),_0x5d2862;}let _0x25f3a0=this['inner'][this['innerDone']],_0x459d57=_0x25f3a0['parse']['advance']();if(_0x459d57){this['innerDone']++;let _0x352b7b=Object['assign'](Object['create'](null),_0x25f3a0['target']['props']);_0x352b7b[_0x332766['mounted']['id']]=new MountedTree(_0x459d57,_0x25f3a0['overlay'],_0x25f3a0['parser']),_0x25f3a0['target']['props']=_0x352b7b;}return null;}get['parsedPos'](){if(this['baseParse'])return 0x0;let _0x5927d4=this['input']['length'];for(let _0x5855db=this['innerDone'];_0x5855db<this['inner']['length'];_0x5855db++)this['inner'][_0x5855db]['from']<_0x5927d4&&(_0x5927d4=Math['min'](_0x5927d4,this['inner'][_0x5855db]['parse']['parsedPos']));return _0x5927d4;}['stopAt'](_0x33aa4e){if(this['stoppedAt']=_0x33aa4e,this['baseParse'])this['baseParse']['stopAt'](_0x33aa4e);else{for(let _0x4bdc0d=this['innerDone'];_0x4bdc0d<this['inner']['length'];_0x4bdc0d++)this['inner'][_0x4bdc0d]['parse']['stopAt'](_0x33aa4e);}}['startInner'](){let _0x534b42=new FragmentCursor$2(this['fragments']),_0x4b7e90=null,_0x6fe8b6=null,_0x3d91b8=new _0x94a0f9(new _0x475272(this['baseTree'],this['ranges'][0x0]['from'],0x0,null),IterMode['IncludeAnonymous']|IterMode['IgnoreMounts']);t:for(let _0xc5110a,_0x170774;;){let _0x427f0e,_0x4b498e=!0x0;if(null!=this['stoppedAt']&&_0x3d91b8['from']>=this['stoppedAt'])_0x4b498e=!0x1;else{if(_0x534b42['hasNode'](_0x3d91b8)){if(_0x4b7e90){let _0x4356b6=_0x4b7e90['mounts']['find'](_0x190d5e=>_0x190d5e['frag']['from']<=_0x3d91b8['from']&&_0x190d5e['frag']['to']>=_0x3d91b8['to']&&_0x190d5e['mount']['overlay']);if(_0x4356b6)for(let _0x23000f of _0x4356b6['mount']['overlay']){let _0x329f16=_0x23000f['from']+_0x4356b6['pos'],_0x5e5e01=_0x23000f['to']+_0x4356b6['pos'];_0x329f16>=_0x3d91b8['from']&&_0x5e5e01<=_0x3d91b8['to']&&!_0x4b7e90['ranges']['some'](_0x107126=>_0x107126['from']<_0x5e5e01&&_0x107126['to']>_0x329f16)&&_0x4b7e90['ranges']['push']({'from':_0x329f16,'to':_0x5e5e01});}}_0x4b498e=!0x1;}else{if(_0x6fe8b6&&(_0x170774=_0x39d676(_0x6fe8b6['ranges'],_0x3d91b8['from'],_0x3d91b8['to'])))_0x4b498e=0x2!=_0x170774;else{if(!_0x3d91b8['type']['isAnonymous']&&(_0xc5110a=this['nest'](_0x3d91b8,this['input']))&&(_0x3d91b8['from']<_0x3d91b8['to']||!_0xc5110a['overlay'])){_0x3d91b8['tree']||(materialize(_0x3d91b8),_0x4b7e90&&_0x4b7e90['depth']++,_0x6fe8b6&&_0x6fe8b6['depth']++);let _0x2c677a=_0x534b42['findMounts'](_0x3d91b8['from'],_0xc5110a['parser']);if('function'==typeof _0xc5110a['overlay'])_0x4b7e90=new ActiveOverlay(_0xc5110a['parser'],_0xc5110a['overlay'],_0x2c677a,this['inner']['length'],_0x3d91b8['from'],_0x3d91b8['tree'],_0x4b7e90);else{let _0x534902=_0x16c2ad(this['ranges'],_0xc5110a['overlay']||(_0x3d91b8['from']<_0x3d91b8['to']?[new _0x45707a(_0x3d91b8['from'],_0x3d91b8['to'])]:[]));_0x534902['length']&&_0x2b3aac(_0x534902),!_0x534902['length']&&_0xc5110a['overlay']||this['inner']['push'](new _0x437548(_0xc5110a['parser'],_0x534902['length']?_0xc5110a['parser']['startParse'](this['input'],enterFragments(_0x2c677a,_0x534902),_0x534902):_0xc5110a['parser']['startParse'](''),_0xc5110a['overlay']?_0xc5110a['overlay']['map'](_0x48e8db=>new _0x45707a(_0x48e8db['from']-_0x3d91b8['from'],_0x48e8db['to']-_0x3d91b8['from'])):null,_0x3d91b8['tree'],_0x534902['length']?_0x534902[0x0]['from']:_0x3d91b8['from'])),_0xc5110a['overlay']?_0x534902['length']&&(_0x6fe8b6={'ranges':_0x534902,'depth':0x0,'prev':_0x6fe8b6}):_0x4b498e=!0x1;}}else{if(_0x4b7e90&&(_0x427f0e=_0x4b7e90['predicate'](_0x3d91b8))&&(!0x0===_0x427f0e&&(_0x427f0e=new _0x45707a(_0x3d91b8['from'],_0x3d91b8['to'])),_0x427f0e['from']<_0x427f0e['to'])){let _0x84f120=_0x4b7e90['ranges']['length']-0x1;_0x84f120>=0x0&&_0x4b7e90['ranges'][_0x84f120]['to']==_0x427f0e['from']?_0x4b7e90['ranges'][_0x84f120]={'from':_0x4b7e90['ranges'][_0x84f120]['from'],'to':_0x427f0e['to']}:_0x4b7e90['ranges']['push'](_0x427f0e);}}}}}if(_0x4b498e&&_0x3d91b8['firstChild']())_0x4b7e90&&_0x4b7e90['depth']++,_0x6fe8b6&&_0x6fe8b6['depth']++;else for(;!_0x3d91b8['nextSibling']();){if(!_0x3d91b8['parent']())break t;if(_0x4b7e90&&!--_0x4b7e90['depth']){let _0x407430=_0x16c2ad(this['ranges'],_0x4b7e90['ranges']);_0x407430['length']&&(_0x2b3aac(_0x407430),this['inner']['splice'](_0x4b7e90['index'],0x0,new _0x437548(_0x4b7e90['parser'],_0x4b7e90['parser']['startParse'](this['input'],enterFragments(_0x4b7e90['mounts'],_0x407430),_0x407430),_0x4b7e90['ranges']['map'](_0x314d89=>new _0x45707a(_0x314d89['from']-_0x4b7e90['start'],_0x314d89['to']-_0x4b7e90['start'])),_0x4b7e90['target'],_0x407430[0x0]['from']))),_0x4b7e90=_0x4b7e90['prev'];}_0x6fe8b6&&!--_0x6fe8b6['depth']&&(_0x6fe8b6=_0x6fe8b6['prev']);}}}}function _0x39d676(_0x34df9a,_0x3f1af6,_0x22b454){for(let _0x5e72f7 of _0x34df9a){if(_0x5e72f7['from']>=_0x22b454)break;if(_0x5e72f7['to']>_0x3f1af6)return _0x5e72f7['from']<=_0x3f1af6&&_0x5e72f7['to']>=_0x22b454?0x2:0x1;}return 0x0;}function _0x43dde7(_0x2977ea,_0x32c7e7,_0x128e85,_0x22239a,_0x475186,_0x1df406){if(_0x32c7e7<_0x128e85){let _0x1d35f4=_0x2977ea['buffer'][_0x32c7e7+0x1];_0x22239a['push'](_0x2977ea['slice'](_0x32c7e7,_0x128e85,_0x1d35f4)),_0x475186['push'](_0x1d35f4-_0x1df406);}}function materialize(_0xe97051){let {node:_0x47cd26}=_0xe97051,_0x2387f7=[],_0x382349=_0x47cd26['context']['buffer'];do{_0x2387f7['push'](_0xe97051['index']),_0xe97051['parent']();}while(!_0xe97051['tree']);let _0x131aba=_0xe97051['tree'],_0x6332c5=_0x131aba['children']['indexOf'](_0x382349),_0x3b0edf=_0x131aba['children'][_0x6332c5],_0x196308=_0x3b0edf['buffer'],_0x25e2b1=[_0x6332c5];_0x131aba['children'][_0x6332c5]=function _0x4de504(_0x1f18e8,_0x11c398,_0x5a7cbf,_0x2c266f,_0x3af0da,_0x444906){let _0x44f7bd=_0x2387f7[_0x444906],_0x29f5d7=[],_0x48291b=[];_0x43dde7(_0x3b0edf,_0x1f18e8,_0x44f7bd,_0x29f5d7,_0x48291b,_0x2c266f);let _0x2682d6=_0x196308[_0x44f7bd+0x1],_0x53dd25=_0x196308[_0x44f7bd+0x2];_0x25e2b1['push'](_0x29f5d7['length']);let _0x341737=_0x444906?_0x4de504(_0x44f7bd+0x4,_0x196308[_0x44f7bd+0x3],_0x3b0edf['set']['types'][_0x196308[_0x44f7bd]],_0x2682d6,_0x53dd25-_0x2682d6,_0x444906-0x1):_0x47cd26['toTree']();return _0x29f5d7['push'](_0x341737),_0x48291b['push'](_0x2682d6-_0x2c266f),_0x43dde7(_0x3b0edf,_0x196308[_0x44f7bd+0x3],_0x11c398,_0x29f5d7,_0x48291b,_0x2c266f),new _0x21283b(_0x5a7cbf,_0x29f5d7,_0x48291b,_0x3af0da);}(0x0,_0x196308['length'],_0x37cf2b['none'],0x0,_0x3b0edf['length'],_0x2387f7['length']-0x1);for(let _0x10253b of _0x25e2b1){let _0x26d4b1=_0xe97051['tree']['children'][_0x10253b],_0x4b0b24=_0xe97051['tree']['positions'][_0x10253b];_0xe97051['yield'](new _0x475272(_0x26d4b1,_0x4b0b24+_0xe97051['from'],_0x10253b,_0xe97051['_tree']));}}class StructureCursor{constructor(_0x31dfc1,_0x5a15ec){this['offset']=_0x5a15ec,this['done']=!0x1,this['cursor']=_0x31dfc1['cursor'](IterMode['IncludeAnonymous']|IterMode['IgnoreMounts']);}['moveTo'](_0x19620e){let {cursor:_0x2580c7}=this,_0x275bdc=_0x19620e-this['offset'];for(;!this['done']&&_0x2580c7['from']<_0x275bdc;)_0x2580c7['to']>=_0x19620e&&_0x2580c7['enter'](_0x275bdc,0x1,IterMode['IgnoreOverlays']|IterMode['ExcludeBuffers'])||_0x2580c7['next'](!0x1)||(this['done']=!0x0);}['hasNode'](_0x2d5cfd){if(this['moveTo'](_0x2d5cfd['from']),!this['done']&&this['cursor']['from']+this['offset']==_0x2d5cfd['from']&&this['cursor']['tree'])for(let _0xb71ff7=this['cursor']['tree'];;){if(_0xb71ff7==_0x2d5cfd['tree'])return!0x0;if(!(_0xb71ff7['children']['length']&&0x0==_0xb71ff7['positions'][0x0]&&_0xb71ff7['children'][0x0]instanceof _0x21283b))break;_0xb71ff7=_0xb71ff7['children'][0x0];}return!0x1;}}let FragmentCursor$2=class{constructor(_0x37c309){var _0x5c0e3b;if(this['fragments']=_0x37c309,this['curTo']=0x0,this['fragI']=0x0,_0x37c309['length']){let _0x303443=this['curFrag']=_0x37c309[0x0];this['curTo']=null!==(_0x5c0e3b=_0x303443['tree']['prop'](stoppedInner))&&void 0x0!==_0x5c0e3b?_0x5c0e3b:_0x303443['to'],this['inner']=new StructureCursor(_0x303443['tree'],-_0x303443['offset']);}else this['curFrag']=this['inner']=null;}['hasNode'](_0x256d03){for(;this['curFrag']&&_0x256d03['from']>=this['curTo'];)this['nextFrag']();return this['curFrag']&&this['curFrag']['from']<=_0x256d03['from']&&this['curTo']>=_0x256d03['to']&&this['inner']['hasNode'](_0x256d03);}['nextFrag'](){var _0x108485;if(this['fragI']++,this['fragI']==this['fragments']['length'])this['curFrag']=this['inner']=null;else{let _0x3c90f0=this['curFrag']=this['fragments'][this['fragI']];this['curTo']=null!==(_0x108485=_0x3c90f0['tree']['prop'](stoppedInner))&&void 0x0!==_0x108485?_0x108485:_0x3c90f0['to'],this['inner']=new StructureCursor(_0x3c90f0['tree'],-_0x3c90f0['offset']);}}['findMounts'](_0x2845e5,_0x2f2f8f){var _0x5dbac2;let _0x2a53d6=[];if(this['inner']){this['inner']['cursor']['moveTo'](_0x2845e5,0x1);for(let _0x4e768a=this['inner']['cursor']['node'];_0x4e768a;_0x4e768a=_0x4e768a['parent']){let _0x1418da=null===(_0x5dbac2=_0x4e768a['tree'])||void 0x0===_0x5dbac2?void 0x0:_0x5dbac2['prop'](_0x332766['mounted']);if(_0x1418da&&_0x1418da['parser']==_0x2f2f8f)for(let _0x48f522=this['fragI'];_0x48f522<this['fragments']['length'];_0x48f522++){let _0x3eaa68=this['fragments'][_0x48f522];if(_0x3eaa68['from']>=_0x4e768a['to'])break;_0x3eaa68['tree']==this['curFrag']['tree']&&_0x2a53d6['push']({'frag':_0x3eaa68,'pos':_0x4e768a['from']-_0x3eaa68['offset'],'mount':_0x1418da});}}}return _0x2a53d6;}};function _0x16c2ad(_0x308f32,_0x230ce8){let _0x30938b=null,_0x4404a8=_0x230ce8;for(let _0x2a67aa=0x1,_0x3a4484=0x0;_0x2a67aa<_0x308f32['length'];_0x2a67aa++){let _0x3c3505=_0x308f32[_0x2a67aa-0x1]['to'],_0xae28a4=_0x308f32[_0x2a67aa]['from'];for(;_0x3a4484<_0x4404a8['length'];_0x3a4484++){let _0x2b9412=_0x4404a8[_0x3a4484];if(_0x2b9412['from']>=_0xae28a4)break;_0x2b9412['to']<=_0x3c3505||(_0x30938b||(_0x4404a8=_0x30938b=_0x230ce8['slice']()),_0x2b9412['from']<_0x3c3505?(_0x30938b[_0x3a4484]=new _0x45707a(_0x2b9412['from'],_0x3c3505),_0x2b9412['to']>_0xae28a4&&_0x30938b['splice'](_0x3a4484+0x1,0x0,new _0x45707a(_0xae28a4,_0x2b9412['to']))):_0x2b9412['to']>_0xae28a4?_0x30938b[_0x3a4484--]=new _0x45707a(_0xae28a4,_0x2b9412['to']):_0x30938b['splice'](_0x3a4484--,0x1));}}return _0x4404a8;}function _0x1e2a67(_0x10e1bb,_0x2e9a38,_0x2e96f5,_0xbfbcfa){let _0x595e1a=0x0,_0x59020d=0x0,_0x1758ab=!0x1,_0x36cd77=!0x1,_0x33346c=-0x3b9aca00,_0x569107=[];for(;;){let _0x4c81f8=_0x595e1a==_0x10e1bb['length']?0x3b9aca00:_0x1758ab?_0x10e1bb[_0x595e1a]['to']:_0x10e1bb[_0x595e1a]['from'],_0x2fcf9c=_0x59020d==_0x2e9a38['length']?0x3b9aca00:_0x36cd77?_0x2e9a38[_0x59020d]['to']:_0x2e9a38[_0x59020d]['from'];if(_0x1758ab!=_0x36cd77){let _0x34ee32=Math['max'](_0x33346c,_0x2e96f5),_0x24df7c=Math['min'](_0x4c81f8,_0x2fcf9c,_0xbfbcfa);_0x34ee32<_0x24df7c&&_0x569107['push'](new _0x45707a(_0x34ee32,_0x24df7c));}if(_0x33346c=Math['min'](_0x4c81f8,_0x2fcf9c),0x3b9aca00==_0x33346c)break;_0x4c81f8==_0x33346c&&(_0x1758ab?(_0x1758ab=!0x1,_0x595e1a++):_0x1758ab=!0x0),_0x2fcf9c==_0x33346c&&(_0x36cd77?(_0x36cd77=!0x1,_0x59020d++):_0x36cd77=!0x0);}return _0x569107;}function enterFragments(_0x532dfb,_0x3599b5){let _0x2aec1d=[];for(let {pos:_0xf060c1,mount:_0x46c51a,frag:_0x4f7cdc}of _0x532dfb){let _0x45bf29=_0xf060c1+(_0x46c51a['overlay']?_0x46c51a['overlay'][0x0]['from']:0x0),_0x3a1ed7=_0x45bf29+_0x46c51a['tree']['length'],_0x1f10db=Math['max'](_0x4f7cdc['from'],_0x45bf29),_0x315b44=Math['min'](_0x4f7cdc['to'],_0x3a1ed7);if(_0x46c51a['overlay']){let _0x252014=_0x1e2a67(_0x3599b5,_0x46c51a['overlay']['map'](_0x27fb5=>new _0x45707a(_0x27fb5['from']+_0xf060c1,_0x27fb5['to']+_0xf060c1)),_0x1f10db,_0x315b44);for(let _0x3f29ce=0x0,_0x1db342=_0x1f10db;;_0x3f29ce++){let _0x55a199=_0x3f29ce==_0x252014['length'],_0x4fa0b6=_0x55a199?_0x315b44:_0x252014[_0x3f29ce]['from'];if(_0x4fa0b6>_0x1db342&&_0x2aec1d['push'](new TreeFragment(_0x1db342,_0x4fa0b6,_0x46c51a['tree'],-_0x45bf29,_0x4f7cdc['from']>=_0x1db342||_0x4f7cdc['openStart'],_0x4f7cdc['to']<=_0x4fa0b6||_0x4f7cdc['openEnd'])),_0x55a199)break;_0x1db342=_0x252014[_0x3f29ce]['to'];}}else _0x2aec1d['push'](new TreeFragment(_0x1f10db,_0x315b44,_0x46c51a['tree'],-_0x45bf29,_0x4f7cdc['from']>=_0x45bf29||_0x4f7cdc['openStart'],_0x4f7cdc['to']<=_0x3a1ed7||_0x4f7cdc['openEnd']));}return _0x2aec1d;}let nextTagID=0x0;class _0x135fb1{constructor(_0x226156,_0xb3c2bb,_0x5ae483,_0x36e897){this['name']=_0x226156,this['set']=_0xb3c2bb,this['base']=_0x5ae483,this['modified']=_0x36e897,this['id']=nextTagID++;}['toString'](){let {name:_0x3c9110}=this;for(let _0x1352ae of this['modified'])_0x1352ae['name']&&(_0x3c9110=_0x1352ae['name']+'('+_0x3c9110+')');return _0x3c9110;}static['define'](_0x4bd508,_0x134997){let _0x273f7e='string'==typeof _0x4bd508?_0x4bd508:'?';if(_0x4bd508 instanceof _0x135fb1&&(_0x134997=_0x4bd508),null==_0x134997?void 0x0:_0x134997['base'])throw new Error('Can\x20not\x20derive\x20from\x20a\x20modified\x20tag');let _0x494895=new _0x135fb1(_0x273f7e,[],null,[]);if(_0x494895['set']['push'](_0x494895),_0x134997){for(let t of _0x134997['set'])_0x494895['set']['push'](t);}return _0x494895;}static['defineModifier'](_0x3932b6){let _0x1eeaf0=new _0x5daf99(_0x3932b6);return _0x595262=>_0x595262['modified']['indexOf'](_0x1eeaf0)>-0x1?_0x595262:_0x5daf99['get'](_0x595262['base']||_0x595262,_0x595262['modified']['concat'](_0x1eeaf0)['sort']((_0x16ab92,_0x5d754f)=>_0x16ab92['id']-_0x5d754f['id']));}}let nextModifierID=0x0;class _0x5daf99{constructor(_0x70f199){this['name']=_0x70f199,this['instances']=[],this['id']=nextModifierID++;}static['get'](_0x553e64,_0x1fd500){if(!_0x1fd500['length'])return _0x553e64;let _0x2a4445=_0x1fd500[0x0]['instances']['find'](t=>t['base']==_0x553e64&&_0x51f738(_0x1fd500,t['modified']));if(_0x2a4445)return _0x2a4445;let _0x521a8d=[],_0x2b0f5f=new _0x135fb1(_0x553e64['name'],_0x521a8d,_0x553e64,_0x1fd500);for(let _0x566b32 of _0x1fd500)_0x566b32['instances']['push'](_0x2b0f5f);let _0x211af6=powerSet(_0x1fd500);for(let _0x111cde of _0x553e64['set'])if(!_0x111cde['modified']['length']){for(let _0x13616a of _0x211af6)_0x521a8d['push'](_0x5daf99['get'](_0x111cde,_0x13616a));}return _0x2b0f5f;}}function _0x51f738(_0x194986,_0x3c6fe1){return _0x194986['length']==_0x3c6fe1['length']&&_0x194986['every']((_0x292be5,_0x400c3c)=>_0x292be5==_0x3c6fe1[_0x400c3c]);}function powerSet(_0x3dcbfb){let _0x5158bc=[[]];for(let _0x1def17=0x0;_0x1def17<_0x3dcbfb['length'];_0x1def17++)for(let _0x52f467=0x0,_0x5b8f85=_0x5158bc['length'];_0x52f467<_0x5b8f85;_0x52f467++)_0x5158bc['push'](_0x5158bc[_0x52f467]['concat'](_0x3dcbfb[_0x1def17]));return _0x5158bc['sort']((_0x12ce73,_0x293555)=>_0x293555['length']-_0x12ce73['length']);}function styleTags(_0x71808){let _0x59ff3a=Object['create'](null);for(let _0xd0011 in _0x71808){let _0xcc128e=_0x71808[_0xd0011];Array['isArray'](_0xcc128e)||(_0xcc128e=[_0xcc128e]);for(let _0x2146f7 of _0xd0011['split']('\x20'))if(_0x2146f7){let _0x698895=[],_0x10cdb7=0x2,_0x1ea7cf=_0x2146f7;for(let _0x4c0831=0x0;;){if('...'==_0x1ea7cf&&_0x4c0831>0x0&&_0x4c0831+0x3==_0x2146f7['length']){_0x10cdb7=0x1;break;}let _0x5c8d6e=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/['exec'](_0x1ea7cf);if(!_0x5c8d6e)throw new RangeError('Invalid\x20path:\x20'+_0x2146f7);if(_0x698895['push']('*'==_0x5c8d6e[0x0]?'':'\x22'==_0x5c8d6e[0x0][0x0]?JSON['parse'](_0x5c8d6e[0x0]):_0x5c8d6e[0x0]),_0x4c0831+=_0x5c8d6e[0x0]['length'],_0x4c0831==_0x2146f7['length'])break;let _0x9ec3a4=_0x2146f7[_0x4c0831++];if(_0x4c0831==_0x2146f7['length']&&'!'==_0x9ec3a4){_0x10cdb7=0x0;break;}if('/'!=_0x9ec3a4)throw new RangeError('Invalid\x20path:\x20'+_0x2146f7);_0x1ea7cf=_0x2146f7['slice'](_0x4c0831);}let _0x267b2a=_0x698895['length']-0x1,_0x45d326=_0x698895[_0x267b2a];if(!_0x45d326)throw new RangeError('Invalid\x20path:\x20'+_0x2146f7);let _0x40e7b7=new _0x55f3f7(_0xcc128e,_0x10cdb7,_0x267b2a>0x0?_0x698895['slice'](0x0,_0x267b2a):null);_0x59ff3a[_0x45d326]=_0x40e7b7['sort'](_0x59ff3a[_0x45d326]);}}return _0x163195['add'](_0x59ff3a);}const _0x163195=new _0x332766({'combine'(_0x4479ef,_0xc759dd){let _0x38b97e,_0x593034,_0x5bc65b;for(;_0x4479ef||_0xc759dd;){if(!_0x4479ef||_0xc759dd&&_0x4479ef['depth']>=_0xc759dd['depth']?(_0x5bc65b=_0xc759dd,_0xc759dd=_0xc759dd['next']):(_0x5bc65b=_0x4479ef,_0x4479ef=_0x4479ef['next']),_0x38b97e&&_0x38b97e['mode']==_0x5bc65b['mode']&&!_0x5bc65b['context']&&!_0x38b97e['context'])continue;let _0x27b43b=new _0x55f3f7(_0x5bc65b['tags'],_0x5bc65b['mode'],_0x5bc65b['context']);_0x38b97e?_0x38b97e['next']=_0x27b43b:_0x593034=_0x27b43b,_0x38b97e=_0x27b43b;}return _0x593034;}});class _0x55f3f7{constructor(_0x303b7f,_0x4a0718,_0x16d21c,_0x165a9b){this['tags']=_0x303b7f,this['mode']=_0x4a0718,this['context']=_0x16d21c,this['next']=_0x165a9b;}get['opaque'](){return 0x0==this['mode'];}get['inherit'](){return 0x1==this['mode'];}['sort'](_0x2fc80f){return!_0x2fc80f||_0x2fc80f['depth']<this['depth']?(this['next']=_0x2fc80f,this):(_0x2fc80f['next']=this['sort'](_0x2fc80f['next']),_0x2fc80f);}get['depth'](){return this['context']?this['context']['length']:0x0;}}function tagHighlighter(_0x1c7adf,_0x45fda2){let _0x2f5ba6=Object['create'](null);for(let _0x56c55f of _0x1c7adf)if(Array['isArray'](_0x56c55f['tag'])){for(let _0x5b429a of _0x56c55f['tag'])_0x2f5ba6[_0x5b429a['id']]=_0x56c55f['class'];}else _0x2f5ba6[_0x56c55f['tag']['id']]=_0x56c55f['class'];let {scope:_0x563f16,all:_0x2e3639=null}=_0x45fda2||{};return{'style':_0x3857ea=>{let _0x1a0a92=_0x2e3639;for(let _0x2d950a of _0x3857ea)for(let _0x4b4856 of _0x2d950a['set']){let _0x44daba=_0x2f5ba6[_0x4b4856['id']];if(_0x44daba){_0x1a0a92=_0x1a0a92?_0x1a0a92+'\x20'+_0x44daba:_0x44daba;break;}}return _0x1a0a92;},'scope':_0x563f16};}function highlightTags(_0x55a44c,_0x3e7a4f){let _0x1293e7=null;for(let _0x5c5218 of _0x55a44c){let _0x2e8309=_0x5c5218['style'](_0x3e7a4f);_0x2e8309&&(_0x1293e7=_0x1293e7?_0x1293e7+'\x20'+_0x2e8309:_0x2e8309);}return _0x1293e7;}function highlightTree(_0x30c492,_0x49f0fa,_0x5506e3,_0x202c77=0x0,_0x464ee2=_0x30c492['length']){let _0x1d1e09=new HighlightBuilder(_0x202c77,Array['isArray'](_0x49f0fa)?_0x49f0fa:[_0x49f0fa],_0x5506e3);_0x1d1e09['highlightRange'](_0x30c492['cursor'](),_0x202c77,_0x464ee2,'',_0x1d1e09['highlighters']),_0x1d1e09['flush'](_0x464ee2);}_0x55f3f7['empty']=new _0x55f3f7([],0x2,null);class HighlightBuilder{constructor(_0x3e1707,_0x3a64af,_0x2e0683){this['at']=_0x3e1707,this['highlighters']=_0x3a64af,this['span']=_0x2e0683,this['class']='';}['startSpan'](_0xbee8b4,_0x372230){_0x372230!=this['class']&&(this['flush'](_0xbee8b4),_0xbee8b4>this['at']&&(this['at']=_0xbee8b4),this['class']=_0x372230);}['flush'](_0x57a2f0){_0x57a2f0>this['at']&&this['class']&&this['span'](this['at'],_0x57a2f0,this['class']);}['highlightRange'](_0x361ee6,_0x675dc4,_0x3ca49c,_0x410faf,_0x533503){let {type:_0x4d427c,from:_0x1c0834,to:_0x1b88e9}=_0x361ee6;if(_0x1c0834>=_0x3ca49c||_0x1b88e9<=_0x675dc4)return;_0x4d427c['isTop']&&(_0x533503=this['highlighters']['filter'](_0x4859a1=>!_0x4859a1['scope']||_0x4859a1['scope'](_0x4d427c)));let _0x1724dd=_0x410faf,_0x578285=getStyleTags(_0x361ee6)||_0x55f3f7['empty'],_0x44c20f=highlightTags(_0x533503,_0x578285['tags']);if(_0x44c20f&&(_0x1724dd&&(_0x1724dd+='\x20'),_0x1724dd+=_0x44c20f,0x1==_0x578285['mode']&&(_0x410faf+=(_0x410faf?'\x20':'')+_0x44c20f)),this['startSpan'](Math['max'](_0x675dc4,_0x1c0834),_0x1724dd),_0x578285['opaque'])return;let _0x902cd8=_0x361ee6['tree']&&_0x361ee6['tree']['prop'](_0x332766['mounted']);if(_0x902cd8&&_0x902cd8['overlay']){let _0x4303b3=_0x361ee6['node']['enter'](_0x902cd8['overlay'][0x0]['from']+_0x1c0834,0x1),_0x5d5d70=this['highlighters']['filter'](_0x41fa38=>!_0x41fa38['scope']||_0x41fa38['scope'](_0x902cd8['tree']['type'])),_0x32b9e3=_0x361ee6['firstChild']();for(let _0x21c5e8=0x0,_0x451578=_0x1c0834;;_0x21c5e8++){let _0x5cdf14=_0x21c5e8<_0x902cd8['overlay']['length']?_0x902cd8['overlay'][_0x21c5e8]:null,_0x47d9c7=_0x5cdf14?_0x5cdf14['from']+_0x1c0834:_0x1b88e9,_0x4599cf=Math['max'](_0x675dc4,_0x451578),_0x424386=Math['min'](_0x3ca49c,_0x47d9c7);if(_0x4599cf<_0x424386&&_0x32b9e3){for(;_0x361ee6['from']<_0x424386&&(this['highlightRange'](_0x361ee6,_0x4599cf,_0x424386,_0x410faf,_0x533503),this['startSpan'](Math['min'](_0x424386,_0x361ee6['to']),_0x1724dd),!(_0x361ee6['to']>=_0x47d9c7)&&_0x361ee6['nextSibling']()););}if(!_0x5cdf14||_0x47d9c7>_0x3ca49c)break;_0x451578=_0x5cdf14['to']+_0x1c0834,_0x451578>_0x675dc4&&(this['highlightRange'](_0x4303b3['cursor'](),Math['max'](_0x675dc4,_0x5cdf14['from']+_0x1c0834),Math['min'](_0x3ca49c,_0x451578),'',_0x5d5d70),this['startSpan'](Math['min'](_0x3ca49c,_0x451578),_0x1724dd));}_0x32b9e3&&_0x361ee6['parent']();}else{if(_0x361ee6['firstChild']()){_0x902cd8&&(_0x410faf='');do{if(!(_0x361ee6['to']<=_0x675dc4)){if(_0x361ee6['from']>=_0x3ca49c)break;this['highlightRange'](_0x361ee6,_0x675dc4,_0x3ca49c,_0x410faf,_0x533503),this['startSpan'](Math['min'](_0x3ca49c,_0x361ee6['to']),_0x1724dd);}}while(_0x361ee6['nextSibling']());_0x361ee6['parent']();}}}}function getStyleTags(_0x3f4c25){let _0x11c990=_0x3f4c25['type']['prop'](_0x163195);for(;_0x11c990&&_0x11c990['context']&&!_0x3f4c25['matchContext'](_0x11c990['context']);)_0x11c990=_0x11c990['next'];return _0x11c990||null;}const t=_0x135fb1['define'],comment=t(),_0xc6e06c=t(),typeName=t(_0xc6e06c),propertyName=t(_0xc6e06c),literal=t(),string=t(literal),_0x3867f0=t(literal),content=t(),_0x47cb67=t(content),_0x573730=t(),operator=t(),punctuation=t(),bracket=t(punctuation),meta=t(),tags$1={'comment':comment,'lineComment':t(comment),'blockComment':t(comment),'docComment':t(comment),'name':_0xc6e06c,'variableName':t(_0xc6e06c),'typeName':typeName,'tagName':t(typeName),'propertyName':propertyName,'attributeName':t(propertyName),'className':t(_0xc6e06c),'labelName':t(_0xc6e06c),'namespace':t(_0xc6e06c),'macroName':t(_0xc6e06c),'literal':literal,'string':string,'docString':t(string),'character':t(string),'attributeValue':t(string),'number':_0x3867f0,'integer':t(_0x3867f0),'float':t(_0x3867f0),'bool':t(literal),'regexp':t(literal),'escape':t(literal),'color':t(literal),'url':t(literal),'keyword':_0x573730,'self':t(_0x573730),'null':t(_0x573730),'atom':t(_0x573730),'unit':t(_0x573730),'modifier':t(_0x573730),'operatorKeyword':t(_0x573730),'controlKeyword':t(_0x573730),'definitionKeyword':t(_0x573730),'moduleKeyword':t(_0x573730),'operator':operator,'derefOperator':t(operator),'arithmeticOperator':t(operator),'logicOperator':t(operator),'bitwiseOperator':t(operator),'compareOperator':t(operator),'updateOperator':t(operator),'definitionOperator':t(operator),'typeOperator':t(operator),'controlOperator':t(operator),'punctuation':punctuation,'separator':t(punctuation),'bracket':bracket,'angleBracket':t(bracket),'squareBracket':t(bracket),'paren':t(bracket),'brace':t(bracket),'content':content,'heading':_0x47cb67,'heading1':t(_0x47cb67),'heading2':t(_0x47cb67),'heading3':t(_0x47cb67),'heading4':t(_0x47cb67),'heading5':t(_0x47cb67),'heading6':t(_0x47cb67),'contentSeparator':t(content),'list':t(content),'quote':t(content),'emphasis':t(content),'strong':t(content),'link':t(content),'monospace':t(content),'strikethrough':t(content),'inserted':t(),'deleted':t(),'changed':t(),'invalid':t(),'meta':meta,'documentMeta':t(meta),'annotation':t(meta),'processingInstruction':t(meta),'definition':_0x135fb1['defineModifier']('definition'),'constant':_0x135fb1['defineModifier']('constant'),'function':_0x135fb1['defineModifier']('function'),'standard':_0x135fb1['defineModifier']('standard'),'local':_0x135fb1['defineModifier']('local'),'special':_0x135fb1['defineModifier']('special')};for(let _0x100280 in tags$1){let _0x2f1e8e=tags$1[_0x100280];_0x2f1e8e instanceof _0x135fb1&&(_0x2f1e8e['name']=_0x100280);}var _0x1e43cc;tagHighlighter([{'tag':tags$1['link'],'class':'tok-link'},{'tag':tags$1['heading'],'class':'tok-heading'},{'tag':tags$1['emphasis'],'class':'tok-emphasis'},{'tag':tags$1['strong'],'class':'tok-strong'},{'tag':tags$1['keyword'],'class':'tok-keyword'},{'tag':tags$1['atom'],'class':'tok-atom'},{'tag':tags$1['bool'],'class':'tok-bool'},{'tag':tags$1['url'],'class':'tok-url'},{'tag':tags$1['labelName'],'class':'tok-labelName'},{'tag':tags$1['inserted'],'class':'tok-inserted'},{'tag':tags$1['deleted'],'class':'tok-deleted'},{'tag':tags$1['literal'],'class':'tok-literal'},{'tag':tags$1['string'],'class':'tok-string'},{'tag':tags$1['number'],'class':'tok-number'},{'tag':[tags$1['regexp'],tags$1['escape'],tags$1['special'](tags$1['string'])],'class':'tok-string2'},{'tag':tags$1['variableName'],'class':'tok-variableName'},{'tag':tags$1['local'](tags$1['variableName']),'class':'tok-variableName\x20tok-local'},{'tag':tags$1['definition'](tags$1['variableName']),'class':'tok-variableName\x20tok-definition'},{'tag':tags$1['special'](tags$1['variableName']),'class':'tok-variableName2'},{'tag':tags$1['definition'](tags$1['propertyName']),'class':'tok-propertyName\x20tok-definition'},{'tag':tags$1['typeName'],'class':'tok-typeName'},{'tag':tags$1['namespace'],'class':'tok-namespace'},{'tag':tags$1['className'],'class':'tok-className'},{'tag':tags$1['macroName'],'class':'tok-macroName'},{'tag':tags$1['propertyName'],'class':'tok-propertyName'},{'tag':tags$1['operator'],'class':'tok-operator'},{'tag':tags$1['comment'],'class':'tok-comment'},{'tag':tags$1['meta'],'class':'tok-meta'},{'tag':tags$1['invalid'],'class':'tok-invalid'},{'tag':tags$1['punctuation'],'class':'tok-punctuation'}]);const languageDataProp=new _0x332766();function defineLanguageFacet(_0x3513a8){return Facet['define']({'combine':_0x3513a8?_0x4dae6a=>_0x4dae6a['concat'](_0x3513a8):void 0x0});}const _0x5467e0=new _0x332766();class _0xb28216{constructor(_0x558b19,_0x4a7da5,_0x213167=[],_0x4993c6=''){this['data']=_0x558b19,this['name']=_0x4993c6,EditorState['prototype']['hasOwnProperty']('tree')||Object['defineProperty'](EditorState['prototype'],'tree',{'get'(){return syntaxTree(this);}}),this['parser']=_0x4a7da5,this['extension']=[_0x258089['of'](this),EditorState['languageData']['of']((_0x16622d,_0x427712,_0x56f072)=>{let _0x1c9dc4=topNodeAt(_0x16622d,_0x427712,_0x56f072),_0xdccbfd=_0x1c9dc4['type']['prop'](languageDataProp);if(!_0xdccbfd)return[];let _0x6a195c=_0x16622d['facet'](_0xdccbfd),_0x1134d8=_0x1c9dc4['type']['prop'](_0x5467e0);if(_0x1134d8){let _0x4b5ef3=_0x1c9dc4['resolve'](_0x427712-_0x1c9dc4['from'],_0x56f072);for(let _0x1e4a7c of _0x1134d8)if(_0x1e4a7c['test'](_0x4b5ef3,_0x16622d)){let _0x4e0e4b=_0x16622d['facet'](_0x1e4a7c['facet']);return'replace'==_0x1e4a7c['type']?_0x4e0e4b:_0x4e0e4b['concat'](_0x6a195c);}}return _0x6a195c;})]['concat'](_0x213167);}['isActiveAt'](_0x14b910,_0x4cceaf,_0x334e66=-0x1){return topNodeAt(_0x14b910,_0x4cceaf,_0x334e66)['type']['prop'](languageDataProp)==this['data'];}['findRegions'](_0x50d702){let _0x28d741=_0x50d702['facet'](_0x258089);if((null==_0x28d741?void 0x0:_0x28d741['data'])==this['data'])return[{'from':0x0,'to':_0x50d702['doc']['length']}];if(!_0x28d741||!_0x28d741['allowsNesting'])return[];let _0x2096b8=[],_0x20dbc8=(_0x44e438,_0x178a43)=>{if(_0x44e438['prop'](languageDataProp)==this['data'])return void _0x2096b8['push']({'from':_0x178a43,'to':_0x178a43+_0x44e438['length']});let _0x134bbd=_0x44e438['prop'](_0x332766['mounted']);if(_0x134bbd){if(_0x134bbd['tree']['prop'](languageDataProp)==this['data']){if(_0x134bbd['overlay']){for(let _0xd3b568 of _0x134bbd['overlay'])_0x2096b8['push']({'from':_0xd3b568['from']+_0x178a43,'to':_0xd3b568['to']+_0x178a43});}else _0x2096b8['push']({'from':_0x178a43,'to':_0x178a43+_0x44e438['length']});return;}if(_0x134bbd['overlay']){let _0x12adca=_0x2096b8['length'];if(_0x20dbc8(_0x134bbd['tree'],_0x134bbd['overlay'][0x0]['from']+_0x178a43),_0x2096b8['length']>_0x12adca)return;}}for(let _0x3ab790=0x0;_0x3ab790<_0x44e438['children']['length'];_0x3ab790++){let _0xfed311=_0x44e438['children'][_0x3ab790];_0xfed311 instanceof _0x21283b&&_0x20dbc8(_0xfed311,_0x44e438['positions'][_0x3ab790]+_0x178a43);}};return _0x20dbc8(syntaxTree(_0x50d702),0x0),_0x2096b8;}get['allowsNesting'](){return!0x0;}}function topNodeAt(_0x4e2f5c,_0x283eeb,_0x21b905){let _0x3b073a=_0x4e2f5c['facet'](_0x258089),_0x40fbe0=syntaxTree(_0x4e2f5c)['topNode'];if(!_0x3b073a||_0x3b073a['allowsNesting']){for(let _0x163c12=_0x40fbe0;_0x163c12;_0x163c12=_0x163c12['enter'](_0x283eeb,_0x21b905,IterMode['ExcludeBuffers']))_0x163c12['type']['isTop']&&(_0x40fbe0=_0x163c12);}return _0x40fbe0;}_0xb28216['setState']=StateEffect['define']();class _0x1f45dd extends _0xb28216{constructor(_0x5a9619,_0x21503d,_0x545978){super(_0x5a9619,_0x21503d,[],_0x545978),this['parser']=_0x21503d;}static['define'](_0x1b4d8c){let _0x1921a8=defineLanguageFacet(_0x1b4d8c['languageData']);return new _0x1f45dd(_0x1921a8,_0x1b4d8c['parser']['configure']({'props':[languageDataProp['add'](_0x32e118=>_0x32e118['isTop']?_0x1921a8:void 0x0)]}),_0x1b4d8c['name']);}['configure'](_0x1a6cbf,_0x24b88c){return new _0x1f45dd(this['data'],this['parser']['configure'](_0x1a6cbf),_0x24b88c||this['name']);}get['allowsNesting'](){return this['parser']['hasWrappers']();}}function syntaxTree(_0x2719be){let _0x85f4ba=_0x2719be['field'](_0xb28216['state'],!0x1);return _0x85f4ba?_0x85f4ba['tree']:_0x21283b['empty'];}class DocInput{constructor(_0x35e2ed){this['doc']=_0x35e2ed,this['cursorPos']=0x0,this['string']='',this['cursor']=_0x35e2ed['iter']();}get['length'](){return this['doc']['length'];}['syncTo'](_0x219ec7){return this['string']=this['cursor']['next'](_0x219ec7-this['cursorPos'])['value'],this['cursorPos']=_0x219ec7+this['string']['length'],this['cursorPos']-this['string']['length'];}['chunk'](_0x467b36){return this['syncTo'](_0x467b36),this['string'];}get['lineChunks'](){return!0x0;}['read'](_0x1c5094,_0x47a7aa){let _0x3b0693=this['cursorPos']-this['string']['length'];return _0x1c5094<_0x3b0693||_0x47a7aa>=this['cursorPos']?this['doc']['sliceString'](_0x1c5094,_0x47a7aa):this['string']['slice'](_0x1c5094-_0x3b0693,_0x47a7aa-_0x3b0693);}}let currentContext=null;class ParseContext{constructor(_0x11d8b8,_0x505f7c,_0x3305a9=[],_0x4c5efb,_0x272edf,_0x464d13,_0x11fd65,_0x40a04c){this['parser']=_0x11d8b8,this['state']=_0x505f7c,this['fragments']=_0x3305a9,this['tree']=_0x4c5efb,this['treeLen']=_0x272edf,this['viewport']=_0x464d13,this['skipped']=_0x11fd65,this['scheduleOn']=_0x40a04c,this['parse']=null,this['tempSkipped']=[];}static['create'](_0x515db5,_0x2363ad,_0x5798be){return new ParseContext(_0x515db5,_0x2363ad,[],_0x21283b['empty'],0x0,_0x5798be,[],null);}['startParse'](){return this['parser']['startParse'](new DocInput(this['state']['doc']),this['fragments']);}['work'](_0x2d298b,_0x540f79){return null!=_0x540f79&&_0x540f79>=this['state']['doc']['length']&&(_0x540f79=void 0x0),this['tree']!=_0x21283b['empty']&&this['isDone'](null!=_0x540f79?_0x540f79:this['state']['doc']['length'])?(this['takeTree'](),!0x0):this['withContext'](()=>{var _0x9da9d6;if('number'==typeof _0x2d298b){let _0x485150=Date['now']()+_0x2d298b;_0x2d298b=()=>Date['now']()>_0x485150;}for(this['parse']||(this['parse']=this['startParse']()),null!=_0x540f79&&(null==this['parse']['stoppedAt']||this['parse']['stoppedAt']>_0x540f79)&&_0x540f79<this['state']['doc']['length']&&this['parse']['stopAt'](_0x540f79);;){let _0x250b91=this['parse']['advance']();if(_0x250b91){if(this['fragments']=this['withoutTempSkipped'](TreeFragment['addTree'](_0x250b91,this['fragments'],null!=this['parse']['stoppedAt'])),this['treeLen']=null!==(_0x9da9d6=this['parse']['stoppedAt'])&&void 0x0!==_0x9da9d6?_0x9da9d6:this['state']['doc']['length'],this['tree']=_0x250b91,this['parse']=null,!(this['treeLen']<(null!=_0x540f79?_0x540f79:this['state']['doc']['length'])))return!0x0;this['parse']=this['startParse']();}if(_0x2d298b())return!0x1;}});}['takeTree'](){let _0x4a5bce,_0x3eb808;this['parse']&&(_0x4a5bce=this['parse']['parsedPos'])>=this['treeLen']&&((null==this['parse']['stoppedAt']||this['parse']['stoppedAt']>_0x4a5bce)&&this['parse']['stopAt'](_0x4a5bce),this['withContext'](()=>{for(;!(_0x3eb808=this['parse']['advance']()););}),this['treeLen']=_0x4a5bce,this['tree']=_0x3eb808,this['fragments']=this['withoutTempSkipped'](TreeFragment['addTree'](this['tree'],this['fragments'],!0x0)),this['parse']=null);}['withContext'](_0x7c2a8f){let _0x2ff030=currentContext;currentContext=this;try{return _0x7c2a8f();}finally{currentContext=_0x2ff030;}}['withoutTempSkipped'](_0x4d26b5){for(let _0x4dabdd;_0x4dabdd=this['tempSkipped']['pop']();)_0x4d26b5=cutFragments(_0x4d26b5,_0x4dabdd['from'],_0x4dabdd['to']);return _0x4d26b5;}['changes'](_0x29408d,_0x10db22){let {fragments:_0x1ea96e,tree:_0x27007a,treeLen:_0x180e55,viewport:_0xf8dddb,skipped:_0x1b2488}=this;if(this['takeTree'](),!_0x29408d['empty']){let _0x1545c0=[];if(_0x29408d['iterChangedRanges']((_0x47f46f,_0x391828,_0x41167d,_0x4f9d9a)=>_0x1545c0['push']({'fromA':_0x47f46f,'toA':_0x391828,'fromB':_0x41167d,'toB':_0x4f9d9a})),_0x1ea96e=TreeFragment['applyChanges'](_0x1ea96e,_0x1545c0),_0x27007a=_0x21283b['empty'],_0x180e55=0x0,_0xf8dddb={'from':_0x29408d['mapPos'](_0xf8dddb['from'],-0x1),'to':_0x29408d['mapPos'](_0xf8dddb['to'],0x1)},this['skipped']['length']){_0x1b2488=[];for(let _0x11b6e7 of this['skipped']){let _0x130f23=_0x29408d['mapPos'](_0x11b6e7['from'],0x1),_0x1f388f=_0x29408d['mapPos'](_0x11b6e7['to'],-0x1);_0x130f23<_0x1f388f&&_0x1b2488['push']({'from':_0x130f23,'to':_0x1f388f});}}}return new ParseContext(this['parser'],_0x10db22,_0x1ea96e,_0x27007a,_0x180e55,_0xf8dddb,_0x1b2488,this['scheduleOn']);}['updateViewport'](_0x41cbb3){if(this['viewport']['from']==_0x41cbb3['from']&&this['viewport']['to']==_0x41cbb3['to'])return!0x1;this['viewport']=_0x41cbb3;let _0x339b8c=this['skipped']['length'];for(let _0x2850c3=0x0;_0x2850c3<this['skipped']['length'];_0x2850c3++){let {from:_0x26c06c,to:_0x2efb4e}=this['skipped'][_0x2850c3];_0x26c06c<_0x41cbb3['to']&&_0x2efb4e>_0x41cbb3['from']&&(this['fragments']=cutFragments(this['fragments'],_0x26c06c,_0x2efb4e),this['skipped']['splice'](_0x2850c3--,0x1));}return!(this['skipped']['length']>=_0x339b8c)&&(this['reset'](),!0x0);}['reset'](){this['parse']&&(this['takeTree'](),this['parse']=null);}['skipUntilInView'](_0x253dfb,_0x5dadd9){this['skipped']['push']({'from':_0x253dfb,'to':_0x5dadd9});}static['getSkippingParser'](_0x3c4752){return new class extends _0xf66e14{['createParse'](_0x18b87b,_0x370960,_0xf56376){let _0x585f02=_0xf56376[0x0]['from'],_0x32f6e3=_0xf56376[_0xf56376['length']-0x1]['to'];return{'parsedPos':_0x585f02,'advance'(){let _0x5287a7=currentContext;if(_0x5287a7){for(let _0x59ff07 of _0xf56376)_0x5287a7['tempSkipped']['push'](_0x59ff07);_0x3c4752&&(_0x5287a7['scheduleOn']=_0x5287a7['scheduleOn']?Promise['all']([_0x5287a7['scheduleOn'],_0x3c4752]):_0x3c4752);}return this['parsedPos']=_0x32f6e3,new _0x21283b(_0x37cf2b['none'],[],[],_0x32f6e3-_0x585f02);},'stoppedAt':null,'stopAt'(){}};}}();}['isDone'](_0x25ca66){_0x25ca66=Math['min'](_0x25ca66,this['state']['doc']['length']);let _0x46b13b=this['fragments'];return this['treeLen']>=_0x25ca66&&_0x46b13b['length']&&0x0==_0x46b13b[0x0]['from']&&_0x46b13b[0x0]['to']>=_0x25ca66;}static['get'](){return currentContext;}}function cutFragments(_0x55dfa3,_0x3ad6d9,_0x3dd8e5){return TreeFragment['applyChanges'](_0x55dfa3,[{'fromA':_0x3ad6d9,'toA':_0x3dd8e5,'fromB':_0x3ad6d9,'toB':_0x3dd8e5}]);}class LanguageState{constructor(_0x5a294e){this['context']=_0x5a294e,this['tree']=_0x5a294e['tree'];}['apply'](_0x275a79){if(!_0x275a79['docChanged']&&this['tree']==this['context']['tree'])return this;let _0x53f9ea=this['context']['changes'](_0x275a79['changes'],_0x275a79['state']),_0x452623=this['context']['treeLen']==_0x275a79['startState']['doc']['length']?void 0x0:Math['max'](_0x275a79['changes']['mapPos'](this['context']['treeLen']),_0x53f9ea['viewport']['to']);return _0x53f9ea['work'](0x14,_0x452623)||_0x53f9ea['takeTree'](),new LanguageState(_0x53f9ea);}static['init'](_0x228443){let _0x4db239=Math['min'](0xbb8,_0x228443['doc']['length']),_0x5e69da=ParseContext['create'](_0x228443['facet'](_0x258089)['parser'],_0x228443,{'from':0x0,'to':_0x4db239});return _0x5e69da['work'](0x14,_0x4db239)||_0x5e69da['takeTree'](),new LanguageState(_0x5e69da);}}_0xb28216['state']=StateField['define']({'create':LanguageState['init'],'update'(_0x180b6a,_0x5c1873){for(let _0x34096b of _0x5c1873['effects'])if(_0x34096b['is'](_0xb28216['setState']))return _0x34096b['value'];return _0x5c1873['startState']['facet'](_0x258089)!=_0x5c1873['state']['facet'](_0x258089)?LanguageState['init'](_0x5c1873['state']):_0x180b6a['apply'](_0x5c1873);}});let requestIdle=_0x3809e5=>{let _0x32d321=setTimeout(()=>_0x3809e5(),0x1f4);return()=>clearTimeout(_0x32d321);};'undefined'!=typeof requestIdleCallback&&(requestIdle=_0x2125fb=>{let _0x803240=-0x1,_0x2ad257=setTimeout(()=>{_0x803240=requestIdleCallback(_0x2125fb,{'timeout':0x190});},0x64);return()=>_0x803240<0x0?clearTimeout(_0x2ad257):cancelIdleCallback(_0x803240);});const isInputPending='undefined'!=typeof navigator&&(null===(_0x1e43cc=navigator['scheduling'])||void 0x0===_0x1e43cc?void 0x0:_0x1e43cc['isInputPending'])?()=>navigator['scheduling']['isInputPending']():null,_0x5b5a2d=_0x132f9d['fromClass'](class{constructor(_0xc97d00){this['view']=_0xc97d00,this['working']=null,this['workScheduled']=0x0,this['chunkEnd']=-0x1,this['chunkBudget']=-0x1,this['work']=this['work']['bind'](this),this['scheduleWork']();}['update'](_0x398a49){let _0x39f87f=this['view']['state']['field'](_0xb28216['state'])['context'];(_0x39f87f['updateViewport'](_0x398a49['view']['viewport'])||this['view']['viewport']['to']>_0x39f87f['treeLen'])&&this['scheduleWork'](),(_0x398a49['docChanged']||_0x398a49['selectionSet'])&&(this['view']['hasFocus']&&(this['chunkBudget']+=0x32),this['scheduleWork']()),this['checkAsyncSchedule'](_0x39f87f);}['scheduleWork'](){if(this['working'])return;let {state:_0x2dd498}=this['view'],_0x500a44=_0x2dd498['field'](_0xb28216['state']);_0x500a44['tree']==_0x500a44['context']['tree']&&_0x500a44['context']['isDone'](_0x2dd498['doc']['length'])||(this['working']=requestIdle(this['work']));}['work'](_0x412a2b){this['working']=null;let _0x4c0172=Date['now']();if(this['chunkEnd']<_0x4c0172&&(this['chunkEnd']<0x0||this['view']['hasFocus'])&&(this['chunkEnd']=_0x4c0172+0x7530,this['chunkBudget']=0xbb8),this['chunkBudget']<=0x0)return;let {state:_0x502d35,viewport:{to:_0xbed626}}=this['view'],_0x663a0=_0x502d35['field'](_0xb28216['state']);if(_0x663a0['tree']==_0x663a0['context']['tree']&&_0x663a0['context']['isDone'](_0xbed626+0x186a0))return;let _0x422b97=Date['now']()+Math['min'](this['chunkBudget'],0x64,_0x412a2b&&!isInputPending?Math['max'](0x19,_0x412a2b['timeRemaining']()-0x5):0x3b9aca00),_0x2b0cfe=_0x663a0['context']['treeLen']<_0xbed626&&_0x502d35['doc']['length']>_0xbed626+0x3e8,_0xc289a4=_0x663a0['context']['work'](()=>isInputPending&&isInputPending()||Date['now']()>_0x422b97,_0xbed626+(_0x2b0cfe?0x0:0x186a0));this['chunkBudget']-=Date['now']()-_0x4c0172,(_0xc289a4||this['chunkBudget']<=0x0)&&(_0x663a0['context']['takeTree'](),this['view']['dispatch']({'effects':_0xb28216['setState']['of'](new LanguageState(_0x663a0['context']))})),this['chunkBudget']>0x0&&(!_0xc289a4||_0x2b0cfe)&&this['scheduleWork'](),this['checkAsyncSchedule'](_0x663a0['context']);}['checkAsyncSchedule'](_0x4e20f5){_0x4e20f5['scheduleOn']&&(this['workScheduled']++,_0x4e20f5['scheduleOn']['then'](()=>this['scheduleWork']())['catch'](_0x8607ca=>logException(this['view']['state'],_0x8607ca))['then'](()=>this['workScheduled']--),_0x4e20f5['scheduleOn']=null);}['destroy'](){this['working']&&this['working']();}['isWorking'](){return!!(this['working']||this['workScheduled']>0x0);}},{'eventHandlers':{'focus'(){this['scheduleWork']();}}}),_0x258089=Facet['define']({'combine':_0x3ae3b7=>_0x3ae3b7['length']?_0x3ae3b7[0x0]:null,'enables':_0x5af8ca=>[_0xb28216['state'],_0x5b5a2d,EditorView['contentAttributes']['compute']([_0x5af8ca],_0x543e0a=>{let _0x1a3235=_0x543e0a['facet'](_0x5af8ca);return _0x1a3235&&_0x1a3235['name']?{'data-language':_0x1a3235['name']}:{};})]});class LanguageSupport{constructor(_0x20fa46,_0x521b5b=[]){this['language']=_0x20fa46,this['support']=_0x521b5b,this['extension']=[_0x20fa46,_0x521b5b];}}class LanguageDescription{constructor(_0x764abd,_0x44fc3d,_0x575bf7,_0x91c232,_0x5de0be,_0x39e356=void 0x0){this['name']=_0x764abd,this['alias']=_0x44fc3d,this['extensions']=_0x575bf7,this['filename']=_0x91c232,this['loadFunc']=_0x5de0be,this['support']=_0x39e356,this['loading']=null;}['load'](){return this['loading']||(this['loading']=this['loadFunc']()['then'](_0xcf7671=>this['support']=_0xcf7671,_0x3a54f2=>{throw this['loading']=null,_0x3a54f2;}));}static['of'](_0x4fafd2){let {load:_0x421958,support:_0x52339f}=_0x4fafd2;if(!_0x421958){if(!_0x52339f)throw new RangeError('Must\x20pass\x20either\x20\x27load\x27\x20or\x20\x27support\x27\x20to\x20LanguageDescription.of');_0x421958=()=>Promise['resolve'](_0x52339f);}return new LanguageDescription(_0x4fafd2['name'],(_0x4fafd2['alias']||[])['concat'](_0x4fafd2['name'])['map'](_0x25f0ca=>_0x25f0ca['toLowerCase']()),_0x4fafd2['extensions']||[],_0x4fafd2['filename'],_0x421958,_0x52339f);}static['matchFilename'](_0x97143a,_0x4098ae){for(let _0x2761ae of _0x97143a)if(_0x2761ae['filename']&&_0x2761ae['filename']['test'](_0x4098ae))return _0x2761ae;let _0x45991a=/\.([^.]+)$/['exec'](_0x4098ae);if(_0x45991a){for(let _0x123740 of _0x97143a)if(_0x123740['extensions']['indexOf'](_0x45991a[0x1])>-0x1)return _0x123740;}return null;}static['matchLanguageName'](_0x57879d,_0x51776f,_0x4297f0=!0x0){_0x51776f=_0x51776f['toLowerCase']();for(let _0x2795e5 of _0x57879d)if(_0x2795e5['alias']['some'](_0x1dcc49=>_0x1dcc49==_0x51776f))return _0x2795e5;if(_0x4297f0){for(let _0x1c23b5 of _0x57879d)for(let _0x28c5fd of _0x1c23b5['alias']){let _0x3a9b60=_0x51776f['indexOf'](_0x28c5fd);if(_0x3a9b60>-0x1&&(_0x28c5fd['length']>0x2||!/\w/['test'](_0x51776f[_0x3a9b60-0x1])&&!/\w/['test'](_0x51776f[_0x3a9b60+_0x28c5fd['length']])))return _0x1c23b5;}}return null;}}const indentService=Facet['define'](),indentUnit=Facet['define']({'combine':_0x48f48a=>{if(!_0x48f48a['length'])return'\x20\x20';let _0x5c0453=_0x48f48a[0x0];if(!_0x5c0453||/\S/['test'](_0x5c0453)||Array['from'](_0x5c0453)['some'](_0x196131=>_0x196131!=_0x5c0453[0x0]))throw new Error('Invalid\x20indent\x20unit:\x20'+JSON['stringify'](_0x48f48a[0x0]));return _0x5c0453;}});function getIndentUnit(_0x2f89e4){let _0x11ddc9=_0x2f89e4['facet'](indentUnit);return 0x9==_0x11ddc9['charCodeAt'](0x0)?_0x2f89e4['tabSize']*_0x11ddc9['length']:_0x11ddc9['length'];}function indentString(_0x4bbeee,_0x4ff132){let _0x197d45='',_0x18b49e=_0x4bbeee['tabSize'],_0x21e11f=_0x4bbeee['facet'](indentUnit)[0x0];if('\x09'==_0x21e11f){for(;_0x4ff132>=_0x18b49e;)_0x197d45+='\x09',_0x4ff132-=_0x18b49e;_0x21e11f='\x20';}for(let _0x1ca89e=0x0;_0x1ca89e<_0x4ff132;_0x1ca89e++)_0x197d45+=_0x21e11f;return _0x197d45;}function getIndentation(_0x2fc387,_0x39dd46){_0x2fc387 instanceof EditorState&&(_0x2fc387=new IndentContext(_0x2fc387));for(let _0x1ba424 of _0x2fc387['state']['facet'](indentService)){let _0x236d30=_0x1ba424(_0x2fc387,_0x39dd46);if(void 0x0!==_0x236d30)return _0x236d30;}let _0x27afb0=syntaxTree(_0x2fc387['state']);return _0x27afb0['length']>=_0x39dd46?syntaxIndentation(_0x2fc387,_0x27afb0,_0x39dd46):null;}class IndentContext{constructor(_0x55559b,_0x26ab2f={}){this['state']=_0x55559b,this['options']=_0x26ab2f,this['unit']=getIndentUnit(_0x55559b);}['lineAt'](_0x36415e,_0x442442=0x1){let _0x3183fe=this['state']['doc']['lineAt'](_0x36415e),{simulateBreak:_0x10b63d,simulateDoubleBreak:_0x3ad43d}=this['options'];return null!=_0x10b63d&&_0x10b63d>=_0x3183fe['from']&&_0x10b63d<=_0x3183fe['to']?_0x3ad43d&&_0x10b63d==_0x36415e?{'text':'','from':_0x36415e}:(_0x442442<0x0?_0x10b63d<_0x36415e:_0x10b63d<=_0x36415e)?{'text':_0x3183fe['text']['slice'](_0x10b63d-_0x3183fe['from']),'from':_0x10b63d}:{'text':_0x3183fe['text']['slice'](0x0,_0x10b63d-_0x3183fe['from']),'from':_0x3183fe['from']}:_0x3183fe;}['textAfterPos'](_0x54d0e3,_0x3ce8a0=0x1){if(this['options']['simulateDoubleBreak']&&_0x54d0e3==this['options']['simulateBreak'])return'';let {text:_0x4c4787,from:_0x37089b}=this['lineAt'](_0x54d0e3,_0x3ce8a0);return _0x4c4787['slice'](_0x54d0e3-_0x37089b,Math['min'](_0x4c4787['length'],_0x54d0e3+0x64-_0x37089b));}['column'](_0xf84bcb,_0x1be967=0x1){let {text:_0x4564cd,from:_0x4d8273}=this['lineAt'](_0xf84bcb,_0x1be967),_0x86212a=this['countColumn'](_0x4564cd,_0xf84bcb-_0x4d8273),_0x37d860=this['options']['overrideIndentation']?this['options']['overrideIndentation'](_0x4d8273):-0x1;return _0x37d860>-0x1&&(_0x86212a+=_0x37d860-this['countColumn'](_0x4564cd,_0x4564cd['search'](/\S|$/))),_0x86212a;}['countColumn'](_0x59ffa6,_0x346ddf=_0x59ffa6['length']){return countColumn(_0x59ffa6,this['state']['tabSize'],_0x346ddf);}['lineIndent'](_0x2565b5,_0x398dd2=0x1){let {text:_0x4a0435,from:_0x5a95d5}=this['lineAt'](_0x2565b5,_0x398dd2),_0x1136c6=this['options']['overrideIndentation'];if(_0x1136c6){let _0x1c5cf8=_0x1136c6(_0x5a95d5);if(_0x1c5cf8>-0x1)return _0x1c5cf8;}return this['countColumn'](_0x4a0435,_0x4a0435['search'](/\S|$/));}get['simulatedBreak'](){return this['options']['simulateBreak']||null;}}const indentNodeProp=new _0x332766();function syntaxIndentation(_0x406c24,_0x214c9d,_0x57ab33){let _0xa88e45=_0x214c9d['resolveStack'](_0x57ab33),_0x2f14ea=_0x214c9d['resolveInner'](_0x57ab33,-0x1)['resolve'](_0x57ab33,0x0)['enterUnfinishedNodesBefore'](_0x57ab33);if(_0x2f14ea!=_0xa88e45['node']){let _0x312919=[];for(let _0x294577=_0x2f14ea;_0x294577&&!(_0x294577['from']<_0xa88e45['node']['from']||_0x294577['to']>_0xa88e45['node']['to']||_0x294577['from']==_0xa88e45['node']['from']&&_0x294577['type']==_0xa88e45['node']['type']);_0x294577=_0x294577['parent'])_0x312919['push'](_0x294577);for(let _0x3e36c0=_0x312919['length']-0x1;_0x3e36c0>=0x0;_0x3e36c0--)_0xa88e45={'node':_0x312919[_0x3e36c0],'next':_0xa88e45};}return indentFor(_0xa88e45,_0x406c24,_0x57ab33);}function indentFor(_0x113111,_0x27da46,_0x5d9770){for(let _0x353c5f=_0x113111;_0x353c5f;_0x353c5f=_0x353c5f['next']){let _0x37b413=indentStrategy(_0x353c5f['node']);if(_0x37b413)return _0x37b413(TreeIndentContext['create'](_0x27da46,_0x5d9770,_0x353c5f));}return 0x0;}function _0x396e17(_0x5964b5){return _0x5964b5['pos']==_0x5964b5['options']['simulateBreak']&&_0x5964b5['options']['simulateDoubleBreak'];}function indentStrategy(_0x543932){let _0xdadd54=_0x543932['type']['prop'](indentNodeProp);if(_0xdadd54)return _0xdadd54;let _0x3ed021,_0x29309e=_0x543932['firstChild'];if(_0x29309e&&(_0x3ed021=_0x29309e['type']['prop'](_0x332766['closedBy']))){let _0x3f1ac8=_0x543932['lastChild'],_0xb5baa8=_0x3f1ac8&&_0x3ed021['indexOf'](_0x3f1ac8['name'])>-0x1;return _0x1d59f6=>delimitedStrategy(_0x1d59f6,!0x0,0x1,void 0x0,_0xb5baa8&&!_0x396e17(_0x1d59f6)?_0x3f1ac8['from']:void 0x0);}return null==_0x543932['parent']?topIndent:null;}function topIndent(){return 0x0;}class TreeIndentContext extends IndentContext{constructor(_0x34bc98,_0x243460,_0xd82cf2){super(_0x34bc98['state'],_0x34bc98['options']),this['base']=_0x34bc98,this['pos']=_0x243460,this['context']=_0xd82cf2;}get['node'](){return this['context']['node'];}static['create'](_0x23dbd6,_0x3ec3d3,_0x2f0d64){return new TreeIndentContext(_0x23dbd6,_0x3ec3d3,_0x2f0d64);}get['textAfter'](){return this['textAfterPos'](this['pos']);}get['baseIndent'](){return this['baseIndentFor'](this['node']);}['baseIndentFor'](_0xa967fd){let _0x32a796=this['state']['doc']['lineAt'](_0xa967fd['from']);for(;;){let _0x355172=_0xa967fd['resolve'](_0x32a796['from']);for(;_0x355172['parent']&&_0x355172['parent']['from']==_0x355172['from'];)_0x355172=_0x355172['parent'];if(isParent(_0x355172,_0xa967fd))break;_0x32a796=this['state']['doc']['lineAt'](_0x355172['from']);}return this['lineIndent'](_0x32a796['from']);}['continue'](){return indentFor(this['context']['next'],this['base'],this['pos']);}}function isParent(_0x2218bf,_0x1a20f5){for(let _0x2e9b7a=_0x1a20f5;_0x2e9b7a;_0x2e9b7a=_0x2e9b7a['parent'])if(_0x2218bf==_0x2e9b7a)return!0x0;return!0x1;}function bracketedAligned(_0x4b2705){let _0x2d5fbc=_0x4b2705['node'],_0x152388=_0x2d5fbc['childAfter'](_0x2d5fbc['from']),_0x4e15b5=_0x2d5fbc['lastChild'];if(!_0x152388)return null;let _0x164daf=_0x4b2705['options']['simulateBreak'],_0x5d5dff=_0x4b2705['state']['doc']['lineAt'](_0x152388['from']),_0x296368=null==_0x164daf||_0x164daf<=_0x5d5dff['from']?_0x5d5dff['to']:Math['min'](_0x5d5dff['to'],_0x164daf);for(let _0x5908bc=_0x152388['to'];;){let _0x526e53=_0x2d5fbc['childAfter'](_0x5908bc);if(!_0x526e53||_0x526e53==_0x4e15b5)return null;if(!_0x526e53['type']['isSkipped']){if(_0x526e53['from']>=_0x296368)return null;let _0x20a766=/^ */['exec'](_0x5d5dff['text']['slice'](_0x152388['to']-_0x5d5dff['from']))[0x0]['length'];return{'from':_0x152388['from'],'to':_0x152388['to']+_0x20a766};}_0x5908bc=_0x526e53['to'];}}function delimitedIndent({closing:_0x5a5b90,align:_0x1030c2=!0x0,units:_0x44117d=0x1}){return _0x895fb2=>delimitedStrategy(_0x895fb2,_0x1030c2,_0x44117d,_0x5a5b90);}function delimitedStrategy(_0x1dd09b,_0x168b4e,_0xf70088,_0x4cf571,_0x542dba){let _0x18b40b=_0x1dd09b['textAfter'],_0x2504eb=_0x18b40b['match'](/^\s*/)[0x0]['length'],_0x594ec2=_0x4cf571&&_0x18b40b['slice'](_0x2504eb,_0x2504eb+_0x4cf571['length'])==_0x4cf571||_0x542dba==_0x1dd09b['pos']+_0x2504eb,_0x10ac77=_0x168b4e?bracketedAligned(_0x1dd09b):null;return _0x10ac77?_0x594ec2?_0x1dd09b['column'](_0x10ac77['from']):_0x1dd09b['column'](_0x10ac77['to']):_0x1dd09b['baseIndent']+(_0x594ec2?0x0:_0x1dd09b['unit']*_0xf70088);}const flatIndent=_0x5c7620=>_0x5c7620['baseIndent'];function continuedIndent({except:_0x4e86db,units:_0x7d1522=0x1}={}){return _0x27b364=>{let _0x3814d8=_0x4e86db&&_0x4e86db['test'](_0x27b364['textAfter']);return _0x27b364['baseIndent']+(_0x3814d8?0x0:_0x7d1522*_0x27b364['unit']);};}const DontIndentBeyond=0xc8;function indentOnInput(){return EditorState['transactionFilter']['of'](_0x529789=>{if(!_0x529789['docChanged']||!_0x529789['isUserEvent']('input.type')&&!_0x529789['isUserEvent']('input.complete'))return _0x529789;let _0x41bd5f=_0x529789['startState']['languageDataAt']('indentOnInput',_0x529789['startState']['selection']['main']['head']);if(!_0x41bd5f['length'])return _0x529789;let _0x5427dd=_0x529789['newDoc'],{head:_0xaebe47}=_0x529789['newSelection']['main'],_0x13ad49=_0x5427dd['lineAt'](_0xaebe47);if(_0xaebe47>_0x13ad49['from']+DontIndentBeyond)return _0x529789;let _0x3168d7=_0x5427dd['sliceString'](_0x13ad49['from'],_0xaebe47);if(!_0x41bd5f['some'](_0x34901f=>_0x34901f['test'](_0x3168d7)))return _0x529789;let {state:_0x3e8b3c}=_0x529789,_0x234dc1=-0x1,_0x4a02bf=[];for(let {head:_0x189eaf}of _0x3e8b3c['selection']['ranges']){let _0x195221=_0x3e8b3c['doc']['lineAt'](_0x189eaf);if(_0x195221['from']==_0x234dc1)continue;_0x234dc1=_0x195221['from'];let _0x3d5f57=getIndentation(_0x3e8b3c,_0x195221['from']);if(null==_0x3d5f57)continue;let _0x4cfad0=/^\s*/['exec'](_0x195221['text'])[0x0],_0x3da52e=indentString(_0x3e8b3c,_0x3d5f57);_0x4cfad0!=_0x3da52e&&_0x4a02bf['push']({'from':_0x195221['from'],'to':_0x195221['from']+_0x4cfad0['length'],'insert':_0x3da52e});}return _0x4a02bf['length']?[_0x529789,{'changes':_0x4a02bf,'sequential':!0x0}]:_0x529789;});}const _0x4e5336=Facet['define'](),_0x2181a9=new _0x332766();function _0x1ff46f(_0x46b9d0){let _0x3415bd=_0x46b9d0['firstChild'],_0x48a557=_0x46b9d0['lastChild'];return _0x3415bd&&_0x3415bd['to']<_0x48a557['from']?{'from':_0x3415bd['to'],'to':_0x48a557['type']['isError']?_0x46b9d0['to']:_0x48a557['from']}:null;}function syntaxFolding(_0x1b6ce8,_0x4c14b2,_0x2bacd0){let _0x17caf6=syntaxTree(_0x1b6ce8);if(_0x17caf6['length']<_0x2bacd0)return null;let _0x380f57=null;for(let _0x3215d4=_0x17caf6['resolveStack'](_0x2bacd0,0x1);_0x3215d4;_0x3215d4=_0x3215d4['next']){let _0x3c3e7b=_0x3215d4['node'];if(_0x3c3e7b['to']<=_0x2bacd0||_0x3c3e7b['from']>_0x2bacd0)continue;if(_0x380f57&&_0x3c3e7b['from']<_0x4c14b2)break;let _0xf2b5d8=_0x3c3e7b['type']['prop'](_0x2181a9);if(_0xf2b5d8&&(_0x3c3e7b['to']<_0x17caf6['length']-0x32||_0x17caf6['length']==_0x1b6ce8['doc']['length']||!_0x2670e0(_0x3c3e7b))){let _0x1a9394=_0xf2b5d8(_0x3c3e7b,_0x1b6ce8);_0x1a9394&&_0x1a9394['from']<=_0x2bacd0&&_0x1a9394['from']>=_0x4c14b2&&_0x1a9394['to']>_0x2bacd0&&(_0x380f57=_0x1a9394);}}return _0x380f57;}function _0x2670e0(_0x14418b){let _0x2c895d=_0x14418b['lastChild'];return _0x2c895d&&_0x2c895d['to']==_0x14418b['to']&&_0x2c895d['type']['isError'];}function _0x487831(_0x5a0b1e,_0x1deab3,_0x2b6232){for(let _0x5d70df of _0x5a0b1e['facet'](_0x4e5336)){let _0xe85902=_0x5d70df(_0x5a0b1e,_0x1deab3,_0x2b6232);if(_0xe85902)return _0xe85902;}return syntaxFolding(_0x5a0b1e,_0x1deab3,_0x2b6232);}function _0x3c5658(_0x261431,_0x1dc987){let _0x2821eb=_0x1dc987['mapPos'](_0x261431['from'],0x1),_0x283322=_0x1dc987['mapPos'](_0x261431['to'],-0x1);return _0x2821eb>=_0x283322?void 0x0:{'from':_0x2821eb,'to':_0x283322};}const foldEffect=StateEffect['define']({'map':_0x3c5658}),unfoldEffect=StateEffect['define']({'map':_0x3c5658});function selectedLines(_0x5d75c9){let _0x257ebf=[];for(let {head:_0xfd3375}of _0x5d75c9['state']['selection']['ranges'])_0x257ebf['some'](_0x14059e=>_0x14059e['from']<=_0xfd3375&&_0x14059e['to']>=_0xfd3375)||_0x257ebf['push'](_0x5d75c9['lineBlockAt'](_0xfd3375));return _0x257ebf;}const foldState=StateField['define']({'create':()=>Decoration['none'],'update'(_0x495bf0,_0x534646){_0x534646['isUserEvent']('delete')&&_0x534646['changes']['iterChangedRanges']((_0x399d0a,_0x4ce18c)=>_0x495bf0=_0x117634(_0x495bf0,_0x399d0a,_0x4ce18c)),_0x495bf0=_0x495bf0['map'](_0x534646['changes']);for(let _0x6103a7 of _0x534646['effects'])if(_0x6103a7['is'](foldEffect)&&!foldExists(_0x495bf0,_0x6103a7['value']['from'],_0x6103a7['value']['to'])){let {preparePlaceholder:_0x1e21fb}=_0x534646['state']['facet'](_0x1a646b),_0x1d8cdf=_0x1e21fb?Decoration['replace']({'widget':new PreparedFoldWidget(_0x1e21fb(_0x534646['state'],_0x6103a7['value']))}):foldWidget;_0x495bf0=_0x495bf0['update']({'add':[_0x1d8cdf['range'](_0x6103a7['value']['from'],_0x6103a7['value']['to'])]});}else _0x6103a7['is'](unfoldEffect)&&(_0x495bf0=_0x495bf0['update']({'filter':(_0x388689,_0x51912d)=>_0x6103a7['value']['from']!=_0x388689||_0x6103a7['value']['to']!=_0x51912d,'filterFrom':_0x6103a7['value']['from'],'filterTo':_0x6103a7['value']['to']}));return _0x534646['selection']&&(_0x495bf0=_0x117634(_0x495bf0,_0x534646['selection']['main']['head'])),_0x495bf0;},'provide':_0x333bf4=>EditorView['decorations']['from'](_0x333bf4),'toJSON'(_0x5185e0,_0x4ec0cf){let _0x230a97=[];return _0x5185e0['between'](0x0,_0x4ec0cf['doc']['length'],(_0x56bf49,_0x54bfe8)=>{_0x230a97['push'](_0x56bf49,_0x54bfe8);}),_0x230a97;},'fromJSON'(_0xc9ac7d){if(!Array['isArray'](_0xc9ac7d)||_0xc9ac7d['length']%0x2)throw new RangeError('Invalid\x20JSON\x20for\x20fold\x20state');let _0x502750=[];for(let _0x16816e=0x0;_0x16816e<_0xc9ac7d['length'];){let _0x28c8c9=_0xc9ac7d[_0x16816e++],_0x73c5d2=_0xc9ac7d[_0x16816e++];if('number'!=typeof _0x28c8c9||'number'!=typeof _0x73c5d2)throw new RangeError('Invalid\x20JSON\x20for\x20fold\x20state');_0x502750['push'](foldWidget['range'](_0x28c8c9,_0x73c5d2));}return Decoration['set'](_0x502750,!0x0);}});function _0x117634(_0x2f18ef,_0x49e2a9,_0x339e51=_0x49e2a9){let _0x4fb548=!0x1;return _0x2f18ef['between'](_0x49e2a9,_0x339e51,(_0x5a2d1a,_0x318278)=>{_0x5a2d1a<_0x339e51&&_0x318278>_0x49e2a9&&(_0x4fb548=!0x0);}),_0x4fb548?_0x2f18ef['update']({'filterFrom':_0x49e2a9,'filterTo':_0x339e51,'filter':(_0x576427,_0x1c6076)=>_0x576427>=_0x339e51||_0x1c6076<=_0x49e2a9}):_0x2f18ef;}function _0x4fe94c(_0x4cffca,_0x318dd9,_0xaa0274){var _0x2d8065;let _0x857a16=null;return null===(_0x2d8065=_0x4cffca['field'](foldState,!0x1))||void 0x0===_0x2d8065||_0x2d8065['between'](_0x318dd9,_0xaa0274,(_0x46cacd,_0x20319e)=>{(!_0x857a16||_0x857a16['from']>_0x46cacd)&&(_0x857a16={'from':_0x46cacd,'to':_0x20319e});}),_0x857a16;}function foldExists(_0x170fd3,_0x60db,_0x14bf6c){let _0x318166=!0x1;return _0x170fd3['between'](_0x60db,_0x60db,(_0x394dec,_0x413750)=>{_0x394dec==_0x60db&&_0x413750==_0x14bf6c&&(_0x318166=!0x0);}),_0x318166;}function _0x332904(_0x439233,_0x51a763){return _0x439233['field'](foldState,!0x1)?_0x51a763:_0x51a763['concat'](StateEffect['appendConfig']['of'](_0x5d266c()));}const _0x1444d7=_0x477c02=>{for(let _0xe974b7 of selectedLines(_0x477c02)){let _0x235991=_0x487831(_0x477c02['state'],_0xe974b7['from'],_0xe974b7['to']);if(_0x235991)return _0x477c02['dispatch']({'effects':_0x332904(_0x477c02['state'],[foldEffect['of'](_0x235991),_0x16fdeb(_0x477c02,_0x235991)])}),!0x0;}return!0x1;},_0x35246f=_0x279d82=>{if(!_0x279d82['state']['field'](foldState,!0x1))return!0x1;let _0x2315ec=[];for(let _0x24b3b4 of selectedLines(_0x279d82)){let _0x3ac7f1=_0x4fe94c(_0x279d82['state'],_0x24b3b4['from'],_0x24b3b4['to']);_0x3ac7f1&&_0x2315ec['push'](unfoldEffect['of'](_0x3ac7f1),_0x16fdeb(_0x279d82,_0x3ac7f1,!0x1));}return _0x2315ec['length']&&_0x279d82['dispatch']({'effects':_0x2315ec}),_0x2315ec['length']>0x0;};function _0x16fdeb(_0x15a2d5,_0x4c70f9,_0x46108b=!0x0){let _0x3645fe=_0x15a2d5['state']['doc']['lineAt'](_0x4c70f9['from'])['number'],_0xcd49ac=_0x15a2d5['state']['doc']['lineAt'](_0x4c70f9['to'])['number'];return EditorView['announce']['of'](_0x15a2d5['state']['phrase'](_0x46108b?'Folded\x20lines':'Unfolded\x20lines')+'\x20'+_0x3645fe+'\x20'+_0x15a2d5['state']['phrase']('to')+'\x20'+_0xcd49ac+'.');}const _0x5b02c1=_0x852d3c=>{let {state:_0x510eca}=_0x852d3c,_0x5f5b89=[];for(let _0x22e9f4=0x0;_0x22e9f4<_0x510eca['doc']['length'];){let _0x4ab0cd=_0x852d3c['lineBlockAt'](_0x22e9f4),_0x40b6e8=_0x487831(_0x510eca,_0x4ab0cd['from'],_0x4ab0cd['to']);_0x40b6e8&&_0x5f5b89['push'](foldEffect['of'](_0x40b6e8)),_0x22e9f4=(_0x40b6e8?_0x852d3c['lineBlockAt'](_0x40b6e8['to']):_0x4ab0cd)['to']+0x1;}return _0x5f5b89['length']&&_0x852d3c['dispatch']({'effects':_0x332904(_0x852d3c['state'],_0x5f5b89)}),!!_0x5f5b89['length'];},_0x3ed411=_0xff69b4=>{let _0x299f7d=_0xff69b4['state']['field'](foldState,!0x1);if(!_0x299f7d||!_0x299f7d['size'])return!0x1;let _0x25cd28=[];return _0x299f7d['between'](0x0,_0xff69b4['state']['doc']['length'],(_0x33a6e0,_0x254401)=>{_0x25cd28['push'](unfoldEffect['of']({'from':_0x33a6e0,'to':_0x254401}));}),_0xff69b4['dispatch']({'effects':_0x25cd28}),!0x0;},_0x58e31a=[{'key':'Ctrl-Shift-[','mac':'Cmd-Alt-[','run':_0x1444d7},{'key':'Ctrl-Shift-]','mac':'Cmd-Alt-]','run':_0x35246f},{'key':'Ctrl-Alt-[','run':_0x5b02c1},{'key':'Ctrl-Alt-]','run':_0x3ed411}],defaultConfig={'placeholderDOM':null,'preparePlaceholder':null,'placeholderText':'…'},_0x1a646b=Facet['define']({'combine':_0x45d83b=>_0x253a1e(_0x45d83b,defaultConfig)});function _0x5d266c(_0x45f6b9){return[foldState,_0x35677e];}function widgetToDOM(_0xaa4755,_0x5abaf1){let {state:_0x1ed573}=_0xaa4755,_0x2f803f=_0x1ed573['facet'](_0x1a646b),_0x3adf80=_0x977fcf=>{let _0x3afed6=_0xaa4755['lineBlockAt'](_0xaa4755['posAtDOM'](_0x977fcf['target'])),_0x3f7f69=_0x4fe94c(_0xaa4755['state'],_0x3afed6['from'],_0x3afed6['to']);_0x3f7f69&&_0xaa4755['dispatch']({'effects':unfoldEffect['of'](_0x3f7f69)}),_0x977fcf['preventDefault']();};if(_0x2f803f['placeholderDOM'])return _0x2f803f['placeholderDOM'](_0xaa4755,_0x3adf80,_0x5abaf1);let _0x55cc85=document['createElement']('span');return _0x55cc85['textContent']=_0x2f803f['placeholderText'],_0x55cc85['setAttribute']('aria-label',_0x1ed573['phrase']('folded\x20code')),_0x55cc85['title']=_0x1ed573['phrase']('unfold'),_0x55cc85['className']='cm-foldPlaceholder',_0x55cc85['onclick']=_0x3adf80,_0x55cc85;}const foldWidget=Decoration['replace']({'widget':new class extends WidgetType{['toDOM'](_0x3bcb9e){return widgetToDOM(_0x3bcb9e,null);}}()});class PreparedFoldWidget extends WidgetType{constructor(_0x45a18c){super(),this['value']=_0x45a18c;}['eq'](_0x29d99d){return this['value']==_0x29d99d['value'];}['toDOM'](_0x4c40c7){return widgetToDOM(_0x4c40c7,this['value']);}}const foldGutterDefaults={'openText':'⌄','closedText':'›','markerDOM':null,'domEventHandlers':{},'foldingChanged':()=>!0x1};class _0x44cd76 extends GutterMarker{constructor(_0x461f1c,_0x4125dc){super(),this['config']=_0x461f1c,this['open']=_0x4125dc;}['eq'](_0xd6ec94){return this['config']==_0xd6ec94['config']&&this['open']==_0xd6ec94['open'];}['toDOM'](_0x3eaacb){if(this['config']['markerDOM'])return this['config']['markerDOM'](this['open']);let _0x45df7e=document['createElement']('span');return _0x45df7e['textContent']=this['open']?this['config']['openText']:this['config']['closedText'],_0x45df7e['title']=_0x3eaacb['state']['phrase'](this['open']?'Fold\x20line':'Unfold\x20line'),_0x45df7e;}}function foldGutter(_0x9ce797={}){let _0x1810b7={...foldGutterDefaults,..._0x9ce797},_0x405253=new _0x44cd76(_0x1810b7,!0x0),_0x425092=new _0x44cd76(_0x1810b7,!0x1),_0x54d650=_0x132f9d['fromClass'](class{constructor(_0x54123e){this['from']=_0x54123e['viewport']['from'],this['markers']=this['buildMarkers'](_0x54123e);}['update'](_0x2fba96){(_0x2fba96['docChanged']||_0x2fba96['viewportChanged']||_0x2fba96['startState']['facet'](_0x258089)!=_0x2fba96['state']['facet'](_0x258089)||_0x2fba96['startState']['field'](foldState,!0x1)!=_0x2fba96['state']['field'](foldState,!0x1)||syntaxTree(_0x2fba96['startState'])!=syntaxTree(_0x2fba96['state'])||_0x1810b7['foldingChanged'](_0x2fba96))&&(this['markers']=this['buildMarkers'](_0x2fba96['view']));}['buildMarkers'](_0x52e95d){let _0x1d91a8=new RangeSetBuilder();for(let _0x54c7ac of _0x52e95d['viewportLineBlocks']){let _0x550368=_0x4fe94c(_0x52e95d['state'],_0x54c7ac['from'],_0x54c7ac['to'])?_0x425092:_0x487831(_0x52e95d['state'],_0x54c7ac['from'],_0x54c7ac['to'])?_0x405253:null;_0x550368&&_0x1d91a8['add'](_0x54c7ac['from'],_0x54c7ac['from'],_0x550368);}return _0x1d91a8['finish']();}}),{domEventHandlers:_0x197413}=_0x1810b7;return[_0x54d650,gutter({'class':'cm-foldGutter','markers'(_0x177e18){var _0x114844;return(null===(_0x114844=_0x177e18['plugin'](_0x54d650))||void 0x0===_0x114844?void 0x0:_0x114844['markers'])||RangeSet['empty'];},'initialSpacer':()=>new _0x44cd76(_0x1810b7,!0x1),'domEventHandlers':{..._0x197413,'click':(_0x40d979,_0x489cce,_0x53bead)=>{if(_0x197413['click']&&_0x197413['click'](_0x40d979,_0x489cce,_0x53bead))return!0x0;let _0x374f3f=_0x4fe94c(_0x40d979['state'],_0x489cce['from'],_0x489cce['to']);if(_0x374f3f)return _0x40d979['dispatch']({'effects':unfoldEffect['of'](_0x374f3f)}),!0x0;let _0x1975d0=_0x487831(_0x40d979['state'],_0x489cce['from'],_0x489cce['to']);return!!_0x1975d0&&(_0x40d979['dispatch']({'effects':foldEffect['of'](_0x1975d0)}),!0x0);}}}),_0x5d266c()];}const _0x35677e=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(_0x524af9,_0x3723f0){let _0x535d64;function _0x4c998(_0x2891f7){let _0x4c6c7c=StyleModule['newName']();return(_0x535d64||(_0x535d64=Object['create'](null)))['.'+_0x4c6c7c]=_0x2891f7,_0x4c6c7c;}this['specs']=_0x524af9;const _0x28f25b='string'==typeof _0x3723f0['all']?_0x3723f0['all']:_0x3723f0['all']?_0x4c998(_0x3723f0['all']):void 0x0,_0xa680ed=_0x3723f0['scope'];this['scope']=_0xa680ed instanceof _0xb28216?_0xb6ae9f=>_0xb6ae9f['prop'](languageDataProp)==_0xa680ed['data']:_0xa680ed?_0x5acaa4=>_0x5acaa4==_0xa680ed:void 0x0,this['style']=tagHighlighter(_0x524af9['map'](_0x40535a=>({'tag':_0x40535a['tag'],'class':_0x40535a['class']||_0x4c998(Object['assign']({},_0x40535a,{'tag':null}))})),{'all':_0x28f25b})['style'],this['module']=_0x535d64?new StyleModule(_0x535d64):null,this['themeType']=_0x3723f0['themeType'];}static['define'](_0x337594,_0xfd2ab7){return new HighlightStyle(_0x337594,_0xfd2ab7||{});}}const highlighterFacet=Facet['define'](),fallbackHighlighter=Facet['define']({'combine':_0x20ff4e=>_0x20ff4e['length']?[_0x20ff4e[0x0]]:null});function getHighlighters(_0x1347a0){let _0x186212=_0x1347a0['facet'](highlighterFacet);return _0x186212['length']?_0x186212:_0x1347a0['facet'](fallbackHighlighter);}function syntaxHighlighting(_0x3c0b4b,_0x5bd0f7){let _0xc0c914,_0x25e0eb=[treeHighlighter];return _0x3c0b4b instanceof HighlightStyle&&(_0x3c0b4b['module']&&_0x25e0eb['push'](EditorView['styleModule']['of'](_0x3c0b4b['module'])),_0xc0c914=_0x3c0b4b['themeType']),(null==_0x5bd0f7?void 0x0:_0x5bd0f7['fallback'])?_0x25e0eb['push'](fallbackHighlighter['of'](_0x3c0b4b)):_0xc0c914?_0x25e0eb['push'](highlighterFacet['computeN']([EditorView['darkTheme']],_0x39521c=>_0x39521c['facet'](EditorView['darkTheme'])==('dark'==_0xc0c914)?[_0x3c0b4b]:[])):_0x25e0eb['push'](highlighterFacet['of'](_0x3c0b4b)),_0x25e0eb;}class TreeHighlighter{constructor(_0x21ded2){this['markCache']=Object['create'](null),this['tree']=syntaxTree(_0x21ded2['state']),this['decorations']=this['buildDeco'](_0x21ded2,getHighlighters(_0x21ded2['state'])),this['decoratedTo']=_0x21ded2['viewport']['to'];}['update'](_0x1c045d){let _0x48037d=syntaxTree(_0x1c045d['state']),_0x54867f=getHighlighters(_0x1c045d['state']),_0x564d88=_0x54867f!=getHighlighters(_0x1c045d['startState']),{viewport:_0x554f57}=_0x1c045d['view'],_0x3c1a25=_0x1c045d['changes']['mapPos'](this['decoratedTo'],0x1);_0x48037d['length']<_0x554f57['to']&&!_0x564d88&&_0x48037d['type']==this['tree']['type']&&_0x3c1a25>=_0x554f57['to']?(this['decorations']=this['decorations']['map'](_0x1c045d['changes']),this['decoratedTo']=_0x3c1a25):(_0x48037d!=this['tree']||_0x1c045d['viewportChanged']||_0x564d88)&&(this['tree']=_0x48037d,this['decorations']=this['buildDeco'](_0x1c045d['view'],_0x54867f),this['decoratedTo']=_0x554f57['to']);}['buildDeco'](_0x233ee9,_0x16126e){if(!_0x16126e||!this['tree']['length'])return Decoration['none'];let _0x2526f8=new RangeSetBuilder();for(let {from:_0x59f2b8,to:_0x40cfd8}of _0x233ee9['visibleRanges'])highlightTree(this['tree'],_0x16126e,(_0x57e807,_0x16c296,_0x79c1d)=>{_0x2526f8['add'](_0x57e807,_0x16c296,this['markCache'][_0x79c1d]||(this['markCache'][_0x79c1d]=Decoration['mark']({'class':_0x79c1d})));},_0x59f2b8,_0x40cfd8);return _0x2526f8['finish']();}}const treeHighlighter=_0x4004fa['high'](_0x132f9d['fromClass'](TreeHighlighter,{'decorations':_0x5d6fee=>_0x5d6fee['decorations']})),defaultHighlightStyle=HighlightStyle['define']([{'tag':tags$1['meta'],'color':'#404740'},{'tag':tags$1['link'],'textDecoration':'underline'},{'tag':tags$1['heading'],'textDecoration':'underline','fontWeight':'bold'},{'tag':tags$1['emphasis'],'fontStyle':'italic'},{'tag':tags$1['strong'],'fontWeight':'bold'},{'tag':tags$1['strikethrough'],'textDecoration':'line-through'},{'tag':tags$1['keyword'],'color':'#708'},{'tag':[tags$1['atom'],tags$1['bool'],tags$1['url'],tags$1['contentSeparator'],tags$1['labelName']],'color':'#219'},{'tag':[tags$1['literal'],tags$1['inserted']],'color':'#164'},{'tag':[tags$1['string'],tags$1['deleted']],'color':'#a11'},{'tag':[tags$1['regexp'],tags$1['escape'],tags$1['special'](tags$1['string'])],'color':'#e40'},{'tag':tags$1['definition'](tags$1['variableName']),'color':'#00f'},{'tag':tags$1['local'](tags$1['variableName']),'color':'#30a'},{'tag':[tags$1['typeName'],tags$1['namespace']],'color':'#085'},{'tag':tags$1['className'],'color':'#167'},{'tag':[tags$1['special'](tags$1['variableName']),tags$1['macroName']],'color':'#256'},{'tag':tags$1['definition'](tags$1['propertyName']),'color':'#00c'},{'tag':tags$1['comment'],'color':'#940'},{'tag':tags$1['invalid'],'color':'#f00'}]),_0x5902c2=EditorView['baseTheme']({'&.cm-focused\x20.cm-matchingBracket':{'backgroundColor':'#328c8252'},'&.cm-focused\x20.cm-nonmatchingBracket':{'backgroundColor':'#bb555544'}}),DefaultScanDist=0x2710,DefaultBrackets='()[]{}',bracketMatchingConfig=Facet['define']({'combine':_0xae9f0e=>_0x253a1e(_0xae9f0e,{'afterCursor':!0x0,'brackets':DefaultBrackets,'maxScanDistance':DefaultScanDist,'renderMatch':defaultRenderMatch})}),matchingMark=Decoration['mark']({'class':'cm-matchingBracket'}),nonmatchingMark=Decoration['mark']({'class':'cm-nonmatchingBracket'});function defaultRenderMatch(_0x5adda2){let _0x4a66b2=[],_0x33cca8=_0x5adda2['matched']?matchingMark:nonmatchingMark;return _0x4a66b2['push'](_0x33cca8['range'](_0x5adda2['start']['from'],_0x5adda2['start']['to'])),_0x5adda2['end']&&_0x4a66b2['push'](_0x33cca8['range'](_0x5adda2['end']['from'],_0x5adda2['end']['to'])),_0x4a66b2;}const bracketMatchingState=StateField['define']({'create':()=>Decoration['none'],'update'(_0x2c72a8,_0x5695ec){if(!_0x5695ec['docChanged']&&!_0x5695ec['selection'])return _0x2c72a8;let _0x289eb9=[],_0x1a0a76=_0x5695ec['state']['facet'](bracketMatchingConfig);for(let _0x1c0cbc of _0x5695ec['state']['selection']['ranges']){if(!_0x1c0cbc['empty'])continue;let _0x253df2=matchBrackets(_0x5695ec['state'],_0x1c0cbc['head'],-0x1,_0x1a0a76)||_0x1c0cbc['head']>0x0&&matchBrackets(_0x5695ec['state'],_0x1c0cbc['head']-0x1,0x1,_0x1a0a76)||_0x1a0a76['afterCursor']&&(matchBrackets(_0x5695ec['state'],_0x1c0cbc['head'],0x1,_0x1a0a76)||_0x1c0cbc['head']<_0x5695ec['state']['doc']['length']&&matchBrackets(_0x5695ec['state'],_0x1c0cbc['head']+0x1,-0x1,_0x1a0a76));_0x253df2&&(_0x289eb9=_0x289eb9['concat'](_0x1a0a76['renderMatch'](_0x253df2,_0x5695ec['state'])));}return Decoration['set'](_0x289eb9,!0x0);},'provide':_0x49c6a4=>EditorView['decorations']['from'](_0x49c6a4)}),bracketMatchingUnique=[bracketMatchingState,_0x5902c2];function bracketMatching(_0x5b7acd={}){return[bracketMatchingConfig['of'](_0x5b7acd),bracketMatchingUnique];}const bracketMatchingHandle=new _0x332766();function matchingNodes(_0x5be963,_0xcb1bdd,_0xc99283){let _0x10a54e=_0x5be963['prop'](_0xcb1bdd<0x0?_0x332766['openedBy']:_0x332766['closedBy']);if(_0x10a54e)return _0x10a54e;if(0x1==_0x5be963['name']['length']){let _0x116c7d=_0xc99283['indexOf'](_0x5be963['name']);if(_0x116c7d>-0x1&&_0x116c7d%0x2==(_0xcb1bdd<0x0?0x1:0x0))return[_0xc99283[_0x116c7d+_0xcb1bdd]];}return null;}function _0x3ad1f0(_0x9c91b8){let _0x512d37=_0x9c91b8['type']['prop'](bracketMatchingHandle);return _0x512d37?_0x512d37(_0x9c91b8['node']):_0x9c91b8;}function matchBrackets(_0x54285a,_0x37ced8,_0x26c5db,_0x59b7a2={}){let _0x78cf56=_0x59b7a2['maxScanDistance']||DefaultScanDist,_0x406106=_0x59b7a2['brackets']||DefaultBrackets,_0x397747=syntaxTree(_0x54285a),_0x5078d6=_0x397747['resolveInner'](_0x37ced8,_0x26c5db);for(let _0x46a903=_0x5078d6;_0x46a903;_0x46a903=_0x46a903['parent']){let _0x43e456=matchingNodes(_0x46a903['type'],_0x26c5db,_0x406106);if(_0x43e456&&_0x46a903['from']<_0x46a903['to']){let _0xdc0e06=_0x3ad1f0(_0x46a903);if(_0xdc0e06&&(_0x26c5db>0x0?_0x37ced8>=_0xdc0e06['from']&&_0x37ced8<_0xdc0e06['to']:_0x37ced8>_0xdc0e06['from']&&_0x37ced8<=_0xdc0e06['to']))return matchMarkedBrackets(_0x54285a,_0x37ced8,_0x26c5db,_0x46a903,_0xdc0e06,_0x43e456,_0x406106);}}return matchPlainBrackets(_0x54285a,_0x37ced8,_0x26c5db,_0x397747,_0x5078d6['type'],_0x78cf56,_0x406106);}function matchMarkedBrackets(_0x38d196,_0x32bf6b,_0x2e9e26,_0x1035df,_0x1b8d36,_0x456677,_0x2385a5){let _0x18d368=_0x1035df['parent'],_0x12724d={'from':_0x1b8d36['from'],'to':_0x1b8d36['to']},_0x2124c9=0x0,_0x28fb4f=null==_0x18d368?void 0x0:_0x18d368['cursor']();if(_0x28fb4f&&(_0x2e9e26<0x0?_0x28fb4f['childBefore'](_0x1035df['from']):_0x28fb4f['childAfter'](_0x1035df['to'])))do{if(_0x2e9e26<0x0?_0x28fb4f['to']<=_0x1035df['from']:_0x28fb4f['from']>=_0x1035df['to']){if(0x0==_0x2124c9&&_0x456677['indexOf'](_0x28fb4f['type']['name'])>-0x1&&_0x28fb4f['from']<_0x28fb4f['to']){let _0x1d2599=_0x3ad1f0(_0x28fb4f);return{'start':_0x12724d,'end':_0x1d2599?{'from':_0x1d2599['from'],'to':_0x1d2599['to']}:void 0x0,'matched':!0x0};}if(matchingNodes(_0x28fb4f['type'],_0x2e9e26,_0x2385a5))_0x2124c9++;else{if(matchingNodes(_0x28fb4f['type'],-_0x2e9e26,_0x2385a5)){if(0x0==_0x2124c9){let _0xe098c7=_0x3ad1f0(_0x28fb4f);return{'start':_0x12724d,'end':_0xe098c7&&_0xe098c7['from']<_0xe098c7['to']?{'from':_0xe098c7['from'],'to':_0xe098c7['to']}:void 0x0,'matched':!0x1};}_0x2124c9--;}}}}while(_0x2e9e26<0x0?_0x28fb4f['prevSibling']():_0x28fb4f['nextSibling']());return{'start':_0x12724d,'matched':!0x1};}function matchPlainBrackets(_0x22f023,_0x5f787f,_0x40ba38,_0x210920,_0x329ad2,_0xdd339,_0x369c90){let _0x4c2379=_0x40ba38<0x0?_0x22f023['sliceDoc'](_0x5f787f-0x1,_0x5f787f):_0x22f023['sliceDoc'](_0x5f787f,_0x5f787f+0x1),_0x4785e7=_0x369c90['indexOf'](_0x4c2379);if(_0x4785e7<0x0||_0x4785e7%0x2==0x0!=_0x40ba38>0x0)return null;let _0x3f8f6c={'from':_0x40ba38<0x0?_0x5f787f-0x1:_0x5f787f,'to':_0x40ba38>0x0?_0x5f787f+0x1:_0x5f787f},_0x21c542=_0x22f023['doc']['iterRange'](_0x5f787f,_0x40ba38>0x0?_0x22f023['doc']['length']:0x0),_0x1fca73=0x0;for(let _0x2172d9=0x0;!_0x21c542['next']()['done']&&_0x2172d9<=_0xdd339;){let _0x4f0839=_0x21c542['value'];_0x40ba38<0x0&&(_0x2172d9+=_0x4f0839['length']);let _0x26b80c=_0x5f787f+_0x2172d9*_0x40ba38;for(let _0x3cdac1=_0x40ba38>0x0?0x0:_0x4f0839['length']-0x1,_0x41542e=_0x40ba38>0x0?_0x4f0839['length']:-0x1;_0x3cdac1!=_0x41542e;_0x3cdac1+=_0x40ba38){let _0x1d7ffc=_0x369c90['indexOf'](_0x4f0839[_0x3cdac1]);if(!(_0x1d7ffc<0x0||_0x210920['resolveInner'](_0x26b80c+_0x3cdac1,0x1)['type']!=_0x329ad2)){if(_0x1d7ffc%0x2==0x0==_0x40ba38>0x0)_0x1fca73++;else{if(0x1==_0x1fca73)return{'start':_0x3f8f6c,'end':{'from':_0x26b80c+_0x3cdac1,'to':_0x26b80c+_0x3cdac1+0x1},'matched':_0x1d7ffc>>0x1==_0x4785e7>>0x1};_0x1fca73--;}}}_0x40ba38>0x0&&(_0x2172d9+=_0x4f0839['length']);}return _0x21c542['done']?{'start':_0x3f8f6c,'matched':!0x1}:null;}const _0x3cf3fb=Object['create'](null),typeArray=[_0x37cf2b['none']],_0x74677d=[],_0x3df564=Object['create'](null),defaultTable=Object['create'](null);for(let [_0x28687a,_0x5cd9dc]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']])defaultTable[_0x28687a]=createTokenType(_0x3cf3fb,_0x5cd9dc);function warnForPart(_0x5433c0,_0x554fab){_0x74677d['indexOf'](_0x5433c0)>-0x1||(_0x74677d['push'](_0x5433c0),console['warn'](_0x554fab));}function createTokenType(_0x5077e3,_0x3b6ab3){let _0x1be938=[];for(let _0x276b77 of _0x3b6ab3['split']('\x20')){let _0x4c7f00=[];for(let _0x154c9d of _0x276b77['split']('.')){let _0x4758a4=_0x5077e3[_0x154c9d]||tags$1[_0x154c9d];_0x4758a4?'function'==typeof _0x4758a4?_0x4c7f00['length']?_0x4c7f00=_0x4c7f00['map'](_0x4758a4):warnForPart(_0x154c9d,'Modifier\x20'+_0x154c9d+'\x20used\x20at\x20start\x20of\x20tag'):_0x4c7f00['length']?warnForPart(_0x154c9d,'Tag\x20'+_0x154c9d+'\x20used\x20as\x20modifier'):_0x4c7f00=Array['isArray'](_0x4758a4)?_0x4758a4:[_0x4758a4]:warnForPart(_0x154c9d,'Unknown\x20highlighting\x20tag\x20'+_0x154c9d);}for(let _0x447851 of _0x4c7f00)_0x1be938['push'](_0x447851);}if(!_0x1be938['length'])return 0x0;let _0x2fe22a=_0x3b6ab3['replace'](/ /g,'_'),_0x5e7c7d=_0x2fe22a+'\x20'+_0x1be938['map'](t=>t['id']),_0x5da7b8=_0x3df564[_0x5e7c7d];if(_0x5da7b8)return _0x5da7b8['id'];let _0x24d7a6=_0x3df564[_0x5e7c7d]=_0x37cf2b['define']({'id':typeArray['length'],'name':_0x2fe22a,'props':[styleTags({[_0x2fe22a]:_0x1be938})]});return typeArray['push'](_0x24d7a6),_0x24d7a6['id'];}Direction['RTL'],Direction['LTR'];const toggleComment=_0x49e5d3=>{let {state:_0x45f3a7}=_0x49e5d3,_0x18197b=_0x45f3a7['doc']['lineAt'](_0x45f3a7['selection']['main']['from']),_0x221a86=getConfig(_0x49e5d3['state'],_0x18197b['from']);return _0x221a86['line']?toggleLineComment(_0x49e5d3):!!_0x221a86['block']&&toggleBlockCommentByLine(_0x49e5d3);};function _0x57c8f4(_0x71765a,_0x34b7fd){return({state:_0x9e3bbe,dispatch:_0x27ac9f})=>{if(_0x9e3bbe['readOnly'])return!0x1;let _0x313597=_0x71765a(_0x34b7fd,_0x9e3bbe);return!!_0x313597&&(_0x27ac9f(_0x9e3bbe['update'](_0x313597)),!0x0);};}const toggleLineComment=_0x57c8f4(changeLineComment,0x0),toggleBlockComment=_0x57c8f4(changeBlockComment,0x0),toggleBlockCommentByLine=_0x57c8f4((_0x2bda93,_0xe4b6fd)=>changeBlockComment(_0x2bda93,_0xe4b6fd,selectedLineRanges(_0xe4b6fd)),0x0);function getConfig(_0x4d8d31,_0x5766e2){let _0xd5530c=_0x4d8d31['languageDataAt']('commentTokens',_0x5766e2,0x1);return _0xd5530c['length']?_0xd5530c[0x0]:{};}const _0x523e5d=0x32;function findBlockComment(_0x237b6c,{open:_0x2f2ee1,close:_0x9cd9f2},_0x40b458,_0x3a0bb6){let _0x3bfc6d,_0x167521,_0x1f4c56=_0x237b6c['sliceDoc'](_0x40b458-_0x523e5d,_0x40b458),_0x3400de=_0x237b6c['sliceDoc'](_0x3a0bb6,_0x3a0bb6+_0x523e5d),_0xcea424=/\s*$/['exec'](_0x1f4c56)[0x0]['length'],_0x10dda3=/^\s*/['exec'](_0x3400de)[0x0]['length'],_0xd82b8b=_0x1f4c56['length']-_0xcea424;if(_0x1f4c56['slice'](_0xd82b8b-_0x2f2ee1['length'],_0xd82b8b)==_0x2f2ee1&&_0x3400de['slice'](_0x10dda3,_0x10dda3+_0x9cd9f2['length'])==_0x9cd9f2)return{'open':{'pos':_0x40b458-_0xcea424,'margin':_0xcea424&&0x1},'close':{'pos':_0x3a0bb6+_0x10dda3,'margin':_0x10dda3&&0x1}};_0x3a0bb6-_0x40b458<=0x2*_0x523e5d?_0x3bfc6d=_0x167521=_0x237b6c['sliceDoc'](_0x40b458,_0x3a0bb6):(_0x3bfc6d=_0x237b6c['sliceDoc'](_0x40b458,_0x40b458+_0x523e5d),_0x167521=_0x237b6c['sliceDoc'](_0x3a0bb6-_0x523e5d,_0x3a0bb6));let _0x2b8d51=/^\s*/['exec'](_0x3bfc6d)[0x0]['length'],_0x291e86=/\s*$/['exec'](_0x167521)[0x0]['length'],_0x4785b4=_0x167521['length']-_0x291e86-_0x9cd9f2['length'];return _0x3bfc6d['slice'](_0x2b8d51,_0x2b8d51+_0x2f2ee1['length'])==_0x2f2ee1&&_0x167521['slice'](_0x4785b4,_0x4785b4+_0x9cd9f2['length'])==_0x9cd9f2?{'open':{'pos':_0x40b458+_0x2b8d51+_0x2f2ee1['length'],'margin':/\s/['test'](_0x3bfc6d['charAt'](_0x2b8d51+_0x2f2ee1['length']))?0x1:0x0},'close':{'pos':_0x3a0bb6-_0x291e86-_0x9cd9f2['length'],'margin':/\s/['test'](_0x167521['charAt'](_0x4785b4-0x1))?0x1:0x0}}:null;}function selectedLineRanges(_0x597794){let _0x1b9285=[];for(let _0x232fb6 of _0x597794['selection']['ranges']){let _0xaf93cb=_0x597794['doc']['lineAt'](_0x232fb6['from']),_0x26bffa=_0x232fb6['to']<=_0xaf93cb['to']?_0xaf93cb:_0x597794['doc']['lineAt'](_0x232fb6['to']);_0x26bffa['from']>_0xaf93cb['from']&&_0x26bffa['from']==_0x232fb6['to']&&(_0x26bffa=_0x232fb6['to']==_0xaf93cb['to']+0x1?_0xaf93cb:_0x597794['doc']['lineAt'](_0x232fb6['to']-0x1));let _0x3956d4=_0x1b9285['length']-0x1;_0x3956d4>=0x0&&_0x1b9285[_0x3956d4]['to']>_0xaf93cb['from']?_0x1b9285[_0x3956d4]['to']=_0x26bffa['to']:_0x1b9285['push']({'from':_0xaf93cb['from']+/^\s*/['exec'](_0xaf93cb['text'])[0x0]['length'],'to':_0x26bffa['to']});}return _0x1b9285;}function changeBlockComment(_0xda0d05,_0x93c645,_0x4769a3=_0x93c645['selection']['ranges']){let _0x167610=_0x4769a3['map'](_0x3449d8=>getConfig(_0x93c645,_0x3449d8['from'])['block']);if(!_0x167610['every'](_0x348fc4=>_0x348fc4))return null;let _0x2ebdc2=_0x4769a3['map']((_0x570d7d,_0xffee0)=>findBlockComment(_0x93c645,_0x167610[_0xffee0],_0x570d7d['from'],_0x570d7d['to']));if(0x2!=_0xda0d05&&!_0x2ebdc2['every'](_0x5a7bd1=>_0x5a7bd1))return{'changes':_0x93c645['changes'](_0x4769a3['map']((_0x1e0948,_0x5a70f5)=>_0x2ebdc2[_0x5a70f5]?[]:[{'from':_0x1e0948['from'],'insert':_0x167610[_0x5a70f5]['open']+'\x20'},{'from':_0x1e0948['to'],'insert':'\x20'+_0x167610[_0x5a70f5]['close']}]))};if(0x1!=_0xda0d05&&_0x2ebdc2['some'](_0xa96346=>_0xa96346)){let _0x43cf92=[];for(let _0x47adc9,_0x573265=0x0;_0x573265<_0x2ebdc2['length'];_0x573265++)if(_0x47adc9=_0x2ebdc2[_0x573265]){let _0x364c72=_0x167610[_0x573265],{open:_0x2af99c,close:_0x4358e7}=_0x47adc9;_0x43cf92['push']({'from':_0x2af99c['pos']-_0x364c72['open']['length'],'to':_0x2af99c['pos']+_0x2af99c['margin']},{'from':_0x4358e7['pos']-_0x4358e7['margin'],'to':_0x4358e7['pos']+_0x364c72['close']['length']});}return{'changes':_0x43cf92};}return null;}function changeLineComment(_0x2ac596,_0x513a63,_0x10f47f=_0x513a63['selection']['ranges']){let _0x4f2569=[],_0x6f7f39=-0x1;for(let {from:_0x454689,to:_0xdb4060}of _0x10f47f){let _0xa1d13a=_0x4f2569['length'],_0x359912=0x3b9aca00,_0x210ea3=getConfig(_0x513a63,_0x454689)['line'];if(_0x210ea3){for(let _0x394852=_0x454689;_0x394852<=_0xdb4060;){let _0xe66907=_0x513a63['doc']['lineAt'](_0x394852);if(_0xe66907['from']>_0x6f7f39&&(_0x454689==_0xdb4060||_0xdb4060>_0xe66907['from'])){_0x6f7f39=_0xe66907['from'];let _0x2d41fb=/^\s*/['exec'](_0xe66907['text'])[0x0]['length'],_0x3235c2=_0x2d41fb==_0xe66907['length'],_0xe4132d=_0xe66907['text']['slice'](_0x2d41fb,_0x2d41fb+_0x210ea3['length'])==_0x210ea3?_0x2d41fb:-0x1;_0x2d41fb<_0xe66907['text']['length']&&_0x2d41fb<_0x359912&&(_0x359912=_0x2d41fb),_0x4f2569['push']({'line':_0xe66907,'comment':_0xe4132d,'token':_0x210ea3,'indent':_0x2d41fb,'empty':_0x3235c2,'single':!0x1});}_0x394852=_0xe66907['to']+0x1;}if(_0x359912<0x3b9aca00){for(let _0x5a1482=_0xa1d13a;_0x5a1482<_0x4f2569['length'];_0x5a1482++)_0x4f2569[_0x5a1482]['indent']<_0x4f2569[_0x5a1482]['line']['text']['length']&&(_0x4f2569[_0x5a1482]['indent']=_0x359912);}_0x4f2569['length']==_0xa1d13a+0x1&&(_0x4f2569[_0xa1d13a]['single']=!0x0);}}if(0x2!=_0x2ac596&&_0x4f2569['some'](_0x851f7a=>_0x851f7a['comment']<0x0&&(!_0x851f7a['empty']||_0x851f7a['single']))){let _0x437891=[];for(let {line:_0x4e28d4,token:_0x4693e6,indent:_0x5a8bc8,empty:_0x100feb,single:_0x515dd8}of _0x4f2569)!_0x515dd8&&_0x100feb||_0x437891['push']({'from':_0x4e28d4['from']+_0x5a8bc8,'insert':_0x4693e6+'\x20'});let _0x1b1a34=_0x513a63['changes'](_0x437891);return{'changes':_0x1b1a34,'selection':_0x513a63['selection']['map'](_0x1b1a34,0x1)};}if(0x1!=_0x2ac596&&_0x4f2569['some'](_0x3474b3=>_0x3474b3['comment']>=0x0)){let _0x52160c=[];for(let {line:_0x5ee78e,comment:_0x430581,token:_0x557be5}of _0x4f2569)if(_0x430581>=0x0){let _0x434be=_0x5ee78e['from']+_0x430581,_0x475b07=_0x434be+_0x557be5['length'];'\x20'==_0x5ee78e['text'][_0x475b07-_0x5ee78e['from']]&&_0x475b07++,_0x52160c['push']({'from':_0x434be,'to':_0x475b07});}return{'changes':_0x52160c};}return null;}const fromHistory=Annotation['define'](),isolateHistory=Annotation['define'](),invertedEffects=Facet['define'](),historyConfig=Facet['define']({'combine':_0x25db5a=>_0x253a1e(_0x25db5a,{'minDepth':0x64,'newGroupDelay':0x1f4,'joinToEvent':(_0x58316b,_0x1c6275)=>_0x1c6275},{'minDepth':Math['max'],'newGroupDelay':Math['min'],'joinToEvent':(_0x309dd6,_0x39bcdd)=>(_0x1a2b10,_0x3417f5)=>_0x309dd6(_0x1a2b10,_0x3417f5)||_0x39bcdd(_0x1a2b10,_0x3417f5)})}),historyField_=StateField['define']({'create':()=>HistoryState['empty'],'update'(_0x123a21,_0x29951a){let _0x404a0d=_0x29951a['state']['facet'](historyConfig),_0x3756c6=_0x29951a['annotation'](fromHistory);if(_0x3756c6){let _0x105b61=HistEvent['fromTransaction'](_0x29951a,_0x3756c6['selection']),_0x11f85d=_0x3756c6['side'],_0x1e5fc5=0x0==_0x11f85d?_0x123a21['undone']:_0x123a21['done'];return _0x1e5fc5=_0x105b61?updateBranch(_0x1e5fc5,_0x1e5fc5['length'],_0x404a0d['minDepth'],_0x105b61):addSelection(_0x1e5fc5,_0x29951a['startState']['selection']),new HistoryState(0x0==_0x11f85d?_0x3756c6['rest']:_0x1e5fc5,0x0==_0x11f85d?_0x1e5fc5:_0x3756c6['rest']);}let _0x45d766=_0x29951a['annotation'](isolateHistory);if('full'!=_0x45d766&&'before'!=_0x45d766||(_0x123a21=_0x123a21['isolate']()),!0x1===_0x29951a['annotation'](Transaction['addToHistory']))return _0x29951a['changes']['empty']?_0x123a21:_0x123a21['addMapping'](_0x29951a['changes']['desc']);let _0x5bc33e=HistEvent['fromTransaction'](_0x29951a),_0x52a051=_0x29951a['annotation'](Transaction['time']),_0x45b033=_0x29951a['annotation'](Transaction['userEvent']);return _0x5bc33e?_0x123a21=_0x123a21['addChanges'](_0x5bc33e,_0x52a051,_0x45b033,_0x404a0d,_0x29951a):_0x29951a['selection']&&(_0x123a21=_0x123a21['addSelection'](_0x29951a['startState']['selection'],_0x52a051,_0x45b033,_0x404a0d['newGroupDelay'])),'full'!=_0x45d766&&'after'!=_0x45d766||(_0x123a21=_0x123a21['isolate']()),_0x123a21;},'toJSON':_0x20b0c6=>({'done':_0x20b0c6['done']['map'](_0x599e2c=>_0x599e2c['toJSON']()),'undone':_0x20b0c6['undone']['map'](_0xce57f2=>_0xce57f2['toJSON']())}),'fromJSON':_0x4c7ca7=>new HistoryState(_0x4c7ca7['done']['map'](HistEvent['fromJSON']),_0x4c7ca7['undone']['map'](HistEvent['fromJSON']))});function history(_0x970119={}){return[historyField_,historyConfig['of'](_0x970119),EditorView['domEventHandlers']({'beforeinput'(_0x1e1804,_0x34cb1c){let _0x364f35='historyUndo'==_0x1e1804['inputType']?_0x3c3b6d:'historyRedo'==_0x1e1804['inputType']?_0x49606d:null;return!!_0x364f35&&(_0x1e1804['preventDefault'](),_0x364f35(_0x34cb1c));}})];}function _0x54e08a(_0x3d60d6,_0x39bd05){return function({state:_0x44e48d,dispatch:_0x36d129}){if(!_0x39bd05&&_0x44e48d['readOnly'])return!0x1;let _0x4bafbf=_0x44e48d['field'](historyField_,!0x1);if(!_0x4bafbf)return!0x1;let _0x5bc8b3=_0x4bafbf['pop'](_0x3d60d6,_0x44e48d,_0x39bd05);return!!_0x5bc8b3&&(_0x36d129(_0x5bc8b3),!0x0);};}const _0x3c3b6d=_0x54e08a(0x0,!0x1),_0x49606d=_0x54e08a(0x1,!0x1),undoSelection=_0x54e08a(0x0,!0x0),redoSelection=_0x54e08a(0x1,!0x0);class HistEvent{constructor(_0x13e414,_0x598830,_0x59fedb,_0x1469b4,_0x30a022){this['changes']=_0x13e414,this['effects']=_0x598830,this['mapped']=_0x59fedb,this['startSelection']=_0x1469b4,this['selectionsAfter']=_0x30a022;}['setSelAfter'](_0xa1f119){return new HistEvent(this['changes'],this['effects'],this['mapped'],this['startSelection'],_0xa1f119);}['toJSON'](){var _0x115109,_0x433ab3,_0x41cad5;return{'changes':null===(_0x115109=this['changes'])||void 0x0===_0x115109?void 0x0:_0x115109['toJSON'](),'mapped':null===(_0x433ab3=this['mapped'])||void 0x0===_0x433ab3?void 0x0:_0x433ab3['toJSON'](),'startSelection':null===(_0x41cad5=this['startSelection'])||void 0x0===_0x41cad5?void 0x0:_0x41cad5['toJSON'](),'selectionsAfter':this['selectionsAfter']['map'](_0x242a81=>_0x242a81['toJSON']())};}static['fromJSON'](_0x4100f5){return new HistEvent(_0x4100f5['changes']&&ChangeSet['fromJSON'](_0x4100f5['changes']),[],_0x4100f5['mapped']&&_0x39cc47['fromJSON'](_0x4100f5['mapped']),_0x4100f5['startSelection']&&EditorSelection['fromJSON'](_0x4100f5['startSelection']),_0x4100f5['selectionsAfter']['map'](EditorSelection['fromJSON']));}static['fromTransaction'](_0x1a317d,_0x30da28){let _0xca7abf=_0x1d4d46;for(let _0x1734f0 of _0x1a317d['startState']['facet'](invertedEffects)){let _0x4cecc5=_0x1734f0(_0x1a317d);_0x4cecc5['length']&&(_0xca7abf=_0xca7abf['concat'](_0x4cecc5));}return!_0xca7abf['length']&&_0x1a317d['changes']['empty']?null:new HistEvent(_0x1a317d['changes']['invert'](_0x1a317d['startState']['doc']),_0xca7abf,void 0x0,_0x30da28||_0x1a317d['startState']['selection'],_0x1d4d46);}static['selection'](_0x124a48){return new HistEvent(void 0x0,_0x1d4d46,void 0x0,void 0x0,_0x124a48);}}function updateBranch(_0x4cf3e8,_0x4d838d,_0x5649e0,_0x3d52fa){let _0x30b60b=_0x4d838d+0x1>_0x5649e0+0x14?_0x4d838d-_0x5649e0-0x1:0x0,_0x3edc1f=_0x4cf3e8['slice'](_0x30b60b,_0x4d838d);return _0x3edc1f['push'](_0x3d52fa),_0x3edc1f;}function isAdjacent(_0x215734,_0x2da9fe){let _0x5e8913=[],_0xe00fc5=!0x1;return _0x215734['iterChangedRanges']((_0x17c764,t)=>_0x5e8913['push'](_0x17c764,t)),_0x2da9fe['iterChangedRanges']((_0xf28fa0,_0x46e96c,_0x15d60c,t)=>{for(let _0x276e15=0x0;_0x276e15<_0x5e8913['length'];){let _0x5dc3c3=_0x5e8913[_0x276e15++],_0x160769=_0x5e8913[_0x276e15++];t>=_0x5dc3c3&&_0x15d60c<=_0x160769&&(_0xe00fc5=!0x0);}}),_0xe00fc5;}function eqSelectionShape(_0x756320,_0x1b4494){return _0x756320['ranges']['length']==_0x1b4494['ranges']['length']&&0x0===_0x756320['ranges']['filter']((_0x25e1f1,_0x28f378)=>_0x25e1f1['empty']!=_0x1b4494['ranges'][_0x28f378]['empty'])['length'];}function _0x39471a(_0x2c5adf,_0x2c6e59){return _0x2c5adf['length']?_0x2c6e59['length']?_0x2c5adf['concat'](_0x2c6e59):_0x2c5adf:_0x2c6e59;}const _0x1d4d46=[],MaxSelectionsPerEvent=0xc8;function addSelection(_0x420422,_0x57419c){if(_0x420422['length']){let _0x557cd9=_0x420422[_0x420422['length']-0x1],_0x545389=_0x557cd9['selectionsAfter']['slice'](Math['max'](0x0,_0x557cd9['selectionsAfter']['length']-MaxSelectionsPerEvent));return _0x545389['length']&&_0x545389[_0x545389['length']-0x1]['eq'](_0x57419c)?_0x420422:(_0x545389['push'](_0x57419c),updateBranch(_0x420422,_0x420422['length']-0x1,0x3b9aca00,_0x557cd9['setSelAfter'](_0x545389)));}return[HistEvent['selection']([_0x57419c])];}function popSelection(_0x8cf318){let _0x11c2d4=_0x8cf318[_0x8cf318['length']-0x1],_0x168aca=_0x8cf318['slice']();return _0x168aca[_0x8cf318['length']-0x1]=_0x11c2d4['setSelAfter'](_0x11c2d4['selectionsAfter']['slice'](0x0,_0x11c2d4['selectionsAfter']['length']-0x1)),_0x168aca;}function _0x44978a(_0x30f4f8,_0x455167){if(!_0x30f4f8['length'])return _0x30f4f8;let _0x18e3c2=_0x30f4f8['length'],_0x25e892=_0x1d4d46;for(;_0x18e3c2;){let _0x4c45ed=mapEvent(_0x30f4f8[_0x18e3c2-0x1],_0x455167,_0x25e892);if(_0x4c45ed['changes']&&!_0x4c45ed['changes']['empty']||_0x4c45ed['effects']['length']){let _0x229839=_0x30f4f8['slice'](0x0,_0x18e3c2);return _0x229839[_0x18e3c2-0x1]=_0x4c45ed,_0x229839;}_0x455167=_0x4c45ed['mapped'],_0x18e3c2--,_0x25e892=_0x4c45ed['selectionsAfter'];}return _0x25e892['length']?[HistEvent['selection'](_0x25e892)]:_0x1d4d46;}function mapEvent(_0x27da17,_0x2961dc,_0x2c4a18){let _0x156c37=_0x39471a(_0x27da17['selectionsAfter']['length']?_0x27da17['selectionsAfter']['map'](_0x8b4e37=>_0x8b4e37['map'](_0x2961dc)):_0x1d4d46,_0x2c4a18);if(!_0x27da17['changes'])return HistEvent['selection'](_0x156c37);let _0x492ccb=_0x27da17['changes']['map'](_0x2961dc),_0x4b4486=_0x2961dc['mapDesc'](_0x27da17['changes'],!0x0),_0x3f9e5e=_0x27da17['mapped']?_0x27da17['mapped']['composeDesc'](_0x4b4486):_0x4b4486;return new HistEvent(_0x492ccb,StateEffect['mapEffects'](_0x27da17['effects'],_0x2961dc),_0x3f9e5e,_0x27da17['startSelection']['map'](_0x4b4486),_0x156c37);}const joinableUserEvent=/^(input\.type|delete)($|\.)/;class HistoryState{constructor(_0x391230,_0xe37a32,_0x51e76f=0x0,_0x4d1496=void 0x0){this['done']=_0x391230,this['undone']=_0xe37a32,this['prevTime']=_0x51e76f,this['prevUserEvent']=_0x4d1496;}['isolate'](){return this['prevTime']?new HistoryState(this['done'],this['undone']):this;}['addChanges'](_0x1dfc82,_0x17b677,_0x3c7f52,_0x15261c,_0x146d65){let _0x190260=this['done'],_0x323dce=_0x190260[_0x190260['length']-0x1];return _0x190260=_0x323dce&&_0x323dce['changes']&&!_0x323dce['changes']['empty']&&_0x1dfc82['changes']&&(!_0x3c7f52||joinableUserEvent['test'](_0x3c7f52))&&(!_0x323dce['selectionsAfter']['length']&&_0x17b677-this['prevTime']<_0x15261c['newGroupDelay']&&_0x15261c['joinToEvent'](_0x146d65,isAdjacent(_0x323dce['changes'],_0x1dfc82['changes']))||'input.type.compose'==_0x3c7f52)?updateBranch(_0x190260,_0x190260['length']-0x1,_0x15261c['minDepth'],new HistEvent(_0x1dfc82['changes']['compose'](_0x323dce['changes']),_0x39471a(StateEffect['mapEffects'](_0x1dfc82['effects'],_0x323dce['changes']),_0x323dce['effects']),_0x323dce['mapped'],_0x323dce['startSelection'],_0x1d4d46)):updateBranch(_0x190260,_0x190260['length'],_0x15261c['minDepth'],_0x1dfc82),new HistoryState(_0x190260,_0x1d4d46,_0x17b677,_0x3c7f52);}['addSelection'](_0x5c8ef8,_0x4c6f40,_0x5d2a87,_0x298b91){let _0x148196=this['done']['length']?this['done'][this['done']['length']-0x1]['selectionsAfter']:_0x1d4d46;return _0x148196['length']>0x0&&_0x4c6f40-this['prevTime']<_0x298b91&&_0x5d2a87==this['prevUserEvent']&&_0x5d2a87&&/^select($|\.)/['test'](_0x5d2a87)&&eqSelectionShape(_0x148196[_0x148196['length']-0x1],_0x5c8ef8)?this:new HistoryState(addSelection(this['done'],_0x5c8ef8),this['undone'],_0x4c6f40,_0x5d2a87);}['addMapping'](_0x5bc2fc){return new HistoryState(_0x44978a(this['done'],_0x5bc2fc),_0x44978a(this['undone'],_0x5bc2fc),this['prevTime'],this['prevUserEvent']);}['pop'](_0x14bea7,_0x248a00,_0x48581f){let _0x2d065c=0x0==_0x14bea7?this['done']:this['undone'];if(0x0==_0x2d065c['length'])return null;let _0x24b680=_0x2d065c[_0x2d065c['length']-0x1],_0x325614=_0x24b680['selectionsAfter'][0x0]||_0x248a00['selection'];if(_0x48581f&&_0x24b680['selectionsAfter']['length'])return _0x248a00['update']({'selection':_0x24b680['selectionsAfter'][_0x24b680['selectionsAfter']['length']-0x1],'annotations':fromHistory['of']({'side':_0x14bea7,'rest':popSelection(_0x2d065c),'selection':_0x325614}),'userEvent':0x0==_0x14bea7?'select.undo':'select.redo','scrollIntoView':!0x0});if(_0x24b680['changes']){let _0x574e36=0x1==_0x2d065c['length']?_0x1d4d46:_0x2d065c['slice'](0x0,_0x2d065c['length']-0x1);return _0x24b680['mapped']&&(_0x574e36=_0x44978a(_0x574e36,_0x24b680['mapped'])),_0x248a00['update']({'changes':_0x24b680['changes'],'selection':_0x24b680['startSelection'],'effects':_0x24b680['effects'],'annotations':fromHistory['of']({'side':_0x14bea7,'rest':_0x574e36,'selection':_0x325614}),'filter':!0x1,'userEvent':0x0==_0x14bea7?'undo':'redo','scrollIntoView':!0x0});}return null;}}HistoryState['empty']=new HistoryState(_0x1d4d46,_0x1d4d46);const historyKeymap=[{'key':'Mod-z','run':_0x3c3b6d,'preventDefault':!0x0},{'key':'Mod-y','mac':'Mod-Shift-z','run':_0x49606d,'preventDefault':!0x0},{'linux':'Ctrl-Shift-z','run':_0x49606d,'preventDefault':!0x0},{'key':'Mod-u','run':undoSelection,'preventDefault':!0x0},{'key':'Alt-u','mac':'Mod-Shift-u','run':redoSelection,'preventDefault':!0x0}];function updateSel(_0x5e60c8,_0xbf50ca){return EditorSelection['create'](_0x5e60c8['ranges']['map'](_0xbf50ca),_0x5e60c8['mainIndex']);}function setSel(_0x28e62b,_0x511f03){return _0x28e62b['update']({'selection':_0x511f03,'scrollIntoView':!0x0,'userEvent':'select'});}function _0x788c14({state:_0x259dfd,dispatch:_0x17fa4f},_0x272fea){let _0x1b7f91=updateSel(_0x259dfd['selection'],_0x272fea);return!_0x1b7f91['eq'](_0x259dfd['selection'],!0x0)&&(_0x17fa4f(setSel(_0x259dfd,_0x1b7f91)),!0x0);}function _0x2753b1(_0x4d0f9a,_0xae396a){return EditorSelection['cursor'](_0xae396a?_0x4d0f9a['to']:_0x4d0f9a['from']);}function _0x43b836(_0x20bbdb,_0x45395a){return _0x788c14(_0x20bbdb,_0x248d46=>_0x248d46['empty']?_0x20bbdb['moveByChar'](_0x248d46,_0x45395a):_0x2753b1(_0x248d46,_0x45395a));}function ltrAtCursor(_0x4351db){return _0x4351db['textDirectionAt'](_0x4351db['state']['selection']['main']['head'])==Direction['LTR'];}const cursorCharLeft=_0x35febf=>_0x43b836(_0x35febf,!ltrAtCursor(_0x35febf)),cursorCharRight=_0x440719=>_0x43b836(_0x440719,ltrAtCursor(_0x440719));function _0x32c76e(_0x7eec78,_0x110eb4){return _0x788c14(_0x7eec78,_0x9fd6d0=>_0x9fd6d0['empty']?_0x7eec78['moveByGroup'](_0x9fd6d0,_0x110eb4):_0x2753b1(_0x9fd6d0,_0x110eb4));}const cursorGroupLeft=_0x5ad057=>_0x32c76e(_0x5ad057,!ltrAtCursor(_0x5ad057)),cursorGroupRight=_0x1d1334=>_0x32c76e(_0x1d1334,ltrAtCursor(_0x1d1334));function interestingNode(_0x528bb8,_0x44ec1d,_0x3863ea){if(_0x44ec1d['type']['prop'](_0x3863ea))return!0x0;let _0x5c6f7f=_0x44ec1d['to']-_0x44ec1d['from'];return _0x5c6f7f&&(_0x5c6f7f>0x2||/[^\s,.;:]/['test'](_0x528bb8['sliceDoc'](_0x44ec1d['from'],_0x44ec1d['to'])))||_0x44ec1d['firstChild'];}function moveBySyntax(_0x9275b1,_0x218222,_0xf29c98){let _0x2cdce3,_0x5b4387,_0x1f7ac1=syntaxTree(_0x9275b1)['resolveInner'](_0x218222['head']),_0x43d4f5=_0xf29c98?_0x332766['closedBy']:_0x332766['openedBy'];for(let _0x2f5af5=_0x218222['head'];;){let _0xb52e50=_0xf29c98?_0x1f7ac1['childAfter'](_0x2f5af5):_0x1f7ac1['childBefore'](_0x2f5af5);if(!_0xb52e50)break;interestingNode(_0x9275b1,_0xb52e50,_0x43d4f5)?_0x1f7ac1=_0xb52e50:_0x2f5af5=_0xf29c98?_0xb52e50['to']:_0xb52e50['from'];}return _0x5b4387=_0x1f7ac1['type']['prop'](_0x43d4f5)&&(_0x2cdce3=_0xf29c98?matchBrackets(_0x9275b1,_0x1f7ac1['from'],0x1):matchBrackets(_0x9275b1,_0x1f7ac1['to'],-0x1))&&_0x2cdce3['matched']?_0xf29c98?_0x2cdce3['end']['to']:_0x2cdce3['end']['from']:_0xf29c98?_0x1f7ac1['to']:_0x1f7ac1['from'],EditorSelection['cursor'](_0x5b4387,_0xf29c98?-0x1:0x1);}const cursorSyntaxLeft=_0x25641e=>_0x788c14(_0x25641e,_0x495924=>moveBySyntax(_0x25641e['state'],_0x495924,!ltrAtCursor(_0x25641e))),cursorSyntaxRight=_0x39229b=>_0x788c14(_0x39229b,_0x90551a=>moveBySyntax(_0x39229b['state'],_0x90551a,ltrAtCursor(_0x39229b)));function _0x4c41b9(_0x1eb0f1,_0x1392b1){return _0x788c14(_0x1eb0f1,_0x39f759=>{if(!_0x39f759['empty'])return _0x2753b1(_0x39f759,_0x1392b1);let _0x154c10=_0x1eb0f1['moveVertically'](_0x39f759,_0x1392b1);return _0x154c10['head']!=_0x39f759['head']?_0x154c10:_0x1eb0f1['moveToLineBoundary'](_0x39f759,_0x1392b1);});}const _0x146ab7=_0x58a483=>_0x4c41b9(_0x58a483,!0x1),_0x5934b7=_0x720367=>_0x4c41b9(_0x720367,!0x0);function _0x3bc4f9(_0x170ece){let _0x5a7a97,_0x20ec66=_0x170ece['scrollDOM']['clientHeight']<_0x170ece['scrollDOM']['scrollHeight']-0x2,_0x50dd8c=0x0,_0x3f1823=0x0;if(_0x20ec66){for(let _0xd9637f of _0x170ece['state']['facet'](EditorView['scrollMargins'])){let _0x2e79e3=_0xd9637f(_0x170ece);(null==_0x2e79e3?void 0x0:_0x2e79e3['top'])&&(_0x50dd8c=Math['max'](null==_0x2e79e3?void 0x0:_0x2e79e3['top'],_0x50dd8c)),(null==_0x2e79e3?void 0x0:_0x2e79e3['bottom'])&&(_0x3f1823=Math['max'](null==_0x2e79e3?void 0x0:_0x2e79e3['bottom'],_0x3f1823));}_0x5a7a97=_0x170ece['scrollDOM']['clientHeight']-_0x50dd8c-_0x3f1823;}else _0x5a7a97=(_0x170ece['dom']['ownerDocument']['defaultView']||window)['innerHeight'];return{'marginTop':_0x50dd8c,'marginBottom':_0x3f1823,'selfScroll':_0x20ec66,'height':Math['max'](_0x170ece['defaultLineHeight'],_0x5a7a97-0x5)};}function _0x54c066(_0x1fd41f,_0x46bc69){let _0x5b7990,_0x3dfa51=_0x3bc4f9(_0x1fd41f),{state:_0x4d7c11}=_0x1fd41f,_0x11ca5b=updateSel(_0x4d7c11['selection'],_0x158469=>_0x158469['empty']?_0x1fd41f['moveVertically'](_0x158469,_0x46bc69,_0x3dfa51['height']):_0x2753b1(_0x158469,_0x46bc69));if(_0x11ca5b['eq'](_0x4d7c11['selection']))return!0x1;if(_0x3dfa51['selfScroll']){let _0x17cb70=_0x1fd41f['coordsAtPos'](_0x4d7c11['selection']['main']['head']),_0x161237=_0x1fd41f['scrollDOM']['getBoundingClientRect'](),_0x4f31a4=_0x161237['top']+_0x3dfa51['marginTop'],_0x482b11=_0x161237['bottom']-_0x3dfa51['marginBottom'];_0x17cb70&&_0x17cb70['top']>_0x4f31a4&&_0x17cb70['bottom']<_0x482b11&&(_0x5b7990=EditorView['scrollIntoView'](_0x11ca5b['main']['head'],{'y':'start','yMargin':_0x17cb70['top']-_0x4f31a4}));}return _0x1fd41f['dispatch'](setSel(_0x4d7c11,_0x11ca5b),{'effects':_0x5b7990}),!0x0;}const _0x3af4e3=_0x48484f=>_0x54c066(_0x48484f,!0x1),_0x3a4238=_0x45325b=>_0x54c066(_0x45325b,!0x0);function _0x3b301f(_0x482a20,_0x4783cb,_0x2d1679){let _0xebd3bc=_0x482a20['lineBlockAt'](_0x4783cb['head']),_0x3b62ca=_0x482a20['moveToLineBoundary'](_0x4783cb,_0x2d1679);if(_0x3b62ca['head']==_0x4783cb['head']&&_0x3b62ca['head']!=(_0x2d1679?_0xebd3bc['to']:_0xebd3bc['from'])&&(_0x3b62ca=_0x482a20['moveToLineBoundary'](_0x4783cb,_0x2d1679,!0x1)),!_0x2d1679&&_0x3b62ca['head']==_0xebd3bc['from']&&_0xebd3bc['length']){let _0x2231c7=/^\s*/['exec'](_0x482a20['state']['sliceDoc'](_0xebd3bc['from'],Math['min'](_0xebd3bc['from']+0x64,_0xebd3bc['to'])))[0x0]['length'];_0x2231c7&&_0x4783cb['head']!=_0xebd3bc['from']+_0x2231c7&&(_0x3b62ca=EditorSelection['cursor'](_0xebd3bc['from']+_0x2231c7));}return _0x3b62ca;}const _0x1c006e=_0x30c828=>_0x788c14(_0x30c828,_0x3baa93=>_0x3b301f(_0x30c828,_0x3baa93,!0x0)),_0x5ce24e=_0x1ad588=>_0x788c14(_0x1ad588,_0x3b1280=>_0x3b301f(_0x1ad588,_0x3b1280,!0x1)),cursorLineBoundaryLeft=_0x4f0de9=>_0x788c14(_0x4f0de9,_0x1457da=>_0x3b301f(_0x4f0de9,_0x1457da,!ltrAtCursor(_0x4f0de9))),cursorLineBoundaryRight=_0x2a117a=>_0x788c14(_0x2a117a,_0x261cfe=>_0x3b301f(_0x2a117a,_0x261cfe,ltrAtCursor(_0x2a117a))),cursorLineStart=_0x2c227a=>_0x788c14(_0x2c227a,_0x1d38f7=>EditorSelection['cursor'](_0x2c227a['lineBlockAt'](_0x1d38f7['head'])['from'],0x1)),_0x10c678=_0x451851=>_0x788c14(_0x451851,_0xa24c9b=>EditorSelection['cursor'](_0x451851['lineBlockAt'](_0xa24c9b['head'])['to'],-0x1));function toMatchingBracket(_0x52de2f,_0x329120,_0xa567b2){let _0x495e54=!0x1,_0x354041=updateSel(_0x52de2f['selection'],_0x1c47eb=>{let _0x8b3b0b=matchBrackets(_0x52de2f,_0x1c47eb['head'],-0x1)||matchBrackets(_0x52de2f,_0x1c47eb['head'],0x1)||_0x1c47eb['head']>0x0&&matchBrackets(_0x52de2f,_0x1c47eb['head']-0x1,0x1)||_0x1c47eb['head']<_0x52de2f['doc']['length']&&matchBrackets(_0x52de2f,_0x1c47eb['head']+0x1,-0x1);if(!_0x8b3b0b||!_0x8b3b0b['end'])return _0x1c47eb;_0x495e54=!0x0;let _0x4e8170=_0x8b3b0b['start']['from']==_0x1c47eb['head']?_0x8b3b0b['end']['to']:_0x8b3b0b['end']['from'];return EditorSelection['cursor'](_0x4e8170);});return!!_0x495e54&&(_0x329120(setSel(_0x52de2f,_0x354041)),!0x0);}const cursorMatchingBracket=({state:_0x2d108,dispatch:_0x46b582})=>toMatchingBracket(_0x2d108,_0x46b582);function extendSel(_0x5b16ea,_0x22d6f3){let _0x4d222b=updateSel(_0x5b16ea['state']['selection'],_0x5050c7=>{let _0x766329=_0x22d6f3(_0x5050c7);return EditorSelection['range'](_0x5050c7['anchor'],_0x766329['head'],_0x766329['goalColumn'],_0x766329['bidiLevel']||void 0x0);});return!_0x4d222b['eq'](_0x5b16ea['state']['selection'])&&(_0x5b16ea['dispatch'](setSel(_0x5b16ea['state'],_0x4d222b)),!0x0);}function selectByChar(_0x5bd9d3,_0x5ec711){return extendSel(_0x5bd9d3,_0x36a317=>_0x5bd9d3['moveByChar'](_0x36a317,_0x5ec711));}const selectCharLeft=_0x231a0b=>selectByChar(_0x231a0b,!ltrAtCursor(_0x231a0b)),selectCharRight=_0x4ec285=>selectByChar(_0x4ec285,ltrAtCursor(_0x4ec285));function selectByGroup(_0x15f260,_0x4fb36d){return extendSel(_0x15f260,_0x32c97a=>_0x15f260['moveByGroup'](_0x32c97a,_0x4fb36d));}const selectGroupLeft=_0x165d4e=>selectByGroup(_0x165d4e,!ltrAtCursor(_0x165d4e)),selectGroupRight=_0x5f409a=>selectByGroup(_0x5f409a,ltrAtCursor(_0x5f409a)),selectSyntaxLeft=_0x57d481=>extendSel(_0x57d481,_0x44016a=>moveBySyntax(_0x57d481['state'],_0x44016a,!ltrAtCursor(_0x57d481))),selectSyntaxRight=_0x12931d=>extendSel(_0x12931d,_0x5d303e=>moveBySyntax(_0x12931d['state'],_0x5d303e,ltrAtCursor(_0x12931d)));function selectByLine(_0x1e6ca2,_0x150f9f){return extendSel(_0x1e6ca2,_0x1ed9e0=>_0x1e6ca2['moveVertically'](_0x1ed9e0,_0x150f9f));}const selectLineUp=_0x3dbd5a=>selectByLine(_0x3dbd5a,!0x1),selectLineDown=_0x134805=>selectByLine(_0x134805,!0x0);function selectByPage(_0x578505,_0x45ee0a){return extendSel(_0x578505,_0x14f182=>_0x578505['moveVertically'](_0x14f182,_0x45ee0a,_0x3bc4f9(_0x578505)['height']));}const selectPageUp=_0x12f1df=>selectByPage(_0x12f1df,!0x1),selectPageDown=_0x4ee4e7=>selectByPage(_0x4ee4e7,!0x0),selectLineBoundaryForward=_0x1f0ae4=>extendSel(_0x1f0ae4,_0x501e1d=>_0x3b301f(_0x1f0ae4,_0x501e1d,!0x0)),selectLineBoundaryBackward=_0x72ae55=>extendSel(_0x72ae55,_0x29fdcb=>_0x3b301f(_0x72ae55,_0x29fdcb,!0x1)),selectLineBoundaryLeft=_0x3daa9b=>extendSel(_0x3daa9b,_0x505244=>_0x3b301f(_0x3daa9b,_0x505244,!ltrAtCursor(_0x3daa9b))),selectLineBoundaryRight=_0x2acd2d=>extendSel(_0x2acd2d,_0x4f3289=>_0x3b301f(_0x2acd2d,_0x4f3289,ltrAtCursor(_0x2acd2d))),selectLineStart=_0x749142=>extendSel(_0x749142,_0x14adfb=>EditorSelection['cursor'](_0x749142['lineBlockAt'](_0x14adfb['head'])['from'])),selectLineEnd=_0x424634=>extendSel(_0x424634,_0x24ad61=>EditorSelection['cursor'](_0x424634['lineBlockAt'](_0x24ad61['head'])['to'])),cursorDocStart=({state:_0xbda182,dispatch:_0x17b5c4})=>(_0x17b5c4(setSel(_0xbda182,{'anchor':0x0})),!0x0),_0x193d77=({state:_0x1ff63d,dispatch:_0xc5fcd0})=>(_0xc5fcd0(setSel(_0x1ff63d,{'anchor':_0x1ff63d['doc']['length']})),!0x0),selectDocStart=({state:_0x3e2f42,dispatch:_0x5c2264})=>(_0x5c2264(setSel(_0x3e2f42,{'anchor':_0x3e2f42['selection']['main']['anchor'],'head':0x0})),!0x0),selectDocEnd=({state:_0x5b3015,dispatch:_0x1aac09})=>(_0x1aac09(setSel(_0x5b3015,{'anchor':_0x5b3015['selection']['main']['anchor'],'head':_0x5b3015['doc']['length']})),!0x0),selectAll=({state:_0x2c86ec,dispatch:_0x300d44})=>(_0x300d44(_0x2c86ec['update']({'selection':{'anchor':0x0,'head':_0x2c86ec['doc']['length']},'userEvent':'select'})),!0x0),selectLine=({state:_0x2e7140,dispatch:_0x13d1d7})=>{let _0x24d694=selectedLineBlocks(_0x2e7140)['map'](({from:_0x2774ea,to:_0x3a574b})=>EditorSelection['range'](_0x2774ea,Math['min'](_0x3a574b+0x1,_0x2e7140['doc']['length'])));return _0x13d1d7(_0x2e7140['update']({'selection':EditorSelection['create'](_0x24d694),'userEvent':'select'})),!0x0;},selectParentSyntax=({state:_0xc7219b,dispatch:_0x4f41d6})=>{let _0x542a5c=updateSel(_0xc7219b['selection'],_0x405ea3=>{let _0x3ddf85=syntaxTree(_0xc7219b),_0x36b05b=_0x3ddf85['resolveStack'](_0x405ea3['from'],0x1);if(_0x405ea3['empty']){let _0x4b1874=_0x3ddf85['resolveStack'](_0x405ea3['from'],-0x1);_0x4b1874['node']['from']>=_0x36b05b['node']['from']&&_0x4b1874['node']['to']<=_0x36b05b['node']['to']&&(_0x36b05b=_0x4b1874);}for(let _0x502580=_0x36b05b;_0x502580;_0x502580=_0x502580['next']){let {node:_0x226c0f}=_0x502580;if((_0x226c0f['from']<_0x405ea3['from']&&_0x226c0f['to']>=_0x405ea3['to']||_0x226c0f['to']>_0x405ea3['to']&&_0x226c0f['from']<=_0x405ea3['from'])&&_0x502580['next'])return EditorSelection['range'](_0x226c0f['to'],_0x226c0f['from']);}return _0x405ea3;});return!_0x542a5c['eq'](_0xc7219b['selection'])&&(_0x4f41d6(setSel(_0xc7219b,_0x542a5c)),!0x0);},simplifySelection=({state:_0x1637b5,dispatch:_0x1475da})=>{let _0x311afa=_0x1637b5['selection'],_0x115ff6=null;return _0x311afa['ranges']['length']>0x1?_0x115ff6=EditorSelection['create']([_0x311afa['main']]):_0x311afa['main']['empty']||(_0x115ff6=EditorSelection['create']([EditorSelection['cursor'](_0x311afa['main']['head'])])),!!_0x115ff6&&(_0x1475da(setSel(_0x1637b5,_0x115ff6)),!0x0);};function deleteBy(_0xf98b4a,_0x4cb88d){if(_0xf98b4a['state']['readOnly'])return!0x1;let _0x3fd0bc='delete.selection',{state:_0x36672d}=_0xf98b4a,_0x64bcf6=_0x36672d['changeByRange'](_0x58bc9d=>{let {from:_0x107856,to:_0x9ecb}=_0x58bc9d;if(_0x107856==_0x9ecb){let _0x2f86d7=_0x4cb88d(_0x58bc9d);_0x2f86d7<_0x107856?(_0x3fd0bc='delete.backward',_0x2f86d7=skipAtomic(_0xf98b4a,_0x2f86d7,!0x1)):_0x2f86d7>_0x107856&&(_0x3fd0bc='delete.forward',_0x2f86d7=skipAtomic(_0xf98b4a,_0x2f86d7,!0x0)),_0x107856=Math['min'](_0x107856,_0x2f86d7),_0x9ecb=Math['max'](_0x9ecb,_0x2f86d7);}else _0x107856=skipAtomic(_0xf98b4a,_0x107856,!0x1),_0x9ecb=skipAtomic(_0xf98b4a,_0x9ecb,!0x0);return _0x107856==_0x9ecb?{'range':_0x58bc9d}:{'changes':{'from':_0x107856,'to':_0x9ecb},'range':EditorSelection['cursor'](_0x107856,_0x107856<_0x58bc9d['head']?-0x1:0x1)};});return!_0x64bcf6['changes']['empty']&&(_0xf98b4a['dispatch'](_0x36672d['update'](_0x64bcf6,{'scrollIntoView':!0x0,'userEvent':_0x3fd0bc,'effects':'delete.selection'==_0x3fd0bc?EditorView['announce']['of'](_0x36672d['phrase']('Selection\x20deleted')):void 0x0})),!0x0);}function skipAtomic(_0x29ce49,_0x31ec52,_0x1d92ce){if(_0x29ce49 instanceof EditorView){for(let _0x1d6438 of _0x29ce49['state']['facet'](EditorView['atomicRanges'])['map'](_0x19b8a5=>_0x19b8a5(_0x29ce49)))_0x1d6438['between'](_0x31ec52,_0x31ec52,(_0x3b2172,_0x18ca55)=>{_0x3b2172<_0x31ec52&&_0x18ca55>_0x31ec52&&(_0x31ec52=_0x1d92ce?_0x18ca55:_0x3b2172);});}return _0x31ec52;}const deleteByChar=(_0xa30735,_0x7fc4b3,_0x42d64c)=>deleteBy(_0xa30735,_0x5066d5=>{let _0x1a5e3a,_0x579101,_0x11ec2f=_0x5066d5['from'],{state:_0x1b2977}=_0xa30735,_0x411d86=_0x1b2977['doc']['lineAt'](_0x11ec2f);if(_0x42d64c&&!_0x7fc4b3&&_0x11ec2f>_0x411d86['from']&&_0x11ec2f<_0x411d86['from']+0xc8&&!/[^ \t]/['test'](_0x1a5e3a=_0x411d86['text']['slice'](0x0,_0x11ec2f-_0x411d86['from']))){if('\x09'==_0x1a5e3a[_0x1a5e3a['length']-0x1])return _0x11ec2f-0x1;let _0x1f4367=countColumn(_0x1a5e3a,_0x1b2977['tabSize'])%getIndentUnit(_0x1b2977)||getIndentUnit(_0x1b2977);for(let _0x2b71ca=0x0;_0x2b71ca<_0x1f4367&&'\x20'==_0x1a5e3a[_0x1a5e3a['length']-0x1-_0x2b71ca];_0x2b71ca++)_0x11ec2f--;_0x579101=_0x11ec2f;}else _0x579101=findClusterBreak(_0x411d86['text'],_0x11ec2f-_0x411d86['from'],_0x7fc4b3,_0x7fc4b3)+_0x411d86['from'],_0x579101==_0x11ec2f&&_0x411d86['number']!=(_0x7fc4b3?_0x1b2977['doc']['lines']:0x1)?_0x579101+=_0x7fc4b3?0x1:-0x1:!_0x7fc4b3&&/[\ufe00-\ufe0f]/['test'](_0x411d86['text']['slice'](_0x579101-_0x411d86['from'],_0x11ec2f-_0x411d86['from']))&&(_0x579101=findClusterBreak(_0x411d86['text'],_0x579101-_0x411d86['from'],!0x1,!0x1)+_0x411d86['from']);return _0x579101;}),deleteCharBackward=_0x374503=>deleteByChar(_0x374503,!0x1,!0x0),deleteCharForward=_0xd141ed=>deleteByChar(_0xd141ed,!0x0,!0x1),deleteByGroup=(_0x43ab91,_0x39e266)=>deleteBy(_0x43ab91,_0x47f2aa=>{let _0x38433c=_0x47f2aa['head'],{state:_0x15962f}=_0x43ab91,_0xf327c9=_0x15962f['doc']['lineAt'](_0x38433c),_0x23b985=_0x15962f['charCategorizer'](_0x38433c);for(let _0x26ecff=null;;){if(_0x38433c==(_0x39e266?_0xf327c9['to']:_0xf327c9['from'])){_0x38433c==_0x47f2aa['head']&&_0xf327c9['number']!=(_0x39e266?_0x15962f['doc']['lines']:0x1)&&(_0x38433c+=_0x39e266?0x1:-0x1);break;}let _0x5de0c0=findClusterBreak(_0xf327c9['text'],_0x38433c-_0xf327c9['from'],_0x39e266)+_0xf327c9['from'],_0x40fe59=_0xf327c9['text']['slice'](Math['min'](_0x38433c,_0x5de0c0)-_0xf327c9['from'],Math['max'](_0x38433c,_0x5de0c0)-_0xf327c9['from']),_0x354844=_0x23b985(_0x40fe59);if(null!=_0x26ecff&&_0x354844!=_0x26ecff)break;'\x20'==_0x40fe59&&_0x38433c==_0x47f2aa['head']||(_0x26ecff=_0x354844),_0x38433c=_0x5de0c0;}return _0x38433c;}),deleteGroupBackward=_0x2b5041=>deleteByGroup(_0x2b5041,!0x1),deleteGroupForward=_0x2a4441=>deleteByGroup(_0x2a4441,!0x0),deleteToLineEnd=_0x56a920=>deleteBy(_0x56a920,_0x285c08=>{let _0x1b6078=_0x56a920['lineBlockAt'](_0x285c08['head'])['to'];return _0x285c08['head']<_0x1b6078?_0x1b6078:Math['min'](_0x56a920['state']['doc']['length'],_0x285c08['head']+0x1);}),deleteLineBoundaryBackward=_0x464481=>deleteBy(_0x464481,_0x50bc55=>{let _0x30f4e9=_0x464481['moveToLineBoundary'](_0x50bc55,!0x1)['head'];return _0x50bc55['head']>_0x30f4e9?_0x30f4e9:Math['max'](0x0,_0x50bc55['head']-0x1);}),deleteLineBoundaryForward=_0x3fe288=>deleteBy(_0x3fe288,_0x21811c=>{let _0x34a4b3=_0x3fe288['moveToLineBoundary'](_0x21811c,!0x0)['head'];return _0x21811c['head']<_0x34a4b3?_0x34a4b3:Math['min'](_0x3fe288['state']['doc']['length'],_0x21811c['head']+0x1);}),splitLine=({state:_0x4b5e52,dispatch:_0x16bd32})=>{if(_0x4b5e52['readOnly'])return!0x1;let _0x30030f=_0x4b5e52['changeByRange'](_0x145739=>({'changes':{'from':_0x145739['from'],'to':_0x145739['to'],'insert':Text$1['of'](['',''])},'range':EditorSelection['cursor'](_0x145739['from'])}));return _0x16bd32(_0x4b5e52['update'](_0x30030f,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0;},transposeChars=({state:_0x201534,dispatch:_0x15f30e})=>{if(_0x201534['readOnly'])return!0x1;let _0xf5e06f=_0x201534['changeByRange'](_0x21d61f=>{if(!_0x21d61f['empty']||0x0==_0x21d61f['from']||_0x21d61f['from']==_0x201534['doc']['length'])return{'range':_0x21d61f};let _0x3bf4f4=_0x21d61f['from'],_0x467200=_0x201534['doc']['lineAt'](_0x3bf4f4),_0x34d783=_0x3bf4f4==_0x467200['from']?_0x3bf4f4-0x1:findClusterBreak(_0x467200['text'],_0x3bf4f4-_0x467200['from'],!0x1)+_0x467200['from'],_0x29e6b4=_0x3bf4f4==_0x467200['to']?_0x3bf4f4+0x1:findClusterBreak(_0x467200['text'],_0x3bf4f4-_0x467200['from'],!0x0)+_0x467200['from'];return{'changes':{'from':_0x34d783,'to':_0x29e6b4,'insert':_0x201534['doc']['slice'](_0x3bf4f4,_0x29e6b4)['append'](_0x201534['doc']['slice'](_0x34d783,_0x3bf4f4))},'range':EditorSelection['cursor'](_0x29e6b4)};});return!_0xf5e06f['changes']['empty']&&(_0x15f30e(_0x201534['update'](_0xf5e06f,{'scrollIntoView':!0x0,'userEvent':'move.character'})),!0x0);};function selectedLineBlocks(_0xb54794){let _0xeb4715=[],_0x32a102=-0x1;for(let _0x26973b of _0xb54794['selection']['ranges']){let _0x4bed23=_0xb54794['doc']['lineAt'](_0x26973b['from']),_0x573880=_0xb54794['doc']['lineAt'](_0x26973b['to']);if(_0x26973b['empty']||_0x26973b['to']!=_0x573880['from']||(_0x573880=_0xb54794['doc']['lineAt'](_0x26973b['to']-0x1)),_0x32a102>=_0x4bed23['number']){let _0x3e33b9=_0xeb4715[_0xeb4715['length']-0x1];_0x3e33b9['to']=_0x573880['to'],_0x3e33b9['ranges']['push'](_0x26973b);}else _0xeb4715['push']({'from':_0x4bed23['from'],'to':_0x573880['to'],'ranges':[_0x26973b]});_0x32a102=_0x573880['number']+0x1;}return _0xeb4715;}function _0x30ed5b(_0x5a97e0,_0x2ec84c,_0x1c58a3){if(_0x5a97e0['readOnly'])return!0x1;let _0x4c9fd7=[],_0x1b31ae=[];for(let _0x1362f1 of selectedLineBlocks(_0x5a97e0)){if(_0x1c58a3?_0x1362f1['to']==_0x5a97e0['doc']['length']:0x0==_0x1362f1['from'])continue;let _0x10f0cb=_0x5a97e0['doc']['lineAt'](_0x1c58a3?_0x1362f1['to']+0x1:_0x1362f1['from']-0x1),_0x43aa5d=_0x10f0cb['length']+0x1;if(_0x1c58a3){_0x4c9fd7['push']({'from':_0x1362f1['to'],'to':_0x10f0cb['to']},{'from':_0x1362f1['from'],'insert':_0x10f0cb['text']+_0x5a97e0['lineBreak']});for(let _0x3c0714 of _0x1362f1['ranges'])_0x1b31ae['push'](EditorSelection['range'](Math['min'](_0x5a97e0['doc']['length'],_0x3c0714['anchor']+_0x43aa5d),Math['min'](_0x5a97e0['doc']['length'],_0x3c0714['head']+_0x43aa5d)));}else{_0x4c9fd7['push']({'from':_0x10f0cb['from'],'to':_0x1362f1['from']},{'from':_0x1362f1['to'],'insert':_0x5a97e0['lineBreak']+_0x10f0cb['text']});for(let _0x284ead of _0x1362f1['ranges'])_0x1b31ae['push'](EditorSelection['range'](_0x284ead['anchor']-_0x43aa5d,_0x284ead['head']-_0x43aa5d));}}return!!_0x4c9fd7['length']&&(_0x2ec84c(_0x5a97e0['update']({'changes':_0x4c9fd7,'scrollIntoView':!0x0,'selection':EditorSelection['create'](_0x1b31ae,_0x5a97e0['selection']['mainIndex']),'userEvent':'move.line'})),!0x0);}const _0x4bc027=({state:_0x1434e4,dispatch:_0x34a811})=>_0x30ed5b(_0x1434e4,_0x34a811,!0x1),_0x2c237d=({state:_0x244d20,dispatch:_0x7a3fc7})=>_0x30ed5b(_0x244d20,_0x7a3fc7,!0x0);function _0xbf76a7(_0x25d583,_0x44c134,_0x3317c6){if(_0x25d583['readOnly'])return!0x1;let _0x26da9d=[];for(let _0x5d1915 of selectedLineBlocks(_0x25d583))_0x3317c6?_0x26da9d['push']({'from':_0x5d1915['from'],'insert':_0x25d583['doc']['slice'](_0x5d1915['from'],_0x5d1915['to'])+_0x25d583['lineBreak']}):_0x26da9d['push']({'from':_0x5d1915['to'],'insert':_0x25d583['lineBreak']+_0x25d583['doc']['slice'](_0x5d1915['from'],_0x5d1915['to'])});return _0x44c134(_0x25d583['update']({'changes':_0x26da9d,'scrollIntoView':!0x0,'userEvent':'input.copyline'})),!0x0;}const _0x5a8ca6=({state:_0x4df92c,dispatch:_0x645f77})=>_0xbf76a7(_0x4df92c,_0x645f77,!0x1),_0xadb4f2=({state:_0x4103bb,dispatch:_0x4c09b8})=>_0xbf76a7(_0x4103bb,_0x4c09b8,!0x0),deleteLine=_0x3a0b36=>{if(_0x3a0b36['state']['readOnly'])return!0x1;let {state:_0xd09c31}=_0x3a0b36,_0x267c5d=_0xd09c31['changes'](selectedLineBlocks(_0xd09c31)['map'](({from:_0x1f2948,to:_0x555d79})=>(_0x1f2948>0x0?_0x1f2948--:_0x555d79<_0xd09c31['doc']['length']&&_0x555d79++,{'from':_0x1f2948,'to':_0x555d79}))),_0x303a96=updateSel(_0xd09c31['selection'],_0x1a1d0a=>{let _0x3f6a14;if(_0x3a0b36['lineWrapping']){let _0x244a57=_0x3a0b36['lineBlockAt'](_0x1a1d0a['head']),_0x22e3ef=_0x3a0b36['coordsAtPos'](_0x1a1d0a['head'],_0x1a1d0a['assoc']||0x1);_0x22e3ef&&(_0x3f6a14=_0x244a57['bottom']+_0x3a0b36['documentTop']-_0x22e3ef['bottom']+_0x3a0b36['defaultLineHeight']/0x2);}return _0x3a0b36['moveVertically'](_0x1a1d0a,!0x0,_0x3f6a14);})['map'](_0x267c5d);return _0x3a0b36['dispatch']({'changes':_0x267c5d,'selection':_0x303a96,'scrollIntoView':!0x0,'userEvent':'delete.line'}),!0x0;};function isBetweenBrackets(_0x39744e,_0x35677a){if(/\(\)|\[\]|\{\}/['test'](_0x39744e['sliceDoc'](_0x35677a-0x1,_0x35677a+0x1)))return{'from':_0x35677a,'to':_0x35677a};let _0x7f23f7,_0x2e906c=syntaxTree(_0x39744e)['resolveInner'](_0x35677a),_0x1185b3=_0x2e906c['childBefore'](_0x35677a),_0x3cb85b=_0x2e906c['childAfter'](_0x35677a);return _0x1185b3&&_0x3cb85b&&_0x1185b3['to']<=_0x35677a&&_0x3cb85b['from']>=_0x35677a&&(_0x7f23f7=_0x1185b3['type']['prop'](_0x332766['closedBy']))&&_0x7f23f7['indexOf'](_0x3cb85b['name'])>-0x1&&_0x39744e['doc']['lineAt'](_0x1185b3['to'])['from']==_0x39744e['doc']['lineAt'](_0x3cb85b['from'])['from']&&!/\S/['test'](_0x39744e['sliceDoc'](_0x1185b3['to'],_0x3cb85b['from']))?{'from':_0x1185b3['to'],'to':_0x3cb85b['from']}:null;}const insertNewlineAndIndent=newlineAndIndent(!0x1),insertBlankLine=newlineAndIndent(!0x0);function newlineAndIndent(_0x505a5e){return({state:_0x4afaa2,dispatch:_0x2d07f5})=>{if(_0x4afaa2['readOnly'])return!0x1;let _0x1792f3=_0x4afaa2['changeByRange'](_0x5bf88f=>{let {from:_0x487df0,to:_0x2e659b}=_0x5bf88f,_0x2de77d=_0x4afaa2['doc']['lineAt'](_0x487df0),_0x9dc625=!_0x505a5e&&_0x487df0==_0x2e659b&&isBetweenBrackets(_0x4afaa2,_0x487df0);_0x505a5e&&(_0x487df0=_0x2e659b=(_0x2e659b<=_0x2de77d['to']?_0x2de77d:_0x4afaa2['doc']['lineAt'](_0x2e659b))['to']);let _0x37d3e7=new IndentContext(_0x4afaa2,{'simulateBreak':_0x487df0,'simulateDoubleBreak':!!_0x9dc625}),_0x59cffa=getIndentation(_0x37d3e7,_0x487df0);for(null==_0x59cffa&&(_0x59cffa=countColumn(/^\s*/['exec'](_0x4afaa2['doc']['lineAt'](_0x487df0)['text'])[0x0],_0x4afaa2['tabSize']));_0x2e659b<_0x2de77d['to']&&/\s/['test'](_0x2de77d['text'][_0x2e659b-_0x2de77d['from']]);)_0x2e659b++;_0x9dc625?{from:_0x487df0,to:_0x2e659b}=_0x9dc625:_0x487df0>_0x2de77d['from']&&_0x487df0<_0x2de77d['from']+0x64&&!/\S/['test'](_0x2de77d['text']['slice'](0x0,_0x487df0))&&(_0x487df0=_0x2de77d['from']);let _0x4ee942=['',indentString(_0x4afaa2,_0x59cffa)];return _0x9dc625&&_0x4ee942['push'](indentString(_0x4afaa2,_0x37d3e7['lineIndent'](_0x2de77d['from'],-0x1))),{'changes':{'from':_0x487df0,'to':_0x2e659b,'insert':Text$1['of'](_0x4ee942)},'range':EditorSelection['cursor'](_0x487df0+0x1+_0x4ee942[0x1]['length'])};});return _0x2d07f5(_0x4afaa2['update'](_0x1792f3,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0;};}function changeBySelectedLine(_0x49cf74,_0x4bbc04){let _0x1ea87c=-0x1;return _0x49cf74['changeByRange'](_0x2bb8a7=>{let _0x8065f7=[];for(let _0x25115a=_0x2bb8a7['from'];_0x25115a<=_0x2bb8a7['to'];){let _0x4211f0=_0x49cf74['doc']['lineAt'](_0x25115a);_0x4211f0['number']>_0x1ea87c&&(_0x2bb8a7['empty']||_0x2bb8a7['to']>_0x4211f0['from'])&&(_0x4bbc04(_0x4211f0,_0x8065f7,_0x2bb8a7),_0x1ea87c=_0x4211f0['number']),_0x25115a=_0x4211f0['to']+0x1;}let _0x502ea4=_0x49cf74['changes'](_0x8065f7);return{'changes':_0x8065f7,'range':EditorSelection['range'](_0x502ea4['mapPos'](_0x2bb8a7['anchor'],0x1),_0x502ea4['mapPos'](_0x2bb8a7['head'],0x1))};});}const indentSelection=({state:_0x3eef5c,dispatch:_0x1b69b4})=>{if(_0x3eef5c['readOnly'])return!0x1;let _0x506e86=Object['create'](null),_0x4da6c5=new IndentContext(_0x3eef5c,{'overrideIndentation':_0x33898d=>{let _0x5cae51=_0x506e86[_0x33898d];return null==_0x5cae51?-0x1:_0x5cae51;}}),_0x8a183f=changeBySelectedLine(_0x3eef5c,(_0x362799,_0x2d0b93,_0x128894)=>{let _0x33cccd=getIndentation(_0x4da6c5,_0x362799['from']);if(null==_0x33cccd)return;/\S/['test'](_0x362799['text'])||(_0x33cccd=0x0);let _0xee13b6=/^\s*/['exec'](_0x362799['text'])[0x0],_0x29d492=indentString(_0x3eef5c,_0x33cccd);(_0xee13b6!=_0x29d492||_0x128894['from']<_0x362799['from']+_0xee13b6['length'])&&(_0x506e86[_0x362799['from']]=_0x33cccd,_0x2d0b93['push']({'from':_0x362799['from'],'to':_0x362799['from']+_0xee13b6['length'],'insert':_0x29d492}));});return _0x8a183f['changes']['empty']||_0x1b69b4(_0x3eef5c['update'](_0x8a183f,{'userEvent':'indent'})),!0x0;},indentMore=({state:_0x51a531,dispatch:_0x5dec0b})=>!_0x51a531['readOnly']&&(_0x5dec0b(_0x51a531['update'](changeBySelectedLine(_0x51a531,(_0x22bb72,_0x4292e9)=>{_0x4292e9['push']({'from':_0x22bb72['from'],'insert':_0x51a531['facet'](indentUnit)});}),{'userEvent':'input.indent'})),!0x0),indentLess=({state:_0x559df1,dispatch:_0x4a8059})=>!_0x559df1['readOnly']&&(_0x4a8059(_0x559df1['update'](changeBySelectedLine(_0x559df1,(_0x1a0347,_0x117ff1)=>{let _0x1a6721=/^\s*/['exec'](_0x1a0347['text'])[0x0];if(!_0x1a6721)return;let _0x1b291d=countColumn(_0x1a6721,_0x559df1['tabSize']),_0x461db5=0x0,_0x51fd2c=indentString(_0x559df1,Math['max'](0x0,_0x1b291d-getIndentUnit(_0x559df1)));for(;_0x461db5<_0x1a6721['length']&&_0x461db5<_0x51fd2c['length']&&_0x1a6721['charCodeAt'](_0x461db5)==_0x51fd2c['charCodeAt'](_0x461db5);)_0x461db5++;_0x117ff1['push']({'from':_0x1a0347['from']+_0x461db5,'to':_0x1a0347['from']+_0x1a6721['length'],'insert':_0x51fd2c['slice'](_0x461db5)});}),{'userEvent':'delete.dedent'})),!0x0),toggleTabFocusMode=_0x18ed33=>(_0x18ed33['setTabFocusMode'](),!0x0),emacsStyleKeymap=[{'key':'Ctrl-b','run':cursorCharLeft,'shift':selectCharLeft,'preventDefault':!0x0},{'key':'Ctrl-f','run':cursorCharRight,'shift':selectCharRight},{'key':'Ctrl-p','run':_0x146ab7,'shift':selectLineUp},{'key':'Ctrl-n','run':_0x5934b7,'shift':selectLineDown},{'key':'Ctrl-a','run':cursorLineStart,'shift':selectLineStart},{'key':'Ctrl-e','run':_0x10c678,'shift':selectLineEnd},{'key':'Ctrl-d','run':deleteCharForward},{'key':'Ctrl-h','run':deleteCharBackward},{'key':'Ctrl-k','run':deleteToLineEnd},{'key':'Ctrl-Alt-h','run':deleteGroupBackward},{'key':'Ctrl-o','run':splitLine},{'key':'Ctrl-t','run':transposeChars},{'key':'Ctrl-v','run':_0x3a4238}],standardKeymap=[{'key':'ArrowLeft','run':cursorCharLeft,'shift':selectCharLeft,'preventDefault':!0x0},{'key':'Mod-ArrowLeft','mac':'Alt-ArrowLeft','run':cursorGroupLeft,'shift':selectGroupLeft,'preventDefault':!0x0},{'mac':'Cmd-ArrowLeft','run':cursorLineBoundaryLeft,'shift':selectLineBoundaryLeft,'preventDefault':!0x0},{'key':'ArrowRight','run':cursorCharRight,'shift':selectCharRight,'preventDefault':!0x0},{'key':'Mod-ArrowRight','mac':'Alt-ArrowRight','run':cursorGroupRight,'shift':selectGroupRight,'preventDefault':!0x0},{'mac':'Cmd-ArrowRight','run':cursorLineBoundaryRight,'shift':selectLineBoundaryRight,'preventDefault':!0x0},{'key':'ArrowUp','run':_0x146ab7,'shift':selectLineUp,'preventDefault':!0x0},{'mac':'Cmd-ArrowUp','run':cursorDocStart,'shift':selectDocStart},{'mac':'Ctrl-ArrowUp','run':_0x3af4e3,'shift':selectPageUp},{'key':'ArrowDown','run':_0x5934b7,'shift':selectLineDown,'preventDefault':!0x0},{'mac':'Cmd-ArrowDown','run':_0x193d77,'shift':selectDocEnd},{'mac':'Ctrl-ArrowDown','run':_0x3a4238,'shift':selectPageDown},{'key':'PageUp','run':_0x3af4e3,'shift':selectPageUp},{'key':'PageDown','run':_0x3a4238,'shift':selectPageDown},{'key':'Home','run':_0x5ce24e,'shift':selectLineBoundaryBackward,'preventDefault':!0x0},{'key':'Mod-Home','run':cursorDocStart,'shift':selectDocStart},{'key':'End','run':_0x1c006e,'shift':selectLineBoundaryForward,'preventDefault':!0x0},{'key':'Mod-End','run':_0x193d77,'shift':selectDocEnd},{'key':'Enter','run':insertNewlineAndIndent,'shift':insertNewlineAndIndent},{'key':'Mod-a','run':selectAll},{'key':'Backspace','run':deleteCharBackward,'shift':deleteCharBackward},{'key':'Delete','run':deleteCharForward},{'key':'Mod-Backspace','mac':'Alt-Backspace','run':deleteGroupBackward},{'key':'Mod-Delete','mac':'Alt-Delete','run':deleteGroupForward},{'mac':'Mod-Backspace','run':deleteLineBoundaryBackward},{'mac':'Mod-Delete','run':deleteLineBoundaryForward}]['concat'](emacsStyleKeymap['map'](_0xf8210e=>({'mac':_0xf8210e['key'],'run':_0xf8210e['run'],'shift':_0xf8210e['shift']}))),defaultKeymap=[{'key':'Alt-ArrowLeft','mac':'Ctrl-ArrowLeft','run':cursorSyntaxLeft,'shift':selectSyntaxLeft},{'key':'Alt-ArrowRight','mac':'Ctrl-ArrowRight','run':cursorSyntaxRight,'shift':selectSyntaxRight},{'key':'Alt-ArrowUp','run':_0x4bc027},{'key':'Shift-Alt-ArrowUp','run':_0x5a8ca6},{'key':'Alt-ArrowDown','run':_0x2c237d},{'key':'Shift-Alt-ArrowDown','run':_0xadb4f2},{'key':'Escape','run':simplifySelection},{'key':'Mod-Enter','run':insertBlankLine},{'key':'Alt-l','mac':'Ctrl-l','run':selectLine},{'key':'Mod-i','run':selectParentSyntax,'preventDefault':!0x0},{'key':'Mod-[','run':indentLess},{'key':'Mod-]','run':indentMore},{'key':'Mod-Alt-\x5c','run':indentSelection},{'key':'Shift-Mod-k','run':deleteLine},{'key':'Shift-Mod-\x5c','run':cursorMatchingBracket},{'key':'Mod-/','run':toggleComment},{'key':'Alt-A','run':toggleBlockComment},{'key':'Ctrl-m','mac':'Shift-Alt-m','run':toggleTabFocusMode}]['concat'](standardKeymap);class CompletionContext{constructor(_0x4f7308,_0x2e7d71,_0x4341bb,_0x2c6bc6){this['state']=_0x4f7308,this['pos']=_0x2e7d71,this['explicit']=_0x4341bb,this['view']=_0x2c6bc6,this['abortListeners']=[],this['abortOnDocChange']=!0x1;}['tokenBefore'](_0x526b87){let _0x2d7cab=syntaxTree(this['state'])['resolveInner'](this['pos'],-0x1);for(;_0x2d7cab&&_0x526b87['indexOf'](_0x2d7cab['name'])<0x0;)_0x2d7cab=_0x2d7cab['parent'];return _0x2d7cab?{'from':_0x2d7cab['from'],'to':this['pos'],'text':this['state']['sliceDoc'](_0x2d7cab['from'],this['pos']),'type':_0x2d7cab['type']}:null;}['matchBefore'](_0x32d0d5){let _0x5e22f3=this['state']['doc']['lineAt'](this['pos']),_0xed63ab=Math['max'](_0x5e22f3['from'],this['pos']-0xfa),_0x2db37f=_0x5e22f3['text']['slice'](_0xed63ab-_0x5e22f3['from'],this['pos']-_0x5e22f3['from']),_0x1c5674=_0x2db37f['search'](_0x23396a(_0x32d0d5,!0x1));return _0x1c5674<0x0?null:{'from':_0xed63ab+_0x1c5674,'to':this['pos'],'text':_0x2db37f['slice'](_0x1c5674)};}get['aborted'](){return null==this['abortListeners'];}['addEventListener'](_0x2c50dc,_0x38f138,_0x15d09d){'abort'==_0x2c50dc&&this['abortListeners']&&(this['abortListeners']['push'](_0x38f138),_0x15d09d&&_0x15d09d['onDocChange']&&(this['abortOnDocChange']=!0x0));}}function toSet(_0x50feea){let _0xaea1b=Object['keys'](_0x50feea)['join'](''),_0x573872=/\w/['test'](_0xaea1b);return _0x573872&&(_0xaea1b=_0xaea1b['replace'](/\w/g,'')),'['+(_0x573872?'\x5cw':'')+_0xaea1b['replace'](/[^\w\s]/g,'\x5c$&')+']';}function prefixMatch(_0xb7ebc7){let _0x118222=Object['create'](null),_0x4f76b7=Object['create'](null);for(let {label:_0x4262fa}of _0xb7ebc7){_0x118222[_0x4262fa[0x0]]=!0x0;for(let _0x2d31a5=0x1;_0x2d31a5<_0x4262fa['length'];_0x2d31a5++)_0x4f76b7[_0x4262fa[_0x2d31a5]]=!0x0;}let _0x44427e=toSet(_0x118222)+toSet(_0x4f76b7)+'*$';return[new RegExp('^'+_0x44427e),new RegExp(_0x44427e)];}function completeFromList(_0x1f799e){let _0xe40e8=_0x1f799e['map'](_0x2fd3b3=>'string'==typeof _0x2fd3b3?{'label':_0x2fd3b3}:_0x2fd3b3),[_0x575d03,_0xb55122]=_0xe40e8['every'](_0x474137=>/^\w+$/['test'](_0x474137['label']))?[/\w*$/,/\w+$/]:prefixMatch(_0xe40e8);return _0x5bdd53=>{let _0x1c49d1=_0x5bdd53['matchBefore'](_0xb55122);return _0x1c49d1||_0x5bdd53['explicit']?{'from':_0x1c49d1?_0x1c49d1['from']:_0x5bdd53['pos'],'options':_0xe40e8,'validFor':_0x575d03}:null;};}function ifNotIn(_0x3659ac,_0x57ee6c){return _0x481ae7=>{for(let _0x4d465d=syntaxTree(_0x481ae7['state'])['resolveInner'](_0x481ae7['pos'],-0x1);_0x4d465d;_0x4d465d=_0x4d465d['parent']){if(_0x3659ac['indexOf'](_0x4d465d['name'])>-0x1)return null;if(_0x4d465d['type']['isTop'])break;}return _0x57ee6c(_0x481ae7);};}class Option{constructor(_0x20dc6f,_0x3c8eb5,_0x45a439,_0x3767db){this['completion']=_0x20dc6f,this['source']=_0x3c8eb5,this['match']=_0x45a439,this['score']=_0x3767db;}}function _0x3dd01e(_0xdef52a){return _0xdef52a['selection']['main']['from'];}function _0x23396a(_0x1dba83,_0x49d59a){var _0x5b2cea;let {source:_0x2728a6}=_0x1dba83,_0x42f325=_0x49d59a&&'^'!=_0x2728a6[0x0],_0x49fbf1='$'!=_0x2728a6[_0x2728a6['length']-0x1];return _0x42f325||_0x49fbf1?new RegExp((_0x42f325?'^':'')+'(?:'+_0x2728a6+')'+(_0x49fbf1?'$':''),null!==(_0x5b2cea=_0x1dba83['flags'])&&void 0x0!==_0x5b2cea?_0x5b2cea:_0x1dba83['ignoreCase']?'i':''):_0x1dba83;}const pickedCompletion=Annotation['define']();function insertCompletionText(_0x55d064,_0x51cbbe,_0x4afa1c,_0x27c0cb){let {main:_0x5a0b5e}=_0x55d064['selection'],_0xd2a544=_0x4afa1c-_0x5a0b5e['from'],_0x31c490=_0x27c0cb-_0x5a0b5e['from'];return{..._0x55d064['changeByRange'](_0x20cc5e=>{if(_0x20cc5e!=_0x5a0b5e&&_0x4afa1c!=_0x27c0cb&&_0x55d064['sliceDoc'](_0x20cc5e['from']+_0xd2a544,_0x20cc5e['from']+_0x31c490)!=_0x55d064['sliceDoc'](_0x4afa1c,_0x27c0cb))return{'range':_0x20cc5e};let _0x134756=_0x55d064['toText'](_0x51cbbe);return{'changes':{'from':_0x20cc5e['from']+_0xd2a544,'to':_0x27c0cb==_0x5a0b5e['from']?_0x20cc5e['to']:_0x20cc5e['from']+_0x31c490,'insert':_0x134756},'range':EditorSelection['cursor'](_0x20cc5e['from']+_0xd2a544+_0x134756['length'])};}),'scrollIntoView':!0x0,'userEvent':'input.complete'};}const _0x1e1e04=new WeakMap();function _0x51c314(_0x35200c){if(!Array['isArray'](_0x35200c))return _0x35200c;let _0x4b8dd8=_0x1e1e04['get'](_0x35200c);return _0x4b8dd8||_0x1e1e04['set'](_0x35200c,_0x4b8dd8=completeFromList(_0x35200c)),_0x4b8dd8;}const startCompletionEffect=StateEffect['define'](),closeCompletionEffect=StateEffect['define']();class FuzzyMatcher{constructor(_0x3816fa){this['pattern']=_0x3816fa,this['chars']=[],this['folded']=[],this['any']=[],this['precise']=[],this['byWord']=[],this['score']=0x0,this['matched']=[];for(let _0x2d6867=0x0;_0x2d6867<_0x3816fa['length'];){let _0x470507=codePointAt(_0x3816fa,_0x2d6867),_0x36b2cd=codePointSize(_0x470507);this['chars']['push'](_0x470507);let _0x115a03=_0x3816fa['slice'](_0x2d6867,_0x2d6867+_0x36b2cd),_0x6f9efd=_0x115a03['toUpperCase']();this['folded']['push'](codePointAt(_0x6f9efd==_0x115a03?_0x115a03['toLowerCase']():_0x6f9efd,0x0)),_0x2d6867+=_0x36b2cd;}this['astral']=_0x3816fa['length']!=this['chars']['length'];}['ret'](_0x3a307a,_0x1491fe){return this['score']=_0x3a307a,this['matched']=_0x1491fe,this;}['match'](_0x951d5b){if(0x0==this['pattern']['length'])return this['ret'](-0x64,[]);if(_0x951d5b['length']<this['pattern']['length'])return null;let {chars:_0x25fa61,folded:_0x154a01,any:_0x5d64e8,precise:_0x1c10de,byWord:_0x51e45a}=this;if(0x1==_0x25fa61['length']){let _0x2ddb19=codePointAt(_0x951d5b,0x0),_0x44b268=codePointSize(_0x2ddb19),_0x352279=_0x44b268==_0x951d5b['length']?0x0:-0x64;if(_0x2ddb19==_0x25fa61[0x0]);else{if(_0x2ddb19!=_0x154a01[0x0])return null;_0x352279+=-0xc8;}return this['ret'](_0x352279,[0x0,_0x44b268]);}let _0x3c1331=_0x951d5b['indexOf'](this['pattern']);if(0x0==_0x3c1331)return this['ret'](_0x951d5b['length']==this['pattern']['length']?0x0:-0x64,[0x0,this['pattern']['length']]);let _0x59550b=_0x25fa61['length'],_0x3f7122=0x0;if(_0x3c1331<0x0){for(let _0x38c29c=0x0,_0xa99c9a=Math['min'](_0x951d5b['length'],0xc8);_0x38c29c<_0xa99c9a&&_0x3f7122<_0x59550b;){let _0x393dff=codePointAt(_0x951d5b,_0x38c29c);_0x393dff!=_0x25fa61[_0x3f7122]&&_0x393dff!=_0x154a01[_0x3f7122]||(_0x5d64e8[_0x3f7122++]=_0x38c29c),_0x38c29c+=codePointSize(_0x393dff);}if(_0x3f7122<_0x59550b)return null;}let _0x466699=0x0,_0x54c368=0x0,_0x24eb68=!0x1,_0x177312=0x0,_0xccd6eb=-0x1,_0x25700a=-0x1,_0x430040=/[a-z]/['test'](_0x951d5b),_0x3ffaa1=!0x0;for(let _0x5611c9=0x0,_0x2008c7=Math['min'](_0x951d5b['length'],0xc8),_0x1d2517=0x0;_0x5611c9<_0x2008c7&&_0x54c368<_0x59550b;){let _0x4dcdac=codePointAt(_0x951d5b,_0x5611c9);_0x3c1331<0x0&&(_0x466699<_0x59550b&&_0x4dcdac==_0x25fa61[_0x466699]&&(_0x1c10de[_0x466699++]=_0x5611c9),_0x177312<_0x59550b&&(_0x4dcdac==_0x25fa61[_0x177312]||_0x4dcdac==_0x154a01[_0x177312]?(0x0==_0x177312&&(_0xccd6eb=_0x5611c9),_0x25700a=_0x5611c9+0x1,_0x177312++):_0x177312=0x0));let _0x4cc976,_0x1319da=_0x4dcdac<0xff?_0x4dcdac>=0x30&&_0x4dcdac<=0x39||_0x4dcdac>=0x61&&_0x4dcdac<=0x7a?0x2:_0x4dcdac>=0x41&&_0x4dcdac<=0x5a?0x1:0x0:(_0x4cc976=fromCodePoint(_0x4dcdac))!=_0x4cc976['toLowerCase']()?0x1:_0x4cc976!=_0x4cc976['toUpperCase']()?0x2:0x0;(!_0x5611c9||0x1==_0x1319da&&_0x430040||0x0==_0x1d2517&&0x0!=_0x1319da)&&(_0x25fa61[_0x54c368]==_0x4dcdac||_0x154a01[_0x54c368]==_0x4dcdac&&(_0x24eb68=!0x0)?_0x51e45a[_0x54c368++]=_0x5611c9:_0x51e45a['length']&&(_0x3ffaa1=!0x1)),_0x1d2517=_0x1319da,_0x5611c9+=codePointSize(_0x4dcdac);}return _0x54c368==_0x59550b&&0x0==_0x51e45a[0x0]&&_0x3ffaa1?this['result']((_0x24eb68?-0xc8:0x0)-0x64,_0x51e45a,_0x951d5b):_0x177312==_0x59550b&&0x0==_0xccd6eb?this['ret'](-0xc8-_0x951d5b['length']+(_0x25700a==_0x951d5b['length']?0x0:-0x64),[0x0,_0x25700a]):_0x3c1331>-0x1?this['ret'](-0x2bc-_0x951d5b['length'],[_0x3c1331,_0x3c1331+this['pattern']['length']]):_0x177312==_0x59550b?this['ret'](-0x384-_0x951d5b['length'],[_0xccd6eb,_0x25700a]):_0x54c368==_0x59550b?this['result']((_0x24eb68?-0xc8:0x0)-0x64-0x2bc+(_0x3ffaa1?0x0:-0x44c),_0x51e45a,_0x951d5b):0x2==_0x25fa61['length']?null:this['result']((_0x5d64e8[0x0]?-0x2bc:0x0)-0xc8-0x44c,_0x5d64e8,_0x951d5b);}['result'](_0x2e65ff,_0x44bbf9,_0x30789b){let _0x20cbe0=[],_0x514f39=0x0;for(let _0x3f85bb of _0x44bbf9){let _0x396a93=_0x3f85bb+(this['astral']?codePointSize(codePointAt(_0x30789b,_0x3f85bb)):0x1);_0x514f39&&_0x20cbe0[_0x514f39-0x1]==_0x3f85bb?_0x20cbe0[_0x514f39-0x1]=_0x396a93:(_0x20cbe0[_0x514f39++]=_0x3f85bb,_0x20cbe0[_0x514f39++]=_0x396a93);}return this['ret'](_0x2e65ff-_0x30789b['length'],_0x20cbe0);}}class StrictMatcher{constructor(_0x26fa34){this['pattern']=_0x26fa34,this['matched']=[],this['score']=0x0,this['folded']=_0x26fa34['toLowerCase']();}['match'](_0x503d9e){if(_0x503d9e['length']<this['pattern']['length'])return null;let _0xe81c2e=_0x503d9e['slice'](0x0,this['pattern']['length']),_0x2a9907=_0xe81c2e==this['pattern']?0x0:_0xe81c2e['toLowerCase']()==this['folded']?-0xc8:null;return null==_0x2a9907?null:(this['matched']=[0x0,_0xe81c2e['length']],this['score']=_0x2a9907+(_0x503d9e['length']==this['pattern']['length']?0x0:-0x64),this);}}const completionConfig=Facet['define']({'combine':_0x30213e=>_0x253a1e(_0x30213e,{'activateOnTyping':!0x0,'activateOnCompletion':()=>!0x1,'activateOnTypingDelay':0x64,'selectOnOpen':!0x0,'override':null,'closeOnBlur':!0x0,'maxRenderedOptions':0x64,'defaultKeymap':!0x0,'tooltipClass':()=>'','optionClass':()=>'','aboveCursor':!0x1,'icons':!0x0,'addToOptions':[],'positionInfo':defaultPositionInfo,'filterStrict':!0x1,'compareCompletions':(_0x5d7463,_0x4acb51)=>_0x5d7463['label']['localeCompare'](_0x4acb51['label']),'interactionDelay':0x4b,'updateSyncTime':0x64},{'defaultKeymap':(_0x199fcc,_0x14562a)=>_0x199fcc&&_0x14562a,'closeOnBlur':(_0x3caa71,_0x2c1987)=>_0x3caa71&&_0x2c1987,'icons':(_0x500eb6,_0x55ee6f)=>_0x500eb6&&_0x55ee6f,'tooltipClass':(_0x417d2f,_0x10b4d4)=>_0x14c4d3=>_0xad8ec7(_0x417d2f(_0x14c4d3),_0x10b4d4(_0x14c4d3)),'optionClass':(_0x489295,_0x56b9f1)=>_0x544f68=>_0xad8ec7(_0x489295(_0x544f68),_0x56b9f1(_0x544f68)),'addToOptions':(_0x3ae7d9,_0x54f1ef)=>_0x3ae7d9['concat'](_0x54f1ef),'filterStrict':(_0x281c77,_0x4827ed)=>_0x281c77||_0x4827ed})});function _0xad8ec7(_0x859af3,_0x2f67c4){return _0x859af3?_0x2f67c4?_0x859af3+'\x20'+_0x2f67c4:_0x859af3:_0x2f67c4;}function defaultPositionInfo(_0x4199bf,_0x317285,_0x736c02,_0x31573c,_0x5955d7,_0x8f422f){let _0x43216b,_0x6c9d62,_0x481397=_0x4199bf['textDirection']==Direction['RTL'],_0x4f7970=_0x481397,_0x26fa5f=!0x1,_0x25b8b0='top',_0x20540b=_0x317285['left']-_0x5955d7['left'],_0xd1aa94=_0x5955d7['right']-_0x317285['right'],_0x558d54=_0x31573c['right']-_0x31573c['left'],_0x255d04=_0x31573c['bottom']-_0x31573c['top'];if(_0x4f7970&&_0x20540b<Math['min'](_0x558d54,_0xd1aa94)?_0x4f7970=!0x1:!_0x4f7970&&_0xd1aa94<Math['min'](_0x558d54,_0x20540b)&&(_0x4f7970=!0x0),_0x558d54<=(_0x4f7970?_0x20540b:_0xd1aa94))_0x43216b=Math['max'](_0x5955d7['top'],Math['min'](_0x736c02['top'],_0x5955d7['bottom']-_0x255d04))-_0x317285['top'],_0x6c9d62=Math['min'](0x190,_0x4f7970?_0x20540b:_0xd1aa94);else{_0x26fa5f=!0x0,_0x6c9d62=Math['min'](0x190,(_0x481397?_0x317285['right']:_0x5955d7['right']-_0x317285['left'])-0x1e);let _0x2b0bf7=_0x5955d7['bottom']-_0x317285['bottom'];_0x2b0bf7>=_0x255d04||_0x2b0bf7>_0x317285['top']?_0x43216b=_0x736c02['bottom']-_0x317285['top']:(_0x25b8b0='bottom',_0x43216b=_0x317285['bottom']-_0x736c02['top']);}return{'style':_0x25b8b0+':\x20'+_0x43216b/((_0x317285['bottom']-_0x317285['top'])/_0x8f422f['offsetHeight'])+'px;\x20max-width:\x20'+_0x6c9d62/((_0x317285['right']-_0x317285['left'])/_0x8f422f['offsetWidth'])+'px','class':'cm-completionInfo-'+(_0x26fa5f?_0x481397?'left-narrow':'right-narrow':_0x4f7970?'left':'right')};}function optionContent(_0x3d2eca){let _0x59c561=_0x3d2eca['addToOptions']['slice']();return _0x3d2eca['icons']&&_0x59c561['push']({'render'(_0x26b2e2){let _0x1cba58=document['createElement']('div');return _0x1cba58['classList']['add']('cm-completionIcon'),_0x26b2e2['type']&&_0x1cba58['classList']['add'](..._0x26b2e2['type']['split'](/\s+/g)['map'](_0x4fa2a8=>'cm-completionIcon-'+_0x4fa2a8)),_0x1cba58['setAttribute']('aria-hidden','true'),_0x1cba58;},'position':0x14}),_0x59c561['push']({'render'(_0x2fbb62,_0x4dc6bb,_0x50ee1c,_0x1c4a89){let _0x588f68=document['createElement']('span');_0x588f68['className']='cm-completionLabel';let _0x3d25b5=_0x2fbb62['displayLabel']||_0x2fbb62['label'],_0x708f68=0x0;for(let _0x393ae3=0x0;_0x393ae3<_0x1c4a89['length'];){let _0x426a7b=_0x1c4a89[_0x393ae3++],_0x5f4c59=_0x1c4a89[_0x393ae3++];_0x426a7b>_0x708f68&&_0x588f68['appendChild'](document['createTextNode'](_0x3d25b5['slice'](_0x708f68,_0x426a7b)));let _0x411582=_0x588f68['appendChild'](document['createElement']('span'));_0x411582['appendChild'](document['createTextNode'](_0x3d25b5['slice'](_0x426a7b,_0x5f4c59))),_0x411582['className']='cm-completionMatchedText',_0x708f68=_0x5f4c59;}return _0x708f68<_0x3d25b5['length']&&_0x588f68['appendChild'](document['createTextNode'](_0x3d25b5['slice'](_0x708f68))),_0x588f68;},'position':0x32},{'render'(_0x49211d){if(!_0x49211d['detail'])return null;let _0x5d6ed3=document['createElement']('span');return _0x5d6ed3['className']='cm-completionDetail',_0x5d6ed3['textContent']=_0x49211d['detail'],_0x5d6ed3;},'position':0x50}),_0x59c561['sort']((_0x51ac5f,_0x580c68)=>_0x51ac5f['position']-_0x580c68['position'])['map'](_0x497496=>_0x497496['render']);}function rangeAroundSelected(_0x6b83fc,_0x1a6de1,_0x176706){if(_0x6b83fc<=_0x176706)return{'from':0x0,'to':_0x6b83fc};if(_0x1a6de1<0x0&&(_0x1a6de1=0x0),_0x1a6de1<=_0x6b83fc>>0x1){let _0x79bd1=Math['floor'](_0x1a6de1/_0x176706);return{'from':_0x79bd1*_0x176706,'to':(_0x79bd1+0x1)*_0x176706};}let _0x52815a=Math['floor']((_0x6b83fc-_0x1a6de1)/_0x176706);return{'from':_0x6b83fc-(_0x52815a+0x1)*_0x176706,'to':_0x6b83fc-_0x52815a*_0x176706};}class CompletionTooltip{constructor(_0x4d8d96,_0x5f50f6,_0x507d06){this['view']=_0x4d8d96,this['stateField']=_0x5f50f6,this['applyCompletion']=_0x507d06,this['info']=null,this['infoDestroy']=null,this['placeInfoReq']={'read':()=>this['measureInfo'](),'write':_0x22f75e=>this['placeInfo'](_0x22f75e),'key':this},this['space']=null,this['currentClass']='';let _0x309ee9=_0x4d8d96['state']['field'](_0x5f50f6),{options:_0x42cf65,selected:_0x2a10e5}=_0x309ee9['open'],_0x250b64=_0x4d8d96['state']['facet'](completionConfig);this['optionContent']=optionContent(_0x250b64),this['optionClass']=_0x250b64['optionClass'],this['tooltipClass']=_0x250b64['tooltipClass'],this['range']=rangeAroundSelected(_0x42cf65['length'],_0x2a10e5,_0x250b64['maxRenderedOptions']),this['dom']=document['createElement']('div'),this['dom']['className']='cm-tooltip-autocomplete',this['updateTooltipClass'](_0x4d8d96['state']),this['dom']['addEventListener']('mousedown',_0x4d3efd=>{let {options:_0x2562fe}=_0x4d8d96['state']['field'](_0x5f50f6)['open'];for(let _0x28fbf8,_0x327cb5=_0x4d3efd['target'];_0x327cb5&&_0x327cb5!=this['dom'];_0x327cb5=_0x327cb5['parentNode'])if('LI'==_0x327cb5['nodeName']&&(_0x28fbf8=/-(\d+)$/['exec'](_0x327cb5['id']))&&+_0x28fbf8[0x1]<_0x2562fe['length'])return this['applyCompletion'](_0x4d8d96,_0x2562fe[+_0x28fbf8[0x1]]),void _0x4d3efd['preventDefault']();}),this['dom']['addEventListener']('focusout',_0x528b23=>{let _0x5f254e=_0x4d8d96['state']['field'](this['stateField'],!0x1);_0x5f254e&&_0x5f254e['tooltip']&&_0x4d8d96['state']['facet'](completionConfig)['closeOnBlur']&&_0x528b23['relatedTarget']!=_0x4d8d96['contentDOM']&&_0x4d8d96['dispatch']({'effects':closeCompletionEffect['of'](null)});}),this['showOptions'](_0x42cf65,_0x309ee9['id']);}['mount'](){this['updateSel']();}['showOptions'](_0x5dedd8,_0x420111){this['list']&&this['list']['remove'](),this['list']=this['dom']['appendChild'](this['createListBox'](_0x5dedd8,_0x420111,this['range'])),this['list']['addEventListener']('scroll',()=>{this['info']&&this['view']['requestMeasure'](this['placeInfoReq']);});}['update'](_0x1f4363){var _0xb2c16;let _0x4bc8ef=_0x1f4363['state']['field'](this['stateField']),_0x495ecb=_0x1f4363['startState']['field'](this['stateField']);if(this['updateTooltipClass'](_0x1f4363['state']),_0x4bc8ef!=_0x495ecb){let {options:_0x3ee032,selected:_0x30c43d,disabled:_0x5d36e0}=_0x4bc8ef['open'];_0x495ecb['open']&&_0x495ecb['open']['options']==_0x3ee032||(this['range']=rangeAroundSelected(_0x3ee032['length'],_0x30c43d,_0x1f4363['state']['facet'](completionConfig)['maxRenderedOptions']),this['showOptions'](_0x3ee032,_0x4bc8ef['id'])),this['updateSel'](),_0x5d36e0!=(null===(_0xb2c16=_0x495ecb['open'])||void 0x0===_0xb2c16?void 0x0:_0xb2c16['disabled'])&&this['dom']['classList']['toggle']('cm-tooltip-autocomplete-disabled',!!_0x5d36e0);}}['updateTooltipClass'](_0x33734d){let _0x138619=this['tooltipClass'](_0x33734d);if(_0x138619!=this['currentClass']){for(let _0x3635c7 of this['currentClass']['split']('\x20'))_0x3635c7&&this['dom']['classList']['remove'](_0x3635c7);for(let _0x2c0701 of _0x138619['split']('\x20'))_0x2c0701&&this['dom']['classList']['add'](_0x2c0701);this['currentClass']=_0x138619;}}['positioned'](_0x41ee19){this['space']=_0x41ee19,this['info']&&this['view']['requestMeasure'](this['placeInfoReq']);}['updateSel'](){let _0x82de90=this['view']['state']['field'](this['stateField']),_0x241646=_0x82de90['open'];(_0x241646['selected']>-0x1&&_0x241646['selected']<this['range']['from']||_0x241646['selected']>=this['range']['to'])&&(this['range']=rangeAroundSelected(_0x241646['options']['length'],_0x241646['selected'],this['view']['state']['facet'](completionConfig)['maxRenderedOptions']),this['showOptions'](_0x241646['options'],_0x82de90['id']));let _0x30b1ea=this['updateSelectedOption'](_0x241646['selected']);if(_0x30b1ea){this['destroyInfo']();let {completion:_0x7884ab}=_0x241646['options'][_0x241646['selected']],{info:_0x3e5277}=_0x7884ab;if(!_0x3e5277)return;let _0x58d0e0='string'==typeof _0x3e5277?document['createTextNode'](_0x3e5277):_0x3e5277(_0x7884ab);if(!_0x58d0e0)return;'then'in _0x58d0e0?_0x58d0e0['then'](_0x21c60f=>{_0x21c60f&&this['view']['state']['field'](this['stateField'],!0x1)==_0x82de90&&this['addInfoPane'](_0x21c60f,_0x7884ab);})['catch'](_0x51a3f2=>logException(this['view']['state'],_0x51a3f2,'completion\x20info')):(this['addInfoPane'](_0x58d0e0,_0x7884ab),_0x30b1ea['setAttribute']('aria-describedby',this['info']['id']));}}['addInfoPane'](_0x2d5de2,_0x53bcd3){this['destroyInfo']();let _0x458abb=this['info']=document['createElement']('div');if(_0x458abb['className']='cm-tooltip\x20cm-completionInfo',_0x458abb['id']='cm-completionInfo-'+Math['floor'](0xffff*Math['random']())['toString'](0x10),null!=_0x2d5de2['nodeType'])_0x458abb['appendChild'](_0x2d5de2),this['infoDestroy']=null;else{let {dom:_0x2a0da6,destroy:_0x587172}=_0x2d5de2;_0x458abb['appendChild'](_0x2a0da6),this['infoDestroy']=_0x587172||null;}this['dom']['appendChild'](_0x458abb),this['view']['requestMeasure'](this['placeInfoReq']);}['updateSelectedOption'](_0xf6fb30){let _0x15801e=null;for(let _0x497332=this['list']['firstChild'],_0x21cbdc=this['range']['from'];_0x497332;_0x497332=_0x497332['nextSibling'],_0x21cbdc++)'LI'==_0x497332['nodeName']&&_0x497332['id']?_0x21cbdc==_0xf6fb30?_0x497332['hasAttribute']('aria-selected')||(_0x497332['setAttribute']('aria-selected','true'),_0x15801e=_0x497332):_0x497332['hasAttribute']('aria-selected')&&(_0x497332['removeAttribute']('aria-selected'),_0x497332['removeAttribute']('aria-describedby')):_0x21cbdc--;return _0x15801e&&scrollIntoView(this['list'],_0x15801e),_0x15801e;}['measureInfo'](){let _0x2816f3=this['dom']['querySelector']('[aria-selected]');if(!_0x2816f3||!this['info'])return null;let _0x32f06f=this['dom']['getBoundingClientRect'](),_0x4bd208=this['info']['getBoundingClientRect'](),_0x28a0f5=_0x2816f3['getBoundingClientRect'](),_0x1d2bab=this['space'];if(!_0x1d2bab){let _0x3f0717=this['dom']['ownerDocument']['documentElement'];_0x1d2bab={'left':0x0,'top':0x0,'right':_0x3f0717['clientWidth'],'bottom':_0x3f0717['clientHeight']};}return _0x28a0f5['top']>Math['min'](_0x1d2bab['bottom'],_0x32f06f['bottom'])-0xa||_0x28a0f5['bottom']<Math['max'](_0x1d2bab['top'],_0x32f06f['top'])+0xa?null:this['view']['state']['facet'](completionConfig)['positionInfo'](this['view'],_0x32f06f,_0x28a0f5,_0x4bd208,_0x1d2bab,this['dom']);}['placeInfo'](_0xe04c3e){this['info']&&(_0xe04c3e?(_0xe04c3e['style']&&(this['info']['style']['cssText']=_0xe04c3e['style']),this['info']['className']='cm-tooltip\x20cm-completionInfo\x20'+(_0xe04c3e['class']||'')):this['info']['style']['cssText']='top:\x20-1e6px');}['createListBox'](_0x55106d,_0x1d9e6e,_0x44670b){const _0x708bbc=document['createElement']('ul');_0x708bbc['id']=_0x1d9e6e,_0x708bbc['setAttribute']('role','listbox'),_0x708bbc['setAttribute']('aria-expanded','true'),_0x708bbc['setAttribute']('aria-label',this['view']['state']['phrase']('Completions')),_0x708bbc['addEventListener']('mousedown',_0x47f7fd=>{_0x47f7fd['target']==_0x708bbc&&_0x47f7fd['preventDefault']();});let _0xa1439=null;for(let _0x380771=_0x44670b['from'];_0x380771<_0x44670b['to'];_0x380771++){let {completion:_0x17f19f,match:_0x2087a8}=_0x55106d[_0x380771],{section:_0x6d9e42}=_0x17f19f;if(_0x6d9e42){let _0x4460e2='string'==typeof _0x6d9e42?_0x6d9e42:_0x6d9e42['name'];if(_0x4460e2!=_0xa1439&&(_0x380771>_0x44670b['from']||0x0==_0x44670b['from'])){if(_0xa1439=_0x4460e2,'string'!=typeof _0x6d9e42&&_0x6d9e42['header'])_0x708bbc['appendChild'](_0x6d9e42['header'](_0x6d9e42));else _0x708bbc['appendChild'](document['createElement']('completion-section'))['textContent']=_0x4460e2;}}const _0x39c0eb=_0x708bbc['appendChild'](document['createElement']('li'));_0x39c0eb['id']=_0x1d9e6e+'-'+_0x380771,_0x39c0eb['setAttribute']('role','option');let _0x34f7b6=this['optionClass'](_0x17f19f);_0x34f7b6&&(_0x39c0eb['className']=_0x34f7b6);for(let _0x404c81 of this['optionContent']){let _0x284df4=_0x404c81(_0x17f19f,this['view']['state'],this['view'],_0x2087a8);_0x284df4&&_0x39c0eb['appendChild'](_0x284df4);}}return _0x44670b['from']&&_0x708bbc['classList']['add']('cm-completionListIncompleteTop'),_0x44670b['to']<_0x55106d['length']&&_0x708bbc['classList']['add']('cm-completionListIncompleteBottom'),_0x708bbc;}['destroyInfo'](){this['info']&&(this['infoDestroy']&&this['infoDestroy'](),this['info']['remove'](),this['info']=null);}['destroy'](){this['destroyInfo']();}}function completionTooltip(_0xb4d2ff,_0x4a4872){return _0x5077f8=>new CompletionTooltip(_0x5077f8,_0xb4d2ff,_0x4a4872);}function scrollIntoView(_0x483482,_0x31c4a8){let _0x37d24d=_0x483482['getBoundingClientRect'](),_0x51cbe8=_0x31c4a8['getBoundingClientRect'](),_0x1515e6=_0x37d24d['height']/_0x483482['offsetHeight'];_0x51cbe8['top']<_0x37d24d['top']?_0x483482['scrollTop']-=(_0x37d24d['top']-_0x51cbe8['top'])/_0x1515e6:_0x51cbe8['bottom']>_0x37d24d['bottom']&&(_0x483482['scrollTop']+=(_0x51cbe8['bottom']-_0x37d24d['bottom'])/_0x1515e6);}function _0x303728(_0x22374f){return 0x64*(_0x22374f['boost']||0x0)+(_0x22374f['apply']?0xa:0x0)+(_0x22374f['info']?0x5:0x0)+(_0x22374f['type']?0x1:0x0);}function sortOptions(_0x448c99,_0x374696){let _0x1705ce=[],_0x5f4426=null,_0x41a543=null,_0x638a33=_0x44759f=>{_0x1705ce['push'](_0x44759f);let {section:_0x1281a9}=_0x44759f['completion'];if(_0x1281a9){_0x5f4426||(_0x5f4426=[]);let _0x3d0be7='string'==typeof _0x1281a9?_0x1281a9:_0x1281a9['name'];_0x5f4426['some'](_0x57becf=>_0x57becf['name']==_0x3d0be7)||_0x5f4426['push']('string'==typeof _0x1281a9?{'name':_0x3d0be7}:_0x1281a9);}},_0x2d0a53=_0x374696['facet'](completionConfig);for(let _0x13d702 of _0x448c99)if(_0x13d702['hasResult']()){let _0x307d20=_0x13d702['result']['getMatch'];if(!0x1===_0x13d702['result']['filter']){for(let _0x5a6317 of _0x13d702['result']['options'])_0x638a33(new Option(_0x5a6317,_0x13d702['source'],_0x307d20?_0x307d20(_0x5a6317):[],0x3b9aca00-_0x1705ce['length']));}else{let _0x198a43,_0x6aebe0=_0x374696['sliceDoc'](_0x13d702['from'],_0x13d702['to']),_0x86b5b1=_0x2d0a53['filterStrict']?new StrictMatcher(_0x6aebe0):new FuzzyMatcher(_0x6aebe0);for(let _0x5f3348 of _0x13d702['result']['options'])if(_0x198a43=_0x86b5b1['match'](_0x5f3348['label'])){let _0x234de7=_0x5f3348['displayLabel']?_0x307d20?_0x307d20(_0x5f3348,_0x198a43['matched']):[]:_0x198a43['matched'],_0x942d11=_0x198a43['score']+(_0x5f3348['boost']||0x0);if(_0x638a33(new Option(_0x5f3348,_0x13d702['source'],_0x234de7,_0x942d11)),'object'==typeof _0x5f3348['section']&&'dynamic'===_0x5f3348['section']['rank']){let {name:_0x48e5ac}=_0x5f3348['section'];_0x41a543||(_0x41a543=Object['create'](null)),_0x41a543[_0x48e5ac]=Math['max'](_0x942d11,_0x41a543[_0x48e5ac]||-0x3b9aca00);}}}}if(_0x5f4426){let _0x4b9c75=Object['create'](null),_0x2a5029=0x0,_0x38dd7b=(_0x523d2b,_0x16ec31)=>('dynamic'===_0x523d2b['rank']&&'dynamic'===_0x16ec31['rank']?_0x41a543[_0x16ec31['name']]-_0x41a543[_0x523d2b['name']]:0x0)||('number'==typeof _0x523d2b['rank']?_0x523d2b['rank']:0x3b9aca00)-('number'==typeof _0x16ec31['rank']?_0x16ec31['rank']:0x3b9aca00)||(_0x523d2b['name']<_0x16ec31['name']?-0x1:0x1);for(let _0x5d6275 of _0x5f4426['sort'](_0x38dd7b))_0x2a5029-=0x186a0,_0x4b9c75[_0x5d6275['name']]=_0x2a5029;for(let _0x4336aa of _0x1705ce){let {section:_0x3b9f05}=_0x4336aa['completion'];_0x3b9f05&&(_0x4336aa['score']+=_0x4b9c75['string'==typeof _0x3b9f05?_0x3b9f05:_0x3b9f05['name']]);}}let _0x2406d4=[],_0x5d8427=null,_0x5e1f6b=_0x2d0a53['compareCompletions'];for(let _0x2f6ee6 of _0x1705ce['sort']((_0x2dcdd7,_0x5028ac)=>_0x5028ac['score']-_0x2dcdd7['score']||_0x5e1f6b(_0x2dcdd7['completion'],_0x5028ac['completion']))){let _0x2177b9=_0x2f6ee6['completion'];!_0x5d8427||_0x5d8427['label']!=_0x2177b9['label']||_0x5d8427['detail']!=_0x2177b9['detail']||null!=_0x5d8427['type']&&null!=_0x2177b9['type']&&_0x5d8427['type']!=_0x2177b9['type']||_0x5d8427['apply']!=_0x2177b9['apply']||_0x5d8427['boost']!=_0x2177b9['boost']?_0x2406d4['push'](_0x2f6ee6):_0x303728(_0x2f6ee6['completion'])>_0x303728(_0x5d8427)&&(_0x2406d4[_0x2406d4['length']-0x1]=_0x2f6ee6),_0x5d8427=_0x2f6ee6['completion'];}return _0x2406d4;}class CompletionDialog{constructor(_0x487ab0,_0x270cca,_0x295318,_0x2fa98b,_0x229cd3,_0x5497ef){this['options']=_0x487ab0,this['attrs']=_0x270cca,this['tooltip']=_0x295318,this['timestamp']=_0x2fa98b,this['selected']=_0x229cd3,this['disabled']=_0x5497ef;}['setSelected'](_0x3f9059,_0x1b2338){return _0x3f9059==this['selected']||_0x3f9059>=this['options']['length']?this:new CompletionDialog(this['options'],makeAttrs(_0x1b2338,_0x3f9059),this['tooltip'],this['timestamp'],_0x3f9059,this['disabled']);}static['build'](_0x59d970,_0x211a14,_0x251ca8,_0x5cec65,_0x16daaa,_0x34daf2){if(_0x5cec65&&!_0x34daf2&&_0x59d970['some'](_0x1ac769=>_0x1ac769['isPending']))return _0x5cec65['setDisabled']();let _0x5eb048=sortOptions(_0x59d970,_0x211a14);if(!_0x5eb048['length'])return _0x5cec65&&_0x59d970['some'](_0x376564=>_0x376564['isPending'])?_0x5cec65['setDisabled']():null;let _0x24e1c1=_0x211a14['facet'](completionConfig)['selectOnOpen']?0x0:-0x1;if(_0x5cec65&&_0x5cec65['selected']!=_0x24e1c1&&-0x1!=_0x5cec65['selected']){let _0x3d761e=_0x5cec65['options'][_0x5cec65['selected']]['completion'];for(let _0x4df92f=0x0;_0x4df92f<_0x5eb048['length'];_0x4df92f++)if(_0x5eb048[_0x4df92f]['completion']==_0x3d761e){_0x24e1c1=_0x4df92f;break;}}return new CompletionDialog(_0x5eb048,makeAttrs(_0x251ca8,_0x24e1c1),{'pos':_0x59d970['reduce']((_0x3ce87c,_0xd39664)=>_0xd39664['hasResult']()?Math['min'](_0x3ce87c,_0xd39664['from']):_0x3ce87c,0x5f5e100),'create':createTooltip,'above':_0x16daaa['aboveCursor']},_0x5cec65?_0x5cec65['timestamp']:Date['now'](),_0x24e1c1,!0x1);}['map'](_0x32dcc3){return new CompletionDialog(this['options'],this['attrs'],{...this['tooltip'],'pos':_0x32dcc3['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(_0x25c86e,_0xfb12dd,_0x220c87){this['active']=_0x25c86e,this['id']=_0xfb12dd,this['open']=_0x220c87;}static['start'](){return new CompletionState(_0x1360d8,'cm-ac-'+Math['floor'](0x1e8480*Math['random']())['toString'](0x24),null);}['update'](_0x6c6fa8){let {state:_0x26ddd1}=_0x6c6fa8,_0x315518=_0x26ddd1['facet'](completionConfig),_0x50059a=(_0x315518['override']||_0x26ddd1['languageDataAt']('autocomplete',_0x3dd01e(_0x26ddd1))['map'](_0x51c314))['map'](_0x6f4253=>{let _0x2fad14=this['active']['find'](_0xa648cd=>_0xa648cd['source']==_0x6f4253)||new ActiveSource(_0x6f4253,this['active']['some'](_0x431cb0=>0x0!=_0x431cb0['state'])?0x1:0x0);return _0x2fad14['update'](_0x6c6fa8,_0x315518);});_0x50059a['length']==this['active']['length']&&_0x50059a['every']((_0x868dce,_0x56160d)=>_0x868dce==this['active'][_0x56160d])&&(_0x50059a=this['active']);let _0x2de6ac=this['open'],_0x42a500=_0x6c6fa8['effects']['some'](_0x9bb212=>_0x9bb212['is'](setActiveEffect));_0x2de6ac&&_0x6c6fa8['docChanged']&&(_0x2de6ac=_0x2de6ac['map'](_0x6c6fa8['changes'])),_0x6c6fa8['selection']||_0x50059a['some'](_0x19ed22=>_0x19ed22['hasResult']()&&_0x6c6fa8['changes']['touchesRange'](_0x19ed22['from'],_0x19ed22['to']))||!sameResults(_0x50059a,this['active'])||_0x42a500?_0x2de6ac=CompletionDialog['build'](_0x50059a,_0x26ddd1,this['id'],_0x2de6ac,_0x315518,_0x42a500):_0x2de6ac&&_0x2de6ac['disabled']&&!_0x50059a['some'](_0x4bfa7c=>_0x4bfa7c['isPending'])&&(_0x2de6ac=null),!_0x2de6ac&&_0x50059a['every'](_0x2ab56b=>!_0x2ab56b['isPending'])&&_0x50059a['some'](_0x2776e3=>_0x2776e3['hasResult']())&&(_0x50059a=_0x50059a['map'](_0x2e8933=>_0x2e8933['hasResult']()?new ActiveSource(_0x2e8933['source'],0x0):_0x2e8933));for(let _0x52f063 of _0x6c6fa8['effects'])_0x52f063['is'](setSelectedEffect)&&(_0x2de6ac=_0x2de6ac&&_0x2de6ac['setSelected'](_0x52f063['value'],this['id']));return _0x50059a==this['active']&&_0x2de6ac==this['open']?this:new CompletionState(_0x50059a,this['id'],_0x2de6ac);}get['tooltip'](){return this['open']?this['open']['tooltip']:null;}get['attrs'](){return this['open']?this['open']['attrs']:this['active']['length']?baseAttrs:noAttrs;}}function sameResults(_0x35de87,_0x32d995){if(_0x35de87==_0x32d995)return!0x0;for(let _0x1bced7=0x0,_0x446d3d=0x0;;){for(;_0x1bced7<_0x35de87['length']&&!_0x35de87[_0x1bced7]['hasResult']();)_0x1bced7++;for(;_0x446d3d<_0x32d995['length']&&!_0x32d995[_0x446d3d]['hasResult']();)_0x446d3d++;let _0x18ba58=_0x1bced7==_0x35de87['length'],_0x5e8cee=_0x446d3d==_0x32d995['length'];if(_0x18ba58||_0x5e8cee)return _0x18ba58==_0x5e8cee;if(_0x35de87[_0x1bced7++]['result']!=_0x32d995[_0x446d3d++]['result'])return!0x1;}}const baseAttrs={'aria-autocomplete':'list'},noAttrs={};function makeAttrs(_0x2cbd43,_0x3963f9){let _0x19697e={'aria-autocomplete':'list','aria-haspopup':'listbox','aria-controls':_0x2cbd43};return _0x3963f9>-0x1&&(_0x19697e['aria-activedescendant']=_0x2cbd43+'-'+_0x3963f9),_0x19697e;}const _0x1360d8=[];function getUpdateType(_0x261afc,_0x141b20){if(_0x261afc['isUserEvent']('input.complete')){let _0x2a8a42=_0x261afc['annotation'](pickedCompletion);if(_0x2a8a42&&_0x141b20['activateOnCompletion'](_0x2a8a42))return 0xc;}let _0x1e6149=_0x261afc['isUserEvent']('input.type');return _0x1e6149&&_0x141b20['activateOnTyping']?0x5:_0x1e6149?0x1:_0x261afc['isUserEvent']('delete.backward')?0x2:_0x261afc['selection']?0x8:_0x261afc['docChanged']?0x10:0x0;}class ActiveSource{constructor(_0x2aa16b,_0x4f8df6,_0x25dc5e=!0x1){this['source']=_0x2aa16b,this['state']=_0x4f8df6,this['explicit']=_0x25dc5e;}['hasResult'](){return!0x1;}get['isPending'](){return 0x1==this['state'];}['update'](_0x531bfb,_0x35c86f){let _0x1e9006=getUpdateType(_0x531bfb,_0x35c86f),_0x5e9f5c=this;(0x8&_0x1e9006||0x10&_0x1e9006&&this['touches'](_0x531bfb))&&(_0x5e9f5c=new ActiveSource(_0x5e9f5c['source'],0x0)),0x4&_0x1e9006&&0x0==_0x5e9f5c['state']&&(_0x5e9f5c=new ActiveSource(this['source'],0x1)),_0x5e9f5c=_0x5e9f5c['updateFor'](_0x531bfb,_0x1e9006);for(let _0x2b844f of _0x531bfb['effects'])if(_0x2b844f['is'](startCompletionEffect))_0x5e9f5c=new ActiveSource(_0x5e9f5c['source'],0x1,_0x2b844f['value']);else{if(_0x2b844f['is'](closeCompletionEffect))_0x5e9f5c=new ActiveSource(_0x5e9f5c['source'],0x0);else{if(_0x2b844f['is'](setActiveEffect)){for(let _0x4faa05 of _0x2b844f['value'])_0x4faa05['source']==_0x5e9f5c['source']&&(_0x5e9f5c=_0x4faa05);}}}return _0x5e9f5c;}['updateFor'](_0x446424,_0x1542fa){return this['map'](_0x446424['changes']);}['map'](_0x1df701){return this;}['touches'](_0x107352){return _0x107352['changes']['touchesRange'](_0x3dd01e(_0x107352['state']));}}class ActiveResult extends ActiveSource{constructor(_0x3b990c,_0x396687,_0x116e21,_0x16be0a,_0x900eea,_0x393f67){super(_0x3b990c,0x3,_0x396687),this['limit']=_0x116e21,this['result']=_0x16be0a,this['from']=_0x900eea,this['to']=_0x393f67;}['hasResult'](){return!0x0;}['updateFor'](_0x42e1c1,_0x925672){var _0xa879b9;if(!(0x3&_0x925672))return this['map'](_0x42e1c1['changes']);let _0x15968f=this['result'];_0x15968f['map']&&!_0x42e1c1['changes']['empty']&&(_0x15968f=_0x15968f['map'](_0x15968f,_0x42e1c1['changes']));let _0x15001b=_0x42e1c1['changes']['mapPos'](this['from']),_0x49e9b6=_0x42e1c1['changes']['mapPos'](this['to'],0x1),_0x5c6475=_0x3dd01e(_0x42e1c1['state']);if(_0x5c6475>_0x49e9b6||!_0x15968f||0x2&_0x925672&&(_0x3dd01e(_0x42e1c1['startState'])==this['from']||_0x5c6475<this['limit']))return new ActiveSource(this['source'],0x4&_0x925672?0x1:0x0);let _0x942459=_0x42e1c1['changes']['mapPos'](this['limit']);return _0x5e7645(_0x15968f['validFor'],_0x42e1c1['state'],_0x15001b,_0x49e9b6)?new ActiveResult(this['source'],this['explicit'],_0x942459,_0x15968f,_0x15001b,_0x49e9b6):_0x15968f['update']&&(_0x15968f=_0x15968f['update'](_0x15968f,_0x15001b,_0x49e9b6,new CompletionContext(_0x42e1c1['state'],_0x5c6475,!0x1)))?new ActiveResult(this['source'],this['explicit'],_0x942459,_0x15968f,_0x15968f['from'],null!==(_0xa879b9=_0x15968f['to'])&&void 0x0!==_0xa879b9?_0xa879b9:_0x3dd01e(_0x42e1c1['state'])):new ActiveSource(this['source'],0x1,this['explicit']);}['map'](_0xdd7059){if(_0xdd7059['empty'])return this;return(this['result']['map']?this['result']['map'](this['result'],_0xdd7059):this['result'])?new ActiveResult(this['source'],this['explicit'],_0xdd7059['mapPos'](this['limit']),this['result'],_0xdd7059['mapPos'](this['from']),_0xdd7059['mapPos'](this['to'],0x1)):new ActiveSource(this['source'],0x0);}['touches'](_0x1ccee1){return _0x1ccee1['changes']['touchesRange'](this['from'],this['to']);}}function _0x5e7645(_0x40352e,_0x493977,_0x1506c0,_0x1e462c){if(!_0x40352e)return!0x1;let _0x240e4a=_0x493977['sliceDoc'](_0x1506c0,_0x1e462c);return'function'==typeof _0x40352e?_0x40352e(_0x240e4a,_0x1506c0,_0x1e462c,_0x493977):_0x23396a(_0x40352e,!0x0)['test'](_0x240e4a);}const setActiveEffect=StateEffect['define']({'map':(_0xd03739,_0x3acbdf)=>_0xd03739['map'](_0x3cdb28=>_0x3cdb28['map'](_0x3acbdf))}),setSelectedEffect=StateEffect['define'](),completionState=StateField['define']({'create':()=>CompletionState['start'](),'update':(_0x3794d8,_0x62497d)=>_0x3794d8['update'](_0x62497d),'provide':_0x381685=>[showTooltip['from'](_0x381685,_0x411223=>_0x411223['tooltip']),EditorView['contentAttributes']['from'](_0x381685,_0x287245=>_0x287245['attrs'])]});function applyCompletion(_0x22d002,_0x5783e4){const _0x5ef253=_0x5783e4['completion']['apply']||_0x5783e4['completion']['label'];let _0x318c3f=_0x22d002['state']['field'](completionState)['active']['find'](_0x35152c=>_0x35152c['source']==_0x5783e4['source']);return _0x318c3f instanceof ActiveResult&&('string'==typeof _0x5ef253?_0x22d002['dispatch']({...insertCompletionText(_0x22d002['state'],_0x5ef253,_0x318c3f['from'],_0x318c3f['to']),'annotations':pickedCompletion['of'](_0x5783e4['completion'])}):_0x5ef253(_0x22d002,_0x5783e4['completion'],_0x318c3f['from'],_0x318c3f['to']),!0x0);}const createTooltip=completionTooltip(completionState,applyCompletion);function moveCompletionSelection(_0x2a596f,_0xfb7a2e='option'){return _0x56169c=>{let _0xeed286=_0x56169c['state']['field'](completionState,!0x1);if(!_0xeed286||!_0xeed286['open']||_0xeed286['open']['disabled']||Date['now']()-_0xeed286['open']['timestamp']<_0x56169c['state']['facet'](completionConfig)['interactionDelay'])return!0x1;let _0x4dbc40,_0x34943=0x1;'page'==_0xfb7a2e&&(_0x4dbc40=getTooltip(_0x56169c,_0xeed286['open']['tooltip']))&&(_0x34943=Math['max'](0x2,Math['floor'](_0x4dbc40['dom']['offsetHeight']/_0x4dbc40['dom']['querySelector']('li')['offsetHeight'])-0x1));let {length:_0x5764cf}=_0xeed286['open']['options'],_0x40abeb=_0xeed286['open']['selected']>-0x1?_0xeed286['open']['selected']+_0x34943*(_0x2a596f?0x1:-0x1):_0x2a596f?0x0:_0x5764cf-0x1;return _0x40abeb<0x0?_0x40abeb='page'==_0xfb7a2e?0x0:_0x5764cf-0x1:_0x40abeb>=_0x5764cf&&(_0x40abeb='page'==_0xfb7a2e?_0x5764cf-0x1:0x0),_0x56169c['dispatch']({'effects':setSelectedEffect['of'](_0x40abeb)}),!0x0;};}const acceptCompletion=_0x399aa7=>{let _0x1d72d6=_0x399aa7['state']['field'](completionState,!0x1);return!(_0x399aa7['state']['readOnly']||!_0x1d72d6||!_0x1d72d6['open']||_0x1d72d6['open']['selected']<0x0||_0x1d72d6['open']['disabled']||Date['now']()-_0x1d72d6['open']['timestamp']<_0x399aa7['state']['facet'](completionConfig)['interactionDelay'])&&applyCompletion(_0x399aa7,_0x1d72d6['open']['options'][_0x1d72d6['open']['selected']]);},startCompletion=_0x1c6d94=>!!_0x1c6d94['state']['field'](completionState,!0x1)&&(_0x1c6d94['dispatch']({'effects':startCompletionEffect['of'](!0x0)}),!0x0),closeCompletion=_0x34afc6=>{let _0x4a256c=_0x34afc6['state']['field'](completionState,!0x1);return!(!_0x4a256c||!_0x4a256c['active']['some'](_0x16012c=>0x0!=_0x16012c['state']))&&(_0x34afc6['dispatch']({'effects':closeCompletionEffect['of'](null)}),!0x0);};class _0xc314bf{constructor(_0x5450fa,_0x53b63b){this['active']=_0x5450fa,this['context']=_0x53b63b,this['time']=Date['now'](),this['updates']=[],this['done']=void 0x0;}}const MaxUpdateCount=0x32,MinAbortTime=0x3e8,completionPlugin=_0x132f9d['fromClass'](class{constructor(_0x46ae3b){this['view']=_0x46ae3b,this['debounceUpdate']=-0x1,this['running']=[],this['debounceAccept']=-0x1,this['pendingStart']=!0x1,this['composing']=0x0;for(let _0x15ba56 of _0x46ae3b['state']['field'](completionState)['active'])_0x15ba56['isPending']&&this['startQuery'](_0x15ba56);}['update'](_0x5d544d){let _0x188d0f=_0x5d544d['state']['field'](completionState),_0x70a003=_0x5d544d['state']['facet'](completionConfig);if(!_0x5d544d['selectionSet']&&!_0x5d544d['docChanged']&&_0x5d544d['startState']['field'](completionState)==_0x188d0f)return;let _0x4df6ef=_0x5d544d['transactions']['some'](_0x38bfcc=>{let _0x5e41de=getUpdateType(_0x38bfcc,_0x70a003);return 0x8&_0x5e41de||(_0x38bfcc['selection']||_0x38bfcc['docChanged'])&&!(0x3&_0x5e41de);});for(let _0x5dca1a=0x0;_0x5dca1a<this['running']['length'];_0x5dca1a++){let _0x2833e9=this['running'][_0x5dca1a];if(_0x4df6ef||_0x2833e9['context']['abortOnDocChange']&&_0x5d544d['docChanged']||_0x2833e9['updates']['length']+_0x5d544d['transactions']['length']>MaxUpdateCount&&Date['now']()-_0x2833e9['time']>MinAbortTime){for(let _0x436d7d of _0x2833e9['context']['abortListeners'])try{_0x436d7d();}catch(_0x2c43c0){logException(this['view']['state'],_0x2c43c0);}_0x2833e9['context']['abortListeners']=null,this['running']['splice'](_0x5dca1a--,0x1);}else _0x2833e9['updates']['push'](..._0x5d544d['transactions']);}this['debounceUpdate']>-0x1&&clearTimeout(this['debounceUpdate']),_0x5d544d['transactions']['some'](_0x23f373=>_0x23f373['effects']['some'](_0x461360=>_0x461360['is'](startCompletionEffect)))&&(this['pendingStart']=!0x0);let _0x142359=this['pendingStart']?0x32:_0x70a003['activateOnTypingDelay'];if(this['debounceUpdate']=_0x188d0f['active']['some'](_0x4b9ffe=>_0x4b9ffe['isPending']&&!this['running']['some'](_0x1eea75=>_0x1eea75['active']['source']==_0x4b9ffe['source']))?setTimeout(()=>this['startUpdate'](),_0x142359):-0x1,0x0!=this['composing']){for(let _0x21c03c of _0x5d544d['transactions'])_0x21c03c['isUserEvent']('input.type')?this['composing']=0x2:0x2==this['composing']&&_0x21c03c['selection']&&(this['composing']=0x3);}}['startUpdate'](){this['debounceUpdate']=-0x1,this['pendingStart']=!0x1;let {state:_0x440226}=this['view'],_0x30a46e=_0x440226['field'](completionState);for(let _0x4f00b8 of _0x30a46e['active'])_0x4f00b8['isPending']&&!this['running']['some'](_0x3a342=>_0x3a342['active']['source']==_0x4f00b8['source'])&&this['startQuery'](_0x4f00b8);this['running']['length']&&_0x30a46e['open']&&_0x30a46e['open']['disabled']&&(this['debounceAccept']=setTimeout(()=>this['accept'](),this['view']['state']['facet'](completionConfig)['updateSyncTime']));}['startQuery'](_0x575e48){let {state:_0x42bf2e}=this['view'],_0x2d5c05=_0x3dd01e(_0x42bf2e),_0x11b4be=new CompletionContext(_0x42bf2e,_0x2d5c05,_0x575e48['explicit'],this['view']),_0x54ac24=new _0xc314bf(_0x575e48,_0x11b4be);this['running']['push'](_0x54ac24),Promise['resolve'](_0x575e48['source'](_0x11b4be))['then'](_0x2dd523=>{_0x54ac24['context']['aborted']||(_0x54ac24['done']=_0x2dd523||null,this['scheduleAccept']());},_0x32138e=>{this['view']['dispatch']({'effects':closeCompletionEffect['of'](null)}),logException(this['view']['state'],_0x32138e);});}['scheduleAccept'](){this['running']['every'](_0xe7f6e=>void 0x0!==_0xe7f6e['done'])?this['accept']():this['debounceAccept']<0x0&&(this['debounceAccept']=setTimeout(()=>this['accept'](),this['view']['state']['facet'](completionConfig)['updateSyncTime']));}['accept'](){var _0x405509;this['debounceAccept']>-0x1&&clearTimeout(this['debounceAccept']),this['debounceAccept']=-0x1;let _0x361fc1=[],_0x3a7329=this['view']['state']['facet'](completionConfig),_0x1e9b76=this['view']['state']['field'](completionState);for(let _0x5901b7=0x0;_0x5901b7<this['running']['length'];_0x5901b7++){let _0x2dc884=this['running'][_0x5901b7];if(void 0x0===_0x2dc884['done'])continue;if(this['running']['splice'](_0x5901b7--,0x1),_0x2dc884['done']){let _0x5123c5=_0x3dd01e(_0x2dc884['updates']['length']?_0x2dc884['updates'][0x0]['startState']:this['view']['state']),_0x1610b0=Math['min'](_0x5123c5,_0x2dc884['done']['from']+(_0x2dc884['active']['explicit']?0x0:0x1)),_0xeb6465=new ActiveResult(_0x2dc884['active']['source'],_0x2dc884['active']['explicit'],_0x1610b0,_0x2dc884['done'],_0x2dc884['done']['from'],null!==(_0x405509=_0x2dc884['done']['to'])&&void 0x0!==_0x405509?_0x405509:_0x5123c5);for(let _0x232932 of _0x2dc884['updates'])_0xeb6465=_0xeb6465['update'](_0x232932,_0x3a7329);if(_0xeb6465['hasResult']()){_0x361fc1['push'](_0xeb6465);continue;}}let _0x46e4c6=_0x1e9b76['active']['find'](_0x127730=>_0x127730['source']==_0x2dc884['active']['source']);if(_0x46e4c6&&_0x46e4c6['isPending']){if(null==_0x2dc884['done']){let _0x5e5897=new ActiveSource(_0x2dc884['active']['source'],0x0);for(let _0x26aa89 of _0x2dc884['updates'])_0x5e5897=_0x5e5897['update'](_0x26aa89,_0x3a7329);_0x5e5897['isPending']||_0x361fc1['push'](_0x5e5897);}else this['startQuery'](_0x46e4c6);}}(_0x361fc1['length']||_0x1e9b76['open']&&_0x1e9b76['open']['disabled'])&&this['view']['dispatch']({'effects':setActiveEffect['of'](_0x361fc1)});}},{'eventHandlers':{'blur'(_0x5ef6b0){let _0x104c23=this['view']['state']['field'](completionState,!0x1);if(_0x104c23&&_0x104c23['tooltip']&&this['view']['state']['facet'](completionConfig)['closeOnBlur']){let _0x5b4b02=_0x104c23['open']&&getTooltip(this['view'],_0x104c23['open']['tooltip']);_0x5b4b02&&_0x5b4b02['dom']['contains'](_0x5ef6b0['relatedTarget'])||setTimeout(()=>this['view']['dispatch']({'effects':closeCompletionEffect['of'](null)}),0xa);}},'compositionstart'(){this['composing']=0x1;},'compositionend'(){0x3==this['composing']&&setTimeout(()=>this['view']['dispatch']({'effects':startCompletionEffect['of'](!0x1)}),0x14),this['composing']=0x0;}}}),_0x4dbcaf='object'==typeof navigator&&/Win/['test'](navigator['platform']),commitCharacters=_0x4004fa['highest'](EditorView['domEventHandlers']({'keydown'(_0xbbc5f0,_0x586d45){let _0x15ac31=_0x586d45['state']['field'](completionState,!0x1);if(!_0x15ac31||!_0x15ac31['open']||_0x15ac31['open']['disabled']||_0x15ac31['open']['selected']<0x0||_0xbbc5f0['key']['length']>0x1||_0xbbc5f0['ctrlKey']&&(!_0x4dbcaf||!_0xbbc5f0['altKey'])||_0xbbc5f0['metaKey'])return!0x1;let _0x295caf=_0x15ac31['open']['options'][_0x15ac31['open']['selected']],_0x476264=_0x15ac31['active']['find'](_0x5ccbf2=>_0x5ccbf2['source']==_0x295caf['source']),_0x346b8e=_0x295caf['completion']['commitCharacters']||_0x476264['result']['commitCharacters'];return _0x346b8e&&_0x346b8e['indexOf'](_0xbbc5f0['key'])>-0x1&&applyCompletion(_0x586d45,_0x295caf),!0x1;}})),_0x46033b=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 _0x4d73cf{constructor(_0x3b9a1c,_0xfb887c,_0x361b74,_0x5d76f6){this['field']=_0x3b9a1c,this['line']=_0xfb887c,this['from']=_0x361b74,this['to']=_0x5d76f6;}}class _0x2db2f6{constructor(_0x131877,_0x535976,_0x9dc5f6){this['field']=_0x131877,this['from']=_0x535976,this['to']=_0x9dc5f6;}['map'](_0xca07c7){let _0x632e8e=_0xca07c7['mapPos'](this['from'],-0x1,_0x1d8e34['TrackDel']),_0xaf58cb=_0xca07c7['mapPos'](this['to'],0x1,_0x1d8e34['TrackDel']);return null==_0x632e8e||null==_0xaf58cb?null:new _0x2db2f6(this['field'],_0x632e8e,_0xaf58cb);}}class Snippet{constructor(_0x5ed650,_0x598a88){this['lines']=_0x5ed650,this['fieldPositions']=_0x598a88;}['instantiate'](_0x48e730,_0x217554){let _0x610282=[],_0x58f0c5=[_0x217554],_0xf7eea2=_0x48e730['doc']['lineAt'](_0x217554),_0x5a31e7=/^\s*/['exec'](_0xf7eea2['text'])[0x0];for(let _0x457102 of this['lines']){if(_0x610282['length']){let _0x571129=_0x5a31e7,_0x42b5b8=/^\t*/['exec'](_0x457102)[0x0]['length'];for(let _0x501e10=0x0;_0x501e10<_0x42b5b8;_0x501e10++)_0x571129+=_0x48e730['facet'](indentUnit);_0x58f0c5['push'](_0x217554+_0x571129['length']-_0x42b5b8),_0x457102=_0x571129+_0x457102['slice'](_0x42b5b8);}_0x610282['push'](_0x457102),_0x217554+=_0x457102['length']+0x1;}let _0xa22b70=this['fieldPositions']['map'](_0xd90869=>new _0x2db2f6(_0xd90869['field'],_0x58f0c5[_0xd90869['line']]+_0xd90869['from'],_0x58f0c5[_0xd90869['line']]+_0xd90869['to']));return{'text':_0x610282,'ranges':_0xa22b70};}static['parse'](_0x3d1fc0){let _0x445a9f,_0x54e221=[],_0x6783e6=[],_0x471c8f=[];for(let _0x181775 of _0x3d1fc0['split'](/\r\n?|\n/)){for(;_0x445a9f=/[#$]\{(?:(\d+)(?::([^{}]*))?|((?:\\[{}]|[^{}])*))\}/['exec'](_0x181775);){let _0x37fc57=_0x445a9f[0x1]?+_0x445a9f[0x1]:null,_0x37e8e4=_0x445a9f[0x2]||_0x445a9f[0x3]||'',_0x329b5b=-0x1,_0x5422ea=_0x37e8e4['replace'](/\\[{}]/g,_0x6e4a98=>_0x6e4a98[0x1]);for(let _0x329e9f=0x0;_0x329e9f<_0x54e221['length'];_0x329e9f++)(null!=_0x37fc57?_0x54e221[_0x329e9f]['seq']==_0x37fc57:_0x5422ea&&_0x54e221[_0x329e9f]['name']==_0x5422ea)&&(_0x329b5b=_0x329e9f);if(_0x329b5b<0x0){let _0x1c84c0=0x0;for(;_0x1c84c0<_0x54e221['length']&&(null==_0x37fc57||null!=_0x54e221[_0x1c84c0]['seq']&&_0x54e221[_0x1c84c0]['seq']<_0x37fc57);)_0x1c84c0++;_0x54e221['splice'](_0x1c84c0,0x0,{'seq':_0x37fc57,'name':_0x5422ea}),_0x329b5b=_0x1c84c0;for(let _0x28aeea of _0x471c8f)_0x28aeea['field']>=_0x329b5b&&_0x28aeea['field']++;}for(let _0x6eff8e of _0x471c8f)if(_0x6eff8e['line']==_0x6783e6['length']&&_0x6eff8e['from']>_0x445a9f['index']){let _0x48916c=_0x445a9f[0x2]?0x3+(_0x445a9f[0x1]||'')['length']:0x2;_0x6eff8e['from']-=_0x48916c,_0x6eff8e['to']-=_0x48916c;}_0x471c8f['push'](new _0x4d73cf(_0x329b5b,_0x6783e6['length'],_0x445a9f['index'],_0x445a9f['index']+_0x5422ea['length'])),_0x181775=_0x181775['slice'](0x0,_0x445a9f['index'])+_0x37e8e4+_0x181775['slice'](_0x445a9f['index']+_0x445a9f[0x0]['length']);}_0x181775=_0x181775['replace'](/\\([{}])/g,(_0x34a334,_0x4cdeea,_0x3d070b)=>{for(let _0x2f21a9 of _0x471c8f)_0x2f21a9['line']==_0x6783e6['length']&&_0x2f21a9['from']>_0x3d070b&&(_0x2f21a9['from']--,_0x2f21a9['to']--);return _0x4cdeea;}),_0x6783e6['push'](_0x181775);}return new Snippet(_0x6783e6,_0x471c8f);}}let _0x754654=Decoration['widget']({'widget':new class extends WidgetType{['toDOM'](){let _0x591608=document['createElement']('span');return _0x591608['className']='cm-snippetFieldPosition',_0x591608;}['ignoreEvent'](){return!0x1;}}()}),_0x599faf=Decoration['mark']({'class':'cm-snippetField'});class ActiveSnippet{constructor(_0x2ef029,_0x5c3aed){this['ranges']=_0x2ef029,this['active']=_0x5c3aed,this['deco']=Decoration['set'](_0x2ef029['map'](_0x3612ba=>(_0x3612ba['from']==_0x3612ba['to']?_0x754654:_0x599faf)['range'](_0x3612ba['from'],_0x3612ba['to'])),!0x0);}['map'](_0xd838ea){let _0x429bd2=[];for(let _0x59e7c0 of this['ranges']){let _0x37d5ba=_0x59e7c0['map'](_0xd838ea);if(!_0x37d5ba)return null;_0x429bd2['push'](_0x37d5ba);}return new ActiveSnippet(_0x429bd2,this['active']);}['selectionInsideField'](_0x3e1789){return _0x3e1789['ranges']['every'](_0x69a974=>this['ranges']['some'](_0x29328e=>_0x29328e['field']==this['active']&&_0x29328e['from']<=_0x69a974['from']&&_0x29328e['to']>=_0x69a974['to']));}}const setActive=StateEffect['define']({'map':(_0x47ee46,_0x4fc4d1)=>_0x47ee46&&_0x47ee46['map'](_0x4fc4d1)}),_0x900445=StateEffect['define'](),snippetState=StateField['define']({'create':()=>null,'update'(_0x129d22,_0x56a914){for(let _0x485ae1 of _0x56a914['effects']){if(_0x485ae1['is'](setActive))return _0x485ae1['value'];if(_0x485ae1['is'](_0x900445)&&_0x129d22)return new ActiveSnippet(_0x129d22['ranges'],_0x485ae1['value']);}return _0x129d22&&_0x56a914['docChanged']&&(_0x129d22=_0x129d22['map'](_0x56a914['changes'])),_0x129d22&&_0x56a914['selection']&&!_0x129d22['selectionInsideField'](_0x56a914['selection'])&&(_0x129d22=null),_0x129d22;},'provide':_0x112497=>EditorView['decorations']['from'](_0x112497,_0x220d2b=>_0x220d2b?_0x220d2b['deco']:Decoration['none'])});function fieldSelection(_0x45ee9a,_0x2cc3e9){return EditorSelection['create'](_0x45ee9a['filter'](_0x20f6bf=>_0x20f6bf['field']==_0x2cc3e9)['map'](_0x246982=>EditorSelection['range'](_0x246982['from'],_0x246982['to'])));}function snippet(_0x40aa60){let _0x5d998a=Snippet['parse'](_0x40aa60);return(_0xf882c6,_0x35f874,_0x4687fc,_0x38dbb9)=>{let {text:_0x342534,ranges:_0x4d6635}=_0x5d998a['instantiate'](_0xf882c6['state'],_0x4687fc),{main:_0x1c19d9}=_0xf882c6['state']['selection'],_0x33a8e5={'changes':{'from':_0x4687fc,'to':_0x38dbb9==_0x1c19d9['from']?_0x1c19d9['to']:_0x38dbb9,'insert':Text$1['of'](_0x342534)},'scrollIntoView':!0x0,'annotations':_0x35f874?[pickedCompletion['of'](_0x35f874),Transaction['userEvent']['of']('input.complete')]:void 0x0};if(_0x4d6635['length']&&(_0x33a8e5['selection']=fieldSelection(_0x4d6635,0x0)),_0x4d6635['some'](_0x3ba3e2=>_0x3ba3e2['field']>0x0)){let _0x5cd07a=new ActiveSnippet(_0x4d6635,0x0),_0x22ea43=_0x33a8e5['effects']=[setActive['of'](_0x5cd07a)];void 0x0===_0xf882c6['state']['field'](snippetState,!0x1)&&_0x22ea43['push'](StateEffect['appendConfig']['of']([snippetState,addSnippetKeymap,snippetPointerHandler,_0x46033b]));}_0xf882c6['dispatch'](_0xf882c6['state']['update'](_0x33a8e5));};}function _0x4e7ab2(_0xed5a9f){return({state:_0x244411,dispatch:_0x517913})=>{let _0x1fe88c=_0x244411['field'](snippetState,!0x1);if(!_0x1fe88c||_0xed5a9f<0x0&&0x0==_0x1fe88c['active'])return!0x1;let _0x57e6ba=_0x1fe88c['active']+_0xed5a9f,_0x3ae9cf=_0xed5a9f>0x0&&!_0x1fe88c['ranges']['some'](_0x93e813=>_0x93e813['field']==_0x57e6ba+_0xed5a9f);return _0x517913(_0x244411['update']({'selection':fieldSelection(_0x1fe88c['ranges'],_0x57e6ba),'effects':setActive['of'](_0x3ae9cf?null:new ActiveSnippet(_0x1fe88c['ranges'],_0x57e6ba)),'scrollIntoView':!0x0})),!0x0;};}const clearSnippet=({state:_0x47806b,dispatch:_0x5bac64})=>!!_0x47806b['field'](snippetState,!0x1)&&(_0x5bac64(_0x47806b['update']({'effects':setActive['of'](null)})),!0x0),nextSnippetField=_0x4e7ab2(0x1),prevSnippetField=_0x4e7ab2(-0x1),defaultSnippetKeymap=[{'key':'Tab','run':nextSnippetField,'shift':prevSnippetField},{'key':'Escape','run':clearSnippet}],snippetKeymap=Facet['define']({'combine':_0x831f81=>_0x831f81['length']?_0x831f81[0x0]:defaultSnippetKeymap}),addSnippetKeymap=_0x4004fa['highest'](_0x1222e4['compute']([snippetKeymap],_0x536c8b=>_0x536c8b['facet'](snippetKeymap)));function snippetCompletion(_0x320408,_0xe4a326){return{..._0xe4a326,'apply':snippet(_0x320408)};}const snippetPointerHandler=EditorView['domEventHandlers']({'mousedown'(_0x24e862,_0x423ad4){let _0x140979,_0x5225c2=_0x423ad4['state']['field'](snippetState,!0x1);if(!_0x5225c2||null==(_0x140979=_0x423ad4['posAtCoords']({'x':_0x24e862['clientX'],'y':_0x24e862['clientY']})))return!0x1;let _0x22dec9=_0x5225c2['ranges']['find'](_0x118d51=>_0x118d51['from']<=_0x140979&&_0x118d51['to']>=_0x140979);return!(!_0x22dec9||_0x22dec9['field']==_0x5225c2['active'])&&(_0x423ad4['dispatch']({'selection':fieldSelection(_0x5225c2['ranges'],_0x22dec9['field']),'effects':setActive['of'](_0x5225c2['ranges']['some'](_0x406c9a=>_0x406c9a['field']>_0x22dec9['field'])?new ActiveSnippet(_0x5225c2['ranges'],_0x22dec9['field']):null),'scrollIntoView':!0x0}),!0x0);}}),defaults={'brackets':['(','[','{','\x27','\x22'],'before':')]}:;>','stringPrefixes':[]},closeBracketEffect=StateEffect['define']({'map'(_0x55bf3e,_0x5b8ab1){let _0x29ddf7=_0x5b8ab1['mapPos'](_0x55bf3e,-0x1,_0x1d8e34['TrackAfter']);return null==_0x29ddf7?void 0x0:_0x29ddf7;}}),closedBracket=new class extends _0x57c96b{}();closedBracket['startSide']=0x1,closedBracket['endSide']=-0x1;const bracketState=StateField['define']({'create':()=>RangeSet['empty'],'update'(_0x2df865,_0x34ca6d){if(_0x2df865=_0x2df865['map'](_0x34ca6d['changes']),_0x34ca6d['selection']){let _0x34d78f=_0x34ca6d['state']['doc']['lineAt'](_0x34ca6d['selection']['main']['head']);_0x2df865=_0x2df865['update']({'filter':_0x396990=>_0x396990>=_0x34d78f['from']&&_0x396990<=_0x34d78f['to']});}for(let _0x5e4f05 of _0x34ca6d['effects'])_0x5e4f05['is'](closeBracketEffect)&&(_0x2df865=_0x2df865['update']({'add':[closedBracket['range'](_0x5e4f05['value'],_0x5e4f05['value']+0x1)]}));return _0x2df865;}});function closeBrackets(){return[inputHandler,bracketState];}const _0xb2ea35='()[]{}<>«»»«［］｛｝';function _0x406f40(_0x1664a2){for(let _0x2f2302=0x0;_0x2f2302<_0xb2ea35['length'];_0x2f2302+=0x2)if(_0xb2ea35['charCodeAt'](_0x2f2302)==_0x1664a2)return _0xb2ea35['charAt'](_0x2f2302+0x1);return fromCodePoint(_0x1664a2<0x80?_0x1664a2:_0x1664a2+0x1);}function _0x775baf(_0x1d828a,_0x1056e5){return _0x1d828a['languageDataAt']('closeBrackets',_0x1056e5)[0x0]||defaults;}const _0x5022b2='object'==typeof navigator&&/Android\b/['test'](navigator['userAgent']),inputHandler=EditorView['inputHandler']['of']((_0x593412,_0x2819d3,_0x1fc8f9,_0x250079)=>{if((_0x5022b2?_0x593412['composing']:_0x593412['compositionStarted'])||_0x593412['state']['readOnly'])return!0x1;let _0x22ddc6=_0x593412['state']['selection']['main'];if(_0x250079['length']>0x2||0x2==_0x250079['length']&&0x1==codePointSize(codePointAt(_0x250079,0x0))||_0x2819d3!=_0x22ddc6['from']||_0x1fc8f9!=_0x22ddc6['to'])return!0x1;let _0x14508e=insertBracket(_0x593412['state'],_0x250079);return!!_0x14508e&&(_0x593412['dispatch'](_0x14508e),!0x0);}),deleteBracketPair=({state:_0x17efad,dispatch:_0x481bad})=>{if(_0x17efad['readOnly'])return!0x1;let _0x2fe22d=_0x775baf(_0x17efad,_0x17efad['selection']['main']['head'])['brackets']||defaults['brackets'],_0x450da4=null,_0x42d9f3=_0x17efad['changeByRange'](_0x7ccfa=>{if(_0x7ccfa['empty']){let _0x308017=_0x595df1(_0x17efad['doc'],_0x7ccfa['head']);for(let _0x43ebb5 of _0x2fe22d)if(_0x43ebb5==_0x308017&&nextChar(_0x17efad['doc'],_0x7ccfa['head'])==_0x406f40(codePointAt(_0x43ebb5,0x0)))return{'changes':{'from':_0x7ccfa['head']-_0x43ebb5['length'],'to':_0x7ccfa['head']+_0x43ebb5['length']},'range':EditorSelection['cursor'](_0x7ccfa['head']-_0x43ebb5['length'])};}return{'range':_0x450da4=_0x7ccfa};});return _0x450da4||_0x481bad(_0x17efad['update'](_0x42d9f3,{'scrollIntoView':!0x0,'userEvent':'delete.backward'})),!_0x450da4;},closeBracketsKeymap=[{'key':'Backspace','run':deleteBracketPair}];function insertBracket(_0x3e7024,_0xe629fe){let _0x3faf1c=_0x775baf(_0x3e7024,_0x3e7024['selection']['main']['head']),_0x6eb001=_0x3faf1c['brackets']||defaults['brackets'];for(let _0x4793ea of _0x6eb001){let _0x420640=_0x406f40(codePointAt(_0x4793ea,0x0));if(_0xe629fe==_0x4793ea)return _0x420640==_0x4793ea?_0x946389(_0x3e7024,_0x4793ea,_0x6eb001['indexOf'](_0x4793ea+_0x4793ea+_0x4793ea)>-0x1,_0x3faf1c):_0x56e7ac(_0x3e7024,_0x4793ea,_0x420640,_0x3faf1c['before']||defaults['before']);if(_0xe629fe==_0x420640&&closedBracketAt(_0x3e7024,_0x3e7024['selection']['main']['from']))return _0xb59b4e(_0x3e7024,_0x4793ea,_0x420640);}return null;}function closedBracketAt(_0x3fa3b3,_0x123adc){let _0x59ae57=!0x1;return _0x3fa3b3['field'](bracketState)['between'](0x0,_0x3fa3b3['doc']['length'],_0x73f9e5=>{_0x73f9e5==_0x123adc&&(_0x59ae57=!0x0);}),_0x59ae57;}function nextChar(_0x3e0e43,_0x3922a8){let _0x4d8271=_0x3e0e43['sliceString'](_0x3922a8,_0x3922a8+0x2);return _0x4d8271['slice'](0x0,codePointSize(codePointAt(_0x4d8271,0x0)));}function _0x595df1(_0x183467,_0xdf6e31){let _0x77bffe=_0x183467['sliceString'](_0xdf6e31-0x2,_0xdf6e31);return codePointSize(codePointAt(_0x77bffe,0x0))==_0x77bffe['length']?_0x77bffe:_0x77bffe['slice'](0x1);}function _0x56e7ac(_0x1ea4b3,_0x5afc28,_0x5b0e4d,_0xd62a11){let _0x281a61=null,_0xe812e3=_0x1ea4b3['changeByRange'](_0x7b8c52=>{if(!_0x7b8c52['empty'])return{'changes':[{'insert':_0x5afc28,'from':_0x7b8c52['from']},{'insert':_0x5b0e4d,'from':_0x7b8c52['to']}],'effects':closeBracketEffect['of'](_0x7b8c52['to']+_0x5afc28['length']),'range':EditorSelection['range'](_0x7b8c52['anchor']+_0x5afc28['length'],_0x7b8c52['head']+_0x5afc28['length'])};let _0x40a2c6=nextChar(_0x1ea4b3['doc'],_0x7b8c52['head']);return!_0x40a2c6||/\s/['test'](_0x40a2c6)||_0xd62a11['indexOf'](_0x40a2c6)>-0x1?{'changes':{'insert':_0x5afc28+_0x5b0e4d,'from':_0x7b8c52['head']},'effects':closeBracketEffect['of'](_0x7b8c52['head']+_0x5afc28['length']),'range':EditorSelection['cursor'](_0x7b8c52['head']+_0x5afc28['length'])}:{'range':_0x281a61=_0x7b8c52};});return _0x281a61?null:_0x1ea4b3['update'](_0xe812e3,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function _0xb59b4e(_0x341e0e,_0x30bf00,_0x34c3ee){let _0x4397fa=null,_0x2852d8=_0x341e0e['changeByRange'](_0x309597=>_0x309597['empty']&&nextChar(_0x341e0e['doc'],_0x309597['head'])==_0x34c3ee?{'changes':{'from':_0x309597['head'],'to':_0x309597['head']+_0x34c3ee['length'],'insert':_0x34c3ee},'range':EditorSelection['cursor'](_0x309597['head']+_0x34c3ee['length'])}:_0x4397fa={'range':_0x309597});return _0x4397fa?null:_0x341e0e['update'](_0x2852d8,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function _0x946389(_0x3812da,_0x14f600,_0x521ac3,_0x24d7ad){let _0xc2ffe7=_0x24d7ad['stringPrefixes']||defaults['stringPrefixes'],_0x1556b3=null,_0x3dd38b=_0x3812da['changeByRange'](_0x8ec7ac=>{if(!_0x8ec7ac['empty'])return{'changes':[{'insert':_0x14f600,'from':_0x8ec7ac['from']},{'insert':_0x14f600,'from':_0x8ec7ac['to']}],'effects':closeBracketEffect['of'](_0x8ec7ac['to']+_0x14f600['length']),'range':EditorSelection['range'](_0x8ec7ac['anchor']+_0x14f600['length'],_0x8ec7ac['head']+_0x14f600['length'])};let _0x1dc5fd,_0x3c1cb0=_0x8ec7ac['head'],_0x4f3576=nextChar(_0x3812da['doc'],_0x3c1cb0);if(_0x4f3576==_0x14f600){if(nodeStart(_0x3812da,_0x3c1cb0))return{'changes':{'insert':_0x14f600+_0x14f600,'from':_0x3c1cb0},'effects':closeBracketEffect['of'](_0x3c1cb0+_0x14f600['length']),'range':EditorSelection['cursor'](_0x3c1cb0+_0x14f600['length'])};if(closedBracketAt(_0x3812da,_0x3c1cb0)){let _0x2933d2=_0x521ac3&&_0x3812da['sliceDoc'](_0x3c1cb0,_0x3c1cb0+0x3*_0x14f600['length'])==_0x14f600+_0x14f600+_0x14f600?_0x14f600+_0x14f600+_0x14f600:_0x14f600;return{'changes':{'from':_0x3c1cb0,'to':_0x3c1cb0+_0x2933d2['length'],'insert':_0x2933d2},'range':EditorSelection['cursor'](_0x3c1cb0+_0x2933d2['length'])};}}else{if(_0x521ac3&&_0x3812da['sliceDoc'](_0x3c1cb0-0x2*_0x14f600['length'],_0x3c1cb0)==_0x14f600+_0x14f600&&(_0x1dc5fd=canStartStringAt(_0x3812da,_0x3c1cb0-0x2*_0x14f600['length'],_0xc2ffe7))>-0x1&&nodeStart(_0x3812da,_0x1dc5fd))return{'changes':{'insert':_0x14f600+_0x14f600+_0x14f600+_0x14f600,'from':_0x3c1cb0},'effects':closeBracketEffect['of'](_0x3c1cb0+_0x14f600['length']),'range':EditorSelection['cursor'](_0x3c1cb0+_0x14f600['length'])};if(_0x3812da['charCategorizer'](_0x3c1cb0)(_0x4f3576)!=CharCategory['Word']&&canStartStringAt(_0x3812da,_0x3c1cb0,_0xc2ffe7)>-0x1&&!probablyInString(_0x3812da,_0x3c1cb0,_0x14f600,_0xc2ffe7))return{'changes':{'insert':_0x14f600+_0x14f600,'from':_0x3c1cb0},'effects':closeBracketEffect['of'](_0x3c1cb0+_0x14f600['length']),'range':EditorSelection['cursor'](_0x3c1cb0+_0x14f600['length'])};}return{'range':_0x1556b3=_0x8ec7ac};});return _0x1556b3?null:_0x3812da['update'](_0x3dd38b,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function nodeStart(_0x3be13f,_0x3da246){let _0x40819e=syntaxTree(_0x3be13f)['resolveInner'](_0x3da246+0x1);return _0x40819e['parent']&&_0x40819e['from']==_0x3da246;}function probablyInString(_0x173540,_0xa7f5e1,_0x10d328,_0x361281){let _0x263a35=syntaxTree(_0x173540)['resolveInner'](_0xa7f5e1,-0x1),_0x5c2808=_0x361281['reduce']((_0x4a9c0c,_0xccb316)=>Math['max'](_0x4a9c0c,_0xccb316['length']),0x0);for(let _0x4bf142=0x0;_0x4bf142<0x5;_0x4bf142++){let _0x157a05=_0x173540['sliceDoc'](_0x263a35['from'],Math['min'](_0x263a35['to'],_0x263a35['from']+_0x10d328['length']+_0x5c2808)),_0x4d47b0=_0x157a05['indexOf'](_0x10d328);if(!_0x4d47b0||_0x4d47b0>-0x1&&_0x361281['indexOf'](_0x157a05['slice'](0x0,_0x4d47b0))>-0x1){let _0x105429=_0x263a35['firstChild'];for(;_0x105429&&_0x105429['from']==_0x263a35['from']&&_0x105429['to']-_0x105429['from']>_0x10d328['length']+_0x4d47b0;){if(_0x173540['sliceDoc'](_0x105429['to']-_0x10d328['length'],_0x105429['to'])==_0x10d328)return!0x1;_0x105429=_0x105429['firstChild'];}return!0x0;}let _0x2bbf3f=_0x263a35['to']==_0xa7f5e1&&_0x263a35['parent'];if(!_0x2bbf3f)break;_0x263a35=_0x2bbf3f;}return!0x1;}function canStartStringAt(_0x3fa657,_0x3df0d0,_0x1b69d4){let _0x1f436e=_0x3fa657['charCategorizer'](_0x3df0d0);if(_0x1f436e(_0x3fa657['sliceDoc'](_0x3df0d0-0x1,_0x3df0d0))!=CharCategory['Word'])return _0x3df0d0;for(let _0x2ba0b3 of _0x1b69d4){let _0x479eb1=_0x3df0d0-_0x2ba0b3['length'];if(_0x3fa657['sliceDoc'](_0x479eb1,_0x3df0d0)==_0x2ba0b3&&_0x1f436e(_0x3fa657['sliceDoc'](_0x479eb1-0x1,_0x479eb1))!=CharCategory['Word'])return _0x479eb1;}return-0x1;}function autocompletion(_0x1c8510={}){return[commitCharacters,completionState,completionConfig['of'](_0x1c8510),completionPlugin,completionKeymapExt,_0x46033b];}const completionKeymap=[{'key':'Ctrl-Space','run':startCompletion},{'mac':'Alt-`','run':startCompletion},{'mac':'Alt-i','run':startCompletion},{'key':'Escape','run':closeCompletion},{'key':'ArrowDown','run':moveCompletionSelection(!0x0)},{'key':'ArrowUp','run':moveCompletionSelection(!0x1)},{'key':'PageDown','run':moveCompletionSelection(!0x0,'page')},{'key':'PageUp','run':moveCompletionSelection(!0x1,'page')},{'key':'Enter','run':acceptCompletion}],completionKeymapExt=_0x4004fa['highest'](_0x1222e4['computeN']([completionConfig],_0x14bd2d=>_0x14bd2d['facet'](completionConfig)['defaultKeymap']?[completionKeymap]:[]));class Stack{constructor(_0x18400c,_0x293fb1,_0x3e59bd,_0x1afdc2,_0x48f20b,_0x3866a1,_0x524487,_0x13b7d2,_0x450f6f,_0x4acc0a=0x0,_0x2a0bf6){this['p']=_0x18400c,this['stack']=_0x293fb1,this['state']=_0x3e59bd,this['reducePos']=_0x1afdc2,this['pos']=_0x48f20b,this['score']=_0x3866a1,this['buffer']=_0x524487,this['bufferBase']=_0x13b7d2,this['curContext']=_0x450f6f,this['lookAhead']=_0x4acc0a,this['parent']=_0x2a0bf6;}['toString'](){return'['+this['stack']['filter']((_0x338f1a,_0x57074d)=>_0x57074d%0x3==0x0)['concat'](this['state'])+']@'+this['pos']+(this['score']?'!'+this['score']:'');}static['start'](_0x575c2b,_0x5e8709,_0x2e8d3e=0x0){let _0x26e2f5=_0x575c2b['parser']['context'];return new Stack(_0x575c2b,[],_0x5e8709,_0x2e8d3e,_0x2e8d3e,0x0,[],0x0,_0x26e2f5?new StackContext(_0x26e2f5,_0x26e2f5['start']):null,0x0,null);}get['context'](){return this['curContext']?this['curContext']['context']:null;}['pushState'](_0x27900b,_0x27cde8){this['stack']['push'](this['state'],_0x27cde8,this['bufferBase']+this['buffer']['length']),this['state']=_0x27900b;}['reduce'](_0x42504d){var _0x39f46d;let _0x2d2c0e=_0x42504d>>0x13,_0xb3ce0c=0xffff&_0x42504d,{parser:_0xd194c1}=this['p'],_0x5536bd=this['reducePos']<this['pos']-0x19;_0x5536bd&&this['setLookAhead'](this['pos']);let _0x9ea12c=_0xd194c1['dynamicPrecedence'](_0xb3ce0c);if(_0x9ea12c&&(this['score']+=_0x9ea12c),0x0==_0x2d2c0e)return this['pushState'](_0xd194c1['getGoto'](this['state'],_0xb3ce0c,!0x0),this['reducePos']),_0xb3ce0c<_0xd194c1['minRepeatTerm']&&this['storeNode'](_0xb3ce0c,this['reducePos'],this['reducePos'],_0x5536bd?0x8:0x4,!0x0),void this['reduceContext'](_0xb3ce0c,this['reducePos']);let _0x112991=this['stack']['length']-0x3*(_0x2d2c0e-0x1)-(0x40000&_0x42504d?0x6:0x0),_0x5e1f42=_0x112991?this['stack'][_0x112991-0x2]:this['p']['ranges'][0x0]['from'],_0x1d3a7e=this['reducePos']-_0x5e1f42;_0x1d3a7e>=0x7d0&&!(null===(_0x39f46d=this['p']['parser']['nodeSet']['types'][_0xb3ce0c])||void 0x0===_0x39f46d?void 0x0:_0x39f46d['isAnonymous'])&&(_0x5e1f42==this['p']['lastBigReductionStart']?(this['p']['bigReductionCount']++,this['p']['lastBigReductionSize']=_0x1d3a7e):this['p']['lastBigReductionSize']<_0x1d3a7e&&(this['p']['bigReductionCount']=0x1,this['p']['lastBigReductionStart']=_0x5e1f42,this['p']['lastBigReductionSize']=_0x1d3a7e));let _0x1d5bf0=_0x112991?this['stack'][_0x112991-0x1]:0x0,_0x1a845e=this['bufferBase']+this['buffer']['length']-_0x1d5bf0;if(_0xb3ce0c<_0xd194c1['minRepeatTerm']||0x20000&_0x42504d){let _0x1dd9fb=_0xd194c1['stateFlag'](this['state'],0x1)?this['pos']:this['reducePos'];this['storeNode'](_0xb3ce0c,_0x5e1f42,_0x1dd9fb,_0x1a845e+0x4,!0x0);}if(0x40000&_0x42504d)this['state']=this['stack'][_0x112991];else{let _0x4ac6fa=this['stack'][_0x112991-0x3];this['state']=_0xd194c1['getGoto'](_0x4ac6fa,_0xb3ce0c,!0x0);}for(;this['stack']['length']>_0x112991;)this['stack']['pop']();this['reduceContext'](_0xb3ce0c,_0x5e1f42);}['storeNode'](_0x585a84,_0x5ec06d,_0x49a3b9,_0x220e54=0x4,_0x5589a0=!0x1){if(0x0==_0x585a84&&(!this['stack']['length']||this['stack'][this['stack']['length']-0x1]<this['buffer']['length']+this['bufferBase'])){let _0x515da7=this,_0x273238=this['buffer']['length'];if(0x0==_0x273238&&_0x515da7['parent']&&(_0x273238=_0x515da7['bufferBase']-_0x515da7['parent']['bufferBase'],_0x515da7=_0x515da7['parent']),_0x273238>0x0&&0x0==_0x515da7['buffer'][_0x273238-0x4]&&_0x515da7['buffer'][_0x273238-0x1]>-0x1){if(_0x5ec06d==_0x49a3b9)return;if(_0x515da7['buffer'][_0x273238-0x2]>=_0x5ec06d)return void(_0x515da7['buffer'][_0x273238-0x2]=_0x49a3b9);}}if(_0x5589a0&&this['pos']!=_0x49a3b9){let _0x15ca3d=this['buffer']['length'];if(_0x15ca3d>0x0&&(0x0!=this['buffer'][_0x15ca3d-0x4]||this['buffer'][_0x15ca3d-0x1]<0x0)){let _0x333348=!0x1;for(let _0x4235da=_0x15ca3d;_0x4235da>0x0&&this['buffer'][_0x4235da-0x2]>_0x49a3b9;_0x4235da-=0x4)if(this['buffer'][_0x4235da-0x1]>=0x0){_0x333348=!0x0;break;}if(_0x333348){for(;_0x15ca3d>0x0&&this['buffer'][_0x15ca3d-0x2]>_0x49a3b9;)this['buffer'][_0x15ca3d]=this['buffer'][_0x15ca3d-0x4],this['buffer'][_0x15ca3d+0x1]=this['buffer'][_0x15ca3d-0x3],this['buffer'][_0x15ca3d+0x2]=this['buffer'][_0x15ca3d-0x2],this['buffer'][_0x15ca3d+0x3]=this['buffer'][_0x15ca3d-0x1],_0x15ca3d-=0x4,_0x220e54>0x4&&(_0x220e54-=0x4);}}this['buffer'][_0x15ca3d]=_0x585a84,this['buffer'][_0x15ca3d+0x1]=_0x5ec06d,this['buffer'][_0x15ca3d+0x2]=_0x49a3b9,this['buffer'][_0x15ca3d+0x3]=_0x220e54;}else this['buffer']['push'](_0x585a84,_0x5ec06d,_0x49a3b9,_0x220e54);}['shift'](_0x37c5d5,_0x3fd6f6,_0x21765d,_0x8a32c4){if(0x20000&_0x37c5d5)this['pushState'](0xffff&_0x37c5d5,this['pos']);else{if(0x40000&_0x37c5d5)this['pos']=_0x8a32c4,this['shiftContext'](_0x3fd6f6,_0x21765d),_0x3fd6f6<=this['p']['parser']['maxNode']&&this['buffer']['push'](_0x3fd6f6,_0x21765d,_0x8a32c4,0x4);else{let _0x52d23c=_0x37c5d5,{parser:_0x406988}=this['p'];(_0x8a32c4>this['pos']||_0x3fd6f6<=_0x406988['maxNode'])&&(this['pos']=_0x8a32c4,_0x406988['stateFlag'](_0x52d23c,0x1)||(this['reducePos']=_0x8a32c4)),this['pushState'](_0x52d23c,_0x21765d),this['shiftContext'](_0x3fd6f6,_0x21765d),_0x3fd6f6<=_0x406988['maxNode']&&this['buffer']['push'](_0x3fd6f6,_0x21765d,_0x8a32c4,0x4);}}}['apply'](_0x362dfa,_0x59a5ec,_0x38980a,_0x10b872){0x10000&_0x362dfa?this['reduce'](_0x362dfa):this['shift'](_0x362dfa,_0x59a5ec,_0x38980a,_0x10b872);}['useNode'](_0xbb3f29,_0x5295bf){let _0x534dcb=this['p']['reused']['length']-0x1;(_0x534dcb<0x0||this['p']['reused'][_0x534dcb]!=_0xbb3f29)&&(this['p']['reused']['push'](_0xbb3f29),_0x534dcb++);let _0x395751=this['pos'];this['reducePos']=this['pos']=_0x395751+_0xbb3f29['length'],this['pushState'](_0x5295bf,_0x395751),this['buffer']['push'](_0x534dcb,_0x395751,this['reducePos'],-0x1),this['curContext']&&this['updateContext'](this['curContext']['tracker']['reuse'](this['curContext']['context'],_0xbb3f29,this,this['p']['stream']['reset'](this['pos']-_0xbb3f29['length'])));}['split'](){let _0x25a735=this,_0x1acc70=_0x25a735['buffer']['length'];for(;_0x1acc70>0x0&&_0x25a735['buffer'][_0x1acc70-0x2]>_0x25a735['reducePos'];)_0x1acc70-=0x4;let _0x58a85c=_0x25a735['buffer']['slice'](_0x1acc70),_0x43daa6=_0x25a735['bufferBase']+_0x1acc70;for(;_0x25a735&&_0x43daa6==_0x25a735['bufferBase'];)_0x25a735=_0x25a735['parent'];return new Stack(this['p'],this['stack']['slice'](),this['state'],this['reducePos'],this['pos'],this['score'],_0x58a85c,_0x43daa6,this['curContext'],this['lookAhead'],_0x25a735);}['recoverByDelete'](_0x177157,_0x3e1a7d){let _0x524df6=_0x177157<=this['p']['parser']['maxNode'];_0x524df6&&this['storeNode'](_0x177157,this['pos'],_0x3e1a7d,0x4),this['storeNode'](0x0,this['pos'],_0x3e1a7d,_0x524df6?0x8:0x4),this['pos']=this['reducePos']=_0x3e1a7d,this['score']-=0xbe;}['canShift'](_0x653021){for(let _0xfdabe7=new SimulatedStack(this);;){let _0x547abd=this['p']['parser']['stateSlot'](_0xfdabe7['state'],0x4)||this['p']['parser']['hasAction'](_0xfdabe7['state'],_0x653021);if(0x0==_0x547abd)return!0x1;if(!(0x10000&_0x547abd))return!0x0;_0xfdabe7['reduce'](_0x547abd);}}['recoverByInsert'](_0x3f2dd3){if(this['stack']['length']>=0x12c)return[];let _0x415c37=this['p']['parser']['nextStates'](this['state']);if(_0x415c37['length']>0x8||this['stack']['length']>=0x78){let _0x2f73a8=[];for(let _0x5523ad,_0x58decb=0x0;_0x58decb<_0x415c37['length'];_0x58decb+=0x2)(_0x5523ad=_0x415c37[_0x58decb+0x1])!=this['state']&&this['p']['parser']['hasAction'](_0x5523ad,_0x3f2dd3)&&_0x2f73a8['push'](_0x415c37[_0x58decb],_0x5523ad);if(this['stack']['length']<0x78)for(let _0x5a506d=0x0;_0x2f73a8['length']<0x8&&_0x5a506d<_0x415c37['length'];_0x5a506d+=0x2){let _0x22b874=_0x415c37[_0x5a506d+0x1];_0x2f73a8['some']((_0xf7ae0f,_0x8011a7)=>0x1&_0x8011a7&&_0xf7ae0f==_0x22b874)||_0x2f73a8['push'](_0x415c37[_0x5a506d],_0x22b874);}_0x415c37=_0x2f73a8;}let _0x14c9cd=[];for(let _0x288369=0x0;_0x288369<_0x415c37['length']&&_0x14c9cd['length']<0x4;_0x288369+=0x2){let _0x52c4a0=_0x415c37[_0x288369+0x1];if(_0x52c4a0==this['state'])continue;let _0x2cb062=this['split']();_0x2cb062['pushState'](_0x52c4a0,this['pos']),_0x2cb062['storeNode'](0x0,_0x2cb062['pos'],_0x2cb062['pos'],0x4,!0x0),_0x2cb062['shiftContext'](_0x415c37[_0x288369],this['pos']),_0x2cb062['reducePos']=this['pos'],_0x2cb062['score']-=0xc8,_0x14c9cd['push'](_0x2cb062);}return _0x14c9cd;}['forceReduce'](){let {parser:_0x510615}=this['p'],_0x4e91fd=_0x510615['stateSlot'](this['state'],0x5);if(!(0x10000&_0x4e91fd))return!0x1;if(!_0x510615['validAction'](this['state'],_0x4e91fd)){let _0x2403c2=_0x4e91fd>>0x13,_0x2b4ac0=0xffff&_0x4e91fd,_0x4d5353=this['stack']['length']-0x3*_0x2403c2;if(_0x4d5353<0x0||_0x510615['getGoto'](this['stack'][_0x4d5353],_0x2b4ac0,!0x1)<0x0){let _0x11d403=this['findForcedReduction']();if(null==_0x11d403)return!0x1;_0x4e91fd=_0x11d403;}this['storeNode'](0x0,this['pos'],this['pos'],0x4,!0x0),this['score']-=0x64;}return this['reducePos']=this['pos'],this['reduce'](_0x4e91fd),!0x0;}['findForcedReduction'](){let {parser:_0x5afaf9}=this['p'],_0x2a6770=[],_0x29e521=(_0xf1e70,_0x33ee16)=>{if(!_0x2a6770['includes'](_0xf1e70))return _0x2a6770['push'](_0xf1e70),_0x5afaf9['allActions'](_0xf1e70,_0x26d6e8=>{if(0x60000&_0x26d6e8);else{if(0x10000&_0x26d6e8){let _0x3f461a=(_0x26d6e8>>0x13)-_0x33ee16;if(_0x3f461a>0x1){let _0x9a7102=0xffff&_0x26d6e8,_0x42a50f=this['stack']['length']-0x3*_0x3f461a;if(_0x42a50f>=0x0&&_0x5afaf9['getGoto'](this['stack'][_0x42a50f],_0x9a7102,!0x1)>=0x0)return _0x3f461a<<0x13|0x10000|_0x9a7102;}}else{let _0x237ec8=_0x29e521(_0x26d6e8,_0x33ee16+0x1);if(null!=_0x237ec8)return _0x237ec8;}}});};return _0x29e521(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:_0x34308a}=this['p'];return 0xffff==_0x34308a['data'][_0x34308a['stateSlot'](this['state'],0x1)]&&!_0x34308a['stateSlot'](this['state'],0x4);}['restart'](){this['storeNode'](0x0,this['pos'],this['pos'],0x4,!0x0),this['state']=this['stack'][0x0],this['stack']['length']=0x0;}['sameState'](_0x2936c5){if(this['state']!=_0x2936c5['state']||this['stack']['length']!=_0x2936c5['stack']['length'])return!0x1;for(let _0x3c4769=0x0;_0x3c4769<this['stack']['length'];_0x3c4769+=0x3)if(this['stack'][_0x3c4769]!=_0x2936c5['stack'][_0x3c4769])return!0x1;return!0x0;}get['parser'](){return this['p']['parser'];}['dialectEnabled'](_0x18c430){return this['p']['parser']['dialect']['flags'][_0x18c430];}['shiftContext'](_0x43e9b4,_0x3cbdc3){this['curContext']&&this['updateContext'](this['curContext']['tracker']['shift'](this['curContext']['context'],_0x43e9b4,this,this['p']['stream']['reset'](_0x3cbdc3)));}['reduceContext'](_0x522495,_0x578af1){this['curContext']&&this['updateContext'](this['curContext']['tracker']['reduce'](this['curContext']['context'],_0x522495,this,this['p']['stream']['reset'](_0x578af1)));}['emitContext'](){let _0x5802d1=this['buffer']['length']-0x1;(_0x5802d1<0x0||-0x3!=this['buffer'][_0x5802d1])&&this['buffer']['push'](this['curContext']['hash'],this['pos'],this['pos'],-0x3);}['emitLookAhead'](){let _0xf9458f=this['buffer']['length']-0x1;(_0xf9458f<0x0||-0x4!=this['buffer'][_0xf9458f])&&this['buffer']['push'](this['lookAhead'],this['pos'],this['pos'],-0x4);}['updateContext'](_0x219aaf){if(_0x219aaf!=this['curContext']['context']){let _0x287a31=new StackContext(this['curContext']['tracker'],_0x219aaf);_0x287a31['hash']!=this['curContext']['hash']&&this['emitContext'](),this['curContext']=_0x287a31;}}['setLookAhead'](_0x2c75c7){_0x2c75c7>this['lookAhead']&&(this['emitLookAhead'](),this['lookAhead']=_0x2c75c7);}['close'](){this['curContext']&&this['curContext']['tracker']['strict']&&this['emitContext'](),this['lookAhead']>0x0&&this['emitLookAhead']();}}class StackContext{constructor(_0x5d8d97,_0x567f91){this['tracker']=_0x5d8d97,this['context']=_0x567f91,this['hash']=_0x5d8d97['strict']?_0x5d8d97['hash'](_0x567f91):0x0;}}class SimulatedStack{constructor(_0x3fdd0b){this['start']=_0x3fdd0b,this['state']=_0x3fdd0b['state'],this['stack']=_0x3fdd0b['stack'],this['base']=this['stack']['length'];}['reduce'](_0x31003b){let _0x2b513e=0xffff&_0x31003b,_0x17cd1e=_0x31003b>>0x13;0x0==_0x17cd1e?(this['stack']==this['start']['stack']&&(this['stack']=this['stack']['slice']()),this['stack']['push'](this['state'],0x0,0x0),this['base']+=0x3):this['base']-=0x3*(_0x17cd1e-0x1);let _0xf56ae7=this['start']['p']['parser']['getGoto'](this['stack'][this['base']-0x3],_0x2b513e,!0x0);this['state']=_0xf56ae7;}}class StackBufferCursor{constructor(_0x325b66,_0x5bf9e4,_0x151c86){this['stack']=_0x325b66,this['pos']=_0x5bf9e4,this['index']=_0x151c86,this['buffer']=_0x325b66['buffer'],0x0==this['index']&&this['maybeNext']();}static['create'](_0x146fab,_0xab5d40=_0x146fab['bufferBase']+_0x146fab['buffer']['length']){return new StackBufferCursor(_0x146fab,_0xab5d40,_0xab5d40-_0x146fab['bufferBase']);}['maybeNext'](){let _0x1f4f04=this['stack']['parent'];null!=_0x1f4f04&&(this['index']=this['stack']['bufferBase']-_0x1f4f04['bufferBase'],this['stack']=_0x1f4f04,this['buffer']=_0x1f4f04['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 _0x369f9d(_0x505bfa,_0x29c5bf=Uint16Array){if('string'!=typeof _0x505bfa)return _0x505bfa;let _0x6f1e84=null;for(let _0x539d9b=0x0,_0x19311e=0x0;_0x539d9b<_0x505bfa['length'];){let _0xa32514=0x0;for(;;){let _0x499f98=_0x505bfa['charCodeAt'](_0x539d9b++),_0x33aa94=!0x1;if(0x7e==_0x499f98){_0xa32514=0xffff;break;}_0x499f98>=0x5c&&_0x499f98--,_0x499f98>=0x22&&_0x499f98--;let _0x2af529=_0x499f98-0x20;if(_0x2af529>=0x2e&&(_0x2af529-=0x2e,_0x33aa94=!0x0),_0xa32514+=_0x2af529,_0x33aa94)break;_0xa32514*=0x2e;}_0x6f1e84?_0x6f1e84[_0x19311e++]=_0xa32514:_0x6f1e84=new _0x29c5bf(_0xa32514);}return _0x6f1e84;}class _0x17d4b6{constructor(){this['start']=-0x1,this['value']=-0x1,this['end']=-0x1,this['extended']=-0x1,this['lookAhead']=0x0,this['mask']=0x0,this['context']=0x0;}}const _0x5027cb=new _0x17d4b6();class InputStream{constructor(_0x2d6e14,_0x2070fe){this['input']=_0x2d6e14,this['ranges']=_0x2070fe,this['chunk']='',this['chunkOff']=0x0,this['chunk2']='',this['chunk2Pos']=0x0,this['next']=-0x1,this['token']=_0x5027cb,this['rangeIndex']=0x0,this['pos']=this['chunkPos']=_0x2070fe[0x0]['from'],this['range']=_0x2070fe[0x0],this['end']=_0x2070fe[_0x2070fe['length']-0x1]['to'],this['readNext']();}['resolveOffset'](_0x534546,_0x2756ad){let _0x2c2787=this['range'],_0x452069=this['rangeIndex'],_0x2c8890=this['pos']+_0x534546;for(;_0x2c8890<_0x2c2787['from'];){if(!_0x452069)return null;let _0x4206ad=this['ranges'][--_0x452069];_0x2c8890-=_0x2c2787['from']-_0x4206ad['to'],_0x2c2787=_0x4206ad;}for(;_0x2756ad<0x0?_0x2c8890>_0x2c2787['to']:_0x2c8890>=_0x2c2787['to'];){if(_0x452069==this['ranges']['length']-0x1)return null;let _0x21724b=this['ranges'][++_0x452069];_0x2c8890+=_0x21724b['from']-_0x2c2787['to'],_0x2c2787=_0x21724b;}return _0x2c8890;}['clipPos'](_0x55b47c){if(_0x55b47c>=this['range']['from']&&_0x55b47c<this['range']['to'])return _0x55b47c;for(let _0x513d10 of this['ranges'])if(_0x513d10['to']>_0x55b47c)return Math['max'](_0x55b47c,_0x513d10['from']);return this['end'];}['peek'](_0x90078a){let _0x18467e,_0x351a29,_0x18b6ce=this['chunkOff']+_0x90078a;if(_0x18b6ce>=0x0&&_0x18b6ce<this['chunk']['length'])_0x18467e=this['pos']+_0x90078a,_0x351a29=this['chunk']['charCodeAt'](_0x18b6ce);else{let _0x42d01c=this['resolveOffset'](_0x90078a,0x1);if(null==_0x42d01c)return-0x1;if(_0x18467e=_0x42d01c,_0x18467e>=this['chunk2Pos']&&_0x18467e<this['chunk2Pos']+this['chunk2']['length'])_0x351a29=this['chunk2']['charCodeAt'](_0x18467e-this['chunk2Pos']);else{let _0x277ee9=this['rangeIndex'],_0x195f5c=this['range'];for(;_0x195f5c['to']<=_0x18467e;)_0x195f5c=this['ranges'][++_0x277ee9];this['chunk2']=this['input']['chunk'](this['chunk2Pos']=_0x18467e),_0x18467e+this['chunk2']['length']>_0x195f5c['to']&&(this['chunk2']=this['chunk2']['slice'](0x0,_0x195f5c['to']-_0x18467e)),_0x351a29=this['chunk2']['charCodeAt'](0x0);}}return _0x18467e>=this['token']['lookAhead']&&(this['token']['lookAhead']=_0x18467e+0x1),_0x351a29;}['acceptToken'](_0x34a83f,_0x29bdf7=0x0){let _0x387af1=_0x29bdf7?this['resolveOffset'](_0x29bdf7,-0x1):this['pos'];if(null==_0x387af1||_0x387af1<this['token']['start'])throw new RangeError('Token\x20end\x20out\x20of\x20bounds');this['token']['value']=_0x34a83f,this['token']['end']=_0x387af1;}['acceptTokenTo'](_0xf14d5f,_0x180843){this['token']['value']=_0xf14d5f,this['token']['end']=_0x180843;}['getChunk'](){if(this['pos']>=this['chunk2Pos']&&this['pos']<this['chunk2Pos']+this['chunk2']['length']){let {chunk:_0xc918ba,chunkPos:_0x3b7f0e}=this;this['chunk']=this['chunk2'],this['chunkPos']=this['chunk2Pos'],this['chunk2']=_0xc918ba,this['chunk2Pos']=_0x3b7f0e,this['chunkOff']=this['pos']-this['chunkPos'];}else{this['chunk2']=this['chunk'],this['chunk2Pos']=this['chunkPos'];let _0x50b034=this['input']['chunk'](this['pos']),_0x3fb73c=this['pos']+_0x50b034['length'];this['chunk']=_0x3fb73c>this['range']['to']?_0x50b034['slice'](0x0,this['range']['to']-this['pos']):_0x50b034,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'](_0x4d57fe=0x1){for(this['chunkOff']+=_0x4d57fe;this['pos']+_0x4d57fe>=this['range']['to'];){if(this['rangeIndex']==this['ranges']['length']-0x1)return this['setDone']();_0x4d57fe-=this['range']['to']-this['pos'],this['range']=this['ranges'][++this['rangeIndex']],this['pos']=this['range']['from'];}return this['pos']+=_0x4d57fe,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'](_0x2c31a9,_0x3a7b4b){if(_0x3a7b4b?(this['token']=_0x3a7b4b,_0x3a7b4b['start']=_0x2c31a9,_0x3a7b4b['lookAhead']=_0x2c31a9+0x1,_0x3a7b4b['value']=_0x3a7b4b['extended']=-0x1):this['token']=_0x5027cb,this['pos']!=_0x2c31a9){if(this['pos']=_0x2c31a9,_0x2c31a9==this['end'])return this['setDone'](),this;for(;_0x2c31a9<this['range']['from'];)this['range']=this['ranges'][--this['rangeIndex']];for(;_0x2c31a9>=this['range']['to'];)this['range']=this['ranges'][++this['rangeIndex']];_0x2c31a9>=this['chunkPos']&&_0x2c31a9<this['chunkPos']+this['chunk']['length']?this['chunkOff']=_0x2c31a9-this['chunkPos']:(this['chunk']='',this['chunkOff']=0x0),this['readNext']();}return this;}['read'](_0x46a0a7,_0x4cae93){if(_0x46a0a7>=this['chunkPos']&&_0x4cae93<=this['chunkPos']+this['chunk']['length'])return this['chunk']['slice'](_0x46a0a7-this['chunkPos'],_0x4cae93-this['chunkPos']);if(_0x46a0a7>=this['chunk2Pos']&&_0x4cae93<=this['chunk2Pos']+this['chunk2']['length'])return this['chunk2']['slice'](_0x46a0a7-this['chunk2Pos'],_0x4cae93-this['chunk2Pos']);if(_0x46a0a7>=this['range']['from']&&_0x4cae93<=this['range']['to'])return this['input']['read'](_0x46a0a7,_0x4cae93);let _0x3792c5='';for(let _0x37358b of this['ranges']){if(_0x37358b['from']>=_0x4cae93)break;_0x37358b['to']>_0x46a0a7&&(_0x3792c5+=this['input']['read'](Math['max'](_0x37358b['from'],_0x46a0a7),Math['min'](_0x37358b['to'],_0x4cae93)));}return _0x3792c5;}}class _0x4d1aab{constructor(_0x3ce04d,_0x5264bc){this['data']=_0x3ce04d,this['id']=_0x5264bc;}['token'](_0x1db539,_0x1d993c){let {parser:_0x1da5e0}=_0x1d993c['p'];_0x4eb620(this['data'],_0x1db539,_0x1d993c,this['id'],_0x1da5e0['data'],_0x1da5e0['tokenPrecTable']);}}_0x4d1aab['prototype']['contextual']=_0x4d1aab['prototype']['fallback']=_0x4d1aab['prototype']['extend']=!0x1;class _0x1bdd07{constructor(_0x3c3f9a,_0x13079d,_0x165bf2){this['precTable']=_0x13079d,this['elseToken']=_0x165bf2,this['data']='string'==typeof _0x3c3f9a?_0x369f9d(_0x3c3f9a):_0x3c3f9a;}['token'](_0x4d5144,_0xfed3b0){let _0x164abe=_0x4d5144['pos'],_0x89d84f=0x0;for(;;){let _0x6cc033=_0x4d5144['next']<0x0,_0xfbcc0f=_0x4d5144['resolveOffset'](0x1,0x1);if(_0x4eb620(this['data'],_0x4d5144,_0xfed3b0,0x0,this['data'],this['precTable']),_0x4d5144['token']['value']>-0x1)break;if(null==this['elseToken'])return;if(_0x6cc033||_0x89d84f++,null==_0xfbcc0f)break;_0x4d5144['reset'](_0xfbcc0f,_0x4d5144['token']);}_0x89d84f&&(_0x4d5144['reset'](_0x164abe,_0x4d5144['token']),_0x4d5144['acceptToken'](this['elseToken'],_0x89d84f));}}_0x1bdd07['prototype']['contextual']=_0x4d1aab['prototype']['fallback']=_0x4d1aab['prototype']['extend']=!0x1;class ExternalTokenizer{constructor(_0x553850,_0x9dc54f={}){this['token']=_0x553850,this['contextual']=!!_0x9dc54f['contextual'],this['fallback']=!!_0x9dc54f['fallback'],this['extend']=!!_0x9dc54f['extend'];}}function _0x4eb620(_0x396e5c,_0x1c9b4e,_0x35664f,_0x18ea50,_0xffbb0a,_0x3c931f){let _0x188e4b=0x0,_0x4dc9ad=0x1<<_0x18ea50,{dialect:_0x1f2a00}=_0x35664f['p']['parser'];t:for(;0x0!=(_0x4dc9ad&_0x396e5c[_0x188e4b]);){let _0x161014=_0x396e5c[_0x188e4b+0x1];for(let _0x4cffec=_0x188e4b+0x3;_0x4cffec<_0x161014;_0x4cffec+=0x2)if((_0x396e5c[_0x4cffec+0x1]&_0x4dc9ad)>0x0){let _0x289ff6=_0x396e5c[_0x4cffec];if(_0x1f2a00['allows'](_0x289ff6)&&(-0x1==_0x1c9b4e['token']['value']||_0x1c9b4e['token']['value']==_0x289ff6||_0x4bb0dd(_0x289ff6,_0x1c9b4e['token']['value'],_0xffbb0a,_0x3c931f))){_0x1c9b4e['acceptToken'](_0x289ff6);break;}}let _0x1875a1=_0x1c9b4e['next'],_0x4e4cbc=0x0,_0x51f426=_0x396e5c[_0x188e4b+0x2];if(!(_0x1c9b4e['next']<0x0&&_0x51f426>_0x4e4cbc&&0xffff==_0x396e5c[_0x161014+0x3*_0x51f426-0x3])){for(;_0x4e4cbc<_0x51f426;){let _0x1540c1=_0x4e4cbc+_0x51f426>>0x1,_0x56e0cf=_0x161014+_0x1540c1+(_0x1540c1<<0x1),_0xf2f07c=_0x396e5c[_0x56e0cf],_0x460256=_0x396e5c[_0x56e0cf+0x1]||0x10000;if(_0x1875a1<_0xf2f07c)_0x51f426=_0x1540c1;else{if(!(_0x1875a1>=_0x460256)){_0x188e4b=_0x396e5c[_0x56e0cf+0x2],_0x1c9b4e['advance']();continue t;}_0x4e4cbc=_0x1540c1+0x1;}}break;}_0x188e4b=_0x396e5c[_0x161014+0x3*_0x51f426-0x1];}}function findOffset(_0x13a082,_0x64533b,_0x3aeb1f){for(let _0xaee1e9,_0xec2766=_0x64533b;0xffff!=(_0xaee1e9=_0x13a082[_0xec2766]);_0xec2766++)if(_0xaee1e9==_0x3aeb1f)return _0xec2766-_0x64533b;return-0x1;}function _0x4bb0dd(_0x447ecb,_0x272810,_0x2d2219,_0x457eb7){let _0xae1e40=findOffset(_0x2d2219,_0x457eb7,_0x272810);return _0xae1e40<0x0||findOffset(_0x2d2219,_0x457eb7,_0x447ecb)<_0xae1e40;}const _0x3c8e52='undefined'!=typeof process&&process['env']&&/\bparse\b/['test'](process['env']['LOG']);let stackIDs=null;function cutAt(_0x298839,_0x1316ab,_0x1cfa25){let _0x1afcd0=_0x298839['cursor'](IterMode['IncludeAnonymous']);for(_0x1afcd0['moveTo'](_0x1316ab);;)if(!(_0x1cfa25<0x0?_0x1afcd0['childBefore'](_0x1316ab):_0x1afcd0['childAfter'](_0x1316ab)))for(;;){if((_0x1cfa25<0x0?_0x1afcd0['to']<_0x1316ab:_0x1afcd0['from']>_0x1316ab)&&!_0x1afcd0['type']['isError'])return _0x1cfa25<0x0?Math['max'](0x0,Math['min'](_0x1afcd0['to']-0x1,_0x1316ab-0x19)):Math['min'](_0x298839['length'],Math['max'](_0x1afcd0['from']+0x1,_0x1316ab+0x19));if(_0x1cfa25<0x0?_0x1afcd0['prevSibling']():_0x1afcd0['nextSibling']())break;if(!_0x1afcd0['parent']())return _0x1cfa25<0x0?0x0:_0x298839['length'];}}let FragmentCursor$1=class{constructor(_0x4116d6,_0x407234){this['fragments']=_0x4116d6,this['nodeSet']=_0x407234,this['i']=0x0,this['fragment']=null,this['safeFrom']=-0x1,this['safeTo']=-0x1,this['trees']=[],this['start']=[],this['index']=[],this['nextFragment']();}['nextFragment'](){let _0x255685=this['fragment']=this['i']==this['fragments']['length']?null:this['fragments'][this['i']++];if(_0x255685){for(this['safeFrom']=_0x255685['openStart']?cutAt(_0x255685['tree'],_0x255685['from']+_0x255685['offset'],0x1)-_0x255685['offset']:_0x255685['from'],this['safeTo']=_0x255685['openEnd']?cutAt(_0x255685['tree'],_0x255685['to']+_0x255685['offset'],-0x1)-_0x255685['offset']:_0x255685['to'];this['trees']['length'];)this['trees']['pop'](),this['start']['pop'](),this['index']['pop']();this['trees']['push'](_0x255685['tree']),this['start']['push'](-_0x255685['offset']),this['index']['push'](0x0),this['nextStart']=this['safeFrom'];}else this['nextStart']=0x3b9aca00;}['nodeAt'](_0x2f8b5a){if(_0x2f8b5a<this['nextStart'])return null;for(;this['fragment']&&this['safeTo']<=_0x2f8b5a;)this['nextFragment']();if(!this['fragment'])return null;for(;;){let _0x30a1c3=this['trees']['length']-0x1;if(_0x30a1c3<0x0)return this['nextFragment'](),null;let _0x1df8e7=this['trees'][_0x30a1c3],_0x228fc5=this['index'][_0x30a1c3];if(_0x228fc5==_0x1df8e7['children']['length']){this['trees']['pop'](),this['start']['pop'](),this['index']['pop']();continue;}let _0x1609cb=_0x1df8e7['children'][_0x228fc5],_0x267359=this['start'][_0x30a1c3]+_0x1df8e7['positions'][_0x228fc5];if(_0x267359>_0x2f8b5a)return this['nextStart']=_0x267359,null;if(_0x1609cb instanceof _0x21283b){if(_0x267359==_0x2f8b5a){if(_0x267359<this['safeFrom'])return null;let _0x2e5d73=_0x267359+_0x1609cb['length'];if(_0x2e5d73<=this['safeTo']){let _0x1782d0=_0x1609cb['prop'](_0x332766['lookAhead']);if(!_0x1782d0||_0x2e5d73+_0x1782d0<this['fragment']['to'])return _0x1609cb;}}this['index'][_0x30a1c3]++,_0x267359+_0x1609cb['length']>=Math['max'](this['safeFrom'],_0x2f8b5a)&&(this['trees']['push'](_0x1609cb),this['start']['push'](_0x267359),this['index']['push'](0x0));}else this['index'][_0x30a1c3]++,this['nextStart']=_0x267359+_0x1609cb['length'];}}};class _0x22f61e{constructor(_0x53144e,_0x15e988){this['stream']=_0x15e988,this['tokens']=[],this['mainToken']=null,this['actions']=[],this['tokens']=_0x53144e['tokenizers']['map'](_0x574b2c=>new _0x17d4b6());}['getActions'](_0x43f0f1){let _0x195c6e=0x0,_0x579c19=null,{parser:_0x410e68}=_0x43f0f1['p'],{tokenizers:_0x2e8106}=_0x410e68,_0x1575bb=_0x410e68['stateSlot'](_0x43f0f1['state'],0x3),_0x279dfa=_0x43f0f1['curContext']?_0x43f0f1['curContext']['hash']:0x0,_0x3ea3fa=0x0;for(let _0x4dcb49=0x0;_0x4dcb49<_0x2e8106['length'];_0x4dcb49++){if(!(0x1<<_0x4dcb49&_0x1575bb))continue;let _0x38483e=_0x2e8106[_0x4dcb49],_0x12b49d=this['tokens'][_0x4dcb49];if((!_0x579c19||_0x38483e['fallback'])&&((_0x38483e['contextual']||_0x12b49d['start']!=_0x43f0f1['pos']||_0x12b49d['mask']!=_0x1575bb||_0x12b49d['context']!=_0x279dfa)&&(this['updateCachedToken'](_0x12b49d,_0x38483e,_0x43f0f1),_0x12b49d['mask']=_0x1575bb,_0x12b49d['context']=_0x279dfa),_0x12b49d['lookAhead']>_0x12b49d['end']+0x19&&(_0x3ea3fa=Math['max'](_0x12b49d['lookAhead'],_0x3ea3fa)),0x0!=_0x12b49d['value'])){let _0x1e33bc=_0x195c6e;if(_0x12b49d['extended']>-0x1&&(_0x195c6e=this['addActions'](_0x43f0f1,_0x12b49d['extended'],_0x12b49d['end'],_0x195c6e)),_0x195c6e=this['addActions'](_0x43f0f1,_0x12b49d['value'],_0x12b49d['end'],_0x195c6e),!_0x38483e['extend']&&(_0x579c19=_0x12b49d,_0x195c6e>_0x1e33bc))break;}}for(;this['actions']['length']>_0x195c6e;)this['actions']['pop']();return _0x3ea3fa&&_0x43f0f1['setLookAhead'](_0x3ea3fa),_0x579c19||_0x43f0f1['pos']!=this['stream']['end']||(_0x579c19=new _0x17d4b6(),_0x579c19['value']=_0x43f0f1['p']['parser']['eofTerm'],_0x579c19['start']=_0x579c19['end']=_0x43f0f1['pos'],_0x195c6e=this['addActions'](_0x43f0f1,_0x579c19['value'],_0x579c19['end'],_0x195c6e)),this['mainToken']=_0x579c19,this['actions'];}['getMainToken'](_0x239189){if(this['mainToken'])return this['mainToken'];let _0x19e968=new _0x17d4b6(),{pos:_0x1fd96d,p:_0x42195b}=_0x239189;return _0x19e968['start']=_0x1fd96d,_0x19e968['end']=Math['min'](_0x1fd96d+0x1,_0x42195b['stream']['end']),_0x19e968['value']=_0x1fd96d==_0x42195b['stream']['end']?_0x42195b['parser']['eofTerm']:0x0,_0x19e968;}['updateCachedToken'](_0x5221f7,_0x44f3c0,_0x5acd1f){let _0x38b284=this['stream']['clipPos'](_0x5acd1f['pos']);if(_0x44f3c0['token'](this['stream']['reset'](_0x38b284,_0x5221f7),_0x5acd1f),_0x5221f7['value']>-0x1){let {parser:_0x5ec2ce}=_0x5acd1f['p'];for(let _0x5f2b1c=0x0;_0x5f2b1c<_0x5ec2ce['specialized']['length'];_0x5f2b1c++)if(_0x5ec2ce['specialized'][_0x5f2b1c]==_0x5221f7['value']){let _0x55a046=_0x5ec2ce['specializers'][_0x5f2b1c](this['stream']['read'](_0x5221f7['start'],_0x5221f7['end']),_0x5acd1f);if(_0x55a046>=0x0&&_0x5acd1f['p']['parser']['dialect']['allows'](_0x55a046>>0x1)){0x1&_0x55a046?_0x5221f7['extended']=_0x55a046>>0x1:_0x5221f7['value']=_0x55a046>>0x1;break;}}}else _0x5221f7['value']=0x0,_0x5221f7['end']=this['stream']['clipPos'](_0x38b284+0x1);}['putAction'](_0x1461f0,_0x57ac1b,_0x24deef,_0x379475){for(let _0x3239c4=0x0;_0x3239c4<_0x379475;_0x3239c4+=0x3)if(this['actions'][_0x3239c4]==_0x1461f0)return _0x379475;return this['actions'][_0x379475++]=_0x1461f0,this['actions'][_0x379475++]=_0x57ac1b,this['actions'][_0x379475++]=_0x24deef,_0x379475;}['addActions'](_0x96f5f,_0x2d43e3,_0x4acfb9,_0x15316a){let {state:_0x38ea94}=_0x96f5f,{parser:_0x26b3b1}=_0x96f5f['p'],{data:_0x5c6a88}=_0x26b3b1;for(let _0x236684=0x0;_0x236684<0x2;_0x236684++)for(let _0x2dbda9=_0x26b3b1['stateSlot'](_0x38ea94,_0x236684?0x2:0x1);;_0x2dbda9+=0x3){if(0xffff==_0x5c6a88[_0x2dbda9]){if(0x1!=_0x5c6a88[_0x2dbda9+0x1]){0x0==_0x15316a&&0x2==_0x5c6a88[_0x2dbda9+0x1]&&(_0x15316a=this['putAction'](_0x5b0c91(_0x5c6a88,_0x2dbda9+0x2),_0x2d43e3,_0x4acfb9,_0x15316a));break;}_0x2dbda9=_0x5b0c91(_0x5c6a88,_0x2dbda9+0x2);}_0x5c6a88[_0x2dbda9]==_0x2d43e3&&(_0x15316a=this['putAction'](_0x5b0c91(_0x5c6a88,_0x2dbda9+0x1),_0x2d43e3,_0x4acfb9,_0x15316a));}return _0x15316a;}}class _0x46f812{constructor(_0x3e579a,_0x9c131e,_0x2db852,_0x490539){this['parser']=_0x3e579a,this['input']=_0x9c131e,this['ranges']=_0x490539,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(_0x9c131e,_0x490539),this['tokens']=new _0x22f61e(_0x3e579a,this['stream']),this['topTerm']=_0x3e579a['top'][0x1];let {from:_0x4545df}=_0x490539[0x0];this['stacks']=[Stack['start'](this,_0x3e579a['top'][0x0],_0x4545df)],this['fragments']=_0x2db852['length']&&this['stream']['end']-_0x4545df>0x4*_0x3e579a['bufferLength']?new FragmentCursor$1(_0x2db852,_0x3e579a['nodeSet']):null;}get['parsedPos'](){return this['minStackPos'];}['advance'](){let _0x5bce8b,_0x44497e,_0x7fa120=this['stacks'],_0x2a0d87=this['minStackPos'],_0x576d1c=this['stacks']=[];if(this['bigReductionCount']>0x12c&&0x1==_0x7fa120['length']){let [_0x9485cb]=_0x7fa120;for(;_0x9485cb['forceReduce']()&&_0x9485cb['stack']['length']&&_0x9485cb['stack'][_0x9485cb['stack']['length']-0x2]>=this['lastBigReductionStart'];);this['bigReductionCount']=this['lastBigReductionSize']=0x0;}for(let _0x514b24=0x0;_0x514b24<_0x7fa120['length'];_0x514b24++){let _0x5641aa=_0x7fa120[_0x514b24];for(;;){if(this['tokens']['mainToken']=null,_0x5641aa['pos']>_0x2a0d87)_0x576d1c['push'](_0x5641aa);else{if(this['advanceStack'](_0x5641aa,_0x576d1c,_0x7fa120))continue;{_0x5bce8b||(_0x5bce8b=[],_0x44497e=[]),_0x5bce8b['push'](_0x5641aa);let _0x14bb0a=this['tokens']['getMainToken'](_0x5641aa);_0x44497e['push'](_0x14bb0a['value'],_0x14bb0a['end']);}}break;}}if(!_0x576d1c['length']){let _0x38098b=_0x5bce8b&&_0x53e463(_0x5bce8b);if(_0x38098b)return _0x3c8e52&&console['log']('Finish\x20with\x20'+this['stackID'](_0x38098b)),this['stackToTree'](_0x38098b);if(this['parser']['strict'])throw _0x3c8e52&&_0x5bce8b&&console['log']('Stuck\x20with\x20token\x20'+(this['tokens']['mainToken']?this['parser']['getName'](this['tokens']['mainToken']['value']):'none')),new SyntaxError('No\x20parse\x20at\x20'+_0x2a0d87);this['recovering']||(this['recovering']=0x5);}if(this['recovering']&&_0x5bce8b){let _0x5d492=null!=this['stoppedAt']&&_0x5bce8b[0x0]['pos']>this['stoppedAt']?_0x5bce8b[0x0]:this['runRecovery'](_0x5bce8b,_0x44497e,_0x576d1c);if(_0x5d492)return _0x3c8e52&&console['log']('Force-finish\x20'+this['stackID'](_0x5d492)),this['stackToTree'](_0x5d492['forceAll']());}if(this['recovering']){let _0x654191=0x1==this['recovering']?0x1:0x3*this['recovering'];if(_0x576d1c['length']>_0x654191){for(_0x576d1c['sort']((_0x2775a9,_0xebd2f8)=>_0xebd2f8['score']-_0x2775a9['score']);_0x576d1c['length']>_0x654191;)_0x576d1c['pop']();}_0x576d1c['some'](_0x564dd9=>_0x564dd9['reducePos']>_0x2a0d87)&&this['recovering']--;}else{if(_0x576d1c['length']>0x1){t:for(let _0x420ea2=0x0;_0x420ea2<_0x576d1c['length']-0x1;_0x420ea2++){let _0x187310=_0x576d1c[_0x420ea2];for(let _0x2b0925=_0x420ea2+0x1;_0x2b0925<_0x576d1c['length'];_0x2b0925++){let _0x427b30=_0x576d1c[_0x2b0925];if(_0x187310['sameState'](_0x427b30)||_0x187310['buffer']['length']>0x1f4&&_0x427b30['buffer']['length']>0x1f4){if(!((_0x187310['score']-_0x427b30['score']||_0x187310['buffer']['length']-_0x427b30['buffer']['length'])>0x0)){_0x576d1c['splice'](_0x420ea2--,0x1);continue t;}_0x576d1c['splice'](_0x2b0925--,0x1);}}}_0x576d1c['length']>0xc&&_0x576d1c['splice'](0xc,_0x576d1c['length']-0xc);}}this['minStackPos']=_0x576d1c[0x0]['pos'];for(let _0x180549=0x1;_0x180549<_0x576d1c['length'];_0x180549++)_0x576d1c[_0x180549]['pos']<this['minStackPos']&&(this['minStackPos']=_0x576d1c[_0x180549]['pos']);return null;}['stopAt'](_0x4024aa){if(null!=this['stoppedAt']&&this['stoppedAt']<_0x4024aa)throw new RangeError('Can\x27t\x20move\x20stoppedAt\x20forward');this['stoppedAt']=_0x4024aa;}['advanceStack'](_0x421653,_0x6bed3c,_0x45f89c){let _0x5474ac=_0x421653['pos'],{parser:_0x414034}=this,_0x90489a=_0x3c8e52?this['stackID'](_0x421653)+'\x20->\x20':'';if(null!=this['stoppedAt']&&_0x5474ac>this['stoppedAt'])return _0x421653['forceReduce']()?_0x421653:null;if(this['fragments']){let _0x5881c6=_0x421653['curContext']&&_0x421653['curContext']['tracker']['strict'],_0x51b8c8=_0x5881c6?_0x421653['curContext']['hash']:0x0;for(let _0xf086d0=this['fragments']['nodeAt'](_0x5474ac);_0xf086d0;){let _0x37e8a2=this['parser']['nodeSet']['types'][_0xf086d0['type']['id']]==_0xf086d0['type']?_0x414034['getGoto'](_0x421653['state'],_0xf086d0['type']['id']):-0x1;if(_0x37e8a2>-0x1&&_0xf086d0['length']&&(!_0x5881c6||(_0xf086d0['prop'](_0x332766['contextHash'])||0x0)==_0x51b8c8))return _0x421653['useNode'](_0xf086d0,_0x37e8a2),_0x3c8e52&&console['log'](_0x90489a+this['stackID'](_0x421653)+('\x20(via\x20reuse\x20of\x20'+_0x414034['getName'](_0xf086d0['type']['id'])+')')),!0x0;if(!(_0xf086d0 instanceof _0x21283b)||0x0==_0xf086d0['children']['length']||_0xf086d0['positions'][0x0]>0x0)break;let _0x48c563=_0xf086d0['children'][0x0];if(!(_0x48c563 instanceof _0x21283b&&0x0==_0xf086d0['positions'][0x0]))break;_0xf086d0=_0x48c563;}}let _0x8f4277=_0x414034['stateSlot'](_0x421653['state'],0x4);if(_0x8f4277>0x0)return _0x421653['reduce'](_0x8f4277),_0x3c8e52&&console['log'](_0x90489a+this['stackID'](_0x421653)+('\x20(via\x20always-reduce\x20'+_0x414034['getName'](0xffff&_0x8f4277)+')')),!0x0;if(_0x421653['stack']['length']>=0x20d0){for(;_0x421653['stack']['length']>0x1770&&_0x421653['forceReduce'](););}let _0x473580=this['tokens']['getActions'](_0x421653);for(let _0x204453=0x0;_0x204453<_0x473580['length'];){let _0x45965a=_0x473580[_0x204453++],_0x30e294=_0x473580[_0x204453++],_0x40d5f9=_0x473580[_0x204453++],_0x133fc2=_0x204453==_0x473580['length']||!_0x45f89c,_0x18dba2=_0x133fc2?_0x421653:_0x421653['split'](),_0x212949=this['tokens']['mainToken'];if(_0x18dba2['apply'](_0x45965a,_0x30e294,_0x212949?_0x212949['start']:_0x18dba2['pos'],_0x40d5f9),_0x3c8e52&&console['log'](_0x90489a+this['stackID'](_0x18dba2)+('\x20(via\x20'+(0x10000&_0x45965a?'reduce\x20of\x20'+_0x414034['getName'](0xffff&_0x45965a):'shift')+'\x20for\x20'+_0x414034['getName'](_0x30e294)+'\x20@\x20'+_0x5474ac+(_0x18dba2==_0x421653?'':',\x20split')+')')),_0x133fc2)return!0x0;_0x18dba2['pos']>_0x5474ac?_0x6bed3c['push'](_0x18dba2):_0x45f89c['push'](_0x18dba2);}return!0x1;}['advanceFully'](_0x2696ed,_0x40eef6){let _0x21746c=_0x2696ed['pos'];for(;;){if(!this['advanceStack'](_0x2696ed,null,null))return!0x1;if(_0x2696ed['pos']>_0x21746c)return pushStackDedup(_0x2696ed,_0x40eef6),!0x0;}}['runRecovery'](_0x2bbf54,_0x2fdf2a,_0x4f8390){let _0x4c0863=null,_0x39930d=!0x1;for(let _0x6e9aac=0x0;_0x6e9aac<_0x2bbf54['length'];_0x6e9aac++){let _0x1f870f=_0x2bbf54[_0x6e9aac],_0x2c9c97=_0x2fdf2a[_0x6e9aac<<0x1],_0xa97974=_0x2fdf2a[0x1+(_0x6e9aac<<0x1)],_0x5f2c5d=_0x3c8e52?this['stackID'](_0x1f870f)+'\x20->\x20':'';if(_0x1f870f['deadEnd']){if(_0x39930d)continue;if(_0x39930d=!0x0,_0x1f870f['restart'](),_0x3c8e52&&console['log'](_0x5f2c5d+this['stackID'](_0x1f870f)+'\x20(restarted)'),this['advanceFully'](_0x1f870f,_0x4f8390))continue;}let _0x459d3e=_0x1f870f['split'](),_0x3dfb2d=_0x5f2c5d;for(let _0x2d51d3=0x0;_0x2d51d3<0xa&&_0x459d3e['forceReduce']();_0x2d51d3++){if(_0x3c8e52&&console['log'](_0x3dfb2d+this['stackID'](_0x459d3e)+'\x20(via\x20force-reduce)'),this['advanceFully'](_0x459d3e,_0x4f8390))break;_0x3c8e52&&(_0x3dfb2d=this['stackID'](_0x459d3e)+'\x20->\x20');}for(let _0x4789a0 of _0x1f870f['recoverByInsert'](_0x2c9c97))_0x3c8e52&&console['log'](_0x5f2c5d+this['stackID'](_0x4789a0)+'\x20(via\x20recover-insert)'),this['advanceFully'](_0x4789a0,_0x4f8390);this['stream']['end']>_0x1f870f['pos']?(_0xa97974==_0x1f870f['pos']&&(_0xa97974++,_0x2c9c97=0x0),_0x1f870f['recoverByDelete'](_0x2c9c97,_0xa97974),_0x3c8e52&&console['log'](_0x5f2c5d+this['stackID'](_0x1f870f)+('\x20(via\x20recover-delete\x20'+this['parser']['getName'](_0x2c9c97)+')')),pushStackDedup(_0x1f870f,_0x4f8390)):(!_0x4c0863||_0x4c0863['score']<_0x1f870f['score'])&&(_0x4c0863=_0x1f870f);}return _0x4c0863;}['stackToTree'](_0x318f45){return _0x318f45['close'](),_0x21283b['build']({'buffer':StackBufferCursor['create'](_0x318f45),'nodeSet':this['parser']['nodeSet'],'topID':this['topTerm'],'maxBufferLength':this['parser']['bufferLength'],'reused':this['reused'],'start':this['ranges'][0x0]['from'],'length':_0x318f45['pos']-this['ranges'][0x0]['from'],'minRepeatType':this['parser']['minRepeatTerm']});}['stackID'](_0x5bc804){let _0x17c2fe=(stackIDs||(stackIDs=new WeakMap()))['get'](_0x5bc804);return _0x17c2fe||stackIDs['set'](_0x5bc804,_0x17c2fe=String['fromCodePoint'](this['nextStackID']++)),_0x17c2fe+_0x5bc804;}}function pushStackDedup(_0x43a6cb,_0x396d1e){for(let _0x501433=0x0;_0x501433<_0x396d1e['length'];_0x501433++){let _0x1c4f66=_0x396d1e[_0x501433];if(_0x1c4f66['pos']==_0x43a6cb['pos']&&_0x1c4f66['sameState'](_0x43a6cb))return void(_0x396d1e[_0x501433]['score']<_0x43a6cb['score']&&(_0x396d1e[_0x501433]=_0x43a6cb));}_0x396d1e['push'](_0x43a6cb);}class Dialect{constructor(_0x267445,_0x4dacef,_0x353992){this['source']=_0x267445,this['flags']=_0x4dacef,this['disabled']=_0x353992;}['allows'](_0x314abf){return!this['disabled']||0x0==this['disabled'][_0x314abf];}}const _0x592610=_0x438aa7=>_0x438aa7;class ContextTracker{constructor(_0x24ba91){this['start']=_0x24ba91['start'],this['shift']=_0x24ba91['shift']||_0x592610,this['reduce']=_0x24ba91['reduce']||_0x592610,this['reuse']=_0x24ba91['reuse']||_0x592610,this['hash']=_0x24ba91['hash']||(()=>0x0),this['strict']=!0x1!==_0x24ba91['strict'];}}class _0x5b5f1e extends _0xf66e14{constructor(_0x3b60d7){if(super(),this['wrappers']=[],0xe!=_0x3b60d7['version'])throw new RangeError('Parser\x20version\x20('+_0x3b60d7['version']+')\x20doesn\x27t\x20match\x20runtime\x20version\x20(14)');let _0x2e7972=_0x3b60d7['nodeNames']['split']('\x20');this['minRepeatTerm']=_0x2e7972['length'];for(let _0x593b6f=0x0;_0x593b6f<_0x3b60d7['repeatNodeCount'];_0x593b6f++)_0x2e7972['push']('');let _0x17c559=Object['keys'](_0x3b60d7['topRules'])['map'](_0x1d746c=>_0x3b60d7['topRules'][_0x1d746c][0x1]),_0x50a479=[];for(let _0x366d18=0x0;_0x366d18<_0x2e7972['length'];_0x366d18++)_0x50a479['push']([]);function _0x1f0322(_0x917250,_0x4389cd,_0x2030ce){_0x50a479[_0x917250]['push']([_0x4389cd,_0x4389cd['deserialize'](String(_0x2030ce))]);}if(_0x3b60d7['nodeProps'])for(let _0x5a48eb of _0x3b60d7['nodeProps']){let _0x60aab2=_0x5a48eb[0x0];'string'==typeof _0x60aab2&&(_0x60aab2=_0x332766[_0x60aab2]);for(let _0x2bfc06=0x1;_0x2bfc06<_0x5a48eb['length'];){let _0x13cc05=_0x5a48eb[_0x2bfc06++];if(_0x13cc05>=0x0)_0x1f0322(_0x13cc05,_0x60aab2,_0x5a48eb[_0x2bfc06++]);else{let _0xab3fc6=_0x5a48eb[_0x2bfc06+-_0x13cc05];for(let _0x59e251=-_0x13cc05;_0x59e251>0x0;_0x59e251--)_0x1f0322(_0x5a48eb[_0x2bfc06++],_0x60aab2,_0xab3fc6);_0x2bfc06++;}}}this['nodeSet']=new NodeSet(_0x2e7972['map']((_0x3aa92d,_0x512325)=>_0x37cf2b['define']({'name':_0x512325>=this['minRepeatTerm']?void 0x0:_0x3aa92d,'id':_0x512325,'props':_0x50a479[_0x512325],'top':_0x17c559['indexOf'](_0x512325)>-0x1,'error':0x0==_0x512325,'skipped':_0x3b60d7['skippedNodes']&&_0x3b60d7['skippedNodes']['indexOf'](_0x512325)>-0x1}))),_0x3b60d7['propSources']&&(this['nodeSet']=this['nodeSet']['extend'](..._0x3b60d7['propSources'])),this['strict']=!0x1,this['bufferLength']=DefaultBufferLength;let _0x396f45=_0x369f9d(_0x3b60d7['tokenData']);this['context']=_0x3b60d7['context'],this['specializerSpecs']=_0x3b60d7['specialized']||[],this['specialized']=new Uint16Array(this['specializerSpecs']['length']);for(let _0x14bb96=0x0;_0x14bb96<this['specializerSpecs']['length'];_0x14bb96++)this['specialized'][_0x14bb96]=this['specializerSpecs'][_0x14bb96]['term'];this['specializers']=this['specializerSpecs']['map'](getSpecializer),this['states']=_0x369f9d(_0x3b60d7['states'],Uint32Array),this['data']=_0x369f9d(_0x3b60d7['stateData']),this['goto']=_0x369f9d(_0x3b60d7['goto']),this['maxTerm']=_0x3b60d7['maxTerm'],this['tokenizers']=_0x3b60d7['tokenizers']['map'](_0x4992a1=>'number'==typeof _0x4992a1?new _0x4d1aab(_0x396f45,_0x4992a1):_0x4992a1),this['topRules']=_0x3b60d7['topRules'],this['dialects']=_0x3b60d7['dialects']||{},this['dynamicPrecedences']=_0x3b60d7['dynamicPrecedences']||null,this['tokenPrecTable']=_0x3b60d7['tokenPrec'],this['termNames']=_0x3b60d7['termNames']||null,this['maxNode']=this['nodeSet']['types']['length']-0x1,this['dialect']=this['parseDialect'](),this['top']=this['topRules'][Object['keys'](this['topRules'])[0x0]];}['createParse'](_0x2fd8bc,_0x49a223,_0x5f4576){let _0x5dbe52=new _0x46f812(this,_0x2fd8bc,_0x49a223,_0x5f4576);for(let _0xfbcc71 of this['wrappers'])_0x5dbe52=_0xfbcc71(_0x5dbe52,_0x2fd8bc,_0x49a223,_0x5f4576);return _0x5dbe52;}['getGoto'](_0x47f20f,_0x19626e,_0x232602=!0x1){let _0x35db82=this['goto'];if(_0x19626e>=_0x35db82[0x0])return-0x1;for(let _0x2667c7=_0x35db82[_0x19626e+0x1];;){let _0xe96391=_0x35db82[_0x2667c7++],_0x8a32aa=0x1&_0xe96391,_0x1a9594=_0x35db82[_0x2667c7++];if(_0x8a32aa&&_0x232602)return _0x1a9594;for(let _0x4d228a=_0x2667c7+(_0xe96391>>0x1);_0x2667c7<_0x4d228a;_0x2667c7++)if(_0x35db82[_0x2667c7]==_0x47f20f)return _0x1a9594;if(_0x8a32aa)return-0x1;}}['hasAction'](_0xec0a6d,_0x5ace25){let _0x35b3b1=this['data'];for(let _0x2b93e6=0x0;_0x2b93e6<0x2;_0x2b93e6++)for(let _0x1a080b,_0x21aafc=this['stateSlot'](_0xec0a6d,_0x2b93e6?0x2:0x1);;_0x21aafc+=0x3){if(0xffff==(_0x1a080b=_0x35b3b1[_0x21aafc])){if(0x1!=_0x35b3b1[_0x21aafc+0x1]){if(0x2==_0x35b3b1[_0x21aafc+0x1])return _0x5b0c91(_0x35b3b1,_0x21aafc+0x2);break;}_0x1a080b=_0x35b3b1[_0x21aafc=_0x5b0c91(_0x35b3b1,_0x21aafc+0x2)];}if(_0x1a080b==_0x5ace25||0x0==_0x1a080b)return _0x5b0c91(_0x35b3b1,_0x21aafc+0x1);}return 0x0;}['stateSlot'](_0x301bf2,_0x5f053a){return this['states'][0x6*_0x301bf2+_0x5f053a];}['stateFlag'](_0x128e0c,_0x5052a8){return(this['stateSlot'](_0x128e0c,0x0)&_0x5052a8)>0x0;}['validAction'](_0x48690e,_0x506b08){return!!this['allActions'](_0x48690e,_0x334537=>_0x334537==_0x506b08||null);}['allActions'](_0x2f2e69,_0x31b42e){let _0x1f25c9=this['stateSlot'](_0x2f2e69,0x4),_0xc36abf=_0x1f25c9?_0x31b42e(_0x1f25c9):void 0x0;for(let _0x20c666=this['stateSlot'](_0x2f2e69,0x1);null==_0xc36abf;_0x20c666+=0x3){if(0xffff==this['data'][_0x20c666]){if(0x1!=this['data'][_0x20c666+0x1])break;_0x20c666=_0x5b0c91(this['data'],_0x20c666+0x2);}_0xc36abf=_0x31b42e(_0x5b0c91(this['data'],_0x20c666+0x1));}return _0xc36abf;}['nextStates'](_0x4856e5){let _0x49fe63=[];for(let _0x2b4b07=this['stateSlot'](_0x4856e5,0x1);;_0x2b4b07+=0x3){if(0xffff==this['data'][_0x2b4b07]){if(0x1!=this['data'][_0x2b4b07+0x1])break;_0x2b4b07=_0x5b0c91(this['data'],_0x2b4b07+0x2);}if(!(0x1&this['data'][_0x2b4b07+0x2])){let _0x410e8f=this['data'][_0x2b4b07+0x1];_0x49fe63['some']((_0x51f98c,_0x5e38ab)=>0x1&_0x5e38ab&&_0x51f98c==_0x410e8f)||_0x49fe63['push'](this['data'][_0x2b4b07],_0x410e8f);}}return _0x49fe63;}['configure'](_0x4c6fa8){let _0x173fd6=Object['assign'](Object['create'](_0x5b5f1e['prototype']),this);if(_0x4c6fa8['props']&&(_0x173fd6['nodeSet']=this['nodeSet']['extend'](..._0x4c6fa8['props'])),_0x4c6fa8['top']){let _0x2f3dd5=this['topRules'][_0x4c6fa8['top']];if(!_0x2f3dd5)throw new RangeError('Invalid\x20top\x20rule\x20name\x20'+_0x4c6fa8['top']);_0x173fd6['top']=_0x2f3dd5;}return _0x4c6fa8['tokenizers']&&(_0x173fd6['tokenizers']=this['tokenizers']['map'](t=>{let _0x4832d9=_0x4c6fa8['tokenizers']['find'](_0x534e5c=>_0x534e5c['from']==t);return _0x4832d9?_0x4832d9['to']:t;})),_0x4c6fa8['specializers']&&(_0x173fd6['specializers']=this['specializers']['slice'](),_0x173fd6['specializerSpecs']=this['specializerSpecs']['map']((_0x2d1ff1,_0x220dd7)=>{let _0x2fb615=_0x4c6fa8['specializers']['find'](_0x16893f=>_0x16893f['from']==_0x2d1ff1['external']);if(!_0x2fb615)return _0x2d1ff1;let _0x5a4f67=Object['assign'](Object['assign']({},_0x2d1ff1),{'external':_0x2fb615['to']});return _0x173fd6['specializers'][_0x220dd7]=getSpecializer(_0x5a4f67),_0x5a4f67;})),_0x4c6fa8['contextTracker']&&(_0x173fd6['context']=_0x4c6fa8['contextTracker']),_0x4c6fa8['dialect']&&(_0x173fd6['dialect']=this['parseDialect'](_0x4c6fa8['dialect'])),null!=_0x4c6fa8['strict']&&(_0x173fd6['strict']=_0x4c6fa8['strict']),_0x4c6fa8['wrap']&&(_0x173fd6['wrappers']=_0x173fd6['wrappers']['concat'](_0x4c6fa8['wrap'])),null!=_0x4c6fa8['bufferLength']&&(_0x173fd6['bufferLength']=_0x4c6fa8['bufferLength']),_0x173fd6;}['hasWrappers'](){return this['wrappers']['length']>0x0;}['getName'](_0x171f57){return this['termNames']?this['termNames'][_0x171f57]:String(_0x171f57<=this['maxNode']&&this['nodeSet']['types'][_0x171f57]['name']||_0x171f57);}get['eofTerm'](){return this['maxNode']+0x1;}get['topNode'](){return this['nodeSet']['types'][this['top'][0x1]];}['dynamicPrecedence'](_0x22f45b){let _0x165bc1=this['dynamicPrecedences'];return null==_0x165bc1?0x0:_0x165bc1[_0x22f45b]||0x0;}['parseDialect'](_0x24d156){let _0x3b7dcb=Object['keys'](this['dialects']),_0x3d1880=_0x3b7dcb['map'](()=>!0x1);if(_0x24d156)for(let _0x49218e of _0x24d156['split']('\x20')){let _0x4e8607=_0x3b7dcb['indexOf'](_0x49218e);_0x4e8607>=0x0&&(_0x3d1880[_0x4e8607]=!0x0);}let _0x1ca216=null;for(let _0x47bfa9=0x0;_0x47bfa9<_0x3b7dcb['length'];_0x47bfa9++)if(!_0x3d1880[_0x47bfa9]){for(let _0x4b3c9c,_0x1a2bdc=this['dialects'][_0x3b7dcb[_0x47bfa9]];0xffff!=(_0x4b3c9c=this['data'][_0x1a2bdc++]);)(_0x1ca216||(_0x1ca216=new Uint8Array(this['maxTerm']+0x1)))[_0x4b3c9c]=0x1;}return new Dialect(_0x24d156,_0x3d1880,_0x1ca216);}static['deserialize'](_0x274a7b){return new _0x5b5f1e(_0x274a7b);}}function _0x5b0c91(_0x7fa4e7,_0x1e2de0){return _0x7fa4e7[_0x1e2de0]|_0x7fa4e7[_0x1e2de0+0x1]<<0x10;}function _0x53e463(_0x201dba){let _0x518ba5=null;for(let _0x307dd8 of _0x201dba){let _0x338cad=_0x307dd8['p']['stoppedAt'];(_0x307dd8['pos']==_0x307dd8['p']['stream']['end']||null!=_0x338cad&&_0x307dd8['pos']>_0x338cad)&&_0x307dd8['p']['parser']['stateFlag'](_0x307dd8['state'],0x2)&&(!_0x518ba5||_0x518ba5['score']<_0x307dd8['score'])&&(_0x518ba5=_0x307dd8);}return _0x518ba5;}function getSpecializer(_0x401278){if(_0x401278['external']){let _0x41d85e=_0x401278['extend']?0x1:0x0;return(_0x3a1798,_0x5b43be)=>_0x401278['external'](_0x3a1798,_0x5b43be)<<0x1|_0x41d85e;}return _0x401278['get'];}const scriptText=0x37,StartCloseScriptTag=0x1,styleText=0x38,StartCloseStyleTag=0x2,textareaText=0x39,StartCloseTextareaTag=0x3,_0x2d6153=0x4,_0x490bd7=0x5,StartTag=0x6,StartScriptTag=0x7,StartStyleTag=0x8,StartTextareaTag=0x9,StartSelfClosingTag=0xa,StartCloseTag=0xb,NoMatchStartCloseTag=0xc,MismatchedStartCloseTag=0xd,_0x225178=0x3a,IncompleteTag=0xe,IncompleteCloseTag=0xf,commentContent$1=0x3b,Element$2=0x15,_0xca0a1e=0x17,Attribute=0x18,AttributeName=0x19,AttributeValue=0x1b,UnquotedAttributeValue=0x1c,ScriptText=0x1d,StyleText=0x20,TextareaText=0x23,_0x196061=0x25,_0x345d75=0x26,Dialect_noMatch=0x0,Dialect_selfClosing=0x1,_0x3f7869={'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},implicitlyClosed={'dd':!0x0,'li':!0x0,'optgroup':!0x0,'option':!0x0,'p':!0x0,'rp':!0x0,'rt':!0x0,'tbody':!0x0,'td':!0x0,'tfoot':!0x0,'th':!0x0,'tr':!0x0},_0x250966={'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 _0x51beb1(_0x5b9601){return 0x2d==_0x5b9601||0x2e==_0x5b9601||0x3a==_0x5b9601||_0x5b9601>=0x41&&_0x5b9601<=0x5a||0x5f==_0x5b9601||_0x5b9601>=0x61&&_0x5b9601<=0x7a||_0x5b9601>=0xa1;}let _0x3f4e4e=null,cachedInput=null,_0x1a6ca6=0x0;function tagNameAfter(_0x566d0c,_0x313d08){let _0x3e6cda=_0x566d0c['pos']+_0x313d08;if(_0x1a6ca6==_0x3e6cda&&cachedInput==_0x566d0c)return _0x3f4e4e;let _0x104f82=_0x566d0c['peek'](_0x313d08),_0x398dcb='';for(;_0x51beb1(_0x104f82);)_0x398dcb+=String['fromCharCode'](_0x104f82),_0x104f82=_0x566d0c['peek'](++_0x313d08);return cachedInput=_0x566d0c,_0x1a6ca6=_0x3e6cda,_0x3f4e4e=_0x398dcb?_0x398dcb['toLowerCase']():_0x104f82==question$1||_0x104f82==_0x3428d6?void 0x0:null;}const _0x4dd32a=0x3c,greaterThan=0x3e,_0x1e4ad9=0x2f,question$1=0x3f,_0x3428d6=0x21,_0x4e1849=0x2d;function ElementContext(_0x2e692b,_0x587cc4){this['name']=_0x2e692b,this['parent']=_0x587cc4;}const startTagTerms=[StartTag,StartSelfClosingTag,StartScriptTag,StartStyleTag,StartTextareaTag],elementContext=new ContextTracker({'start':null,'shift':(_0x557396,_0x3a9f9e,_0x15fcd9,_0x43ed20)=>startTagTerms['indexOf'](_0x3a9f9e)>-0x1?new ElementContext(tagNameAfter(_0x43ed20,0x1)||'',_0x557396):_0x557396,'reduce':(_0xa4acb6,_0x2240f4)=>_0x2240f4==Element$2&&_0xa4acb6?_0xa4acb6['parent']:_0xa4acb6,'reuse'(_0x3c08b5,_0x4a9e46,_0x53b185,_0x3d68c2){let _0x5d1587=_0x4a9e46['type']['id'];return _0x5d1587==StartTag||_0x5d1587==_0x196061?new ElementContext(tagNameAfter(_0x3d68c2,0x1)||'',_0x3c08b5):_0x3c08b5;},'strict':!0x1}),tagStart=new ExternalTokenizer((_0x231fe2,_0x2f4745)=>{if(_0x231fe2['next']!=_0x4dd32a)return void(_0x231fe2['next']<0x0&&_0x2f4745['context']&&_0x231fe2['acceptToken'](_0x225178));_0x231fe2['advance']();let _0x370f91=_0x231fe2['next']==_0x1e4ad9;_0x370f91&&_0x231fe2['advance']();let _0x8884f1=tagNameAfter(_0x231fe2,0x0);if(void 0x0===_0x8884f1)return;if(!_0x8884f1)return _0x231fe2['acceptToken'](_0x370f91?IncompleteCloseTag:IncompleteTag);let _0x175c27=_0x2f4745['context']?_0x2f4745['context']['name']:null;if(_0x370f91){if(_0x8884f1==_0x175c27)return _0x231fe2['acceptToken'](StartCloseTag);if(_0x175c27&&implicitlyClosed[_0x175c27])return _0x231fe2['acceptToken'](_0x225178,-0x2);if(_0x2f4745['dialectEnabled'](Dialect_noMatch))return _0x231fe2['acceptToken'](NoMatchStartCloseTag);for(let _0x9169d5=_0x2f4745['context'];_0x9169d5;_0x9169d5=_0x9169d5['parent'])if(_0x9169d5['name']==_0x8884f1)return;_0x231fe2['acceptToken'](MismatchedStartCloseTag);}else{if('script'==_0x8884f1)return _0x231fe2['acceptToken'](StartScriptTag);if('style'==_0x8884f1)return _0x231fe2['acceptToken'](StartStyleTag);if('textarea'==_0x8884f1)return _0x231fe2['acceptToken'](StartTextareaTag);if(_0x3f7869['hasOwnProperty'](_0x8884f1))return _0x231fe2['acceptToken'](StartSelfClosingTag);_0x175c27&&_0x250966[_0x175c27]&&_0x250966[_0x175c27][_0x8884f1]?_0x231fe2['acceptToken'](_0x225178,-0x1):_0x231fe2['acceptToken'](StartTag);}},{'contextual':!0x0}),commentContent=new ExternalTokenizer(_0x41b3ce=>{for(let _0x440f10=0x0,_0x18a9ff=0x0;;_0x18a9ff++){if(_0x41b3ce['next']<0x0){_0x18a9ff&&_0x41b3ce['acceptToken'](commentContent$1);break;}if(_0x41b3ce['next']==_0x4e1849)_0x440f10++;else{if(_0x41b3ce['next']==greaterThan&&_0x440f10>=0x2){_0x18a9ff>=0x3&&_0x41b3ce['acceptToken'](commentContent$1,-0x2);break;}_0x440f10=0x0;}_0x41b3ce['advance']();}});function inForeignElement(_0x4cf023){for(;_0x4cf023;_0x4cf023=_0x4cf023['parent'])if('svg'==_0x4cf023['name']||'math'==_0x4cf023['name'])return!0x0;return!0x1;}const _0x4206ff=new ExternalTokenizer((_0x5f0e34,_0x45fee0)=>{if(_0x5f0e34['next']==_0x1e4ad9&&_0x5f0e34['peek'](0x1)==greaterThan){let _0x210605=_0x45fee0['dialectEnabled'](Dialect_selfClosing)||inForeignElement(_0x45fee0['context']);_0x5f0e34['acceptToken'](_0x210605?_0x490bd7:_0x2d6153,0x2);}else _0x5f0e34['next']==greaterThan&&_0x5f0e34['acceptToken'](_0x2d6153,0x1);});function contentTokenizer(_0x5eb130,_0x1e5e02,_0x346395){let _0x229604=0x2+_0x5eb130['length'];return new ExternalTokenizer(_0xe140b5=>{for(let _0x364c04=0x0,_0x2116cd=0x0,_0x39a59d=0x0;;_0x39a59d++){if(_0xe140b5['next']<0x0){_0x39a59d&&_0xe140b5['acceptToken'](_0x1e5e02);break;}if(0x0==_0x364c04&&_0xe140b5['next']==_0x4dd32a||0x1==_0x364c04&&_0xe140b5['next']==_0x1e4ad9||_0x364c04>=0x2&&_0x364c04<_0x229604&&_0xe140b5['next']==_0x5eb130['charCodeAt'](_0x364c04-0x2))_0x364c04++,_0x2116cd++;else{if(_0x364c04==_0x229604&&_0xe140b5['next']==greaterThan){_0x39a59d>_0x2116cd?_0xe140b5['acceptToken'](_0x1e5e02,-_0x2116cd):_0xe140b5['acceptToken'](_0x346395,-(_0x2116cd-0x2));break;}if((0xa==_0xe140b5['next']||0xd==_0xe140b5['next'])&&_0x39a59d){_0xe140b5['acceptToken'](_0x1e5e02,0x1);break;}_0x364c04=_0x2116cd=0x0;}_0xe140b5['advance']();}});}const scriptTokens=contentTokenizer('script',scriptText,StartCloseScriptTag),styleTokens=contentTokenizer('style',styleText,StartCloseStyleTag),textareaTokens=contentTokenizer('textarea',textareaText,StartCloseTextareaTag),htmlHighlighting=styleTags({'Text\x20RawText\x20IncompleteTag\x20IncompleteCloseTag':tags$1['content'],'StartTag\x20StartCloseTag\x20SelfClosingEndTag\x20EndTag':tags$1['angleBracket'],'TagName':tags$1['tagName'],'MismatchedCloseTag/TagName':[tags$1['tagName'],tags$1['invalid']],'AttributeName':tags$1['attributeName'],'AttributeValue\x20UnquotedAttributeValue':tags$1['attributeValue'],'Is':tags$1['definitionOperator'],'EntityReference\x20CharacterReference':tags$1['character'],'Comment':tags$1['blockComment'],'ProcessingInst':tags$1['processingInstruction'],'DoctypeDecl':tags$1['documentMeta']}),_0x291fd5=_0x5b5f1e['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':elementContext,'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':[htmlHighlighting],'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':[scriptTokens,styleTokens,textareaTokens,_0x4206ff,tagStart,commentContent,0x0,0x1,0x2,0x3,0x4,0x5],'topRules':{'Document':[0x0,0x10]},'dialects':{'noMatch':0x0,'selfClosing':0x203},'tokenPrec':0x205});function getAttrs(_0x46403e,_0x212f8a){let _0x4ebcde=Object['create'](null);for(let _0x26b543 of _0x46403e['getChildren'](Attribute)){let _0x1b3692=_0x26b543['getChild'](AttributeName),_0x218c59=_0x26b543['getChild'](AttributeValue)||_0x26b543['getChild'](UnquotedAttributeValue);_0x1b3692&&(_0x4ebcde[_0x212f8a['read'](_0x1b3692['from'],_0x1b3692['to'])]=_0x218c59?_0x218c59['type']['id']==AttributeValue?_0x212f8a['read'](_0x218c59['from']+0x1,_0x218c59['to']-0x1):_0x212f8a['read'](_0x218c59['from'],_0x218c59['to']):'');}return _0x4ebcde;}function _0x2d2b6a(_0x57056b,_0x3afa58){let _0x126b22=_0x57056b['getChild'](_0xca0a1e);return _0x126b22?_0x3afa58['read'](_0x126b22['from'],_0x126b22['to']):'\x20';}function maybeNest(_0x42ec47,_0x4a0243,_0x56ed9c){let _0x19e983;for(let _0x475f88 of _0x56ed9c)if(!_0x475f88['attrs']||_0x475f88['attrs'](_0x19e983||(_0x19e983=getAttrs(_0x42ec47['node']['parent']['firstChild'],_0x4a0243))))return{'parser':_0x475f88['parser']};return null;}function configureNesting(_0x1a71ea=[],_0x5de65d=[]){let _0x3a9054=[],_0x3033f7=[],_0x1c0add=[],_0x127ed1=[];for(let _0x12c5a6 of _0x1a71ea){('script'==_0x12c5a6['tag']?_0x3a9054:'style'==_0x12c5a6['tag']?_0x3033f7:'textarea'==_0x12c5a6['tag']?_0x1c0add:_0x127ed1)['push'](_0x12c5a6);}let _0x5deec1=_0x5de65d['length']?Object['create'](null):null;for(let _0x29aad5 of _0x5de65d)(_0x5deec1[_0x29aad5['name']]||(_0x5deec1[_0x29aad5['name']]=[]))['push'](_0x29aad5);return _0x1afdd3((_0x414573,_0x25e0c7)=>{let _0x5da3cc=_0x414573['type']['id'];if(_0x5da3cc==ScriptText)return maybeNest(_0x414573,_0x25e0c7,_0x3a9054);if(_0x5da3cc==StyleText)return maybeNest(_0x414573,_0x25e0c7,_0x3033f7);if(_0x5da3cc==TextareaText)return maybeNest(_0x414573,_0x25e0c7,_0x1c0add);if(_0x5da3cc==Element$2&&_0x127ed1['length']){let _0x535771,_0x4fce5a=_0x414573['node'],_0x14fe8c=_0x4fce5a['firstChild'],_0x3cb8ae=_0x14fe8c&&_0x2d2b6a(_0x14fe8c,_0x25e0c7);if(_0x3cb8ae){for(let _0x1ab8a6 of _0x127ed1)if(_0x1ab8a6['tag']==_0x3cb8ae&&(!_0x1ab8a6['attrs']||_0x1ab8a6['attrs'](_0x535771||(_0x535771=getAttrs(_0x14fe8c,_0x25e0c7))))){let _0x3cbf35=_0x4fce5a['lastChild'],_0x2f95f7=_0x3cbf35['type']['id']==_0x345d75?_0x3cbf35['from']:_0x4fce5a['to'];if(_0x2f95f7>_0x14fe8c['to'])return{'parser':_0x1ab8a6['parser'],'overlay':[{'from':_0x14fe8c['to'],'to':_0x2f95f7}]};}}}if(_0x5deec1&&_0x5da3cc==Attribute){let _0x50a366,_0x22b5e0=_0x414573['node'];if(_0x50a366=_0x22b5e0['firstChild']){let _0x140232=_0x5deec1[_0x25e0c7['read'](_0x50a366['from'],_0x50a366['to'])];if(_0x140232)for(let _0x332801 of _0x140232){if(_0x332801['tagName']&&_0x332801['tagName']!=_0x2d2b6a(_0x22b5e0['parent'],_0x25e0c7))continue;let _0x162c12=_0x22b5e0['lastChild'];if(_0x162c12['type']['id']==AttributeValue){let _0x5be6c8=_0x162c12['from']+0x1,_0x3cbeca=_0x162c12['lastChild'],_0x3eacbc=_0x162c12['to']-(_0x3cbeca&&_0x3cbeca['isError']?0x0:0x1);if(_0x3eacbc>_0x5be6c8)return{'parser':_0x332801['parser'],'overlay':[{'from':_0x5be6c8,'to':_0x3eacbc}]};}else{if(_0x162c12['type']['id']==UnquotedAttributeValue)return{'parser':_0x332801['parser'],'overlay':[{'from':_0x162c12['from'],'to':_0x162c12['to']}]};}}}}return null;});}const descendantOp=0x7a,Unit=0x1,identifier$2=0x7b,_0x4652a0=0x7c,_0x3d0397=0x2,queryIdentifier=0x7d,_0x22142e=0x3,_0x4d31d6=0x4,_0x1e622e=[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],_0x1c575a=0x3a,_0x1da5a6=0x28,_0xee34f3=0x5f,bracketL$1=0x5b,_0x19cf9f=0x2d,_0x246da0=0x2e,_0x133f72=0x23,percent=0x25,_0x59a91d=0x26,_0x16f033=0x5c,_0x4b49d8=0xa,asterisk=0x2a;function _0x372e2f(_0x320a15){return _0x320a15>=0x41&&_0x320a15<=0x5a||_0x320a15>=0x61&&_0x320a15<=0x7a||_0x320a15>=0xa1;}function isDigit(_0x2aa8b3){return _0x2aa8b3>=0x30&&_0x2aa8b3<=0x39;}function _0x2d3b66(_0xe16d67){return isDigit(_0xe16d67)||_0xe16d67>=0x61&&_0xe16d67<=0x66||_0xe16d67>=0x41&&_0xe16d67<=0x46;}const identifierTokens=(_0x4e1ff7,_0x42598b,_0x13da84)=>(_0x17d1ce,_0x3039a8)=>{for(let _0x4d5f09=!0x1,_0x3a3fd0=0x0,_0x211e6d=0x0;;_0x211e6d++){let {next:_0x445419}=_0x17d1ce;if(_0x372e2f(_0x445419)||_0x445419==_0x19cf9f||_0x445419==_0xee34f3||_0x4d5f09&&isDigit(_0x445419))!_0x4d5f09&&(_0x445419!=_0x19cf9f||_0x211e6d>0x0)&&(_0x4d5f09=!0x0),_0x3a3fd0===_0x211e6d&&_0x445419==_0x19cf9f&&_0x3a3fd0++,_0x17d1ce['advance']();else{if(_0x445419!=_0x16f033||_0x17d1ce['peek'](0x1)==_0x4b49d8){_0x4d5f09&&_0x17d1ce['acceptToken'](0x2==_0x3a3fd0&&_0x3039a8['canShift'](_0x3d0397)?_0x42598b:_0x445419==_0x1da5a6?_0x13da84:_0x4e1ff7);break;}if(_0x17d1ce['advance'](),_0x2d3b66(_0x17d1ce['next'])){do{_0x17d1ce['advance']();}while(_0x2d3b66(_0x17d1ce['next']));0x20==_0x17d1ce['next']&&_0x17d1ce['advance']();}else _0x17d1ce['next']>-0x1&&_0x17d1ce['advance']();_0x4d5f09=!0x0;}}},identifiers=new ExternalTokenizer(identifierTokens(identifier$2,_0x3d0397,_0x4652a0)),queryIdentifiers=new ExternalTokenizer(identifierTokens(queryIdentifier,_0x22142e,_0x4d31d6)),descendant=new ExternalTokenizer(_0x322cba=>{if(_0x1e622e['includes'](_0x322cba['peek'](-0x1))){let {next:_0x27172d}=_0x322cba;(_0x372e2f(_0x27172d)||_0x27172d==_0xee34f3||_0x27172d==_0x133f72||_0x27172d==_0x246da0||_0x27172d==asterisk||_0x27172d==bracketL$1||_0x27172d==_0x1c575a&&_0x372e2f(_0x322cba['peek'](0x1))||_0x27172d==_0x19cf9f||_0x27172d==_0x59a91d)&&_0x322cba['acceptToken'](descendantOp);}}),unitToken=new ExternalTokenizer(_0x5eea0c=>{if(!_0x1e622e['includes'](_0x5eea0c['peek'](-0x1))){let {next:_0x298091}=_0x5eea0c;if(_0x298091==percent&&(_0x5eea0c['advance'](),_0x5eea0c['acceptToken'](Unit)),_0x372e2f(_0x298091)){do{_0x5eea0c['advance']();}while(_0x372e2f(_0x5eea0c['next'])||isDigit(_0x5eea0c['next']));_0x5eea0c['acceptToken'](Unit);}}}),cssHighlighting=styleTags({'AtKeyword\x20import\x20charset\x20namespace\x20keyframes\x20media\x20supports':tags$1['definitionKeyword'],'from\x20to\x20selector':tags$1['keyword'],'NamespaceName':tags$1['namespace'],'KeyframeName':tags$1['labelName'],'KeyframeRangeName':tags$1['operatorKeyword'],'TagName':tags$1['tagName'],'ClassName':tags$1['className'],'PseudoClassName':tags$1['constant'](tags$1['className']),'IdName':tags$1['labelName'],'FeatureName\x20PropertyName':tags$1['propertyName'],'AttributeName':tags$1['attributeName'],'NumberLiteral':tags$1['number'],'KeywordQuery':tags$1['keyword'],'UnaryQueryOp':tags$1['operatorKeyword'],'CallTag\x20ValueName':tags$1['atom'],'VariableName':tags$1['variableName'],'Callee':tags$1['operatorKeyword'],'Unit':tags$1['unit'],'UniversalSelector\x20NestingSelector':tags$1['definitionOperator'],'MatchOp\x20CompareOp':tags$1['compareOperator'],'ChildOp\x20SiblingOp,\x20LogicOp':tags$1['logicOperator'],'BinOp':tags$1['arithmeticOperator'],'Important':tags$1['modifier'],'Comment':tags$1['blockComment'],'ColorLiteral':tags$1['color'],'ParenthesizedContent\x20StringLiteral':tags$1['string'],':':tags$1['punctuation'],'PseudoOp\x20#':tags$1['derefOperator'],';\x20,':tags$1['separator'],'(\x20)':tags$1['paren'],'[\x20]':tags$1['squareBracket'],'{\x20}':tags$1['brace']}),_0x16e410={'__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},spec_queryIdentifier={'__proto__':null,'or':0x62,'and':0x62,'not':0x6a,'only':0x6a,'layer':0xaa},_0x30bffc={'__proto__':null,'selector':0x70,'layer':0xa6},spec_AtKeyword={'__proto__':null,'@import':0xa2,'@media':0xae,'@charset':0xb2,'@namespace':0xb6,'@keyframes':0xbc,'@supports':0xc8,'@scope':0xcc},spec_identifier$1={'__proto__':null,'to':0xcf},_0x4a5102=_0x5b5f1e['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':[cssHighlighting],'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':[descendant,unitToken,identifiers,queryIdentifiers,0x1,0x2,0x3,0x4,new _0x1bdd07('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':_0x130105=>_0x16e410[_0x130105]||-0x1},{'term':0x7d,'get':_0x217529=>spec_queryIdentifier[_0x217529]||-0x1},{'term':0x4,'get':_0x4e94ee=>_0x30bffc[_0x4e94ee]||-0x1},{'term':0x19,'get':_0x75fa27=>spec_AtKeyword[_0x75fa27]||-0x1},{'term':0x7b,'get':_0x737b90=>spec_identifier$1[_0x737b90]||-0x1}],'tokenPrec':0x7ab});let _properties=null;function properties(){if(!_properties&&'object'==typeof document&&document['body']){let {style:_0xe286be}=document['body'],_0x452602=[],_0x41747e=new Set();for(let _0x49a81f in _0xe286be)'cssText'!=_0x49a81f&&'cssFloat'!=_0x49a81f&&'string'==typeof _0xe286be[_0x49a81f]&&(/[A-Z]/['test'](_0x49a81f)&&(_0x49a81f=_0x49a81f['replace'](/[A-Z]/g,_0x19913a=>'-'+_0x19913a['toLowerCase']())),_0x41747e['has'](_0x49a81f)||(_0x452602['push'](_0x49a81f),_0x41747e['add'](_0x49a81f)));_properties=_0x452602['sort']()['map'](_0x33c4d1=>({'type':'property','label':_0x33c4d1,'apply':_0x33c4d1+':\x20'}));}return _properties||[];}const _0x58e0d4=['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'](_0x4e2d19=>({'type':'class','label':_0x4e2d19})),_0x696a96=['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'](_0x161054=>({'type':'keyword','label':_0x161054}))['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'](_0x68ddca=>({'type':'constant','label':_0x68ddca}))),tags=['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'](_0x3274ad=>({'type':'type','label':_0x3274ad})),atRules=['@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'](_0x5a8e96=>({'type':'keyword','label':_0x5a8e96})),identifier$1=/^(\w[\w-]*|-\w[\w-]*|)$/,_0xd3ff1e=/^-(-[\w-]*)?$/;function _0x120019(_0x26c324,_0xf69ff1){var _0xc58c20;if(('('==_0x26c324['name']||_0x26c324['type']['isError'])&&(_0x26c324=_0x26c324['parent']||_0x26c324),'ArgList'!=_0x26c324['name'])return!0x1;let _0x3eb1ff=null===(_0xc58c20=_0x26c324['parent'])||void 0x0===_0xc58c20?void 0x0:_0xc58c20['firstChild'];return'Callee'==(null==_0x3eb1ff?void 0x0:_0x3eb1ff['name'])&&'var'==_0xf69ff1['sliceString'](_0x3eb1ff['from'],_0x3eb1ff['to']);}const _0x5be9ca=new _0x3950ba(),declSelector=['Declaration'];function astTop(_0x44025c){for(let _0x415401=_0x44025c;;){if(_0x415401['type']['isTop'])return _0x415401;if(!(_0x415401=_0x415401['parent']))return _0x44025c;}}function _0x466921(_0x20fbcc,_0x4abf8d,_0x2235e3){if(_0x4abf8d['to']-_0x4abf8d['from']>0x1000){let _0x5ea0dc=_0x5be9ca['get'](_0x4abf8d);if(_0x5ea0dc)return _0x5ea0dc;let _0x2786d3=[],_0x2fdabc=new Set(),_0x1f035f=_0x4abf8d['cursor'](IterMode['IncludeAnonymous']);if(_0x1f035f['firstChild']())do{for(let _0x1ced11 of _0x466921(_0x20fbcc,_0x1f035f['node'],_0x2235e3))_0x2fdabc['has'](_0x1ced11['label'])||(_0x2fdabc['add'](_0x1ced11['label']),_0x2786d3['push'](_0x1ced11));}while(_0x1f035f['nextSibling']());return _0x5be9ca['set'](_0x4abf8d,_0x2786d3),_0x2786d3;}{let _0x23be38=[],_0x4d1415=new Set();return _0x4abf8d['cursor']()['iterate'](_0x2d0b69=>{var _0x10e8ce;if(_0x2235e3(_0x2d0b69)&&_0x2d0b69['matchContext'](declSelector)&&':'==(null===(_0x10e8ce=_0x2d0b69['node']['nextSibling'])||void 0x0===_0x10e8ce?void 0x0:_0x10e8ce['name'])){let _0x4a62c2=_0x20fbcc['sliceString'](_0x2d0b69['from'],_0x2d0b69['to']);_0x4d1415['has'](_0x4a62c2)||(_0x4d1415['add'](_0x4a62c2),_0x23be38['push']({'label':_0x4a62c2,'type':'variable'}));}}),_0x23be38;}}const defineCSSCompletionSource=_0x162cd0=>_0x140b01=>{let {state:_0x2a91a9,pos:_0x587836}=_0x140b01,_0x440678=syntaxTree(_0x2a91a9)['resolveInner'](_0x587836,-0x1),_0x376f1c=_0x440678['type']['isError']&&_0x440678['from']==_0x440678['to']-0x1&&'-'==_0x2a91a9['doc']['sliceString'](_0x440678['from'],_0x440678['to']);if('PropertyName'==_0x440678['name']||(_0x376f1c||'TagName'==_0x440678['name'])&&/^(Block|Styles)$/['test'](_0x440678['resolve'](_0x440678['to'])['name']))return{'from':_0x440678['from'],'options':properties(),'validFor':identifier$1};if('ValueName'==_0x440678['name'])return{'from':_0x440678['from'],'options':_0x696a96,'validFor':identifier$1};if('PseudoClassName'==_0x440678['name'])return{'from':_0x440678['from'],'options':_0x58e0d4,'validFor':identifier$1};if(_0x162cd0(_0x440678)||(_0x140b01['explicit']||_0x376f1c)&&_0x120019(_0x440678,_0x2a91a9['doc']))return{'from':_0x162cd0(_0x440678)||_0x376f1c?_0x440678['from']:_0x587836,'options':_0x466921(_0x2a91a9['doc'],astTop(_0x440678),_0x162cd0),'validFor':_0xd3ff1e};if('TagName'==_0x440678['name']){for(let {parent:_0x4d9b2f}=_0x440678;_0x4d9b2f;_0x4d9b2f=_0x4d9b2f['parent'])if('Block'==_0x4d9b2f['name'])return{'from':_0x440678['from'],'options':properties(),'validFor':identifier$1};return{'from':_0x440678['from'],'options':tags,'validFor':identifier$1};}if('AtKeyword'==_0x440678['name'])return{'from':_0x440678['from'],'options':atRules,'validFor':identifier$1};if(!_0x140b01['explicit'])return null;let _0x5216ff=_0x440678['resolve'](_0x587836),_0x27df8a=_0x5216ff['childBefore'](_0x587836);return _0x27df8a&&':'==_0x27df8a['name']&&'PseudoClassSelector'==_0x5216ff['name']?{'from':_0x587836,'options':_0x58e0d4,'validFor':identifier$1}:_0x27df8a&&':'==_0x27df8a['name']&&'Declaration'==_0x5216ff['name']||'ArgList'==_0x5216ff['name']?{'from':_0x587836,'options':_0x696a96,'validFor':identifier$1}:'Block'==_0x5216ff['name']||'Styles'==_0x5216ff['name']?{'from':_0x587836,'options':properties(),'validFor':identifier$1}:null;},cssCompletionSource=defineCSSCompletionSource(_0x417954=>'VariableName'==_0x417954['name']),_0x2b5eb0=_0x1f45dd['define']({'name':'css','parser':_0x4a5102['configure']({'props':[indentNodeProp['add']({'Declaration':continuedIndent()}),_0x2181a9['add']({'Block\x20KeyframeList':_0x1ff46f})]}),'languageData':{'commentTokens':{'block':{'open':'/*','close':'*/'}},'indentOnInput':/^\s*\}$/,'wordChars':'-'}});function _0x141233(){return new LanguageSupport(_0x2b5eb0,_0x2b5eb0['data']['of']({'autocomplete':cssCompletionSource}));}const _0x30b724=0x13c,_0x47908a=0x13d,_0x184428=0x1,_0x4de43a=0x2,questionDot=0x3,JSXStartTag=0x4,insertSemi=0x13e,_0x26cd36=0x140,_0x51d7c6=0x141,LineComment=0x5,BlockComment=0x6,Dialect_jsx=0x0,_0x5ac433=[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],_0x2971be=0x7d,_0x3cf5ef=0x3b,_0x58dcc8=0x2f,star=0x2a,_0x2574b2=0x2b,_0x38642a=0x2d,lt=0x3c,_0x1adb77=0x2c,question=0x3f,dot=0x2e,bracketL=0x5b,trackNewline=new ContextTracker({'start':!0x1,'shift':(_0x5dcf00,_0xe1706)=>_0xe1706==LineComment||_0xe1706==BlockComment||_0xe1706==_0x26cd36?_0x5dcf00:_0xe1706==_0x51d7c6,'strict':!0x1}),insertSemicolon=new ExternalTokenizer((_0x472705,_0x4053db)=>{let {next:_0x4d74f3}=_0x472705;(_0x4d74f3==_0x2971be||-0x1==_0x4d74f3||_0x4053db['context'])&&_0x472705['acceptToken'](insertSemi);},{'contextual':!0x0,'fallback':!0x0}),_0x5bff51=new ExternalTokenizer((_0x15eb17,_0x2e8e02)=>{let _0x316d3f,{next:_0xdf36bf}=_0x15eb17;_0x5ac433['indexOf'](_0xdf36bf)>-0x1||(_0xdf36bf!=_0x58dcc8||(_0x316d3f=_0x15eb17['peek'](0x1))!=_0x58dcc8&&_0x316d3f!=star)&&(_0xdf36bf==_0x2971be||_0xdf36bf==_0x3cf5ef||-0x1==_0xdf36bf||_0x2e8e02['context']||_0x15eb17['acceptToken'](_0x30b724));},{'contextual':!0x0}),_0x1300b2=new ExternalTokenizer((_0x40ee8b,_0x347a3d)=>{_0x40ee8b['next']!=bracketL||_0x347a3d['context']||_0x40ee8b['acceptToken'](_0x47908a);},{'contextual':!0x0}),operatorToken=new ExternalTokenizer((_0x4c26af,_0x2cad89)=>{let {next:_0x3a56c7}=_0x4c26af;if(_0x3a56c7==_0x2574b2||_0x3a56c7==_0x38642a){if(_0x4c26af['advance'](),_0x3a56c7==_0x4c26af['next']){_0x4c26af['advance']();let _0x43d0a2=!_0x2cad89['context']&&_0x2cad89['canShift'](_0x184428);_0x4c26af['acceptToken'](_0x43d0a2?_0x184428:_0x4de43a);}}else _0x3a56c7==question&&_0x4c26af['peek'](0x1)==dot&&(_0x4c26af['advance'](),_0x4c26af['advance'](),(_0x4c26af['next']<0x30||_0x4c26af['next']>0x39)&&_0x4c26af['acceptToken'](questionDot));},{'contextual':!0x0});function identifierChar(_0x51a315,_0x394712){return _0x51a315>=0x41&&_0x51a315<=0x5a||_0x51a315>=0x61&&_0x51a315<=0x7a||0x5f==_0x51a315||_0x51a315>=0xc0||!_0x394712&&_0x51a315>=0x30&&_0x51a315<=0x39;}const _0x5300d6=new ExternalTokenizer((_0x11ee63,_0x1c7983)=>{if(_0x11ee63['next']!=lt||!_0x1c7983['dialectEnabled'](Dialect_jsx))return;if(_0x11ee63['advance'](),_0x11ee63['next']==_0x58dcc8)return;let _0x38604c=0x0;for(;_0x5ac433['indexOf'](_0x11ee63['next'])>-0x1;)_0x11ee63['advance'](),_0x38604c++;if(identifierChar(_0x11ee63['next'],!0x0)){for(_0x11ee63['advance'](),_0x38604c++;identifierChar(_0x11ee63['next'],!0x1);)_0x11ee63['advance'](),_0x38604c++;for(;_0x5ac433['indexOf'](_0x11ee63['next'])>-0x1;)_0x11ee63['advance'](),_0x38604c++;if(_0x11ee63['next']==_0x1adb77)return;for(let _0x456b25=0x0;;_0x456b25++){if(0x7==_0x456b25){if(!identifierChar(_0x11ee63['next'],!0x0))return;break;}if(_0x11ee63['next']!='extends'['charCodeAt'](_0x456b25))break;_0x11ee63['advance'](),_0x38604c++;}}_0x11ee63['acceptToken'](JSXStartTag,-_0x38604c);}),jsHighlight=styleTags({'get\x20set\x20async\x20static':tags$1['modifier'],'for\x20while\x20do\x20if\x20else\x20switch\x20try\x20catch\x20finally\x20return\x20throw\x20break\x20continue\x20default\x20case\x20defer':tags$1['controlKeyword'],'in\x20of\x20await\x20yield\x20void\x20typeof\x20delete\x20instanceof\x20as\x20satisfies':tags$1['operatorKeyword'],'let\x20var\x20const\x20using\x20function\x20class\x20extends':tags$1['definitionKeyword'],'import\x20export\x20from':tags$1['moduleKeyword'],'with\x20debugger\x20new':tags$1['keyword'],'TemplateString':tags$1['special'](tags$1['string']),'super':tags$1['atom'],'BooleanLiteral':tags$1['bool'],'this':tags$1['self'],'null':tags$1['null'],'Star':tags$1['modifier'],'VariableName':tags$1['variableName'],'CallExpression/VariableName\x20TaggedTemplateExpression/VariableName':tags$1['function'](tags$1['variableName']),'VariableDefinition':tags$1['definition'](tags$1['variableName']),'Label':tags$1['labelName'],'PropertyName':tags$1['propertyName'],'PrivatePropertyName':tags$1['special'](tags$1['propertyName']),'CallExpression/MemberExpression/PropertyName':tags$1['function'](tags$1['propertyName']),'FunctionDeclaration/VariableDefinition':tags$1['function'](tags$1['definition'](tags$1['variableName'])),'ClassDeclaration/VariableDefinition':tags$1['definition'](tags$1['className']),'NewExpression/VariableName':tags$1['className'],'PropertyDefinition':tags$1['definition'](tags$1['propertyName']),'PrivatePropertyDefinition':tags$1['definition'](tags$1['special'](tags$1['propertyName'])),'UpdateOp':tags$1['updateOperator'],'LineComment\x20Hashbang':tags$1['lineComment'],'BlockComment':tags$1['blockComment'],'Number':tags$1['number'],'String':tags$1['string'],'Escape':tags$1['escape'],'ArithOp':tags$1['arithmeticOperator'],'LogicOp':tags$1['logicOperator'],'BitOp':tags$1['bitwiseOperator'],'CompareOp':tags$1['compareOperator'],'RegExp':tags$1['regexp'],'Equals':tags$1['definitionOperator'],'Arrow':tags$1['function'](tags$1['punctuation']),':\x20Spread':tags$1['punctuation'],'(\x20)':tags$1['paren'],'[\x20]':tags$1['squareBracket'],'{\x20}':tags$1['brace'],'InterpolationStart\x20InterpolationEnd':tags$1['special'](tags$1['brace']),'.':tags$1['derefOperator'],',\x20;':tags$1['separator'],'@':tags$1['meta'],'TypeName':tags$1['typeName'],'TypeDefinition':tags$1['definition'](tags$1['typeName']),'type\x20enum\x20interface\x20implements\x20namespace\x20module\x20declare':tags$1['definitionKeyword'],'abstract\x20global\x20Privacy\x20readonly\x20override':tags$1['modifier'],'is\x20keyof\x20unique\x20infer\x20asserts':tags$1['operatorKeyword'],'JSXAttributeValue':tags$1['attributeValue'],'JSXText':tags$1['content'],'JSXStartTag\x20JSXStartCloseTag\x20JSXSelfCloseEndTag\x20JSXEndTag':tags$1['angleBracket'],'JSXIdentifier\x20JSXNameSpacedName':tags$1['tagName'],'JSXAttribute/JSXIdentifier\x20JSXAttribute/JSXNameSpacedName':tags$1['attributeName'],'JSXBuiltin/JSXIdentifier':tags$1['standard'](tags$1['tagName'])}),spec_identifier={'__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},_0x463ecf={'__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},_0x1526c0={'__proto__':null,'<':0xc1},_0x48842d=_0x5b5f1e['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':trackNewline,'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':[jsHighlight],'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':[_0x5bff51,_0x1300b2,operatorToken,_0x5300d6,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,insertSemicolon,new _0x1bdd07('$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 _0x1bdd07('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':_0x3cbe0c=>spec_identifier[_0x3cbe0c]||-0x1},{'term':0x157,'get':_0xb34b2=>_0x463ecf[_0xb34b2]||-0x1},{'term':0x5f,'get':_0x4b1a41=>_0x1526c0[_0x4b1a41]||-0x1}],'tokenPrec':0x3b61}),snippets=[snippetCompletion('function\x20${name}(${params})\x20{\x0a\x09${}\x0a}',{'label':'function','detail':'definition','type':'keyword'}),snippetCompletion('for\x20(let\x20${index}\x20=\x200;\x20${index}\x20<\x20${bound};\x20${index}++)\x20{\x0a\x09${}\x0a}',{'label':'for','detail':'loop','type':'keyword'}),snippetCompletion('for\x20(let\x20${name}\x20of\x20${collection})\x20{\x0a\x09${}\x0a}',{'label':'for','detail':'of\x20loop','type':'keyword'}),snippetCompletion('do\x20{\x0a\x09${}\x0a}\x20while\x20(${})',{'label':'do','detail':'loop','type':'keyword'}),snippetCompletion('while\x20(${})\x20{\x0a\x09${}\x0a}',{'label':'while','detail':'loop','type':'keyword'}),snippetCompletion('try\x20{\x0a\x09${}\x0a}\x20catch\x20(${error})\x20{\x0a\x09${}\x0a}',{'label':'try','detail':'/\x20catch\x20block','type':'keyword'}),snippetCompletion('if\x20(${})\x20{\x0a\x09${}\x0a}',{'label':'if','detail':'block','type':'keyword'}),snippetCompletion('if\x20(${})\x20{\x0a\x09${}\x0a}\x20else\x20{\x0a\x09${}\x0a}',{'label':'if','detail':'/\x20else\x20block','type':'keyword'}),snippetCompletion('class\x20${name}\x20{\x0a\x09constructor(${params})\x20{\x0a\x09\x09${}\x0a\x09}\x0a}',{'label':'class','detail':'definition','type':'keyword'}),snippetCompletion('import\x20{${names}}\x20from\x20\x22${module}\x22\x0a${}',{'label':'import','detail':'named','type':'keyword'}),snippetCompletion('import\x20${name}\x20from\x20\x22${module}\x22\x0a${}',{'label':'import','detail':'default','type':'keyword'})],typescriptSnippets=snippets['concat']([snippetCompletion('interface\x20${name}\x20{\x0a\x09${}\x0a}',{'label':'interface','detail':'definition','type':'keyword'}),snippetCompletion('type\x20${name}\x20=\x20${type}',{'label':'type','detail':'definition','type':'keyword'}),snippetCompletion('enum\x20${name}\x20{\x0a\x09${}\x0a}',{'label':'enum','detail':'definition','type':'keyword'})]),_0x4ead4d=new _0x3950ba(),_0x6eec80=new Set(['Script','Block','FunctionExpression','FunctionDeclaration','ArrowFunction','MethodDeclaration','ForStatement']);function _0x4d0a2c(_0x206786){return(_0x12902c,_0x473154)=>{let _0x127550=_0x12902c['node']['getChild']('VariableDefinition');return _0x127550&&_0x473154(_0x127550,_0x206786),!0x0;};}const functionContext=['FunctionDeclaration'],gatherCompletions={'FunctionDeclaration':_0x4d0a2c('function'),'ClassDeclaration':_0x4d0a2c('class'),'ClassExpression':()=>!0x0,'EnumDeclaration':_0x4d0a2c('constant'),'TypeAliasDeclaration':_0x4d0a2c('type'),'NamespaceDeclaration':_0x4d0a2c('namespace'),'VariableDefinition'(_0x278825,_0x534f6b){_0x278825['matchContext'](functionContext)||_0x534f6b(_0x278825,'variable');},'TypeDefinition'(_0x2c2ee9,_0x4bfcd1){_0x4bfcd1(_0x2c2ee9,'type');},'__proto__':null};function getScope(_0x371fed,_0x523157){let _0x5a614a=_0x4ead4d['get'](_0x523157);if(_0x5a614a)return _0x5a614a;let _0x71f09a=[],_0x47c4ef=!0x0;function _0x59cfb9(_0x2d4552,_0x395d0d){let _0x5392cb=_0x371fed['sliceString'](_0x2d4552['from'],_0x2d4552['to']);_0x71f09a['push']({'label':_0x5392cb,'type':_0x395d0d});}return _0x523157['cursor'](IterMode['IncludeAnonymous'])['iterate'](_0x554c6e=>{if(_0x47c4ef)_0x47c4ef=!0x1;else{if(_0x554c6e['name']){let _0x47cd71=gatherCompletions[_0x554c6e['name']];if(_0x47cd71&&_0x47cd71(_0x554c6e,_0x59cfb9)||_0x6eec80['has'](_0x554c6e['name']))return!0x1;}else{if(_0x554c6e['to']-_0x554c6e['from']>0x2000){for(let _0x486f2f of getScope(_0x371fed,_0x554c6e['node']))_0x71f09a['push'](_0x486f2f);return!0x1;}}}}),_0x4ead4d['set'](_0x523157,_0x71f09a),_0x71f09a;}const Identifier=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,dontComplete=['TemplateString','String','RegExp','LineComment','BlockComment','VariableDefinition','TypeDefinition','Label','PropertyDefinition','PropertyName','PrivatePropertyDefinition','PrivatePropertyName','JSXText','JSXAttributeValue','JSXOpenTag','JSXCloseTag','JSXSelfClosingTag','.','?.'];function localCompletionSource(_0x55502d){let _0x18be84=syntaxTree(_0x55502d['state'])['resolveInner'](_0x55502d['pos'],-0x1);if(dontComplete['indexOf'](_0x18be84['name'])>-0x1)return null;let _0x3c41cd='VariableName'==_0x18be84['name']||_0x18be84['to']-_0x18be84['from']<0x14&&Identifier['test'](_0x55502d['state']['sliceDoc'](_0x18be84['from'],_0x18be84['to']));if(!_0x3c41cd&&!_0x55502d['explicit'])return null;let _0x3c360e=[];for(let _0x48f5ad=_0x18be84;_0x48f5ad;_0x48f5ad=_0x48f5ad['parent'])_0x6eec80['has'](_0x48f5ad['name'])&&(_0x3c360e=_0x3c360e['concat'](getScope(_0x55502d['state']['doc'],_0x48f5ad)));return{'options':_0x3c360e,'from':_0x3c41cd?_0x18be84['from']:_0x55502d['pos'],'validFor':Identifier};}const javascriptLanguage=_0x1f45dd['define']({'name':'javascript','parser':_0x48842d['configure']({'props':[indentNodeProp['add']({'IfStatement':continuedIndent({'except':/^\s*({|else\b)/}),'TryStatement':continuedIndent({'except':/^\s*({|catch\b|finally\b)/}),'LabeledStatement':flatIndent,'SwitchBody':_0xf2999f=>{let _0x4b9080=_0xf2999f['textAfter'],_0x3e944f=/^\s*\}/['test'](_0x4b9080),_0x22e330=/^\s*(case|default)\b/['test'](_0x4b9080);return _0xf2999f['baseIndent']+(_0x3e944f?0x0:_0x22e330?0x1:0x2)*_0xf2999f['unit'];},'Block':delimitedIndent({'closing':'}'}),'ArrowFunction':_0x4c350a=>_0x4c350a['baseIndent']+_0x4c350a['unit'],'TemplateString\x20BlockComment':()=>null,'Statement\x20Property':continuedIndent({'except':/^\s*{/}),'JSXElement'(_0x23b118){let _0x550908=/^\s*<\//['test'](_0x23b118['textAfter']);return _0x23b118['lineIndent'](_0x23b118['node']['from'])+(_0x550908?0x0:_0x23b118['unit']);},'JSXEscape'(_0x2a2eb1){let _0x5c176f=/\s*\}/['test'](_0x2a2eb1['textAfter']);return _0x2a2eb1['lineIndent'](_0x2a2eb1['node']['from'])+(_0x5c176f?0x0:_0x2a2eb1['unit']);},'JSXOpenTag\x20JSXSelfClosingTag':_0x574f7c=>_0x574f7c['column'](_0x574f7c['node']['from'])+_0x574f7c['unit']}),_0x2181a9['add']({'Block\x20ClassBody\x20SwitchBody\x20EnumBody\x20ObjectExpression\x20ArrayExpression\x20ObjectType':_0x1ff46f,'BlockComment':_0x5e86ec=>({'from':_0x5e86ec['from']+0x2,'to':_0x5e86ec['to']-0x2})})]}),'languageData':{'closeBrackets':{'brackets':['(','[','{','\x27','\x22','`']},'commentTokens':{'line':'//','block':{'open':'/*','close':'*/'}},'indentOnInput':/^\s*(?:case |default:|\{|\}|<\/)$/,'wordChars':'$'}}),_0x3b6697={'test':_0xdeee3b=>/^JSX/['test'](_0xdeee3b['name']),'facet':defineLanguageFacet({'commentTokens':{'block':{'open':'{/*','close':'*/}'}}})},typescriptLanguage=javascriptLanguage['configure']({'dialect':'ts'},'typescript'),_0x2065c6=javascriptLanguage['configure']({'dialect':'jsx','props':[_0x5467e0['add'](_0x1e3b6f=>_0x1e3b6f['isTop']?[_0x3b6697]:void 0x0)]}),tsxLanguage=javascriptLanguage['configure']({'dialect':'jsx\x20ts','props':[_0x5467e0['add'](_0x53d3ce=>_0x53d3ce['isTop']?[_0x3b6697]:void 0x0)]},'typescript');let kwCompletion=_0x5b9f3e=>({'label':_0x5b9f3e,'type':'keyword'});const _0x585f3e='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'](kwCompletion),typescriptKeywords=_0x585f3e['concat'](['declare','implements','private','protected','public']['map'](kwCompletion));function javascript(_0xeb14b2={}){let _0x2191be=_0xeb14b2['jsx']?_0xeb14b2['typescript']?tsxLanguage:_0x2065c6:_0xeb14b2['typescript']?typescriptLanguage:javascriptLanguage,_0x523e45=_0xeb14b2['typescript']?typescriptSnippets['concat'](typescriptKeywords):snippets['concat'](_0x585f3e);return new LanguageSupport(_0x2191be,[javascriptLanguage['data']['of']({'autocomplete':ifNotIn(dontComplete,completeFromList(_0x523e45))}),javascriptLanguage['data']['of']({'autocomplete':localCompletionSource}),_0xeb14b2['jsx']?autoCloseTags$1:[]]);}function _0x499491(_0x1d3942){for(;;){if('JSXOpenTag'==_0x1d3942['name']||'JSXSelfClosingTag'==_0x1d3942['name']||'JSXFragmentTag'==_0x1d3942['name'])return _0x1d3942;if('JSXEscape'==_0x1d3942['name']||!_0x1d3942['parent'])return null;_0x1d3942=_0x1d3942['parent'];}}function elementName$1(_0x185e58,_0x4b3b16,_0x1810c6=_0x185e58['length']){for(let _0x3e1450=null==_0x4b3b16?void 0x0:_0x4b3b16['firstChild'];_0x3e1450;_0x3e1450=_0x3e1450['nextSibling'])if('JSXIdentifier'==_0x3e1450['name']||'JSXBuiltin'==_0x3e1450['name']||'JSXNamespacedName'==_0x3e1450['name']||'JSXMemberExpression'==_0x3e1450['name'])return _0x185e58['sliceString'](_0x3e1450['from'],Math['min'](_0x3e1450['to'],_0x1810c6));return'';}const _0x3377be='object'==typeof navigator&&/Android\b/['test'](navigator['userAgent']),autoCloseTags$1=EditorView['inputHandler']['of']((_0x21ce6c,_0x501032,_0x454d10,_0x26f43c,_0x3fb8d5)=>{if((_0x3377be?_0x21ce6c['composing']:_0x21ce6c['compositionStarted'])||_0x21ce6c['state']['readOnly']||_0x501032!=_0x454d10||'>'!=_0x26f43c&&'/'!=_0x26f43c||!javascriptLanguage['isActiveAt'](_0x21ce6c['state'],_0x501032,-0x1))return!0x1;let _0x5a2110=_0x3fb8d5(),{state:_0x9c1a61}=_0x5a2110,_0x4486bd=_0x9c1a61['changeByRange'](_0x433012=>{var _0x493cb0;let _0x24744c,{head:_0x1453b8}=_0x433012,_0x19ed83=syntaxTree(_0x9c1a61)['resolveInner'](_0x1453b8-0x1,-0x1);if('JSXStartTag'==_0x19ed83['name']&&(_0x19ed83=_0x19ed83['parent']),_0x9c1a61['doc']['sliceString'](_0x1453b8-0x1,_0x1453b8)!=_0x26f43c||'JSXAttributeValue'==_0x19ed83['name']&&_0x19ed83['to']>_0x1453b8);else{if('>'==_0x26f43c&&'JSXFragmentTag'==_0x19ed83['name'])return{'range':_0x433012,'changes':{'from':_0x1453b8,'insert':'</>'}};if('/'==_0x26f43c&&'JSXStartCloseTag'==_0x19ed83['name']){let _0x5ccfee=_0x19ed83['parent'],_0x3885fa=_0x5ccfee['parent'];if(_0x3885fa&&_0x5ccfee['from']==_0x1453b8-0x2&&((_0x24744c=elementName$1(_0x9c1a61['doc'],_0x3885fa['firstChild'],_0x1453b8))||'JSXFragmentTag'==(null===(_0x493cb0=_0x3885fa['firstChild'])||void 0x0===_0x493cb0?void 0x0:_0x493cb0['name']))){let _0x3e8a4c=_0x24744c+'>';return{'range':EditorSelection['cursor'](_0x1453b8+_0x3e8a4c['length'],-0x1),'changes':{'from':_0x1453b8,'insert':_0x3e8a4c}};}}else{if('>'==_0x26f43c){let _0x5ed7c8=_0x499491(_0x19ed83);if(_0x5ed7c8&&'JSXOpenTag'==_0x5ed7c8['name']&&!/^\/?>|^<\//['test'](_0x9c1a61['doc']['sliceString'](_0x1453b8,_0x1453b8+0x2))&&(_0x24744c=elementName$1(_0x9c1a61['doc'],_0x5ed7c8,_0x1453b8)))return{'range':_0x433012,'changes':{'from':_0x1453b8,'insert':'</'+_0x24744c+'>'}};}}}return{'range':_0x433012};});return!_0x4486bd['changes']['empty']&&(_0x21ce6c['dispatch']([_0x5a2110,_0x9c1a61['update'](_0x4486bd,{'userEvent':'input.complete','scrollIntoView':!0x0})]),!0x0);}),Targets=['_blank','_self','_top','_parent'],Charsets=['ascii','utf-8','utf-16','latin1','latin1'],Methods=['get','post','put','delete'],_0x22fe23=['application/x-www-form-urlencoded','multipart/form-data','text/plain'],_0x2eeca0=['true','false'],_0x20e957={},_0x128c1d={'a':{'attrs':{'href':null,'ping':null,'type':null,'media':null,'target':Targets,'hreflang':null}},'abbr':_0x20e957,'address':_0x20e957,'area':{'attrs':{'alt':null,'coords':null,'href':null,'target':null,'ping':null,'media':null,'hreflang':null,'type':null,'shape':['default','rect','circle','poly']}},'article':_0x20e957,'aside':_0x20e957,'audio':{'attrs':{'src':null,'mediagroup':null,'crossorigin':['anonymous','use-credentials'],'preload':['none','metadata','auto'],'autoplay':['autoplay'],'loop':['loop'],'controls':['controls']}},'b':_0x20e957,'base':{'attrs':{'href':null,'target':Targets}},'bdi':_0x20e957,'bdo':_0x20e957,'blockquote':{'attrs':{'cite':null}},'body':_0x20e957,'br':_0x20e957,'button':{'attrs':{'form':null,'formaction':null,'name':null,'value':null,'autofocus':['autofocus'],'disabled':['autofocus'],'formenctype':_0x22fe23,'formmethod':Methods,'formnovalidate':['novalidate'],'formtarget':Targets,'type':['submit','reset','button']}},'canvas':{'attrs':{'width':null,'height':null}},'caption':_0x20e957,'center':_0x20e957,'cite':_0x20e957,'code':_0x20e957,'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':_0x20e957,'del':{'attrs':{'cite':null,'datetime':null}},'details':{'attrs':{'open':['open']}},'dfn':_0x20e957,'div':_0x20e957,'dl':_0x20e957,'dt':_0x20e957,'em':_0x20e957,'embed':{'attrs':{'src':null,'type':null,'width':null,'height':null}},'eventsource':{'attrs':{'src':null}},'fieldset':{'attrs':{'disabled':['disabled'],'form':null,'name':null}},'figcaption':_0x20e957,'figure':_0x20e957,'footer':_0x20e957,'form':{'attrs':{'action':null,'name':null,'accept-charset':Charsets,'autocomplete':['on','off'],'enctype':_0x22fe23,'method':Methods,'novalidate':['novalidate'],'target':Targets}},'h1':_0x20e957,'h2':_0x20e957,'h3':_0x20e957,'h4':_0x20e957,'h5':_0x20e957,'h6':_0x20e957,'head':{'children':['title','base','link','style','meta','script','noscript','command']},'header':_0x20e957,'hgroup':_0x20e957,'hr':_0x20e957,'html':{'attrs':{'manifest':null}},'i':_0x20e957,'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':_0x22fe23,'formmethod':Methods,'formnovalidate':['novalidate'],'formtarget':Targets,'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':_0x20e957,'keygen':{'attrs':{'challenge':null,'form':null,'name':null,'autofocus':['autofocus'],'disabled':['disabled'],'keytype':['RSA']}},'label':{'attrs':{'for':null,'form':null}},'legend':_0x20e957,'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':_0x20e957,'menu':{'attrs':{'label':null,'type':['list','context','toolbar']}},'meta':{'attrs':{'content':null,'charset':Charsets,'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':_0x20e957,'noscript':_0x20e957,'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':_0x20e957,'param':{'attrs':{'name':null,'value':null}},'pre':_0x20e957,'progress':{'attrs':{'value':null,'max':null}},'q':{'attrs':{'cite':null}},'rp':_0x20e957,'rt':_0x20e957,'ruby':_0x20e957,'samp':_0x20e957,'script':{'attrs':{'type':['text/javascript'],'src':null,'async':['async'],'defer':['defer'],'charset':Charsets}},'section':_0x20e957,'select':{'attrs':{'form':null,'name':null,'size':null,'autofocus':['autofocus'],'disabled':['disabled'],'multiple':['multiple']}},'slot':{'attrs':{'name':null}},'small':_0x20e957,'source':{'attrs':{'src':null,'type':null,'media':null}},'span':_0x20e957,'strong':_0x20e957,'style':{'attrs':{'type':['text/css'],'media':null,'scoped':null}},'sub':_0x20e957,'summary':_0x20e957,'sup':_0x20e957,'table':_0x20e957,'tbody':_0x20e957,'td':{'attrs':{'colspan':null,'rowspan':null,'headers':null}},'template':_0x20e957,'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':_0x20e957,'th':{'attrs':{'colspan':null,'rowspan':null,'headers':null,'scope':['row','col','rowgroup','colgroup']}},'thead':_0x20e957,'time':{'attrs':{'datetime':null}},'title':_0x20e957,'tr':_0x20e957,'track':{'attrs':{'src':null,'label':null,'default':null,'kind':['subtitles','captions','descriptions','chapters','metadata'],'srclang':null}},'ul':{'children':['li','script','template','ul','ol']},'var':_0x20e957,'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':_0x20e957},GlobalAttrs={'accesskey':null,'class':null,'contenteditable':_0x2eeca0,'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':_0x2eeca0,'autocorrect':_0x2eeca0,'autocapitalize':_0x2eeca0,'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':_0x2eeca0,'aria-autocomplete':['inline','list','both','none'],'aria-busy':_0x2eeca0,'aria-checked':['true','false','mixed','undefined'],'aria-controls':null,'aria-describedby':null,'aria-disabled':_0x2eeca0,'aria-dropeffect':null,'aria-expanded':['true','false','undefined'],'aria-flowto':null,'aria-grabbed':['true','false','undefined'],'aria-haspopup':_0x2eeca0,'aria-hidden':_0x2eeca0,'aria-invalid':['true','false','grammar','spelling'],'aria-label':null,'aria-labelledby':null,'aria-level':null,'aria-live':['off','polite','assertive'],'aria-multiline':_0x2eeca0,'aria-multiselectable':_0x2eeca0,'aria-owns':null,'aria-posinset':null,'aria-pressed':['true','false','mixed','undefined'],'aria-readonly':_0x2eeca0,'aria-relevant':null,'aria-required':_0x2eeca0,'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},eventAttributes='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'](_0x79473d=>'on'+_0x79473d);for(let _0x2320cc of eventAttributes)GlobalAttrs[_0x2320cc]=null;class _0xefb2a8{constructor(_0x1774dd,_0x5dbec3){this['tags']={..._0x128c1d,..._0x1774dd},this['globalAttrs']={...GlobalAttrs,..._0x5dbec3},this['allTags']=Object['keys'](this['tags']),this['globalAttrNames']=Object['keys'](this['globalAttrs']);}}function elementName(_0x19eef8,_0x4030f8,_0x367c1e=_0x19eef8['length']){if(!_0x4030f8)return'';let _0x12a9c3=_0x4030f8['firstChild'],_0x20e19f=_0x12a9c3&&_0x12a9c3['getChild']('TagName');return _0x20e19f?_0x19eef8['sliceString'](_0x20e19f['from'],Math['min'](_0x20e19f['to'],_0x367c1e)):'';}function findParentElement(_0x425ae9,_0xd7e2de=!0x1){for(;_0x425ae9;_0x425ae9=_0x425ae9['parent'])if('Element'==_0x425ae9['name']){if(!_0xd7e2de)return _0x425ae9;_0xd7e2de=!0x1;}return null;}function _0x2d0faf(_0x449338,_0x2b1f63,_0x420a0e){let _0x88597c=_0x420a0e['tags'][elementName(_0x449338,findParentElement(_0x2b1f63))];return(null==_0x88597c?void 0x0:_0x88597c['children'])||_0x420a0e['allTags'];}function _0x232ea2(_0x34482a,_0x2b16c8){let _0xa97b0d=[];for(let _0x1bed14=findParentElement(_0x2b16c8);_0x1bed14&&!_0x1bed14['type']['isTop'];_0x1bed14=findParentElement(_0x1bed14['parent'])){let _0x587082=elementName(_0x34482a,_0x1bed14);if(_0x587082&&'CloseTag'==_0x1bed14['lastChild']['name'])break;_0x587082&&_0xa97b0d['indexOf'](_0x587082)<0x0&&('EndTag'==_0x2b16c8['name']||_0x2b16c8['from']>=_0x1bed14['firstChild']['to'])&&_0xa97b0d['push'](_0x587082);}return _0xa97b0d;}_0xefb2a8['default']=new _0xefb2a8();const identifier=/^[:\-\.\w\u00b7-\uffff]*$/;function completeTag(_0x1e27da,_0x3c5af8,_0x26ee23,_0x32730,_0x4382ba){let _0xd64dee=/\s*>/['test'](_0x1e27da['sliceDoc'](_0x4382ba,_0x4382ba+0x5))?'':'>',_0x1d48be=findParentElement(_0x26ee23,'StartTag'==_0x26ee23['name']||'TagName'==_0x26ee23['name']);return{'from':_0x32730,'to':_0x4382ba,'options':_0x2d0faf(_0x1e27da['doc'],_0x1d48be,_0x3c5af8)['map'](_0xaa5e2b=>({'label':_0xaa5e2b,'type':'type'}))['concat'](_0x232ea2(_0x1e27da['doc'],_0x26ee23)['map']((_0x4ba3f1,_0x204f3a)=>({'label':'/'+_0x4ba3f1,'apply':'/'+_0x4ba3f1+_0xd64dee,'type':'type','boost':0x63-_0x204f3a}))),'validFor':/^\/?[:\-\.\w\u00b7-\uffff]*$/};}function completeCloseTag(_0x1a0e4a,_0x3d179f,_0x1bc1db,_0x284a11){let _0x16840e=/\s*>/['test'](_0x1a0e4a['sliceDoc'](_0x284a11,_0x284a11+0x5))?'':'>';return{'from':_0x1bc1db,'to':_0x284a11,'options':_0x232ea2(_0x1a0e4a['doc'],_0x3d179f)['map']((_0x55dfa5,_0x302d69)=>({'label':_0x55dfa5,'apply':_0x55dfa5+_0x16840e,'type':'type','boost':0x63-_0x302d69})),'validFor':identifier};}function completeStartTag(_0x30403b,_0x1f1758,_0x1fc41d,_0x17defa){let _0x16a6e0=[],_0x33c211=0x0;for(let _0x5db689 of _0x2d0faf(_0x30403b['doc'],_0x1fc41d,_0x1f1758))_0x16a6e0['push']({'label':'<'+_0x5db689,'type':'type'});for(let _0x957bed of _0x232ea2(_0x30403b['doc'],_0x1fc41d))_0x16a6e0['push']({'label':'</'+_0x957bed+'>','type':'type','boost':0x63-_0x33c211++});return{'from':_0x17defa,'to':_0x17defa,'options':_0x16a6e0,'validFor':/^<\/?[:\-\.\w\u00b7-\uffff]*$/};}function completeAttrName(_0x116909,_0x1b2fdd,_0x3c6689,_0x2acd54,_0x28c15e){let _0x167ecf=findParentElement(_0x3c6689),_0x14076b=_0x167ecf?_0x1b2fdd['tags'][elementName(_0x116909['doc'],_0x167ecf)]:null,_0x54a606=_0x14076b&&_0x14076b['attrs']?Object['keys'](_0x14076b['attrs']):[];return{'from':_0x2acd54,'to':_0x28c15e,'options':(_0x14076b&&!0x1===_0x14076b['globalAttrs']?_0x54a606:_0x54a606['length']?_0x54a606['concat'](_0x1b2fdd['globalAttrNames']):_0x1b2fdd['globalAttrNames'])['map'](_0x123e48=>({'label':_0x123e48,'type':'property'})),'validFor':identifier};}function completeAttrValue(_0x184051,_0x1b9cf8,_0x2c929d,_0x51ed8e,_0x2a7838){var _0xbbb0e9;let _0x56ee64,_0xf0e3ba=null===(_0xbbb0e9=_0x2c929d['parent'])||void 0x0===_0xbbb0e9?void 0x0:_0xbbb0e9['getChild']('AttributeName'),_0x285687=[];if(_0xf0e3ba){let _0x2b6c42=_0x184051['sliceDoc'](_0xf0e3ba['from'],_0xf0e3ba['to']),_0xaf47b6=_0x1b9cf8['globalAttrs'][_0x2b6c42];if(!_0xaf47b6){let _0xfab089=findParentElement(_0x2c929d),_0x78703f=_0xfab089?_0x1b9cf8['tags'][elementName(_0x184051['doc'],_0xfab089)]:null;_0xaf47b6=(null==_0x78703f?void 0x0:_0x78703f['attrs'])&&_0x78703f['attrs'][_0x2b6c42];}if(_0xaf47b6){let _0x219461=_0x184051['sliceDoc'](_0x51ed8e,_0x2a7838)['toLowerCase'](),_0x1e4480='\x22',_0x265710='\x22';/^['"]/['test'](_0x219461)?(_0x56ee64='\x22'==_0x219461[0x0]?/^[^"]*$/:/^[^']*$/,_0x1e4480='',_0x265710=_0x184051['sliceDoc'](_0x2a7838,_0x2a7838+0x1)==_0x219461[0x0]?'':_0x219461[0x0],_0x219461=_0x219461['slice'](0x1),_0x51ed8e++):_0x56ee64=/^[^\s<>='"]*$/;for(let _0x5c0eda of _0xaf47b6)_0x285687['push']({'label':_0x5c0eda,'apply':_0x1e4480+_0x5c0eda+_0x265710,'type':'constant'});}}return{'from':_0x51ed8e,'to':_0x2a7838,'options':_0x285687,'validFor':_0x56ee64};}function htmlCompletionFor(_0x10ec40,_0x107bf3){let {state:_0x3206c1,pos:_0x2938c0}=_0x107bf3,_0x4ce2b9=syntaxTree(_0x3206c1)['resolveInner'](_0x2938c0,-0x1),_0x4581fe=_0x4ce2b9['resolve'](_0x2938c0);for(let _0x10d747,_0x2b9979=_0x2938c0;_0x4581fe==_0x4ce2b9&&(_0x10d747=_0x4ce2b9['childBefore'](_0x2b9979));){let _0x103c2c=_0x10d747['lastChild'];if(!_0x103c2c||!_0x103c2c['type']['isError']||_0x103c2c['from']<_0x103c2c['to'])break;_0x4581fe=_0x4ce2b9=_0x10d747,_0x2b9979=_0x103c2c['from'];}return'TagName'==_0x4ce2b9['name']?_0x4ce2b9['parent']&&/CloseTag$/['test'](_0x4ce2b9['parent']['name'])?completeCloseTag(_0x3206c1,_0x4ce2b9,_0x4ce2b9['from'],_0x2938c0):completeTag(_0x3206c1,_0x10ec40,_0x4ce2b9,_0x4ce2b9['from'],_0x2938c0):'StartTag'==_0x4ce2b9['name']||'IncompleteTag'==_0x4ce2b9['name']?completeTag(_0x3206c1,_0x10ec40,_0x4ce2b9,_0x2938c0,_0x2938c0):'StartCloseTag'==_0x4ce2b9['name']||'IncompleteCloseTag'==_0x4ce2b9['name']?completeCloseTag(_0x3206c1,_0x4ce2b9,_0x2938c0,_0x2938c0):'OpenTag'==_0x4ce2b9['name']||'SelfClosingTag'==_0x4ce2b9['name']||'AttributeName'==_0x4ce2b9['name']?completeAttrName(_0x3206c1,_0x10ec40,_0x4ce2b9,'AttributeName'==_0x4ce2b9['name']?_0x4ce2b9['from']:_0x2938c0,_0x2938c0):'Is'==_0x4ce2b9['name']||'AttributeValue'==_0x4ce2b9['name']||'UnquotedAttributeValue'==_0x4ce2b9['name']?completeAttrValue(_0x3206c1,_0x10ec40,_0x4ce2b9,'Is'==_0x4ce2b9['name']?_0x2938c0:_0x4ce2b9['from'],_0x2938c0):!_0x107bf3['explicit']||'Element'!=_0x4581fe['name']&&'Text'!=_0x4581fe['name']&&'Document'!=_0x4581fe['name']?null:completeStartTag(_0x3206c1,_0x10ec40,_0x4ce2b9,_0x2938c0);}function htmlCompletionSource(_0x18f5c3){return htmlCompletionFor(_0xefb2a8['default'],_0x18f5c3);}function htmlCompletionSourceWith(_0x4c1168){let {extraTags:_0x19246c,extraGlobalAttributes:_0xcfa348}=_0x4c1168,_0x4d70b8=_0xcfa348||_0x19246c?new _0xefb2a8(_0x19246c,_0xcfa348):_0xefb2a8['default'];return _0x32ce22=>htmlCompletionFor(_0x4d70b8,_0x32ce22);}const _0x18aaf6=javascriptLanguage['parser']['configure']({'top':'SingleExpression'}),defaultNesting=[{'tag':'script','attrs':_0x450826=>'text/typescript'==_0x450826['type']||'ts'==_0x450826['lang'],'parser':typescriptLanguage['parser']},{'tag':'script','attrs':_0x294e53=>'text/babel'==_0x294e53['type']||'text/jsx'==_0x294e53['type'],'parser':_0x2065c6['parser']},{'tag':'script','attrs':_0x4bc75d=>'text/typescript-jsx'==_0x4bc75d['type'],'parser':tsxLanguage['parser']},{'tag':'script','attrs':_0x2c3d6e=>/^(importmap|speculationrules|application\/(.+\+)?json)$/i['test'](_0x2c3d6e['type']),'parser':_0x18aaf6},{'tag':'script','attrs':_0x50c88c=>!_0x50c88c['type']||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i['test'](_0x50c88c['type']),'parser':javascriptLanguage['parser']},{'tag':'style','attrs':_0x3983d2=>(!_0x3983d2['lang']||'css'==_0x3983d2['lang'])&&(!_0x3983d2['type']||/^(text\/)?(x-)?(stylesheet|css)$/i['test'](_0x3983d2['type'])),'parser':_0x2b5eb0['parser']}],defaultAttrs=[{'name':'style','parser':_0x2b5eb0['parser']['configure']({'top':'Styles'})}]['concat'](eventAttributes['map'](_0x4de4fc=>({'name':_0x4de4fc,'parser':javascriptLanguage['parser']}))),htmlPlain=_0x1f45dd['define']({'name':'html','parser':_0x291fd5['configure']({'props':[indentNodeProp['add']({'Element'(_0x47b225){let _0x5d422d=/^(\s*)(<\/)?/['exec'](_0x47b225['textAfter']);return _0x47b225['node']['to']<=_0x47b225['pos']+_0x5d422d[0x0]['length']?_0x47b225['continue']():_0x47b225['lineIndent'](_0x47b225['node']['from'])+(_0x5d422d[0x2]?0x0:_0x47b225['unit']);},'OpenTag\x20CloseTag\x20SelfClosingTag':_0x3033e3=>_0x3033e3['column'](_0x3033e3['node']['from'])+_0x3033e3['unit'],'Document'(_0x217489){if(_0x217489['pos']+/\s*/['exec'](_0x217489['textAfter'])[0x0]['length']<_0x217489['node']['to'])return _0x217489['continue']();let _0x2b01f4,_0x2a7e8d=null;for(let _0x37674d=_0x217489['node'];;){let _0x36fab2=_0x37674d['lastChild'];if(!_0x36fab2||'Element'!=_0x36fab2['name']||_0x36fab2['to']!=_0x37674d['to'])break;_0x2a7e8d=_0x37674d=_0x36fab2;}return _0x2a7e8d&&(!(_0x2b01f4=_0x2a7e8d['lastChild'])||'CloseTag'!=_0x2b01f4['name']&&'SelfClosingTag'!=_0x2b01f4['name'])?_0x217489['lineIndent'](_0x2a7e8d['from'])+_0x217489['unit']:null;}}),_0x2181a9['add']({'Element'(_0x292f50){let _0x5a3552=_0x292f50['firstChild'],_0x1e85c7=_0x292f50['lastChild'];return _0x5a3552&&'OpenTag'==_0x5a3552['name']?{'from':_0x5a3552['to'],'to':'CloseTag'==_0x1e85c7['name']?_0x1e85c7['from']:_0x292f50['to']}:null;}}),bracketMatchingHandle['add']({'OpenTag\x20CloseTag':_0x280c54=>_0x280c54['getChild']('TagName')})]}),'languageData':{'commentTokens':{'block':{'open':'<!--','close':'-->'}},'indentOnInput':/^\s*<\/\w+\W$/,'wordChars':'-_'}}),htmlLanguage=htmlPlain['configure']({'wrap':configureNesting(defaultNesting,defaultAttrs)});function html(_0x11e098={}){let _0x5e18e0,_0x35dd4b='';!0x1===_0x11e098['matchClosingTags']&&(_0x35dd4b='noMatch'),!0x0===_0x11e098['selfClosingTags']&&(_0x35dd4b=(_0x35dd4b?_0x35dd4b+'\x20':'')+'selfClosing'),(_0x11e098['nestedLanguages']&&_0x11e098['nestedLanguages']['length']||_0x11e098['nestedAttributes']&&_0x11e098['nestedAttributes']['length'])&&(_0x5e18e0=configureNesting((_0x11e098['nestedLanguages']||[])['concat'](defaultNesting),(_0x11e098['nestedAttributes']||[])['concat'](defaultAttrs)));let _0x5305df=_0x5e18e0?htmlPlain['configure']({'wrap':_0x5e18e0,'dialect':_0x35dd4b}):_0x35dd4b?htmlLanguage['configure']({'dialect':_0x35dd4b}):htmlLanguage;return new LanguageSupport(_0x5305df,[htmlLanguage['data']['of']({'autocomplete':htmlCompletionSourceWith(_0x11e098)}),!0x1!==_0x11e098['autoCloseTags']?autoCloseTags:[],javascript()['support'],_0x141233()['support']]);}const _0x4f93c4=new Set('area\x20base\x20br\x20col\x20command\x20embed\x20frame\x20hr\x20img\x20input\x20keygen\x20link\x20meta\x20param\x20source\x20track\x20wbr\x20menuitem'['split']('\x20')),autoCloseTags=EditorView['inputHandler']['of']((_0x410ead,_0x6e8a86,_0x152ba0,_0x2e197c,_0x20be25)=>{if(_0x410ead['composing']||_0x410ead['state']['readOnly']||_0x6e8a86!=_0x152ba0||'>'!=_0x2e197c&&'/'!=_0x2e197c||!htmlLanguage['isActiveAt'](_0x410ead['state'],_0x6e8a86,-0x1))return!0x1;let _0x388e16=_0x20be25(),{state:_0x4783b6}=_0x388e16,_0x41ca27=_0x4783b6['changeByRange'](_0x1aaabc=>{var _0x2081e1,_0x5c8999,_0x3ddcd3;let _0x4cd014,_0x3749c3=_0x4783b6['doc']['sliceString'](_0x1aaabc['from']-0x1,_0x1aaabc['to'])==_0x2e197c,{head:_0x44ea40}=_0x1aaabc,_0x17eff5=syntaxTree(_0x4783b6)['resolveInner'](_0x44ea40,-0x1);if(_0x3749c3&&'>'==_0x2e197c&&'EndTag'==_0x17eff5['name']){let _0x7c7dc8=_0x17eff5['parent'];if('CloseTag'!=(null===(_0x5c8999=null===(_0x2081e1=_0x7c7dc8['parent'])||void 0x0===_0x2081e1?void 0x0:_0x2081e1['lastChild'])||void 0x0===_0x5c8999?void 0x0:_0x5c8999['name'])&&(_0x4cd014=elementName(_0x4783b6['doc'],_0x7c7dc8['parent'],_0x44ea40))&&!_0x4f93c4['has'](_0x4cd014))return{'range':_0x1aaabc,'changes':{'from':_0x44ea40,'to':_0x44ea40+('>'===_0x4783b6['doc']['sliceString'](_0x44ea40,_0x44ea40+0x1)?0x1:0x0),'insert':'</'+_0x4cd014+'>'}};}else{if(_0x3749c3&&'/'==_0x2e197c&&'IncompleteCloseTag'==_0x17eff5['name']){let _0x1f08d2=_0x17eff5['parent'];if(_0x17eff5['from']==_0x44ea40-0x2&&'CloseTag'!=(null===(_0x3ddcd3=_0x1f08d2['lastChild'])||void 0x0===_0x3ddcd3?void 0x0:_0x3ddcd3['name'])&&(_0x4cd014=elementName(_0x4783b6['doc'],_0x1f08d2,_0x44ea40))&&!_0x4f93c4['has'](_0x4cd014)){let _0x228be0=_0x44ea40+('>'===_0x4783b6['doc']['sliceString'](_0x44ea40,_0x44ea40+0x1)?0x1:0x0),_0x138ecb=_0x4cd014+'>';return{'range':EditorSelection['cursor'](_0x44ea40+_0x138ecb['length'],-0x1),'changes':{'from':_0x44ea40,'to':_0x228be0,'insert':_0x138ecb}};}}}return{'range':_0x1aaabc};});return!_0x41ca27['changes']['empty']&&(_0x410ead['dispatch']([_0x388e16,_0x4783b6['update'](_0x41ca27,{'userEvent':'input.complete','scrollIntoView':!0x0})]),!0x0);});class CompositeBlock{static['create'](_0x528f8c,_0x2fa667,_0x19c82d,_0x552020,_0x199aec){return new CompositeBlock(_0x528f8c,_0x2fa667,_0x19c82d,_0x552020+(_0x552020<<0x8)+_0x528f8c+(_0x2fa667<<0x4)|0x0,_0x199aec,[],[]);}constructor(_0x4476f7,_0x252a75,_0x68d104,_0x2392db,_0x2bf824,_0x2ed11f,_0x5845bc){this['type']=_0x4476f7,this['value']=_0x252a75,this['from']=_0x68d104,this['hash']=_0x2392db,this['end']=_0x2bf824,this['children']=_0x2ed11f,this['positions']=_0x5845bc,this['hashProp']=[[_0x332766['contextHash'],_0x2392db]];}['addChild'](_0x553f57,_0x3270f8){_0x553f57['prop'](_0x332766['contextHash'])!=this['hash']&&(_0x553f57=new _0x21283b(_0x553f57['type'],_0x553f57['children'],_0x553f57['positions'],_0x553f57['length'],this['hashProp'])),this['children']['push'](_0x553f57),this['positions']['push'](_0x3270f8);}['toTree'](_0x38b48b,_0x1e49e7=this['end']){let _0x191455=this['children']['length']-0x1;return _0x191455>=0x0&&(_0x1e49e7=Math['max'](_0x1e49e7,this['positions'][_0x191455]+this['children'][_0x191455]['length']+this['from'])),new _0x21283b(_0x38b48b['types'][this['type']],this['children'],this['positions'],_0x1e49e7-this['from'])['balance']({'makeTree':(_0x2c171f,_0x45dffb,_0x46a206)=>new _0x21283b(_0x37cf2b['none'],_0x2c171f,_0x45dffb,_0x46a206,this['hashProp'])});}}var _0x425cf1;!function(_0x4baaf8){_0x4baaf8[_0x4baaf8['Document']=0x1]='Document',_0x4baaf8[_0x4baaf8['CodeBlock']=0x2]='CodeBlock',_0x4baaf8[_0x4baaf8['FencedCode']=0x3]='FencedCode',_0x4baaf8[_0x4baaf8['Blockquote']=0x4]='Blockquote',_0x4baaf8[_0x4baaf8['HorizontalRule']=0x5]='HorizontalRule',_0x4baaf8[_0x4baaf8['BulletList']=0x6]='BulletList',_0x4baaf8[_0x4baaf8['OrderedList']=0x7]='OrderedList',_0x4baaf8[_0x4baaf8['ListItem']=0x8]='ListItem',_0x4baaf8[_0x4baaf8['ATXHeading1']=0x9]='ATXHeading1',_0x4baaf8[_0x4baaf8['ATXHeading2']=0xa]='ATXHeading2',_0x4baaf8[_0x4baaf8['ATXHeading3']=0xb]='ATXHeading3',_0x4baaf8[_0x4baaf8['ATXHeading4']=0xc]='ATXHeading4',_0x4baaf8[_0x4baaf8['ATXHeading5']=0xd]='ATXHeading5',_0x4baaf8[_0x4baaf8['ATXHeading6']=0xe]='ATXHeading6',_0x4baaf8[_0x4baaf8['SetextHeading1']=0xf]='SetextHeading1',_0x4baaf8[_0x4baaf8['SetextHeading2']=0x10]='SetextHeading2',_0x4baaf8[_0x4baaf8['HTMLBlock']=0x11]='HTMLBlock',_0x4baaf8[_0x4baaf8['LinkReference']=0x12]='LinkReference',_0x4baaf8[_0x4baaf8['Paragraph']=0x13]='Paragraph',_0x4baaf8[_0x4baaf8['CommentBlock']=0x14]='CommentBlock',_0x4baaf8[_0x4baaf8['ProcessingInstructionBlock']=0x15]='ProcessingInstructionBlock',_0x4baaf8[_0x4baaf8['Escape']=0x16]='Escape',_0x4baaf8[_0x4baaf8['Entity']=0x17]='Entity',_0x4baaf8[_0x4baaf8['HardBreak']=0x18]='HardBreak',_0x4baaf8[_0x4baaf8['Emphasis']=0x19]='Emphasis',_0x4baaf8[_0x4baaf8['StrongEmphasis']=0x1a]='StrongEmphasis',_0x4baaf8[_0x4baaf8['Link']=0x1b]='Link',_0x4baaf8[_0x4baaf8['Image']=0x1c]='Image',_0x4baaf8[_0x4baaf8['InlineCode']=0x1d]='InlineCode',_0x4baaf8[_0x4baaf8['HTMLTag']=0x1e]='HTMLTag',_0x4baaf8[_0x4baaf8['Comment']=0x1f]='Comment',_0x4baaf8[_0x4baaf8['ProcessingInstruction']=0x20]='ProcessingInstruction',_0x4baaf8[_0x4baaf8['Autolink']=0x21]='Autolink',_0x4baaf8[_0x4baaf8['HeaderMark']=0x22]='HeaderMark',_0x4baaf8[_0x4baaf8['QuoteMark']=0x23]='QuoteMark',_0x4baaf8[_0x4baaf8['ListMark']=0x24]='ListMark',_0x4baaf8[_0x4baaf8['LinkMark']=0x25]='LinkMark',_0x4baaf8[_0x4baaf8['EmphasisMark']=0x26]='EmphasisMark',_0x4baaf8[_0x4baaf8['CodeMark']=0x27]='CodeMark',_0x4baaf8[_0x4baaf8['CodeText']=0x28]='CodeText',_0x4baaf8[_0x4baaf8['CodeInfo']=0x29]='CodeInfo',_0x4baaf8[_0x4baaf8['LinkTitle']=0x2a]='LinkTitle',_0x4baaf8[_0x4baaf8['LinkLabel']=0x2b]='LinkLabel',_0x4baaf8[_0x4baaf8['URL']=0x2c]='URL';}(_0x425cf1||(_0x425cf1={}));class _0x368bf8{constructor(_0x3adddd,_0x266399){this['start']=_0x3adddd,this['content']=_0x266399,this['marks']=[],this['parsers']=[];}}class _0x305329{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 _0x5cde10=this['skipSpace'](this['basePos']);this['indent']=this['countIndent'](_0x5cde10,this['pos'],this['indent']),this['pos']=_0x5cde10,this['next']=_0x5cde10==this['text']['length']?-0x1:this['text']['charCodeAt'](_0x5cde10);}['skipSpace'](_0xb0fdf1){return _0x5ace42(this['text'],_0xb0fdf1);}['reset'](_0x32bd62){for(this['text']=_0x32bd62,this['baseIndent']=this['basePos']=this['pos']=this['indent']=0x0,this['forwardInner'](),this['depth']=0x1;this['markers']['length'];)this['markers']['pop']();}['moveBase'](_0x283571){this['basePos']=_0x283571,this['baseIndent']=this['countIndent'](_0x283571,this['pos'],this['indent']);}['moveBaseColumn'](_0x5c70aa){this['baseIndent']=_0x5c70aa,this['basePos']=this['findColumn'](_0x5c70aa);}['addMarker'](_0x1121b4){this['markers']['push'](_0x1121b4);}['countIndent'](_0x5c3500,_0x1cbd6f=0x0,_0x193748=0x0){for(let _0x521324=_0x1cbd6f;_0x521324<_0x5c3500;_0x521324++)_0x193748+=0x9==this['text']['charCodeAt'](_0x521324)?0x4-_0x193748%0x4:0x1;return _0x193748;}['findColumn'](_0x44ba5a){let _0x17f4a1=0x0;for(let _0x1a9b3c=0x0;_0x17f4a1<this['text']['length']&&_0x1a9b3c<_0x44ba5a;_0x17f4a1++)_0x1a9b3c+=0x9==this['text']['charCodeAt'](_0x17f4a1)?0x4-_0x1a9b3c%0x4:0x1;return _0x17f4a1;}['scrub'](){if(!this['baseIndent'])return this['text'];let _0x443a65='';for(let _0x20c2aa=0x0;_0x20c2aa<this['basePos'];_0x20c2aa++)_0x443a65+='\x20';return _0x443a65+this['text']['slice'](this['basePos']);}}function skipForList(_0x24bed3,_0x1a2105,_0x1e6365){if(_0x1e6365['pos']==_0x1e6365['text']['length']||_0x24bed3!=_0x1a2105['block']&&_0x1e6365['indent']>=_0x1a2105['stack'][_0x1e6365['depth']+0x1]['value']+_0x1e6365['baseIndent'])return!0x0;if(_0x1e6365['indent']>=_0x1e6365['baseIndent']+0x4)return!0x1;let _0x18a11f=(_0x24bed3['type']==_0x425cf1['OrderedList']?isOrderedList:isBulletList)(_0x1e6365,_0x1a2105,!0x1);return _0x18a11f>0x0&&(_0x24bed3['type']!=_0x425cf1['BulletList']||isHorizontalRule(_0x1e6365,_0x1a2105,!0x1)<0x0)&&_0x1e6365['text']['charCodeAt'](_0x1e6365['pos']+_0x18a11f-0x1)==_0x24bed3['value'];}const DefaultSkipMarkup={[_0x425cf1['Blockquote']]:(_0x2b47d2,_0x35b960,_0x1026c6)=>0x3e==_0x1026c6['next']&&(_0x1026c6['markers']['push'](elt(_0x425cf1['QuoteMark'],_0x35b960['lineStart']+_0x1026c6['pos'],_0x35b960['lineStart']+_0x1026c6['pos']+0x1)),_0x1026c6['moveBase'](_0x1026c6['pos']+(_0x57e195(_0x1026c6['text']['charCodeAt'](_0x1026c6['pos']+0x1))?0x2:0x1)),_0x2b47d2['end']=_0x35b960['lineStart']+_0x1026c6['text']['length'],!0x0),[_0x425cf1['ListItem']]:(_0x5ba96f,_0x28cc38,_0x3d9839)=>!(_0x3d9839['indent']<_0x3d9839['baseIndent']+_0x5ba96f['value']&&_0x3d9839['next']>-0x1)&&(_0x3d9839['moveBaseColumn'](_0x3d9839['baseIndent']+_0x5ba96f['value']),!0x0),[_0x425cf1['OrderedList']]:skipForList,[_0x425cf1['BulletList']]:skipForList,[_0x425cf1['Document']]:()=>!0x0};function _0x57e195(_0x630a19){return 0x20==_0x630a19||0x9==_0x630a19||0xa==_0x630a19||0xd==_0x630a19;}function _0x5ace42(_0xd35d39,_0x21d537=0x0){for(;_0x21d537<_0xd35d39['length']&&_0x57e195(_0xd35d39['charCodeAt'](_0x21d537));)_0x21d537++;return _0x21d537;}function _0x53400f(_0x15cd94,_0x498142,_0x7ebbb8){for(;_0x498142>_0x7ebbb8&&_0x57e195(_0x15cd94['charCodeAt'](_0x498142-0x1));)_0x498142--;return _0x498142;}function _0x396ecc(_0x3a7890){if(0x60!=_0x3a7890['next']&&0x7e!=_0x3a7890['next'])return-0x1;let _0x266e2b=_0x3a7890['pos']+0x1;for(;_0x266e2b<_0x3a7890['text']['length']&&_0x3a7890['text']['charCodeAt'](_0x266e2b)==_0x3a7890['next'];)_0x266e2b++;if(_0x266e2b<_0x3a7890['pos']+0x3)return-0x1;if(0x60==_0x3a7890['next']){for(let _0x4ac628=_0x266e2b;_0x4ac628<_0x3a7890['text']['length'];_0x4ac628++)if(0x60==_0x3a7890['text']['charCodeAt'](_0x4ac628))return-0x1;}return _0x266e2b;}function isBlockquote(_0x586575){return 0x3e!=_0x586575['next']?-0x1:0x20==_0x586575['text']['charCodeAt'](_0x586575['pos']+0x1)?0x2:0x1;}function isHorizontalRule(_0x16da31,_0x54c586,_0x4083e3){if(0x2a!=_0x16da31['next']&&0x2d!=_0x16da31['next']&&0x5f!=_0x16da31['next'])return-0x1;let _0x54f224=0x1;for(let _0x521631=_0x16da31['pos']+0x1;_0x521631<_0x16da31['text']['length'];_0x521631++){let _0x128cd8=_0x16da31['text']['charCodeAt'](_0x521631);if(_0x128cd8==_0x16da31['next'])_0x54f224++;else{if(!_0x57e195(_0x128cd8))return-0x1;}}return _0x4083e3&&0x2d==_0x16da31['next']&&isSetextUnderline(_0x16da31)>-0x1&&_0x16da31['depth']==_0x54c586['stack']['length']&&_0x54c586['parser']['leafBlockParsers']['indexOf'](DefaultLeafBlocks['SetextHeading'])>-0x1||_0x54f224<0x3?-0x1:0x1;}function inList(_0x1c9cc1,_0xd47fba){for(let _0xa13f64=_0x1c9cc1['stack']['length']-0x1;_0xa13f64>=0x0;_0xa13f64--)if(_0x1c9cc1['stack'][_0xa13f64]['type']==_0xd47fba)return!0x0;return!0x1;}function isBulletList(_0x28e1e3,_0x43f1ed,_0xcff71f){return 0x2d!=_0x28e1e3['next']&&0x2b!=_0x28e1e3['next']&&0x2a!=_0x28e1e3['next']||_0x28e1e3['pos']!=_0x28e1e3['text']['length']-0x1&&!_0x57e195(_0x28e1e3['text']['charCodeAt'](_0x28e1e3['pos']+0x1))||!(!_0xcff71f||inList(_0x43f1ed,_0x425cf1['BulletList'])||_0x28e1e3['skipSpace'](_0x28e1e3['pos']+0x2)<_0x28e1e3['text']['length'])?-0x1:0x1;}function isOrderedList(_0x504f3a,_0x25ca78,_0x534fcf){let _0x3d27b9=_0x504f3a['pos'],_0x5958a0=_0x504f3a['next'];for(;_0x5958a0>=0x30&&_0x5958a0<=0x39;){if(_0x3d27b9++,_0x3d27b9==_0x504f3a['text']['length'])return-0x1;_0x5958a0=_0x504f3a['text']['charCodeAt'](_0x3d27b9);}return _0x3d27b9==_0x504f3a['pos']||_0x3d27b9>_0x504f3a['pos']+0x9||0x2e!=_0x5958a0&&0x29!=_0x5958a0||_0x3d27b9<_0x504f3a['text']['length']-0x1&&!_0x57e195(_0x504f3a['text']['charCodeAt'](_0x3d27b9+0x1))||_0x534fcf&&!inList(_0x25ca78,_0x425cf1['OrderedList'])&&(_0x504f3a['skipSpace'](_0x3d27b9+0x1)==_0x504f3a['text']['length']||_0x3d27b9>_0x504f3a['pos']+0x1||0x31!=_0x504f3a['next'])?-0x1:_0x3d27b9+0x1-_0x504f3a['pos'];}function isAtxHeading(_0x5b4449){if(0x23!=_0x5b4449['next'])return-0x1;let _0x2d19d=_0x5b4449['pos']+0x1;for(;_0x2d19d<_0x5b4449['text']['length']&&0x23==_0x5b4449['text']['charCodeAt'](_0x2d19d);)_0x2d19d++;if(_0x2d19d<_0x5b4449['text']['length']&&0x20!=_0x5b4449['text']['charCodeAt'](_0x2d19d))return-0x1;let _0x1dfa31=_0x2d19d-_0x5b4449['pos'];return _0x1dfa31>0x6?-0x1:_0x1dfa31;}function isSetextUnderline(_0x3dbfc2){if(0x2d!=_0x3dbfc2['next']&&0x3d!=_0x3dbfc2['next']||_0x3dbfc2['indent']>=_0x3dbfc2['baseIndent']+0x4)return-0x1;let _0x424586=_0x3dbfc2['pos']+0x1;for(;_0x424586<_0x3dbfc2['text']['length']&&_0x3dbfc2['text']['charCodeAt'](_0x424586)==_0x3dbfc2['next'];)_0x424586++;let _0x5c4677=_0x424586;for(;_0x424586<_0x3dbfc2['text']['length']&&_0x57e195(_0x3dbfc2['text']['charCodeAt'](_0x424586));)_0x424586++;return _0x424586==_0x3dbfc2['text']['length']?_0x5c4677:-0x1;}const EmptyLine=/^[ \t]*$/,CommentEnd=/-->/,_0x52d5e7=/\?>/,HTMLBlockStyle=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*<!--/,CommentEnd],[/^\s*<\?/,_0x52d5e7],[/^\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,EmptyLine],[/^\s*(?:<\/[a-z][\w-]*\s*>|<[a-z][\w-]*(\s+[a-z:_][\w-.]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*>)\s*$/i,EmptyLine]];function _0x3bef2f(_0x4a6dfc,_0x4f3551,_0x406f09){if(0x3c!=_0x4a6dfc['next'])return-0x1;let _0x3c1387=_0x4a6dfc['text']['slice'](_0x4a6dfc['pos']);for(let _0x4623b0=0x0,_0xa67a4d=HTMLBlockStyle['length']-(_0x406f09?0x1:0x0);_0x4623b0<_0xa67a4d;_0x4623b0++)if(HTMLBlockStyle[_0x4623b0][0x0]['test'](_0x3c1387))return _0x4623b0;return-0x1;}function getListIndent(_0x333e82,_0x5771e9){let _0x697edc=_0x333e82['countIndent'](_0x5771e9,_0x333e82['pos'],_0x333e82['indent']),_0x264ed9=_0x333e82['countIndent'](_0x333e82['skipSpace'](_0x5771e9),_0x5771e9,_0x697edc);return _0x264ed9>=_0x697edc+0x5?_0x697edc+0x1:_0x264ed9;}function addCodeText(_0x474b6e,_0x285031,_0x2727ac){let _0x3c9a29=_0x474b6e['length']-0x1;_0x3c9a29>=0x0&&_0x474b6e[_0x3c9a29]['to']==_0x285031&&_0x474b6e[_0x3c9a29]['type']==_0x425cf1['CodeText']?_0x474b6e[_0x3c9a29]['to']=_0x2727ac:_0x474b6e['push'](elt(_0x425cf1['CodeText'],_0x285031,_0x2727ac));}const DefaultBlockParsers={'LinkReference':void 0x0,'IndentedCode'(_0x5c9018,_0x10e679){let _0x4f5224=_0x10e679['baseIndent']+0x4;if(_0x10e679['indent']<_0x4f5224)return!0x1;let _0x3befce=_0x10e679['findColumn'](_0x4f5224),_0x137230=_0x5c9018['lineStart']+_0x3befce,_0x5beeb4=_0x5c9018['lineStart']+_0x10e679['text']['length'],_0x44b270=[],_0x452e70=[];for(addCodeText(_0x44b270,_0x137230,_0x5beeb4);_0x5c9018['nextLine']()&&_0x10e679['depth']>=_0x5c9018['stack']['length'];)if(_0x10e679['pos']==_0x10e679['text']['length']){addCodeText(_0x452e70,_0x5c9018['lineStart']-0x1,_0x5c9018['lineStart']);for(let _0x5a3c44 of _0x10e679['markers'])_0x452e70['push'](_0x5a3c44);}else{if(_0x10e679['indent']<_0x4f5224)break;{if(_0x452e70['length']){for(let _0x1cec81 of _0x452e70)_0x1cec81['type']==_0x425cf1['CodeText']?addCodeText(_0x44b270,_0x1cec81['from'],_0x1cec81['to']):_0x44b270['push'](_0x1cec81);_0x452e70=[];}addCodeText(_0x44b270,_0x5c9018['lineStart']-0x1,_0x5c9018['lineStart']);for(let _0x314669 of _0x10e679['markers'])_0x44b270['push'](_0x314669);_0x5beeb4=_0x5c9018['lineStart']+_0x10e679['text']['length'];let _0x1236d6=_0x5c9018['lineStart']+_0x10e679['findColumn'](_0x10e679['baseIndent']+0x4);_0x1236d6<_0x5beeb4&&addCodeText(_0x44b270,_0x1236d6,_0x5beeb4);}}return _0x452e70['length']&&(_0x452e70=_0x452e70['filter'](_0x4690c7=>_0x4690c7['type']!=_0x425cf1['CodeText']),_0x452e70['length']&&(_0x10e679['markers']=_0x452e70['concat'](_0x10e679['markers']))),_0x5c9018['addNode'](_0x5c9018['buffer']['writeElements'](_0x44b270,-_0x137230)['finish'](_0x425cf1['CodeBlock'],_0x5beeb4-_0x137230),_0x137230),!0x0;},'FencedCode'(_0x3e32a6,_0x4e7255){let _0x1a55e8=_0x396ecc(_0x4e7255);if(_0x1a55e8<0x0)return!0x1;let _0x5f361c=_0x3e32a6['lineStart']+_0x4e7255['pos'],_0x1cac5b=_0x4e7255['next'],_0x255cb1=_0x1a55e8-_0x4e7255['pos'],_0x1814d9=_0x4e7255['skipSpace'](_0x1a55e8),_0x229e0b=_0x53400f(_0x4e7255['text'],_0x4e7255['text']['length'],_0x1814d9),_0xb60f2d=[elt(_0x425cf1['CodeMark'],_0x5f361c,_0x5f361c+_0x255cb1)];_0x1814d9<_0x229e0b&&_0xb60f2d['push'](elt(_0x425cf1['CodeInfo'],_0x3e32a6['lineStart']+_0x1814d9,_0x3e32a6['lineStart']+_0x229e0b));for(let _0x310814=!0x0;_0x3e32a6['nextLine']()&&_0x4e7255['depth']>=_0x3e32a6['stack']['length'];_0x310814=!0x1){let _0x1c2e28=_0x4e7255['pos'];if(_0x4e7255['indent']-_0x4e7255['baseIndent']<0x4){for(;_0x1c2e28<_0x4e7255['text']['length']&&_0x4e7255['text']['charCodeAt'](_0x1c2e28)==_0x1cac5b;)_0x1c2e28++;}if(_0x1c2e28-_0x4e7255['pos']>=_0x255cb1&&_0x4e7255['skipSpace'](_0x1c2e28)==_0x4e7255['text']['length']){for(let _0x30f959 of _0x4e7255['markers'])_0xb60f2d['push'](_0x30f959);_0xb60f2d['push'](elt(_0x425cf1['CodeMark'],_0x3e32a6['lineStart']+_0x4e7255['pos'],_0x3e32a6['lineStart']+_0x1c2e28)),_0x3e32a6['nextLine']();break;}{_0x310814||addCodeText(_0xb60f2d,_0x3e32a6['lineStart']-0x1,_0x3e32a6['lineStart']);for(let _0x8df8ad of _0x4e7255['markers'])_0xb60f2d['push'](_0x8df8ad);let _0x22b7c1=_0x3e32a6['lineStart']+_0x4e7255['basePos'],_0x52048d=_0x3e32a6['lineStart']+_0x4e7255['text']['length'];_0x22b7c1<_0x52048d&&addCodeText(_0xb60f2d,_0x22b7c1,_0x52048d);}}return _0x3e32a6['addNode'](_0x3e32a6['buffer']['writeElements'](_0xb60f2d,-_0x5f361c)['finish'](_0x425cf1['FencedCode'],_0x3e32a6['prevLineEnd']()-_0x5f361c),_0x5f361c),!0x0;},'Blockquote'(_0x32da9f,_0x1a80ba){let _0x1b12a8=isBlockquote(_0x1a80ba);return!(_0x1b12a8<0x0)&&(_0x32da9f['startContext'](_0x425cf1['Blockquote'],_0x1a80ba['pos']),_0x32da9f['addNode'](_0x425cf1['QuoteMark'],_0x32da9f['lineStart']+_0x1a80ba['pos'],_0x32da9f['lineStart']+_0x1a80ba['pos']+0x1),_0x1a80ba['moveBase'](_0x1a80ba['pos']+_0x1b12a8),null);},'HorizontalRule'(_0x1bc1be,_0xc2cc97){if(isHorizontalRule(_0xc2cc97,_0x1bc1be,!0x1)<0x0)return!0x1;let _0x25b066=_0x1bc1be['lineStart']+_0xc2cc97['pos'];return _0x1bc1be['nextLine'](),_0x1bc1be['addNode'](_0x425cf1['HorizontalRule'],_0x25b066),!0x0;},'BulletList'(_0x1c874c,_0x8e18e2){let _0x5d8ebe=isBulletList(_0x8e18e2,_0x1c874c,!0x1);if(_0x5d8ebe<0x0)return!0x1;_0x1c874c['block']['type']!=_0x425cf1['BulletList']&&_0x1c874c['startContext'](_0x425cf1['BulletList'],_0x8e18e2['basePos'],_0x8e18e2['next']);let _0xe647a3=getListIndent(_0x8e18e2,_0x8e18e2['pos']+0x1);return _0x1c874c['startContext'](_0x425cf1['ListItem'],_0x8e18e2['basePos'],_0xe647a3-_0x8e18e2['baseIndent']),_0x1c874c['addNode'](_0x425cf1['ListMark'],_0x1c874c['lineStart']+_0x8e18e2['pos'],_0x1c874c['lineStart']+_0x8e18e2['pos']+_0x5d8ebe),_0x8e18e2['moveBaseColumn'](_0xe647a3),null;},'OrderedList'(_0x4e49f1,_0x1488e1){let _0x134386=isOrderedList(_0x1488e1,_0x4e49f1,!0x1);if(_0x134386<0x0)return!0x1;_0x4e49f1['block']['type']!=_0x425cf1['OrderedList']&&_0x4e49f1['startContext'](_0x425cf1['OrderedList'],_0x1488e1['basePos'],_0x1488e1['text']['charCodeAt'](_0x1488e1['pos']+_0x134386-0x1));let _0x4175cd=getListIndent(_0x1488e1,_0x1488e1['pos']+_0x134386);return _0x4e49f1['startContext'](_0x425cf1['ListItem'],_0x1488e1['basePos'],_0x4175cd-_0x1488e1['baseIndent']),_0x4e49f1['addNode'](_0x425cf1['ListMark'],_0x4e49f1['lineStart']+_0x1488e1['pos'],_0x4e49f1['lineStart']+_0x1488e1['pos']+_0x134386),_0x1488e1['moveBaseColumn'](_0x4175cd),null;},'ATXHeading'(_0x4b41ef,_0x24eadc){let _0x4e2e0b=isAtxHeading(_0x24eadc);if(_0x4e2e0b<0x0)return!0x1;let _0x5f4d8a=_0x24eadc['pos'],_0x1ea5df=_0x4b41ef['lineStart']+_0x5f4d8a,_0xf8a90d=_0x53400f(_0x24eadc['text'],_0x24eadc['text']['length'],_0x5f4d8a),_0xeef340=_0xf8a90d;for(;_0xeef340>_0x5f4d8a&&_0x24eadc['text']['charCodeAt'](_0xeef340-0x1)==_0x24eadc['next'];)_0xeef340--;_0xeef340!=_0xf8a90d&&_0xeef340!=_0x5f4d8a&&_0x57e195(_0x24eadc['text']['charCodeAt'](_0xeef340-0x1))||(_0xeef340=_0x24eadc['text']['length']);let _0x3ad8b8=_0x4b41ef['buffer']['write'](_0x425cf1['HeaderMark'],0x0,_0x4e2e0b)['writeElements'](_0x4b41ef['parser']['parseInline'](_0x24eadc['text']['slice'](_0x5f4d8a+_0x4e2e0b+0x1,_0xeef340),_0x1ea5df+_0x4e2e0b+0x1),-_0x1ea5df);_0xeef340<_0x24eadc['text']['length']&&_0x3ad8b8['write'](_0x425cf1['HeaderMark'],_0xeef340-_0x5f4d8a,_0xf8a90d-_0x5f4d8a);let _0x58324f=_0x3ad8b8['finish'](_0x425cf1['ATXHeading1']-0x1+_0x4e2e0b,_0x24eadc['text']['length']-_0x5f4d8a);return _0x4b41ef['nextLine'](),_0x4b41ef['addNode'](_0x58324f,_0x1ea5df),!0x0;},'HTMLBlock'(_0x4b845a,_0x4b8dda){let _0xdadbbf=_0x3bef2f(_0x4b8dda,_0x4b845a,!0x1);if(_0xdadbbf<0x0)return!0x1;let _0x3215be=_0x4b845a['lineStart']+_0x4b8dda['pos'],_0x2d2ddc=HTMLBlockStyle[_0xdadbbf][0x1],_0x3bf53c=[],_0x38c5ed=_0x2d2ddc!=EmptyLine;for(;!_0x2d2ddc['test'](_0x4b8dda['text'])&&_0x4b845a['nextLine']();){if(_0x4b8dda['depth']<_0x4b845a['stack']['length']){_0x38c5ed=!0x1;break;}for(let _0x1080b9 of _0x4b8dda['markers'])_0x3bf53c['push'](_0x1080b9);}_0x38c5ed&&_0x4b845a['nextLine']();let _0x547f09=_0x2d2ddc==CommentEnd?_0x425cf1['CommentBlock']:_0x2d2ddc==_0x52d5e7?_0x425cf1['ProcessingInstructionBlock']:_0x425cf1['HTMLBlock'],_0x526d0f=_0x4b845a['prevLineEnd']();return _0x4b845a['addNode'](_0x4b845a['buffer']['writeElements'](_0x3bf53c,-_0x3215be)['finish'](_0x547f09,_0x526d0f-_0x3215be),_0x3215be),!0x0;},'SetextHeading':void 0x0};class _0x54e5ac{constructor(_0x508751){this['stage']=0x0,this['elts']=[],this['pos']=0x0,this['start']=_0x508751['start'],this['advance'](_0x508751['content']);}['nextLine'](_0x58bc36,_0x558714,_0x367a49){if(-0x1==this['stage'])return!0x1;let _0x38d037=_0x367a49['content']+'\x0a'+_0x558714['scrub'](),_0x2b782d=this['advance'](_0x38d037);return _0x2b782d>-0x1&&_0x2b782d<_0x38d037['length']&&this['complete'](_0x58bc36,_0x367a49,_0x2b782d);}['finish'](_0x473308,_0xc43e88){return(0x2==this['stage']||0x3==this['stage'])&&_0x5ace42(_0xc43e88['content'],this['pos'])==_0xc43e88['content']['length']&&this['complete'](_0x473308,_0xc43e88,_0xc43e88['content']['length']);}['complete'](_0x143613,_0x54f456,_0x153d10){return _0x143613['addLeafElement'](_0x54f456,elt(_0x425cf1['LinkReference'],this['start'],this['start']+_0x153d10,this['elts'])),!0x0;}['nextStage'](_0x25c4d3){return _0x25c4d3?(this['pos']=_0x25c4d3['to']-this['start'],this['elts']['push'](_0x25c4d3),this['stage']++,!0x0):(!0x1===_0x25c4d3&&(this['stage']=-0x1),!0x1);}['advance'](_0x557830){for(;;){if(-0x1==this['stage'])return-0x1;if(0x0==this['stage']){if(!this['nextStage'](_0x441fae(_0x557830,this['pos'],this['start'],!0x0)))return-0x1;if(0x3a!=_0x557830['charCodeAt'](this['pos']))return this['stage']=-0x1;this['elts']['push'](elt(_0x425cf1['LinkMark'],this['pos']+this['start'],this['pos']+this['start']+0x1)),this['pos']++;}else{if(0x1!=this['stage']){if(0x2==this['stage']){let _0x286b6f=_0x5ace42(_0x557830,this['pos']),_0x1f2b40=0x0;if(_0x286b6f>this['pos']){let _0x17d15f=parseLinkTitle(_0x557830,_0x286b6f,this['start']);if(_0x17d15f){let _0x58ad76=_0x172a87(_0x557830,_0x17d15f['to']-this['start']);_0x58ad76>0x0&&(this['nextStage'](_0x17d15f),_0x1f2b40=_0x58ad76);}}return _0x1f2b40||(_0x1f2b40=_0x172a87(_0x557830,this['pos'])),_0x1f2b40>0x0&&_0x1f2b40<_0x557830['length']?_0x1f2b40:-0x1;}return _0x172a87(_0x557830,this['pos']);}if(!this['nextStage'](_0x3980ec(_0x557830,_0x5ace42(_0x557830,this['pos']),this['start'])))return-0x1;}}}}function _0x172a87(_0x4fa96f,_0x450f75){for(;_0x450f75<_0x4fa96f['length'];_0x450f75++){let _0xb84c92=_0x4fa96f['charCodeAt'](_0x450f75);if(0xa==_0xb84c92)break;if(!_0x57e195(_0xb84c92))return-0x1;}return _0x450f75;}class SetextHeadingParser{['nextLine'](_0x3746f2,_0xe9e92e,_0x23f70a){let _0x2023d5=_0xe9e92e['depth']<_0x3746f2['stack']['length']?-0x1:isSetextUnderline(_0xe9e92e),_0x377f07=_0xe9e92e['next'];if(_0x2023d5<0x0)return!0x1;let _0x19bf93=elt(_0x425cf1['HeaderMark'],_0x3746f2['lineStart']+_0xe9e92e['pos'],_0x3746f2['lineStart']+_0x2023d5);return _0x3746f2['nextLine'](),_0x3746f2['addLeafElement'](_0x23f70a,elt(0x3d==_0x377f07?_0x425cf1['SetextHeading1']:_0x425cf1['SetextHeading2'],_0x23f70a['start'],_0x3746f2['prevLineEnd'](),[..._0x3746f2['parser']['parseInline'](_0x23f70a['content'],_0x23f70a['start']),_0x19bf93])),!0x0;}['finish'](){return!0x1;}}const DefaultLeafBlocks={'LinkReference':(_0xa45279,_0x4f7c2a)=>0x5b==_0x4f7c2a['content']['charCodeAt'](0x0)?new _0x54e5ac(_0x4f7c2a):null,'SetextHeading':()=>new SetextHeadingParser()},DefaultEndLeaf=[(_0x14cbb9,_0x5e8455)=>isAtxHeading(_0x5e8455)>=0x0,(_0x1db508,_0x4f8dea)=>_0x396ecc(_0x4f8dea)>=0x0,(_0x34eefc,_0x355001)=>isBlockquote(_0x355001)>=0x0,(_0x2e0558,_0x3ee237)=>isBulletList(_0x3ee237,_0x2e0558,!0x0)>=0x0,(_0x3bf69f,_0x10ae74)=>isOrderedList(_0x10ae74,_0x3bf69f,!0x0)>=0x0,(_0x2396fb,_0x2690eb)=>isHorizontalRule(_0x2690eb,_0x2396fb,!0x0)>=0x0,(_0x248450,_0x18f2ee)=>_0x3bef2f(_0x18f2ee,_0x248450,!0x0)>=0x0],scanLineResult={'text':'','end':0x0};class BlockContext{constructor(_0x5405f6,_0x27829d,_0x3bc1af,_0xc88f1d){this['parser']=_0x5405f6,this['input']=_0x27829d,this['ranges']=_0xc88f1d,this['line']=new _0x305329(),this['atEnd']=!0x1,this['reusePlaceholders']=new Map(),this['stoppedAt']=null,this['rangeI']=0x0,this['to']=_0xc88f1d[_0xc88f1d['length']-0x1]['to'],this['lineStart']=this['absoluteLineStart']=this['absoluteLineEnd']=_0xc88f1d[0x0]['from'],this['block']=CompositeBlock['create'](_0x425cf1['Document'],0x0,this['lineStart'],0x0,0x0),this['stack']=[this['block']],this['fragments']=_0x3bc1af['length']?new FragmentCursor(_0x3bc1af,_0x27829d):null,this['readLine']();}get['parsedPos'](){return this['absoluteLineStart'];}['advance'](){if(null!=this['stoppedAt']&&this['absoluteLineStart']>this['stoppedAt'])return this['finish']();let {line:_0x8de921}=this;for(;;){for(let _0x258fd0=0x0;;){let _0x6a5d79=_0x8de921['depth']<this['stack']['length']?this['stack'][this['stack']['length']-0x1]:null;for(;_0x258fd0<_0x8de921['markers']['length']&&(!_0x6a5d79||_0x8de921['markers'][_0x258fd0]['from']<_0x6a5d79['end']);){let _0x6a1b1a=_0x8de921['markers'][_0x258fd0++];this['addNode'](_0x6a1b1a['type'],_0x6a1b1a['from'],_0x6a1b1a['to']);}if(!_0x6a5d79)break;this['finishContext']();}if(_0x8de921['pos']<_0x8de921['text']['length'])break;if(!this['nextLine']())return this['finish']();}if(this['fragments']&&this['reuseFragment'](_0x8de921['basePos']))return null;t:for(;;){for(let _0x25218b of this['parser']['blockParsers'])if(_0x25218b){let _0x4ac348=_0x25218b(this,_0x8de921);if(0x0!=_0x4ac348){if(0x1==_0x4ac348)return null;_0x8de921['forward']();continue t;}}break;}let _0x24b285=new _0x368bf8(this['lineStart']+_0x8de921['pos'],_0x8de921['text']['slice'](_0x8de921['pos']));for(let _0x10840b of this['parser']['leafBlockParsers'])if(_0x10840b){let _0x2c442c=_0x10840b(this,_0x24b285);_0x2c442c&&_0x24b285['parsers']['push'](_0x2c442c);}t:for(;this['nextLine']()&&_0x8de921['pos']!=_0x8de921['text']['length'];){if(_0x8de921['indent']<_0x8de921['baseIndent']+0x4){for(let _0x1ab329 of this['parser']['endLeafBlock'])if(_0x1ab329(this,_0x8de921,_0x24b285))break t;}for(let _0x484477 of _0x24b285['parsers'])if(_0x484477['nextLine'](this,_0x8de921,_0x24b285))return null;_0x24b285['content']+='\x0a'+_0x8de921['scrub']();for(let _0x4f6deb of _0x8de921['markers'])_0x24b285['marks']['push'](_0x4f6deb);}return this['finishLeaf'](_0x24b285),null;}['stopAt'](_0x365241){if(null!=this['stoppedAt']&&this['stoppedAt']<_0x365241)throw new RangeError('Can\x27t\x20move\x20stoppedAt\x20forward');this['stoppedAt']=_0x365241;}['reuseFragment'](_0x3e928d){if(!this['fragments']['moveTo'](this['absoluteLineStart']+_0x3e928d,this['absoluteLineStart'])||!this['fragments']['matches'](this['block']['hash']))return!0x1;let _0x583280=this['fragments']['takeNodes'](this);return!!_0x583280&&(this['absoluteLineStart']+=_0x583280,this['lineStart']=toRelative(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'](_0x4c8ec3=this['depth']-0x1){return this['parser']['nodeSet']['types'][this['stack'][_0x4c8ec3]['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'](_0x1ffec4){let _0x531a50=scanLineResult;if(_0x531a50['end']=_0x1ffec4,_0x1ffec4>=this['to'])_0x531a50['text']='';else{if(_0x531a50['text']=this['lineChunkAt'](_0x1ffec4),_0x531a50['end']+=_0x531a50['text']['length'],this['ranges']['length']>0x1){let _0x1635fc=this['absoluteLineStart'],_0x3c7496=this['rangeI'];for(;this['ranges'][_0x3c7496]['to']<_0x531a50['end'];){_0x3c7496++;let _0x583e8=this['ranges'][_0x3c7496]['from'],_0x399fd9=this['lineChunkAt'](_0x583e8);_0x531a50['end']=_0x583e8+_0x399fd9['length'],_0x531a50['text']=_0x531a50['text']['slice'](0x0,this['ranges'][_0x3c7496-0x1]['to']-_0x1635fc)+_0x399fd9,_0x1635fc=_0x531a50['end']-_0x531a50['text']['length'];}}}return _0x531a50;}['readLine'](){let {line:_0x61181f}=this,{text:_0xa99a0a,end:_0x1b2c27}=this['scanLine'](this['absoluteLineStart']);for(this['absoluteLineEnd']=_0x1b2c27,_0x61181f['reset'](_0xa99a0a);_0x61181f['depth']<this['stack']['length'];_0x61181f['depth']++){let _0x1630a6=this['stack'][_0x61181f['depth']],_0x3f8efe=this['parser']['skipContextMarkup'][_0x1630a6['type']];if(!_0x3f8efe)throw new Error('Unhandled\x20block\x20context\x20'+_0x425cf1[_0x1630a6['type']]);let _0x22f92e=this['line']['markers']['length'];if(!_0x3f8efe(_0x1630a6,this,_0x61181f)){this['line']['markers']['length']>_0x22f92e&&(_0x1630a6['end']=this['line']['markers'][this['line']['markers']['length']-0x1]['to']);break;}_0x61181f['forward']();}}['lineChunkAt'](_0x2b76fb){let _0x200e01,_0x1165e3=this['input']['chunk'](_0x2b76fb);if(this['input']['lineChunks'])_0x200e01='\x0a'==_0x1165e3?'':_0x1165e3;else{let _0x43f2fb=_0x1165e3['indexOf']('\x0a');_0x200e01=_0x43f2fb<0x0?_0x1165e3:_0x1165e3['slice'](0x0,_0x43f2fb);}return _0x2b76fb+_0x200e01['length']>this['to']?_0x200e01['slice'](0x0,this['to']-_0x2b76fb):_0x200e01;}['prevLineEnd'](){return this['atEnd']?this['lineStart']:this['lineStart']-0x1;}['startContext'](_0x1f5c0b,_0x3080d4,_0x1870c0=0x0){this['block']=CompositeBlock['create'](_0x1f5c0b,_0x1870c0,this['lineStart']+_0x3080d4,this['block']['hash'],this['lineStart']+this['line']['text']['length']),this['stack']['push'](this['block']);}['startComposite'](_0x54130f,_0x190471,_0x249640=0x0){this['startContext'](this['parser']['getNodeType'](_0x54130f),_0x190471,_0x249640);}['addNode'](_0x5a8f98,_0x423fcc,_0xe32850){'number'==typeof _0x5a8f98&&(_0x5a8f98=new _0x21283b(this['parser']['nodeSet']['types'][_0x5a8f98],_0x2d8750,_0x2d8750,(null!=_0xe32850?_0xe32850:this['prevLineEnd']())-_0x423fcc)),this['block']['addChild'](_0x5a8f98,_0x423fcc-this['block']['from']);}['addElement'](_0x405aab){this['block']['addChild'](_0x405aab['toTree'](this['parser']['nodeSet']),_0x405aab['from']-this['block']['from']);}['addLeafElement'](_0x527db8,_0x5756c5){this['addNode'](this['buffer']['writeElements'](injectMarks(_0x5756c5['children'],_0x527db8['marks']),-_0x5756c5['from'])['finish'](_0x5756c5['type'],_0x5756c5['to']-_0x5756c5['from']),_0x5756c5['from']);}['finishContext'](){let _0x48c7df=this['stack']['pop'](),_0x5a813c=this['stack'][this['stack']['length']-0x1];_0x5a813c['addChild'](_0x48c7df['toTree'](this['parser']['nodeSet']),_0x48c7df['from']-_0x5a813c['from']),this['block']=_0x5a813c;}['finish'](){for(;this['stack']['length']>0x1;)this['finishContext']();return this['addGaps'](this['block']['toTree'](this['parser']['nodeSet'],this['lineStart']));}['addGaps'](_0x4db0d6){return this['ranges']['length']>0x1?injectGaps(this['ranges'],0x0,_0x4db0d6['topNode'],this['ranges'][0x0]['from'],this['reusePlaceholders']):_0x4db0d6;}['finishLeaf'](_0x19f30b){for(let _0x53331c of _0x19f30b['parsers'])if(_0x53331c['finish'](this,_0x19f30b))return;let _0x544369=injectMarks(this['parser']['parseInline'](_0x19f30b['content'],_0x19f30b['start']),_0x19f30b['marks']);this['addNode'](this['buffer']['writeElements'](_0x544369,-_0x19f30b['start'])['finish'](_0x425cf1['Paragraph'],_0x19f30b['content']['length']),_0x19f30b['start']);}['elt'](_0xb4d5ff,_0x323fc6,_0x1a0780,_0x598063){return'string'==typeof _0xb4d5ff?elt(this['parser']['getNodeType'](_0xb4d5ff),_0x323fc6,_0x1a0780,_0x598063):new TreeElement(_0xb4d5ff,_0x323fc6);}get['buffer'](){return new _0x3d3c6b(this['parser']['nodeSet']);}}function injectGaps(_0x554518,_0x2d5804,_0x5dc78c,_0x3dbc16,_0x6a4a09){let _0x577347=_0x554518[_0x2d5804]['to'],_0x2ff307=[],_0x213372=[],_0x5e4d68=_0x5dc78c['from']+_0x3dbc16;function _0x3aab0a(_0x16387b,_0x158684){for(;_0x158684?_0x16387b>=_0x577347:_0x16387b>_0x577347;){let _0x251de8=_0x554518[_0x2d5804+0x1]['from']-_0x577347;_0x3dbc16+=_0x251de8,_0x16387b+=_0x251de8,_0x2d5804++,_0x577347=_0x554518[_0x2d5804]['to'];}}for(let _0x20972a=_0x5dc78c['firstChild'];_0x20972a;_0x20972a=_0x20972a['nextSibling']){_0x3aab0a(_0x20972a['from']+_0x3dbc16,!0x0);let _0x318f6b,_0xba80d2=_0x20972a['from']+_0x3dbc16,_0x236ddf=_0x6a4a09['get'](_0x20972a['tree']);_0x236ddf?_0x318f6b=_0x236ddf:_0x20972a['to']+_0x3dbc16>_0x577347?(_0x318f6b=injectGaps(_0x554518,_0x2d5804,_0x20972a,_0x3dbc16,_0x6a4a09),_0x3aab0a(_0x20972a['to']+_0x3dbc16,!0x1)):_0x318f6b=_0x20972a['toTree'](),_0x2ff307['push'](_0x318f6b),_0x213372['push'](_0xba80d2-_0x5e4d68);}return _0x3aab0a(_0x5dc78c['to']+_0x3dbc16,!0x1),new _0x21283b(_0x5dc78c['type'],_0x2ff307,_0x213372,_0x5dc78c['to']+_0x3dbc16-_0x5e4d68,_0x5dc78c['tree']?_0x5dc78c['tree']['propValues']:void 0x0);}class _0x3ec2bd extends _0xf66e14{constructor(_0x53dccc,_0xe4049b,_0x3f4dd3,_0x1659ff,_0xe03b39,_0x56d49a,_0x2ca78a,_0x4ffb98,_0x148bf4){super(),this['nodeSet']=_0x53dccc,this['blockParsers']=_0xe4049b,this['leafBlockParsers']=_0x3f4dd3,this['blockNames']=_0x1659ff,this['endLeafBlock']=_0xe03b39,this['skipContextMarkup']=_0x56d49a,this['inlineParsers']=_0x2ca78a,this['inlineNames']=_0x4ffb98,this['wrappers']=_0x148bf4,this['nodeTypes']=Object['create'](null);for(let t of _0x53dccc['types'])this['nodeTypes'][t['name']]=t['id'];}['createParse'](_0x493c30,_0x25a339,_0x1da182){let _0x17e5a4=new BlockContext(this,_0x493c30,_0x25a339,_0x1da182);for(let _0x567d2a of this['wrappers'])_0x17e5a4=_0x567d2a(_0x17e5a4,_0x493c30,_0x25a339,_0x1da182);return _0x17e5a4;}['configure'](_0x2ca467){let _0x293ddb=_0x2017bc(_0x2ca467);if(!_0x293ddb)return this;let {nodeSet:_0x14647a,skipContextMarkup:_0x3229ec}=this,_0x47d723=this['blockParsers']['slice'](),_0x417f19=this['leafBlockParsers']['slice'](),_0x495005=this['blockNames']['slice'](),_0x252093=this['inlineParsers']['slice'](),_0x31819d=this['inlineNames']['slice'](),_0x1e5e6e=this['endLeafBlock']['slice'](),_0x353d5e=this['wrappers'];if(nonEmpty(_0x293ddb['defineNodes'])){_0x3229ec=Object['assign']({},_0x3229ec);let _0x107d81,_0x2686d0=_0x14647a['types']['slice']();for(let _0x3ab2f1 of _0x293ddb['defineNodes']){let {name:_0x3088fd,block:_0x2abd49,composite:_0x5bccce,style:_0x13c8ad}='string'==typeof _0x3ab2f1?{'name':_0x3ab2f1}:_0x3ab2f1;if(_0x2686d0['some'](t=>t['name']==_0x3088fd))continue;_0x5bccce&&(_0x3229ec[_0x2686d0['length']]=(_0x3bbf1e,_0x26849d,_0x27327c)=>_0x5bccce(_0x26849d,_0x27327c,_0x3bbf1e['value']));let _0x2e9044=_0x2686d0['length'],_0x495cf3=_0x5bccce?['Block','BlockContext']:_0x2abd49?_0x2e9044>=_0x425cf1['ATXHeading1']&&_0x2e9044<=_0x425cf1['SetextHeading2']?['Block','LeafBlock','Heading']:['Block','LeafBlock']:void 0x0;_0x2686d0['push'](_0x37cf2b['define']({'id':_0x2e9044,'name':_0x3088fd,'props':_0x495cf3&&[[_0x332766['group'],_0x495cf3]]})),_0x13c8ad&&(_0x107d81||(_0x107d81={}),Array['isArray'](_0x13c8ad)||_0x13c8ad instanceof _0x135fb1?_0x107d81[_0x3088fd]=_0x13c8ad:Object['assign'](_0x107d81,_0x13c8ad));}_0x14647a=new NodeSet(_0x2686d0),_0x107d81&&(_0x14647a=_0x14647a['extend'](styleTags(_0x107d81)));}if(nonEmpty(_0x293ddb['props'])&&(_0x14647a=_0x14647a['extend'](..._0x293ddb['props'])),nonEmpty(_0x293ddb['remove']))for(let _0x432143 of _0x293ddb['remove']){let _0x1155a2=this['blockNames']['indexOf'](_0x432143),_0x58ac19=this['inlineNames']['indexOf'](_0x432143);_0x1155a2>-0x1&&(_0x47d723[_0x1155a2]=_0x417f19[_0x1155a2]=void 0x0),_0x58ac19>-0x1&&(_0x252093[_0x58ac19]=void 0x0);}if(nonEmpty(_0x293ddb['parseBlock']))for(let _0x3d55b0 of _0x293ddb['parseBlock']){let _0x5206e3=_0x495005['indexOf'](_0x3d55b0['name']);if(_0x5206e3>-0x1)_0x47d723[_0x5206e3]=_0x3d55b0['parse'],_0x417f19[_0x5206e3]=_0x3d55b0['leaf'];else{let _0x3dd065=_0x3d55b0['before']?_0x4779c3(_0x495005,_0x3d55b0['before']):_0x3d55b0['after']?_0x4779c3(_0x495005,_0x3d55b0['after'])+0x1:_0x495005['length']-0x1;_0x47d723['splice'](_0x3dd065,0x0,_0x3d55b0['parse']),_0x417f19['splice'](_0x3dd065,0x0,_0x3d55b0['leaf']),_0x495005['splice'](_0x3dd065,0x0,_0x3d55b0['name']);}_0x3d55b0['endLeaf']&&_0x1e5e6e['push'](_0x3d55b0['endLeaf']);}if(nonEmpty(_0x293ddb['parseInline']))for(let _0x3f045b of _0x293ddb['parseInline']){let _0x422214=_0x31819d['indexOf'](_0x3f045b['name']);if(_0x422214>-0x1)_0x252093[_0x422214]=_0x3f045b['parse'];else{let _0xa7f044=_0x3f045b['before']?_0x4779c3(_0x31819d,_0x3f045b['before']):_0x3f045b['after']?_0x4779c3(_0x31819d,_0x3f045b['after'])+0x1:_0x31819d['length']-0x1;_0x252093['splice'](_0xa7f044,0x0,_0x3f045b['parse']),_0x31819d['splice'](_0xa7f044,0x0,_0x3f045b['name']);}}return _0x293ddb['wrap']&&(_0x353d5e=_0x353d5e['concat'](_0x293ddb['wrap'])),new _0x3ec2bd(_0x14647a,_0x47d723,_0x417f19,_0x495005,_0x1e5e6e,_0x3229ec,_0x252093,_0x31819d,_0x353d5e);}['getNodeType'](_0x36e2ca){let _0x12f5f7=this['nodeTypes'][_0x36e2ca];if(null==_0x12f5f7)throw new RangeError('Unknown\x20node\x20type\x20\x27'+_0x36e2ca+'\x27');return _0x12f5f7;}['parseInline'](_0x3c7d3a,_0x348341){let _0xa8ad3e=new InlineContext(this,_0x3c7d3a,_0x348341);t:for(let _0x1cd4c5=_0x348341;_0x1cd4c5<_0xa8ad3e['end'];){let _0x42a4c8=_0xa8ad3e['char'](_0x1cd4c5);for(let _0x452e76 of this['inlineParsers'])if(_0x452e76){let _0x4b4166=_0x452e76(_0xa8ad3e,_0x42a4c8,_0x1cd4c5);if(_0x4b4166>=0x0){_0x1cd4c5=_0x4b4166;continue t;}}_0x1cd4c5++;}return _0xa8ad3e['resolveMarkers'](0x0);}}function nonEmpty(_0x361088){return null!=_0x361088&&_0x361088['length']>0x0;}function _0x2017bc(_0x50e894){if(!Array['isArray'](_0x50e894))return _0x50e894;if(0x0==_0x50e894['length'])return null;let _0x266cbb=_0x2017bc(_0x50e894[0x0]);if(0x1==_0x50e894['length'])return _0x266cbb;let _0x5dfd7e=_0x2017bc(_0x50e894['slice'](0x1));if(!_0x5dfd7e||!_0x266cbb)return _0x266cbb||_0x5dfd7e;let _0x509bf7=(_0x1dd91a,_0x36752a)=>(_0x1dd91a||_0x2d8750)['concat'](_0x36752a||_0x2d8750),_0x5f4ee9=_0x266cbb['wrap'],_0x1733df=_0x5dfd7e['wrap'];return{'props':_0x509bf7(_0x266cbb['props'],_0x5dfd7e['props']),'defineNodes':_0x509bf7(_0x266cbb['defineNodes'],_0x5dfd7e['defineNodes']),'parseBlock':_0x509bf7(_0x266cbb['parseBlock'],_0x5dfd7e['parseBlock']),'parseInline':_0x509bf7(_0x266cbb['parseInline'],_0x5dfd7e['parseInline']),'remove':_0x509bf7(_0x266cbb['remove'],_0x5dfd7e['remove']),'wrap':_0x5f4ee9?_0x1733df?(_0x23ab92,_0x44dc88,_0x463388,_0x334362)=>_0x5f4ee9(_0x1733df(_0x23ab92,_0x44dc88,_0x463388,_0x334362),_0x44dc88,_0x463388,_0x334362):_0x5f4ee9:_0x1733df};}function _0x4779c3(_0x126666,_0x4d5e2b){let _0xd3dda3=_0x126666['indexOf'](_0x4d5e2b);if(_0xd3dda3<0x0)throw new RangeError('Position\x20specified\x20relative\x20to\x20unknown\x20parser\x20'+_0x4d5e2b);return _0xd3dda3;}let _0xd0a5de=[_0x37cf2b['none']];for(let _0x239fc7=0x1,_0x50cbfd;_0x50cbfd=_0x425cf1[_0x239fc7];_0x239fc7++)_0xd0a5de[_0x239fc7]=_0x37cf2b['define']({'id':_0x239fc7,'name':_0x50cbfd,'props':_0x239fc7>=_0x425cf1['Escape']?[]:[[_0x332766['group'],_0x239fc7 in DefaultSkipMarkup?['Block','BlockContext']:['Block','LeafBlock']]],'top':'Document'==_0x50cbfd});const _0x2d8750=[];let _0x3d3c6b=class{constructor(_0x34f488){this['nodeSet']=_0x34f488,this['content']=[],this['nodes']=[];}['write'](_0x6c4076,_0x5d3f77,_0x16fef7,_0x262fd4=0x0){return this['content']['push'](_0x6c4076,_0x5d3f77,_0x16fef7,0x4+0x4*_0x262fd4),this;}['writeElements'](_0x40f1c4,_0x32d966=0x0){for(let _0x3ef4d1 of _0x40f1c4)_0x3ef4d1['writeTo'](this,_0x32d966);return this;}['finish'](_0xe16d7e,_0x10385e){return _0x21283b['build']({'buffer':this['content'],'nodeSet':this['nodeSet'],'reused':this['nodes'],'topID':_0xe16d7e,'length':_0x10385e});}},Element$1=class{constructor(_0x416d78,_0x51fa3c,_0xf3a37,_0x178827=_0x2d8750){this['type']=_0x416d78,this['from']=_0x51fa3c,this['to']=_0xf3a37,this['children']=_0x178827;}['writeTo'](_0x549b83,_0x1782fe){let _0x195218=_0x549b83['content']['length'];_0x549b83['writeElements'](this['children'],_0x1782fe),_0x549b83['content']['push'](this['type'],this['from']+_0x1782fe,this['to']+_0x1782fe,_0x549b83['content']['length']+0x4-_0x195218);}['toTree'](_0x212442){return new _0x3d3c6b(_0x212442)['writeElements'](this['children'],-this['from'])['finish'](this['type'],this['to']-this['from']);}};class TreeElement{constructor(_0x150f15,_0x12afb8){this['tree']=_0x150f15,this['from']=_0x12afb8;}get['to'](){return this['from']+this['tree']['length'];}get['type'](){return this['tree']['type']['id'];}get['children'](){return _0x2d8750;}['writeTo'](_0x38d766,_0x3b1b91){_0x38d766['nodes']['push'](this['tree']),_0x38d766['content']['push'](_0x38d766['nodes']['length']-0x1,this['from']+_0x3b1b91,this['to']+_0x3b1b91,-0x1);}['toTree'](){return this['tree'];}}function elt(_0x28c56f,_0x453170,_0x4eb938,_0x175d95){return new Element$1(_0x28c56f,_0x453170,_0x4eb938,_0x175d95);}const _0x1fb4fd={'resolve':'Emphasis','mark':'EmphasisMark'},EmphasisAsterisk={'resolve':'Emphasis','mark':'EmphasisMark'},LinkStart={},ImageStart={};class InlineDelimiter{constructor(_0x3961fd,_0x1a0c2c,_0x15b267,_0x4297e8){this['type']=_0x3961fd,this['from']=_0x1a0c2c,this['to']=_0x15b267,this['side']=_0x4297e8;}}const _0x27f742='!\x22#$%&\x27()*+,-./:;<=>?@[\x5c]^_`{|}~';let Punctuation=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{Punctuation=new RegExp('[\x5cp{S}|\x5cp{P}]','u');}catch(_0x347f94){}const DefaultInline={'Escape'(_0x4fe87f,_0x534376,_0x450945){if(0x5c!=_0x534376||_0x450945==_0x4fe87f['end']-0x1)return-0x1;let _0x33c706=_0x4fe87f['char'](_0x450945+0x1);for(let _0x1b2335=0x0;_0x1b2335<_0x27f742['length'];_0x1b2335++)if(_0x27f742['charCodeAt'](_0x1b2335)==_0x33c706)return _0x4fe87f['append'](elt(_0x425cf1['Escape'],_0x450945,_0x450945+0x2));return-0x1;},'Entity'(_0x36d41c,_0x34ca11,_0x4efee2){if(0x26!=_0x34ca11)return-0x1;let _0x1cc798=/^(?:#\d+|#x[a-f\d]+|\w+);/i['exec'](_0x36d41c['slice'](_0x4efee2+0x1,_0x4efee2+0x1f));return _0x1cc798?_0x36d41c['append'](elt(_0x425cf1['Entity'],_0x4efee2,_0x4efee2+0x1+_0x1cc798[0x0]['length'])):-0x1;},'InlineCode'(_0x22e39c,_0x5974cb,_0x38ad64){if(0x60!=_0x5974cb||_0x38ad64&&0x60==_0x22e39c['char'](_0x38ad64-0x1))return-0x1;let _0x254d8a=_0x38ad64+0x1;for(;_0x254d8a<_0x22e39c['end']&&0x60==_0x22e39c['char'](_0x254d8a);)_0x254d8a++;let _0x2d3ec6=_0x254d8a-_0x38ad64,_0x49077e=0x0;for(;_0x254d8a<_0x22e39c['end'];_0x254d8a++)if(0x60==_0x22e39c['char'](_0x254d8a)){if(_0x49077e++,_0x49077e==_0x2d3ec6&&0x60!=_0x22e39c['char'](_0x254d8a+0x1))return _0x22e39c['append'](elt(_0x425cf1['InlineCode'],_0x38ad64,_0x254d8a+0x1,[elt(_0x425cf1['CodeMark'],_0x38ad64,_0x38ad64+_0x2d3ec6),elt(_0x425cf1['CodeMark'],_0x254d8a+0x1-_0x2d3ec6,_0x254d8a+0x1)]));}else _0x49077e=0x0;return-0x1;},'HTMLTag'(_0x566c42,_0x2c352c,_0x1f1067){if(0x3c!=_0x2c352c||_0x1f1067==_0x566c42['end']-0x1)return-0x1;let _0x5c5d3c=_0x566c42['slice'](_0x1f1067+0x1,_0x566c42['end']),_0x1c5bdd=/^(?:[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'](_0x5c5d3c);if(_0x1c5bdd)return _0x566c42['append'](elt(_0x425cf1['Autolink'],_0x1f1067,_0x1f1067+0x1+_0x1c5bdd[0x0]['length'],[elt(_0x425cf1['LinkMark'],_0x1f1067,_0x1f1067+0x1),elt(_0x425cf1['URL'],_0x1f1067+0x1,_0x1f1067+_0x1c5bdd[0x0]['length']),elt(_0x425cf1['LinkMark'],_0x1f1067+_0x1c5bdd[0x0]['length'],_0x1f1067+0x1+_0x1c5bdd[0x0]['length'])]));let _0x564177=/^!--[^>](?:-[^-]|[^-])*?-->/i['exec'](_0x5c5d3c);if(_0x564177)return _0x566c42['append'](elt(_0x425cf1['Comment'],_0x1f1067,_0x1f1067+0x1+_0x564177[0x0]['length']));let _0x895367=/^\?[^]*?\?>/['exec'](_0x5c5d3c);if(_0x895367)return _0x566c42['append'](elt(_0x425cf1['ProcessingInstruction'],_0x1f1067,_0x1f1067+0x1+_0x895367[0x0]['length']));let _0x54cc50=/^(?:![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'](_0x5c5d3c);return _0x54cc50?_0x566c42['append'](elt(_0x425cf1['HTMLTag'],_0x1f1067,_0x1f1067+0x1+_0x54cc50[0x0]['length'])):-0x1;},'Emphasis'(_0x407314,_0xff9130,_0x43b901){if(0x5f!=_0xff9130&&0x2a!=_0xff9130)return-0x1;let _0xef9063=_0x43b901+0x1;for(;_0x407314['char'](_0xef9063)==_0xff9130;)_0xef9063++;let _0x1cad73=_0x407314['slice'](_0x43b901-0x1,_0x43b901),_0x265d28=_0x407314['slice'](_0xef9063,_0xef9063+0x1),_0x1b8675=Punctuation['test'](_0x1cad73),_0xd5295=Punctuation['test'](_0x265d28),_0x27a95a=/\s|^$/['test'](_0x1cad73),_0x246b0c=/\s|^$/['test'](_0x265d28),_0x45d170=!_0x246b0c&&(!_0xd5295||_0x27a95a||_0x1b8675),_0x5c6186=!_0x27a95a&&(!_0x1b8675||_0x246b0c||_0xd5295),_0x459353=_0x45d170&&(0x2a==_0xff9130||!_0x5c6186||_0x1b8675),_0x521025=_0x5c6186&&(0x2a==_0xff9130||!_0x45d170||_0xd5295);return _0x407314['append'](new InlineDelimiter(0x5f==_0xff9130?_0x1fb4fd:EmphasisAsterisk,_0x43b901,_0xef9063,(_0x459353?0x1:0x0)|(_0x521025?0x2:0x0)));},'HardBreak'(_0x3859c7,_0x4a011d,_0x21390d){if(0x5c==_0x4a011d&&0xa==_0x3859c7['char'](_0x21390d+0x1))return _0x3859c7['append'](elt(_0x425cf1['HardBreak'],_0x21390d,_0x21390d+0x2));if(0x20==_0x4a011d){let _0x375374=_0x21390d+0x1;for(;0x20==_0x3859c7['char'](_0x375374);)_0x375374++;if(0xa==_0x3859c7['char'](_0x375374)&&_0x375374>=_0x21390d+0x2)return _0x3859c7['append'](elt(_0x425cf1['HardBreak'],_0x21390d,_0x375374+0x1));}return-0x1;},'Link':(_0x4dec35,_0x5b72ec,_0x13480b)=>0x5b==_0x5b72ec?_0x4dec35['append'](new InlineDelimiter(LinkStart,_0x13480b,_0x13480b+0x1,0x1)):-0x1,'Image':(_0x398770,_0x160328,_0x510363)=>0x21==_0x160328&&0x5b==_0x398770['char'](_0x510363+0x1)?_0x398770['append'](new InlineDelimiter(ImageStart,_0x510363,_0x510363+0x2,0x1)):-0x1,'LinkEnd'(_0x2931bf,_0x3c5f33,_0x5cd288){if(0x5d!=_0x3c5f33)return-0x1;for(let _0x1c8e11=_0x2931bf['parts']['length']-0x1;_0x1c8e11>=0x0;_0x1c8e11--){let _0x5d80cf=_0x2931bf['parts'][_0x1c8e11];if(_0x5d80cf instanceof InlineDelimiter&&(_0x5d80cf['type']==LinkStart||_0x5d80cf['type']==ImageStart)){if(!_0x5d80cf['side']||_0x2931bf['skipSpace'](_0x5d80cf['to'])==_0x5cd288&&!/[(\[]/['test'](_0x2931bf['slice'](_0x5cd288+0x1,_0x5cd288+0x2)))return _0x2931bf['parts'][_0x1c8e11]=null,-0x1;let _0xfa8bd5=_0x2931bf['takeContent'](_0x1c8e11),_0x57a449=_0x2931bf['parts'][_0x1c8e11]=_0x488324(_0x2931bf,_0xfa8bd5,_0x5d80cf['type']==LinkStart?_0x425cf1['Link']:_0x425cf1['Image'],_0x5d80cf['from'],_0x5cd288+0x1);if(_0x5d80cf['type']==LinkStart)for(let _0x17d82d=0x0;_0x17d82d<_0x1c8e11;_0x17d82d++){let _0x539361=_0x2931bf['parts'][_0x17d82d];_0x539361 instanceof InlineDelimiter&&_0x539361['type']==LinkStart&&(_0x539361['side']=0x0);}return _0x57a449['to'];}}return-0x1;}};function _0x488324(_0x3619d3,_0xfdb2c1,_0x38a50f,_0x208244,_0x1d4c70){let {text:_0x4d6a89}=_0x3619d3,_0x449ad0=_0x3619d3['char'](_0x1d4c70),_0x1f93d0=_0x1d4c70;if(_0xfdb2c1['unshift'](elt(_0x425cf1['LinkMark'],_0x208244,_0x208244+(_0x38a50f==_0x425cf1['Image']?0x2:0x1))),_0xfdb2c1['push'](elt(_0x425cf1['LinkMark'],_0x1d4c70-0x1,_0x1d4c70)),0x28==_0x449ad0){let _0x4139d1,_0x4ef8e6=_0x3619d3['skipSpace'](_0x1d4c70+0x1),_0x5ad02b=_0x3980ec(_0x4d6a89,_0x4ef8e6-_0x3619d3['offset'],_0x3619d3['offset']);_0x5ad02b&&(_0x4ef8e6=_0x3619d3['skipSpace'](_0x5ad02b['to']),_0x4ef8e6!=_0x5ad02b['to']&&(_0x4139d1=parseLinkTitle(_0x4d6a89,_0x4ef8e6-_0x3619d3['offset'],_0x3619d3['offset']),_0x4139d1&&(_0x4ef8e6=_0x3619d3['skipSpace'](_0x4139d1['to'])))),0x29==_0x3619d3['char'](_0x4ef8e6)&&(_0xfdb2c1['push'](elt(_0x425cf1['LinkMark'],_0x1d4c70,_0x1d4c70+0x1)),_0x1f93d0=_0x4ef8e6+0x1,_0x5ad02b&&_0xfdb2c1['push'](_0x5ad02b),_0x4139d1&&_0xfdb2c1['push'](_0x4139d1),_0xfdb2c1['push'](elt(_0x425cf1['LinkMark'],_0x4ef8e6,_0x1f93d0)));}else{if(0x5b==_0x449ad0){let _0x2d9ac6=_0x441fae(_0x4d6a89,_0x1d4c70-_0x3619d3['offset'],_0x3619d3['offset'],!0x1);_0x2d9ac6&&(_0xfdb2c1['push'](_0x2d9ac6),_0x1f93d0=_0x2d9ac6['to']);}}return elt(_0x38a50f,_0x208244,_0x1f93d0,_0xfdb2c1);}function _0x3980ec(_0x39c868,_0x15ab3e,_0x1ef15c){if(0x3c==_0x39c868['charCodeAt'](_0x15ab3e)){for(let _0x2a92b2=_0x15ab3e+0x1;_0x2a92b2<_0x39c868['length'];_0x2a92b2++){let _0x4b5c00=_0x39c868['charCodeAt'](_0x2a92b2);if(0x3e==_0x4b5c00)return elt(_0x425cf1['URL'],_0x15ab3e+_0x1ef15c,_0x2a92b2+0x1+_0x1ef15c);if(0x3c==_0x4b5c00||0xa==_0x4b5c00)return!0x1;}return null;}{let _0x44fc25=0x0,_0x46c646=_0x15ab3e;for(let _0x69a223=!0x1;_0x46c646<_0x39c868['length'];_0x46c646++){let _0x15bd8c=_0x39c868['charCodeAt'](_0x46c646);if(_0x57e195(_0x15bd8c))break;if(_0x69a223)_0x69a223=!0x1;else{if(0x28==_0x15bd8c)_0x44fc25++;else{if(0x29==_0x15bd8c){if(!_0x44fc25)break;_0x44fc25--;}else 0x5c==_0x15bd8c&&(_0x69a223=!0x0);}}}return _0x46c646>_0x15ab3e?elt(_0x425cf1['URL'],_0x15ab3e+_0x1ef15c,_0x46c646+_0x1ef15c):_0x46c646==_0x39c868['length']&&null;}}function parseLinkTitle(_0x5e096e,_0x450543,_0x174e6f){let _0x5dd4e2=_0x5e096e['charCodeAt'](_0x450543);if(0x27!=_0x5dd4e2&&0x22!=_0x5dd4e2&&0x28!=_0x5dd4e2)return!0x1;let _0x37a225=0x28==_0x5dd4e2?0x29:_0x5dd4e2;for(let _0x742d4=_0x450543+0x1,_0x3339fa=!0x1;_0x742d4<_0x5e096e['length'];_0x742d4++){let _0xdd1096=_0x5e096e['charCodeAt'](_0x742d4);if(_0x3339fa)_0x3339fa=!0x1;else{if(_0xdd1096==_0x37a225)return elt(_0x425cf1['LinkTitle'],_0x450543+_0x174e6f,_0x742d4+0x1+_0x174e6f);0x5c==_0xdd1096&&(_0x3339fa=!0x0);}}return null;}function _0x441fae(_0x117384,_0x7cc7a0,_0x3c31d5,_0x4d4891){for(let _0x53add9=!0x1,_0x1317d7=_0x7cc7a0+0x1,_0x584e2a=Math['min'](_0x117384['length'],_0x1317d7+0x3e7);_0x1317d7<_0x584e2a;_0x1317d7++){let _0x45647c=_0x117384['charCodeAt'](_0x1317d7);if(_0x53add9)_0x53add9=!0x1;else{if(0x5d==_0x45647c)return!_0x4d4891&&elt(_0x425cf1['LinkLabel'],_0x7cc7a0+_0x3c31d5,_0x1317d7+0x1+_0x3c31d5);if(_0x4d4891&&!_0x57e195(_0x45647c)&&(_0x4d4891=!0x1),0x5b==_0x45647c)return!0x1;0x5c==_0x45647c&&(_0x53add9=!0x0);}}return null;}class InlineContext{constructor(_0x5c7f20,_0x210fed,_0x374f26){this['parser']=_0x5c7f20,this['text']=_0x210fed,this['offset']=_0x374f26,this['parts']=[];}['char'](_0x5b5c57){return _0x5b5c57>=this['end']?-0x1:this['text']['charCodeAt'](_0x5b5c57-this['offset']);}get['end'](){return this['offset']+this['text']['length'];}['slice'](_0x14165b,_0x347ec2){return this['text']['slice'](_0x14165b-this['offset'],_0x347ec2-this['offset']);}['append'](_0x3a1b68){return this['parts']['push'](_0x3a1b68),_0x3a1b68['to'];}['addDelimiter'](_0x2db61c,_0x175e61,_0x54e4f9,_0x32a249,_0x2ef1c7){return this['append'](new InlineDelimiter(_0x2db61c,_0x175e61,_0x54e4f9,(_0x32a249?0x1:0x0)|(_0x2ef1c7?0x2:0x0)));}get['hasOpenLink'](){for(let _0x5bc307=this['parts']['length']-0x1;_0x5bc307>=0x0;_0x5bc307--){let _0x277fcf=this['parts'][_0x5bc307];if(_0x277fcf instanceof InlineDelimiter&&(_0x277fcf['type']==LinkStart||_0x277fcf['type']==ImageStart))return!0x0;}return!0x1;}['addElement'](_0x17ff74){return this['append'](_0x17ff74);}['resolveMarkers'](_0x5aa480){for(let _0x2e3542=_0x5aa480;_0x2e3542<this['parts']['length'];_0x2e3542++){let _0x79cae0=this['parts'][_0x2e3542];if(!(_0x79cae0 instanceof InlineDelimiter&&_0x79cae0['type']['resolve']&&0x2&_0x79cae0['side']))continue;let _0x304fcb,_0x5684c0=_0x79cae0['type']==_0x1fb4fd||_0x79cae0['type']==EmphasisAsterisk,_0x237c26=_0x79cae0['to']-_0x79cae0['from'],_0x13f2b2=_0x2e3542-0x1;for(;_0x13f2b2>=_0x5aa480;_0x13f2b2--){let _0x3dda55=this['parts'][_0x13f2b2];if(_0x3dda55 instanceof InlineDelimiter&&0x1&_0x3dda55['side']&&_0x3dda55['type']==_0x79cae0['type']&&!(_0x5684c0&&(0x1&_0x79cae0['side']||0x2&_0x3dda55['side'])&&(_0x3dda55['to']-_0x3dda55['from']+_0x237c26)%0x3==0x0&&((_0x3dda55['to']-_0x3dda55['from'])%0x3||_0x237c26%0x3))){_0x304fcb=_0x3dda55;break;}}if(!_0x304fcb)continue;let _0x144ea1=_0x79cae0['type']['resolve'],_0x2681e2=[],_0xc1049d=_0x304fcb['from'],_0x2ef751=_0x79cae0['to'];if(_0x5684c0){let _0xa1fb82=Math['min'](0x2,_0x304fcb['to']-_0x304fcb['from'],_0x237c26);_0xc1049d=_0x304fcb['to']-_0xa1fb82,_0x2ef751=_0x79cae0['from']+_0xa1fb82,_0x144ea1=0x1==_0xa1fb82?'Emphasis':'StrongEmphasis';}_0x304fcb['type']['mark']&&_0x2681e2['push'](this['elt'](_0x304fcb['type']['mark'],_0xc1049d,_0x304fcb['to']));for(let _0xad5c41=_0x13f2b2+0x1;_0xad5c41<_0x2e3542;_0xad5c41++)this['parts'][_0xad5c41]instanceof Element$1&&_0x2681e2['push'](this['parts'][_0xad5c41]),this['parts'][_0xad5c41]=null;_0x79cae0['type']['mark']&&_0x2681e2['push'](this['elt'](_0x79cae0['type']['mark'],_0x79cae0['from'],_0x2ef751));let _0xf90f42=this['elt'](_0x144ea1,_0xc1049d,_0x2ef751,_0x2681e2);this['parts'][_0x13f2b2]=_0x5684c0&&_0x304fcb['from']!=_0xc1049d?new InlineDelimiter(_0x304fcb['type'],_0x304fcb['from'],_0xc1049d,_0x304fcb['side']):null,(this['parts'][_0x2e3542]=_0x5684c0&&_0x79cae0['to']!=_0x2ef751?new InlineDelimiter(_0x79cae0['type'],_0x2ef751,_0x79cae0['to'],_0x79cae0['side']):null)?this['parts']['splice'](_0x2e3542,0x0,_0xf90f42):this['parts'][_0x2e3542]=_0xf90f42;}let _0x405cb6=[];for(let _0x5c5aa4=_0x5aa480;_0x5c5aa4<this['parts']['length'];_0x5c5aa4++){let _0x527c3a=this['parts'][_0x5c5aa4];_0x527c3a instanceof Element$1&&_0x405cb6['push'](_0x527c3a);}return _0x405cb6;}['findOpeningDelimiter'](_0xa44caf){for(let _0x49803e=this['parts']['length']-0x1;_0x49803e>=0x0;_0x49803e--){let _0x147ed9=this['parts'][_0x49803e];if(_0x147ed9 instanceof InlineDelimiter&&_0x147ed9['type']==_0xa44caf&&0x1&_0x147ed9['side'])return _0x49803e;}return null;}['takeContent'](_0x1ccc7c){let _0x3ec6f2=this['resolveMarkers'](_0x1ccc7c);return this['parts']['length']=_0x1ccc7c,_0x3ec6f2;}['getDelimiterAt'](_0x23a0b8){let _0x45803e=this['parts'][_0x23a0b8];return _0x45803e instanceof InlineDelimiter?_0x45803e:null;}['skipSpace'](_0x1ce2d4){return _0x5ace42(this['text'],_0x1ce2d4-this['offset'])+this['offset'];}['elt'](_0x417a03,_0x149e99,_0x55fcd6,_0x2ca36b){return'string'==typeof _0x417a03?elt(this['parser']['getNodeType'](_0x417a03),_0x149e99,_0x55fcd6,_0x2ca36b):new TreeElement(_0x417a03,_0x149e99);}}function injectMarks(_0x30d085,_0x15848a){if(!_0x15848a['length'])return _0x30d085;if(!_0x30d085['length'])return _0x15848a;let _0x2d9ea0=_0x30d085['slice'](),_0x20383d=0x0;for(let _0x43708b of _0x15848a){for(;_0x20383d<_0x2d9ea0['length']&&_0x2d9ea0[_0x20383d]['to']<_0x43708b['to'];)_0x20383d++;if(_0x20383d<_0x2d9ea0['length']&&_0x2d9ea0[_0x20383d]['from']<_0x43708b['from']){let _0x2185f7=_0x2d9ea0[_0x20383d];_0x2185f7 instanceof Element$1&&(_0x2d9ea0[_0x20383d]=new Element$1(_0x2185f7['type'],_0x2185f7['from'],_0x2185f7['to'],injectMarks(_0x2185f7['children'],[_0x43708b])));}else _0x2d9ea0['splice'](_0x20383d++,0x0,_0x43708b);}return _0x2d9ea0;}InlineContext['linkStart']=LinkStart,InlineContext['imageStart']=ImageStart;const NotLast=[_0x425cf1['CodeBlock'],_0x425cf1['ListItem'],_0x425cf1['OrderedList'],_0x425cf1['BulletList']];class FragmentCursor{constructor(_0x6f924,_0x338200){this['fragments']=_0x6f924,this['input']=_0x338200,this['i']=0x0,this['fragment']=null,this['fragmentEnd']=-0x1,this['cursor']=null,_0x6f924['length']&&(this['fragment']=_0x6f924[this['i']++]);}['nextFragment'](){this['fragment']=this['i']<this['fragments']['length']?this['fragments'][this['i']++]:null,this['cursor']=null,this['fragmentEnd']=-0x1;}['moveTo'](_0x415aa5,_0x150fb5){for(;this['fragment']&&this['fragment']['to']<=_0x415aa5;)this['nextFragment']();if(!this['fragment']||this['fragment']['from']>(_0x415aa5?_0x415aa5-0x1:0x0))return!0x1;if(this['fragmentEnd']<0x0){let _0x2b479b=this['fragment']['to'];for(;_0x2b479b>0x0&&'\x0a'!=this['input']['read'](_0x2b479b-0x1,_0x2b479b);)_0x2b479b--;this['fragmentEnd']=_0x2b479b?_0x2b479b-0x1:0x0;}let _0x5756be=this['cursor'];_0x5756be||(_0x5756be=this['cursor']=this['fragment']['tree']['cursor'](),_0x5756be['firstChild']());let _0x43fedf=_0x415aa5+this['fragment']['offset'];for(;_0x5756be['to']<=_0x43fedf;)if(!_0x5756be['parent']())return!0x1;for(;;){if(_0x5756be['from']>=_0x43fedf)return this['fragment']['from']<=_0x150fb5;if(!_0x5756be['childAfter'](_0x43fedf))return!0x1;}}['matches'](_0xfd64cb){let _0xfdbb2b=this['cursor']['tree'];return _0xfdbb2b&&_0xfdbb2b['prop'](_0x332766['contextHash'])==_0xfd64cb;}['takeNodes'](_0x5dc4ef){let _0x2f843d=this['cursor'],_0x191737=this['fragment']['offset'],_0x10e289=this['fragmentEnd']-(this['fragment']['openEnd']?0x1:0x0),_0x2b9b8b=_0x5dc4ef['absoluteLineStart'],_0x5a588e=_0x2b9b8b,_0x14245e=_0x5dc4ef['block']['children']['length'],_0x402088=_0x5a588e,_0x6d99ad=_0x14245e;for(;;){if(_0x2f843d['to']-_0x191737>_0x10e289){if(_0x2f843d['type']['isAnonymous']&&_0x2f843d['firstChild']())continue;break;}let _0x4281be=toRelative(_0x2f843d['from']-_0x191737,_0x5dc4ef['ranges']);if(_0x2f843d['to']-_0x191737<=_0x5dc4ef['ranges'][_0x5dc4ef['rangeI']]['to'])_0x5dc4ef['addNode'](_0x2f843d['tree'],_0x4281be);else{let _0x38a5db=new _0x21283b(_0x5dc4ef['parser']['nodeSet']['types'][_0x425cf1['Paragraph']],[],[],0x0,_0x5dc4ef['block']['hashProp']);_0x5dc4ef['reusePlaceholders']['set'](_0x38a5db,_0x2f843d['tree']),_0x5dc4ef['addNode'](_0x38a5db,_0x4281be);}if(_0x2f843d['type']['is']('Block')&&(NotLast['indexOf'](_0x2f843d['type']['id'])<0x0?(_0x5a588e=_0x2f843d['to']-_0x191737,_0x14245e=_0x5dc4ef['block']['children']['length']):(_0x5a588e=_0x402088,_0x14245e=_0x6d99ad,_0x402088=_0x2f843d['to']-_0x191737,_0x6d99ad=_0x5dc4ef['block']['children']['length'])),!_0x2f843d['nextSibling']())break;}for(;_0x5dc4ef['block']['children']['length']>_0x14245e;)_0x5dc4ef['block']['children']['pop'](),_0x5dc4ef['block']['positions']['pop']();return _0x5a588e-_0x2b9b8b;}}function toRelative(_0x30b514,_0x32b035){let _0x4fecc0=_0x30b514;for(let _0x6a5948=0x1;_0x6a5948<_0x32b035['length'];_0x6a5948++){let _0x22203a=_0x32b035[_0x6a5948-0x1]['to'],_0x3b6f4c=_0x32b035[_0x6a5948]['from'];_0x22203a<_0x30b514&&(_0x4fecc0-=_0x3b6f4c-_0x22203a);}return _0x4fecc0;}const markdownHighlighting=styleTags({'Blockquote/...':tags$1['quote'],'HorizontalRule':tags$1['contentSeparator'],'ATXHeading1/...\x20SetextHeading1/...':tags$1['heading1'],'ATXHeading2/...\x20SetextHeading2/...':tags$1['heading2'],'ATXHeading3/...':tags$1['heading3'],'ATXHeading4/...':tags$1['heading4'],'ATXHeading5/...':tags$1['heading5'],'ATXHeading6/...':tags$1['heading6'],'Comment\x20CommentBlock':tags$1['comment'],'Escape':tags$1['escape'],'Entity':tags$1['character'],'Emphasis/...':tags$1['emphasis'],'StrongEmphasis/...':tags$1['strong'],'Link/...\x20Image/...':tags$1['link'],'OrderedList/...\x20BulletList/...':tags$1['list'],'BlockQuote/...':tags$1['quote'],'InlineCode\x20CodeText':tags$1['monospace'],'URL\x20Autolink':tags$1['url'],'HeaderMark\x20HardBreak\x20QuoteMark\x20ListMark\x20LinkMark\x20EmphasisMark\x20CodeMark':tags$1['processingInstruction'],'CodeInfo\x20LinkLabel':tags$1['labelName'],'LinkTitle':tags$1['string'],'Paragraph':tags$1['content']}),_0x305a0c=new _0x3ec2bd(new NodeSet(_0xd0a5de)['extend'](markdownHighlighting),Object['keys'](DefaultBlockParsers)['map'](_0x97a499=>DefaultBlockParsers[_0x97a499]),Object['keys'](DefaultBlockParsers)['map'](_0x2a3dea=>DefaultLeafBlocks[_0x2a3dea]),Object['keys'](DefaultBlockParsers),DefaultEndLeaf,DefaultSkipMarkup,Object['keys'](DefaultInline)['map'](_0x3b02bc=>DefaultInline[_0x3b02bc]),Object['keys'](DefaultInline),[]);function leftOverSpace(_0x55c10d,_0x70d42,_0x1c262e){let _0x5e37cd=[];for(let _0x4461d7=_0x55c10d['firstChild'],_0x4b1ecc=_0x70d42;;_0x4461d7=_0x4461d7['nextSibling']){let _0x335f83=_0x4461d7?_0x4461d7['from']:_0x1c262e;if(_0x335f83>_0x4b1ecc&&_0x5e37cd['push']({'from':_0x4b1ecc,'to':_0x335f83}),!_0x4461d7)break;_0x4b1ecc=_0x4461d7['to'];}return _0x5e37cd;}function _0x4ce72b(_0x4535dd){let {codeParser:_0xd066ef,htmlParser:_0x20c2d9}=_0x4535dd,_0xc4a1bd=_0x1afdd3((_0xe28893,_0x1bba8d)=>{let _0x1e6838=_0xe28893['type']['id'];if(!_0xd066ef||_0x1e6838!=_0x425cf1['CodeBlock']&&_0x1e6838!=_0x425cf1['FencedCode']){if(_0x20c2d9&&(_0x1e6838==_0x425cf1['HTMLBlock']||_0x1e6838==_0x425cf1['HTMLTag']||_0x1e6838==_0x425cf1['CommentBlock']))return{'parser':_0x20c2d9,'overlay':leftOverSpace(_0xe28893['node'],_0xe28893['from'],_0xe28893['to'])};}else{let _0x4af679='';if(_0x1e6838==_0x425cf1['FencedCode']){let _0x2cf8ce=_0xe28893['node']['getChild'](_0x425cf1['CodeInfo']);_0x2cf8ce&&(_0x4af679=_0x1bba8d['read'](_0x2cf8ce['from'],_0x2cf8ce['to']));}let _0x30b1c0=_0xd066ef(_0x4af679);if(_0x30b1c0)return{'parser':_0x30b1c0,'overlay':_0x1db8cf=>_0x1db8cf['type']['id']==_0x425cf1['CodeText']};}return null;});return{'wrap':_0xc4a1bd};}const StrikethroughDelim={'resolve':'Strikethrough','mark':'StrikethroughMark'},Strikethrough={'defineNodes':[{'name':'Strikethrough','style':{'Strikethrough/...':tags$1['strikethrough']}},{'name':'StrikethroughMark','style':tags$1['processingInstruction']}],'parseInline':[{'name':'Strikethrough','parse'(_0x353703,_0x130d18,_0x1ba525){if(0x7e!=_0x130d18||0x7e!=_0x353703['char'](_0x1ba525+0x1)||0x7e==_0x353703['char'](_0x1ba525+0x2))return-0x1;let _0x4b9227=_0x353703['slice'](_0x1ba525-0x1,_0x1ba525),_0x22f139=_0x353703['slice'](_0x1ba525+0x2,_0x1ba525+0x3),_0x544c51=/\s|^$/['test'](_0x4b9227),_0x431990=/\s|^$/['test'](_0x22f139),_0x4bdb1d=Punctuation['test'](_0x4b9227),_0x5a2ad5=Punctuation['test'](_0x22f139);return _0x353703['addDelimiter'](StrikethroughDelim,_0x1ba525,_0x1ba525+0x2,!_0x431990&&(!_0x5a2ad5||_0x544c51||_0x4bdb1d),!_0x544c51&&(!_0x4bdb1d||_0x431990||_0x5a2ad5));},'after':'Emphasis'}]};function _0x588692(_0x36db34,_0x4566cf,_0x24c9df=0x0,_0x363915,_0x3ad22b=0x0){let _0x124bc0=0x0,_0x38b226=!0x0,_0x3cf6be=-0x1,_0x953eb6=-0x1,_0x2be0be=!0x1,_0x43feb1=()=>{_0x363915['push'](_0x36db34['elt']('TableCell',_0x3ad22b+_0x3cf6be,_0x3ad22b+_0x953eb6,_0x36db34['parser']['parseInline'](_0x4566cf['slice'](_0x3cf6be,_0x953eb6),_0x3ad22b+_0x3cf6be)));};for(let _0x4852d1=_0x24c9df;_0x4852d1<_0x4566cf['length'];_0x4852d1++){let _0xa8ead8=_0x4566cf['charCodeAt'](_0x4852d1);0x7c!=_0xa8ead8||_0x2be0be?(_0x2be0be||0x20!=_0xa8ead8&&0x9!=_0xa8ead8)&&(_0x3cf6be<0x0&&(_0x3cf6be=_0x4852d1),_0x953eb6=_0x4852d1+0x1):((!_0x38b226||_0x3cf6be>-0x1)&&_0x124bc0++,_0x38b226=!0x1,_0x363915&&(_0x3cf6be>-0x1&&_0x43feb1(),_0x363915['push'](_0x36db34['elt']('TableDelimiter',_0x4852d1+_0x3ad22b,_0x4852d1+_0x3ad22b+0x1))),_0x3cf6be=_0x953eb6=-0x1),_0x2be0be=!_0x2be0be&&0x5c==_0xa8ead8;}return _0x3cf6be>-0x1&&(_0x124bc0++,_0x363915&&_0x43feb1()),_0x124bc0;}function _0x40f817(_0x5cf2cb,_0x14caae){for(let _0x5daac6=_0x14caae;_0x5daac6<_0x5cf2cb['length'];_0x5daac6++){let _0x21046e=_0x5cf2cb['charCodeAt'](_0x5daac6);if(0x7c==_0x21046e)return!0x0;0x5c==_0x21046e&&_0x5daac6++;}return!0x1;}const delimiterLine=/^\|?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/;class _0x581589{constructor(){this['rows']=null;}['nextLine'](_0x7cc472,_0x201bf8,_0x3150ba){if(null==this['rows']){let _0x479c57;if(this['rows']=!0x1,(0x2d==_0x201bf8['next']||0x3a==_0x201bf8['next']||0x7c==_0x201bf8['next'])&&delimiterLine['test'](_0x479c57=_0x201bf8['text']['slice'](_0x201bf8['pos']))){let _0x36bffd=[];_0x588692(_0x7cc472,_0x3150ba['content'],0x0,_0x36bffd,_0x3150ba['start'])==_0x588692(_0x7cc472,_0x479c57,_0x201bf8['pos'])&&(this['rows']=[_0x7cc472['elt']('TableHeader',_0x3150ba['start'],_0x3150ba['start']+_0x3150ba['content']['length'],_0x36bffd),_0x7cc472['elt']('TableDelimiter',_0x7cc472['lineStart']+_0x201bf8['pos'],_0x7cc472['lineStart']+_0x201bf8['text']['length'])]);}}else{if(this['rows']){let _0x4a65fa=[];_0x588692(_0x7cc472,_0x201bf8['text'],_0x201bf8['pos'],_0x4a65fa,_0x7cc472['lineStart']),this['rows']['push'](_0x7cc472['elt']('TableRow',_0x7cc472['lineStart']+_0x201bf8['pos'],_0x7cc472['lineStart']+_0x201bf8['text']['length'],_0x4a65fa));}}return!0x1;}['finish'](_0x5297ba,_0x1ca6c8){return!!this['rows']&&(_0x5297ba['addLeafElement'](_0x1ca6c8,_0x5297ba['elt']('Table',_0x1ca6c8['start'],_0x1ca6c8['start']+_0x1ca6c8['content']['length'],this['rows'])),!0x0);}}const _0x5ac881={'defineNodes':[{'name':'Table','block':!0x0},{'name':'TableHeader','style':{'TableHeader/...':tags$1['heading']}},'TableRow',{'name':'TableCell','style':tags$1['content']},{'name':'TableDelimiter','style':tags$1['processingInstruction']}],'parseBlock':[{'name':'Table','leaf':(_0x5b751f,_0x29d056)=>_0x40f817(_0x29d056['content'],0x0)?new _0x581589():null,'endLeaf'(_0x213cd0,_0x51494d,_0x3da318){if(_0x3da318['parsers']['some'](_0xf55453=>_0xf55453 instanceof _0x581589)||!_0x40f817(_0x51494d['text'],_0x51494d['basePos']))return!0x1;let _0x3ca830=_0x213cd0['peekLine']();return delimiterLine['test'](_0x3ca830)&&_0x588692(_0x213cd0,_0x51494d['text'],_0x51494d['basePos'])==_0x588692(_0x213cd0,_0x3ca830,_0x51494d['basePos']);},'before':'SetextHeading'}]};class _0x570e87{['nextLine'](){return!0x1;}['finish'](_0x2e75ab,_0xaf26f7){return _0x2e75ab['addLeafElement'](_0xaf26f7,_0x2e75ab['elt']('Task',_0xaf26f7['start'],_0xaf26f7['start']+_0xaf26f7['content']['length'],[_0x2e75ab['elt']('TaskMarker',_0xaf26f7['start'],_0xaf26f7['start']+0x3),..._0x2e75ab['parser']['parseInline'](_0xaf26f7['content']['slice'](0x3),_0xaf26f7['start']+0x3)])),!0x0;}}const TaskList={'defineNodes':[{'name':'Task','block':!0x0,'style':tags$1['list']},{'name':'TaskMarker','style':tags$1['atom']}],'parseBlock':[{'name':'TaskList','leaf':(_0x5a2874,_0x407e67)=>/^\[[ xX]\][ \t]/['test'](_0x407e67['content'])&&'ListItem'==_0x5a2874['parentType']()['name']?new _0x570e87():null,'after':'SetextHeading'}]},autolinkRE=/(www\.)|(https?:\/\/)|([\w.+-]{1,100}@)|(mailto:|xmpp:)/gy,_0x5d8143=/[\w-]+(\.[\w-]+)+(\/[^\s<]*)?/gy,lastTwoDomainWords=/[\w-]+\.[\w-]+($|\/)/,_0x3e42e1=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,_0x2a37db=/\/[a-zA-Z\d@.]+/gy;function count(_0x37d236,_0x35af86,_0x14a5c8,_0x166333){let _0x17e366=0x0;for(let _0x1eb82a=_0x35af86;_0x1eb82a<_0x14a5c8;_0x1eb82a++)_0x37d236[_0x1eb82a]==_0x166333&&_0x17e366++;return _0x17e366;}function autolinkURLEnd(_0x5051ce,_0xa78e1){_0x5d8143['lastIndex']=_0xa78e1;let _0x247cf2=_0x5d8143['exec'](_0x5051ce);if(!_0x247cf2||lastTwoDomainWords['exec'](_0x247cf2[0x0])[0x0]['indexOf']('_')>-0x1)return-0x1;let _0x46f74a=_0xa78e1+_0x247cf2[0x0]['length'];for(;;){let _0x4b467d,_0x4de95f=_0x5051ce[_0x46f74a-0x1];if(/[?!.,:*_~]/['test'](_0x4de95f)||')'==_0x4de95f&&count(_0x5051ce,_0xa78e1,_0x46f74a,')')>count(_0x5051ce,_0xa78e1,_0x46f74a,'('))_0x46f74a--;else{if(';'!=_0x4de95f||!(_0x4b467d=/&(?:#\d+|#x[a-f\d]+|\w+);$/['exec'](_0x5051ce['slice'](_0xa78e1,_0x46f74a))))break;_0x46f74a=_0xa78e1+_0x4b467d['index'];}}return _0x46f74a;}function autolinkEmailEnd(_0x2f4555,_0x53a54d){_0x3e42e1['lastIndex']=_0x53a54d;let _0x2cefbe=_0x3e42e1['exec'](_0x2f4555);if(!_0x2cefbe)return-0x1;let _0x538e38=_0x2cefbe[0x0][_0x2cefbe[0x0]['length']-0x1];return'_'==_0x538e38||'-'==_0x538e38?-0x1:_0x53a54d+_0x2cefbe[0x0]['length']-('.'==_0x538e38?0x1:0x0);}const Autolink={'parseInline':[{'name':'Autolink','parse'(_0x3cbb6c,_0x3ffea2,_0x117e02){let _0x536cb0=_0x117e02-_0x3cbb6c['offset'];if(_0x536cb0&&/\w/['test'](_0x3cbb6c['text'][_0x536cb0-0x1]))return-0x1;autolinkRE['lastIndex']=_0x536cb0;let _0x99a481=autolinkRE['exec'](_0x3cbb6c['text']),_0x54650e=-0x1;if(!_0x99a481)return-0x1;if(_0x99a481[0x1]||_0x99a481[0x2])(_0x54650e=autolinkURLEnd(_0x3cbb6c['text'],_0x536cb0+_0x99a481[0x0]['length']),_0x54650e>-0x1&&_0x3cbb6c['hasOpenLink'])&&(_0x54650e=_0x536cb0+/([^\[\]]|\[[^\]]*\])*/['exec'](_0x3cbb6c['text']['slice'](_0x536cb0,_0x54650e))[0x0]['length']);else _0x99a481[0x3]?_0x54650e=autolinkEmailEnd(_0x3cbb6c['text'],_0x536cb0):(_0x54650e=autolinkEmailEnd(_0x3cbb6c['text'],_0x536cb0+_0x99a481[0x0]['length']),_0x54650e>-0x1&&'xmpp:'==_0x99a481[0x0]&&(_0x2a37db['lastIndex']=_0x54650e,_0x99a481=_0x2a37db['exec'](_0x3cbb6c['text']),_0x99a481&&(_0x54650e=_0x99a481['index']+_0x99a481[0x0]['length'])));return _0x54650e<0x0?-0x1:(_0x3cbb6c['addElement'](_0x3cbb6c['elt']('URL',_0x117e02,_0x54650e+_0x3cbb6c['offset'])),_0x54650e+_0x3cbb6c['offset']);}}]},_0x118730=[_0x5ac881,TaskList,Strikethrough,Autolink];function _0x3c0f3a(_0x452c5a,_0x213099,_0x37a6a7){return(_0x599ce3,_0x201b3c,_0x11f10d)=>{if(_0x201b3c!=_0x452c5a||_0x599ce3['char'](_0x11f10d+0x1)==_0x452c5a)return-0x1;let _0x14689b=[_0x599ce3['elt'](_0x37a6a7,_0x11f10d,_0x11f10d+0x1)];for(let _0x21da0c=_0x11f10d+0x1;_0x21da0c<_0x599ce3['end'];_0x21da0c++){let _0x1b6b9e=_0x599ce3['char'](_0x21da0c);if(_0x1b6b9e==_0x452c5a)return _0x599ce3['addElement'](_0x599ce3['elt'](_0x213099,_0x11f10d,_0x21da0c+0x1,_0x14689b['concat'](_0x599ce3['elt'](_0x37a6a7,_0x21da0c,_0x21da0c+0x1))));if(0x5c==_0x1b6b9e&&_0x14689b['push'](_0x599ce3['elt']('Escape',_0x21da0c,0x2+_0x21da0c++)),_0x57e195(_0x1b6b9e))break;}return-0x1;};}const Superscript={'defineNodes':[{'name':'Superscript','style':tags$1['special'](tags$1['content'])},{'name':'SuperscriptMark','style':tags$1['processingInstruction']}],'parseInline':[{'name':'Superscript','parse':_0x3c0f3a(0x5e,'Superscript','SuperscriptMark')}]},Subscript={'defineNodes':[{'name':'Subscript','style':tags$1['special'](tags$1['content'])},{'name':'SubscriptMark','style':tags$1['processingInstruction']}],'parseInline':[{'name':'Subscript','parse':_0x3c0f3a(0x7e,'Subscript','SubscriptMark')}]},_0x183a06={'defineNodes':[{'name':'Emoji','style':tags$1['character']}],'parseInline':[{'name':'Emoji','parse'(_0x19276d,_0x3d89a6,_0x39010b){let _0x14899e;return 0x3a==_0x3d89a6&&(_0x14899e=/^[a-zA-Z_0-9]+:/['exec'](_0x19276d['slice'](_0x39010b+0x1,_0x19276d['end'])))?_0x19276d['addElement'](_0x19276d['elt']('Emoji',_0x39010b,_0x39010b+0x1+_0x14899e[0x0]['length'])):-0x1;}}]},data=defineLanguageFacet({'commentTokens':{'block':{'open':'<!--','close':'-->'}}}),_0x317785=new _0x332766(),_0x1c7534=_0x305a0c['configure']({'props':[_0x2181a9['add'](_0x36366=>!_0x36366['is']('Block')||_0x36366['is']('Document')||null!=_0xbddeff(_0x36366)||isList(_0x36366)?void 0x0:(_0x3e4483,_0x5c0d61)=>({'from':_0x5c0d61['doc']['lineAt'](_0x3e4483['from'])['to'],'to':_0x3e4483['to']})),_0x317785['add'](_0xbddeff),indentNodeProp['add']({'Document':()=>null}),languageDataProp['add']({'Document':data})]});function _0xbddeff(_0x541fd7){let _0x204155=/^(?:ATX|Setext)Heading(\d)$/['exec'](_0x541fd7['name']);return _0x204155?+_0x204155[0x1]:void 0x0;}function isList(_0x3cb039){return'OrderedList'==_0x3cb039['name']||'BulletList'==_0x3cb039['name'];}function findSectionEnd(_0x2d2bb1,_0x45d6e3){let _0x1b2ea6=_0x2d2bb1;for(;;){let _0x136533,_0x67879=_0x1b2ea6['nextSibling'];if(!_0x67879||null!=(_0x136533=_0xbddeff(_0x67879['type']))&&_0x136533<=_0x45d6e3)break;_0x1b2ea6=_0x67879;}return _0x1b2ea6['to'];}const headerIndent=_0x4e5336['of']((_0x36f5c5,_0x23adc8,_0x3344d1)=>{for(let _0x3dbf96=syntaxTree(_0x36f5c5)['resolveInner'](_0x3344d1,-0x1);_0x3dbf96&&!(_0x3dbf96['from']<_0x23adc8);_0x3dbf96=_0x3dbf96['parent']){let _0x37d833=_0x3dbf96['type']['prop'](_0x317785);if(null==_0x37d833)continue;let _0xd83e20=findSectionEnd(_0x3dbf96,_0x37d833);if(_0xd83e20>_0x3344d1)return{'from':_0x3344d1,'to':_0xd83e20};}return null;});function _0x9e80a5(_0x351db2){return new _0xb28216(data,_0x351db2,[headerIndent],'markdown');}const _0x2587c1=_0x9e80a5(_0x1c7534),extended=_0x1c7534['configure']([_0x118730,Subscript,Superscript,_0x183a06,{'props':[_0x2181a9['add']({'Table':(_0x57defb,_0x1cd11e)=>({'from':_0x1cd11e['doc']['lineAt'](_0x57defb['from'])['to'],'to':_0x57defb['to']})})]}]),_0x31e8a9=_0x9e80a5(extended);function getCodeParser(_0x48d6a1,_0x3936da){return _0x3a8b83=>{if(_0x3a8b83&&_0x48d6a1){let _0x1cbff5=null;if(_0x3a8b83=/\S*/['exec'](_0x3a8b83)[0x0],_0x1cbff5='function'==typeof _0x48d6a1?_0x48d6a1(_0x3a8b83):LanguageDescription['matchLanguageName'](_0x48d6a1,_0x3a8b83,!0x0),_0x1cbff5 instanceof LanguageDescription)return _0x1cbff5['support']?_0x1cbff5['support']['language']['parser']:ParseContext['getSkippingParser'](_0x1cbff5['load']());if(_0x1cbff5)return _0x1cbff5['parser'];}return _0x3936da?_0x3936da['parser']:null;};}class Context{constructor(_0x479d2a,_0x133c45,_0x18ef85,_0x2b3910,_0x393d19,_0x17067d,_0x9edf1e){this['node']=_0x479d2a,this['from']=_0x133c45,this['to']=_0x18ef85,this['spaceBefore']=_0x2b3910,this['spaceAfter']=_0x393d19,this['type']=_0x17067d,this['item']=_0x9edf1e;}['blank'](_0x4545cd,_0x3baa26=!0x0){let _0x188eba=this['spaceBefore']+('Blockquote'==this['node']['name']?'>':'');if(null!=_0x4545cd){for(;_0x188eba['length']<_0x4545cd;)_0x188eba+='\x20';return _0x188eba;}for(let _0x461302=this['to']-this['from']-_0x188eba['length']-this['spaceAfter']['length'];_0x461302>0x0;_0x461302--)_0x188eba+='\x20';return _0x188eba+(_0x3baa26?this['spaceAfter']:'');}['marker'](_0x149022,_0x2d3611){let _0x26cefb='OrderedList'==this['node']['name']?String(+itemNumber(this['item'],_0x149022)[0x2]+_0x2d3611):'';return this['spaceBefore']+_0x26cefb+this['type']+this['spaceAfter'];}}function getContext(_0x511626,_0x541e43){let _0x7a9d4e=[],_0x2b6ce9=[];for(let _0x2aacef=_0x511626;_0x2aacef;_0x2aacef=_0x2aacef['parent']){if('FencedCode'==_0x2aacef['name'])return _0x2b6ce9;'ListItem'!=_0x2aacef['name']&&'Blockquote'!=_0x2aacef['name']||_0x7a9d4e['push'](_0x2aacef);}for(let _0x186259=_0x7a9d4e['length']-0x1;_0x186259>=0x0;_0x186259--){let _0xe9007a,_0x429d4a=_0x7a9d4e[_0x186259],_0x55932e=_0x541e43['lineAt'](_0x429d4a['from']),_0x45a7ae=_0x429d4a['from']-_0x55932e['from'];if('Blockquote'==_0x429d4a['name']&&(_0xe9007a=/^ *>( ?)/['exec'](_0x55932e['text']['slice'](_0x45a7ae))))_0x2b6ce9['push'](new Context(_0x429d4a,_0x45a7ae,_0x45a7ae+_0xe9007a[0x0]['length'],'',_0xe9007a[0x1],'>',null));else{if('ListItem'==_0x429d4a['name']&&'OrderedList'==_0x429d4a['parent']['name']&&(_0xe9007a=/^( *)\d+([.)])( *)/['exec'](_0x55932e['text']['slice'](_0x45a7ae)))){let _0x13ffff=_0xe9007a[0x3],_0x33c62f=_0xe9007a[0x0]['length'];_0x13ffff['length']>=0x4&&(_0x13ffff=_0x13ffff['slice'](0x0,_0x13ffff['length']-0x4),_0x33c62f-=0x4),_0x2b6ce9['push'](new Context(_0x429d4a['parent'],_0x45a7ae,_0x45a7ae+_0x33c62f,_0xe9007a[0x1],_0x13ffff,_0xe9007a[0x2],_0x429d4a));}else{if('ListItem'==_0x429d4a['name']&&'BulletList'==_0x429d4a['parent']['name']&&(_0xe9007a=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/['exec'](_0x55932e['text']['slice'](_0x45a7ae)))){let _0x7f8c91=_0xe9007a[0x4],_0x2e7db7=_0xe9007a[0x0]['length'];_0x7f8c91['length']>0x4&&(_0x7f8c91=_0x7f8c91['slice'](0x0,_0x7f8c91['length']-0x4),_0x2e7db7-=0x4);let _0x24cc57=_0xe9007a[0x2];_0xe9007a[0x3]&&(_0x24cc57+=_0xe9007a[0x3]['replace'](/[xX]/,'\x20')),_0x2b6ce9['push'](new Context(_0x429d4a['parent'],_0x45a7ae,_0x45a7ae+_0x2e7db7,_0xe9007a[0x1],_0x7f8c91,_0x24cc57,_0x429d4a));}}}}return _0x2b6ce9;}function itemNumber(_0x5e6052,_0x109245){return/^(\s*)(\d+)(?=[.)])/['exec'](_0x109245['sliceString'](_0x5e6052['from'],_0x5e6052['from']+0xa));}function renumberList(_0x2ff31c,_0x5b11f8,_0x3d7717,_0x54fe57=0x0){for(let _0x3fa912=-0x1,_0x20cd7e=_0x2ff31c;;){if('ListItem'==_0x20cd7e['name']){let _0xdfbbda=itemNumber(_0x20cd7e,_0x5b11f8),_0x38abc1=+_0xdfbbda[0x2];if(_0x3fa912>=0x0){if(_0x38abc1!=_0x3fa912+0x1)return;_0x3d7717['push']({'from':_0x20cd7e['from']+_0xdfbbda[0x1]['length'],'to':_0x20cd7e['from']+_0xdfbbda[0x0]['length'],'insert':String(_0x3fa912+0x2+_0x54fe57)});}_0x3fa912=_0x38abc1;}let _0x2b5e7e=_0x20cd7e['nextSibling'];if(!_0x2b5e7e)break;_0x20cd7e=_0x2b5e7e;}}function normalizeIndent(_0x89e82,_0x1fe5e8){let _0x132d2c=/^[ \t]*/['exec'](_0x89e82)[0x0]['length'];if(!_0x132d2c||'\x09'!=_0x1fe5e8['facet'](indentUnit))return _0x89e82;let _0x2c58c1='';for(let _0x5cb07f=countColumn(_0x89e82,0x4,_0x132d2c);_0x5cb07f>0x0;)_0x5cb07f>=0x4?(_0x2c58c1+='\x09',_0x5cb07f-=0x4):(_0x2c58c1+='\x20',_0x5cb07f--);return _0x2c58c1+_0x89e82['slice'](_0x132d2c);}const insertNewlineContinueMarkup=({state:_0x340f73,dispatch:_0x4ff8ab})=>{let _0x7fc314=syntaxTree(_0x340f73),{doc:_0x230a08}=_0x340f73,_0x81bb2a=null,_0x423bd2=_0x340f73['changeByRange'](_0xf92747=>{if(!_0xf92747['empty']||!_0x31e8a9['isActiveAt'](_0x340f73,_0xf92747['from'],0x0))return _0x81bb2a={'range':_0xf92747};let _0x23f0f0=_0xf92747['from'],_0x127748=_0x230a08['lineAt'](_0x23f0f0),_0x569781=getContext(_0x7fc314['resolveInner'](_0x23f0f0,-0x1),_0x230a08);for(;_0x569781['length']&&_0x569781[_0x569781['length']-0x1]['from']>_0x23f0f0-_0x127748['from'];)_0x569781['pop']();if(!_0x569781['length'])return _0x81bb2a={'range':_0xf92747};let _0x53fca9=_0x569781[_0x569781['length']-0x1];if(_0x53fca9['to']-_0x53fca9['spaceAfter']['length']>_0x23f0f0-_0x127748['from'])return _0x81bb2a={'range':_0xf92747};let _0x19aae8=_0x23f0f0>=_0x53fca9['to']-_0x53fca9['spaceAfter']['length']&&!/\S/['test'](_0x127748['text']['slice'](_0x53fca9['to']));if(_0x53fca9['item']&&_0x19aae8){let _0x2653ef=_0x53fca9['node']['firstChild'],_0x55a111=_0x53fca9['node']['getChild']('ListItem','ListItem');if(_0x2653ef['to']>=_0x23f0f0||_0x55a111&&_0x55a111['to']<_0x23f0f0||_0x127748['from']>0x0&&!/[^\s>]/['test'](_0x230a08['lineAt'](_0x127748['from']-0x1)['text'])){let _0x1bf227,_0x1b7d80=_0x569781['length']>0x1?_0x569781[_0x569781['length']-0x2]:null,_0x292125='';_0x1b7d80&&_0x1b7d80['item']?(_0x1bf227=_0x127748['from']+_0x1b7d80['from'],_0x292125=_0x1b7d80['marker'](_0x230a08,0x1)):_0x1bf227=_0x127748['from']+(_0x1b7d80?_0x1b7d80['to']:0x0);let _0x38088f=[{'from':_0x1bf227,'to':_0x23f0f0,'insert':_0x292125}];return'OrderedList'==_0x53fca9['node']['name']&&renumberList(_0x53fca9['item'],_0x230a08,_0x38088f,-0x2),_0x1b7d80&&'OrderedList'==_0x1b7d80['node']['name']&&renumberList(_0x1b7d80['item'],_0x230a08,_0x38088f),{'range':EditorSelection['cursor'](_0x1bf227+_0x292125['length']),'changes':_0x38088f};}{let _0x860fd0=_0x57bc3f(_0x569781,_0x340f73,_0x127748);return{'range':EditorSelection['cursor'](_0x23f0f0+_0x860fd0['length']+0x1),'changes':{'from':_0x127748['from'],'insert':_0x860fd0+_0x340f73['lineBreak']}};}}if('Blockquote'==_0x53fca9['node']['name']&&_0x19aae8&&_0x127748['from']){let _0x33d9fc=_0x230a08['lineAt'](_0x127748['from']-0x1),_0x3447b5=/>\s*$/['exec'](_0x33d9fc['text']);if(_0x3447b5&&_0x3447b5['index']==_0x53fca9['from']){let _0x124ba6=_0x340f73['changes']([{'from':_0x33d9fc['from']+_0x3447b5['index'],'to':_0x33d9fc['to']},{'from':_0x127748['from']+_0x53fca9['from'],'to':_0x127748['to']}]);return{'range':_0xf92747['map'](_0x124ba6),'changes':_0x124ba6};}}let _0x45626e=[];'OrderedList'==_0x53fca9['node']['name']&&renumberList(_0x53fca9['item'],_0x230a08,_0x45626e);let _0x3a59c1=_0x53fca9['item']&&_0x53fca9['item']['from']<_0x127748['from'],_0x3dbc4e='';if(!_0x3a59c1||/^[\s\d.)\-+*>]*/['exec'](_0x127748['text'])[0x0]['length']>=_0x53fca9['to']){for(let _0x40184e=0x0,_0x461278=_0x569781['length']-0x1;_0x40184e<=_0x461278;_0x40184e++)_0x3dbc4e+=_0x40184e!=_0x461278||_0x3a59c1?_0x569781[_0x40184e]['blank'](_0x40184e<_0x461278?countColumn(_0x127748['text'],0x4,_0x569781[_0x40184e+0x1]['from'])-_0x3dbc4e['length']:null):_0x569781[_0x40184e]['marker'](_0x230a08,0x1);}let _0x445bde=_0x23f0f0;for(;_0x445bde>_0x127748['from']&&/\s/['test'](_0x127748['text']['charAt'](_0x445bde-_0x127748['from']-0x1));)_0x445bde--;return _0x3dbc4e=normalizeIndent(_0x3dbc4e,_0x340f73),nonTightList(_0x53fca9['node'],_0x340f73['doc'])&&(_0x3dbc4e=_0x57bc3f(_0x569781,_0x340f73,_0x127748)+_0x340f73['lineBreak']+_0x3dbc4e),_0x45626e['push']({'from':_0x445bde,'to':_0x23f0f0,'insert':_0x340f73['lineBreak']+_0x3dbc4e}),{'range':EditorSelection['cursor'](_0x445bde+_0x3dbc4e['length']+0x1),'changes':_0x45626e};});return!_0x81bb2a&&(_0x4ff8ab(_0x340f73['update'](_0x423bd2,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0);};function _0x55d207(_0x22c382){return'QuoteMark'==_0x22c382['name']||'ListMark'==_0x22c382['name'];}function nonTightList(_0x43b5b8,_0x134f06){if('OrderedList'!=_0x43b5b8['name']&&'BulletList'!=_0x43b5b8['name'])return!0x1;let _0x2bb839=_0x43b5b8['firstChild'],_0x365ce6=_0x43b5b8['getChild']('ListItem','ListItem');if(!_0x365ce6)return!0x1;let _0x1b60b0=_0x134f06['lineAt'](_0x2bb839['to']),_0x5fc901=_0x134f06['lineAt'](_0x365ce6['from']),_0x576a8a=/^[\s>]*$/['test'](_0x1b60b0['text']);return _0x1b60b0['number']+(_0x576a8a?0x0:0x1)<_0x5fc901['number'];}function _0x57bc3f(_0x24a487,_0x1a6b3a,_0x446489){let _0xea6312='';for(let _0x5ddcfd=0x0,_0x499a4e=_0x24a487['length']-0x2;_0x5ddcfd<=_0x499a4e;_0x5ddcfd++)_0xea6312+=_0x24a487[_0x5ddcfd]['blank'](_0x5ddcfd<_0x499a4e?countColumn(_0x446489['text'],0x4,Math['min'](_0x446489['text']['length'],_0x24a487[_0x5ddcfd+0x1]['from']))-_0xea6312['length']:null,_0x5ddcfd<_0x499a4e);return normalizeIndent(_0xea6312,_0x1a6b3a);}function contextNodeForDelete(_0x2676cd,_0x1f9c73){let _0x1e1f6e=_0x2676cd['resolveInner'](_0x1f9c73,-0x1),_0x84f980=_0x1f9c73;_0x55d207(_0x1e1f6e)&&(_0x84f980=_0x1e1f6e['from'],_0x1e1f6e=_0x1e1f6e['parent']);for(let _0x3e1ce2;_0x3e1ce2=_0x1e1f6e['childBefore'](_0x84f980);)if(_0x55d207(_0x3e1ce2))_0x84f980=_0x3e1ce2['from'];else{if('OrderedList'!=_0x3e1ce2['name']&&'BulletList'!=_0x3e1ce2['name'])break;_0x1e1f6e=_0x3e1ce2['lastChild'],_0x84f980=_0x1e1f6e['to'];}return _0x1e1f6e;}const deleteMarkupBackward=({state:_0x53caab,dispatch:_0x17523b})=>{let _0x1483c0=syntaxTree(_0x53caab),_0x1821ad=null,_0x3d1c04=_0x53caab['changeByRange'](_0x4a37d1=>{let _0x396b4e=_0x4a37d1['from'],{doc:_0x3128a2}=_0x53caab;if(_0x4a37d1['empty']&&_0x31e8a9['isActiveAt'](_0x53caab,_0x4a37d1['from'])){let _0x49937b=_0x3128a2['lineAt'](_0x396b4e),_0x386c6f=getContext(contextNodeForDelete(_0x1483c0,_0x396b4e),_0x3128a2);if(_0x386c6f['length']){let _0x5b8af2=_0x386c6f[_0x386c6f['length']-0x1],_0x50fd3c=_0x5b8af2['to']-_0x5b8af2['spaceAfter']['length']+(_0x5b8af2['spaceAfter']?0x1:0x0);if(_0x396b4e-_0x49937b['from']>_0x50fd3c&&!/\S/['test'](_0x49937b['text']['slice'](_0x50fd3c,_0x396b4e-_0x49937b['from'])))return{'range':EditorSelection['cursor'](_0x49937b['from']+_0x50fd3c),'changes':{'from':_0x49937b['from']+_0x50fd3c,'to':_0x396b4e}};if(_0x396b4e-_0x49937b['from']==_0x50fd3c&&(!_0x5b8af2['item']||_0x49937b['from']<=_0x5b8af2['item']['from']||!/\S/['test'](_0x49937b['text']['slice'](0x0,_0x5b8af2['to'])))){let _0x3f4e67=_0x49937b['from']+_0x5b8af2['from'];if(_0x5b8af2['item']&&_0x5b8af2['node']['from']<_0x5b8af2['item']['from']&&/\S/['test'](_0x49937b['text']['slice'](_0x5b8af2['from'],_0x5b8af2['to']))){let _0x21dca9=_0x5b8af2['blank'](countColumn(_0x49937b['text'],0x4,_0x5b8af2['to'])-countColumn(_0x49937b['text'],0x4,_0x5b8af2['from']));return _0x3f4e67==_0x49937b['from']&&(_0x21dca9=normalizeIndent(_0x21dca9,_0x53caab)),{'range':EditorSelection['cursor'](_0x3f4e67+_0x21dca9['length']),'changes':{'from':_0x3f4e67,'to':_0x49937b['from']+_0x5b8af2['to'],'insert':_0x21dca9}};}if(_0x3f4e67<_0x396b4e)return{'range':EditorSelection['cursor'](_0x3f4e67),'changes':{'from':_0x3f4e67,'to':_0x396b4e}};}}}return _0x1821ad={'range':_0x4a37d1};});return!_0x1821ad&&(_0x17523b(_0x53caab['update'](_0x3d1c04,{'scrollIntoView':!0x0,'userEvent':'delete'})),!0x0);},_0x28e3c4=[{'key':'Enter','run':insertNewlineContinueMarkup},{'key':'Backspace','run':deleteMarkupBackward}],htmlNoMatch=html({'matchClosingTags':!0x1});function _0x44ed13(_0x3e5477={}){let {codeLanguages:_0x4b922c,defaultCodeLanguage:_0x242bf3,addKeymap:_0x5e595e=!0x0,base:{parser:_0x5b8b18}=_0x2587c1,completeHTMLTags:_0x4f37e3=!0x0,htmlTagLanguage:_0x4102f3=htmlNoMatch}=_0x3e5477;if(!(_0x5b8b18 instanceof _0x3ec2bd))throw new RangeError('Base\x20parser\x20provided\x20to\x20`markdown`\x20should\x20be\x20a\x20Markdown\x20parser');let _0x386195,_0x539fbc=_0x3e5477['extensions']?[_0x3e5477['extensions']]:[],_0x4575b9=[_0x4102f3['support']];_0x242bf3 instanceof LanguageSupport?(_0x4575b9['push'](_0x242bf3['support']),_0x386195=_0x242bf3['language']):_0x242bf3&&(_0x386195=_0x242bf3);let _0x2054ac=_0x4b922c||_0x386195?getCodeParser(_0x4b922c,_0x386195):void 0x0;_0x539fbc['push'](_0x4ce72b({'codeParser':_0x2054ac,'htmlParser':_0x4102f3['language']['parser']})),_0x5e595e&&_0x4575b9['push'](_0x4004fa['high'](_0x1222e4['of'](_0x28e3c4)));let _0x2a087a=_0x9e80a5(_0x5b8b18['configure'](_0x539fbc));return _0x4f37e3&&_0x4575b9['push'](_0x2a087a['data']['of']({'autocomplete':htmlTagCompletion})),new LanguageSupport(_0x2a087a,_0x4575b9);}function htmlTagCompletion(_0x4329bc){let {state:_0x220c8b,pos:_0x9942ac}=_0x4329bc,_0x3237f5=/<[:\-\.\w\u00b7-\uffff]*$/['exec'](_0x220c8b['sliceDoc'](_0x9942ac-0x19,_0x9942ac));if(!_0x3237f5)return null;let _0x18e91a=syntaxTree(_0x220c8b)['resolveInner'](_0x9942ac,-0x1);for(;_0x18e91a&&!_0x18e91a['type']['isTop'];){if('CodeBlock'==_0x18e91a['name']||'FencedCode'==_0x18e91a['name']||'ProcessingInstructionBlock'==_0x18e91a['name']||'CommentBlock'==_0x18e91a['name']||'Link'==_0x18e91a['name']||'Image'==_0x18e91a['name'])return null;_0x18e91a=_0x18e91a['parent'];}return{'from':_0x9942ac-_0x3237f5[0x0]['length'],'to':_0x9942ac,'options':htmlTagCompletions(),'validFor':/^<[:\-\.\w\u00b7-\uffff]*$/};}let _tagCompletions=null;function htmlTagCompletions(){if(_tagCompletions)return _tagCompletions;let _0x475cfe=htmlCompletionSource(new CompletionContext(EditorState['create']({'extensions':htmlNoMatch}),0x0,!0x0));return _tagCompletions=_0x475cfe?_0x475cfe['options']:[];}const _0x3055c4='#e5c07b',_0x29bb23='#e06c75',_0x3ffb3b='#56b6c2',_0x2cb181='#ffffff',_0x4de883='#abb2bf',stone='#7d8799',_0x2950ff='#61afef',_0x1f2934='#98c379',_0x395924='#d19a66',violet='#c678dd',_0x2df064='#21252b',highlightBackground='#2c313a',_0x382173='#282c34',tooltipBackground='#353a42',selection='#3E4451',_0x151b5c='#528bff',_0x22aedc=EditorView['theme']({'&':{'color':_0x4de883,'backgroundColor':_0x382173},'.cm-content':{'caretColor':_0x151b5c},'.cm-cursor,\x20.cm-dropCursor':{'borderLeftColor':_0x151b5c},'&.cm-focused\x20>\x20.cm-scroller\x20>\x20.cm-selectionLayer\x20.cm-selectionBackground,\x20.cm-selectionBackground,\x20.cm-content\x20::selection':{'backgroundColor':selection},'.cm-panels':{'backgroundColor':_0x2df064,'color':_0x4de883},'.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':_0x382173,'color':stone,'border':'none'},'.cm-activeLineGutter':{'backgroundColor':highlightBackground},'.cm-foldPlaceholder':{'backgroundColor':'transparent','border':'none','color':'#ddd'},'.cm-tooltip':{'border':'none','backgroundColor':tooltipBackground},'.cm-tooltip\x20.cm-tooltip-arrow:before':{'borderTopColor':'transparent','borderBottomColor':'transparent'},'.cm-tooltip\x20.cm-tooltip-arrow:after':{'borderTopColor':tooltipBackground,'borderBottomColor':tooltipBackground},'.cm-tooltip-autocomplete':{'&\x20>\x20ul\x20>\x20li[aria-selected]':{'backgroundColor':highlightBackground,'color':_0x4de883}}},{'dark':!0x0}),oneDarkHighlightStyle=HighlightStyle['define']([{'tag':tags$1['keyword'],'color':violet},{'tag':[tags$1['name'],tags$1['deleted'],tags$1['character'],tags$1['propertyName'],tags$1['macroName']],'color':_0x29bb23},{'tag':[tags$1['function'](tags$1['variableName']),tags$1['labelName']],'color':_0x2950ff},{'tag':[tags$1['color'],tags$1['constant'](tags$1['name']),tags$1['standard'](tags$1['name'])],'color':_0x395924},{'tag':[tags$1['definition'](tags$1['name']),tags$1['separator']],'color':_0x4de883},{'tag':[tags$1['typeName'],tags$1['className'],tags$1['number'],tags$1['changed'],tags$1['annotation'],tags$1['modifier'],tags$1['self'],tags$1['namespace']],'color':_0x3055c4},{'tag':[tags$1['operator'],tags$1['operatorKeyword'],tags$1['url'],tags$1['escape'],tags$1['regexp'],tags$1['link'],tags$1['special'](tags$1['string'])],'color':_0x3ffb3b},{'tag':[tags$1['meta'],tags$1['comment']],'color':stone},{'tag':tags$1['strong'],'fontWeight':'bold'},{'tag':tags$1['emphasis'],'fontStyle':'italic'},{'tag':tags$1['strikethrough'],'textDecoration':'line-through'},{'tag':tags$1['link'],'color':stone,'textDecoration':'underline'},{'tag':tags$1['heading'],'fontWeight':'bold','color':_0x29bb23},{'tag':[tags$1['atom'],tags$1['bool'],tags$1['special'](tags$1['variableName'])],'color':_0x395924},{'tag':[tags$1['processingInstruction'],tags$1['string'],tags$1['inserted']],'color':_0x1f2934},{'tag':tags$1['invalid'],'color':_0x2cb181}]),_0x4c60a8=[_0x22aedc,syntaxHighlighting(oneDarkHighlightStyle)];function createCodeMirrorEditor(_0x15b76a){const _0x2ef24e=getDefaultExtensions(),_0x199258=new Compartment();_0x2ef24e['push'](_0x199258['of'](EditorView['editable']['of'](!0x0))),'html'===_0x15b76a['syntaxLanguage']?_0x2ef24e['push'](html()):_0x2ef24e['push'](_0x44ed13());const _0x4feaa3=_0x43912f(_0x15b76a['theme']);_0x4feaa3&&_0x2ef24e['push'](_0x4feaa3),_0x2ef24e['push'](...getKeybindings());const _0x4ba9fb=new EditorView({'extensions':_0x2ef24e,'parent':_0x15b76a['parent']});return toggleTabFocusMode(_0x4ba9fb),{'focus':()=>{_0x4ba9fb['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x4ba9fb['focus']();},'getData':()=>_0x4ba9fb['state']['doc']['toString'](),'setData':_0x1461aa=>{_0x4ba9fb['dispatch']({'changes':{'from':0x0,'to':_0x4ba9fb['state']['doc']['length'],'insert':_0x1461aa},'annotations':Transaction['addToHistory']['of'](!0x1)});},'setReadOnly':_0x2c5eb2=>{_0x4ba9fb['dispatch']({'effects':[_0x199258['reconfigure'](EditorView['editable']['of'](!_0x2c5eb2))]});},'destroy':()=>{_0x4ba9fb['destroy']();},'instance':_0x4ba9fb};}function _0x43912f(_0x318499){return _0x318499&&'default'!==_0x318499?'dark'===_0x318499?_0x4c60a8:_0x318499:null;}function getKeybindings(){return[_0x1222e4['of']([...closeBracketsKeymap,...defaultKeymap,...historyKeymap,..._0x58e31a,...completionKeymap,{'key':'Tab','run':indentMore,'shift':indentLess,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x49606d,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x49606d,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x3c3b6d,'preventDefault':!0x0,'stopPropagation':!0x0}])];}function getDefaultExtensions(){return[EditorView['lineWrapping'],autocompletion(),bracketMatching(),closeBrackets(),_0x5572d0(),drawSelection(),_0x17253d(),_0x2151b8(),foldGutter(),highlightActiveLine(),highlightActiveLineGutter(),highlightSpecialChars(),history(),indentOnInput(),rectangularSelection(),syntaxHighlighting(defaultHighlightStyle,{'fallback':!0x0})];}class CodeEditorView extends ckeditor5['View']{['_codeEditorApi']=null;['_options'];constructor(_0x173ec6,_0x40062b){super(_0x173ec6),this['_options']=_0x40062b,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']=createCodeMirrorEditor({'parent':this['element'],'syntaxLanguage':this['_options']['syntaxLanguage'],'theme':this['_options']['theme']}),this['on']('change:isReadOnly',(_0x3c409a,_0x3eb6ff,_0x46d139)=>{this['setReadOnly'](_0x46d139);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x5d290f){this['_codeEditorApi']['setData'](_0x5d290f);}['setReadOnly'](_0x5cb04f){this['_codeEditorApi']['setReadOnly'](_0x5cb04f);}}const _0x3f1c53='SourceEditingEnhancedMode';class EditSourceCommand extends ckeditor5['Command']{constructor(_0x1d6431){super(_0x1d6431),this['affectsData']=!0x1,this['editor']['plugins']['get'](ckeditor5['PendingActions'])['on']('change:hasAny',(_0x483f63,_0x4fcb9d,_0x22d3bf)=>{_0x22d3bf?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x2d536d=this['editor'];for(const _0x3b245c of _0x2d536d['commands']['names']())['replaceSource','editSource']['includes'](_0x3b245c)||_0x2d536d['commands']['get'](_0x3b245c)['forceDisabled'](_0x3f1c53);}['_enableCommands'](){const _0x235ad1=this['editor'];for(const _0x4e400c of _0x235ad1['commands']['commands']())_0x4e400c['clearForceDisabled'](_0x3f1c53);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x4b135e=this['editor'],_0x2c6116=_0x4b135e['locale'],_0x45d52e=_0x4b135e['plugins']['get']('Dialog'),_0x44e7eb=getActiveRootName(_0x4b135e),_0x5b0522=formatSource(_0x4b135e['data']['get']({'rootName':_0x44e7eb})),_0x7de8d=new CodeEditorView(_0x2c6116,{'syntaxLanguage':_0x4b135e['plugins']['has']('Markdown')?'markdown':'html','theme':_0x4b135e['config']['get']('sourceEditingEnhanced.theme')});let _0x57b376=!0x0;const _0x33d454=_0x2e914d=>{if(!_0x57b376)return;return unformatSource(_0x7de8d['getData']())!==unformatSource(_0x5b0522)?window['confirm'](getTranslation$2(_0x2c6116,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x2e914d['stop']():void 0x0;};_0x45d52e['show']({'id':'sourceEditingEnhanced','title':getTranslation$2(_0x2c6116,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x7de8d,'actionButtons':[{'label':getTranslation$2(_0x2c6116,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x45d52e['hide']();}},{'label':getTranslation$2(_0x2c6116,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0xfdd31b=unformatSource(_0x7de8d['getData']())!==unformatSource(_0x5b0522);(_0xfdd31b&&_0x4b135e['execute']('replaceSource',_0x7de8d['getData']()),_0x57b376=!0x1,_0x45d52e['hide'](),_0xfdd31b&&'editables'in _0x4b135e['ui']['view'])&&_0x4b135e['ui']['view']['editables'][_0x44e7eb]['element']['focus']();},'onCreate':_0x2823b=>{_0x2823b['set']('isEnabled',!_0x4b135e['isReadOnly']),_0x2823b['bind']('isEnabled')['to'](_0x4b135e,'isReadOnly',this,'isEnabled',(_0x568fa3,_0x2027d9)=>!_0x568fa3&&_0x2027d9);}}],'onHide':()=>{this['_enableCommands'](),_0x45d52e['off']('hide',_0x33d454),_0x7de8d['destroy']();},'onShow':()=>{_0x7de8d['bind']('isReadOnly')['to'](_0x4b135e,'isReadOnly',this,'isEnabled',(_0x5fb909,_0x4056e7)=>_0x5fb909||!_0x4056e7),_0x7de8d['setData'](_0x5b0522),_0x7de8d['focus'](),_0x45d52e['on']('hide',_0x33d454,{'priority':'highest'}),this['_disableCommands']();}});}}class SourceEditingEnhancedUI extends ckeditor5['Plugin']{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[ckeditor5['PendingActions']];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x93508b=this['editor'],_0x7582bc=_0x93508b['locale'],_0x4d2e40=new EditSourceCommand(_0x93508b);_0x93508b['commands']['add']('editSource',_0x4d2e40),_0x93508b['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x3076d1=this['_createButton'](ckeditor5['ButtonView'],_0x4d2e40);return _0x3076d1['set']({'label':getTranslation$2(_0x7582bc,'Source'),'icon':ckeditor5['IconSource'],'tooltip':getTranslation$2(_0x7582bc,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x3076d1;}),_0x93508b['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x5592f5=this['_createButton'](ckeditor5['MenuBarMenuListItemButtonView'],_0x4d2e40,!0x0);return _0x5592f5['set']({'label':getTranslation$2(_0x7582bc,'Edit\x20source\x20modal\x20label'),'icon':ckeditor5['IconSource'],'role':'menuitemcheckbox'}),_0x5592f5;}),this['_registerKeybindings']();}['afterInit'](){_0x30c065(this);}['_createButton'](_0x1dca34,_0xcb454f,_0x2bcfa7=!0x1){const _0x10fffd=new _0x1dca34(this['editor']['locale']);return _0x10fffd['set']({'withText':_0x2bcfa7,'isToggleable':!0x1}),_0x10fffd['bind']('isEnabled')['to'](_0xcb454f,'isEnabled'),this['listenTo'](_0x10fffd,'execute',()=>_0xcb454f['execute']()),_0x10fffd;}['_registerKeybindings'](){const _0x5dd40f=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':getTranslation$2(_0x5dd40f,'Source\x20Editing\x20Enhanced')});const _0x139f8f=ckeditor5['env']['isMac']||ckeditor5['env']['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':getTranslation$2(_0x5dd40f,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':getTranslation$2(_0x5dd40f,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':getTranslation$2(_0x5dd40f,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':getTranslation$2(_0x5dd40f,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':getTranslation$2(_0x5dd40f,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':getTranslation$2(_0x5dd40f,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':getTranslation$2(_0x5dd40f,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x139f8f?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':getTranslation$2(_0x5dd40f,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':getTranslation$2(_0x5dd40f,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':getTranslation$2(_0x5dd40f,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':getTranslation$2(_0x5dd40f,'Select\x20line'),'keystroke':_0x139f8f?'Ctrl!+L':'Alt+L'},{'label':getTranslation$2(_0x5dd40f,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x139f8f?'Alt+Shift+M':'Ctrl+M'},{'label':getTranslation$2(_0x5dd40f,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':getTranslation$2(_0x5dd40f,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':getTranslation$2(_0x5dd40f,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':getTranslation$2(_0x5dd40f,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':getTranslation$2(_0x5dd40f,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x139f8f?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}async function _0x30c065(_0x52878e){const _0x411174=_0x2b5d39([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]),_0x301df2=window[_0x2b5d39([0x44,0x61,0x74,0x65])][_0x2b5d39([0x6e,0x6f,0x77])](),_0x579759=_0x52878e[_0x2b5d39([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x366cd7=new window[(_0x2b5d39([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a9cda=>{_0x579759[_0x2b5d39([0x6f,0x6e,0x63,0x65])](_0x2b5d39([0x72,0x65,0x61,0x64,0x79]),_0x2a9cda);}),_0x5844f4={[_0x2b5d39([0x6b,0x74,0x79])]:_0x2b5d39([0x45,0x43]),[_0x2b5d39([0x75,0x73,0x65])]:_0x2b5d39([0x73,0x69,0x67]),[_0x2b5d39([0x63,0x72,0x76])]:_0x2b5d39([0x50,0x2d,0x32,0x35,0x36]),[_0x2b5d39([0x78])]:_0x2b5d39([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]),[_0x2b5d39([0x79])]:_0x2b5d39([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]),[_0x2b5d39([0x61,0x6c,0x67])]:_0x2b5d39([0x45,0x53,0x32,0x35,0x36])},_0x2460fe=_0x579759[_0x2b5d39([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2b5d39([0x67,0x65,0x74])](_0x2b5d39([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x55ec58=await(async function(){let _0x35b7e5,_0x560a35=null,_0x10ef6c=null;try{if(_0x2460fe==_0x2b5d39([0x47,0x50,0x4c]))return _0x2b5d39([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x35b7e5=(function(){const _0x2f7a8f=_0x2460fe[_0x2b5d39([0x73,0x70,0x6c,0x69,0x74])](_0x2b5d39([0x2e]));if(0x3!=_0x2f7a8f[_0x2b5d39([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0xcfcc1b=_0x2f7a8f[0x1];return _0x3e1be3(_0xcfcc1b);function _0x3e1be3(_0x253e1a){const _0x15a043=_0xa68dc6(_0x253e1a);return _0x15a043&&_0x38d59d()?_0x15a043:null;function _0x38d59d(){const _0x350700=_0x15a043[_0x2b5d39([0x6a,0x74,0x69])],_0x596bb9=window[_0x2b5d39([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x350700[_0x2b5d39([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x350700[_0x2b5d39([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3765eb={..._0x15a043,[_0x2b5d39([0x6a,0x74,0x69])]:_0x350700[_0x2b5d39([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x350700[_0x2b5d39([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3765eb[_0x2b5d39([0x76,0x63])],_0x2465a5(_0x3765eb)==_0x596bb9;}}}()),!_0x35b7e5)return _0x2b5d39([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x35b7e5[_0x2b5d39([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x10ef6c=function(_0x49e465,_0x32a8d8){return new window[(_0x2b5d39([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2881d9=>{if(_0x28ba11())return _0x2881d9(_0x2b5d39([0x56,0x61,0x6c,0x69,0x64]));_0x2df0df(),_0x579759[_0x2b5d39([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2b5d39([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1d1155=!0x1;const _0x670e89=ckeditor5['uid']();function _0x2e8337(_0x287640){return!!_0x287640&&(typeof _0x287640===_0x2b5d39([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x287640===_0x2b5d39([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x287640[_0x2b5d39([0x74,0x68,0x65,0x6e])]===_0x2b5d39([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x287640[_0x2b5d39([0x63,0x61,0x74,0x63,0x68])]===_0x2b5d39([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x566846(_0x1cc5ca){_0x760cce(_0x1cc5ca)[_0x2b5d39([0x74,0x68,0x65,0x6e])](_0x451f76=>{if(!_0x451f76||_0x451f76[_0x2b5d39([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2b5d39([0x6f,0x6b]))return _0x2b5d39([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2c892c(_0x2465a5(_0x670e89+_0x32a8d8))!=_0x451f76[_0x2b5d39([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2b5d39([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2b5d39([0x56,0x61,0x6c,0x69,0x64]);})[_0x2b5d39([0x74,0x68,0x65,0x6e])](_0x1f19d4=>(_0x587f1e(),_0x1f19d4),()=>{const _0x13ae4e=_0x175585();return null==_0x13ae4e?(_0x587f1e(),_0x2b5d39([0x56,0x61,0x6c,0x69,0x64])):_0x2b5d39(_0x301df2-_0x13ae4e>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2b5d39([0x74,0x68,0x65,0x6e])](_0x2881d9)[_0x2b5d39([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2881d9(_0x2b5d39([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x13d298=0x36ee80;function _0x587f1e(){const _0x2a0449=_0x2b5d39([0x6c,0x6c,0x63,0x74,0x2d])+_0x2c892c(_0x2465a5(_0x49e465)),_0x1facc7=_0x153f01(_0x2c892c(window[_0x2b5d39([0x4d,0x61,0x74,0x68])][_0x2b5d39([0x63,0x65,0x69,0x6c])](_0x301df2/_0x13d298)));window[_0x2b5d39([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2b5d39([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2a0449,_0x1facc7);}function _0x175585(){const _0x2b5703=_0x2b5d39([0x6c,0x6c,0x63,0x74,0x2d])+_0x2c892c(_0x2465a5(_0x49e465)),_0x1244a4=window[_0x2b5d39([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2b5d39([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2b5703);return _0x1244a4?window[_0x2b5d39([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x153f01(_0x1244a4),0x10)*_0x13d298:null;}function _0x760cce(_0x455524){return new window[(_0x2b5d39([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4c3818,_0x319adb)=>{_0x455524[_0x2b5d39([0x74,0x68,0x65,0x6e])](_0x4c3818,_0x319adb),window[_0x2b5d39([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x319adb,0x1d4c0);});}}_0x579759[_0x2b5d39([0x6f,0x6e])](_0x2b5d39([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5b4831,_0x1aa496)=>{if(_0x1aa496[0x0]!=_0x49e465)return _0x2881d9(_0x2b5d39([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1aa496[0x1]={..._0x1aa496[0x1],[_0x2b5d39([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x670e89};},{[_0x2b5d39([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2b5d39([0x68,0x69,0x67,0x68])}),_0x579759[_0x2b5d39([0x6f,0x6e])](_0x2b5d39([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2a5dce=>{_0x2e8337(_0x2a5dce[_0x2b5d39([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1d1155=!0x0,_0x566846(_0x2a5dce[_0x2b5d39([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2b5d39([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2b5d39([0x6c,0x6f,0x77])}),_0x366cd7[_0x2b5d39([0x74,0x68,0x65,0x6e])](()=>{_0x1d1155||_0x2881d9(_0x2b5d39([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x28ba11(){return _0x579759[_0x2b5d39([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2b5d39([0x76,0x69,0x65,0x77])][_0x2b5d39([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2b5d39([0x61,0x75,0x74,0x6f]);}function _0x2df0df(){_0x579759[_0x2b5d39([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2b5d39([0x76,0x69,0x65,0x77])][_0x2b5d39([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2b5d39([0x61,0x75,0x74,0x6f]);}}(_0x35b7e5[_0x2b5d39([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x35b7e5[_0x2b5d39([0x6a,0x74,0x69])]));const _0x537798=await(async function(){let _0x48385c=!0x0;try{const _0x3098ea=_0x2460fe[_0x2b5d39([0x73,0x70,0x6c,0x69,0x74])](_0x2b5d39([0x2e])),[_0x1c8b0a,_0x373418,_0x1ba1dd]=_0x3098ea;return _0x369481(_0x1c8b0a),await _0x585f92(_0x1c8b0a,_0x373418,_0x1ba1dd),_0x48385c;}catch{return!0x1;}function _0x369481(_0x4fb587){const _0x2e509a=_0xa68dc6(_0x4fb587);_0x2e509a&&_0x2e509a[_0x2b5d39([0x61,0x6c,0x67])]==_0x2b5d39([0x45,0x53,0x32,0x35,0x36])||(_0x48385c=!0x1);}async function _0x585f92(_0x1a3318,_0x13f87e,_0x475111){const _0x57c518=window[_0x2b5d39([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2b5d39([0x66,0x72,0x6f,0x6d])](_0x1c3670(_0x475111),_0x1119f1=>_0x1119f1[_0x2b5d39([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xe9cf22=new window[(_0x2b5d39([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2b5d39([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1a3318+_0x2b5d39([0x2e])+_0x13f87e),_0x41783b=window[_0x2b5d39([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2b5d39([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x41783b)return;const _0x50e260=await _0x41783b[_0x2b5d39([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2b5d39([0x6a,0x77,0x6b]),_0x5844f4,{[_0x2b5d39([0x6e,0x61,0x6d,0x65])]:_0x2b5d39([0x45,0x43,0x44,0x53,0x41]),[_0x2b5d39([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2b5d39([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2b5d39([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x41783b[_0x2b5d39([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2b5d39([0x6e,0x61,0x6d,0x65])]:_0x2b5d39([0x45,0x43,0x44,0x53,0x41]),[_0x2b5d39([0x68,0x61,0x73,0x68])]:{[_0x2b5d39([0x6e,0x61,0x6d,0x65])]:_0x2b5d39([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x50e260,_0x57c518,_0xe9cf22)||(_0x48385c=!0x1);}}());return _0x537798?(function(){const _0x12a0ae=_0x35b7e5[_0x2b5d39([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x12a0ae)return!0x1;if(_0x12a0ae[_0x2b5d39([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b5d39([0x2a])))return!0x0;if(_0x12a0ae[_0x2b5d39([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b5d39([0x53,0x45,0x45])))return!0x0;return!0x1;}())?(function(){const _0x50a2bf=[_0x2b5d39([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2b5d39([0x74,0x72,0x69,0x61,0x6c])][_0x2b5d39([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35b7e5[_0x2b5d39([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x301df2/0x3e8:0x6a03bf00;return _0x35b7e5[_0x2b5d39([0x65,0x78,0x70])]<_0x50a2bf;}())?_0x2b5d39([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x335e8b=_0x35b7e5[_0x2b5d39([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x335e8b||0x0==_0x335e8b[_0x2b5d39([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5d1b90}=new URL(window[_0x2b5d39([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x335e8b[_0x2b5d39([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d1b90))return!0x0;const _0x20823d=_0x5d1b90[_0x2b5d39([0x73,0x70,0x6c,0x69,0x74])](_0x2b5d39([0x2e]));return _0x335e8b[_0x2b5d39([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5f2f0d=>_0x5f2f0d[_0x2b5d39([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b5d39([0x2a])))[_0x2b5d39([0x6d,0x61,0x70])](_0x36ebc2=>_0x36ebc2[_0x2b5d39([0x73,0x70,0x6c,0x69,0x74])](_0x2b5d39([0x2e])))[_0x2b5d39([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3cfb76=>_0x3cfb76[_0x2b5d39([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x20823d[_0x2b5d39([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2b5d39([0x6d,0x61,0x70])](_0x3f9de0=>Array(_0x20823d[_0x2b5d39([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3f9de0[_0x2b5d39([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2b5d39([0x66,0x69,0x6c,0x6c])](_0x3f9de0[0x0]===_0x2b5d39([0x2a])?_0x2b5d39([0x2a]):'')[_0x2b5d39([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3f9de0))[_0x2b5d39([0x73,0x6f,0x6d,0x65])](_0x503bb5=>_0x20823d[_0x2b5d39([0x65,0x76,0x65,0x72,0x79])]((_0x4c2957,_0x501f29)=>_0x503bb5[_0x501f29]===_0x4c2957||_0x503bb5[_0x501f29]===_0x2b5d39([0x2a])));}())?(_0x35b7e5[_0x2b5d39([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2b5d39([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x560a35=function(_0x279cca){const _0x2aaef1=new window[(_0x2b5d39([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1be524=>setTimeout(_0x1be524,0x93ecc)),_0x2606fa=_0x366cd7[_0x2b5d39([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2b5d39([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x296147=>{let _0x408202=0x0;_0x579759[_0x2b5d39([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b5d39([0x6f,0x6e])](_0x2b5d39([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x16c218,_0x297e53)=>{_0x297e53[0x0][_0x2b5d39([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x408202++,0x5e8==_0x408202&&(_0x296147(),_0x16c218[_0x2b5d39([0x6f,0x66,0x66])]());});})),_0x4c9f23=[_0x2aaef1,_0x2606fa];return window[_0x2b5d39([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2b5d39([0x72,0x61,0x63,0x65])](_0x4c9f23)[_0x2b5d39([0x74,0x68,0x65,0x6e])](()=>_0x279cca);}(_0x2b5d39([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x560a35&&_0x10ef6c)return new window[(_0x2b5d39([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x38aa3e,_0x4ecedf)=>{_0x560a35[_0x2b5d39([0x74,0x68,0x65,0x6e])](_0x38aa3e,_0x4ecedf),_0x10ef6c[_0x2b5d39([0x74,0x68,0x65,0x6e])](_0x68e987=>{_0x68e987!=_0x2b5d39([0x56,0x61,0x6c,0x69,0x64])&&_0x38aa3e(_0x68e987);},_0x4ecedf);});return _0x560a35||_0x10ef6c||_0x2b5d39([0x56,0x61,0x6c,0x69,0x64]);}())):_0x2b5d39([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2b5d39([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2b5d39([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2b5d39([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0xa68dc6(_0x38b3b9){return _0x38b3b9[_0x2b5d39([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2b5d39([0x65,0x79]))?JSON[_0x2b5d39([0x70,0x61,0x72,0x73,0x65])](_0x1c3670(_0x38b3b9)):null;}function _0x1c3670(_0x494f94){return window[_0x2b5d39([0x61,0x74,0x6f,0x62])](_0x494f94[_0x2b5d39([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2b5d39([0x2b]))[_0x2b5d39([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2b5d39([0x2f])));}function _0x2465a5(_0x1227eb){let _0xff80dd=0x1505;function _0x3a725e(_0x3de45d){for(let _0x25177e=0x0;_0x25177e<_0x3de45d[_0x2b5d39([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x25177e++){const _0x393e2e=_0x3de45d[_0x2b5d39([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x25177e);_0xff80dd=(_0xff80dd<<0x5)+_0xff80dd+_0x393e2e,_0xff80dd&=_0xff80dd;}}return function _0x51c540(_0x5be0e8){Array[_0x2b5d39([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5be0e8)?_0x5be0e8[_0x2b5d39([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x51c540):_0x5be0e8&&typeof _0x5be0e8==_0x2b5d39([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2b5d39([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5be0e8)[_0x2b5d39([0x73,0x6f,0x72,0x74])]()[_0x2b5d39([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x312c80,_0x3e1da9])=>{_0x3a725e(_0x312c80),_0x51c540(_0x3e1da9);}):_0x3a725e(window[_0x2b5d39([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5be0e8));}(_0x1227eb),_0xff80dd>>>0x0;}function _0x2c892c(_0x5c333d){return _0x5c333d[_0x2b5d39([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2b5d39([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2b5d39([0x30]));}function _0x153f01(_0x1814d8){return _0x1814d8[_0x2b5d39([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2b5d39([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2b5d39([0x6a,0x6f,0x69,0x6e])]('');}function _0x2920dc(){}function _0x2b5d39(_0x50201f){return _0x50201f['map'](_0x144220=>String['fromCharCode'](_0x144220))['join']('');}!function(_0x6e06ac){const _0x409fa5=(function(){const _0x3ddcc2=window[_0x2b5d39([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2b5d39([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2b5d39([0x6e,0x6f,0x77])]())[_0x2b5d39([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2b5d39([0x2e]),'');let _0x32d5c1=_0x2b5d39([0x4e]);for(let _0x33d268=0x0;_0x33d268<_0x3ddcc2[_0x2b5d39([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x33d268+=0x2){let _0x4c665e=window[_0x2b5d39([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ddcc2[_0x2b5d39([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x33d268,_0x33d268+0x2));_0x4c665e>=_0x411174[_0x2b5d39([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4c665e-=_0x411174[_0x2b5d39([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x32d5c1+=_0x411174[_0x4c665e];}return _0x32d5c1;}());_0x579759[_0x409fa5]=_0x2b5d39([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])+_0x6e06ac,_0x6e06ac!=_0x2b5d39([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x366cd7,_0x579759[_0x2b5d39([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b5d39([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2920dc,_0x579759[_0x2b5d39([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b5d39([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2920dc,_0x579759[_0x2b5d39([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2b5d39([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x55ec58);}class _0x336e90 extends ckeditor5['Command']{constructor(_0x28b721){super(_0x28b721),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x4344c3,_0x129ae7){const _0x3303cd=this['editor'],_0x10eafe=_0x129ae7?.['rootName']??getActiveRootName(_0x3303cd);_0x3303cd['data']['set']({[_0x10eafe]:_0x4344c3},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class SourceEditingEnhanced extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[SourceEditingEnhancedUI];}constructor(_0x1f156b){super(_0x1f156b),_0x1f156b['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new _0x336e90(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4037b3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2cc2c8;for(const _0x2b655e in _0x4037b3){const _0x55e8a0=_0x2b655e,_0x53d63b=_0x4037b3[_0x55e8a0];if('sourceEditingEnhancedLicenseKeyValid'==_0x53d63b||'sourceEditingEnhancedLicenseKeyInvalid'==_0x53d63b||'sourceEditingEnhancedLicenseKeyExpired'==_0x53d63b||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x53d63b||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x53d63b||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x53d63b||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x53d63b){delete _0x4037b3[_0x55e8a0],_0x2cc2c8=_0x53d63b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x2cc2c8&&_0x4037b3['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x2cc2c8&&_0x4037b3['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x2cc2c8&&_0x4037b3['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x2cc2c8&&_0x4037b3['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x2cc2c8&&_0x4037b3['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x2cc2c8&&_0x4037b3['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x3cad52=this['editor'],_0x287a36=_0x3cad52['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x287a36&&_0x3cad52['plugins']['has']('RealTimeCollaborativeEditing'))throw new ckeditor5['CKEditorError']('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x287a36&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x34e5f0=>_0x3cad52['plugins']['has'](_0x34e5f0))&&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.'),_0x3cad52['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 ckeditor5['Command']{['execute'](_0x397259){const {model:_0x27d361}=this['editor'];let _0x6e2f79;switch(typeof _0x397259){case'string':_0x6e2f79=_0x397259;break;case'function':_0x6e2f79=_0x397259();}'string'==typeof _0x6e2f79&&_0x27d361['change'](()=>{const _0xf20085=this['editor']['data']['htmlProcessor']['toView'](_0x6e2f79),_0x294961=this['editor']['data']['toModel'](_0xf20085);_0x27d361['insertContent'](_0x294961);});}}class TemplateEditing extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x15b6ca}=this;_0x15b6ca['commands']['add']('insertTemplate',new TemplateCommand(_0x15b6ca)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x491563=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x454313;for(const _0x43c174 in _0x491563){const _0x3068f0=_0x43c174,_0x2bb14a=_0x491563[_0x3068f0];if('templateLicenseKeyValid'==_0x2bb14a||'templateLicenseKeyInvalid'==_0x2bb14a||'templateLicenseKeyExpired'==_0x2bb14a||'templateLicenseKeyDomainLimit'==_0x2bb14a||'templateLicenseKeyNotAllowed'==_0x2bb14a||'templateLicenseKeyEvaluationLimit'==_0x2bb14a||'templateLicenseKeyUsageLimit'==_0x2bb14a){delete _0x491563[_0x3068f0],_0x454313=_0x2bb14a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x454313&&_0x491563['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x454313&&_0x491563['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x454313&&_0x491563['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x454313&&_0x491563['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x454313&&_0x491563['_showLicenseError']('evaluationLimit'),'templateLicenseKeyUsageLimit'==_0x454313&&_0x491563['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TemplateListView extends ckeditor5['ListView']{['filter'](_0x46ded0){if(!_0x46ded0)return this['_resetFiltering']();const _0x33077e=new Map(),_0x4ad683=this['items']['map'](_0x3c2f3a=>{const _0x40c23f=_0x3c2f3a['buttonView']['isMatching'](_0x46ded0);return _0x3c2f3a['isVisible']=!!_0x40c23f,_0x3c2f3a['buttonView']['highlightText'](_0x40c23f?_0x46ded0:null),_0x40c23f&&_0x33077e['set'](_0x3c2f3a,_0x40c23f),_0x3c2f3a;})['sort'](unsortListItemsCallback)['sort'](getSortListItemsCallback(_0x33077e));return this['items']['clear'](),this['items']['addMany'](_0x4ad683),{'resultsCount':_0x33077e['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x14d8a1=this['items']['map'](_0x5c571c=>_0x5c571c)['sort'](unsortListItemsCallback);return _0x14d8a1['forEach'](_0x290a0d=>{_0x290a0d['isVisible']=!0x0,_0x290a0d['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x14d8a1),{'resultsCount':_0x14d8a1['length'],'totalItemsCount':_0x14d8a1['length']};}}function getSortListItemsCallback(_0x494c99){return function(_0x20d858,_0x4ba965){const _0x2c55b1=_0x494c99['get'](_0x20d858),_0x6f9cd4=_0x494c99['get'](_0x4ba965);return _0x2c55b1&&!_0x6f9cd4?-0x1:_0x6f9cd4&&!_0x2c55b1?0x1:_0x2c55b1||_0x6f9cd4?_0x2c55b1['title']&&!_0x6f9cd4['title']?-0x1:!_0x2c55b1['title']&&_0x6f9cd4['title']?0x1:0x0:0x0;};}function unsortListItemsCallback(_0x5cd09a,_0x4ea7f3){return _0x5cd09a['originalIndex']-_0x4ea7f3['originalIndex'];}class TemplateListItemView extends ckeditor5['ListItemView']{['originalIndex'];['buttonView'];constructor(_0x59a26a,_0x20fa7f){super(_0x59a26a),this['originalIndex']=_0x20fa7f,this['buttonView']=null;}}class TemplateListButtonView extends ckeditor5['ButtonView']{['templateDefinition'];['textPartView'];constructor(_0xbfebac,_0x5a08e3){super(_0xbfebac),this['templateDefinition']=_0x5a08e3,this['textPartView']=null;const {icon:_0x319898=ckeditor5['IconTemplateGeneric']}=_0x5a08e3;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x319898}),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'](_0x9be775){const {title:_0x30f669,description:_0x3d9b4d}=this['templateDefinition'],_0x467e47=!!_0x30f669['match'](_0x9be775),_0x183946=!(!_0x3d9b4d||!_0x3d9b4d['match'](_0x9be775));return _0x467e47||_0x183946?{'title':_0x467e47,'description':_0x183946}:null;}['highlightText'](_0xdaf462){this['textPartView']['highlightText'](_0xdaf462);}}class TextPartView extends ckeditor5['View']{constructor(_0x4af311,_0x180228,_0x292e17){super(_0x4af311),this['title']=_0x180228['title'],this['description']=_0x180228['description'],this['titleView']=new ckeditor5['HighlightedTextView'](),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x292e17}});const _0x49b49d=[this['titleView']];this['description']&&(this['descriptionView']=new ckeditor5['HighlightedTextView'](),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x49b49d['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x49b49d});}['highlightText'](_0x50e04c){this['titleView']['highlightText'](_0x50e04c),this['description']&&this['descriptionView']['highlightText'](_0x50e04c);}}function getTranslation$1(_0x3e3746,_0x1e00cc,..._0x2780cc){const t=_0x3e3746['t'];switch(_0x1e00cc){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x2780cc);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',..._0x2780cc);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x1e00cc;}}class TemplateUI extends ckeditor5['Plugin']{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x335198}=this,_0x544a3e=_0x335198['config']['get']('template.definitions')||[];_0x335198['ui']['componentFactory']['add']('insertTemplate',_0x18a023=>{const _0x52dbab=ckeditor5['createDropdown'](_0x18a023),_0x1a2b63=this['_createTemplateListView'](_0x18a023,_0x544a3e),_0x235f2a=new ckeditor5['SearchTextView'](_0x18a023,{'filteredView':_0x1a2b63,'queryView':{'label':getTranslation$1(_0x18a023,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x837b0a=>getTranslation$1(_0x18a023,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x837b0a),'secondary':getTranslation$1(_0x18a023,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':getTranslation$1(_0x18a023,'No\x20templates\x20available.')}}}}),_0x3a502e=_0x335198['commands']['get']('insertTemplate');return _0x235f2a['on']('search',(_0x3a498f,_0x431dfc)=>{_0x431dfc['query']&&_0x431dfc['query']['length']&&_0x335198['ui']['ariaLiveAnnouncer']['announce'](getTranslation$1(_0x18a023,'%0\x20templates\x20found',_0x431dfc['resultsCount']));}),_0x52dbab['bind']('isEnabled')['to'](_0x3a502e),_0x52dbab['panelView']['children']['add'](_0x235f2a),_0x52dbab['buttonView']['set']({'label':getTranslation$1(_0x18a023,'Insert\x20template'),'icon':ckeditor5['IconTemplate'],'tooltip':!0x0}),_0x52dbab['on']('change:isOpen',(_0x1ecd50,_0x53e5ff,_0x3475b1)=>{_0x3475b1||_0x235f2a['reset']();}),_0x52dbab;}),_0x335198['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x30c292=>{const _0xf856d2=_0x335198['commands']['get']('insertTemplate'),_0x4b69c9=new ckeditor5['MenuBarMenuView'](_0x30c292);_0x4b69c9['buttonView']['set']({'label':getTranslation$1(_0x30c292,'Template'),'icon':ckeditor5['IconTemplate']});const _0x3fa0aa=new ckeditor5['MenuBarMenuListView'](_0x30c292);if(!_0x544a3e||!_0x544a3e['length']){const _0x2f261b=new ckeditor5['MenuBarMenuListItemView'](_0x30c292,_0x4b69c9),_0x58a89a=new ckeditor5['MenuBarMenuListItemButtonView'](_0x30c292);_0x58a89a['set']({'label':getTranslation$1(_0x30c292,'No\x20templates\x20available.')}),_0x58a89a['delegate']('execute')['to'](_0x4b69c9),_0x58a89a['on']('execute',()=>{_0x335198['editing']['view']['focus']();}),_0x2f261b['children']['add'](_0x58a89a),_0x3fa0aa['items']['add'](_0x2f261b);}for(const _0x695a2 of _0x544a3e){const _0x34ccf0=new ckeditor5['MenuBarMenuListItemView'](_0x30c292,_0x4b69c9),_0x4feac9=new ckeditor5['MenuBarMenuListItemButtonView'](_0x30c292);_0x4feac9['set']({'class':'ck-template-button','label':_0x695a2['title'],'icon':_0x695a2['icon']||ckeditor5['IconTemplateGeneric']}),_0x4feac9['delegate']('execute')['to'](_0x4b69c9),_0x4feac9['on']('execute',()=>{_0x335198['execute']('insertTemplate',_0x695a2['data']),_0x335198['editing']['view']['focus']();}),_0x34ccf0['children']['add'](_0x4feac9),_0x3fa0aa['items']['add'](_0x34ccf0);}return _0x4b69c9['panelView']['children']['add'](_0x3fa0aa),_0x4b69c9['bind']('isEnabled')['to'](_0xf856d2,'isEnabled'),_0x4b69c9;});}['afterInit'](){_0x216167(this);}['_createTemplateListView'](_0x44ccbb,_0x143774){const {editor:_0x495ffb}=this,_0x37c024=new TemplateListView(_0x44ccbb);return _0x37c024['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x37c024['items']['addMany'](_0x143774['map']((_0x186771,_0x46ff45)=>{const _0x3e70af=new TemplateListItemView(_0x44ccbb,_0x46ff45),_0x1b814e=new TemplateListButtonView(_0x44ccbb,_0x186771);return _0x3e70af['buttonView']=_0x1b814e,_0x3e70af['children']['add'](_0x1b814e),_0x3e70af['buttonView']['on']('execute',_0x5116bd=>{_0x495ffb['execute']('insertTemplate',_0x5116bd['source']['templateDefinition']['data']),_0x495ffb['editing']['view']['focus']();}),_0x3e70af;})),_0x37c024;}}async function _0x216167(_0x490ebd){const _0x5d23ce=_0x70b09([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]),_0x24aa5d=window[_0x70b09([0x44,0x61,0x74,0x65])][_0x70b09([0x6e,0x6f,0x77])](),_0x3a45be=_0x490ebd[_0x70b09([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5b9e2f=new window[(_0x70b09([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57c418=>{_0x3a45be[_0x70b09([0x6f,0x6e,0x63,0x65])](_0x70b09([0x72,0x65,0x61,0x64,0x79]),_0x57c418);}),_0x53ce8a={[_0x70b09([0x6b,0x74,0x79])]:_0x70b09([0x45,0x43]),[_0x70b09([0x75,0x73,0x65])]:_0x70b09([0x73,0x69,0x67]),[_0x70b09([0x63,0x72,0x76])]:_0x70b09([0x50,0x2d,0x32,0x35,0x36]),[_0x70b09([0x78])]:_0x70b09([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]),[_0x70b09([0x79])]:_0x70b09([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]),[_0x70b09([0x61,0x6c,0x67])]:_0x70b09([0x45,0x53,0x32,0x35,0x36])},_0x22618a=_0x3a45be[_0x70b09([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x70b09([0x67,0x65,0x74])](_0x70b09([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x5dc38=await(async function(){let _0x199a07,_0x26b890=null,_0x428b9b=null;try{if(_0x22618a==_0x70b09([0x47,0x50,0x4c]))return _0x70b09([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x199a07=(function(){const _0x3243ca=_0x22618a[_0x70b09([0x73,0x70,0x6c,0x69,0x74])](_0x70b09([0x2e]));if(0x3!=_0x3243ca[_0x70b09([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x47d2f1=_0x3243ca[0x1];return _0x58fa1f(_0x47d2f1);function _0x58fa1f(_0x1de98a){const _0x5ead15=_0x4ec250(_0x1de98a);return _0x5ead15&&_0x3de279()?_0x5ead15:null;function _0x3de279(){const _0x47e3de=_0x5ead15[_0x70b09([0x6a,0x74,0x69])],_0x407f09=window[_0x70b09([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x47e3de[_0x70b09([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x47e3de[_0x70b09([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5b9abb={..._0x5ead15,[_0x70b09([0x6a,0x74,0x69])]:_0x47e3de[_0x70b09([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x47e3de[_0x70b09([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5b9abb[_0x70b09([0x76,0x63])],_0x1c70d3(_0x5b9abb)==_0x407f09;}}}()),!_0x199a07)return _0x70b09([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x199a07[_0x70b09([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x428b9b=function(_0x388aad,_0x3ba4f3){return new window[(_0x70b09([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x425da4=>{if(_0x56ac0a())return _0x425da4(_0x70b09([0x56,0x61,0x6c,0x69,0x64]));_0x34b9f(),_0x3a45be[_0x70b09([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x70b09([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x209aef=!0x1;const _0x509983=ckeditor5['uid']();function _0xec7ba9(_0xb66395){return!!_0xb66395&&(typeof _0xb66395===_0x70b09([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xb66395===_0x70b09([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xb66395[_0x70b09([0x74,0x68,0x65,0x6e])]===_0x70b09([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xb66395[_0x70b09([0x63,0x61,0x74,0x63,0x68])]===_0x70b09([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x50c770(_0x14cc2c){_0xf9129e(_0x14cc2c)[_0x70b09([0x74,0x68,0x65,0x6e])](_0x1411bd=>{if(!_0x1411bd||_0x1411bd[_0x70b09([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x70b09([0x6f,0x6b]))return _0x70b09([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5039dd(_0x1c70d3(_0x509983+_0x3ba4f3))!=_0x1411bd[_0x70b09([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x70b09([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x70b09([0x56,0x61,0x6c,0x69,0x64]);})[_0x70b09([0x74,0x68,0x65,0x6e])](_0x194009=>(_0x1ff300(),_0x194009),()=>{const _0x1e734c=_0x178a5b();return null==_0x1e734c?(_0x1ff300(),_0x70b09([0x56,0x61,0x6c,0x69,0x64])):_0x70b09(_0x24aa5d-_0x1e734c>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x70b09([0x74,0x68,0x65,0x6e])](_0x425da4)[_0x70b09([0x63,0x61,0x74,0x63,0x68])](()=>{_0x425da4(_0x70b09([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x195e65=0x36ee80;function _0x1ff300(){const _0x5f11be=_0x70b09([0x6c,0x6c,0x63,0x74,0x2d])+_0x5039dd(_0x1c70d3(_0x388aad)),_0x11f54d=_0x47bb25(_0x5039dd(window[_0x70b09([0x4d,0x61,0x74,0x68])][_0x70b09([0x63,0x65,0x69,0x6c])](_0x24aa5d/_0x195e65)));window[_0x70b09([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x70b09([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5f11be,_0x11f54d);}function _0x178a5b(){const _0x25e201=_0x70b09([0x6c,0x6c,0x63,0x74,0x2d])+_0x5039dd(_0x1c70d3(_0x388aad)),_0x58ab22=window[_0x70b09([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x70b09([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x25e201);return _0x58ab22?window[_0x70b09([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x47bb25(_0x58ab22),0x10)*_0x195e65:null;}function _0xf9129e(_0x45d128){return new window[(_0x70b09([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x18cac6,_0x367706)=>{_0x45d128[_0x70b09([0x74,0x68,0x65,0x6e])](_0x18cac6,_0x367706),window[_0x70b09([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x367706,0x1d4c0);});}}_0x3a45be[_0x70b09([0x6f,0x6e])](_0x70b09([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x202b0d,_0x23a7db)=>{if(_0x23a7db[0x0]!=_0x388aad)return _0x425da4(_0x70b09([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x23a7db[0x1]={..._0x23a7db[0x1],[_0x70b09([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x509983};},{[_0x70b09([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x70b09([0x68,0x69,0x67,0x68])}),_0x3a45be[_0x70b09([0x6f,0x6e])](_0x70b09([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x34b6fb=>{_0xec7ba9(_0x34b6fb[_0x70b09([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x209aef=!0x0,_0x50c770(_0x34b6fb[_0x70b09([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x70b09([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x70b09([0x6c,0x6f,0x77])}),_0x5b9e2f[_0x70b09([0x74,0x68,0x65,0x6e])](()=>{_0x209aef||_0x425da4(_0x70b09([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x56ac0a(){return _0x3a45be[_0x70b09([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x70b09([0x76,0x69,0x65,0x77])][_0x70b09([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x70b09([0x61,0x75,0x74,0x6f]);}function _0x34b9f(){_0x3a45be[_0x70b09([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x70b09([0x76,0x69,0x65,0x77])][_0x70b09([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x70b09([0x61,0x75,0x74,0x6f]);}}(_0x199a07[_0x70b09([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x199a07[_0x70b09([0x6a,0x74,0x69])]));const _0x33b8f0=await(async function(){let _0x261337=!0x0;try{const _0x1c20fb=_0x22618a[_0x70b09([0x73,0x70,0x6c,0x69,0x74])](_0x70b09([0x2e])),[_0x2bb333,_0x5df0e4,_0x1d48c2]=_0x1c20fb;return _0x37abf6(_0x2bb333),await _0x56e0df(_0x2bb333,_0x5df0e4,_0x1d48c2),_0x261337;}catch{return!0x1;}function _0x37abf6(_0x646a5d){const _0x33264e=_0x4ec250(_0x646a5d);_0x33264e&&_0x33264e[_0x70b09([0x61,0x6c,0x67])]==_0x70b09([0x45,0x53,0x32,0x35,0x36])||(_0x261337=!0x1);}async function _0x56e0df(_0x37656a,_0x1a2b67,_0x19e664){const _0x3c06e6=window[_0x70b09([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x70b09([0x66,0x72,0x6f,0x6d])](_0x40564b(_0x19e664),_0x30102c=>_0x30102c[_0x70b09([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2a22d8=new window[(_0x70b09([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x70b09([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x37656a+_0x70b09([0x2e])+_0x1a2b67),_0x9154ca=window[_0x70b09([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x70b09([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x9154ca)return;const _0x31f179=await _0x9154ca[_0x70b09([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x70b09([0x6a,0x77,0x6b]),_0x53ce8a,{[_0x70b09([0x6e,0x61,0x6d,0x65])]:_0x70b09([0x45,0x43,0x44,0x53,0x41]),[_0x70b09([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x70b09([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x70b09([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x9154ca[_0x70b09([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x70b09([0x6e,0x61,0x6d,0x65])]:_0x70b09([0x45,0x43,0x44,0x53,0x41]),[_0x70b09([0x68,0x61,0x73,0x68])]:{[_0x70b09([0x6e,0x61,0x6d,0x65])]:_0x70b09([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x31f179,_0x3c06e6,_0x2a22d8)||(_0x261337=!0x1);}}());return _0x33b8f0?(function(){const _0x5224c5=_0x199a07[_0x70b09([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x5224c5)return!0x1;if(_0x5224c5[_0x70b09([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x70b09([0x2a])))return!0x0;if(_0x5224c5[_0x70b09([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x70b09([0x54,0x50,0x4c])))return!0x0;if(_0x5224c5[_0x70b09([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x70b09([0x50,0x50])))return!0x0;if(_0x5224c5[_0x70b09([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x70b09([0x44,0x52,0x55,0x50]))&&window[_0x70b09([0x44,0x72,0x75,0x70,0x61,0x6c])])return!0x0;if(_0x5224c5[_0x70b09([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x70b09([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x70b09([0x67,0x6c,0x6f,0x62])]&&window[_0x70b09([0x67,0x6c,0x6f,0x62])][_0x70b09([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;return!0x1;}())?(function(){const _0x918502=[_0x70b09([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x70b09([0x74,0x72,0x69,0x61,0x6c])][_0x70b09([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x199a07[_0x70b09([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x24aa5d/0x3e8:0x6a03bf00;return _0x199a07[_0x70b09([0x65,0x78,0x70])]<_0x918502;}())?_0x70b09([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x36c628=_0x199a07[_0x70b09([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x36c628||0x0==_0x36c628[_0x70b09([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x174f9f}=new URL(window[_0x70b09([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x36c628[_0x70b09([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x174f9f))return!0x0;const _0x397f16=_0x174f9f[_0x70b09([0x73,0x70,0x6c,0x69,0x74])](_0x70b09([0x2e]));return _0x36c628[_0x70b09([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x524e81=>_0x524e81[_0x70b09([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x70b09([0x2a])))[_0x70b09([0x6d,0x61,0x70])](_0x2a8400=>_0x2a8400[_0x70b09([0x73,0x70,0x6c,0x69,0x74])](_0x70b09([0x2e])))[_0x70b09([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x79e752=>_0x79e752[_0x70b09([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x397f16[_0x70b09([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x70b09([0x6d,0x61,0x70])](_0xea4064=>Array(_0x397f16[_0x70b09([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xea4064[_0x70b09([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x70b09([0x66,0x69,0x6c,0x6c])](_0xea4064[0x0]===_0x70b09([0x2a])?_0x70b09([0x2a]):'')[_0x70b09([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xea4064))[_0x70b09([0x73,0x6f,0x6d,0x65])](_0x4d391e=>_0x397f16[_0x70b09([0x65,0x76,0x65,0x72,0x79])]((_0x320a76,_0x496613)=>_0x4d391e[_0x496613]===_0x320a76||_0x4d391e[_0x496613]===_0x70b09([0x2a])));}())?(_0x199a07[_0x70b09([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x70b09([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x26b890=function(_0x3c3cc7){const _0x10abfa=new window[(_0x70b09([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3446fb=>setTimeout(_0x3446fb,0x93ecc)),_0xb8f171=_0x5b9e2f[_0x70b09([0x74,0x68,0x65,0x6e])](()=>new window[(_0x70b09([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x866f60=>{let _0x2aca95=0x0;_0x3a45be[_0x70b09([0x6d,0x6f,0x64,0x65,0x6c])][_0x70b09([0x6f,0x6e])](_0x70b09([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x21b6e3,_0x142479)=>{_0x142479[0x0][_0x70b09([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2aca95++,0x5e8==_0x2aca95&&(_0x866f60(),_0x21b6e3[_0x70b09([0x6f,0x66,0x66])]());});})),_0x4e46d0=[_0x10abfa,_0xb8f171];return window[_0x70b09([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x70b09([0x72,0x61,0x63,0x65])](_0x4e46d0)[_0x70b09([0x74,0x68,0x65,0x6e])](()=>_0x3c3cc7);}(_0x70b09([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x26b890&&_0x428b9b)return new window[(_0x70b09([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x497e2c,_0x747bf)=>{_0x26b890[_0x70b09([0x74,0x68,0x65,0x6e])](_0x497e2c,_0x747bf),_0x428b9b[_0x70b09([0x74,0x68,0x65,0x6e])](_0x11f743=>{_0x11f743!=_0x70b09([0x56,0x61,0x6c,0x69,0x64])&&_0x497e2c(_0x11f743);},_0x747bf);});return _0x26b890||_0x428b9b||_0x70b09([0x56,0x61,0x6c,0x69,0x64]);}())):_0x70b09([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x70b09([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x70b09([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x70b09([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x4ec250(_0x2605b4){return _0x2605b4[_0x70b09([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x70b09([0x65,0x79]))?JSON[_0x70b09([0x70,0x61,0x72,0x73,0x65])](_0x40564b(_0x2605b4)):null;}function _0x40564b(_0x3ffbb1){return window[_0x70b09([0x61,0x74,0x6f,0x62])](_0x3ffbb1[_0x70b09([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x70b09([0x2b]))[_0x70b09([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x70b09([0x2f])));}function _0x1c70d3(_0x42f076){let _0x223c33=0x1505;function _0x40ceec(_0x32281d){for(let _0xcab107=0x0;_0xcab107<_0x32281d[_0x70b09([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xcab107++){const _0x27f31d=_0x32281d[_0x70b09([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xcab107);_0x223c33=(_0x223c33<<0x5)+_0x223c33+_0x27f31d,_0x223c33&=_0x223c33;}}return function _0x9f3623(_0x16ca87){Array[_0x70b09([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x16ca87)?_0x16ca87[_0x70b09([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x9f3623):_0x16ca87&&typeof _0x16ca87==_0x70b09([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x70b09([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x16ca87)[_0x70b09([0x73,0x6f,0x72,0x74])]()[_0x70b09([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5a5dc2,_0x598361])=>{_0x40ceec(_0x5a5dc2),_0x9f3623(_0x598361);}):_0x40ceec(window[_0x70b09([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x16ca87));}(_0x42f076),_0x223c33>>>0x0;}function _0x5039dd(_0x1fbc61){return _0x1fbc61[_0x70b09([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x70b09([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x70b09([0x30]));}function _0x47bb25(_0x44dd52){return _0x44dd52[_0x70b09([0x73,0x70,0x6c,0x69,0x74])]('')[_0x70b09([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x70b09([0x6a,0x6f,0x69,0x6e])]('');}function _0x461649(){}function _0x70b09(_0x4fc205){return _0x4fc205['map'](_0x2dca15=>String['fromCharCode'](_0x2dca15))['join']('');}!function(_0xa42c38){const _0x425826=(function(){const _0x20f0c7=window[_0x70b09([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x70b09([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x70b09([0x6e,0x6f,0x77])]())[_0x70b09([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x70b09([0x2e]),'');let _0x111bc7=_0x70b09([0x67]);for(let _0x4f5add=0x0;_0x4f5add<_0x20f0c7[_0x70b09([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4f5add+=0x2){let _0x361a0c=window[_0x70b09([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x20f0c7[_0x70b09([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4f5add,_0x4f5add+0x2));_0x361a0c>=_0x5d23ce[_0x70b09([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x361a0c-=_0x5d23ce[_0x70b09([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x111bc7+=_0x5d23ce[_0x361a0c];}return _0x111bc7;}());_0x3a45be[_0x425826]=_0x70b09([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xa42c38,_0xa42c38!=_0x70b09([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x5b9e2f,_0x3a45be[_0x70b09([0x6d,0x6f,0x64,0x65,0x6c])][_0x70b09([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x461649,_0x3a45be[_0x70b09([0x6d,0x6f,0x64,0x65,0x6c])][_0x70b09([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x461649,_0x3a45be[_0x70b09([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x70b09([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x5dc38);}class Template extends ckeditor5['Plugin']{static get['requires'](){return[TemplateEditing,TemplateUI];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function getTranslation(_0x876dae,_0x295bdf,_0x2eff65){const t=_0x876dae['t'],_0x476137=_0x876dae['t'];switch(_0x295bdf){case'local':return{'text':_0x476137('Insert'===_0x2eff65?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x476137('From\x20computer')};case'url':return{'text':'Insert'===_0x2eff65?_0x476137('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x476137('Via\x20URL')};case'dropbox':return{'text':t('Insert'===_0x2eff65?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case'facebook':return{'text':t('Insert'===_0x2eff65?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case'gdrive':return{'text':t('Insert'===_0x2eff65?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case'gphotos':return{'text':t('Insert'===_0x2eff65?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case'onedrive':return{'text':t('Insert'===_0x2eff65?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x295bdf;}}class _0x113682 extends ckeditor5['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 _0xb3d51b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5b5eb0;for(const _0x378e5a in _0xb3d51b){const _0x4271cf=_0x378e5a,_0xb64f02=_0xb3d51b[_0x4271cf];if('uploadcareLicenseKeyValid'==_0xb64f02||'uploadcareLicenseKeyInvalid'==_0xb64f02||'uploadcareLicenseKeyExpired'==_0xb64f02||'uploadcareLicenseKeyDomainLimit'==_0xb64f02||'uploadcareLicenseKeyNotAllowed'==_0xb64f02||'uploadcareLicenseKeyEvaluationLimit'==_0xb64f02||'uploadcareLicenseKeyUsageLimit'==_0xb64f02){delete _0xb3d51b[_0x4271cf],_0x5b5eb0=_0xb64f02,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x5b5eb0&&_0xb3d51b['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x5b5eb0&&_0xb3d51b['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x5b5eb0&&_0xb3d51b['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x5b5eb0&&_0xb3d51b['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x5b5eb0&&_0xb3d51b['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x5b5eb0&&_0xb3d51b['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x249048}=this,_0x3bd714=_0x249048['commands']['get']('uploadcare');if(!_0x3bd714)return;const _0x41d76a=this['_normalizeConfigSourceList'](_0x249048['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x6f57f6,_0x218185)=>{const _0x284661=this['_getIntegrationKey'](_0x218185['type']);return _0x6f57f6[_0x284661]||(_0x6f57f6[_0x284661]=[]),_0x6f57f6[_0x284661]['push'](_0x218185),_0x6f57f6;},{});_0x249048['plugins']['has']('ImageInsertUI')&&_0x249048['commands']['get']('uploadcare')&&Object['entries'](_0x41d76a)['forEach'](([_0x30c18a,_0x3f972b])=>{_0x249048['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x30c18a,'observable':()=>_0x3bd714,'buttonViewCreator':()=>this['_createToolbarButton'](_0x3f972b),'formViewCreator':()=>this['_createDropdownButtons'](_0x3f972b),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x3f972b),'override':'assetManager'!==_0x30c18a});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0xd2cf9f){const {locale:_0x4334b5}=this['editor'];return _0xd2cf9f['map'](_0x2e2558=>{const _0x765ae8=getTranslation(_0x4334b5,_0x2e2558,'Insert');switch(_0x2e2558){case'local':return{'icon':ckeditor5['IconUploadcareImageUpload'],'type':'local',..._0x765ae8};case'url':return{'icon':ckeditor5['IconUploadcareLink'],'type':'url',..._0x765ae8};case'dropbox':return{'icon':ckeditor5['IconDropbox'],'type':'dropbox',..._0x765ae8};case'facebook':return{'icon':ckeditor5['IconFacebook'],'type':'facebook',..._0x765ae8};case'gdrive':return{'icon':ckeditor5['IconGoogleDrive'],'type':'gdrive',..._0x765ae8};case'gphotos':return{'icon':ckeditor5['IconGooglePhotos'],'type':'gphotos',..._0x765ae8};case'onedrive':return{'icon':ckeditor5['IconOneDrive'],'type':'onedrive',..._0x765ae8};}});}['_getIntegrationKey'](_0x4efbb3){switch(_0x4efbb3){case'local':return'upload';case'url':return'url';default:return'assetManager';}}['_createButton'](_0x479ce4,_0x4b9783){const _0x482227=this['editor'],_0x1bbf9c=new _0x479ce4(_0x482227['locale']),_0x473591=_0x482227['commands']['get']('uploadcare');return _0x1bbf9c['bind']('isEnabled')['to'](_0x473591),_0x1bbf9c['on']('execute',()=>{_0x473591['execute'](_0x4b9783);}),_0x1bbf9c;}['_createToolbarButton'](_0x4a1ca1){const {locale:_0x5be5f3}=this['editor'],_0x3a43f0=this['editor']['plugins']['get']('ImageInsertUI'),_0x264313=_0x4a1ca1[0x0],_0x45cf9c=this['_createButton'](ckeditor5['ButtonView'],_0x264313['type']);return _0x45cf9c['icon']=_0x264313['icon'],_0x45cf9c['bind']('label')['to'](_0x3a43f0,'isImageSelected',_0x1e2b11=>getTranslation(_0x5be5f3,_0x264313['type'],_0x1e2b11?'Replace':'Insert')['text']),_0x45cf9c['tooltip']=!0x0,_0x45cf9c;}['_createDropdownButtons'](_0xf8e607){const {locale:_0x254fde}=this['editor'],_0x3b6a8f=this['editor']['plugins']['get']('ImageInsertUI');return _0xf8e607['map'](_0x48303e=>{const _0x510259=this['_createButton'](ckeditor5['ButtonView'],_0x48303e['type']);return _0x510259['withText']=!0x0,_0x510259['icon']=_0x48303e['icon'],_0x510259['bind']('label')['to'](_0x3b6a8f,'isImageSelected',_0x1a1c37=>getTranslation(_0x254fde,_0x48303e['type'],_0x1a1c37?'Replace':'Insert')['text']),_0x510259;});}['_createMenuBarButtons'](_0x818b06){return _0x818b06['map'](_0x279e69=>{const _0x55a589=this['_createButton'](ckeditor5['MenuBarMenuListItemButtonView'],_0x279e69['type']);return _0x55a589['icon']=_0x279e69['icon'],_0x55a589['label']=_0x279e69['shortText'],_0x55a589;});}}class _0x4cd120 extends ckeditor5['View']{['focusTracker'];['focusCycler'];constructor(_0x3defb7){super(_0x3defb7),this['focusTracker']=new ckeditor5['FocusTracker'](),this['focusCycler']=new ckeditor5['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 _0x112fc1 extends _0x4cd120{constructor(_0x142220,_0x46fd96){super(_0x142220),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-'+_0x46fd96}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function createEditabilityChecker(_0x37bfda){const _0x374238=createUrlChecker(_0x37bfda);return _0x3462fe=>!(!_0x3462fe||!_0x3462fe['is']('element','imageBlock')&&!_0x3462fe['is']('element','imageInline'))&&(!!_0x3462fe['hasAttribute']('uploadcareImageId')||!!_0x3462fe['hasAttribute']('src')&&_0x374238(_0x3462fe['getAttribute']('src')));}function getImageUrls(_0x1c5cc6,_0x3b5eef){const _0x453ef5=_0x1c5cc6['replace'](/\/$/,'');return{'imageFallbackUrl':_0x1c5cc6,'imageSources':[{'srcset':[...[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x585a9c=>_0x585a9c<_0x3b5eef)['map'](_0x4ad74b=>_0x453ef5+'/-/resize/'+_0x4ad74b+'x/\x20'+_0x4ad74b+'w'),_0x1c5cc6+'\x20'+_0x3b5eef+'w']['join'](',\x20'),'sizes':'(max-width:\x20'+_0x3b5eef+'px)\x20100vw,\x20'+_0x3b5eef+'px','type':'image/webp'}]};}function getImageDimension(_0x4d2d14,_0x5cb37b,_0x3f9a62){const _0x3661c5=_0x4d2d14['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x3661c5?parseInt(_0x3661c5[0x1],0xa):_0x5cb37b,'height':_0x3661c5?parseInt(_0x3661c5[0x2],0xa):_0x3f9a62};}function showImageProcessingIndicator(_0x1f2a5f,_0x33e45e){const _0x483735=new(ckeditor5['DomEmitterMixin']())(),_0x3bd5d5=_0x1f2a5f['plugins']['get']('ImageUtils'),_0x37a31d=_0x1f2a5f['editing']['mapper']['toViewElement'](_0x33e45e),_0x523c7a=_0x3bd5d5['findViewImgElement'](_0x37a31d),_0x33d033=_0x1f2a5f['editing']['view']['domConverter']['viewToDom'](_0x523c7a),_0x249914=_0x33e45e['getAttribute']('width'),_0x14c939=_0x33e45e['getAttribute']('height'),_0x2679da='image-processing';_0x1f2a5f['editing']['view']['change'](_0x1f0ce4=>{_0x1f0ce4['addClass'](_0x2679da,_0x37a31d),_0x1f0ce4['setStyle']('aspect-ratio',_0x249914+'/'+_0x14c939,_0x523c7a);}),_0x483735['listenTo'](_0x33d033,'load',()=>{_0x483735['stopListening'](_0x33d033,'load'),_0x1f2a5f['editing']['view']['change'](_0x2912a9=>{_0x2912a9['removeClass'](_0x2679da,_0x37a31d),_0x2912a9['removeStyle']('aspect-ratio',_0x523c7a);});});}function createUrlChecker(_0xb578e8){if(Array['isArray'](_0xb578e8)){const _0xa1a85b=_0xb578e8['map'](createUrlChecker);return _0x2a4bfa=>_0xa1a85b['some'](_0x169620=>_0x169620(_0x2a4bfa));}if('origin'==_0xb578e8){const _0x236db3=ckeditor5['global']['window']['location']['origin'];return _0x37a8c0=>new URL(_0x37a8c0,ckeditor5['global']['document']['baseURI'])['origin']==_0x236db3;}return'function'==typeof _0xb578e8?_0xb578e8:_0xb578e8 instanceof RegExp?_0x6c5575=>!(!_0x6c5575['match'](_0xb578e8)&&!_0x6c5575['replace'](/^https?:\/\//,'')['match'](_0xb578e8)):()=>!0x1;}function isAncestor(_0xd19a6d,_0x59eaf0){return ckeditor5['getAncestors'](_0xd19a6d['target'])['includes'](_0x59eaf0);}class UploadcareController extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x482310,_0xf7728e,_0x4c639c){super(),this['_editor']=_0x482310,this['_editing']=_0xf7728e,this['_dialog']=_0x482310['plugins']['get'](ckeditor5['Dialog']),this['_api']=_0xf7728e['ctxElement']['getAPI'](),this['_type']=_0x4c639c,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:_0x23267e,model:_0x2fe430}=this['_editor'],_0x4cdec9=_0x2fe430['document']['selection']['getSelectedElement'](),_0x382b36=_0x4cdec9&&(_0x4cdec9['is']('element','imageBlock')||_0x4cdec9['is']('element','imageInline'));this['_formView']=new _0x112fc1(_0x23267e,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':ckeditor5['IconUploadcareImageUpload'],'title':getTranslation(_0x23267e,this['_type'],_0x382b36?'Replace':'Insert')['text'],'content':this['_formView'],'position':ckeditor5['DialogViewPosition']['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x60001f=>!isAncestor(_0x60001f,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x12b7dd}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x117cf2=>{const _0x4d622e=_0x12b7dd['length'];for(const _0x35c73e of _0x12b7dd){const _0x5ac439=_0x35c73e===_0x12b7dd[_0x4d622e-0x1],{cdnUrl:_0x8cb9ea,fileInfo:_0x9075e8}=_0x35c73e;if(!_0x8cb9ea||!_0x9075e8)continue;const {width:_0x2a242e,height:_0x3c5650}=_0x9075e8['imageInfo'],_0xfd3699=getImageDimension(_0x8cb9ea,_0x2a242e,_0x3c5650),_0x6accb=getImageUrls(_0x8cb9ea,_0xfd3699['width']),_0x3b542f={'id':_0x9075e8['uuid'],'type':'image','attributes':{'imageDimension':_0xfd3699,..._0x6accb}};this['_insertAsset'](_0x3b542f,_0x5ac439,_0x117cf2);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x5d9b65=>{'idle'===_0x5d9b65['detail']['status']&&!_0x5d9b65['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&('local'===this['_type']?this['_api']['setCurrentActivity']('start-from'):this['_api']['initFlow']());});}['_insertAsset'](_0x321263,_0x5dbd1b,_0x1576a6){const _0x406220=this['_editor']['model']['document']['selection'],_0x56cad4=_0x406220['getSelectedElement'](),_0x3e470a=!(!_0x56cad4||!_0x56cad4['is']('element','imageInline'));_0x1576a6['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x321263,_0x3e470a),_0x5dbd1b||_0x1576a6['setSelection'](_0x406220['getLastPosition']());}['_insertImage'](_0x56e55e,_0x40bf9a){const _0x2a669b=this['_editor'],{imageDimension:_0xa15c7f,imageFallbackUrl:_0x3ff079,imageSources:_0x4d3af1}=_0x56e55e['attributes'];_0x2a669b['execute']('insertImage',{'imageType':_0x40bf9a?'imageInline':null,'source':{'uploadcareImageId':_0x56e55e['id'],'src':_0x3ff079,'sources':_0x4d3af1,..._0xa15c7f}});}}class _0x2a296c extends ckeditor5['Command']{['_editing'];['_controller']=null;static get['requires'](){return[ckeditor5['Dialog'],UploadcareEditing];}constructor(_0x20d63c){super(_0x20d63c),this['_editing']=_0x20d63c['plugins']['get'](UploadcareEditing);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0xbeaef5){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new UploadcareController(this['editor'],this['_editing'],_0xbeaef5);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}function isObject(_0x5827a0){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x5827a0);}const _0x234517=/\W|_/g;function camelizeString(_0x3d2196){return _0x3d2196['split'](_0x234517)['map']((_0x452374,_0x134fa5)=>_0x452374['charAt'](0x0)[_0x134fa5>0x0?'toUpperCase':'toLowerCase']()+_0x452374['slice'](0x1))['join']('');}function camelizeArrayItems(_0x1975f4,{ignoreKeys:_0x4aff90}={'ignoreKeys':[]}){return Array['isArray'](_0x1975f4)?_0x1975f4['map'](_0x4b0300=>_0x46273f(_0x4b0300,{'ignoreKeys':_0x4aff90})):_0x1975f4;}function _0x46273f(_0x2d2f15,{ignoreKeys:_0x1bf7aa}={'ignoreKeys':[]}){if(Array['isArray'](_0x2d2f15))return camelizeArrayItems(_0x2d2f15,{'ignoreKeys':_0x1bf7aa});if(!isObject(_0x2d2f15))return _0x2d2f15;const _0x2f8ffc={};for(const _0x5a67c8 of Object['keys'](_0x2d2f15)){let _0x4cd7fe=_0x2d2f15[_0x5a67c8];_0x1bf7aa['includes'](_0x5a67c8)?_0x2f8ffc[_0x5a67c8]=_0x4cd7fe:(isObject(_0x4cd7fe)?_0x4cd7fe=_0x46273f(_0x4cd7fe,{'ignoreKeys':_0x1bf7aa}):Array['isArray'](_0x4cd7fe)&&(_0x4cd7fe=camelizeArrayItems(_0x4cd7fe,{'ignoreKeys':_0x1bf7aa})),_0x2f8ffc[camelizeString(_0x5a67c8)]=_0x4cd7fe);}return _0x2f8ffc;}const _0x55e307=_0x3ee720=>new Promise(_0x2056fa=>setTimeout(_0x2056fa,_0x3ee720));function getUserAgent$1({libraryName:_0x49bddb,libraryVersion:_0x6188bf,userAgent:_0x14ed5c,publicKey:_0x22bb5b='',integration:_0x18e9c7=''}){const _0xa6ca2e='JavaScript';if('string'==typeof _0x14ed5c)return _0x14ed5c;if('function'==typeof _0x14ed5c)return _0x14ed5c({'publicKey':_0x22bb5b,'libraryName':_0x49bddb,'libraryVersion':_0x6188bf,'languageName':_0xa6ca2e,'integration':_0x18e9c7});return[_0x49bddb,_0x6188bf,_0x22bb5b]['filter'](Boolean)['join']('/')+'\x20('+[_0xa6ca2e,_0x18e9c7]['filter'](Boolean)['join'](';\x20')+')';}const defaultOptions={'factor':0x2,'time':0x64};function retrier(_0x12b5dc,_0x3876d1=defaultOptions){let _0x457bbc=0x0;return function _0x271fdf(_0x4431a0){const _0x40b2c9=Math['round'](_0x3876d1['time']*_0x3876d1['factor']**_0x457bbc);return _0x4431a0({'attempt':_0x457bbc,'retry':_0x5250a7=>_0x55e307(_0x5250a7??_0x40b2c9)['then'](()=>(_0x457bbc+=0x1,_0x271fdf(_0x4431a0)))});}(_0x12b5dc);}class _0x13c9d4 extends Error{}class NetworkError extends _0x13c9d4{['originalProgressEvent'];constructor(_0x439c76){super(),this['name']='NetworkError',this['message']='Network\x20error',Object['setPrototypeOf'](this,NetworkError['prototype']),this['originalProgressEvent']=_0x439c76;}}const _0x2b33ab=(_0x1d4f9c,_0x45bf5a)=>{_0x1d4f9c&&(_0x1d4f9c['aborted']?Promise['resolve']()['then'](_0x45bf5a):_0x1d4f9c['addEventListener']('abort',()=>_0x45bf5a(),{'once':!0x0}));};class _0x28cf82 extends _0x13c9d4{['isCancel']=!0x0;constructor(_0x2f78f2='Request\x20canceled'){super(_0x2f78f2),this['name']='CancelError',Object['setPrototypeOf'](this,_0x28cf82['prototype']);}}const _0x3fbf36=0x1f4,_0x111a4e=({check:_0x15ca43,interval:_0x40bbaa=_0x3fbf36,timeout:_0x217d37,signal:_0x4c99f3})=>new Promise((_0x48601d,_0x572b48)=>{let _0x403eb8,_0x1da64c;_0x2b33ab(_0x4c99f3,()=>{_0x403eb8&&clearTimeout(_0x403eb8),_0x572b48(new _0x28cf82('Poll\x20cancelled'));}),_0x217d37&&(_0x1da64c=setTimeout(()=>{_0x403eb8&&clearTimeout(_0x403eb8),_0x572b48(new _0x28cf82('Timed\x20out'));},_0x217d37));const _0xe2c56d=()=>{try{Promise['resolve'](_0x15ca43(_0x4c99f3))['then'](_0x4550f2=>{_0x4550f2?(_0x1da64c&&clearTimeout(_0x1da64c),_0x48601d(_0x4550f2)):_0x403eb8=setTimeout(_0xe2c56d,_0x40bbaa);})['catch'](_0x5ec1c9=>{_0x1da64c&&clearTimeout(_0x1da64c),_0x572b48(_0x5ec1c9);});}catch(_0x4cad0c){_0x1da64c&&clearTimeout(_0x1da64c),_0x572b48(_0x4cad0c);}};_0x403eb8=setTimeout(_0xe2c56d,0x0);}),defaultSettings={'baseCDN':'https://ucarecdn.com','baseURL':'https://upload.uploadcare.com','retryThrottledRequestMaxTimes':0x1,'retryNetworkErrorMaxTimes':0x3,'multipartMinFileSize':0x1900000,'multipartChunkSize':0x500000,'maxConcurrentRequests':0x4,'pusherKey':'79ae88bd931ea68464d9'},defaultContentType='application/octet-stream',defaultFilename='original',request=({method:_0x18e22b,url:_0x433b2b,data:_0x125cde,headers:_0x248b56={},signal:_0x3523b2,onProgress:_0x3713d6})=>new Promise((_0x200aab,_0x506b72)=>{const _0x4c47db=new XMLHttpRequest(),_0x20d581=_0x18e22b?.['toUpperCase']()||'GET';let _0x581f8a=!0x1;_0x4c47db['open'](_0x20d581,_0x433b2b,!0x0),_0x248b56&&Object['entries'](_0x248b56)['forEach'](_0x9578c0=>{const [_0x221570,_0x4f1ab1]=_0x9578c0;void 0x0!==_0x4f1ab1&&!Array['isArray'](_0x4f1ab1)&&_0x4c47db['setRequestHeader'](_0x221570,_0x4f1ab1);}),_0x4c47db['responseType']='text',_0x2b33ab(_0x3523b2,()=>{_0x581f8a=!0x0,_0x4c47db['abort'](),_0x506b72(new _0x28cf82());}),_0x4c47db['onload']=()=>{if(0xc8!=_0x4c47db['status'])_0x506b72(new Error('Error\x20'+_0x4c47db['status']+':\x20'+_0x4c47db['statusText']));else{const _0x38c32f={'method':_0x20d581,'url':_0x433b2b,'data':_0x125cde,'headers':_0x248b56||void 0x0,'signal':_0x3523b2,'onProgress':_0x3713d6},_0x45c55f=_0x4c47db['getAllResponseHeaders']()['trim']()['split'](/[\r\n]+/),_0x142816={};_0x45c55f['forEach'](function(_0x478090){const _0x58f8=_0x478090['split'](':\x20'),_0x454438=_0x58f8['shift'](),_0x267867=_0x58f8['join'](':\x20');_0x454438&&void 0x0!==_0x454438&&(_0x142816[_0x454438]=_0x267867);});const _0x25e5e7=_0x4c47db['response'],_0x530d70=_0x4c47db['status'];_0x200aab({'request':_0x38c32f,'data':_0x25e5e7,'headers':_0x142816,'status':_0x530d70});}},_0x4c47db['onerror']=_0x5e7aed=>{_0x581f8a||_0x506b72(new NetworkError(_0x5e7aed));},_0x3713d6&&'function'==typeof _0x3713d6&&(_0x4c47db['upload']['onprogress']=_0x2e20e6=>{_0x2e20e6['lengthComputable']?_0x3713d6({'isComputable':!0x0,'value':_0x2e20e6['loaded']/_0x2e20e6['total']}):_0x3713d6({'isComputable':!0x1});}),_0x125cde?_0x4c47db['send'](_0x125cde):_0x4c47db['send']();});function identity(_0x283d34,..._0x3148f0){return _0x283d34;}const getFileOptions=({name:_0x510594})=>_0x510594?[_0x510594]:[],transformFile=identity;var getFormData=()=>new FormData();const _0x4c6653=_0x1737e4=>!0x1,_0x29d0fe=_0x1ab1fc=>'undefined'!=typeof Blob&&_0x1ab1fc instanceof Blob,_0xd3642f=_0x3b9c9c=>'undefined'!=typeof File&&_0x3b9c9c instanceof File,isReactNativeAsset=_0x35ba4e=>!!_0x35ba4e&&'object'==typeof _0x35ba4e&&!Array['isArray'](_0x35ba4e)&&'uri'in _0x35ba4e&&'string'==typeof _0x35ba4e['uri'],isFileData=_0x7acdc1=>_0x29d0fe(_0x7acdc1)||_0xd3642f(_0x7acdc1)||_0x4c6653()||isReactNativeAsset(_0x7acdc1),_0x4757bc=_0xc57f6a=>'string'==typeof _0xc57f6a||'number'==typeof _0xc57f6a||void 0x0===_0xc57f6a,isObjectValue=_0x43e8d7=>!!_0x43e8d7&&'object'==typeof _0x43e8d7&&!Array['isArray'](_0x43e8d7),_0x374cdf=_0x2a5667=>!!_0x2a5667&&'object'==typeof _0x2a5667&&'data'in _0x2a5667&&isFileData(_0x2a5667['data']);function collectParams(_0x566439,_0x3ca70a,_0x16efa7){if(Array['isArray'](_0x16efa7)){for(const _0x1ca826 of _0x16efa7)collectParams(_0x566439,_0x3ca70a+'[]',_0x1ca826);}else{if(_0x374cdf(_0x16efa7)){const {name:_0x54bbdd,contentType:_0x63b5f1}=_0x16efa7,_0x53bb3e=transformFile(_0x16efa7['data'],_0x54bbdd,_0x63b5f1??defaultContentType),_0x5f1782=getFileOptions({'name':_0x54bbdd});_0x566439['push']([_0x3ca70a,_0x53bb3e,..._0x5f1782]);}else{if(isObjectValue(_0x16efa7)){for(const [_0x4eabbc,_0x230283]of Object['entries'](_0x16efa7))void 0x0!==_0x230283&&_0x566439['push']([_0x3ca70a+'['+_0x4eabbc+']',String(_0x230283)]);}else _0x4757bc(_0x16efa7)&&_0x16efa7&&_0x566439['push']([_0x3ca70a,_0x16efa7['toString']()]);}}}function getFormDataParams(_0x37d7ab){const _0x37f52f=[];for(const [_0x5baf1c,_0x48cff7]of Object['entries'](_0x37d7ab))collectParams(_0x37f52f,_0x5baf1c,_0x48cff7);return _0x37f52f;}function buildFormData(_0xcf6069){const _0x245902=getFormData(),_0x5a2c99=getFormDataParams(_0xcf6069);for(const _0x5cb4e4 of _0x5a2c99){const [_0x3b51bd,_0x3b0495,..._0x42e436]=_0x5cb4e4;_0x245902['append'](_0x3b51bd,_0x3b0495,..._0x42e436);}return _0x245902;}class _0x3dc1f3 extends _0x13c9d4{['code'];['request'];['response'];['headers'];constructor(_0x1c47d7,_0x5955e6,_0x2e9026,_0x18ff5f,_0x147214){super(),this['name']='UploadError',this['message']=_0x1c47d7,this['code']=_0x5955e6,this['request']=_0x2e9026,this['response']=_0x18ff5f,this['headers']=_0x147214,Object['setPrototypeOf'](this,_0x3dc1f3['prototype']);}}const _0x2110b0=_0xc530f=>{const _0x500a38=new URLSearchParams();for(const [_0x30ba63,_0x2d5453]of Object['entries'](_0xc530f))_0x2d5453&&'object'==typeof _0x2d5453&&!Array['isArray'](_0x2d5453)?Object['entries'](_0x2d5453)['filter'](_0x16be1b=>_0x16be1b[0x1]??!0x1)['forEach'](_0x13b709=>_0x500a38['set'](_0x30ba63+'['+_0x13b709[0x0]+']',String(_0x13b709[0x1]))):Array['isArray'](_0x2d5453)?_0x2d5453['forEach'](_0x56bee8=>{_0x500a38['append'](_0x30ba63+'[]',_0x56bee8);}):'string'==typeof _0x2d5453&&_0x2d5453?_0x500a38['set'](_0x30ba63,_0x2d5453):'number'==typeof _0x2d5453&&_0x500a38['set'](_0x30ba63,_0x2d5453['toString']());return _0x500a38['toString']();},getUrl=(_0x2489c1,_0x37ce85,_0x58b81b)=>{const _0x13d56c=new URL(_0x2489c1);return _0x13d56c['pathname']=(_0x13d56c['pathname']+_0x37ce85)['replace']('//','/'),_0x58b81b&&(_0x13d56c['search']=_0x2110b0(_0x58b81b)),_0x13d56c['toString']();};var _0x2c9b36='6.14.3';const _0x35120='UploadcareUploadClient',_0x597fdf=_0x2c9b36;function getUserAgent(_0x13f1b9){return getUserAgent$1({'libraryName':_0x35120,'libraryVersion':_0x597fdf,..._0x13f1b9});}const _0x58b31e='RequestThrottledError',_0x49adf7=0x3a98,_0x2e0b1c=0x3e8;function getTimeoutFromThrottledRequest(_0x1fb1f3){const {headers:_0x5a2e98}=_0x1fb1f3||{};if(!_0x5a2e98||'string'!=typeof _0x5a2e98['retry-after'])return _0x49adf7;const _0x8939eb=parseInt(_0x5a2e98['retry-after'],0xa);return Number['isFinite'](_0x8939eb)?0x3e8*_0x8939eb:_0x49adf7;}function retryIfFailed(_0x1c7ca2,_0x3f9681){const {retryThrottledRequestMaxTimes:_0x364ae3,retryNetworkErrorMaxTimes:_0x292741}=_0x3f9681;return retrier(({attempt:_0x4d9e5a,retry:_0x1f3dce})=>_0x1c7ca2()['catch'](_0x2ab9c5=>{if('response'in _0x2ab9c5&&_0x2ab9c5?.['code']===_0x58b31e&&_0x4d9e5a<_0x364ae3)return _0x1f3dce(getTimeoutFromThrottledRequest(_0x2ab9c5));if(_0x2ab9c5 instanceof NetworkError&&_0x4d9e5a<_0x292741)return _0x1f3dce((_0x4d9e5a+0x1)*_0x2e0b1c);throw _0x2ab9c5;}));}const getContentType=_0x1602d4=>{let _0x296786='';return(_0x29d0fe(_0x1602d4)||_0xd3642f(_0x1602d4)||isReactNativeAsset(_0x1602d4))&&(_0x296786=_0x1602d4['type']),_0x296786||defaultContentType;},getFileName=_0x15e6c0=>{let _0x107c3d='';return _0xd3642f(_0x15e6c0)&&_0x15e6c0['name']?_0x107c3d=_0x15e6c0['name']:_0x29d0fe(_0x15e6c0)||_0x4c6653()?_0x107c3d='':isReactNativeAsset(_0x15e6c0)&&_0x15e6c0['name']&&(_0x107c3d=_0x15e6c0['name']),_0x107c3d||defaultFilename;};function getStoreValue(_0x5dd844){return void 0x0===_0x5dd844||'auto'===_0x5dd844?'auto':_0x5dd844?'1':'0';}function _0x30124f(_0x298efb,{publicKey:_0x51f3e9,fileName:_0x3aa707,contentType:_0x401aa6,baseURL:_0x1317cb=defaultSettings['baseURL'],secureSignature:_0x13ad50,secureExpire:_0x5c4795,store:_0x313785,signal:_0x557a73,onProgress:_0x414c9e,source:_0x1bc2d2='local',integration:_0x16fd66,userAgent:_0x597dbd,retryThrottledRequestMaxTimes:_0x923906=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x715e11=defaultSettings['retryNetworkErrorMaxTimes'],metadata:_0x4f95ed}){return retryIfFailed(()=>request({'method':'POST','url':getUrl(_0x1317cb,'/base/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':getUserAgent({'publicKey':_0x51f3e9,'integration':_0x16fd66,'userAgent':_0x597dbd})},'data':buildFormData({'file':{'data':_0x298efb,'name':_0x3aa707||getFileName(_0x298efb),'contentType':_0x401aa6||getContentType(_0x298efb)},'UPLOADCARE_PUB_KEY':_0x51f3e9,'UPLOADCARE_STORE':getStoreValue(_0x313785),'signature':_0x13ad50,'expire':_0x5c4795,'source':_0x1bc2d2,'metadata':_0x4f95ed}),'signal':_0x557a73,'onProgress':_0x414c9e})['then'](({data:_0x2cb8d5,headers:_0x3515a8,request:_0x586dfb})=>{const _0x3075c4=_0x46273f(JSON['parse'](_0x2cb8d5));if('error'in _0x3075c4)throw new _0x3dc1f3(_0x3075c4['error']['content'],_0x3075c4['error']['errorCode'],_0x586dfb,_0x3075c4,_0x3515a8);return _0x3075c4;}),{'retryNetworkErrorMaxTimes':_0x715e11,'retryThrottledRequestMaxTimes':_0x923906});}var _0x176880,Status;function _0xebd32e(_0x1c38a8,{publicKey:_0x55a3d7,baseURL:_0x162c1c=defaultSettings['baseURL'],store:_0x44ebf7,fileName:_0x4b7399,checkForUrlDuplicates:_0x3ef3b8,saveUrlForRecurrentUploads:_0x2368d9,secureSignature:_0x1d8848,secureExpire:_0x4d27b4,source:_0x42b94f='url',signal:_0x2da999,integration:_0x303289,userAgent:_0x4e1759,retryThrottledRequestMaxTimes:_0x318b32=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x418bab=defaultSettings['retryNetworkErrorMaxTimes'],metadata:_0x51b667}){return retryIfFailed(()=>request({'method':'POST','headers':{'X-UC-User-Agent':getUserAgent({'publicKey':_0x55a3d7,'integration':_0x303289,'userAgent':_0x4e1759})},'url':getUrl(_0x162c1c,'/from_url/',{'jsonerrors':0x1,'pub_key':_0x55a3d7,'source_url':_0x1c38a8,'store':getStoreValue(_0x44ebf7),'filename':_0x4b7399,'check_URL_duplicates':_0x3ef3b8?0x1:void 0x0,'save_URL_duplicates':_0x2368d9?0x1:void 0x0,'signature':_0x1d8848,'expire':_0x4d27b4,'source':_0x42b94f,'metadata':_0x51b667}),'signal':_0x2da999})['then'](({data:_0xdf2b17,headers:_0xaba05f,request:_0x1a52e9})=>{const _0x55acc1=_0x46273f(JSON['parse'](_0xdf2b17));if('error'in _0x55acc1)throw new _0x3dc1f3(_0x55acc1['error']['content'],_0x55acc1['error']['errorCode'],_0x1a52e9,_0x55acc1,_0xaba05f);return _0x55acc1;}),{'retryNetworkErrorMaxTimes':_0x418bab,'retryThrottledRequestMaxTimes':_0x318b32});}!function(_0x533b40){_0x533b40['Token']='token',_0x533b40['FileInfo']='file_info';}(_0x176880||(_0x176880={})),function(_0xdd471a){_0xdd471a['Unknown']='unknown',_0xdd471a['Waiting']='waiting',_0xdd471a['Progress']='progress',_0xdd471a['Error']='error',_0xdd471a['Success']='success';}(Status||(Status={}));const _0x4674be=_0x52163d=>'status'in _0x52163d&&_0x52163d['status']===Status['Error'];function fromUrlStatus(_0x49b597,{publicKey:_0x2526ae,baseURL:_0x9096af=defaultSettings['baseURL'],signal:_0x4b0578,integration:_0x2f9ae8,userAgent:_0x4b4fc4,retryThrottledRequestMaxTimes:_0x4355ed=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x7e5624=defaultSettings['retryNetworkErrorMaxTimes']}={}){return retryIfFailed(()=>request({'method':'GET','headers':_0x2526ae?{'X-UC-User-Agent':getUserAgent({'publicKey':_0x2526ae,'integration':_0x2f9ae8,'userAgent':_0x4b4fc4})}:void 0x0,'url':getUrl(_0x9096af,'/from_url/status/',{'jsonerrors':0x1,'token':_0x49b597}),'signal':_0x4b0578})['then'](({data:_0x54e60d,headers:_0x5d6630,request:_0x49757d})=>{const _0x556a9a=_0x46273f(JSON['parse'](_0x54e60d));if('error'in _0x556a9a&&!_0x4674be(_0x556a9a))throw new _0x3dc1f3(_0x556a9a['error']['content'],_0x556a9a['error']['errorCode'],_0x49757d,_0x556a9a,_0x5d6630);return _0x556a9a;}),{'retryNetworkErrorMaxTimes':_0x7e5624,'retryThrottledRequestMaxTimes':_0x4355ed});}function _0x5ecf80(_0x1a9cb3,{publicKey:_0xdda1d6,baseURL:_0xaa011c=defaultSettings['baseURL'],signal:_0x36740f,source:_0x3ccc61,integration:_0x530db8,userAgent:_0x18360e,retryThrottledRequestMaxTimes:_0x43e859=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x2a2883=defaultSettings['retryNetworkErrorMaxTimes']}){return retryIfFailed(()=>request({'method':'GET','headers':{'X-UC-User-Agent':getUserAgent({'publicKey':_0xdda1d6,'integration':_0x530db8,'userAgent':_0x18360e})},'url':getUrl(_0xaa011c,'/info/',{'jsonerrors':0x1,'pub_key':_0xdda1d6,'file_id':_0x1a9cb3,'source':_0x3ccc61}),'signal':_0x36740f})['then'](({data:_0x220c6a,headers:_0x157248,request:_0xa17111})=>{const _0x376a4b=_0x46273f(JSON['parse'](_0x220c6a));if('error'in _0x376a4b)throw new _0x3dc1f3(_0x376a4b['error']['content'],_0x376a4b['error']['errorCode'],_0xa17111,_0x376a4b,_0x157248);return _0x376a4b;}),{'retryThrottledRequestMaxTimes':_0x43e859,'retryNetworkErrorMaxTimes':_0x2a2883});}function multipartStart(_0x321572,{publicKey:_0x5b1b97,contentType:_0x1b48d5,fileName:_0x44a5e5,multipartChunkSize:_0x570c24=defaultSettings['multipartChunkSize'],baseURL:_0x5a663f='',secureSignature:_0x2f16ed,secureExpire:_0xb7fd97,store:_0x3e55f1,signal:_0x179a04,source:_0x265143='local',integration:_0x5dfd40,userAgent:_0xd73fb0,retryThrottledRequestMaxTimes:_0x4f391c=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x59e7f3=defaultSettings['retryNetworkErrorMaxTimes'],metadata:_0x43cee5}){return retryIfFailed(()=>request({'method':'POST','url':getUrl(_0x5a663f,'/multipart/start/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':getUserAgent({'publicKey':_0x5b1b97,'integration':_0x5dfd40,'userAgent':_0xd73fb0})},'data':buildFormData({'filename':_0x44a5e5,'size':_0x321572,'content_type':_0x1b48d5||defaultContentType,'part_size':_0x570c24,'UPLOADCARE_STORE':getStoreValue(_0x3e55f1),'UPLOADCARE_PUB_KEY':_0x5b1b97,'signature':_0x2f16ed,'expire':_0xb7fd97,'source':_0x265143,'metadata':_0x43cee5}),'signal':_0x179a04})['then'](({data:_0x549e78,headers:_0x410b48,request:_0x53f9e0})=>{const _0x2f80f0=_0x46273f(JSON['parse'](_0x549e78));if('error'in _0x2f80f0)throw new _0x3dc1f3(_0x2f80f0['error']['content'],_0x2f80f0['error']['errorCode'],_0x53f9e0,_0x2f80f0,_0x410b48);return _0x2f80f0['parts']=Object['keys'](_0x2f80f0['parts'])['map'](_0x5d17a9=>_0x2f80f0['parts'][Number(_0x5d17a9)]),_0x2f80f0;}),{'retryThrottledRequestMaxTimes':_0x4f391c,'retryNetworkErrorMaxTimes':_0x59e7f3});}function multipartUpload(_0x27bdfb,_0x4287dc,{contentType:_0x83a2ef,signal:_0x2527cc,onProgress:_0x5ac0ff,retryThrottledRequestMaxTimes:_0x28ec91=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x24415c=defaultSettings['retryNetworkErrorMaxTimes']}){return retryIfFailed(()=>request({'method':'PUT','url':_0x4287dc,'data':_0x27bdfb,'onProgress':_0x5ac0ff,'signal':_0x2527cc,'headers':{'Content-Type':_0x83a2ef||defaultContentType}})['then'](_0x3d4d75=>(_0x5ac0ff&&_0x5ac0ff({'isComputable':!0x0,'value':0x1}),_0x3d4d75))['then'](({status:_0x560217})=>({'code':_0x560217})),{'retryThrottledRequestMaxTimes':_0x28ec91,'retryNetworkErrorMaxTimes':_0x24415c});}function multipartComplete(_0x388403,{publicKey:_0x40b098,baseURL:_0x59b8b0=defaultSettings['baseURL'],source:_0x4aca36='local',signal:_0x21a07f,integration:_0x5863e7,userAgent:_0x20c355,retryThrottledRequestMaxTimes:_0x287d74=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x343556=defaultSettings['retryNetworkErrorMaxTimes']}){return retryIfFailed(()=>request({'method':'POST','url':getUrl(_0x59b8b0,'/multipart/complete/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':getUserAgent({'publicKey':_0x40b098,'integration':_0x5863e7,'userAgent':_0x20c355})},'data':buildFormData({'uuid':_0x388403,'UPLOADCARE_PUB_KEY':_0x40b098,'source':_0x4aca36}),'signal':_0x21a07f})['then'](({data:_0x1cdd44,headers:_0x3a9c6d,request:_0x356ffd})=>{const _0x31d7a1=_0x46273f(JSON['parse'](_0x1cdd44));if('error'in _0x31d7a1)throw new _0x3dc1f3(_0x31d7a1['error']['content'],_0x31d7a1['error']['errorCode'],_0x356ffd,_0x31d7a1,_0x3a9c6d);return _0x31d7a1;}),{'retryThrottledRequestMaxTimes':_0x287d74,'retryNetworkErrorMaxTimes':_0x343556});}function _0x5f3640(_0x2c1aa6,{publicKey:_0x3665f1,baseURL:_0x16f8ce,source:_0x36222b,integration:_0x20c937,userAgent:_0x4cacd3,retryThrottledRequestMaxTimes:_0xafb8c4,retryNetworkErrorMaxTimes:_0x282744,signal:_0x520315,onProgress:_0x5beaf5}){return _0x111a4e({'check':_0x197c22=>_0x5ecf80(_0x2c1aa6,{'publicKey':_0x3665f1,'baseURL':_0x16f8ce,'signal':_0x197c22,'source':_0x36222b,'integration':_0x20c937,'userAgent':_0x4cacd3,'retryThrottledRequestMaxTimes':_0xafb8c4,'retryNetworkErrorMaxTimes':_0x282744})['then'](_0x54f689=>_0x54f689['isReady']?_0x54f689:(_0x5beaf5&&_0x5beaf5({'isComputable':!0x0,'value':0x1}),!0x1)),'signal':_0x520315});}function _0x358683(_0x3925b3){return'defaultEffects'in _0x3925b3;}class _0x199080{['uuid'];['name'];['size'];['isStored'];['isImage'];['mimeType'];['cdnUrl'];['s3Url'];['originalFilename'];['imageInfo'];['videoInfo'];['contentInfo'];['metadata'];['s3Bucket'];['defaultEffects']=null;constructor(_0x23e98d,{baseCDN:_0x14c1b3=defaultSettings['baseCDN'],fileName:_0x2afbce}={}){const {uuid:_0x18c350,s3Bucket:_0x37329a}=_0x23e98d,_0x2a4e8e=getUrl(_0x14c1b3,_0x18c350+'/'),_0x54d340=_0x37329a?getUrl('https://'+_0x37329a+'.s3.amazonaws.com/',_0x18c350+'/'+_0x23e98d['filename']):null;this['uuid']=_0x18c350,this['name']=_0x2afbce||_0x23e98d['filename'],this['size']=_0x23e98d['size'],this['isStored']=_0x23e98d['isStored'],this['isImage']=_0x23e98d['isImage'],this['mimeType']=_0x23e98d['mimeType'],this['cdnUrl']=_0x2a4e8e,this['originalFilename']=_0x23e98d['originalFilename'],this['imageInfo']=_0x23e98d['imageInfo'],this['videoInfo']=_0x23e98d['videoInfo'],this['contentInfo']=_0x23e98d['contentInfo'],this['metadata']=_0x23e98d['metadata']||null,this['s3Bucket']=_0x37329a||null,this['s3Url']=_0x54d340,_0x358683(_0x23e98d)&&(this['defaultEffects']=_0x23e98d['defaultEffects']);}}const uploadDirect=(_0x1817fe,{publicKey:_0x26a9ec,fileName:_0x1f7e8b,baseURL:_0x486222,secureSignature:_0x595d0b,secureExpire:_0x2dd3fa,store:_0x19abb1,contentType:_0x5d23d9,signal:_0x46c6ca,onProgress:_0x4241d4,source:_0x1234de,integration:_0x5eac29,userAgent:_0x33640e,retryThrottledRequestMaxTimes:_0x4cd7c5,retryNetworkErrorMaxTimes:_0x1031b6,baseCDN:_0x5cd56c,metadata:_0x48a6a0})=>_0x30124f(_0x1817fe,{'publicKey':_0x26a9ec,'fileName':_0x1f7e8b,'contentType':_0x5d23d9,'baseURL':_0x486222,'secureSignature':_0x595d0b,'secureExpire':_0x2dd3fa,'store':_0x19abb1,'signal':_0x46c6ca,'onProgress':_0x4241d4,'source':_0x1234de,'integration':_0x5eac29,'userAgent':_0x33640e,'retryThrottledRequestMaxTimes':_0x4cd7c5,'retryNetworkErrorMaxTimes':_0x1031b6,'metadata':_0x48a6a0})['then'](({file:_0x404b35})=>_0x5f3640(_0x404b35,{'publicKey':_0x26a9ec,'baseURL':_0x486222,'source':_0x1234de,'integration':_0x5eac29,'userAgent':_0x33640e,'retryThrottledRequestMaxTimes':_0x4cd7c5,'retryNetworkErrorMaxTimes':_0x1031b6,'onProgress':_0x4241d4,'signal':_0x46c6ca}))['then'](_0x4deb2b=>new _0x199080(_0x4deb2b,{'baseCDN':_0x5cd56c})),_0x24ea46=(_0x2eee80,{publicKey:_0x17e09a,fileName:_0x1b2ca4,baseURL:_0x18b216,signal:_0x393bbc,onProgress:_0x1c9079,source:_0x30c2ce,integration:_0x2369ca,userAgent:_0x390694,retryThrottledRequestMaxTimes:_0x3e6451,retryNetworkErrorMaxTimes:_0x387f0b,baseCDN:_0x227b83})=>_0x5ecf80(_0x2eee80,{'publicKey':_0x17e09a,'baseURL':_0x18b216,'signal':_0x393bbc,'source':_0x30c2ce,'integration':_0x2369ca,'userAgent':_0x390694,'retryThrottledRequestMaxTimes':_0x3e6451,'retryNetworkErrorMaxTimes':_0x387f0b})['then'](_0xc990df=>new _0x199080(_0xc990df,{'baseCDN':_0x227b83,'fileName':_0x1b2ca4}))['then'](_0x315f3d=>(_0x1c9079&&_0x1c9079({'isComputable':!0x0,'value':0x1}),_0x315f3d)),_0x57690f=(_0x568b46,{signal:_0x7474c}={})=>{let _0x251f7b=null,_0x138e13=null;const _0x259680=_0x568b46['map'](()=>new AbortController());return _0x2b33ab(_0x7474c,()=>{_0x259680['forEach'](_0x429e3b=>_0x429e3b['abort']());}),Promise['all'](_0x568b46['map']((_0x2ed288,_0x9fb51)=>{const _0x541540=(_0x1bc4d6=>()=>{_0x138e13=_0x1bc4d6,_0x259680['forEach']((_0x3a3d5f,_0xd5e563)=>_0xd5e563!==_0x1bc4d6&&_0x3a3d5f['abort']());})(_0x9fb51);return Promise['resolve']()['then'](()=>_0x2ed288({'stopRace':_0x541540,'signal':_0x259680[_0x9fb51]['signal']}))['then'](_0x3f2cb2=>(_0x541540(),_0x3f2cb2))['catch'](_0x31401d=>(_0x251f7b=_0x31401d,null));}))['then'](_0x1ab52d=>{if(null===_0x138e13)throw _0x251f7b;return _0x1ab52d[_0x138e13];});};var WebSocket=window['WebSocket'];class Events{['events']=Object['create']({});['emit'](_0x352866,_0x21836d){this['events'][_0x352866]?.['forEach'](_0x17c61a=>_0x17c61a(_0x21836d));}['on'](_0x49813a,_0x8cf649){this['events'][_0x49813a]=this['events'][_0x49813a]||[],this['events'][_0x49813a]['push'](_0x8cf649);}['off'](_0x2e2325,_0x5b5fea){this['events'][_0x2e2325]=_0x5b5fea?this['events'][_0x2e2325]['filter'](_0x3e6ebf=>_0x3e6ebf!==_0x5b5fea):[];}}const _0xaca096=(_0x8e7bdc,_0x404e76)=>'success'===_0x8e7bdc?{'status':Status['Success'],..._0x404e76}:'progress'===_0x8e7bdc?{'status':Status['Progress'],..._0x404e76}:{'status':Status['Error'],..._0x404e76};class _0xedccaf{['key'];['disconnectTime'];['ws']=void 0x0;['queue']=[];['isConnected']=!0x1;['subscribers']=0x0;['emmitter']=new Events();['disconnectTimeoutId']=null;constructor(_0x5df289,_0x34f7d5=0x7530){this['key']=_0x5df289,this['disconnectTime']=_0x34f7d5;}['connect'](){if(this['disconnectTimeoutId']&&clearTimeout(this['disconnectTimeoutId']),!this['isConnected']&&!this['ws']){const _0x3a1725='wss://ws.pusherapp.com/app/'+this['key']+'?protocol=5&client=js&version=1.12.2';this['ws']=new WebSocket(_0x3a1725),this['ws']['addEventListener']('error',_0x4e6d82=>{this['emmitter']['emit']('error',new Error(_0x4e6d82['message']));}),this['emmitter']['on']('connected',()=>{this['isConnected']=!0x0,this['queue']['forEach'](_0xce7f7f=>this['send'](_0xce7f7f['event'],_0xce7f7f['data'])),this['queue']=[];}),this['ws']['addEventListener']('message',_0x36a30e=>{const _0x44684d=JSON['parse'](_0x36a30e['data']['toString']());switch(_0x44684d['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'](_0x44684d['channel'],_0xaca096(_0x44684d['event'],JSON['parse'](_0x44684d['data'])));}});}}['disconnect'](){const _0xcd63a8=()=>{this['ws']?.['close'](),this['ws']=void 0x0,this['isConnected']=!0x1;};this['disconnectTime']?this['disconnectTimeoutId']=setTimeout(()=>{_0xcd63a8();},this['disconnectTime']):_0xcd63a8();}['send'](_0x314a5a,_0x2d050a){const _0x26978d=JSON['stringify']({'event':_0x314a5a,'data':_0x2d050a});this['ws']?.['send'](_0x26978d);}['subscribe'](_0x157e7f,_0x4ba8b9){this['subscribers']+=0x1,this['connect']();const _0x11716d='task-status-'+_0x157e7f,_0x130a48={'event':'pusher:subscribe','data':{'channel':_0x11716d}};this['emmitter']['on'](_0x11716d,_0x4ba8b9),this['isConnected']?this['send'](_0x130a48['event'],_0x130a48['data']):this['queue']['push'](_0x130a48);}['unsubscribe'](_0x33cb72){this['subscribers']-=0x1;const _0x1b197e='task-status-'+_0x33cb72,_0xf441a8={'event':'pusher:unsubscribe','data':{'channel':_0x1b197e}};this['emmitter']['off'](_0x1b197e),this['isConnected']?this['send'](_0xf441a8['event'],_0xf441a8['data']):this['queue']=this['queue']['filter'](_0x4c30f9=>_0x4c30f9['data']['channel']!==_0x1b197e),0x0===this['subscribers']&&this['disconnect']();}['onError'](_0x3ad82c){return this['emmitter']['on']('error',_0x3ad82c),()=>this['emmitter']['off']('error',_0x3ad82c);}}let _0x2f8a92=null;const getPusher=_0x49f3b2=>{if(!_0x2f8a92){const _0x3a050f='undefined'==typeof window?0x0:0x7530;_0x2f8a92=new _0xedccaf(_0x49f3b2,_0x3a050f);}return _0x2f8a92;},preconnect=_0x10e2ed=>{getPusher(_0x10e2ed)['connect']();};function pollStrategy({token:_0x402cdd,publicKey:_0x383368,baseURL:_0x2dbc5e,integration:_0x4ab165,userAgent:_0x432597,retryThrottledRequestMaxTimes:_0xb00d6f,retryNetworkErrorMaxTimes:_0x2f5a24,onProgress:_0x1ef753,signal:_0x32144e}){return _0x111a4e({'check':_0x5c002c=>fromUrlStatus(_0x402cdd,{'publicKey':_0x383368,'baseURL':_0x2dbc5e,'integration':_0x4ab165,'userAgent':_0x432597,'retryThrottledRequestMaxTimes':_0xb00d6f,'retryNetworkErrorMaxTimes':_0x2f5a24,'signal':_0x5c002c})['then'](_0x554f89=>{switch(_0x554f89['status']){case Status['Error']:return new _0x3dc1f3(_0x554f89['error'],_0x554f89['errorCode']);case Status['Waiting']:return!0x1;case Status['Unknown']:return new _0x3dc1f3('Token\x20\x22'+_0x402cdd+'\x22\x20was\x20not\x20found.');case Status['Progress']:return _0x1ef753&&('unknown'===_0x554f89['total']?_0x1ef753({'isComputable':!0x1}):_0x1ef753({'isComputable':!0x0,'value':_0x554f89['done']/_0x554f89['total']})),!0x1;case Status['Success']:return _0x1ef753&&_0x1ef753({'isComputable':!0x0,'value':_0x554f89['done']/_0x554f89['total']}),_0x554f89;default:throw new Error('Unknown\x20status');}}),'signal':_0x32144e});}const pushStrategy=({token:_0x5f50d3,pusherKey:_0x33c81d,signal:_0x29f003,onProgress:_0x180c71})=>new Promise((_0x335478,_0xd5a828)=>{const _0x391e3e=getPusher(_0x33c81d),_0x17e834=_0x391e3e['onError'](_0xd5a828),_0x3c9314=()=>{_0x17e834(),_0x391e3e['unsubscribe'](_0x5f50d3);};_0x2b33ab(_0x29f003,()=>{_0x3c9314(),_0xd5a828(new _0x28cf82('pusher\x20cancelled'));}),_0x391e3e['subscribe'](_0x5f50d3,_0x35cd67=>{switch(_0x35cd67['status']){case Status['Progress']:_0x180c71&&('unknown'===_0x35cd67['total']?_0x180c71({'isComputable':!0x1}):_0x180c71({'isComputable':!0x0,'value':_0x35cd67['done']/_0x35cd67['total']}));break;case Status['Success']:_0x3c9314(),_0x180c71&&_0x180c71({'isComputable':!0x0,'value':_0x35cd67['done']/_0x35cd67['total']}),_0x335478(_0x35cd67);break;case Status['Error']:_0x3c9314(),_0xd5a828(new _0x3dc1f3(_0x35cd67['msg'],_0x35cd67['error_code']));}});}),_0x39eaba=(_0x14a8e6,{publicKey:_0x5f4ded,fileName:_0x3c6abd,baseURL:_0x2ead05,baseCDN:_0x36e417,checkForUrlDuplicates:_0x1ee67f,saveUrlForRecurrentUploads:_0x1eb20d,secureSignature:_0x41c498,secureExpire:_0x10a3b2,store:_0x1386ac,signal:_0x5588c9,onProgress:_0x1bd020,source:_0x57e5e2,integration:_0x5294c8,userAgent:_0x48d3ad,retryThrottledRequestMaxTimes:_0x11dd5c,pusherKey:_0x37a727=defaultSettings['pusherKey'],metadata:_0x3ac200})=>Promise['resolve'](preconnect(_0x37a727))['then'](()=>_0xebd32e(_0x14a8e6,{'publicKey':_0x5f4ded,'fileName':_0x3c6abd,'baseURL':_0x2ead05,'checkForUrlDuplicates':_0x1ee67f,'saveUrlForRecurrentUploads':_0x1eb20d,'secureSignature':_0x41c498,'secureExpire':_0x10a3b2,'store':_0x1386ac,'signal':_0x5588c9,'source':_0x57e5e2,'integration':_0x5294c8,'userAgent':_0x48d3ad,'retryThrottledRequestMaxTimes':_0x11dd5c,'metadata':_0x3ac200}))['catch'](_0x3bc036=>{const _0x40cf12=getPusher(_0x37a727);return _0x40cf12?.['disconnect'](),Promise['reject'](_0x3bc036);})['then'](_0x19f68b=>_0x19f68b['type']===_0x176880['FileInfo']?_0x19f68b:_0x57690f([({signal:_0x4208f2})=>pollStrategy({'token':_0x19f68b['token'],'publicKey':_0x5f4ded,'baseURL':_0x2ead05,'integration':_0x5294c8,'userAgent':_0x48d3ad,'retryThrottledRequestMaxTimes':_0x11dd5c,'onProgress':_0x1bd020,'signal':_0x4208f2}),({signal:_0x4dc86f})=>pushStrategy({'token':_0x19f68b['token'],'pusherKey':_0x37a727,'signal':_0x4dc86f,'onProgress':_0x1bd020})],{'signal':_0x5588c9}))['then'](_0x235a72=>{if(_0x235a72 instanceof _0x3dc1f3)throw _0x235a72;return _0x235a72;})['then'](_0x65a30f=>_0x5f3640(_0x65a30f['uuid'],{'publicKey':_0x5f4ded,'baseURL':_0x2ead05,'integration':_0x5294c8,'userAgent':_0x48d3ad,'retryThrottledRequestMaxTimes':_0x11dd5c,'onProgress':_0x1bd020,'signal':_0x5588c9}))['then'](_0x4a9a91=>new _0x199080(_0x4a9a91,{'baseCDN':_0x36e417})),_0x1543d3=new WeakMap(),getBlobFromReactNativeAsset=async _0x105acf=>{if(_0x1543d3['has'](_0x105acf))return _0x1543d3['get'](_0x105acf);const _0x175304=await fetch(_0x105acf['uri'])['then'](_0xa57343=>_0xa57343['blob']());return _0x1543d3['set'](_0x105acf,_0x175304),_0x175304;},getFileSize=async _0x1c8f52=>{if(_0xd3642f(_0x1c8f52)||_0x29d0fe(_0x1c8f52))return _0x1c8f52['size'];if(isReactNativeAsset(_0x1c8f52))return(await getBlobFromReactNativeAsset(_0x1c8f52))['size'];throw new Error('Unknown\x20file\x20type.\x20Cannot\x20determine\x20file\x20size.');},isMultipart=(_0x5c2eeb,_0x11f945=defaultSettings['multipartMinFileSize'])=>_0x5c2eeb>=_0x11f945,_0xb948af=_0x3d3e4f=>{const _0x30da0a=new RegExp('[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}');return!isFileData(_0x3d3e4f)&&_0x30da0a['test'](_0x3d3e4f);},_0x3b8f14=_0x5f0faf=>{const _0x2a736e=new RegExp('^(?:\x5cw+:)?\x5c/\x5c/([^\x5cs\x5c.]+\x5c.\x5cS{2}|localhost[\x5c:?\x5cd]*)\x5cS*$');return!isFileData(_0x5f0faf)&&_0x2a736e['test'](_0x5f0faf);},runWithConcurrency=(_0x50aa4f,_0x1d8aeb)=>new Promise((_0x310e51,_0x179360)=>{const _0x1dd324=[];let _0x53736b=!0x1,_0x3bb113=_0x1d8aeb['length'];const _0x1d8fcb=[..._0x1d8aeb],_0x3167f1=()=>{const _0x8ce1e9=_0x1d8aeb['length']-_0x1d8fcb['length'],_0x49e845=_0x1d8fcb['shift']();_0x49e845&&_0x49e845()['then'](_0xae5c3b=>{_0x53736b||(_0x1dd324[_0x8ce1e9]=_0xae5c3b,_0x3bb113-=0x1,_0x3bb113?_0x3167f1():_0x310e51(_0x1dd324));})['catch'](_0x3b9b47=>{_0x53736b=!0x0,_0x179360(_0x3b9b47);});};for(let _0x285a5d=0x0;_0x285a5d<_0x50aa4f;_0x285a5d++)_0x3167f1();}),_0x58a8c8=(_0x33d845,_0xbc82a,_0x2d779f,_0x44eb91)=>{const _0x70d578=_0x44eb91*_0xbc82a,_0x1c3f24=Math['min'](_0x70d578+_0x44eb91,_0x2d779f);return _0x33d845['slice'](_0x70d578,_0x1c3f24);},_0x224e9d=async(_0x3ad860,_0x2c935f,_0xf8fcc3)=>_0x4b4fc7=>_0x58a8c8(_0x3ad860,_0x4b4fc7,_0x2c935f,_0xf8fcc3),uploadPart=(_0xd20ce6,_0x15342b,{publicKey:_0x42feaa,contentType:_0x157577,onProgress:_0x16f2b6,signal:_0x53f425,integration:_0x45bfec,retryThrottledRequestMaxTimes:_0xc07578,retryNetworkErrorMaxTimes:_0x3588ba})=>multipartUpload(_0xd20ce6,_0x15342b,{'contentType':_0x157577,'onProgress':_0x16f2b6,'signal':_0x53f425,'retryThrottledRequestMaxTimes':_0xc07578,'retryNetworkErrorMaxTimes':_0x3588ba}),uploadMultipart=async(_0x595b07,{publicKey:_0x203d25,fileName:_0x144856,fileSize:_0x1167f7,baseURL:_0xfa4b57,secureSignature:_0x34998f,secureExpire:_0x1d3518,store:_0x4dd8ae,signal:_0x3232ef,onProgress:_0x434704,source:_0x1eed03,integration:_0x35b5ca,userAgent:_0x1fc789,retryThrottledRequestMaxTimes:_0x5cf193,retryNetworkErrorMaxTimes:_0x2ff885,contentType:_0x106188,multipartChunkSize:_0x321fdb=defaultSettings['multipartChunkSize'],maxConcurrentRequests:_0x3887ed=defaultSettings['maxConcurrentRequests'],baseCDN:_0x2fa0fc,metadata:_0x318edb})=>{const _0x20831e=_0x1167f7??await getFileSize(_0x595b07);let _0x2b7239;const _0x4c09bc=(_0x3680e2,_0x2df2b2)=>{if(!_0x434704)return;_0x2b7239||(_0x2b7239=Array(_0x3680e2)['fill'](0x0));const _0x362f9c=_0x43569c=>_0x43569c['reduce']((_0x3a241c,_0x4b554f)=>_0x3a241c+_0x4b554f,0x0);return _0x5e7f8a=>{_0x5e7f8a['isComputable']&&(_0x2b7239[_0x2df2b2]=_0x5e7f8a['value'],_0x434704({'isComputable':!0x0,'value':_0x362f9c(_0x2b7239)/_0x3680e2}));};};return _0x106188||=getContentType(_0x595b07),multipartStart(_0x20831e,{'publicKey':_0x203d25,'contentType':_0x106188,'fileName':_0x144856||getFileName(_0x595b07),'baseURL':_0xfa4b57,'secureSignature':_0x34998f,'secureExpire':_0x1d3518,'store':_0x4dd8ae,'signal':_0x3232ef,'source':_0x1eed03,'integration':_0x35b5ca,'userAgent':_0x1fc789,'retryThrottledRequestMaxTimes':_0x5cf193,'retryNetworkErrorMaxTimes':_0x2ff885,'metadata':_0x318edb,'multipartChunkSize':_0x321fdb})['then'](async({uuid:_0x46224f,parts:_0x2f29b3})=>{const _0x5f10a7=await _0x224e9d(_0x595b07,_0x20831e,_0x321fdb);return Promise['all']([_0x46224f,runWithConcurrency(_0x3887ed,_0x2f29b3['map']((_0x5dd0b8,_0x24c4f0)=>()=>uploadPart(_0x5f10a7(_0x24c4f0),_0x5dd0b8,{'publicKey':_0x203d25,'contentType':_0x106188,'onProgress':_0x4c09bc(_0x2f29b3['length'],_0x24c4f0),'signal':_0x3232ef,'integration':_0x35b5ca,'retryThrottledRequestMaxTimes':_0x5cf193,'retryNetworkErrorMaxTimes':_0x2ff885})))]);})['then'](([_0x3ef647])=>multipartComplete(_0x3ef647,{'publicKey':_0x203d25,'baseURL':_0xfa4b57,'source':_0x1eed03,'integration':_0x35b5ca,'userAgent':_0x1fc789,'retryThrottledRequestMaxTimes':_0x5cf193,'retryNetworkErrorMaxTimes':_0x2ff885}))['then'](_0x1dbb4a=>_0x1dbb4a['isReady']?_0x1dbb4a:_0x5f3640(_0x1dbb4a['uuid'],{'publicKey':_0x203d25,'baseURL':_0xfa4b57,'source':_0x1eed03,'integration':_0x35b5ca,'userAgent':_0x1fc789,'retryThrottledRequestMaxTimes':_0x5cf193,'retryNetworkErrorMaxTimes':_0x2ff885,'onProgress':_0x434704,'signal':_0x3232ef}))['then'](_0x5ba120=>new _0x199080(_0x5ba120,{'baseCDN':_0x2fa0fc}));};async function _0x3d74ba(_0x2a045d,{publicKey:_0x283023,fileName:_0x1798c8,baseURL:_0x2e0883=defaultSettings['baseURL'],secureSignature:_0x4e47b3,secureExpire:_0x570ce1,store:_0x885eb3,signal:_0x44252e,onProgress:_0x53987d,source:_0x6ebf42,integration:_0x22083f,userAgent:_0x2f3e96,retryThrottledRequestMaxTimes:_0x218ef8,retryNetworkErrorMaxTimes:_0x5096dc,contentType:_0x4eed2a,multipartMinFileSize:_0x4d30e0,multipartChunkSize:_0x3af663,maxConcurrentRequests:_0x1d4df1,baseCDN:_0x94acec=defaultSettings['baseCDN'],checkForUrlDuplicates:_0x2121a1,saveUrlForRecurrentUploads:_0x51f44a,pusherKey:_0x3726c1,metadata:_0x797f4c}){if(isFileData(_0x2a045d)){const _0x580903=await getFileSize(_0x2a045d);return isMultipart(_0x580903,_0x4d30e0)?uploadMultipart(_0x2a045d,{'publicKey':_0x283023,'contentType':_0x4eed2a,'multipartChunkSize':_0x3af663,'fileSize':_0x580903,'fileName':_0x1798c8,'baseURL':_0x2e0883,'secureSignature':_0x4e47b3,'secureExpire':_0x570ce1,'store':_0x885eb3,'signal':_0x44252e,'onProgress':_0x53987d,'source':_0x6ebf42,'integration':_0x22083f,'userAgent':_0x2f3e96,'maxConcurrentRequests':_0x1d4df1,'retryThrottledRequestMaxTimes':_0x218ef8,'retryNetworkErrorMaxTimes':_0x5096dc,'baseCDN':_0x94acec,'metadata':_0x797f4c}):uploadDirect(_0x2a045d,{'publicKey':_0x283023,'fileName':_0x1798c8,'contentType':_0x4eed2a,'baseURL':_0x2e0883,'secureSignature':_0x4e47b3,'secureExpire':_0x570ce1,'store':_0x885eb3,'signal':_0x44252e,'onProgress':_0x53987d,'source':_0x6ebf42,'integration':_0x22083f,'userAgent':_0x2f3e96,'retryThrottledRequestMaxTimes':_0x218ef8,'retryNetworkErrorMaxTimes':_0x5096dc,'baseCDN':_0x94acec,'metadata':_0x797f4c});}if(_0x3b8f14(_0x2a045d))return _0x39eaba(_0x2a045d,{'publicKey':_0x283023,'fileName':_0x1798c8,'baseURL':_0x2e0883,'baseCDN':_0x94acec,'checkForUrlDuplicates':_0x2121a1,'saveUrlForRecurrentUploads':_0x51f44a,'secureSignature':_0x4e47b3,'secureExpire':_0x570ce1,'store':_0x885eb3,'signal':_0x44252e,'onProgress':_0x53987d,'source':_0x6ebf42,'integration':_0x22083f,'userAgent':_0x2f3e96,'retryThrottledRequestMaxTimes':_0x218ef8,'pusherKey':_0x3726c1,'metadata':_0x797f4c});if(_0xb948af(_0x2a045d))return _0x24ea46(_0x2a045d,{'publicKey':_0x283023,'fileName':_0x1798c8,'baseURL':_0x2e0883,'signal':_0x44252e,'onProgress':_0x53987d,'source':_0x6ebf42,'integration':_0x22083f,'userAgent':_0x2f3e96,'retryThrottledRequestMaxTimes':_0x218ef8,'retryNetworkErrorMaxTimes':_0x5096dc,'baseCDN':_0x94acec});throw new TypeError('File\x20uploading\x20from\x20\x22'+_0x2a045d+'\x22\x20is\x20not\x20supported');}class UploadUtils{static['upload']({file:_0x2af7bf,..._0x12436e}){return _0x3d74ba(_0x2af7bf,_0x12436e);}static['getInfo'](_0x5d4778,_0x4828a7){return _0x5ecf80(_0x5d4778,_0x4828a7);}}class UploadcareUploadAdapter extends ckeditor5['Plugin']{static get['requires'](){return[ckeditor5['ImageUploadEditing'],ckeditor5['ImageUploadProgress'],ckeditor5['FileRepository'],UploadcareEditing];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2231c2=this['editor'];if(!!!_0x2231c2['config']['get']('uploadcare'))return;_0x2231c2['plugins']['get'](ckeditor5['FileRepository'])['createUploadAdapter']=_0x8618ef=>new Adapter(_0x8618ef,_0x2231c2),_0x2231c2['plugins']['get'](ckeditor5['ImageUploadEditing'])['on']('uploadComplete',(_0x3797e1,{imageElement:_0x4f76a4,data:_0x18a845})=>{_0x2231c2['model']['change'](_0x16f2ab=>{_0x16f2ab['setAttribute']('uploadcareImageId',_0x18a845['uploadcareImageId'],_0x4f76a4);});});}}class Adapter{['loader'];['editor'];['controller'];constructor(_0x44115a,_0xebd40e){this['loader']=_0x44115a,this['editor']=_0xebd40e,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x18d310=await this['loader']['file'];return UploadUtils['upload']({'file':_0x18d310,'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':_0x420673=>{_0x420673&&_0x420673['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x420673['value']);}})['then'](async _0x224024=>{const {imageFallbackUrl:_0x3e71c7,imageSources:_0x788daf}=getImageUrls(_0x224024['cdnUrl'],_0x224024['imageInfo']['width']);return{'uploadcareImageId':_0x224024['uuid'],'default':_0x3e71c7,'sources':_0x788daf};})['catch'](()=>{const _0x405c6a=t('Cannot\x20upload\x20file:')+('\x20'+_0x18d310['name']+'.');return Promise['reject'](_0x405c6a);});}['abort'](){this['controller']['abort']();}}class UploadcareEditing extends ckeditor5['Plugin']{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return[ckeditor5['PictureEditing'],UploadcareUploadAdapter,ckeditor5['Dialog']];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x7b04a0){super(_0x7b04a0),this['ucContextId']=ckeditor5['uid']();}['init'](){const _0xde9c6b=this['editor'];_0xde9c6b['commands']['add']('uploadcare',new _0x2a296c(_0xde9c6b));}['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 _0x259b33=ckeditor5['global']['document']['querySelector']('input[uploadcare-file-input]');_0x259b33&&_0x259b33['remove']();}),_0x51d35e(this);}['_initSchema'](){const _0x8e07f2=this['editor']['model']['schema'];_0x8e07f2['isRegistered']('imageBlock')&&_0x8e07f2['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x8e07f2['isRegistered']('imageInline')&&_0x8e07f2['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x316a2d=this['editor'];_0x316a2d['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x316a2d['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x3554ee=>_0x3554ee['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5bd02f=_0x316a2d['commands']['get']('replaceImageSource');_0x5bd02f&&this['listenTo'](_0x5bd02f,'cleanupImage',(_0x1c901e,[_0xcdec4e,_0x4d91b7])=>{_0xcdec4e['removeAttribute']('uploadcareImageId',_0x4d91b7);});}['_initConfig'](){const _0x329aeb=this['editor']['config']['get']('uploadcare.uploader')||{},_0x268660=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=ckeditor5['createElement'](ckeditor5['global']['document'],'uc-config',{..._0x329aeb,'pubkey':_0x268660,'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']=_0x3faa8a=>{if('closeMax'==_0x3faa8a)return'#uc-icon-arrow-down';},ckeditor5['global']['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=ckeditor5['createElement'](ckeditor5['global']['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),ckeditor5['global']['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x2dd58d=this['editor']['commands']['get']('insertImage');_0x2dd58d&&this['listenTo'](_0x2dd58d,'execute',()=>{const _0x2d2636=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2d2636&&_0x2d2636['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{showImageProcessingIndicator(this['editor'],_0x2d2636);});});const _0x3d3f4b=this['editor']['commands']['get']('uploadcareImageReplace');_0x3d3f4b&&this['listenTo'](_0x3d3f4b,'execute',()=>{const _0x542584=this['editor']['model']['document']['selection']['getSelectedElement']();_0x542584&&_0x542584['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{showImageProcessingIndicator(this['editor'],_0x542584);});});}}async function _0x51d35e(_0x1313e3){const _0x39ea02=_0x433da0([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]),_0x3b8589=window[_0x433da0([0x44,0x61,0x74,0x65])][_0x433da0([0x6e,0x6f,0x77])](),_0x12e016=_0x1313e3[_0x433da0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x31138f=new window[(_0x433da0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x376352=>{_0x12e016[_0x433da0([0x6f,0x6e,0x63,0x65])](_0x433da0([0x72,0x65,0x61,0x64,0x79]),_0x376352);}),_0x1339e1={[_0x433da0([0x6b,0x74,0x79])]:_0x433da0([0x45,0x43]),[_0x433da0([0x75,0x73,0x65])]:_0x433da0([0x73,0x69,0x67]),[_0x433da0([0x63,0x72,0x76])]:_0x433da0([0x50,0x2d,0x32,0x35,0x36]),[_0x433da0([0x78])]:_0x433da0([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]),[_0x433da0([0x79])]:_0x433da0([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]),[_0x433da0([0x61,0x6c,0x67])]:_0x433da0([0x45,0x53,0x32,0x35,0x36])},_0x88316a=_0x12e016[_0x433da0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x433da0([0x67,0x65,0x74])](_0x433da0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x22e27d=await(async function(){let _0x27427e,_0x533219=null,_0x7da0e3=null;try{if(_0x88316a==_0x433da0([0x47,0x50,0x4c]))return _0x433da0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x27427e=(function(){const _0x5a67e0=_0x88316a[_0x433da0([0x73,0x70,0x6c,0x69,0x74])](_0x433da0([0x2e]));if(0x3!=_0x5a67e0[_0x433da0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x8c0799=_0x5a67e0[0x1];return _0x3d2c45(_0x8c0799);function _0x3d2c45(_0x2d639c){const _0x23bc41=_0x5648d4(_0x2d639c);return _0x23bc41&&_0x1e7f8b()?_0x23bc41:null;function _0x1e7f8b(){const _0x44279f=_0x23bc41[_0x433da0([0x6a,0x74,0x69])],_0x21aa58=window[_0x433da0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x44279f[_0x433da0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x44279f[_0x433da0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1d0ba0={..._0x23bc41,[_0x433da0([0x6a,0x74,0x69])]:_0x44279f[_0x433da0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x44279f[_0x433da0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1d0ba0[_0x433da0([0x76,0x63])],_0x2c2bdb(_0x1d0ba0)==_0x21aa58;}}}()),!_0x27427e)return _0x433da0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x27427e[_0x433da0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x7da0e3=function(_0x47f7e9,_0x36eb6c){return new window[(_0x433da0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17bd56=>{if(_0x4d761c())return _0x17bd56(_0x433da0([0x56,0x61,0x6c,0x69,0x64]));_0x439710(),_0x12e016[_0x433da0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x433da0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x495c5e=!0x1;const _0x199804=ckeditor5['uid']();function _0x3a9b25(_0x655c15){return!!_0x655c15&&(typeof _0x655c15===_0x433da0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x655c15===_0x433da0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x655c15[_0x433da0([0x74,0x68,0x65,0x6e])]===_0x433da0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x655c15[_0x433da0([0x63,0x61,0x74,0x63,0x68])]===_0x433da0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x47af(_0x27055a){_0x369b8a(_0x27055a)[_0x433da0([0x74,0x68,0x65,0x6e])](_0x57de30=>{if(!_0x57de30||_0x57de30[_0x433da0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x433da0([0x6f,0x6b]))return _0x433da0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x31ce6c(_0x2c2bdb(_0x199804+_0x36eb6c))!=_0x57de30[_0x433da0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x433da0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x433da0([0x56,0x61,0x6c,0x69,0x64]);})[_0x433da0([0x74,0x68,0x65,0x6e])](_0x54cfa9=>(_0x2628f5(),_0x54cfa9),()=>{const _0xd48197=_0x56dda6();return null==_0xd48197?(_0x2628f5(),_0x433da0([0x56,0x61,0x6c,0x69,0x64])):_0x433da0(_0x3b8589-_0xd48197>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x433da0([0x74,0x68,0x65,0x6e])](_0x17bd56)[_0x433da0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x17bd56(_0x433da0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x17afb2=0x36ee80;function _0x2628f5(){const _0x5ec0e8=_0x433da0([0x6c,0x6c,0x63,0x74,0x2d])+_0x31ce6c(_0x2c2bdb(_0x47f7e9)),_0x153ab1=_0x348a9a(_0x31ce6c(window[_0x433da0([0x4d,0x61,0x74,0x68])][_0x433da0([0x63,0x65,0x69,0x6c])](_0x3b8589/_0x17afb2)));window[_0x433da0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x433da0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5ec0e8,_0x153ab1);}function _0x56dda6(){const _0x334107=_0x433da0([0x6c,0x6c,0x63,0x74,0x2d])+_0x31ce6c(_0x2c2bdb(_0x47f7e9)),_0x4d9ae5=window[_0x433da0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x433da0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x334107);return _0x4d9ae5?window[_0x433da0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x348a9a(_0x4d9ae5),0x10)*_0x17afb2:null;}function _0x369b8a(_0x43b56a){return new window[(_0x433da0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1775c0,_0x2d7db3)=>{_0x43b56a[_0x433da0([0x74,0x68,0x65,0x6e])](_0x1775c0,_0x2d7db3),window[_0x433da0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2d7db3,0x1d4c0);});}}_0x12e016[_0x433da0([0x6f,0x6e])](_0x433da0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2c545d,_0x7e3261)=>{if(_0x7e3261[0x0]!=_0x47f7e9)return _0x17bd56(_0x433da0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x7e3261[0x1]={..._0x7e3261[0x1],[_0x433da0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x199804};},{[_0x433da0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x433da0([0x68,0x69,0x67,0x68])}),_0x12e016[_0x433da0([0x6f,0x6e])](_0x433da0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x18bff8=>{_0x3a9b25(_0x18bff8[_0x433da0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x495c5e=!0x0,_0x47af(_0x18bff8[_0x433da0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x433da0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x433da0([0x6c,0x6f,0x77])}),_0x31138f[_0x433da0([0x74,0x68,0x65,0x6e])](()=>{_0x495c5e||_0x17bd56(_0x433da0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4d761c(){return _0x12e016[_0x433da0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x433da0([0x76,0x69,0x65,0x77])][_0x433da0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x433da0([0x61,0x75,0x74,0x6f]);}function _0x439710(){_0x12e016[_0x433da0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x433da0([0x76,0x69,0x65,0x77])][_0x433da0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x433da0([0x61,0x75,0x74,0x6f]);}}(_0x27427e[_0x433da0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x27427e[_0x433da0([0x6a,0x74,0x69])]));const _0x4bbcec=await(async function(){let _0x20ee19=!0x0;try{const _0x268330=_0x88316a[_0x433da0([0x73,0x70,0x6c,0x69,0x74])](_0x433da0([0x2e])),[_0x1c637a,_0x422082,_0x2e7d95]=_0x268330;return _0x4360f5(_0x1c637a),await _0x257945(_0x1c637a,_0x422082,_0x2e7d95),_0x20ee19;}catch{return!0x1;}function _0x4360f5(_0x481478){const _0x1affbf=_0x5648d4(_0x481478);_0x1affbf&&_0x1affbf[_0x433da0([0x61,0x6c,0x67])]==_0x433da0([0x45,0x53,0x32,0x35,0x36])||(_0x20ee19=!0x1);}async function _0x257945(_0x381b4d,_0x11b3ea,_0x59ec2f){const _0x3d101f=window[_0x433da0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x433da0([0x66,0x72,0x6f,0x6d])](_0x3ccf8e(_0x59ec2f),_0x8f6b10=>_0x8f6b10[_0x433da0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x50eb89=new window[(_0x433da0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x433da0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x381b4d+_0x433da0([0x2e])+_0x11b3ea),_0x34d070=window[_0x433da0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x433da0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x34d070)return;const _0x5e5d93=await _0x34d070[_0x433da0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x433da0([0x6a,0x77,0x6b]),_0x1339e1,{[_0x433da0([0x6e,0x61,0x6d,0x65])]:_0x433da0([0x45,0x43,0x44,0x53,0x41]),[_0x433da0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x433da0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x433da0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x34d070[_0x433da0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x433da0([0x6e,0x61,0x6d,0x65])]:_0x433da0([0x45,0x43,0x44,0x53,0x41]),[_0x433da0([0x68,0x61,0x73,0x68])]:{[_0x433da0([0x6e,0x61,0x6d,0x65])]:_0x433da0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5e5d93,_0x3d101f,_0x50eb89)||(_0x20ee19=!0x1);}}());return _0x4bbcec?(function(){const _0x5a53cb=_0x27427e[_0x433da0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x5a53cb)return!0x1;if(_0x5a53cb[_0x433da0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x433da0([0x2a])))return!0x0;if(_0x5a53cb[_0x433da0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x433da0([0x55,0x50,0x4c,0x43])))return!0x0;return!0x1;}())?(function(){const _0x2b1264=[_0x433da0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x433da0([0x74,0x72,0x69,0x61,0x6c])][_0x433da0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27427e[_0x433da0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3b8589/0x3e8:0x6a03bf00;return _0x27427e[_0x433da0([0x65,0x78,0x70])]<_0x2b1264;}())?_0x433da0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x566909=_0x27427e[_0x433da0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x566909||0x0==_0x566909[_0x433da0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1499a6}=new URL(window[_0x433da0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x566909[_0x433da0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1499a6))return!0x0;const _0x40d774=_0x1499a6[_0x433da0([0x73,0x70,0x6c,0x69,0x74])](_0x433da0([0x2e]));return _0x566909[_0x433da0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x42ae7e=>_0x42ae7e[_0x433da0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x433da0([0x2a])))[_0x433da0([0x6d,0x61,0x70])](_0x4b1215=>_0x4b1215[_0x433da0([0x73,0x70,0x6c,0x69,0x74])](_0x433da0([0x2e])))[_0x433da0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x52b6ea=>_0x52b6ea[_0x433da0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x40d774[_0x433da0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x433da0([0x6d,0x61,0x70])](_0xf1d0cc=>Array(_0x40d774[_0x433da0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xf1d0cc[_0x433da0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x433da0([0x66,0x69,0x6c,0x6c])](_0xf1d0cc[0x0]===_0x433da0([0x2a])?_0x433da0([0x2a]):'')[_0x433da0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xf1d0cc))[_0x433da0([0x73,0x6f,0x6d,0x65])](_0x52a80a=>_0x40d774[_0x433da0([0x65,0x76,0x65,0x72,0x79])]((_0x398b09,_0x2efabd)=>_0x52a80a[_0x2efabd]===_0x398b09||_0x52a80a[_0x2efabd]===_0x433da0([0x2a])));}())?(_0x27427e[_0x433da0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x433da0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x533219=function(_0x20101b){const _0x5e6c9d=new window[(_0x433da0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x64357c=>setTimeout(_0x64357c,0x93ecc)),_0x436bba=_0x31138f[_0x433da0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x433da0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d85c3=>{let _0x1b93af=0x0;_0x12e016[_0x433da0([0x6d,0x6f,0x64,0x65,0x6c])][_0x433da0([0x6f,0x6e])](_0x433da0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x56544d,_0x27141b)=>{_0x27141b[0x0][_0x433da0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1b93af++,0x5e8==_0x1b93af&&(_0x1d85c3(),_0x56544d[_0x433da0([0x6f,0x66,0x66])]());});})),_0x59ec4d=[_0x5e6c9d,_0x436bba];return window[_0x433da0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x433da0([0x72,0x61,0x63,0x65])](_0x59ec4d)[_0x433da0([0x74,0x68,0x65,0x6e])](()=>_0x20101b);}(_0x433da0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x533219&&_0x7da0e3)return new window[(_0x433da0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1e0fef,_0x49cd52)=>{_0x533219[_0x433da0([0x74,0x68,0x65,0x6e])](_0x1e0fef,_0x49cd52),_0x7da0e3[_0x433da0([0x74,0x68,0x65,0x6e])](_0x17e598=>{_0x17e598!=_0x433da0([0x56,0x61,0x6c,0x69,0x64])&&_0x1e0fef(_0x17e598);},_0x49cd52);});return _0x533219||_0x7da0e3||_0x433da0([0x56,0x61,0x6c,0x69,0x64]);}())):_0x433da0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x433da0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x433da0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x433da0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x5648d4(_0x34b58f){return _0x34b58f[_0x433da0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x433da0([0x65,0x79]))?JSON[_0x433da0([0x70,0x61,0x72,0x73,0x65])](_0x3ccf8e(_0x34b58f)):null;}function _0x3ccf8e(_0x2208de){return window[_0x433da0([0x61,0x74,0x6f,0x62])](_0x2208de[_0x433da0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x433da0([0x2b]))[_0x433da0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x433da0([0x2f])));}function _0x2c2bdb(_0x54c78b){let _0x5b16e9=0x1505;function _0x23b2ea(_0x425749){for(let _0x21385d=0x0;_0x21385d<_0x425749[_0x433da0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x21385d++){const _0x54cedc=_0x425749[_0x433da0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x21385d);_0x5b16e9=(_0x5b16e9<<0x5)+_0x5b16e9+_0x54cedc,_0x5b16e9&=_0x5b16e9;}}return function _0x5840f0(_0x3f36cc){Array[_0x433da0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3f36cc)?_0x3f36cc[_0x433da0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5840f0):_0x3f36cc&&typeof _0x3f36cc==_0x433da0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x433da0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3f36cc)[_0x433da0([0x73,0x6f,0x72,0x74])]()[_0x433da0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4ee930,_0x3a3859])=>{_0x23b2ea(_0x4ee930),_0x5840f0(_0x3a3859);}):_0x23b2ea(window[_0x433da0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3f36cc));}(_0x54c78b),_0x5b16e9>>>0x0;}function _0x31ce6c(_0xdaaa96){return _0xdaaa96[_0x433da0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x433da0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x433da0([0x30]));}function _0x348a9a(_0x18f69b){return _0x18f69b[_0x433da0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x433da0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x433da0([0x6a,0x6f,0x69,0x6e])]('');}function _0x20d689(){}function _0x433da0(_0x1cecb9){return _0x1cecb9['map'](_0x73785e=>String['fromCharCode'](_0x73785e))['join']('');}!function(_0x3e1a96){const _0x4d0f73=(function(){const _0x15cd86=window[_0x433da0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x433da0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x433da0([0x6e,0x6f,0x77])]())[_0x433da0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x433da0([0x2e]),'');let _0x383b02=_0x433da0([0x68]);for(let _0x262a47=0x0;_0x262a47<_0x15cd86[_0x433da0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x262a47+=0x2){let _0x512c0a=window[_0x433da0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x15cd86[_0x433da0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x262a47,_0x262a47+0x2));_0x512c0a>=_0x39ea02[_0x433da0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x512c0a-=_0x39ea02[_0x433da0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x383b02+=_0x39ea02[_0x512c0a];}return _0x383b02;}());_0x12e016[_0x4d0f73]=_0x433da0([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3e1a96,_0x3e1a96!=_0x433da0([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x31138f,_0x12e016[_0x433da0([0x6d,0x6f,0x64,0x65,0x6c])][_0x433da0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x20d689,_0x12e016[_0x433da0([0x6d,0x6f,0x64,0x65,0x6c])][_0x433da0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x20d689,_0x12e016[_0x433da0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x433da0([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x22e27d);}var _0x36e856=Object['defineProperty'],_0x2267e5=Object['getOwnPropertyDescriptor'],_0x453f17=(_0x179bb5,_0x2b30a6)=>{for(var t in _0x2b30a6)_0x36e856(_0x179bb5,t,{'get':_0x2b30a6[t],'enumerable':!0x0});},_0x4a98e4=(_0x59d9d3,_0x374f71,t,_0x47a351)=>{for(var _0x513f27,_0x1653fa=_0x47a351>0x1?void 0x0:_0x47a351?_0x2267e5(_0x374f71,t):_0x374f71,_0x5c23f8=_0x59d9d3['length']-0x1;_0x5c23f8>=0x0;_0x5c23f8--)(_0x513f27=_0x59d9d3[_0x5c23f8])&&(_0x1653fa=(_0x47a351?_0x513f27(_0x374f71,t,_0x1653fa):_0x513f27(_0x1653fa))||_0x1653fa);return _0x47a351&&_0x1653fa&&_0x36e856(_0x374f71,t,_0x1653fa),_0x1653fa;},At=[],Xt=0x0,_0x52b10a=0x4,_0x54b2d3=_0x5cb25d=>{let _0x1eadca=[],t={'get':()=>(t['lc']||t['listen'](()=>{})(),t['value']),'lc':0x0,'listen':_0x2761c2=>(t['lc']=_0x1eadca['push'](_0x2761c2),()=>{for(let _0x476b0d=Xt+_0x52b10a;_0x476b0d<At['length'];)At[_0x476b0d]===_0x2761c2?At['splice'](_0x476b0d,_0x52b10a):_0x476b0d+=_0x52b10a;let _0x3fab9e=_0x1eadca['indexOf'](_0x2761c2);~_0x3fab9e&&(_0x1eadca['splice'](_0x3fab9e,0x1),--t['lc']||t['off']());}),'notify'(_0x1951f3,_0x44f7b0){let _0x5735f0=!At['length'];for(let _0x5110cc of _0x1eadca)At['push'](_0x5110cc,t['value'],_0x1951f3,_0x44f7b0);if(_0x5735f0){for(Xt=0x0;Xt<At['length'];Xt+=_0x52b10a)At[Xt](At[Xt+0x1],At[Xt+0x2],At[Xt+0x3]);At['length']=0x0;}},'off'(){},'set'(_0x38d1d1){let _0x134867=t['value'];_0x134867!==_0x38d1d1&&(t['value']=_0x38d1d1,t['notify'](_0x134867));},'subscribe'(_0x4f36ef){let _0x2f5833=t['listen'](_0x4f36ef);return _0x4f36ef(t['value']),_0x2f5833;},'value':_0x5cb25d};return t;};function _0x216d83(_0x259cbb,_0x1db38f,t){let _0x41a326=new Set(_0x1db38f)['add'](void 0x0);return _0x259cbb['listen']((_0x52b52a,_0x16cfe7,_0x51b0d5)=>{_0x41a326['has'](_0x51b0d5)&&t(_0x52b52a,_0x16cfe7,_0x51b0d5);});}function _0x2c6805(_0x49b55b,_0xa8c27f,t){let _0x5ce551=_0x216d83(_0x49b55b,_0xa8c27f,t);return t(_0x49b55b['value']),_0x5ce551;}var _0x4544c4=(_0x6753f7={})=>{let _0x977e90=_0x54b2d3(_0x6753f7);return _0x977e90['setKey']=function(t,_0x316d02){let _0x384c43=_0x977e90['value'];typeof _0x316d02>'u'&&t in _0x977e90['value']?(_0x977e90['value']={..._0x977e90['value']},delete _0x977e90['value'][t],_0x977e90['notify'](_0x384c43,t)):_0x977e90['value'][t]!==_0x316d02&&(_0x977e90['value']={..._0x977e90['value'],[t]:_0x316d02},_0x977e90['notify'](_0x384c43,t));},_0x977e90;},_0x304b64=class _0x57dcd3{static{this['qt']=new Map();}constructor(_0x37fbe4,t){this['J']=_0x37fbe4,this['ae']=t;}get['id'](){return this['J'];}['pub'](_0x256450,t){_0x256450 in this['ae']['get']()||console['warn']('PubSub#pub:\x20Key\x20\x22'+String(_0x256450)+'\x22\x20not\x20found'),this['ae']['setKey'](_0x256450,t);}['sub'](_0x1feb19,t,_0x509529=!0x0){return(_0x509529?_0x2c6805:_0x216d83)(this['ae'],[_0x1feb19],_0x3f53c5=>{t(_0x3f53c5[_0x1feb19]);});}['read'](_0x229f08){return _0x229f08 in this['ae']['get']()||console['warn']('PubSub#read:\x20Key\x20\x22'+String(_0x229f08)+'\x22\x20not\x20found'),this['ae']['get']()[_0x229f08];}['add'](_0x1a666a,t,_0x1aa767=!0x1){(!(_0x1a666a in this['ae']['get']())||_0x1aa767)&&this['ae']['setKey'](_0x1a666a,t);}['has'](_0x5d09a8){return _0x5d09a8 in this['ae']['get']();}get['store'](){return this['ae']['get']();}static['registerCtx'](_0x327325,t){if(_0x57dcd3['qt']['has'](t))throw new Error('PubSub:\x20Context\x20with\x20id\x20\x22'+t+'\x22\x20already\x20exists');let _0x5a8952=_0x4544c4(_0x327325);return _0x57dcd3['qt']['set'](t,_0x5a8952),new _0x57dcd3(t,_0x5a8952);}static['deleteCtx'](_0x266ab2){_0x57dcd3['qt']['delete'](_0x266ab2);}static['getCtx'](_0xe7eb9a){let t=_0x57dcd3['qt']['get'](_0xe7eb9a);return t?new _0x57dcd3(_0xe7eb9a,t):null;}static['hasCtx'](_0x51c96b){return _0x57dcd3['qt']['has'](_0x51c96b);}},_0x14d8f4=globalThis,_0x133043=_0x14d8f4['ShadowRoot']&&(void 0x0===_0x14d8f4['ShadyCSS']||_0x14d8f4['ShadyCSS']['nativeShadow'])&&'adoptedStyleSheets'in Document['prototype']&&'replace'in CSSStyleSheet['prototype'],_0x1da979=Symbol(),_0x426e89=new WeakMap(),_0x5c1977=class{constructor(_0x5a83c4,t,_0x50f5d4){if(this['Cc']=!0x0,_0x50f5d4!==_0x1da979)throw Error('CSSResult\x20is\x20not\x20constructable.\x20Use\x20`unsafeCSS`\x20or\x20`css`\x20instead.');this['cssText']=_0x5a83c4,this['t']=t;}get['styleSheet'](){let _0x15d334=this['o'],t=this['t'];if(_0x133043&&void 0x0===_0x15d334){let _0x53ab04=void 0x0!==t&&0x1===t['length'];_0x53ab04&&(_0x15d334=_0x426e89['get'](t)),void 0x0===_0x15d334&&((this['o']=_0x15d334=new CSSStyleSheet())['replaceSync'](this['cssText']),_0x53ab04&&_0x426e89['set'](t,_0x15d334));}return _0x15d334;}['toString'](){return this['cssText'];}},_0x18bbb4=_0x5010a4=>new _0x5c1977('string'==typeof _0x5010a4?_0x5010a4:_0x5010a4+'',void 0x0,_0x1da979),_0x32f46c=(_0x1d9631,_0x54fe72)=>{if(_0x133043)_0x1d9631['adoptedStyleSheets']=_0x54fe72['map'](t=>t instanceof CSSStyleSheet?t:t['styleSheet']);else for(let t of _0x54fe72){let _0x1880ad=document['createElement']('style'),_0x472ff2=_0x14d8f4['litNonce'];void 0x0!==_0x472ff2&&_0x1880ad['setAttribute']('nonce',_0x472ff2),_0x1880ad['textContent']=t['cssText'],_0x1d9631['appendChild'](_0x1880ad);}},_0x35edde=_0x133043?_0x3c3a05=>_0x3c3a05:_0x342856=>_0x342856 instanceof CSSStyleSheet?(_0x4062c0=>{let t='';for(let _0x194162 of _0x4062c0['cssRules'])t+=_0x194162['cssText'];return _0x18bbb4(t);})(_0x342856):_0x342856,{is:_0xc5687c,defineProperty:_0x5d23e2,getOwnPropertyDescriptor:_0xaf7a00,getOwnPropertyNames:_0x40e230,getOwnPropertySymbols:_0x5c8875,getPrototypeOf:_0x443cb3}=Object,_0x9a7a2b=globalThis,_0x527b8f=_0x9a7a2b['trustedTypes'],_0x114e47=_0x527b8f?_0x527b8f['emptyScript']:'',_0x5c8b1a=_0x9a7a2b['reactiveElementPolyfillSupport'],_0x52d216=(_0xae0ba0,_0x250ae5)=>_0xae0ba0,_0x57d3c7={'toAttribute'(_0x384def,_0x5905d5){switch(_0x5905d5){case Boolean:_0x384def=_0x384def?_0x114e47:null;break;case Object:case Array:_0x384def=null==_0x384def?_0x384def:JSON['stringify'](_0x384def);}return _0x384def;},'fromAttribute'(_0x2594ee,_0x7918a){let t=_0x2594ee;switch(_0x7918a){case Boolean:t=null!==_0x2594ee;break;case Number:t=null===_0x2594ee?null:Number(_0x2594ee);break;case Object:case Array:try{t=JSON['parse'](_0x2594ee);}catch{t=null;}}return t;}},_0xb759e1=(_0x55d101,_0x224f47)=>!_0xc5687c(_0x55d101,_0x224f47),_0x5c5ca7={'attribute':!0x0,'type':String,'converter':_0x57d3c7,'reflect':!0x1,'useDefault':!0x1,'hasChanged':_0xb759e1};Symbol['metadata']??=Symbol('metadata'),_0x9a7a2b['litPropertyMetadata']??=new WeakMap();var zt=class extends HTMLElement{static['addInitializer'](_0x3aac65){this['Br'](),(this['l']??=[])['push'](_0x3aac65);}static get['observedAttributes'](){return this['finalize'](),this['Li']&&[...this['Li']['keys']()];}static['createProperty'](_0x110879,t=_0x5c5ca7){if(t['state']&&(t['attribute']=!0x1),this['Br'](),this['prototype']['hasOwnProperty'](_0x110879)&&((t=Object['create'](t))['wrapped']=!0x0),this['elementProperties']['set'](_0x110879,t),!t['noAccessor']){let _0x2679a1=Symbol(),_0x33b188=this['getPropertyDescriptor'](_0x110879,_0x2679a1,t);void 0x0!==_0x33b188&&_0x5d23e2(this['prototype'],_0x110879,_0x33b188);}}static['getPropertyDescriptor'](_0x5cef75,t,_0x5c29a7){let {get:_0x3775cd,set:_0x4bd4da}=_0xaf7a00(this['prototype'],_0x5cef75)??{'get'(){return this[t];},'set'(_0x3d416b){this[t]=_0x3d416b;}};return{'get':_0x3775cd,'set'(_0x2035c5){let _0x1af278=_0x3775cd?.['call'](this);_0x4bd4da?.['call'](this,_0x2035c5),this['requestUpdate'](_0x5cef75,_0x1af278,_0x5c29a7);},'configurable':!0x0,'enumerable':!0x0};}static['getPropertyOptions'](_0x11e319){return this['elementProperties']['get'](_0x11e319)??_0x5c5ca7;}static['Br'](){if(this['hasOwnProperty'](_0x52d216('elementProperties')))return;let _0x2f721b=_0x443cb3(this);_0x2f721b['finalize'](),void 0x0!==_0x2f721b['l']&&(this['l']=[..._0x2f721b['l']]),this['elementProperties']=new Map(_0x2f721b['elementProperties']);}static['finalize'](){if(this['hasOwnProperty'](_0x52d216('finalized')))return;if(this['finalized']=!0x0,this['Br'](),this['hasOwnProperty'](_0x52d216('properties'))){let t=this['properties'],_0x140aae=[..._0x40e230(t),..._0x5c8875(t)];for(let _0x47c001 of _0x140aae)this['createProperty'](_0x47c001,t[_0x47c001]);}let _0x54d1ec=this[Symbol['metadata']];if(null!==_0x54d1ec){let t=litPropertyMetadata['get'](_0x54d1ec);if(void 0x0!==t){for(let [_0x574de6,_0x53ef3f]of t)this['elementProperties']['set'](_0x574de6,_0x53ef3f);}}this['Li']=new Map();for(let [t,_0x1e00b1]of this['elementProperties']){let _0x44799e=this['zr'](t,_0x1e00b1);void 0x0!==_0x44799e&&this['Li']['set'](_0x44799e,t);}this['elementStyles']=this['finalizeStyles'](this['styles']);}static['finalizeStyles'](_0x11b60a){let t=[];if(Array['isArray'](_0x11b60a)){let _0x4ee934=new Set(_0x11b60a['flat'](0x1/0x0)['reverse']());for(let _0x3fd51c of _0x4ee934)t['unshift'](_0x35edde(_0x3fd51c));}else void 0x0!==_0x11b60a&&t['push'](_0x35edde(_0x11b60a));return t;}static['zr'](_0x289767,t){let _0x32c98f=t['attribute'];return!0x1===_0x32c98f?void 0x0:'string'==typeof _0x32c98f?_0x32c98f:'string'==typeof _0x289767?_0x289767['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(_0x423df1=>this['enableUpdating']=_0x423df1),this['Fe']=new Map(),this['Ac'](),this['requestUpdate'](),this['constructor']['l']?.['forEach'](_0x464c01=>_0x464c01(this));}['addController'](_0x2317bc){(this['Wt']??=new Set())['add'](_0x2317bc),void 0x0!==this['renderRoot']&&this['isConnected']&&_0x2317bc['hostConnected']?.();}['removeController'](_0x360c1b){this['Wt']?.['delete'](_0x360c1b);}['Ac'](){let _0x12aeb6=new Map(),t=this['constructor']['elementProperties'];for(let _0x55319d of t['keys']())this['hasOwnProperty'](_0x55319d)&&(_0x12aeb6['set'](_0x55319d,this[_0x55319d]),delete this[_0x55319d]);_0x12aeb6['size']>0x0&&(this['Ri']=_0x12aeb6);}['createRenderRoot'](){let _0x4f6201=this['shadowRoot']??this['attachShadow'](this['constructor']['shadowRootOptions']);return _0x32f46c(_0x4f6201,this['constructor']['elementStyles']),_0x4f6201;}['connectedCallback'](){this['renderRoot']??=this['createRenderRoot'](),this['enableUpdating'](!0x0),this['Wt']?.['forEach'](_0x4b7194=>_0x4b7194['hostConnected']?.());}['enableUpdating'](_0x569b57){}['disconnectedCallback'](){this['Wt']?.['forEach'](_0x4c5d25=>_0x4c5d25['hostDisconnected']?.());}['attributeChangedCallback'](_0x28635b,t,_0xae3011){this['Kr'](_0x28635b,_0xae3011);}['kc'](_0x49a15a,t){let _0x3885b2=this['constructor']['elementProperties']['get'](_0x49a15a),_0x1e57bb=this['constructor']['zr'](_0x49a15a,_0x3885b2);if(void 0x0!==_0x1e57bb&&!0x0===_0x3885b2['reflect']){let _0x55d8f6=(void 0x0!==_0x3885b2['converter']?.['toAttribute']?_0x3885b2['converter']:_0x57d3c7)['toAttribute'](t,_0x3885b2['type']);this['vt']=_0x49a15a,null==_0x55d8f6?this['removeAttribute'](_0x1e57bb):this['setAttribute'](_0x1e57bb,_0x55d8f6),this['vt']=null;}}['Kr'](_0x4b52d9,t){let _0x2007c5=this['constructor'],_0x225332=_0x2007c5['Li']['get'](_0x4b52d9);if(void 0x0!==_0x225332&&this['vt']!==_0x225332){let _0x1b1782=_0x2007c5['getPropertyOptions'](_0x225332),_0x7da9c1='function'==typeof _0x1b1782['converter']?{'fromAttribute':_0x1b1782['converter']}:void 0x0!==_0x1b1782['converter']?.['fromAttribute']?_0x1b1782['converter']:_0x57d3c7;this['vt']=_0x225332;let _0x5a8a02=_0x7da9c1['fromAttribute'](t,_0x1b1782['type']);this[_0x225332]=_0x5a8a02??this['jr']?.['get'](_0x225332)??_0x5a8a02,this['vt']=null;}}['requestUpdate'](_0x5d07aa,t,_0x581688,_0x324325=!0x1,_0x519a9){if(void 0x0!==_0x5d07aa){let _0x598f18=this['constructor'];if(!0x1===_0x324325&&(_0x519a9=this[_0x5d07aa]),_0x581688??=_0x598f18['getPropertyOptions'](_0x5d07aa),!((_0x581688['hasChanged']??_0xb759e1)(_0x519a9,t)||_0x581688['useDefault']&&_0x581688['reflect']&&_0x519a9===this['jr']?.['get'](_0x5d07aa)&&!this['hasAttribute'](_0x598f18['zr'](_0x5d07aa,_0x581688))))return;this['C'](_0x5d07aa,t,_0x581688);}!0x1===this['isUpdatePending']&&(this['Hr']=this['Mc']());}['C'](_0x525282,t,{useDefault:_0x2bd744,reflect:_0x11bb9f,wrapped:_0x4f601b},_0xf38609){_0x2bd744&&!(this['jr']??=new Map())['has'](_0x525282)&&(this['jr']['set'](_0x525282,_0xf38609??t??this[_0x525282]),!0x0!==_0x4f601b||void 0x0!==_0xf38609)||(this['Fe']['has'](_0x525282)||(this['hasUpdated']||_0x2bd744||(t=void 0x0),this['Fe']['set'](_0x525282,t)),!0x0===_0x11bb9f&&this['vt']!==_0x525282&&(this['Gs']??=new Set())['add'](_0x525282));}async['Mc'](){this['isUpdatePending']=!0x0;try{await this['Hr'];}catch(_0x1a4a69){Promise['reject'](_0x1a4a69);}let _0x28001f=this['scheduleUpdate']();return null!=_0x28001f&&await _0x28001f,!this['isUpdatePending'];}['scheduleUpdate'](){return this['performUpdate']();}['performUpdate'](){if(!this['isUpdatePending'])return;if(!this['hasUpdated']){if(this['renderRoot']??=this['createRenderRoot'](),this['Ri']){for(let [_0x3aec87,_0x3a23bd]of this['Ri'])this[_0x3aec87]=_0x3a23bd;this['Ri']=void 0x0;}let _0x317bd1=this['constructor']['elementProperties'];if(_0x317bd1['size']>0x0)for(let [_0x3c8b39,_0x5f3d98]of _0x317bd1){let {wrapped:_0x309c23}=_0x5f3d98,_0xbc8cc0=this[_0x3c8b39];!0x0!==_0x309c23||this['Fe']['has'](_0x3c8b39)||void 0x0===_0xbc8cc0||this['C'](_0x3c8b39,void 0x0,_0x5f3d98,_0xbc8cc0);}}let _0x18e239=!0x1,t=this['Fe'];try{_0x18e239=this['shouldUpdate'](t),_0x18e239?(this['willUpdate'](t),this['Wt']?.['forEach'](_0x3c70cc=>_0x3c70cc['hostUpdate']?.()),this['update'](t)):this['Gr']();}catch(_0x40c35c){throw _0x18e239=!0x1,this['Gr'](),_0x40c35c;}_0x18e239&&this['Oc'](t);}['willUpdate'](_0x2076e3){}['Oc'](_0x262e0d){this['Wt']?.['forEach'](t=>t['hostUpdated']?.()),this['hasUpdated']||(this['hasUpdated']=!0x0,this['firstUpdated'](_0x262e0d)),this['updated'](_0x262e0d);}['Gr'](){this['Fe']=new Map(),this['isUpdatePending']=!0x1;}get['updateComplete'](){return this['getUpdateComplete']();}['getUpdateComplete'](){return this['Hr'];}['shouldUpdate'](_0x367b6d){return!0x0;}['update'](_0x1387d8){this['Gs']&&=this['Gs']['forEach'](t=>this['kc'](t,this[t])),this['Gr']();}['updated'](_0x49efc6){}['firstUpdated'](_0x905040){}};zt['elementStyles']=[],zt['shadowRootOptions']={'mode':'open'},zt[_0x52d216('elementProperties')]=new Map(),zt[_0x52d216('finalized')]=new Map(),_0x5c8b1a?.({'ReactiveElement':zt}),(_0x9a7a2b['reactiveElementVersions']??=[])['push']('2.1.2');var _0x2e729e=globalThis,_0x472bee=_0x461e9c=>_0x461e9c,_0xf4a173=_0x2e729e['trustedTypes'],_0x2db91e=_0xf4a173?_0xf4a173['createPolicy']('lit-html',{'createHTML':_0xa3c846=>_0xa3c846}):void 0x0,_0x4caea7='$lit$',Bt='lit$'+Math['random']()['toFixed'](0x9)['slice'](0x2)+'$',_0x6ff57a='?'+Bt,_0x3e0867='<'+_0x6ff57a+'>',_0xce7754=document,_0x22a27c=()=>_0xce7754['createComment'](''),_0x44ba7d=_0x125e32=>null===_0x125e32||'object'!=typeof _0x125e32&&'function'!=typeof _0x125e32,_0x1ca4f3=Array['isArray'],_0x5ba29b=_0x4f5c33=>_0x1ca4f3(_0x4f5c33)||'function'==typeof _0x4f5c33?.[Symbol['iterator']],_0x54f5dc='[\x20\x0c\x0d]',_0x2a7cbf=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_0xb5b415=/-->/g,_0x299df1=/>/g,_0x58970a=RegExp('>|'+_0x54f5dc+'(?:([^\x5cs\x22\x27>=/]+)('+_0x54f5dc+'*='+_0x54f5dc+'*(?:[^\x20\x0c\x0d\x22\x27`<>=]|(\x22|\x27)|))|$)','g'),_0x5200dc=/'/g,_0x2610d6=/"/g,_0xdc9558=/^(?:script|style|textarea|title)$/i,_0x429b1f=_0xcd3993=>(_0x3f01e5,...t)=>({'Ne':_0xcd3993,'strings':_0x3f01e5,'values':t}),_0x44abcf=_0x429b1f(0x1),it=Symbol['for']('lit-noChange'),_0xf98a9a=Symbol['for']('lit-nothing'),_0x21fbc8=new WeakMap(),_0x770d46=_0xce7754['createTreeWalker'](_0xce7754,0x81);function _0x474200(_0x578933,_0x3135e1){if(!_0x1ca4f3(_0x578933)||!_0x578933['hasOwnProperty']('raw'))throw Error('invalid\x20template\x20strings\x20array');return void 0x0!==_0x2db91e?_0x2db91e['createHTML'](_0x3135e1):_0x3135e1;}var tn=(_0x2a5fb2,_0x2289f8)=>{let _0x7e99f7,t=_0x2a5fb2['length']-0x1,_0x473c22=[],_0x38cb02=0x2===_0x2289f8?'<svg>':0x3===_0x2289f8?'<math>':'',_0x149dd0=_0x2a7cbf;for(let _0x1fcdd0=0x0;_0x1fcdd0<t;_0x1fcdd0++){let _0xee0339,_0x1717ef,_0x9e6f49=_0x2a5fb2[_0x1fcdd0],_0x53434d=-0x1,_0x4c6a18=0x0;for(;_0x4c6a18<_0x9e6f49['length']&&(_0x149dd0['lastIndex']=_0x4c6a18,_0x1717ef=_0x149dd0['exec'](_0x9e6f49),null!==_0x1717ef);)_0x4c6a18=_0x149dd0['lastIndex'],_0x149dd0===_0x2a7cbf?'!--'===_0x1717ef[0x1]?_0x149dd0=_0xb5b415:void 0x0!==_0x1717ef[0x1]?_0x149dd0=_0x299df1:void 0x0!==_0x1717ef[0x2]?(_0xdc9558['test'](_0x1717ef[0x2])&&(_0x7e99f7=RegExp('</'+_0x1717ef[0x2],'g')),_0x149dd0=_0x58970a):void 0x0!==_0x1717ef[0x3]&&(_0x149dd0=_0x58970a):_0x149dd0===_0x58970a?'>'===_0x1717ef[0x0]?(_0x149dd0=_0x7e99f7??_0x2a7cbf,_0x53434d=-0x1):void 0x0===_0x1717ef[0x1]?_0x53434d=-0x2:(_0x53434d=_0x149dd0['lastIndex']-_0x1717ef[0x2]['length'],_0xee0339=_0x1717ef[0x1],_0x149dd0=void 0x0===_0x1717ef[0x3]?_0x58970a:'\x22'===_0x1717ef[0x3]?_0x2610d6:_0x5200dc):_0x149dd0===_0x2610d6||_0x149dd0===_0x5200dc?_0x149dd0=_0x58970a:_0x149dd0===_0xb5b415||_0x149dd0===_0x299df1?_0x149dd0=_0x2a7cbf:(_0x149dd0=_0x58970a,_0x7e99f7=void 0x0);let _0x3f347f=_0x149dd0===_0x58970a&&_0x2a5fb2[_0x1fcdd0+0x1]['startsWith']('/>')?'\x20':'';_0x38cb02+=_0x149dd0===_0x2a7cbf?_0x9e6f49+_0x3e0867:_0x53434d>=0x0?(_0x473c22['push'](_0xee0339),_0x9e6f49['slice'](0x0,_0x53434d)+_0x4caea7+_0x9e6f49['slice'](_0x53434d)+Bt+_0x3f347f):_0x9e6f49+Bt+(-0x2===_0x53434d?_0x1fcdd0:_0x3f347f);}return[_0x474200(_0x2a5fb2,_0x38cb02+(_0x2a5fb2[t]||'<?>')+(0x2===_0x2289f8?'</svg>':0x3===_0x2289f8?'</math>':'')),_0x473c22];},_0x56ff96=class _0x379059{constructor({strings:_0x4db3a2,Ne:t},_0x531931){let _0x3178cc;this['parts']=[];let _0x136fdf=0x0,_0x168ce6=0x0,_0xa980c0=_0x4db3a2['length']-0x1,_0x2a0f0d=this['parts'],[_0x2d23b7,_0x2e9393]=tn(_0x4db3a2,t);if(this['el']=_0x379059['createElement'](_0x2d23b7,_0x531931),_0x770d46['currentNode']=this['el']['content'],0x2===t||0x3===t){let _0x5293d1=this['el']['content']['firstChild'];_0x5293d1['replaceWith'](..._0x5293d1['childNodes']);}for(;null!==(_0x3178cc=_0x770d46['nextNode']())&&_0x2a0f0d['length']<_0xa980c0;){if(0x1===_0x3178cc['nodeType']){if(_0x3178cc['hasAttributes']()){for(let _0x5de16a of _0x3178cc['getAttributeNames']())if(_0x5de16a['endsWith'](_0x4caea7)){let _0x1d334a=_0x2e9393[_0x168ce6++],_0x2ffd4e=_0x3178cc['getAttribute'](_0x5de16a)['split'](Bt),_0x4ce122=/([.?@])?(.*)/['exec'](_0x1d334a);_0x2a0f0d['push']({'type':0x1,'index':_0x136fdf,'name':_0x4ce122[0x2],'strings':_0x2ffd4e,'ctor':'.'===_0x4ce122[0x1]?_0x5da0f9:'?'===_0x4ce122[0x1]?_0x3d991e:'@'===_0x4ce122[0x1]?_0x528c43:_0x1458f7}),_0x3178cc['removeAttribute'](_0x5de16a);}else _0x5de16a['startsWith'](Bt)&&(_0x2a0f0d['push']({'type':0x6,'index':_0x136fdf}),_0x3178cc['removeAttribute'](_0x5de16a));}if(_0xdc9558['test'](_0x3178cc['tagName'])){let _0x185ddf=_0x3178cc['textContent']['split'](Bt),_0x303b56=_0x185ddf['length']-0x1;if(_0x303b56>0x0){_0x3178cc['textContent']=_0xf4a173?_0xf4a173['emptyScript']:'';for(let _0x12dd0c=0x0;_0x12dd0c<_0x303b56;_0x12dd0c++)_0x3178cc['append'](_0x185ddf[_0x12dd0c],_0x22a27c()),_0x770d46['nextNode'](),_0x2a0f0d['push']({'type':0x2,'index':++_0x136fdf});_0x3178cc['append'](_0x185ddf[_0x303b56],_0x22a27c());}}}else{if(0x8===_0x3178cc['nodeType']){if(_0x3178cc['data']===_0x6ff57a)_0x2a0f0d['push']({'type':0x2,'index':_0x136fdf});else{let _0x1eabe7=-0x1;for(;-0x1!==(_0x1eabe7=_0x3178cc['data']['indexOf'](Bt,_0x1eabe7+0x1));)_0x2a0f0d['push']({'type':0x7,'index':_0x136fdf}),_0x1eabe7+=Bt['length']-0x1;}}}_0x136fdf++;}}static['createElement'](_0x31bb49,t){let _0x2c25da=_0xce7754['createElement']('template');return _0x2c25da['innerHTML']=_0x31bb49,_0x2c25da;}};function _0x515458(_0x5098f5,_0x2e434f,t=_0x5098f5,_0x55108b){if(_0x2e434f===it)return _0x2e434f;let _0x561a94=void 0x0!==_0x55108b?t['Ic']?.[_0x55108b]:t['Pc'],_0x256365=_0x44ba7d(_0x2e434f)?void 0x0:_0x2e434f['qr'];return _0x561a94?.['constructor']!==_0x256365&&(_0x561a94?.['qs']?.(!0x1),void 0x0===_0x256365?_0x561a94=void 0x0:(_0x561a94=new _0x256365(_0x5098f5),_0x561a94['Wr'](_0x5098f5,t,_0x55108b)),void 0x0!==_0x55108b?(t['Ic']??=[])[_0x55108b]=_0x561a94:t['Pc']=_0x561a94),void 0x0!==_0x561a94&&(_0x2e434f=_0x515458(_0x5098f5,_0x561a94['Lc'](_0x5098f5,_0x2e434f['values']),_0x561a94,_0x55108b)),_0x2e434f;}var _0x57daa6=class{constructor(_0xe50919,t){this['Ws']=[],this['le']=void 0x0,this['Zs']=_0xe50919,this['f']=t;}get['parentNode'](){return this['f']['parentNode'];}get['W'](){return this['f']['W'];}['u'](_0x34b4a0){let {el:{content:t},parts:_0x180920}=this['Zs'],_0x26b6a6=(_0x34b4a0?.['creationScope']??_0xce7754)['importNode'](t,!0x0);_0x770d46['currentNode']=_0x26b6a6;let _0x2636de=_0x770d46['nextNode'](),_0x4bb444=0x0,_0x3bee6a=0x0,_0x4cac74=_0x180920[0x0];for(;void 0x0!==_0x4cac74;){if(_0x4bb444===_0x4cac74['index']){let _0x4b4685;0x2===_0x4cac74['type']?_0x4b4685=new _0x1935a1(_0x2636de,_0x2636de['nextSibling'],this,_0x34b4a0):0x1===_0x4cac74['type']?_0x4b4685=new _0x4cac74['ctor'](_0x2636de,_0x4cac74['name'],_0x4cac74['strings'],this,_0x34b4a0):0x6===_0x4cac74['type']&&(_0x4b4685=new _0x54042a(_0x2636de,this,_0x34b4a0)),this['Ws']['push'](_0x4b4685),_0x4cac74=_0x180920[++_0x3bee6a];}_0x4bb444!==_0x4cac74?.['index']&&(_0x2636de=_0x770d46['nextNode'](),_0x4bb444++);}return _0x770d46['currentNode']=_0xce7754,_0x26b6a6;}['p'](_0x5516ef){let t=0x0;for(let _0x2f0fff of this['Ws'])void 0x0!==_0x2f0fff&&(void 0x0!==_0x2f0fff['strings']?(_0x2f0fff['ce'](_0x5516ef,_0x2f0fff,t),t+=_0x2f0fff['strings']['length']-0x2):_0x2f0fff['ce'](_0x5516ef[t])),t++;}},_0x1935a1=class _0x3ff7a2{get['W'](){return this['f']?.['W']??this['Ys'];}constructor(_0x283fc0,t,_0x277f0e,_0x42d454){this['type']=0x2,this['r']=_0xf98a9a,this['le']=void 0x0,this['ve']=_0x283fc0,this['yt']=t,this['f']=_0x277f0e,this['options']=_0x42d454,this['Ys']=_0x42d454?.['isConnected']??!0x0;}get['parentNode'](){let _0x59f651=this['ve']['parentNode'],t=this['f'];return void 0x0!==t&&0xb===_0x59f651?.['nodeType']&&(_0x59f651=t['parentNode']),_0x59f651;}get['startNode'](){return this['ve'];}get['endNode'](){return this['yt'];}['ce'](_0x35d024,t=this){_0x35d024=_0x515458(this,_0x35d024,t),_0x44ba7d(_0x35d024)?_0x35d024===_0xf98a9a||null==_0x35d024||''===_0x35d024?(this['r']!==_0xf98a9a&&this['bt'](),this['r']=_0xf98a9a):_0x35d024!==this['r']&&_0x35d024!==it&&this['Xs'](_0x35d024):void 0x0!==_0x35d024['Ne']?this['$'](_0x35d024):void 0x0!==_0x35d024['nodeType']?this['T'](_0x35d024):_0x5ba29b(_0x35d024)?this['k'](_0x35d024):this['Xs'](_0x35d024);}['O'](_0x15efe5){return this['ve']['parentNode']['insertBefore'](_0x15efe5,this['yt']);}['T'](_0x10f61c){this['r']!==_0x10f61c&&(this['bt'](),this['r']=this['O'](_0x10f61c));}['Xs'](_0x3634a8){this['r']!==_0xf98a9a&&_0x44ba7d(this['r'])?this['ve']['nextSibling']['data']=_0x3634a8:this['T'](_0xce7754['createTextNode'](_0x3634a8)),this['r']=_0x3634a8;}['$'](_0x5530e5){let {values:t,Ne:_0xe34032}=_0x5530e5,_0x387f31='number'==typeof _0xe34032?this['Rc'](_0x5530e5):(void 0x0===_0xe34032['el']&&(_0xe34032['el']=_0x56ff96['createElement'](_0x474200(_0xe34032['h'],_0xe34032['h'][0x0]),this['options'])),_0xe34032);if(this['r']?.['Zs']===_0x387f31)this['r']['p'](t);else{let _0x58ae15=new _0x57daa6(_0x387f31,this),_0x2f7f8e=_0x58ae15['u'](this['options']);_0x58ae15['p'](t),this['T'](_0x2f7f8e),this['r']=_0x58ae15;}}['Rc'](_0x4152bc){let t=_0x21fbc8['get'](_0x4152bc['strings']);return void 0x0===t&&_0x21fbc8['set'](_0x4152bc['strings'],t=new _0x56ff96(_0x4152bc)),t;}['k'](_0x4dafbc){_0x1ca4f3(this['r'])||(this['r']=[],this['bt']());let _0x42aa3a,t=this['r'],_0x4a9ff7=0x0;for(let _0x55d363 of _0x4dafbc)_0x4a9ff7===t['length']?t['push'](_0x42aa3a=new _0x3ff7a2(this['O'](_0x22a27c()),this['O'](_0x22a27c()),this,this['options'])):_0x42aa3a=t[_0x4a9ff7],_0x42aa3a['ce'](_0x55d363),_0x4a9ff7++;_0x4a9ff7<t['length']&&(this['bt'](_0x42aa3a&&_0x42aa3a['yt']['nextSibling'],_0x4a9ff7),t['length']=_0x4a9ff7);}['bt'](_0x1bc6d9=this['ve']['nextSibling'],t){for(this['Ui']?.(!0x1,!0x0,t);_0x1bc6d9!==this['yt'];){let _0x25f2b0=_0x472bee(_0x1bc6d9)['nextSibling'];_0x472bee(_0x1bc6d9)['remove'](),_0x1bc6d9=_0x25f2b0;}}['setConnected'](_0x48f845){void 0x0===this['f']&&(this['Ys']=_0x48f845,this['Ui']?.(_0x48f845));}},_0x1458f7=class{get['tagName'](){return this['element']['tagName'];}get['W'](){return this['f']['W'];}constructor(_0x34cadc,t,_0x42b9cd,_0x4581cc,_0x279bd6){this['type']=0x1,this['r']=_0xf98a9a,this['le']=void 0x0,this['element']=_0x34cadc,this['name']=t,this['f']=_0x4581cc,this['options']=_0x279bd6,_0x42b9cd['length']>0x2||''!==_0x42b9cd[0x0]||''!==_0x42b9cd[0x1]?(this['r']=Array(_0x42b9cd['length']-0x1)['fill'](new String()),this['strings']=_0x42b9cd):this['r']=_0xf98a9a;}['ce'](_0x4daaa7,t=this,_0x676cee,_0xaafe51){let _0x234b9f=this['strings'],_0x1c73f3=!0x1;if(void 0x0===_0x234b9f)_0x4daaa7=_0x515458(this,_0x4daaa7,t,0x0),_0x1c73f3=!_0x44ba7d(_0x4daaa7)||_0x4daaa7!==this['r']&&_0x4daaa7!==it,_0x1c73f3&&(this['r']=_0x4daaa7);else{let _0x25a95d,_0x3bf700,_0x235bdf=_0x4daaa7;for(_0x4daaa7=_0x234b9f[0x0],_0x25a95d=0x0;_0x25a95d<_0x234b9f['length']-0x1;_0x25a95d++)_0x3bf700=_0x515458(this,_0x235bdf[_0x676cee+_0x25a95d],t,_0x25a95d),_0x3bf700===it&&(_0x3bf700=this['r'][_0x25a95d]),_0x1c73f3||=!_0x44ba7d(_0x3bf700)||_0x3bf700!==this['r'][_0x25a95d],_0x3bf700===_0xf98a9a?_0x4daaa7=_0xf98a9a:_0x4daaa7!==_0xf98a9a&&(_0x4daaa7+=(_0x3bf700??'')+_0x234b9f[_0x25a95d+0x1]),this['r'][_0x25a95d]=_0x3bf700;}_0x1c73f3&&!_0xaafe51&&this['j'](_0x4daaa7);}['j'](_0x4fd536){_0x4fd536===_0xf98a9a?this['element']['removeAttribute'](this['name']):this['element']['setAttribute'](this['name'],_0x4fd536??'');}},_0x5da0f9=class extends _0x1458f7{constructor(){super(...arguments),this['type']=0x3;}['j'](_0x79988b){this['element'][this['name']]=_0x79988b===_0xf98a9a?void 0x0:_0x79988b;}},_0x3d991e=class extends _0x1458f7{constructor(){super(...arguments),this['type']=0x4;}['j'](_0x5211a5){this['element']['toggleAttribute'](this['name'],!!_0x5211a5&&_0x5211a5!==_0xf98a9a);}},_0x528c43=class extends _0x1458f7{constructor(_0x2fa2e2,t,_0x382329,_0x231b43,_0x5b2b58){super(_0x2fa2e2,t,_0x382329,_0x231b43,_0x5b2b58),this['type']=0x5;}['ce'](_0x47b6a9,t=this){if((_0x47b6a9=_0x515458(this,_0x47b6a9,t,0x0)??_0xf98a9a)===it)return;let _0x1c9307=this['r'],_0x4d3f2a=_0x47b6a9===_0xf98a9a&&_0x1c9307!==_0xf98a9a||_0x47b6a9['capture']!==_0x1c9307['capture']||_0x47b6a9['once']!==_0x1c9307['once']||_0x47b6a9['passive']!==_0x1c9307['passive'],_0x44c71d=_0x47b6a9!==_0xf98a9a&&(_0x1c9307===_0xf98a9a||_0x4d3f2a);_0x4d3f2a&&this['element']['removeEventListener'](this['name'],this,_0x1c9307),_0x44c71d&&this['element']['addEventListener'](this['name'],this,_0x47b6a9),this['r']=_0x47b6a9;}['handleEvent'](_0x3edf2d){'function'==typeof this['r']?this['r']['call'](this['options']?.['host']??this['element'],_0x3edf2d):this['r']['handleEvent'](_0x3edf2d);}},_0x54042a=class{constructor(_0x3e6e5d,t,_0x219c47){this['element']=_0x3e6e5d,this['type']=0x6,this['le']=void 0x0,this['f']=t,this['options']=_0x219c47;}get['W'](){return this['f']['W'];}['ce'](_0x51ae3a){_0x515458(this,_0x51ae3a);}},_0x8e78f8={'I':_0x1935a1},_0x1b97a0=_0x2e729e['litHtmlPolyfillSupport'];_0x1b97a0?.(_0x56ff96,_0x1935a1),(_0x2e729e['litHtmlVersions']??=[])['push']('3.3.2');var _0x905624=(_0x558159,_0x45994b,t)=>{let _0x1d234f=t?.['renderBefore']??_0x45994b,_0xac88e2=_0x1d234f['Uc'];if(void 0x0===_0xac88e2){let _0x5f0181=t?.['renderBefore']??null;_0x1d234f['Uc']=_0xac88e2=new _0x1935a1(_0x45994b['insertBefore'](_0x22a27c(),_0x5f0181),_0x5f0181,void 0x0,t??{});}return _0xac88e2['ce'](_0x558159),_0xac88e2;},_0x458498=globalThis,Tt=class extends zt{constructor(){super(...arguments),this['renderOptions']={'host':this},this['Zr']=void 0x0;}['createRenderRoot'](){let _0x40cb35=super['createRenderRoot']();return this['renderOptions']['renderBefore']??=_0x40cb35['firstChild'],_0x40cb35;}['update'](_0x26532e){let t=this['render']();this['hasUpdated']||(this['renderOptions']['isConnected']=this['isConnected']),super['update'](_0x26532e),this['Zr']=_0x905624(t,this['renderRoot'],this['renderOptions']);}['connectedCallback'](){super['connectedCallback'](),this['Zr']?.['setConnected'](!0x0);}['disconnectedCallback'](){super['disconnectedCallback'](),this['Zr']?.['setConnected'](!0x1);}['render'](){return it;}};Tt['jp']=!0x0,Tt['finalized']=!0x0,_0x458498['litElementHydrateSupport']?.({'LitElement':Tt});var _0x1277cc=_0x458498['litElementPolyfillSupport'];_0x1277cc?.({'LitElement':Tt}),(_0x458498['litElementVersions']??=[])['push']('4.2.2');var _0x459384=/\\([0-9a-fA-F]{1,6} ?)/g;function _0x393e46(_0x586966){return!(_0x586966['length']<0x2)&&!('\x22'!==_0x586966[0x0]&&'\x27'!==_0x586966[0x0]||'\x22'!==_0x586966[_0x586966['length']-0x1]&&'\x27'!==_0x586966[_0x586966['length']-0x1]);}function _0x34dd48(_0x5a47a6){let _0x5e21c2=_0x5a47a6;return('\x22'===_0x5e21c2[0x0]||'\x27'===_0x5e21c2[0x0])&&(_0x5e21c2=_0x5e21c2['slice'](0x1)),('\x22'===_0x5e21c2[_0x5e21c2['length']-0x1]||'\x27'===_0x5e21c2[_0x5e21c2['length']-0x1])&&(_0x5e21c2=_0x5e21c2['slice'](0x0,-0x1)),_0x5e21c2;}function _0x399d6f(_0x3bd326){let _0x29694f='',t='';for(let _0x230d58=0x0;_0x230d58<_0x3bd326['length'];_0x230d58++){let _0x5a232f=_0x3bd326[_0x230d58+0x1];'\x5c'===_0x3bd326[_0x230d58]&&'\x22'===_0x5a232f?(_0x29694f+='\x5c\x22',_0x230d58++):'\x22'===_0x3bd326[_0x230d58]&&'\x5c'!==t?_0x29694f+='\x5c\x22':_0x29694f+=_0x3bd326[_0x230d58],t=_0x3bd326[_0x230d58]??'';}return _0x29694f;}function _0x24d52a(_0x3f8409){let _0x17d91b=_0x3f8409;_0x393e46(_0x3f8409)&&(_0x17d91b=_0x34dd48(_0x17d91b),_0x17d91b=_0x17d91b['replace'](_0x459384,(t,_0x2da6fe)=>String['fromCodePoint'](parseInt(_0x2da6fe['trim'](),0x10))),_0x17d91b=_0x17d91b['replaceAll']('\x5c\x20','\x5cn'),_0x17d91b=_0x399d6f(_0x17d91b),_0x17d91b='\x22'+_0x17d91b+'\x22');try{return JSON['parse'](_0x17d91b);}catch{return;}}function _0x473a43(_0x2fc38a){return class extends _0x2fc38a{constructor(){super(...arguments),this['Qs']=null,this['Yr']=null;}['getCssData'](_0x360699,_0x13c004=!0x1){let _0x480187=this['Qs']??Object['create'](null);if(!Object['keys'](_0x480187)['includes'](_0x360699)||!_0x480187[_0x360699]){this['Yr']||(this['Yr']=window['getComputedStyle'](this));let _0x491440=this['Yr']['getPropertyValue'](_0x360699)['trim']();try{_0x480187[_0x360699]=_0x24d52a(_0x491440);}catch(_0x1b64ca){_0x13c004||console['warn']('CSS\x20Data\x20error:\x20'+_0x360699,_0x1b64ca),_0x480187[_0x360699]=null;}}return this['Qs']=_0x480187,_0x480187[_0x360699];}};}function _0x55fd9c(_0x50ccec){return class extends _0x50ccec{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 _0xf96893=Array['from'](this['childNodes']),_0x3d444d=_0xf96893['length']?_0xf96893:this['_e']??[];for(let _0x376cb1 of _0x3d444d){let _0x23c4ab=this['Js'](_0x376cb1),_0x1e20ad=this['Ve'][_0x23c4ab]??[];_0x376cb1 instanceof Element&&(_0x376cb1['removeAttribute']('slot'),_0x376cb1['removeAttribute']('content-for')),_0x1e20ad['push'](_0x376cb1),this['Ve'][_0x23c4ab]=_0x1e20ad;}this['_e']=null;}['Js'](_0x2c1fdd){return _0x2c1fdd instanceof Comment&&_0x2c1fdd['nextSibling']instanceof Element?this['Js'](_0x2c1fdd['nextSibling']):'contentFor'in _0x2c1fdd?_0x2c1fdd['contentFor']||'':_0x2c1fdd instanceof Element&&_0x2c1fdd['hasAttribute']('content-for')&&_0x2c1fdd['getAttribute']('content-for')||'';}['Dc'](_0x590471){return!_0x590471['textContent']||!_0x590471['textContent']['trim']();}['Fc'](_0x139a82){let _0x284197=this['Ve'][_0x139a82];return!_0x284197||_0x284197['every'](_0x5b7ee0=>_0x5b7ee0 instanceof Comment||_0x5b7ee0 instanceof Text&&this['Dc'](_0x5b7ee0));}['update'](_0x496e0a){!this['hasUpdated']&&this['willYield']&&this['$c'](),super['update'](_0x496e0a);}['yield'](_0x204b2d,_0x38120e){if(''===_0x204b2d&&!this['Ve'][_0x204b2d]&&!this['$i']&&this['_e']?.['length']){let _0x1a69fe=[];for(let _0x20c784 of this['_e'])_0x20c784 instanceof Element&&(_0x20c784['removeAttribute']('slot'),_0x20c784['removeAttribute']('content-for')),_0x1a69fe['push'](_0x20c784);this['Ve'][_0x204b2d]=_0x1a69fe,this['$i']=!0x0,this['_e']=null;}let _0x363981=this['Ve'][_0x204b2d];return _0x44abcf` ${_0x363981} ${this['Fc'](_0x204b2d)?_0x38120e:void 0x0} `;}};}function _0x139361(_0xd0250e){return class extends _0xd0250e{static['reg'](_0x3e3531){let _0x10109f=this,_0x58414f=window['customElements']['get'](_0x3e3531);_0x58414f?_0x58414f!==_0x10109f&&console['warn'](['Element\x20with\x20tag\x20name\x20\x22'+_0x3e3531+'\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'](_0x3e3531,_0x10109f);}};}var Qt=class extends Event{constructor(_0x2ede4f,t,_0x51e8a0,_0x2d0204){super('context-request',{'bubbles':!0x0,'composed':!0x0}),this['context']=_0x2ede4f,this['contextTarget']=t,this['callback']=_0x51e8a0,this['subscribe']=_0x2d0204??!0x1;}},_0x14c3dc=class{constructor(_0x5d00eb,t,_0x2dfd3d,_0x481e3c){if(this['subscribe']=!0x1,this['provided']=!0x1,this['value']=void 0x0,this['t']=(_0x16384a,_0xf24e2b)=>{this['unsubscribe']&&(this['unsubscribe']!==_0xf24e2b&&(this['provided']=!0x1,this['unsubscribe']()),this['subscribe']||this['unsubscribe']()),this['value']=_0x16384a,this['host']['requestUpdate'](),this['provided']&&!this['subscribe']||(this['provided']=!0x0,this['callback']&&this['callback'](_0x16384a,_0xf24e2b)),this['unsubscribe']=_0xf24e2b;},this['host']=_0x5d00eb,void 0x0!==t['context']){let _0x41597f=t;this['context']=_0x41597f['context'],this['callback']=_0x41597f['callback'],this['subscribe']=_0x41597f['subscribe']??!0x1;}else this['context']=t,this['callback']=_0x2dfd3d,this['subscribe']=_0x481e3c??!0x1;this['host']['addController'](this);}['hostConnected'](){this['dispatchRequest']();}['hostDisconnected'](){this['unsubscribe']&&(this['unsubscribe'](),this['unsubscribe']=void 0x0);}['dispatchRequest'](){this['host']['dispatchEvent'](new Qt(this['context'],this['host'],this['t'],this['subscribe']));}},tr=class{get['value'](){return this['o'];}set['value'](_0x3bf109){this['setValue'](_0x3bf109);}['setValue'](_0x37bc5e,t=!0x1){let _0x524d33=t||!Object['is'](_0x37bc5e,this['o']);this['o']=_0x37bc5e,_0x524d33&&this['updateObservers']();}constructor(_0x36ca56){this['subscriptions']=new Map(),this['updateObservers']=()=>{for(let [t,{disposer:_0x35a9d8}]of this['subscriptions'])t(this['o'],_0x35a9d8);},void 0x0!==_0x36ca56&&(this['value']=_0x36ca56);}['addCallback'](_0x2e8d8b,t,_0x504052){if(!_0x504052)return void _0x2e8d8b(this['value']);this['subscriptions']['has'](_0x2e8d8b)||this['subscriptions']['set'](_0x2e8d8b,{'disposer':()=>{this['subscriptions']['delete'](_0x2e8d8b);},'consumerHost':t});let {disposer:_0x1a437f}=this['subscriptions']['get'](_0x2e8d8b);_0x2e8d8b(this['value'],_0x1a437f);}['clearCallbacks'](){this['subscriptions']['clear']();}},_0x4887cc=class extends Event{constructor(_0x2495c3,t){super('context-provider',{'bubbles':!0x0,'composed':!0x0}),this['context']=_0x2495c3,this['contextTarget']=t;}},_0x1ef4ec=class extends tr{constructor(_0x24a419,t,_0x3cf65a){super(void 0x0!==t['context']?t['initialValue']:_0x3cf65a),this['onContextRequest']=_0x6b8337=>{if(_0x6b8337['context']!==this['context'])return;let _0x3e8af6=_0x6b8337['contextTarget']??_0x6b8337['composedPath']()[0x0];_0x3e8af6!==this['host']&&(_0x6b8337['stopPropagation'](),this['addCallback'](_0x6b8337['callback'],_0x3e8af6,_0x6b8337['subscribe']));},this['onProviderRequest']=_0x3deb52=>{if(_0x3deb52['context']!==this['context']||(_0x3deb52['contextTarget']??_0x3deb52['composedPath']()[0x0])===this['host'])return;let _0x4ef0b7=new Set();for(let [_0x1ffaac,{consumerHost:_0x1fb079}]of this['subscriptions'])_0x4ef0b7['has'](_0x1ffaac)||(_0x4ef0b7['add'](_0x1ffaac),_0x1fb079['dispatchEvent'](new Qt(this['context'],_0x1fb079,_0x1ffaac,!0x0)));_0x3deb52['stopPropagation']();},this['host']=_0x24a419,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 _0x4887cc(this['context'],this['host']));}},_0x3398e9={'attribute':!0x0,'type':String,'converter':_0x57d3c7,'reflect':!0x1,'hasChanged':_0xb759e1},_0x5394c6=(_0x3f86e6=_0x3398e9,_0x54ff30,t)=>{let {kind:_0x38e39b,metadata:_0x2939bb}=t,_0x4e6a16=globalThis['litPropertyMetadata']['get'](_0x2939bb);if(void 0x0===_0x4e6a16&&globalThis['litPropertyMetadata']['set'](_0x2939bb,_0x4e6a16=new Map()),'setter'===_0x38e39b&&((_0x3f86e6=Object['create'](_0x3f86e6))['wrapped']=!0x0),_0x4e6a16['set'](t['name'],_0x3f86e6),'accessor'===_0x38e39b){let {name:_0x3b314f}=t;return{'set'(_0x12f6a9){let _0x4db252=_0x54ff30['get']['call'](this);_0x54ff30['set']['call'](this,_0x12f6a9),this['requestUpdate'](_0x3b314f,_0x4db252,_0x3f86e6,!0x0,_0x12f6a9);},'init'(_0x30eced){return void 0x0!==_0x30eced&&this['C'](_0x3b314f,void 0x0,_0x3f86e6,_0x30eced),_0x30eced;}};}if('setter'===_0x38e39b){let {name:_0x28e3a0}=t;return function(_0x46b287){let _0x996fb4=this[_0x28e3a0];_0x54ff30['call'](this,_0x46b287),this['requestUpdate'](_0x28e3a0,_0x996fb4,_0x3f86e6,!0x0,_0x46b287);};}throw Error('Unsupported\x20decorator\x20location:\x20'+_0x38e39b);};function _0x5a17bd(_0x1f005a){return(_0x9a5676,t)=>'object'==typeof t?_0x5394c6(_0x1f005a,_0x9a5676,t):((_0x1716bf,_0x3c86c7,_0x56bf51)=>{let _0x5df9b7=_0x3c86c7['hasOwnProperty'](_0x56bf51);return _0x3c86c7['constructor']['createProperty'](_0x56bf51,_0x1716bf),_0x5df9b7?Object['getOwnPropertyDescriptor'](_0x3c86c7,_0x56bf51):void 0x0;})(_0x1f005a,_0x9a5676,t);}function _0x12c3df(_0x819bca){return _0x5a17bd({..._0x819bca,'state':!0x0,'attribute':!0x1});}function _0x1e9cf3(_0x52d262,_0x22ae05){let t,_0x3ef7cb=(..._0x4a3d11)=>{t&&clearTimeout(t),t=setTimeout(()=>_0x52d262(..._0x4a3d11),_0x22ae05);};return _0x3ef7cb['cancel']=()=>{t&&clearTimeout(t);},_0x3ef7cb;}var _0x59b022='ctx-name-context';function _0x336c4c(){return function(_0x3192b7){class _0x47fda2 extends _0x3192b7{constructor(..._0x464b47){super(..._0x464b47),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 _0x14c3dc(this,{'context':_0x59b022,'callback':_0x57ac49=>{_0x57ac49?(this['rn']=_0x57ac49,this['tn']()):console['error']('SymbioteMixin:\x20Received\x20invalid\x20ctx-name\x20from\x20context');},'subscribe':!0x0});}static set['template'](_0x4fc29a){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'](_0x3915c6){let _0x4eded4=_0x3915c6??void 0x0;this['Di']!==_0x4eded4&&(this['Di']=_0x4eded4,this['tn']());}['shouldUpdate'](_0x2f06af){return!!this['ke']&&super['shouldUpdate'](_0x2f06af);}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'](_0x3a3a14){super['willUpdate'](_0x3a3a14),this['ctxName']=this['Ae'],this['ctxName']&&(this['Qr']?this['Qr']['setValue'](this['ctxName']):this['Qr']=new _0x1ef4ec(this,{'context':_0x59b022,'initialValue':this['ctxName']}));}['sn'](){if(this['ee']&&0x0!==this['wt']['size']){for(let [_0x317923,{value:_0x241e8a,rewrite:_0x5d003f}]of this['wt'])this['ee']['add'](_0x317923,_0x241e8a,_0x5d003f);this['wt']['clear']();}}['nn'](){return!this['ee']&&this['Ae']&&this['eo'](),this['ee']&&this['sn'](),this['ee'];}['Ni'](){let _0x12716f=this['nn']();if(!_0x12716f)throw new Error('SymbioteMixin:\x20Shared\x20context\x20is\x20not\x20initialized.');return _0x12716f;}['eo'](){let _0x458a44=this['init$'],_0x4dffaa=this['Ae'];if(_0x4dffaa){if(!this['ee']){this['ee']=_0x304b64['getCtx'](_0x4dffaa)??_0x304b64['registerCtx'](_0x458a44,_0x4dffaa);for(let [_0x113641,_0x1b2b43]of Object['entries'](this['init$']))this['ee']['add'](_0x113641,_0x1b2b43,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':(_0x459deb,_0xce0f22)=>{if('string'==typeof _0xce0f22)return this['ee']?.['read'](_0xce0f22);},'set':(_0x5b30b4,_0x4e564e,_0xae78ed)=>('string'!=typeof _0x4e564e||this['ee']?.['pub'](_0x4e564e,_0xae78ed),!0x0)});}['sub'](_0x33f982,_0xbcf11b,_0x38806f=!0x0){let _0x66bd8a=this['Ni']()['sub'](_0x33f982,_0xbcf11b,_0x38806f);if(!_0x66bd8a||'function'!=typeof _0x66bd8a)return()=>{};let _0x46260b=_0x66bd8a['bind'](_0x66bd8a),_0x3f5056=!0x1,_0x32c557=()=>{_0x3f5056||(_0x3f5056=!0x0,_0x46260b(),this['Yt']['delete'](_0x32c557));};return this['Yt']['add'](_0x32c557),_0x32c557;}['pub'](_0x382900,_0x43580e){this['Ni']()['pub'](_0x382900,_0x43580e);}['set$'](_0x237e68){for(let [_0x3213d3,_0x504026]of Object['entries'](_0x237e68))this['pub'](_0x3213d3,_0x504026);}get['sharedCtx'](){return this['Ni']();}['has'](_0x5ccdd5){return this['ee']?.['has'](_0x5ccdd5)??!0x1;}['add'](_0x55f392,_0x17902d,_0x5f4aaa=!0x1){let _0x16ae03=this['nn']();if(_0x16ae03)this['wt']['delete'](_0x55f392),_0x16ae03['add'](_0x55f392,_0x17902d,_0x5f4aaa);else{if(!_0x5f4aaa&&this['wt']['has'](_0x55f392))return;this['wt']['set'](_0x55f392,{'value':_0x17902d,'rewrite':_0x5f4aaa});}}['add$'](_0x3f2bbb,_0x1211e7=!0x1){for(let [_0x24718a,_0x4a193b]of Object['entries'](_0x3f2bbb))this['add'](_0x24718a,_0x4a193b,_0x1211e7);}['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 _0x3d531b=this['init$'];if(Object['keys'](_0x3d531b)['length']>0x0){let _0x22bdfc=this['Ni']();for(let [_0x171fa1,_0x543296]of Object['entries'](_0x3d531b))void 0x0===_0x22bdfc['read'](_0x171fa1)&&_0x22bdfc['pub'](_0x171fa1,_0x543296),this['sub'](_0x171fa1,_0x1e9cf3(async()=>{this['isConnected']&&(await this['updateComplete'],this['requestUpdate']());},0x0),!0x1);}this['initCallback'](),this['ke']=!0x0,this['requestUpdate']();}['firstUpdated'](_0x4ab45e){super['firstUpdated'](_0x4ab45e);}['disconnectedCallback'](){this['Vc'](),super['disconnectedCallback'](),this['Zt']&&(this['Xr']=!0x0);}['Vc'](){if(0x0!==this['Yt']['size']){for(let _0x243b16 of[...this['Yt']])_0x243b16();this['Yt']['clear']();}}['initCallback'](){}}return _0x4a98e4([_0x5a17bd({'type':String,'attribute':'ctx-name','noAccessor':!0x0})],_0x47fda2['prototype'],'en',0x1),_0x4a98e4([_0x12c3df()],_0x47fda2['prototype'],'rn',0x2),_0x4a98e4([_0x12c3df()],_0x47fda2['prototype'],'ctxName',0x2),_0x4a98e4([_0x12c3df()],_0x47fda2['prototype'],'ke',0x2),_0x47fda2;};}var _0x340fa0=class extends _0x139361(_0x336c4c()(_0x473a43(_0x55fd9c(Tt)))){},ft=class _0x4a75f3{static['generateFastUid'](){return'uid-'+Date['now']()['toString'](0x24)+'-'+Math['random']()['toString'](0x24)['slice'](0x2,0xb);}static['generateRandomUUID'](){let _0x306939=globalThis['crypto'];return _0x306939&&'function'==typeof _0x306939['randomUUID']?_0x306939['randomUUID']():_0x4a75f3['generateFastUid']();}},_0xbac6e2=['UploaderBlock','ActivityBlock','Block','SolutionBlock'];function mt(_0x3fdde6){for(let _0xbe7dc1 in _0x3fdde6){if(_0xbac6e2['includes'](_0xbe7dc1))continue;let t=[..._0xbe7dc1]['reduce']((_0x2e2727,_0x220c00)=>(_0x220c00['toUpperCase']()===_0x220c00&&(_0x220c00='-'+_0x220c00['toLowerCase']()),_0x2e2727+=_0x220c00),'');t['startsWith']('-')&&(t=t['replace']('-','')),t['startsWith']('uc-')||(t='uc-'+t),_0x3fdde6[_0xbe7dc1]['reg']&&_0x3fdde6[_0xbe7dc1]['reg'](t);}}var _0xc5abb='UC';function _0x5b1201(_0x49329d,_0x26d8c2=!0x1){return new Promise((t,_0xef35b)=>{if('object'!=typeof document)return void t(null);if('object'==typeof window&&window[_0xc5abb])return void t(window[_0xc5abb]);let _0x1f4bbf=document['createElement']('script');_0x1f4bbf['async']=!0x0,_0x1f4bbf['src']=_0x49329d,_0x1f4bbf['onerror']=()=>{_0xef35b();},_0x1f4bbf['onload']=()=>{let _0x300a7c=window[_0xc5abb];_0x26d8c2&&mt(_0x300a7c),t(_0x300a7c);},document['head']['appendChild'](_0x1f4bbf);});}var _0x1b23ab={'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'},_0x4b27b5=new Map(),_0x477dab=new Map(),_0x4f3927=(_0x53e044,_0x3accd1)=>{_0x4b27b5['has'](_0x53e044)&&console['log']('Locale\x20'+_0x53e044+'\x20is\x20already\x20defined.\x20Overwriting...');let t={..._0x1b23ab,..._0x3accd1};return _0x4b27b5['set'](_0x53e044,t),t;},_0x5a145c=(_0x31bfdd,_0x2ce008)=>{_0x477dab['set'](_0x31bfdd,_0x2ce008);},_0x9d6cb1=(_0x1dfd3e,_0x2d6abb)=>{'function'==typeof _0x2d6abb?_0x5a145c(_0x1dfd3e,_0x2d6abb):_0x4f3927(_0x1dfd3e,_0x2d6abb);},_0x3a3023=async _0x3c860c=>{let _0x4ac2db=_0x4b27b5['get'](_0x3c860c);if(!_0x4ac2db){let t=_0x477dab['get'](_0x3c860c);if(!t)throw new Error('Locale\x20'+_0x3c860c+'\x20is\x20not\x20defined');let _0x6ede02=await t();_0x4ac2db=_0x4f3927(_0x3c860c,_0x6ede02);}return _0x4ac2db;};_0x9d6cb1('en',_0x1b23ab);var _0x1c668c=_0x37c8a6=>'*cfg/'+_0x37c8a6,_0x4fa8be=_0x61fde4=>_0x61fde4?_0x61fde4['split'](',')['map'](_0x22c087=>_0x22c087['trim']())['filter'](Boolean):[],Ht=_0x44bf35=>_0x44bf35['join'](','),_0xcb44d2=_0x43ce95=>{if('string'!=typeof _0x43ce95||!_0x43ce95)return'';let _0x876ba7=_0x43ce95['trim']();return _0x876ba7['startsWith']('-/')?_0x876ba7=_0x876ba7['slice'](0x2):_0x876ba7['startsWith']('/')&&(_0x876ba7=_0x876ba7['slice'](0x1)),_0x876ba7['endsWith']('/')&&(_0x876ba7=_0x876ba7['slice'](0x0,_0x876ba7['length']-0x1)),_0x876ba7;},_0x4fc824=(..._0x90ab7c)=>_0x90ab7c['filter'](_0x203430=>'string'==typeof _0x203430&&!!_0x203430)['map'](_0x23d0fb=>_0xcb44d2(_0x23d0fb))['join']('/-/'),rt=(..._0x3f77ca)=>{let _0x1a59d9=_0x4fc824(..._0x3f77ca);return _0x1a59d9?'-/'+_0x1a59d9+'/':'';};function _0x3af14d(_0x290bce){let _0x5e377f=new URL(_0x290bce),t=_0x5e377f['pathname']+_0x5e377f['search']+_0x5e377f['hash'],_0x44b584=t['lastIndexOf']('http'),_0x252b2b=t['lastIndexOf']('/'),_0x238552='';return _0x44b584>=0x0?_0x238552=t['slice'](_0x44b584):_0x252b2b>=0x0&&(_0x238552=t['slice'](_0x252b2b+0x1)),_0x238552;}function _0x36ed58(_0x47dc0b){let _0x11e388=new URL(_0x47dc0b),{pathname:t}=_0x11e388,_0x33f164=t['indexOf']('/'),_0x10ac56=t['indexOf']('/',_0x33f164+0x1);return t['substring'](_0x33f164+0x1,_0x10ac56);}function _0x489480(_0x3780ea){let _0xe8cae0=_0x22c2cd(_0x3780ea),t=new URL(_0xe8cae0),_0x4b5dd8=t['pathname']['indexOf']('/-/');return-0x1===_0x4b5dd8?'':t['pathname']['substring'](_0x4b5dd8)['slice'](0x1);}function _0x3685c9(_0x203250){return _0x489480(_0x203250)['split']('/-/')['filter'](Boolean)['map'](t=>_0xcb44d2(t));}function _0x22c2cd(_0x3fb47d){let _0x474d2d=new URL(_0x3fb47d),t=_0x3af14d(_0x3fb47d),_0x5d1023=_0x63e1a4(t)?_0x20cfdc(t)['pathname']:t;return _0x474d2d['pathname']=_0x474d2d['pathname']['replace'](_0x5d1023,''),_0x474d2d['search']='',_0x474d2d['hash']='',_0x474d2d['toString']();}function _0x63e1a4(_0x344181){return _0x344181['startsWith']('http');}function _0x20cfdc(_0x16f30d){let _0x18a177=new URL(_0x16f30d);return{'pathname':''+_0x18a177['origin']+(_0x18a177['pathname']??''),'search':_0x18a177['search']??'','hash':_0x18a177['hash']??''};}var _0x490615=(_0x1bcff8,_0x17b512,t)=>{let _0x4cc2c7=new URL(_0x22c2cd(_0x1bcff8)),_0x55d506=t??_0x3af14d(_0x1bcff8),_0x242293=_0x17b512??'';if(_0x4cc2c7['pathname']['startsWith']('//')&&(_0x4cc2c7['pathname']=_0x4cc2c7['pathname']['replace']('//','/')),_0x55d506&&_0x63e1a4(_0x55d506)){let _0x4911f4=_0x20cfdc(_0x55d506);_0x4cc2c7['pathname']=''+_0x4cc2c7['pathname']+_0x242293+(_0x4911f4['pathname']||''),_0x4cc2c7['search']=_0x4911f4['search'],_0x4cc2c7['hash']=_0x4911f4['hash'];}else _0x4cc2c7['pathname']=''+_0x4cc2c7['pathname']+_0x242293+(_0x55d506||'');return _0x4cc2c7['toString']();},Jt=(_0x15f410,_0x544438)=>{let t=new URL(_0x15f410);return t['pathname']=_0x544438+'/',t['toString']();},_0x36e153=(_0x89342c,_0x5d8cda=',')=>_0x89342c['trim']()['split'](_0x5d8cda)['map'](t=>t['trim']())['filter'](t=>t['length']>0x0),_0x4e1d5d=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}),_0x32f52b=['enhance','brightness','exposure','gamma','contrast','saturation','vibrance','warmth','filter','mirror','flip','rotate','crop'];function _0x9b8fc3(_0x44d914,_0x4b8184){if('number'==typeof _0x4b8184){let t=_0x4b8184;return _0x4e1d5d[_0x44d914]!==t?_0x44d914+'/'+t:'';}if('boolean'==typeof _0x4b8184){let t=_0x4b8184;return _0x4e1d5d[_0x44d914]!==t?''+_0x44d914:'';}if('filter'===_0x44d914&&_0x4b8184){let {name:t,amount:_0x2a4046}=_0x4b8184;return _0x4e1d5d['filter']===_0x2a4046?'':_0x44d914+'/'+t+'/'+_0x2a4046;}if('crop'===_0x44d914&&_0x4b8184){let {dimensions:t,coords:_0x12a911}=_0x4b8184;return _0x44d914+'/'+t['join']('x')+'/'+_0x12a911['join'](',');}return'';}function te(_0x37c4cb){return _0x4fc824(..._0x32f52b['filter'](_0x12ce86=>typeof _0x37c4cb[_0x12ce86]<'u'&&null!==_0x37c4cb[_0x12ce86])['map'](_0x21fdba=>_0x9b8fc3(_0x21fdba,_0x37c4cb[_0x21fdba]))['filter'](_0x172cc5=>!!_0x172cc5));}var _0x5b8cfa=_0x4fc824('format/auto','progressive/yes'),Kt=([_0x3815ab])=>typeof _0x3815ab<'u'?Number(_0x3815ab):void 0x0,_0x1994c1=()=>!0x0,tc=([_0x59e092,_0x11ac0c])=>({'name':_0x59e092,'amount':typeof _0x11ac0c<'u'?Number(_0x11ac0c):0x64}),_0x24c76a=([_0x5b505a,_0x40fd00])=>{if(!/\d+x\d+/['test'](_0x5b505a)||!/\d+,\d+/['test'](_0x40fd00))throw new Error('Crop\x20by\x20aspect\x20ratio,\x20percentage\x20or\x20alignment\x20shortcuts\x20is\x20not\x20supported.');return{'dimensions':_0x36e153(_0x5b505a,'x')['map'](Number),'coords':_0x36e153(_0x40fd00)['map'](Number)};},_0x1d7ae8=Object['freeze']({'enhance':Kt,'brightness':Kt,'exposure':Kt,'gamma':Kt,'contrast':Kt,'saturation':Kt,'vibrance':Kt,'warmth':Kt,'filter':tc,'mirror':_0x1994c1,'flip':_0x1994c1,'rotate':Kt,'crop':_0x4f2f02=>{let [_0x619ce,t]=_0x4f2f02,{dimensions:_0x3f0f0e,coords:_0x126c79}=_0x24c76a([_0x619ce,t]);return{'dimensions':_0x3f0f0e,'coords':_0x126c79};}});function _0x348b5d(_0x3dce40){let _0x2a84d5={};for(let t of _0x3dce40){let [_0x28dc22,..._0x1a309f]=t['split']('/');if(!_0x28dc22||!_0x32f52b['includes'](_0x28dc22))continue;let _0x564a04=_0x28dc22,_0x10992d=_0x1d7ae8[_0x564a04];try{let _0x48e2dd=_0x10992d(_0x1a309f);_0x2a84d5[_0x564a04]=_0x48e2dd;}catch(_0x21b5a9){console['warn'](['Failed\x20to\x20parse\x20URL\x20operation\x20\x22'+t+'\x22.\x20It\x20will\x20be\x20ignored.',_0x21b5a9 instanceof Error?'Error\x20message:\x20\x22'+_0x21b5a9['message']+'\x22':_0x21b5a9,'If\x20you\x20need\x20this\x20functionality,\x20please\x20feel\x20free\x20to\x20open\x20an\x20issue\x20at\x20https://github.com/uploadcare/blocks/issues/new']['join']('\x20'));}}return _0x2a84d5;}var _0x27a6a4=Object['freeze']({'CROP':'crop','TUNING':'tuning','FILTERS':'filters'}),ot=Object['freeze']([_0x27a6a4['CROP'],_0x27a6a4['TUNING'],_0x27a6a4['FILTERS']]),_0x9fa232=Object['freeze'](['brightness','exposure','gamma','contrast','saturation','vibrance','warmth','enhance']),_0x1862b7=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']),_0x5c24e3=Object['freeze'](['rotate','mirror','flip']),jt=_0x4e1d5d,kt=Object['freeze']({'brightness':{'zero':jt['brightness'],'range':[-0x64,0x64],'keypointsNumber':0x2},'exposure':{'zero':jt['exposure'],'range':[-0x1f4,0x1f4],'keypointsNumber':0x2},'gamma':{'zero':jt['gamma'],'range':[0x0,0x3e8],'keypointsNumber':0x2},'contrast':{'zero':jt['contrast'],'range':[-0x64,0x1f4],'keypointsNumber':0x2},'saturation':{'zero':jt['saturation'],'range':[-0x64,0x1f4],'keypointsNumber':0x1},'vibrance':{'zero':jt['vibrance'],'range':[-0x64,0x1f4],'keypointsNumber':0x1},'warmth':{'zero':jt['warmth'],'range':[-0x64,0x64],'keypointsNumber':0x1},'enhance':{'zero':jt['enhance'],'range':[0x0,0x64],'keypointsNumber':0x1},'filter':{'zero':jt['filter'],'range':[0x0,0x64],'keypointsNumber':0x1}}),_0x413bf1='https://ucarecdn.com',_0x1792d5='https://upload.uploadcare.com',_0x1433b5='https://social.uploadcare.com',_0x1d0af7='https://ucarecd.net',_0x53daf1={'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':_0x413bf1,'cdnCnamePrefixed':_0x1d0af7,'baseUrl':_0x1792d5,'socialBaseUrl':_0x1433b5,'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':Ht(ot),'cloudImageEditorMaskHref':null,'testMode':!0x1,'qualityInsights':!0x0,'pasteScope':'local','plugins':[]},_0x3eb17e=Object['freeze'](_0x53daf1),_0x3ee310=(_0x7aa74c,_0x23118b)=>(...t)=>{let _0x47868f=_0x7aa74c();if(!_0x47868f['read'](_0x1c668c('debug')))return;let _0x26ef97=t;'function'==typeof t?.[0x0]&&(_0x26ef97=(0x0,t[0x0])());let _0x20147f=[_0x47868f['id'],_0x23118b]['filter'](Boolean);console['log']('['+_0x20147f['join']('][')+']',..._0x26ef97);},_0x29af01=class{constructor(_0x5b50f4){this['to']=new Set(),this['Be']=null,this['w']=_0x3ee310(()=>this['i']['ctx'],this['constructor']['name']),this['i']=_0x5b50f4,this['e']=_0x5b50f4['ctx'];}['addSub'](_0x356137){this['to']['add'](_0x356137);}get['ze'](){if(!this['Be']){let _0x3bd5de={};this['Be']=new Proxy(_0x3bd5de,{'set':()=>{throw new Error('SharedInstance\x20cfg\x20proxy\x20is\x20read-only');},'get':(t,_0x5de39b)=>{if('string'!=typeof _0x5de39b)return;let _0x1778e9=_0x1c668c(_0x5de39b);return this['i']['ctx']['has'](_0x1778e9)?this['i']['ctx']['read'](_0x1778e9):_0x3eb17e[_0x5de39b];}});}return this['Be'];}['destroy'](){for(let _0xfa2ba8 of this['to'])try{_0xfa2ba8();}catch{}this['to']['clear']();}},_0x1215e9={'modalManager':'*modalManager','pluginManager':'*pluginManager','telemetryManager':'*telemetryManager','localeManager':'*localeManager','a11y':'*a11y','clipboard':'*clipboard','blocksRegistry':'*blocksRegistry','eventEmitter':'*eventEmitter','uploadCollection':'*uploadCollection','secureUploadsManager':'*secureUploadsManager','api':'*publicApi','validationManager':'*validationManager'},Mt=(_0x4f62b7,_0x883b9e,t=!0x0)=>{let _0x10a1dc=_0x4f62b7['has'](_0x883b9e),_0xc96146=_0x10a1dc?_0x4f62b7['read'](_0x883b9e):null;if(_0x10a1dc&&_0xc96146||!t)return _0xc96146;throw new Error('Unexpected\x20error:\x20shared\x20instance\x20for\x20key\x20\x22'+String(_0x883b9e)+'\x22\x20is\x20not\x20available');},_0x11ed38=_0x25f0d6=>({get 'ctx'(){return _0x25f0d6();},get 'modalManager'(){return Mt(_0x25f0d6(),'*modalManager',!0x1);},get 'pluginManager'(){return Mt(_0x25f0d6(),'*pluginManager');},get 'telemetryManager'(){return Mt(_0x25f0d6(),'*telemetryManager');},get 'localeManager'(){return Mt(_0x25f0d6(),'*localeManager');},get 'a11y'(){return Mt(_0x25f0d6(),'*a11y');},get 'blocksRegistry'(){return Mt(_0x25f0d6(),'*blocksRegistry');},get 'eventEmitter'(){return Mt(_0x25f0d6(),'*eventEmitter');},get 'uploadCollection'(){return Mt(_0x25f0d6(),'*uploadCollection');},get 'secureUploadsManager'(){return Mt(_0x25f0d6(),'*secureUploadsManager',!0x1);},get 'api'(){return Mt(_0x25f0d6(),'*publicApi');},get 'validationManager'(){return Mt(_0x25f0d6(),'*validationManager');},'when'(_0x1f2635,t){let _0x1cb543,_0x2fa303=_0x1215e9[_0x1f2635],_0x4355c9=_0x25f0d6(),_0x4cdfac=_0x4355c9['has'](_0x2fa303)?_0x4355c9['read'](_0x2fa303):void 0x0;return _0x4cdfac?(t(_0x4cdfac),()=>{}):(_0x1cb543=_0x4355c9['sub'](_0x2fa303,_0xa77581=>{_0xa77581&&(t(_0xa77581),_0x1cb543?.());}),_0x1cb543);},'wait'(_0x397105){return new Promise(t=>{let _0x47f4fd;_0x47f4fd=this['when'](_0x397105,_0x35017d=>{t(_0x35017d),_0x47f4fd?.();});});}}),_0xeff0ad=Object['freeze']({'ADD':'modal:add','DELETE':'modal:delete','OPEN':'modal:open','CLOSE':'modal:close','CLOSE_ALL':'modal:closeAll','DESTROY':'modal:destroy'}),_0x5a7e15=class extends _0x29af01{constructor(){super(...arguments),this['He']=new Map(),this['ue']=new Set(),this['c']=new Map();}['registerModal'](t,_0x4ffae2){this['He']['set'](t,_0x4ffae2),this['q'](_0xeff0ad['ADD'],{'id':t,'modal':_0x4ffae2});}['deleteModal'](t){let _0xc484e6=this['He']['get'](t);return!!_0xc484e6&&(this['He']['delete'](t),this['ue']['delete'](t),this['q'](_0xeff0ad['DELETE'],{'id':t,'modal':_0xc484e6}),!0x0);}['open'](t){let _0x3b6cd1=this['He']['get'](t);return _0x3b6cd1?(this['ue']['add'](t),this['q'](_0xeff0ad['OPEN'],{'modal':_0x3b6cd1,'id':t}),!0x0):(this['w']('Modal\x20with\x20ID\x20\x22'+t+'\x22\x20not\x20found'),!0x1);}['close'](t){let _0x5d0e1e=this['He']['get'](t);return _0x5d0e1e&&this['ue']['has'](t)?(this['ue']['delete'](t),this['q'](_0xeff0ad['CLOSE'],{'id':t,'modal':_0x5d0e1e}),!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'](_0xeff0ad['CLOSE_ALL'],{}),t;}['subscribe'](t,_0x1b5b76){return this['c']['has'](t)||this['c']['set'](t,new Set()),this['c']['get'](t)?.['add'](_0x1b5b76),()=>this['unsubscribe'](t,_0x1b5b76);}['unsubscribe'](t,_0x547076){this['c']['has'](t)&&this['c']['get'](t)?.['delete'](_0x547076);}['q'](t,_0x2775d2){if(this['c']['has'](t)){for(let _0x38f8ef of this['c']['get'](t)??new Set())try{_0x38f8ef(_0x2775d2);}catch(_0x4e4cff){this['i']['telemetryManager']['sendEventError'](_0x4e4cff,'modal\x20subscriber'),this['w']('Error\x20in\x20modal\x20subscriber:',_0x4e4cff);}}}['destroy'](){super['destroy'](),this['closeAll'](),this['He']['clear'](),this['c']['clear'](),this['q'](_0xeff0ad['DESTROY'],{});}},_0x214ed2=_0x837edc=>_0x837edc['match'](/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g)?.['map'](_0x10ba6e=>_0x10ba6e['toLowerCase']())['join']('-');function _0x8b9efd(_0x15175f){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x15175f);}var _0x2d3c0b=/\W|_/g;function _0x103ddd(_0xa83741){return _0xa83741['split'](_0x2d3c0b)['map']((_0x24d1ad,t)=>_0x24d1ad['charAt'](0x0)[t>0x0?'toUpperCase':'toLowerCase']()+_0x24d1ad['slice'](0x1))['join']('');}function _0x5ec0a4(_0x1dca9c,{ignoreKeys:_0x100540}={'ignoreKeys':[]}){return Array['isArray'](_0x1dca9c)?_0x1dca9c['map'](t=>qt(t,{'ignoreKeys':_0x100540})):_0x1dca9c;}function qt(_0x3582c3,{ignoreKeys:_0x1a9876}={'ignoreKeys':[]}){if(Array['isArray'](_0x3582c3))return _0x5ec0a4(_0x3582c3,{'ignoreKeys':_0x1a9876});if(!_0x8b9efd(_0x3582c3))return _0x3582c3;let t={};for(let _0x41f29f of Object['keys'](_0x3582c3)){let _0x26a14e=_0x3582c3[_0x41f29f];_0x1a9876['includes'](_0x41f29f)?t[_0x41f29f]=_0x26a14e:(_0x8b9efd(_0x26a14e)?_0x26a14e=qt(_0x26a14e,{'ignoreKeys':_0x1a9876}):Array['isArray'](_0x26a14e)&&(_0x26a14e=_0x5ec0a4(_0x26a14e,{'ignoreKeys':_0x1a9876})),t[_0x103ddd(_0x41f29f)]=_0x26a14e);}return t;}var _0x2bf8f1=_0x14154d=>new Promise(_0x2ec55f=>setTimeout(_0x2ec55f,_0x14154d));function _0x2119b7({libraryName:_0x3cd634,libraryVersion:_0x3cf514,userAgent:t,publicKey:_0x4cbe54='',integration:_0x2667fe=''}){let _0x3ebe9f='JavaScript';return'string'==typeof t?t:'function'==typeof t?t({'publicKey':_0x4cbe54,'libraryName':_0x3cd634,'libraryVersion':_0x3cf514,'languageName':_0x3ebe9f,'integration':_0x2667fe}):[_0x3cd634,_0x3cf514,_0x4cbe54]['filter'](Boolean)['join']('/')+'\x20('+[_0x3ebe9f,_0x2667fe]['filter'](Boolean)['join'](';\x20')+')';}var _0x42f475={'factor':0x2,'time':0x64};function _0x1e2ca6(_0x24b195,_0x5b4a66=_0x42f475){let t=0x0;return function _0xc20e4c(_0x40a853){let _0x50c5d9=Math['round'](_0x5b4a66['time']*_0x5b4a66['factor']**t);return _0x40a853({'attempt':t,'retry':_0x1b0145=>_0x2bf8f1(_0x1b0145??_0x50c5d9)['then'](()=>(t+=0x1,_0xc20e4c(_0x40a853)))});}(_0x24b195);}var _0x3037dc=class extends Error{},_0x172e67=class _0xa66202 extends _0x3037dc{['originalProgressEvent'];constructor(_0x2f21b3){super(),this['name']='NetworkError',this['message']='Network\x20error',Object['setPrototypeOf'](this,_0xa66202['prototype']),this['originalProgressEvent']=_0x2f21b3;}},_0x20ceae=(_0x387f0c,_0x4c69df)=>{_0x387f0c&&(_0x387f0c['aborted']?Promise['resolve']()['then'](_0x4c69df):_0x387f0c['addEventListener']('abort',()=>_0x4c69df(),{'once':!0x0}));},_0x46e264=class _0x1c4667 extends _0x3037dc{['isCancel']=!0x0;constructor(_0x27eb58='Request\x20canceled'){super(_0x27eb58),this['name']='CancelError',Object['setPrototypeOf'](this,_0x1c4667['prototype']);}},_0x83e53b=0x1f4,_0x423bbd=({check:_0x34b5d0,interval:_0x2d4f14=_0x83e53b,timeout:t,signal:_0x1653c3})=>new Promise((_0x1aebbd,_0x3ad26b)=>{let _0x2878d1,_0x3cff81;_0x20ceae(_0x1653c3,()=>{_0x2878d1&&clearTimeout(_0x2878d1),_0x3ad26b(new _0x46e264('Poll\x20cancelled'));}),t&&(_0x3cff81=setTimeout(()=>{_0x2878d1&&clearTimeout(_0x2878d1),_0x3ad26b(new _0x46e264('Timed\x20out'));},t));let _0x35532b=()=>{try{Promise['resolve'](_0x34b5d0(_0x1653c3))['then'](_0x58b58e=>{_0x58b58e?(_0x3cff81&&clearTimeout(_0x3cff81),_0x1aebbd(_0x58b58e)):_0x2878d1=setTimeout(_0x35532b,_0x2d4f14);})['catch'](_0x4f4427=>{_0x3cff81&&clearTimeout(_0x3cff81),_0x3ad26b(_0x4f4427);});}catch(_0x13e6cd){_0x3cff81&&clearTimeout(_0x3cff81),_0x3ad26b(_0x13e6cd);}};_0x2878d1=setTimeout(_0x35532b,0x0);}),_0x580b39={'baseCDN':'https://ucarecdn.com','baseURL':'https://upload.uploadcare.com','retryThrottledRequestMaxTimes':0x1,'retryNetworkErrorMaxTimes':0x3,'multipartMinFileSize':0x1900000,'multipartChunkSize':0x500000,'maxConcurrentRequests':0x4,'pusherKey':'79ae88bd931ea68464d9'},_0xd89a6='application/octet-stream',_0x1c1957='original',_0x4d04b0=({method:_0x20baaf,url:_0x5300bf,data:t,headers:_0x36e4fa={},signal:_0x1bb11c,onProgress:_0x4f92c8})=>new Promise((_0x3f210c,_0x57c692)=>{let _0x329da9=new XMLHttpRequest(),_0x34f066=_0x20baaf?.['toUpperCase']()||'GET',_0x334611=!0x1;_0x329da9['open'](_0x34f066,_0x5300bf,!0x0),_0x36e4fa&&Object['entries'](_0x36e4fa)['forEach'](_0x4c5416=>{let [_0xe9e6ec,_0xafc0fc]=_0x4c5416;typeof _0xafc0fc<'u'&&!Array['isArray'](_0xafc0fc)&&_0x329da9['setRequestHeader'](_0xe9e6ec,_0xafc0fc);}),_0x329da9['responseType']='text',_0x20ceae(_0x1bb11c,()=>{_0x334611=!0x0,_0x329da9['abort'](),_0x57c692(new _0x46e264());}),_0x329da9['onload']=()=>{if(0xc8!=_0x329da9['status'])_0x57c692(new Error('Error\x20'+_0x329da9['status']+':\x20'+_0x329da9['statusText']));else{let _0x5bc32c={'method':_0x34f066,'url':_0x5300bf,'data':t,'headers':_0x36e4fa||void 0x0,'signal':_0x1bb11c,'onProgress':_0x4f92c8},_0x4724f0=_0x329da9['getAllResponseHeaders']()['trim']()['split'](/[\r\n]+/),_0x45b4b7={};_0x4724f0['forEach'](function(_0x479c4c){let _0x557c55=_0x479c4c['split'](':\x20'),_0x166634=_0x557c55['shift'](),_0x45d1de=_0x557c55['join'](':\x20');_0x166634&&typeof _0x166634<'u'&&(_0x45b4b7[_0x166634]=_0x45d1de);});let _0x2fb7a7=_0x329da9['response'],_0x290c39=_0x329da9['status'];_0x3f210c({'request':_0x5bc32c,'data':_0x2fb7a7,'headers':_0x45b4b7,'status':_0x290c39});}},_0x329da9['onerror']=_0x5c2bca=>{_0x334611||_0x57c692(new _0x172e67(_0x5c2bca));},_0x4f92c8&&'function'==typeof _0x4f92c8&&(_0x329da9['upload']['onprogress']=_0x5c3280=>{_0x5c3280['lengthComputable']?_0x4f92c8({'isComputable':!0x0,'value':_0x5c3280['loaded']/_0x5c3280['total']}):_0x4f92c8({'isComputable':!0x1});}),t?_0x329da9['send'](t):_0x329da9['send']();});function _0x5b73ef(_0x57f4d6,..._0xe62a09){return _0x57f4d6;}var _0x5ad09a=({name:_0x2cc964})=>_0x2cc964?[_0x2cc964]:[],_0x51b5bf=_0x5b73ef,_0x4cc11f=()=>new FormData(),_0x235514=_0x76f6=>!0x1,_0x1770f4=_0x593c3c=>typeof Blob<'u'&&_0x593c3c instanceof Blob,_0x2ae2f4=_0x17e54e=>typeof File<'u'&&_0x17e54e instanceof File,_0x5a504f=_0x3fbc38=>!!_0x3fbc38&&'object'==typeof _0x3fbc38&&!Array['isArray'](_0x3fbc38)&&'uri'in _0x3fbc38&&'string'==typeof _0x3fbc38['uri'],_0x12a45b=_0x5ca159=>_0x1770f4(_0x5ca159)||_0x2ae2f4(_0x5ca159)||_0x235514()||_0x5a504f(_0x5ca159),_0x49be49=_0x3fd97d=>'string'==typeof _0x3fd97d||'number'==typeof _0x3fd97d||typeof _0x3fd97d>'u',_0x4b021b=_0x35c582=>!!_0x35c582&&'object'==typeof _0x35c582&&!Array['isArray'](_0x35c582),_0x15d968=_0x2446da=>!!_0x2446da&&'object'==typeof _0x2446da&&'data'in _0x2446da&&_0x12a45b(_0x2446da['data']);function _0x3bea42(_0x4df41,_0xd6e12d,t){if(Array['isArray'](t)){for(let _0x315b4a of t)_0x3bea42(_0x4df41,_0xd6e12d+'[]',_0x315b4a);}else{if(_0x15d968(t)){let {name:_0x161831,contentType:_0xd5f68d}=t,_0x1f9eaa=_0x51b5bf(t['data'],_0x161831,_0xd5f68d??_0xd89a6),_0xb81353=_0x5ad09a({'name':_0x161831});_0x4df41['push']([_0xd6e12d,_0x1f9eaa,..._0xb81353]);}else{if(_0x4b021b(t)){for(let [_0x4bac6f,_0x34ac05]of Object['entries'](t))typeof _0x34ac05<'u'&&_0x4df41['push']([_0xd6e12d+'['+_0x4bac6f+']',String(_0x34ac05)]);}else _0x49be49(t)&&t&&_0x4df41['push']([_0xd6e12d,t['toString']()]);}}}function _0xf738cd(_0x5ce07f){let _0x2af6b7=[];for(let [t,_0x361d8d]of Object['entries'](_0x5ce07f))_0x3bea42(_0x2af6b7,t,_0x361d8d);return _0x2af6b7;}function _0x7f007d(_0x1cac85){let _0x108b28=_0x4cc11f(),t=_0xf738cd(_0x1cac85);for(let _0x16025c of t){let [_0x17667b,_0x4e5206,..._0x59d79b]=_0x16025c;_0x108b28['append'](_0x17667b,_0x4e5206,..._0x59d79b);}return _0x108b28;}var st=class _0xc71956 extends _0x3037dc{['code'];['request'];['response'];['headers'];constructor(_0x121f1d,t,_0x186213,_0x44401d,_0x5d0ea5){super(),this['name']='UploadError',this['message']=_0x121f1d,this['code']=t,this['request']=_0x186213,this['response']=_0x44401d,this['headers']=_0x5d0ea5,Object['setPrototypeOf'](this,_0xc71956['prototype']);}},_0x2d8dcc=_0x50ed87=>{let _0x2e0cf3=new URLSearchParams();for(let [t,_0x464a01]of Object['entries'](_0x50ed87))_0x464a01&&'object'==typeof _0x464a01&&!Array['isArray'](_0x464a01)?Object['entries'](_0x464a01)['filter'](_0x4426c9=>_0x4426c9[0x1]??!0x1)['forEach'](_0x2d2fd0=>_0x2e0cf3['set'](t+'['+_0x2d2fd0[0x0]+']',String(_0x2d2fd0[0x1]))):Array['isArray'](_0x464a01)?_0x464a01['forEach'](_0x31a530=>{_0x2e0cf3['append'](t+'[]',_0x31a530);}):'string'==typeof _0x464a01&&_0x464a01?_0x2e0cf3['set'](t,_0x464a01):'number'==typeof _0x464a01&&_0x2e0cf3['set'](t,_0x464a01['toString']());return _0x2e0cf3['toString']();},Gt=(_0xf5672b,_0x33ea0a,t)=>{let _0x39b940=new URL(_0xf5672b);return _0x39b940['pathname']=(_0x39b940['pathname']+_0x33ea0a)['replace']('//','/'),t&&(_0x39b940['search']=_0x2d8dcc(t)),_0x39b940['toString']();},_0x2910f8='6.18.4',_0x59fa05='UploadcareUploadClient',_0x146c79=_0x2910f8;function _0x3d3fbb(_0x1fb400){return _0x2119b7({'libraryName':_0x59fa05,'libraryVersion':_0x146c79,..._0x1fb400});}var _0x34dec4='RequestThrottledError',_0x554d22=0x3a98,_0x4d294d=0x3e8;function _0x600e09(_0x5afacd){let {headers:_0xc4278d}=_0x5afacd||{};if(!_0xc4278d||'string'!=typeof _0xc4278d['retry-after'])return _0x554d22;let t=parseInt(_0xc4278d['retry-after'],0xa);return Number['isFinite'](t)?0x3e8*t:_0x554d22;}function _0x4aaf9e(_0x3b11a4,_0x584f71){let {retryThrottledRequestMaxTimes:t,retryNetworkErrorMaxTimes:_0x19671f}=_0x584f71;return _0x1e2ca6(({attempt:_0x330599,retry:_0x3f9ccf})=>_0x3b11a4()['catch'](_0x5659fb=>{if('response'in _0x5659fb&&_0x5659fb?.['code']===_0x34dec4&&_0x330599<t)return _0x3f9ccf(_0x600e09(_0x5659fb));if(_0x5659fb instanceof _0x172e67&&_0x330599<_0x19671f)return _0x3f9ccf((_0x330599+0x1)*_0x4d294d);throw _0x5659fb;}));}var _0x29ebff=_0xc6a0be=>{let _0x555ad0='';return(_0x1770f4(_0xc6a0be)||_0x2ae2f4(_0xc6a0be)||_0x5a504f(_0xc6a0be))&&(_0x555ad0=_0xc6a0be['type']),_0x555ad0||_0xd89a6;},_0x3aa20e=_0x4b57d9=>{let _0x568c88='';return _0x2ae2f4(_0x4b57d9)&&_0x4b57d9['name']?_0x568c88=_0x4b57d9['name']:_0x1770f4(_0x4b57d9)||_0x235514()?_0x568c88='':_0x5a504f(_0x4b57d9)&&_0x4b57d9['name']&&(_0x568c88=_0x4b57d9['name']),_0x568c88||_0x1c1957;},_0x539089,_0x4a84a7,ct;function _0x2f505c(_0x10684b){return typeof _0x10684b>'u'||'auto'===_0x10684b?'auto':_0x10684b?'1':'0';}function _0x4e609d(_0x650726,{publicKey:_0x3fe92e,fileName:t,contentType:_0x26cc92,baseURL:_0x2f23f5=_0x580b39['baseURL'],secureSignature:_0x1d641a,secureExpire:_0x4b3475,store:_0x2152a4,signal:_0xb28a6f,onProgress:_0x26bb32,source:_0x93b5f0='local',integration:_0x2d1dff,userAgent:_0x13d031,retryThrottledRequestMaxTimes:_0x3a6c78=_0x580b39['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x3563fa=_0x580b39['retryNetworkErrorMaxTimes'],metadata:_0x248805}){return _0x4aaf9e(()=>_0x4d04b0({'method':'POST','url':Gt(_0x2f23f5,'/base/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':_0x3d3fbb({'publicKey':_0x3fe92e,'integration':_0x2d1dff,'userAgent':_0x13d031})},'data':_0x7f007d({'file':{'data':_0x650726,'name':t||_0x3aa20e(_0x650726),'contentType':_0x26cc92||_0x29ebff(_0x650726)},'UPLOADCARE_PUB_KEY':_0x3fe92e,'UPLOADCARE_STORE':_0x2f505c(_0x2152a4),'signature':_0x1d641a,'expire':_0x4b3475,'source':_0x93b5f0,'metadata':_0x248805}),'signal':_0xb28a6f,'onProgress':_0x26bb32})['then'](({data:_0x5368e2,headers:_0x2bdafe,request:_0x1a9fb9})=>{let _0x36e671=qt(JSON['parse'](_0x5368e2));if('error'in _0x36e671)throw new st(_0x36e671['error']['content'],_0x36e671['error']['errorCode'],_0x1a9fb9,_0x36e671,_0x2bdafe);return _0x36e671;}),{'retryNetworkErrorMaxTimes':_0x3563fa,'retryThrottledRequestMaxTimes':_0x3a6c78});}function _0x4df7ed(_0x5bcaa1,{publicKey:_0x506a70,baseURL:t=_0x580b39['baseURL'],store:_0x2fe0be,fileName:_0x9d4db5,checkForUrlDuplicates:_0x1ddd28,saveUrlForRecurrentUploads:_0x2362bc,secureSignature:_0x2da81e,secureExpire:_0x4222bb,source:_0x445566='url',signal:_0x3d858c,integration:_0x5f199d,userAgent:_0x40137a,retryThrottledRequestMaxTimes:_0x15e3ee=_0x580b39['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x2247a5=_0x580b39['retryNetworkErrorMaxTimes'],metadata:_0xdffc38}){return _0x4aaf9e(()=>_0x4d04b0({'method':'POST','headers':{'X-UC-User-Agent':_0x3d3fbb({'publicKey':_0x506a70,'integration':_0x5f199d,'userAgent':_0x40137a})},'url':Gt(t,'/from_url/',{'jsonerrors':0x1,'pub_key':_0x506a70,'source_url':_0x5bcaa1,'store':_0x2f505c(_0x2fe0be),'filename':_0x9d4db5,'check_URL_duplicates':_0x1ddd28?0x1:void 0x0,'save_URL_duplicates':_0x2362bc?0x1:void 0x0,'signature':_0x2da81e,'expire':_0x4222bb,'source':_0x445566,'metadata':_0xdffc38}),'signal':_0x3d858c})['then'](({data:_0x477b96,headers:_0x144024,request:_0x2143c7})=>{let _0x5a484d=qt(JSON['parse'](_0x477b96));if('error'in _0x5a484d)throw new st(_0x5a484d['error']['content'],_0x5a484d['error']['errorCode'],_0x2143c7,_0x5a484d,_0x144024);return _0x5a484d;}),{'retryNetworkErrorMaxTimes':_0x2247a5,'retryThrottledRequestMaxTimes':_0x15e3ee});}_0x4a84a7=_0x539089||(_0x539089={}),_0x4a84a7['Token']='token',_0x4a84a7['FileInfo']='file_info',function(_0x14b669){_0x14b669['Unknown']='unknown',_0x14b669['Waiting']='waiting',_0x14b669['Progress']='progress',_0x14b669['Error']='error',_0x14b669['Success']='success';}(ct||(ct={}));var _0x2526ac=_0x2e5468=>'status'in _0x2e5468&&_0x2e5468['status']===ct['Error'];function _0x527216(_0x31cdbe,{publicKey:_0x4adf1d,baseURL:t=_0x580b39['baseURL'],signal:_0x76599b,integration:_0x25d5b3,userAgent:_0x36cf5d,retryThrottledRequestMaxTimes:_0x3e9a07=_0x580b39['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0xe7586f=_0x580b39['retryNetworkErrorMaxTimes']}={}){return _0x4aaf9e(()=>_0x4d04b0({'method':'GET','headers':_0x4adf1d?{'X-UC-User-Agent':_0x3d3fbb({'publicKey':_0x4adf1d,'integration':_0x25d5b3,'userAgent':_0x36cf5d})}:void 0x0,'url':Gt(t,'/from_url/status/',{'jsonerrors':0x1,'token':_0x31cdbe}),'signal':_0x76599b})['then'](({data:_0x1dd82f,headers:_0x3ee442,request:_0x54ec57})=>{let _0x34e85a=qt(JSON['parse'](_0x1dd82f));if('error'in _0x34e85a&&!_0x2526ac(_0x34e85a))throw new st(_0x34e85a['error']['content'],_0x34e85a['error']['errorCode'],_0x54ec57,_0x34e85a,_0x3ee442);return _0x34e85a;}),{'retryNetworkErrorMaxTimes':_0xe7586f,'retryThrottledRequestMaxTimes':_0x3e9a07});}function _0x266bf4(_0x5b07be,{publicKey:_0x12d8b0,baseURL:t=_0x580b39['baseURL'],jsonpCallback:_0x2cf23f,secureSignature:_0x4dd18c,secureExpire:_0x581a3f,signal:_0x417dad,source:_0x4d94bc,integration:_0x575a6f,userAgent:_0xe9dfd1,retryThrottledRequestMaxTimes:_0x282c0a=_0x580b39['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0xf6e053=_0x580b39['retryNetworkErrorMaxTimes']}){return _0x4aaf9e(()=>_0x4d04b0({'method':'POST','headers':{'X-UC-User-Agent':_0x3d3fbb({'publicKey':_0x12d8b0,'integration':_0x575a6f,'userAgent':_0xe9dfd1})},'url':Gt(t,'/group/',{'jsonerrors':0x1}),'data':_0x7f007d({'files':_0x5b07be,'callback':_0x2cf23f,'pub_key':_0x12d8b0,'signature':_0x4dd18c,'expire':_0x581a3f,'source':_0x4d94bc}),'signal':_0x417dad})['then'](({data:_0x436950,headers:_0x4c1231,request:_0x2abb05})=>{let _0x2652dc=qt(JSON['parse'](_0x436950));if('error'in _0x2652dc)throw new st(_0x2652dc['error']['content'],_0x2652dc['error']['errorCode'],_0x2abb05,_0x2652dc,_0x4c1231);return _0x2652dc;}),{'retryNetworkErrorMaxTimes':_0xf6e053,'retryThrottledRequestMaxTimes':_0x282c0a});}function _0x715270(_0xc1b243,{publicKey:_0x543376,baseURL:t=_0x580b39['baseURL'],signal:_0x271032,source:_0xffd4ca,integration:_0x5a1838,userAgent:_0x12b1d7,retryThrottledRequestMaxTimes:_0x33acb3=_0x580b39['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x3bc572=_0x580b39['retryNetworkErrorMaxTimes']}){return _0x4aaf9e(()=>_0x4d04b0({'method':'GET','headers':{'X-UC-User-Agent':_0x3d3fbb({'publicKey':_0x543376,'integration':_0x5a1838,'userAgent':_0x12b1d7})},'url':Gt(t,'/info/',{'jsonerrors':0x1,'pub_key':_0x543376,'file_id':_0xc1b243,'source':_0xffd4ca}),'signal':_0x271032})['then'](({data:_0x24b123,headers:_0x2cd600,request:_0x339814})=>{let _0x44e9f1=qt(JSON['parse'](_0x24b123));if('error'in _0x44e9f1)throw new st(_0x44e9f1['error']['content'],_0x44e9f1['error']['errorCode'],_0x339814,_0x44e9f1,_0x2cd600);return _0x44e9f1;}),{'retryThrottledRequestMaxTimes':_0x33acb3,'retryNetworkErrorMaxTimes':_0x3bc572});}function _0x1475d9(_0x2a0c62,{publicKey:_0x4f34af,contentType:t,fileName:_0x3b5fd8,multipartChunkSize:_0x24ddb4=_0x580b39['multipartChunkSize'],baseURL:_0x54b661='',secureSignature:_0x33bf22,secureExpire:_0x6d76dc,store:_0x2c0532,signal:_0x2308fa,source:_0x543e20='local',integration:_0x54005b,userAgent:_0x5a50e2,retryThrottledRequestMaxTimes:_0x25e510=_0x580b39['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x4a4360=_0x580b39['retryNetworkErrorMaxTimes'],metadata:_0x1c2ca5}){return _0x4aaf9e(()=>_0x4d04b0({'method':'POST','url':Gt(_0x54b661,'/multipart/start/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':_0x3d3fbb({'publicKey':_0x4f34af,'integration':_0x54005b,'userAgent':_0x5a50e2})},'data':_0x7f007d({'filename':_0x3b5fd8,'size':_0x2a0c62,'content_type':t||_0xd89a6,'part_size':_0x24ddb4,'UPLOADCARE_STORE':_0x2f505c(_0x2c0532),'UPLOADCARE_PUB_KEY':_0x4f34af,'signature':_0x33bf22,'expire':_0x6d76dc,'source':_0x543e20,'metadata':_0x1c2ca5}),'signal':_0x2308fa})['then'](({data:_0x3f1848,headers:_0x1574ae,request:_0x1bb6cb})=>{let _0x43dbb6=qt(JSON['parse'](_0x3f1848));if('error'in _0x43dbb6)throw new st(_0x43dbb6['error']['content'],_0x43dbb6['error']['errorCode'],_0x1bb6cb,_0x43dbb6,_0x1574ae);return _0x43dbb6['parts']=Object['keys'](_0x43dbb6['parts'])['map'](_0x50f9f6=>_0x43dbb6['parts'][Number(_0x50f9f6)]),_0x43dbb6;}),{'retryThrottledRequestMaxTimes':_0x25e510,'retryNetworkErrorMaxTimes':_0x4a4360});}function _0xc848b3(_0x26a303,_0x1b2f57,{contentType:t,signal:_0x284a6a,onProgress:_0x80b51c,retryThrottledRequestMaxTimes:_0x573c30=_0x580b39['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x28b514=_0x580b39['retryNetworkErrorMaxTimes']}){return _0x4aaf9e(()=>_0x4d04b0({'method':'PUT','url':_0x1b2f57,'data':_0x26a303,'onProgress':_0x80b51c,'signal':_0x284a6a,'headers':{'Content-Type':t||_0xd89a6}})['then'](_0x475359=>(_0x80b51c&&_0x80b51c({'isComputable':!0x0,'value':0x1}),_0x475359))['then'](({status:_0x18e267})=>({'code':_0x18e267})),{'retryThrottledRequestMaxTimes':_0x573c30,'retryNetworkErrorMaxTimes':_0x28b514});}function _0x53e7f4(_0x711daa,{publicKey:_0x340d9,baseURL:t=_0x580b39['baseURL'],source:_0x1cb648='local',signal:_0x148a24,integration:_0x2bea1c,userAgent:_0x571617,retryThrottledRequestMaxTimes:_0x25c323=_0x580b39['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x1bbf24=_0x580b39['retryNetworkErrorMaxTimes']}){return _0x4aaf9e(()=>_0x4d04b0({'method':'POST','url':Gt(t,'/multipart/complete/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':_0x3d3fbb({'publicKey':_0x340d9,'integration':_0x2bea1c,'userAgent':_0x571617})},'data':_0x7f007d({'uuid':_0x711daa,'UPLOADCARE_PUB_KEY':_0x340d9,'source':_0x1cb648}),'signal':_0x148a24})['then'](({data:_0x1853ed,headers:_0x62a149,request:_0x55cefc})=>{let _0x46c03c=qt(JSON['parse'](_0x1853ed));if('error'in _0x46c03c)throw new st(_0x46c03c['error']['content'],_0x46c03c['error']['errorCode'],_0x55cefc,_0x46c03c,_0x62a149);return _0x46c03c;}),{'retryThrottledRequestMaxTimes':_0x25c323,'retryNetworkErrorMaxTimes':_0x1bbf24});}function _0x4e4362(_0x3d817f,{publicKey:_0x29e02e,baseURL:t,source:_0x4f70dc,integration:_0x19a8b6,userAgent:_0x38ebae,retryThrottledRequestMaxTimes:_0x5ce6be,retryNetworkErrorMaxTimes:_0x31a992,signal:_0x2b2fcb,onProgress:_0x479c90}){return _0x423bbd({'check':_0x27069a=>_0x715270(_0x3d817f,{'publicKey':_0x29e02e,'baseURL':t,'signal':_0x27069a,'source':_0x4f70dc,'integration':_0x19a8b6,'userAgent':_0x38ebae,'retryThrottledRequestMaxTimes':_0x5ce6be,'retryNetworkErrorMaxTimes':_0x31a992})['then'](_0x555ad7=>_0x555ad7['isReady']?_0x555ad7:(_0x479c90&&_0x479c90({'isComputable':!0x0,'value':0x1}),!0x1)),'signal':_0x2b2fcb});}function _0x2ad93a(_0x48423f){return'defaultEffects'in _0x48423f;}var _0xbeef87=class{['uuid'];['name'];['size'];['isStored'];['isImage'];['mimeType'];['cdnUrl'];['s3Url'];['originalFilename'];['imageInfo'];['videoInfo'];['contentInfo'];['metadata'];['s3Bucket'];['defaultEffects']=null;constructor(_0x5d2f44,{baseCDN:t=_0x580b39['baseCDN'],fileName:_0x5e00c1}={}){let {uuid:_0x5dfbad,s3Bucket:_0x3580ec}=_0x5d2f44,_0x3f4649=Gt(t,_0x5dfbad+'/'),_0x8eca06=_0x3580ec?Gt('https://'+_0x3580ec+'.s3.amazonaws.com/',_0x5dfbad+'/'+_0x5d2f44['filename']):null;this['uuid']=_0x5dfbad,this['name']=_0x5e00c1||_0x5d2f44['filename'],this['size']=_0x5d2f44['size'],this['isStored']=_0x5d2f44['isStored'],this['isImage']=_0x5d2f44['isImage'],this['mimeType']=_0x5d2f44['mimeType'],this['cdnUrl']=_0x3f4649,this['originalFilename']=_0x5d2f44['originalFilename'],this['imageInfo']=_0x5d2f44['imageInfo'],this['videoInfo']=_0x5d2f44['videoInfo'],this['contentInfo']=_0x5d2f44['contentInfo'],this['metadata']=_0x5d2f44['metadata']||null,this['s3Bucket']=_0x3580ec||null,this['s3Url']=_0x8eca06,_0x2ad93a(_0x5d2f44)&&(this['defaultEffects']=_0x5d2f44['defaultEffects']);}},_0x586f98=(_0x585448,{publicKey:_0x4ff23c,fileName:t,baseURL:_0x4bb8d1,secureSignature:_0x993ab8,secureExpire:_0x58e1e6,store:_0x1a462b,contentType:_0x3b4855,signal:_0x13ea8c,onProgress:_0x5202bd,source:_0x3d325b,integration:_0x2c3afe,userAgent:_0x59e671,retryThrottledRequestMaxTimes:_0x2f36ac,retryNetworkErrorMaxTimes:_0x22c5f2,baseCDN:_0x94435a,metadata:_0x589beb})=>_0x4e609d(_0x585448,{'publicKey':_0x4ff23c,'fileName':t,'contentType':_0x3b4855,'baseURL':_0x4bb8d1,'secureSignature':_0x993ab8,'secureExpire':_0x58e1e6,'store':_0x1a462b,'signal':_0x13ea8c,'onProgress':_0x5202bd,'source':_0x3d325b,'integration':_0x2c3afe,'userAgent':_0x59e671,'retryThrottledRequestMaxTimes':_0x2f36ac,'retryNetworkErrorMaxTimes':_0x22c5f2,'metadata':_0x589beb})['then'](({file:_0x283872})=>_0x4e4362(_0x283872,{'publicKey':_0x4ff23c,'baseURL':_0x4bb8d1,'source':_0x3d325b,'integration':_0x2c3afe,'userAgent':_0x59e671,'retryThrottledRequestMaxTimes':_0x2f36ac,'retryNetworkErrorMaxTimes':_0x22c5f2,'onProgress':_0x5202bd,'signal':_0x13ea8c}))['then'](_0x4b1131=>new _0xbeef87(_0x4b1131,{'baseCDN':_0x94435a})),_0x38ac58=(_0x595599,{publicKey:_0x2c9aea,fileName:t,baseURL:_0x501ae1,signal:_0x1712ee,onProgress:_0x426050,source:_0x4b0d71,integration:_0x32e63f,userAgent:_0x516ae4,retryThrottledRequestMaxTimes:_0x2f5ab1,retryNetworkErrorMaxTimes:_0x77743e,baseCDN:_0x4b5d74})=>_0x715270(_0x595599,{'publicKey':_0x2c9aea,'baseURL':_0x501ae1,'signal':_0x1712ee,'source':_0x4b0d71,'integration':_0x32e63f,'userAgent':_0x516ae4,'retryThrottledRequestMaxTimes':_0x2f5ab1,'retryNetworkErrorMaxTimes':_0x77743e})['then'](_0x401c6d=>new _0xbeef87(_0x401c6d,{'baseCDN':_0x4b5d74,'fileName':t}))['then'](_0x114427=>(_0x426050&&_0x426050({'isComputable':!0x0,'value':0x1}),_0x114427)),_0x13dbb6=(_0x48fe77,{signal:_0x50ce5c}={})=>{let t=null,_0x5add2a=null,_0x205dee=_0x48fe77['map'](()=>new AbortController());return _0x20ceae(_0x50ce5c,()=>{_0x205dee['forEach'](_0x4d8025=>_0x4d8025['abort']());}),Promise['all'](_0x48fe77['map']((_0x1fac75,_0x13a69c)=>{let _0x32c9a=(_0xa4c9df=>()=>{_0x5add2a=_0xa4c9df,_0x205dee['forEach']((_0x185c3e,_0x436d8d)=>_0x436d8d!==_0xa4c9df&&_0x185c3e['abort']());})(_0x13a69c);return Promise['resolve']()['then'](()=>_0x1fac75({'stopRace':_0x32c9a,'signal':_0x205dee[_0x13a69c]['signal']}))['then'](_0x1b0bd5=>(_0x32c9a(),_0x1b0bd5))['catch'](_0x5066f2=>(t=_0x5066f2,null));}))['then'](_0x3d4fab=>{if(null===_0x5add2a)throw t;return _0x3d4fab[_0x5add2a];});},_0x49590f=window['WebSocket'],_0x3b9b0d=class{['events']=Object['create']({});['emit'](_0x307574,t){this['events'][_0x307574]?.['forEach'](_0xa719c4=>_0xa719c4(t));}['on'](_0x6e180a,t){this['events'][_0x6e180a]=this['events'][_0x6e180a]||[],this['events'][_0x6e180a]['push'](t);}['off'](_0x34832e,t){this['events'][_0x34832e]=t?this['events'][_0x34832e]['filter'](_0x46b2f6=>_0x46b2f6!==t):[];}},_0x3ebb24=(_0x475a07,_0x543d16)=>'success'===_0x475a07?{'status':ct['Success'],..._0x543d16}:'progress'===_0x475a07?{'status':ct['Progress'],..._0x543d16}:{'status':ct['Error'],..._0x543d16},_0x64c1a6=class{['key'];['disconnectTime'];['ws']=void 0x0;['queue']=[];['isConnected']=!0x1;['subscribers']=0x0;['emmitter']=new _0x3b9b0d();['disconnectTimeoutId']=null;constructor(_0x4d61d8,t=0x7530){this['key']=_0x4d61d8,this['disconnectTime']=t;}['connect'](){if(this['disconnectTimeoutId']&&clearTimeout(this['disconnectTimeoutId']),!this['isConnected']&&!this['ws']){let _0x28c423='wss://ws.pusherapp.com/app/'+this['key']+'?protocol=5&client=js&version=1.12.2';this['ws']=new _0x49590f(_0x28c423),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 _0x316ad7=JSON['parse'](t['data']['toString']());switch(_0x316ad7['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'](_0x316ad7['channel'],_0x3ebb24(_0x316ad7['event'],JSON['parse'](_0x316ad7['data'])));}});}}['disconnect'](){let _0x245670=()=>{this['ws']?.['close'](),this['ws']=void 0x0,this['isConnected']=!0x1;};this['disconnectTime']?this['disconnectTimeoutId']=setTimeout(()=>{_0x245670();},this['disconnectTime']):_0x245670();}['send'](_0x5c80be,t){let _0x4a530b=JSON['stringify']({'event':_0x5c80be,'data':t});this['ws']?.['send'](_0x4a530b);}['subscribe'](_0x3e1380,t){this['subscribers']+=0x1,this['connect']();let _0x4b9a53='task-status-'+_0x3e1380,_0xfa6377={'event':'pusher:subscribe','data':{'channel':_0x4b9a53}};this['emmitter']['on'](_0x4b9a53,t),this['isConnected']?this['send'](_0xfa6377['event'],_0xfa6377['data']):this['queue']['push'](_0xfa6377);}['unsubscribe'](_0x1c2a5b){this['subscribers']-=0x1;let t='task-status-'+_0x1c2a5b,_0x294195={'event':'pusher:unsubscribe','data':{'channel':t}};this['emmitter']['off'](t),this['isConnected']?this['send'](_0x294195['event'],_0x294195['data']):this['queue']=this['queue']['filter'](_0xc8d78e=>_0xc8d78e['data']['channel']!==t),0x0===this['subscribers']&&this['disconnect']();}['onError'](_0x2e9ada){return this['emmitter']['on']('error',_0x2e9ada),()=>this['emmitter']['off']('error',_0x2e9ada);}},_0x19906e=null,_0x25c7b9=_0x10146d=>{if(!_0x19906e){let _0x2fbb6a=typeof window>'u'?0x0:0x7530;_0x19906e=new _0x64c1a6(_0x10146d,_0x2fbb6a);}return _0x19906e;},_0x4efe98=_0x264fd7=>{_0x25c7b9(_0x264fd7)['connect']();};function _0x2683f7({token:_0x2159be,publicKey:_0x4dc4ca,baseURL:t,integration:_0x527bab,userAgent:_0x301982,retryThrottledRequestMaxTimes:_0x530732,retryNetworkErrorMaxTimes:_0x2eb970,onProgress:_0x29944b,signal:_0x3dc3ba}){return _0x423bbd({'check':_0x2fca06=>_0x527216(_0x2159be,{'publicKey':_0x4dc4ca,'baseURL':t,'integration':_0x527bab,'userAgent':_0x301982,'retryThrottledRequestMaxTimes':_0x530732,'retryNetworkErrorMaxTimes':_0x2eb970,'signal':_0x2fca06})['then'](_0x2f6132=>{switch(_0x2f6132['status']){case ct['Error']:return new st(_0x2f6132['error'],_0x2f6132['errorCode']);case ct['Waiting']:return!0x1;case ct['Unknown']:return new st('Token\x20\x22'+_0x2159be+'\x22\x20was\x20not\x20found.');case ct['Progress']:return _0x29944b&&('unknown'===_0x2f6132['total']?_0x29944b({'isComputable':!0x1}):_0x29944b({'isComputable':!0x0,'value':_0x2f6132['done']/_0x2f6132['total']})),!0x1;case ct['Success']:return _0x29944b&&_0x29944b({'isComputable':!0x0,'value':_0x2f6132['done']/_0x2f6132['total']}),_0x2f6132;default:throw new Error('Unknown\x20status');}}),'signal':_0x3dc3ba});}var _0x4c3951=({token:_0x75cac2,pusherKey:_0x1adfee,signal:t,onProgress:_0xe6464b})=>new Promise((_0x5c2fa5,_0x3e4739)=>{let _0x524a9d=_0x25c7b9(_0x1adfee),_0x5f1910=_0x524a9d['onError'](_0x3e4739),_0x3cffbb=()=>{_0x5f1910(),_0x524a9d['unsubscribe'](_0x75cac2);};_0x20ceae(t,()=>{_0x3cffbb(),_0x3e4739(new _0x46e264('pusher\x20cancelled'));}),_0x524a9d['subscribe'](_0x75cac2,_0x39da1f=>{switch(_0x39da1f['status']){case ct['Progress']:_0xe6464b&&('unknown'===_0x39da1f['total']?_0xe6464b({'isComputable':!0x1}):_0xe6464b({'isComputable':!0x0,'value':_0x39da1f['done']/_0x39da1f['total']}));break;case ct['Success']:_0x3cffbb(),_0xe6464b&&_0xe6464b({'isComputable':!0x0,'value':_0x39da1f['done']/_0x39da1f['total']}),_0x5c2fa5(_0x39da1f);break;case ct['Error']:_0x3cffbb(),_0x3e4739(new st(_0x39da1f['msg'],_0x39da1f['error_code']));}});}),_0x36b29c=(_0x95a470,{publicKey:_0x4e1e96,fileName:t,baseURL:_0x349f43,baseCDN:_0xebd245,checkForUrlDuplicates:_0x4a52e7,saveUrlForRecurrentUploads:_0x4e02a2,secureSignature:_0x317e69,secureExpire:_0x421303,store:_0x4aa70b,signal:_0x52e2db,onProgress:_0x3e7cd0,source:_0x5042ed,integration:_0x3f583f,userAgent:_0x2422a9,retryThrottledRequestMaxTimes:_0x179c6a,pusherKey:_0x391528=_0x580b39['pusherKey'],metadata:_0x553a92})=>Promise['resolve'](_0x4efe98(_0x391528))['then'](()=>_0x4df7ed(_0x95a470,{'publicKey':_0x4e1e96,'fileName':t,'baseURL':_0x349f43,'checkForUrlDuplicates':_0x4a52e7,'saveUrlForRecurrentUploads':_0x4e02a2,'secureSignature':_0x317e69,'secureExpire':_0x421303,'store':_0x4aa70b,'signal':_0x52e2db,'source':_0x5042ed,'integration':_0x3f583f,'userAgent':_0x2422a9,'retryThrottledRequestMaxTimes':_0x179c6a,'metadata':_0x553a92}))['catch'](_0x215ad1=>(_0x25c7b9(_0x391528)?.['disconnect'](),Promise['reject'](_0x215ad1)))['then'](_0x527c8b=>_0x527c8b['type']===_0x539089['FileInfo']?_0x527c8b:_0x13dbb6([({signal:_0x1cb624})=>_0x2683f7({'token':_0x527c8b['token'],'publicKey':_0x4e1e96,'baseURL':_0x349f43,'integration':_0x3f583f,'userAgent':_0x2422a9,'retryThrottledRequestMaxTimes':_0x179c6a,'onProgress':_0x3e7cd0,'signal':_0x1cb624}),({signal:_0x239817})=>_0x4c3951({'token':_0x527c8b['token'],'pusherKey':_0x391528,'signal':_0x239817,'onProgress':_0x3e7cd0})],{'signal':_0x52e2db}))['then'](_0x3df1e8=>{if(_0x3df1e8 instanceof st)throw _0x3df1e8;return _0x3df1e8;})['then'](_0x2b93fc=>_0x4e4362(_0x2b93fc['uuid'],{'publicKey':_0x4e1e96,'baseURL':_0x349f43,'integration':_0x3f583f,'userAgent':_0x2422a9,'retryThrottledRequestMaxTimes':_0x179c6a,'onProgress':_0x3e7cd0,'signal':_0x52e2db}))['then'](_0x332da4=>new _0xbeef87(_0x332da4,{'baseCDN':_0xebd245})),_0xe01e0b=new WeakMap(),_0x58ec00=async _0x4907f1=>{if(_0xe01e0b['has'](_0x4907f1))return _0xe01e0b['get'](_0x4907f1);let _0x4f8d92=await fetch(_0x4907f1['uri'])['then'](t=>t['blob']());return _0xe01e0b['set'](_0x4907f1,_0x4f8d92),_0x4f8d92;},_0x25eff2=async _0x3a7984=>{if(_0x2ae2f4(_0x3a7984)||_0x1770f4(_0x3a7984))return _0x3a7984['size'];if(_0x5a504f(_0x3a7984))return(await _0x58ec00(_0x3a7984))['size'];throw new Error('Unknown\x20file\x20type.\x20Cannot\x20determine\x20file\x20size.');},_0x29281a=(_0x3923b1,_0x2d9df2=_0x580b39['multipartMinFileSize'])=>_0x3923b1>=_0x2d9df2,_0x4cc4ba=_0x1cf7c3=>{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!_0x12a45b(_0x1cf7c3)&&t['test'](_0x1cf7c3);},_0x42712e=_0x4bd024=>{let t=new RegExp('^(?:\x5cw+:)?\x5c/\x5c/([^\x5cs\x5c.]+\x5c.\x5cS{2}|localhost[\x5c:?\x5cd]*)\x5cS*$');return!_0x12a45b(_0x4bd024)&&t['test'](_0x4bd024);},_0xf44cd3=(_0x49c945,_0x6adb5d)=>new Promise((t,_0x444e52)=>{let _0x38052f=[],_0x299af9=!0x1,_0x2c6a7f=_0x6adb5d['length'],_0x1995bc=[..._0x6adb5d],_0xfcb3cf=()=>{let _0x3f8f43=_0x6adb5d['length']-_0x1995bc['length'],_0x3559f2=_0x1995bc['shift']();_0x3559f2&&_0x3559f2()['then'](_0x164dcd=>{_0x299af9||(_0x38052f[_0x3f8f43]=_0x164dcd,_0x2c6a7f-=0x1,_0x2c6a7f?_0xfcb3cf():t(_0x38052f));})['catch'](_0x2d1ac2=>{_0x299af9=!0x0,_0x444e52(_0x2d1ac2);});};for(let _0x22498d=0x0;_0x22498d<_0x49c945;_0x22498d++)_0xfcb3cf();}),_0x4e3b6e=(_0x295849,_0x17c3e0,t,_0x1936a0)=>{let _0x29670c=_0x1936a0*_0x17c3e0,_0x39de0a=Math['min'](_0x29670c+_0x1936a0,t);return _0x295849['slice'](_0x29670c,_0x39de0a);},_0x49c97d=async(_0x409b45,_0x566dfc,t)=>_0x52db99=>_0x4e3b6e(_0x409b45,_0x52db99,_0x566dfc,t),_0x5d160a=(_0x5676ac,_0x48b91d,{publicKey:t,contentType:_0x1370a8,onProgress:_0x403350,signal:_0x346091,integration:_0x10b973,retryThrottledRequestMaxTimes:_0x1ace5a,retryNetworkErrorMaxTimes:_0x447d37})=>_0xc848b3(_0x5676ac,_0x48b91d,{'contentType':_0x1370a8,'onProgress':_0x403350,'signal':_0x346091,'retryThrottledRequestMaxTimes':_0x1ace5a,'retryNetworkErrorMaxTimes':_0x447d37}),_0x592d80=async(_0x96ccc2,{publicKey:_0x5e037f,fileName:t,fileSize:_0x167f0f,baseURL:_0x5a1f62,secureSignature:_0x5044fc,secureExpire:_0x47195a,store:_0x6f961,signal:_0x2c8818,onProgress:_0x169464,source:_0x51f0bf,integration:_0x4417fd,userAgent:_0xdd256,retryThrottledRequestMaxTimes:_0x1f66cc,retryNetworkErrorMaxTimes:_0x112d37,contentType:_0x48e5da,multipartChunkSize:_0x1f42da=_0x580b39['multipartChunkSize'],maxConcurrentRequests:_0x11a3ae=_0x580b39['maxConcurrentRequests'],baseCDN:_0x5810a4,metadata:_0x5baa07})=>{let _0x4c9087,_0x1aa9c3=_0x167f0f??await _0x25eff2(_0x96ccc2),_0x5f0f19=(_0x211f54,_0x4fb1a9)=>{if(!_0x169464)return;_0x4c9087||(_0x4c9087=Array(_0x211f54)['fill'](0x0));let _0x39fb91=_0x510d43=>_0x510d43['reduce']((_0xc35912,_0x5d5dae)=>_0xc35912+_0x5d5dae,0x0);return _0x5324a7=>{_0x5324a7['isComputable']&&(_0x4c9087[_0x4fb1a9]=_0x5324a7['value'],_0x169464({'isComputable':!0x0,'value':_0x39fb91(_0x4c9087)/_0x211f54}));};};return _0x48e5da||=_0x29ebff(_0x96ccc2),_0x1475d9(_0x1aa9c3,{'publicKey':_0x5e037f,'contentType':_0x48e5da,'fileName':t||_0x3aa20e(_0x96ccc2),'baseURL':_0x5a1f62,'secureSignature':_0x5044fc,'secureExpire':_0x47195a,'store':_0x6f961,'signal':_0x2c8818,'source':_0x51f0bf,'integration':_0x4417fd,'userAgent':_0xdd256,'retryThrottledRequestMaxTimes':_0x1f66cc,'retryNetworkErrorMaxTimes':_0x112d37,'metadata':_0x5baa07,'multipartChunkSize':_0x1f42da})['then'](async({uuid:_0x2bfbe3,parts:_0x4ba10c})=>{let _0x41cdec=await _0x49c97d(_0x96ccc2,_0x1aa9c3,_0x1f42da);return Promise['all']([_0x2bfbe3,_0xf44cd3(_0x11a3ae,_0x4ba10c['map']((_0x2910e8,_0x4efc21)=>()=>_0x5d160a(_0x41cdec(_0x4efc21),_0x2910e8,{'publicKey':_0x5e037f,'contentType':_0x48e5da,'onProgress':_0x5f0f19(_0x4ba10c['length'],_0x4efc21),'signal':_0x2c8818,'integration':_0x4417fd,'retryThrottledRequestMaxTimes':_0x1f66cc,'retryNetworkErrorMaxTimes':_0x112d37})))]);})['then'](([_0x2ac0c6])=>_0x53e7f4(_0x2ac0c6,{'publicKey':_0x5e037f,'baseURL':_0x5a1f62,'source':_0x51f0bf,'integration':_0x4417fd,'userAgent':_0xdd256,'retryThrottledRequestMaxTimes':_0x1f66cc,'retryNetworkErrorMaxTimes':_0x112d37}))['then'](_0x1ff89a=>_0x1ff89a['isReady']?_0x1ff89a:_0x4e4362(_0x1ff89a['uuid'],{'publicKey':_0x5e037f,'baseURL':_0x5a1f62,'source':_0x51f0bf,'integration':_0x4417fd,'userAgent':_0xdd256,'retryThrottledRequestMaxTimes':_0x1f66cc,'retryNetworkErrorMaxTimes':_0x112d37,'onProgress':_0x169464,'signal':_0x2c8818}))['then'](_0x4cacd7=>new _0xbeef87(_0x4cacd7,{'baseCDN':_0x5810a4}));};async function _0x3179e9(_0x3eaeb5,{publicKey:_0x452498,fileName:t,baseURL:_0x5d72ec=_0x580b39['baseURL'],secureSignature:_0x5ab99a,secureExpire:_0x36941f,store:_0x20f283,signal:_0x17d4c8,onProgress:_0x57b643,source:_0x5c8e22,integration:_0x1af832,userAgent:_0x4f2513,retryThrottledRequestMaxTimes:_0x11dc9a,retryNetworkErrorMaxTimes:_0x52f512,contentType:_0x2ae866,multipartMinFileSize:_0x105afd,multipartChunkSize:_0x2a251a,maxConcurrentRequests:_0x14bae2,baseCDN:_0x3bd588=_0x580b39['baseCDN'],checkForUrlDuplicates:_0x9f5ec7,saveUrlForRecurrentUploads:_0xf64ba8,pusherKey:_0x320890,metadata:_0x148a56}){if(_0x12a45b(_0x3eaeb5)){let _0x8efb09=await _0x25eff2(_0x3eaeb5);return _0x29281a(_0x8efb09,_0x105afd)?_0x592d80(_0x3eaeb5,{'publicKey':_0x452498,'contentType':_0x2ae866,'multipartChunkSize':_0x2a251a,'fileSize':_0x8efb09,'fileName':t,'baseURL':_0x5d72ec,'secureSignature':_0x5ab99a,'secureExpire':_0x36941f,'store':_0x20f283,'signal':_0x17d4c8,'onProgress':_0x57b643,'source':_0x5c8e22,'integration':_0x1af832,'userAgent':_0x4f2513,'maxConcurrentRequests':_0x14bae2,'retryThrottledRequestMaxTimes':_0x11dc9a,'retryNetworkErrorMaxTimes':_0x52f512,'baseCDN':_0x3bd588,'metadata':_0x148a56}):_0x586f98(_0x3eaeb5,{'publicKey':_0x452498,'fileName':t,'contentType':_0x2ae866,'baseURL':_0x5d72ec,'secureSignature':_0x5ab99a,'secureExpire':_0x36941f,'store':_0x20f283,'signal':_0x17d4c8,'onProgress':_0x57b643,'source':_0x5c8e22,'integration':_0x1af832,'userAgent':_0x4f2513,'retryThrottledRequestMaxTimes':_0x11dc9a,'retryNetworkErrorMaxTimes':_0x52f512,'baseCDN':_0x3bd588,'metadata':_0x148a56});}if(_0x42712e(_0x3eaeb5))return _0x36b29c(_0x3eaeb5,{'publicKey':_0x452498,'fileName':t,'baseURL':_0x5d72ec,'baseCDN':_0x3bd588,'checkForUrlDuplicates':_0x9f5ec7,'saveUrlForRecurrentUploads':_0xf64ba8,'secureSignature':_0x5ab99a,'secureExpire':_0x36941f,'store':_0x20f283,'signal':_0x17d4c8,'onProgress':_0x57b643,'source':_0x5c8e22,'integration':_0x1af832,'userAgent':_0x4f2513,'retryThrottledRequestMaxTimes':_0x11dc9a,'pusherKey':_0x320890,'metadata':_0x148a56});if(_0x4cc4ba(_0x3eaeb5))return _0x38ac58(_0x3eaeb5,{'publicKey':_0x452498,'fileName':t,'baseURL':_0x5d72ec,'signal':_0x17d4c8,'onProgress':_0x57b643,'source':_0x5c8e22,'integration':_0x1af832,'userAgent':_0x4f2513,'retryThrottledRequestMaxTimes':_0x11dc9a,'retryNetworkErrorMaxTimes':_0x52f512,'baseCDN':_0x3bd588});throw new TypeError('File\x20uploading\x20from\x20\x22'+_0x3eaeb5+'\x22\x20is\x20not\x20supported');}var tu=(_0x3f7966,_0x16fa3d)=>{try{let t=new URL(_0x3f7966),_0x31e821=new URL(_0x16fa3d);return t['protocol']=_0x31e821['protocol'],t['hostname']=_0x31e821['hostname'],t['port']=_0x31e821['port'],t['toString']();}catch{return _0x3f7966;}},_0x78aae7=class{['uuid'];['filesCount'];['totalSize'];['isStored'];['isImage'];['cdnUrl'];['files'];['createdAt'];['storedAt']=null;constructor(_0x1a841c,{baseCDN:t=_0x580b39['baseCDN']}={}){this['uuid']=_0x1a841c['id'],this['filesCount']=_0x1a841c['filesCount'];let _0x412e72=_0x1a841c['files']['filter'](Boolean);this['totalSize']=Object['values'](_0x412e72)['reduce']((_0x407fc9,_0x3adb8a)=>_0x407fc9+_0x3adb8a['size'],0x0),this['isStored']=!!_0x1a841c['datetimeStored'],this['isImage']=!!Object['values'](_0x412e72)['filter'](_0x42c64c=>_0x42c64c['isImage'])['length'],this['cdnUrl']=tu(_0x1a841c['cdnUrl'],t),this['files']=_0x412e72['map'](_0x501d65=>new _0xbeef87(_0x501d65,{'baseCDN':t})),this['createdAt']=_0x1a841c['datetimeCreated'],this['storedAt']=_0x1a841c['datetimeStored'];}},_0x469a97=_0x595279=>{for(let _0x2222d8 of _0x595279)if(!_0x12a45b(_0x2222d8))return!0x1;return!0x0;},_0x2082b2=_0x15198c=>{for(let _0x576679 of _0x15198c)if(!_0x4cc4ba(_0x576679))return!0x1;return!0x0;},_0x5903ee=_0x2d73c8=>{for(let _0x49dc98 of _0x2d73c8)if(!_0x42712e(_0x49dc98))return!0x1;return!0x0;};function _0x3bb54a(_0x2b4a02,{publicKey:_0x4a5550,fileName:t,baseURL:_0x5d7ede=_0x580b39['baseURL'],secureSignature:_0x26a914,secureExpire:_0x234b63,store:_0x4a57ee,signal:_0x5927fb,onProgress:_0x86aaa1,source:_0x53170b,integration:_0x1a7ccb,userAgent:_0x2d77ce,retryThrottledRequestMaxTimes:_0x1027a1,retryNetworkErrorMaxTimes:_0x24d6c0,contentType:_0x5d372d,multipartChunkSize:_0x13936b=_0x580b39['multipartChunkSize'],baseCDN:_0x5e6bea=_0x580b39['baseCDN'],checkForUrlDuplicates:_0x3abbf9,saveUrlForRecurrentUploads:_0x4636ce,jsonpCallback:_0x197aed}){if(!_0x469a97(_0x2b4a02)&&!_0x5903ee(_0x2b4a02)&&!_0x2082b2(_0x2b4a02))throw new TypeError('Group\x20uploading\x20from\x20\x22'+_0x2b4a02+'\x22\x20is\x20not\x20supported');let _0x191167,_0x34fcce=!0x0,_0x38dd62=_0x2b4a02['length'],_0x3613f1=(_0x57ba79,_0x214e95)=>{if(!_0x86aaa1)return;_0x191167||(_0x191167=Array(_0x57ba79)['fill'](0x0));let _0x325b6f=_0x2df8d1=>_0x2df8d1['reduce']((_0x10a3f4,_0x337fdb)=>_0x10a3f4+_0x337fdb)/_0x57ba79;return _0x4ce396=>{if(!_0x4ce396['isComputable']||!_0x34fcce)return _0x34fcce=!0x1,void _0x86aaa1({'isComputable':!0x1});_0x191167[_0x214e95]=_0x4ce396['value'],_0x86aaa1({'isComputable':!0x0,'value':_0x325b6f(_0x191167)});};};return Promise['all'](_0x2b4a02['map']((_0x1ba69,_0x49fe65)=>_0x12a45b(_0x1ba69)||_0x42712e(_0x1ba69)?_0x3179e9(_0x1ba69,{'publicKey':_0x4a5550,'fileName':t,'baseURL':_0x5d7ede,'secureSignature':_0x26a914,'secureExpire':_0x234b63,'store':_0x4a57ee,'signal':_0x5927fb,'onProgress':_0x3613f1(_0x38dd62,_0x49fe65),'source':_0x53170b,'integration':_0x1a7ccb,'userAgent':_0x2d77ce,'retryThrottledRequestMaxTimes':_0x1027a1,'retryNetworkErrorMaxTimes':_0x24d6c0,'contentType':_0x5d372d,'multipartChunkSize':_0x13936b,'baseCDN':_0x5e6bea,'checkForUrlDuplicates':_0x3abbf9,'saveUrlForRecurrentUploads':_0x4636ce})['then'](_0x86f44d=>_0x86f44d['uuid']):_0x1ba69))['then'](_0x1f1fc6=>_0x266bf4(_0x1f1fc6,{'publicKey':_0x4a5550,'baseURL':_0x5d7ede,'jsonpCallback':_0x197aed,'secureSignature':_0x26a914,'secureExpire':_0x234b63,'signal':_0x5927fb,'source':_0x53170b,'integration':_0x1a7ccb,'userAgent':_0x2d77ce,'retryThrottledRequestMaxTimes':_0x1027a1,'retryNetworkErrorMaxTimes':_0x24d6c0})['then'](_0x4a199e=>new _0x78aae7(_0x4a199e,{'baseCDN':_0x5e6bea}))['then'](_0x11ed73=>(_0x86aaa1&&_0x86aaa1({'isComputable':!0x0,'value':0x1}),_0x11ed73)));}var _0x4d209d=class{['Vi']=0x1;['io']=[];['_i']=0x0;['ro']=new Map();['oo']=new Map();constructor(_0xcc5bcf){this['Vi']=_0xcc5bcf;}['run'](){let _0x4aceca=this['Vi']-this['_i'];for(let t=0x0;t<_0x4aceca;t++){let _0x557e59=this['io']['shift']();if(!_0x557e59)return;let _0x1733e4=this['ro']['get'](_0x557e59),_0x1c8f6b=this['oo']['get'](_0x557e59);if(!_0x1733e4||!_0x1c8f6b)throw new Error('Unexpected\x20behavior:\x20resolver\x20or\x20rejector\x20is\x20undefined');this['_i']+=0x1,_0x557e59()['finally'](()=>{this['ro']['delete'](_0x557e59),this['oo']['delete'](_0x557e59),this['_i']-=0x1,this['run']();})['then'](_0x15a8b1=>_0x1733e4(_0x15a8b1))['catch'](_0x31d7c0=>_0x1c8f6b(_0x31d7c0));}}['add'](_0x349260,{autoRun:t}={'autoRun':!0x0}){return new Promise((_0x3fe7da,_0x1c4e90)=>{this['ro']['set'](_0x349260,_0x3fe7da),this['oo']['set'](_0x349260,_0x1c4e90),this['io']['push'](_0x349260),t&&this['run']();});}get['pending'](){return this['io']['length'];}get['running'](){return this['_i'];}set['concurrency'](_0x9edcc3){this['Vi']=_0x9edcc3,this['run']();}get['concurrency'](){return this['Vi'];}},_0x5b11d2=()=>({}),_0x2292fa=_0x477ae6=>({..._0x5b11d2(),'*currentActivity':null,'*currentActivityParams':{},'*history':[],'*historyBack':null,'*closeModal':()=>{_0x477ae6['modalManager']?.['close'](_0x477ae6['$']['*currentActivity']),_0x477ae6['pub']('*currentActivity',null);}}),_0x5ee7ca=_0x440f9f=>({..._0x2292fa(_0x440f9f),'*commonProgress':0x0,'*uploadList':[],'*uploadQueue':new _0x4d209d(0x1),'*collectionErrors':[],'*collectionState':null,'*groupInfo':null,'*uploadTrigger':new Set()}),_0x5c8ea3=_0xcf11f8=>({..._0x5ee7ca(_0xcf11f8),'*solution':null,'*lazyPlugins':null}),_0x59623d=Object['freeze']({'START_FROM':'start-from','CAMERA':'camera','UPLOAD_LIST':'upload-list','URL':'url','CLOUD_IMG_EDIT':'cloud-image-edit','EXTERNAL':'external'}),_0x197848=class extends _0x29af01{constructor(t){super(t),this['scopes']=new Set(),this['listener']=this['_c']['bind'](this),window['addEventListener']('paste',this['listener']);}['openUploadList'](){this['i']['api']['setCurrentActivity'](_0x59623d['UPLOAD_LIST']),this['i']['api']['setModalState'](!0x0);}async['_c'](t){if(t['clipboardData']){for(let _0x24d44a of this['scopes'])if(_0x24d44a['isConnected'])switch(this['ze']['pasteScope']){case'global':await this['handlePaste'](t);break;case'local':if(!_0x24d44a['contains'](t['target']))continue;await this['handlePaste'](t);break;default:continue;}}}async['handlePaste'](t){if(!t['clipboardData'])return;let _0x52da3b=Array['from'](t['clipboardData']['items']),_0x399bb8=_0x52da3b['map'](_0x161d69=>_0x161d69['getAsFile']())['filter'](_0x27e399=>null!==_0x27e399),_0x2a1bbf=_0x52da3b['filter'](_0x406065=>'string'===_0x406065['kind']&&'text/plain'===_0x406065['type'])['map'](_0x45cf02=>new Promise(_0x26b819=>{_0x45cf02['getAsString'](_0x19c98c=>{_0x26b819(_0x19c98c);});}));_0x399bb8['length']>0x0&&(_0x399bb8['forEach'](_0xc4558c=>{this['i']['api']['addFileFromObject'](_0xc4558c,{'source':'clipboard'});}),this['openUploadList']()),_0x2a1bbf['length']>0x0&&((await Promise['all'](_0x2a1bbf))['forEach'](_0x581550=>{this['i']['api']['addFileFromUrl'](_0x581550,{'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']();}},_0x58187f={'button':['toolbar'],'checkbox':['toolbar'],'menuitem':['menu','menubar'],'option':['listbox'],'tab':['tablist']};function _0x219779(_0x15498d,_0x2aa0d1){_0x2aa0d1['tabIndex']=0x0,_0x2aa0d1['focus'](),_0x15498d['tabIndex']=-0x1;}function _0x3e707b(_0x83465d){let _0x502fac=_0x83465d['role']||_0x83465d['type']||_0x83465d['tagName'];if(!_0x502fac)return null;let t=_0x58187f[_0x502fac['toLowerCase']()];if(!t)return null;for(let _0x411fb7 of t){let _0x43cbd2=_0x83465d['closest']('[role='+_0x411fb7+']');if(_0x43cbd2)return _0x43cbd2;}}function _0xbfddba(_0x1cb034,_0x42b2b2){return'toolbar'===_0x42b2b2['role']?_0x24ebc0(_0x42b2b2):_0x42b2b2['querySelectorAll']('[role='+_0x1cb034['role']+']');}function _0x2135a6(_0x490cb2,_0x571f64){return Array['from'](_0x490cb2)['filter'](t=>{let _0x5a2298=t['parentElement'];for(;_0x5a2298&&_0x5a2298!==_0x571f64;){if('true'===_0x5a2298['getAttribute']('aria-hidden'))return!0x1;_0x5a2298=_0x5a2298['parentElement'];}return!0x0;});}function _0x24ebc0(_0x4a92e7){return[..._0x4a92e7['querySelectorAll']('*')]['filter'](t=>'button'===t['role']||'button'===t['type']||'checkbox'===t['role']||'checkbox'===t['type']);}function _0x4e7290(_0x3549ff){let _0x1265fd=_0x3549ff['getAttribute']('aria-orientation');if('vertical'===_0x1265fd)return!0x1;if('horizontal'===_0x1265fd)return!0x0;let t=_0x3549ff['role'];return'menubar'===t||'tablist'===t||'toolbar'===t;}function _0x53e2bf(_0x36445e){return _0x5276b0=>{let t=!0x1,_0x1a8d90=0x0,_0x3a5409='';function _0x1b4e40(_0x492c80){let _0x308ef7=_0x3e707b(_0x492c80['target']);if(!_0x308ef7)return void _0x2353cf();let _0x20c1c5=_0xbfddba(_0x492c80['target'],_0x308ef7),_0x5da3ad=_0x2135a6(_0x20c1c5,_0x308ef7),_0x37676c=Array['from'](_0x5da3ad)['indexOf'](_0x492c80['target']),_0x1f9638='ArrowDown',_0x39a880='ArrowUp';if(_0x4e7290(_0x308ef7)&&('rtl'===_0x5276b0['document']['dir']?(_0x1f9638='ArrowLeft',_0x39a880='ArrowRight'):(_0x1f9638='ArrowRight',_0x39a880='ArrowLeft')),_0x492c80['key']===_0x1f9638)_0x492c80['preventDefault'](),_0x219779(_0x492c80['target'],_0x5da3ad[_0x37676c+0x1]||_0x5da3ad[0x0]);else{if(_0x492c80['key']===_0x39a880)_0x492c80['preventDefault'](),_0x219779(_0x492c80['target'],_0x5da3ad[_0x37676c-0x1]||_0x5da3ad[_0x5da3ad['length']-0x1]);else{if('Home'===_0x492c80['key'])_0x492c80['preventDefault'](),_0x219779(_0x492c80['target'],_0x5da3ad[0x0]);else{if('End'===_0x492c80['key'])_0x492c80['preventDefault'](),_0x219779(_0x492c80['target'],_0x5da3ad[_0x5da3ad['length']-0x1]);else{if(0x1===_0x492c80['key']['length']&&'tablist'!==_0x308ef7['role']){_0x492c80['timeStamp']-_0x1a8d90<=0x12c?_0x3a5409+=_0x492c80['key']['toLowerCase']():_0x3a5409=_0x492c80['key']['toLowerCase'](),_0x1a8d90=_0x492c80['timeStamp'];let _0x549d6d=Array['from'](_0x20c1c5)['find'](_0x3e34cf=>_0x3e34cf['textContent']?.['trim']()?.['toLowerCase']()?.['startsWith'](_0x3a5409));_0x549d6d&&(_0x492c80['preventDefault'](),_0x219779(_0x492c80['target'],_0x549d6d));}}}}}}function _0x2353cf(){t=!0x1,_0x5276b0['removeEventListener']('keydown',_0x1b4e40);}function _0x15870f(_0x1eda91){let _0x4b29dd=_0x3e707b(_0x1eda91['target']);if(_0x4b29dd){t||(t=!0x0,_0x5276b0['addEventListener']('keydown',_0x1b4e40));let _0x3a2b89=_0xbfddba(_0x1eda91['target'],_0x4b29dd);for(let _0x521d02 of _0x3a2b89)_0x521d02!==_0x1eda91['target']&&_0x521d02['setAttribute']('tabindex',-0x1);}else t&&_0x2353cf();}function _0x3aecef(_0x277947){(!_0x277947['relatedTarget']||_0x277947['relatedTarget']===_0x5276b0['document'])&&_0x2353cf();}function _0x5e9d57(_0x3979a2){let _0x452d2f=_0x3e707b(_0x3979a2['target']);if(_0x452d2f){let _0x1c978e=_0xbfddba(_0x3979a2['target'],_0x452d2f);for(let _0x382e89 of _0x1c978e)_0x382e89!==_0x3979a2['target']&&_0x382e89['setAttribute']('tabindex',-0x1);_0x3979a2['target']['setAttribute']('tabindex',0x0);}}return _0x5276b0['addEventListener']('click',_0x5e9d57),_0x5276b0['addEventListener']('focusin',_0x15870f),_0x5276b0['addEventListener']('focusout',_0x3aecef),()=>{_0x2353cf(),_0x5276b0['removeEventListener']('click',_0x5e9d57),_0x5276b0['removeEventListener']('focusin',_0x15870f),_0x5276b0['removeEventListener']('focusout',_0x3aecef);};};}function _0x3b26ee(){return _0x286584=>{let _0x17b57c,t;function _0x15deb6(_0xdeabff){if('true'===_0xdeabff['target']['getAttribute']('aria-hidden')){_0x17b57c=_0xdeabff['target'],_0x17b57c['setAttribute']('aria-hidden','false'),t=_0x17b57c['hidden'],t&&(_0x17b57c['hidden']=!0x1);let _0x52d9fc=_0xdeabff['target']['querySelector']('a,\x20button,\x20select,\x20textarea,\x20input:not([type=radio]),\x20[type=radio]:checked,\x20[tabindex]:not([tabindex=\x22-1\x22])');_0x52d9fc&&(_0x52d9fc['tabIndex']=0x0);}}function _0x2dfd18(_0x30ae35){_0x17b57c&&_0x17b57c['contains'](_0x30ae35['target'])&&(!_0x30ae35['relatedTarget']||!_0x17b57c['contains'](_0x30ae35['relatedTarget']))&&(_0x30ae35['target']['tabIndex']=-0x1,_0x17b57c['setAttribute']('aria-hidden','true'),t&&(_0x17b57c['hidden']=!0x0),_0x17b57c=null);}return _0x286584['addEventListener']('keyuxJump',_0x15deb6),_0x286584['addEventListener']('focusout',_0x2dfd18),()=>{_0x286584['removeEventListener']('keyuxJump',_0x15deb6),_0x286584['removeEventListener']('focusout',_0x2dfd18);};};}function _0x5a6e80(){return _0x3de164=>{let _0x5bfa91=[];function _0x28e5d0(){let _0x39c938=_0x5bfa91['pop']();if(!_0x39c938)return void _0x3de164['document']['activeElement']['blur']();let _0x12a403=_0x39c938['deref']();_0x12a403&&_0x12a403['isConnected']?_0x12a403['focus']():_0x28e5d0();}let _0x40c7f2,_0x4bf550=0x0;function _0x50d878(_0xff6bb5){clearInterval(_0x40c7f2);let _0x2f8acd=_0xff6bb5['getAttribute']('aria-controls');_0x40c7f2=setInterval(()=>{if(_0x4bf550++>0x32)return void clearInterval(_0x40c7f2);let _0x36e3a8=_0x3de164['document']['getElementById'](_0x2f8acd);if(_0x36e3a8){let _0x3a1a1f=_0x36e3a8['querySelector']('a,\x20button,\x20select,\x20textarea,\x20input:not([type=radio]),\x20[type=radio]:checked,\x20[tabindex]:not([tabindex=\x22-1\x22])');_0x3a1a1f&&(clearInterval(_0x40c7f2),_0x36e3a8['dispatchEvent'](new _0x3de164['CustomEvent']('keyuxJump',{'bubbles':!0x0})),function(_0x8a7748){let _0x299a7d=_0x3de164['document']['activeElement'];_0x299a7d&&_0x299a7d!==_0x3de164['document']['body']&&_0x5bfa91['push'](new WeakRef(_0x299a7d)),_0x8a7748['focus']({'focusVisible':!0x0});}(_0x3a1a1f));}},0x32);}function _0x548861(_0x3c7298){_0x3c7298['target']['getAttribute']('aria-controls')&&'Enter'===_0x3c7298['key']&&_0x50d878(_0x3c7298['target']),'Escape'===_0x3c7298['key']&&_0x28e5d0();}return _0x3de164['addEventListener']('keydown',_0x548861),()=>{_0x3de164['removeEventListener']('keydown',_0x548861);};};}function _0x3715ef(_0x5db503){let _0x28e039,_0x399e80,t=_0x5db503['split']('\x20');function _0x36cd2c(_0x677f52){('Enter'===_0x677f52['key']||'\x20'===_0x677f52['key'])&&('BUTTON'===_0x677f52['target']['tagName']||'A'===_0x677f52['target']['tagName'])&&(_0x1e6c01(),_0x677f52['target']['classList']['add'](...t),_0x28e039=_0x677f52['target'],_0x399e80=_0x677f52['target']);}function _0x1e6c01(){_0x28e039&&(_0x28e039['classList']['remove'](...t),_0x28e039=0x0,setTimeout(()=>{_0x399e80=0x0;},0x0));}function _0x533044(_0x44ea0b){0x0===_0x44ea0b['clientX']&&0x0===_0x44ea0b['clientY']&&_0x28e039!==_0x44ea0b['target']&&(_0x1e6c01(),_0x399e80!==_0x44ea0b['target']&&(_0x44ea0b['target']['classList']['add'](...t),_0x28e039=_0x44ea0b['target']));}return _0x844fbf=>(_0x844fbf['addEventListener']('click',_0x533044),_0x844fbf['addEventListener']('keydown',_0x36cd2c),_0x844fbf['addEventListener']('keyup',_0x1e6c01),()=>{_0x844fbf['removeEventListener']('click',_0x533044),_0x844fbf['removeEventListener']('keydown',_0x36cd2c),_0x844fbf['removeEventListener']('keyup',_0x1e6c01);});}function _0x3c9951(_0x301195,_0x50aa53){let t=_0x50aa53['map'](_0x2f4235=>_0x2f4235(_0x301195));return()=>{t['forEach'](_0x5331c7=>_0x5331c7());};}var _0x1bec59=class{constructor(){this['te']=new Map(),this['so']=[];}['addEventListener'](_0x42a85c,t){let _0xeeb4d2=_0x49e157=>{let _0x43b928=_0x49e157['target'];_0x43b928 instanceof Node&&this['so']['some'](_0x26ad5b=>_0x26ad5b===_0x43b928||_0x26ad5b['contains'](_0x43b928))&&t(_0x49e157);};this['te']['set'](t,_0xeeb4d2),window['addEventListener'](_0x42a85c,_0xeeb4d2);}['removeEventListener'](_0x420ecd,t){let _0xff1d3d=this['te']['get'](t);_0xff1d3d&&window['removeEventListener'](_0x420ecd,_0xff1d3d),this['te']['delete'](t);}get['CustomEvent'](){return window['CustomEvent'];}get['document'](){return window['document'];}get['navigator'](){return window['navigator'];}['registerScope'](_0x66c6f8){this['so']['push'](_0x66c6f8);}['destroy'](){this['so']=[];for(let _0x4f60aa of this['te']['values']())window['removeEventListener']('keydown',_0x4f60aa),window['removeEventListener']('keyup',_0x4f60aa);this['te']['clear']();}},_0x1cd432=class{constructor(){this['Bi']=new _0x1bec59(),this['an']=_0x3c9951(this['Bi'],[_0x53e2bf(),_0x3715ef('is-pressed'),_0x5a6e80(),_0x3b26ee()]);}['registerBlock'](_0x106de4){this['Bi']['registerScope'](_0x106de4);}['destroy'](){this['an']?.(),this['Bi']['destroy']();}},Wt=_0x30056e=>'*l10n/'+_0x30056e,_0x378dbc='en',_0x36f18b=class extends _0x29af01{constructor(t){super(t),this['Tt']='';for(let [_0x39f64f,_0x4faae9]of Object['entries'](_0x1b23ab)){let _0x296d3f=!this['e']['has'](Wt(_0x39f64f))||!this['e']['read'](Wt(_0x39f64f));this['e']['add'](Wt(_0x39f64f),_0x4faae9,_0x296d3f);}let _0x145837=t['pluginManager'];_0x145837?.['onPluginsChange']&&this['addSub'](_0x145837['onPluginsChange'](()=>{this['Tt']&&this['ln'](this['Tt']);})),this['addSub'](this['e']['sub'](_0x1c668c('localeName'),async _0x36917a=>{if(!_0x36917a)return;this['Tt']=_0x36917a;let _0x44711f=await _0x3a3023(_0x36917a);_0x36917a!==_0x378dbc&&this['Tt']!==_0x36917a||(this['ln'](_0x36917a),this['cn'](_0x36917a,_0x44711f));})),this['addSub'](this['e']['sub'](_0x1c668c('localeDefinitionOverride'),_0x2bed96=>{if(!_0x2bed96)return;let _0x19d596=_0x2bed96[this['Tt']];_0x19d596&&this['cn'](this['Tt'],_0x19d596);}));}['cn'](t,_0x10d57d){let _0x222b45=this['ze']['localeDefinitionOverride']?.[t];for(let [_0x29197f,_0x57dd75]of Object['entries'](_0x10d57d)){let _0x376152=_0x222b45?.[_0x29197f];this['e']['add'](Wt(_0x29197f),_0x376152??_0x57dd75,!0x0);}}['ln'](t){let _0x580f52=this['i']['pluginManager'];if(!_0x580f52)return;let _0x3b1963=_0x580f52['snapshot']();for(let _0x2ecb8a of _0x3b1963['l10n']){let {pluginId:_0x4660d6,..._0x44ff86}=_0x2ecb8a,_0x282419=_0x44ff86[t];if(_0x282419){for(let [_0x19b35b,_0x3345bc]of Object['entries'](_0x282419))void 0x0!==_0x3345bc&&this['e']['add'](Wt(_0x19b35b),_0x3345bc,!0x0);}}}},_0x1f4f5e=()=>{let _0x9d8a4d=navigator['userAgent'];return/Macintosh|Windows/['test'](_0x9d8a4d)&&/Version\/[\d.]+.*Safari/['test'](_0x9d8a4d)&&!/Chrome|Chromium|Edg|OPR/['test'](_0x9d8a4d);},_0xefbda5=()=>'capture'in document['createElement']('input'),_0x5342c2=()=>({'safariDesktop':_0x1f4f5e()}),_0x16741f=()=>({'htmlMediaCapture':_0xefbda5()}),_0x3ccee5=_0x5342c2(),_0x34d83d=_0x16741f(),_0x4c4fe1='image/*',_0x5dffa0='video/*',_0xc81144=['image/heif','image/heif-sequence','image/heic','image/heic-sequence','image/avif','image/avif-sequence','.heif','.heifs','.heic','.heics','.avif','.avifs'],_0x1faf55=()=>_0x3ccee5['safariDesktop']?[_0x4c4fe1]:[_0x4c4fe1,..._0xc81144],_0x266d69=_0x1faf55(),_0x2f393e=_0x6b8829=>_0x6b8829?_0x6b8829['filter'](_0xde734e=>'string'==typeof _0xde734e)['flatMap'](_0x8628fe=>_0x36e153(_0x8628fe)):[],_0xd9a4c7=(_0x476d04,_0x3950d3)=>_0x3950d3['some'](t=>{if(t['endsWith']('*')){let _0x4e8b7b=t['replace']('*','');return _0x476d04['startsWith'](_0x4e8b7b);}return _0x476d04===t;}),_0x5dc6a2=(_0x21608c,_0x44c1b1)=>_0x44c1b1['some'](t=>!!t['startsWith']('.')&&_0x21608c['toLowerCase']()['endsWith'](t['toLowerCase']())),_0x35c319=_0x590601=>{let _0x57225d=_0x590601?.['type'];return!!_0x57225d&&_0xd9a4c7(_0x57225d,_0x266d69);};function _0xa2fc77(_0xb88894,_0x196e5c,t,_0x596ffe,_0x1087b4){return{'registry':{'registerSource':_0x44a7e9=>_0xb88894['addSource'](_0x596ffe,_0x44a7e9),'registerActivity':_0x55de5a=>_0xb88894['addActivity'](_0x596ffe,_0x55de5a),'registerFileAction':_0x2c421e=>_0xb88894['addFileAction'](_0x596ffe,_0x2c421e),'registerFileHook':_0x3b52c1=>_0xb88894['addFileHook'](_0x596ffe,_0x3b52c1),'registerIcon':_0x31f7b4=>_0xb88894['addIcon'](_0x596ffe,_0x31f7b4),'registerL10n':_0xe3b13f=>_0xb88894['addL10n'](_0x596ffe,_0xe3b13f),'registerConfig':_0x345d2c=>{_0xb88894['addConfig'](_0x596ffe,_0x345d2c);let _0x40cec9=_0x1c668c(_0x345d2c['name']);_0x196e5c['has'](_0x40cec9)||_0x196e5c['add'](_0x40cec9,_0x345d2c['defaultValue']);}},'config':{'get':_0x402c6c=>{let _0x5d07ec=_0x1c668c(_0x402c6c);return _0x196e5c['read'](_0x5d07ec);},'subscribe':(_0x2ad540,_0x36fa2f)=>{let _0x241270=_0x1c668c(_0x2ad540),_0x58e6cd=_0x196e5c['sub'](_0x241270,_0x4bf0f4=>{_0x36fa2f(_0x4bf0f4);});return _0x1087b4['push'](_0x58e6cd),_0x58e6cd;}},'activity':{'getParams':()=>_0x196e5c['read']('*currentActivityParams'),'subscribeToParams':_0x5213d2=>{let _0x466b6c=_0x196e5c['sub']('*currentActivityParams',_0x403e64=>{_0x5213d2(_0x403e64);});return _0x1087b4['push'](_0x466b6c),_0x466b6c;}},'files':{'update':(_0x195891,_0x33e826)=>{let _0x13410e=t['uploadCollection']?.['read'](_0x195891);_0x13410e&&(void 0x0!==_0x33e826['file']&&(_0x13410e['setValue']('file',_0x33e826['file']),_0x13410e['setValue']('fileSize',_0x33e826['file']['size'])),void 0x0!==_0x33e826['cdnUrl']&&_0x13410e['setValue']('cdnUrl',_0x33e826['cdnUrl']),void 0x0!==_0x33e826['cdnUrlModifiers']&&_0x13410e['setValue']('cdnUrlModifiers',_0x33e826['cdnUrlModifiers']),void 0x0!==_0x33e826['mimeType']&&_0x13410e['setValue']('mimeType',_0x33e826['mimeType']));}}};}var _0x29908a=async({entries:_0x32f3ca,signal:_0xa587be})=>(await Promise['all'](_0x32f3ca['map'](async _0x201d3e=>{if(_0x201d3e['isEnabled']())try{let _0x50d439=await _0x201d3e['load']();return _0xa587be['aborted']||!_0x201d3e['isEnabled']()?void 0x0:_0x50d439??void 0x0;}catch(_0x4bc14f){return void(_0xa587be['aborted']||console['warn']('Failed\x20to\x20load\x20lazy\x20plugin',_0x4bc14f));}})))['filter'](_0x19c5f4=>void 0x0!==_0x19c5f4),_0x1cd613=class{constructor(_0x4c0e22,t){this['e']=_0x4c0e22,this['zc']=t,this['Xt']=new Set(),this['un']=this['e']['sub']('*lazyPlugins',_0x30c8c6=>{this['Bc'](_0x30c8c6??[]);});}['Bc'](_0x1df9e2){for(let _0xd8e508 of this['Xt'])_0xd8e508();if(this['Xt']['clear'](),0x0===_0x1df9e2['length'])return;let t=new Set([_0x1c668c('plugins')]);for(let _0x4da6f0 of _0x1df9e2)for(let _0x35dad1 of _0x4da6f0['configDeps'])t['add'](_0x1c668c(_0x35dad1));let _0xd3c72b=()=>this['dn'](_0x1df9e2);for(let _0x49b4aa of t)this['Xt']['add'](this['e']['sub'](_0x49b4aa,_0xd3c72b,!0x1));this['dn'](_0x1df9e2);}['dn'](_0xd921ed){this['ao']?.['abort']();let t=new AbortController();this['ao']=t;let _0x517bb2=_0x256eb1=>this['e']['read'](_0x1c668c(_0x256eb1)),_0x1be8c3=_0x517bb2('plugins'),_0x2d2213=_0x29908a({'entries':_0xd921ed['map'](_0x2838cc=>({'isEnabled':()=>_0x2838cc['isEnabled'](_0x517bb2),'load':_0x2838cc['load']})),'signal':t['signal']})['then'](_0x2f7bd1=>{if(!t['signal']['aborted'])return[..._0x1be8c3,..._0x2f7bd1];});this['zc'](_0x2d2213);}['destroy'](){this['un']();for(let _0x326ad3 of this['Xt'])_0x326ad3();this['Xt']['clear'](),this['ao']?.['abort']();}},_0xbbd009=class{constructor(){this['Ke']=new Map();}['register'](_0x3bcd62,t){if(this['Ke']['has'](t['name']))return void console['warn']('[CustomConfig]\x20Config\x20option\x20\x22'+t['name']+'\x22\x20is\x20already\x20registered');let _0x4ce692={'attribute':!0x0,...t,'pluginId':_0x3bcd62};this['Ke']['set'](t['name'],_0x4ce692);}['unregister'](_0x5a5ae9){this['Ke']['delete'](_0x5a5ae9);}['unregisterByPlugin'](_0x35cb47){for(let [t,_0x146c07]of this['Ke'])_0x146c07['pluginId']===_0x35cb47&&this['Ke']['delete'](t);}['get'](_0xdaf59){return this['Ke']['get'](_0xdaf59);}['getAll'](){return new Map(this['Ke']);}},_0x50a071=class{constructor(){this['Me']=[],this['de']=[],this['zi']=[],this['Hi']=[],this['Ki']=[],this['Et']=[],this['config']=new _0xbbd009();}['xt'](_0x5272be,t){return{...t,'pluginId':_0x5272be};}['addSource'](_0x46c462,t){let _0x3bf4e7=this['Me']['find'](_0x5c80f8=>_0x5c80f8['id']===t['id']);_0x3bf4e7?console['warn']('[Plugin\x20\x22'+_0x46c462+'\x22]\x20Source\x20with\x20id\x20\x22'+t['id']+'\x22\x20is\x20already\x20registered\x20by\x20plugin\x20\x22'+_0x3bf4e7['pluginId']+'\x22.\x20Skipping.'):this['Me']['push'](this['xt'](_0x46c462,t));}['addActivity'](_0x58a094,t){let _0x4424ed=this['de']['find'](_0x4da2bb=>_0x4da2bb['id']===t['id']);_0x4424ed?console['warn']('[Plugin\x20\x22'+_0x58a094+'\x22]\x20Activity\x20with\x20id\x20\x22'+t['id']+'\x22\x20is\x20already\x20registered\x20by\x20plugin\x20\x22'+_0x4424ed['pluginId']+'\x22.\x20Skipping.'):this['de']['push'](this['xt'](_0x58a094,t));}['addFileAction'](_0x1017f0,t){this['zi']['push'](this['xt'](_0x1017f0,t));}['addFileHook'](_0x54ed3f,t){this['Hi']['push'](this['xt'](_0x54ed3f,{'timeout':0x7530,...t}));}['addIcon'](_0x4608b7,t){this['Ki']['push'](this['xt'](_0x4608b7,t));}['addL10n'](_0x58dca6,t){this['Et']['push'](this['xt'](_0x58dca6,t));}['addConfig'](_0x569864,t){this['config']['register'](_0x569864,t);}['purge'](_0x5a8563){this['Me']=this['Me']['filter'](t=>t['pluginId']!==_0x5a8563),this['de']=this['de']['filter'](t=>t['pluginId']!==_0x5a8563),this['zi']=this['zi']['filter'](t=>t['pluginId']!==_0x5a8563),this['Hi']=this['Hi']['filter'](t=>t['pluginId']!==_0x5a8563),this['Ki']=this['Ki']['filter'](t=>t['pluginId']!==_0x5a8563),this['Et']=this['Et']['filter'](t=>t['pluginId']!==_0x5a8563),this['config']['unregisterByPlugin'](_0x5a8563);}['snapshot'](){return{'sources':[...this['Me']],'activities':[...this['de']],'fileActions':[...this['zi']],'fileHooks':[...this['Hi']],'icons':[...this['Ki']],'l10n':[...this['Et']]};}},_0x33c4fe=class extends _0x29af01{constructor(t){super(t),this['je']=new Map(),this['c']=new Set(),this['lo']=Promise['resolve'](),this['registry']=new _0x50a071(),this['pn']=new _0x1cd613(this['e'],_0x2665b3=>{this['lo']=this['lo']['then'](()=>_0x2665b3)['then'](_0x4ac4fb=>{if(_0x4ac4fb)return this['Hc'](_0x4ac4fb);});});}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 _0x1a040b=new Set(this['je']['keys']()),_0xe5c2f2=new Set();for(let _0x1ef44a of t)if(_0x1ef44a['id']){if(_0xe5c2f2['has'](_0x1ef44a['id']))console['warn']('[PluginManager]\x20Plugin\x20\x22'+_0x1ef44a['id']+'\x22\x20is\x20already\x20in\x20the\x20list,\x20skipping\x20duplicate');else{if(_0xe5c2f2['add'](_0x1ef44a['id']),!this['je']['has'](_0x1ef44a['id']))try{await this['Kc'](_0x1ef44a);}catch(_0x55bbfa){this['registry']['purge'](_0x1ef44a['id']),this['co'](),console['error']('[PluginManager]\x20Plugin\x20\x22'+_0x1ef44a['id']+'\x22\x20setup()\x20threw\x20an\x20error',_0x55bbfa);}_0x1a040b['delete'](_0x1ef44a['id']);}}else console['warn']('[PluginManager]\x20A\x20plugin\x20is\x20missing\x20the\x20required\x20\x22id\x22\x20field,\x20skipping');for(let _0x948762 of _0x1a040b)this['uo'](_0x948762);}async['Kc'](t){this['je']['has'](t['id'])&&this['uo'](t['id']);let _0x5a003c,_0x5119f5=[],_0x2acfd7=_0xa2fc77(this['registry'],this['e'],this['i'],t['id'],_0x5119f5),_0x39b44d=this['i']['api'];try{_0x5a003c=await t['setup']({'pluginApi':_0x2acfd7,'uploaderApi':_0x39b44d})??void 0x0;}catch(_0x244ece){for(let _0x269768 of _0x5119f5)try{_0x269768();}catch(_0x1035bf){this['w']('Failed\x20to\x20unsubscribe\x20config\x20listener',_0x1035bf);}throw _0x244ece;}this['je']['set'](t['id'],{'plugin':t,'dispose':_0x5a003c,'configSubscriptions':_0x5119f5}),this['co']();}['uo'](t){let _0x2064f3=this['je']['get'](t);if(_0x2064f3){this['registry']['purge'](t);for(let _0x2c8966 of _0x2064f3['configSubscriptions'])try{_0x2c8966();}catch(_0xdefe99){this['w']('Failed\x20to\x20unsubscribe\x20config\x20listener',_0xdefe99);}_0x2064f3['dispose']?.(),this['je']['delete'](t),this['co']();}}['snapshot'](){return this['registry']['snapshot']();}async['runOnAddHooks'](t){let _0x3ed5e3=t['getValue']('file');if(!_0x3ed5e3)return;let _0x13cabf=this['registry']['snapshot']()['fileHooks']['filter'](_0x4d3977=>'onAdd'===_0x4d3977['type']);if(0x0===_0x13cabf['length'])return;let _0x318e00=_0x3ed5e3,_0x2db87e=new AbortController();for(let _0xdcba02 of _0x13cabf){if(_0x2db87e['signal']['aborted'])break;try{let _0xb7d997=_0xdcba02['handler']({'file':_0x318e00,'signal':_0x2db87e['signal']}),_0x138e75=new Promise((_0x292ef7,_0x160adb)=>setTimeout(()=>_0x160adb(new Error('onAdd\x20hook\x20timed\x20out')),_0xdcba02['timeout']));({file:_0x318e00}=await Promise['race']([_0xb7d997,_0x138e75]));}catch(_0x135dc3){console['warn']('File\x20hook\x20\x22onAdd\x22\x20from\x20plugin\x20\x22'+_0xdcba02['pluginId']+'\x22\x20failed',_0x135dc3);}}_0x318e00!==_0x3ed5e3&&(t['setValue']('file',_0x318e00),t['setValue']('fileSize',_0x318e00['size']),t['setValue']('mimeType',_0x318e00['type']||null),t['setValue']('isImage',_0x35c319(_0x318e00)),_0x318e00 instanceof File&&t['setValue']('fileName',_0x318e00['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 _0x542843(_0x1367c5){return _0x1367c5['replace'](/[A-Z]/g,_0x1854a5=>'_'+_0x1854a5['toLowerCase']())['replace'](/__/g,'_');}function _0x324eb2(_0x15b9b5){return Array['isArray'](_0x15b9b5)?_0x15b9b5['map'](_0x3a25fa=>'object'==typeof _0x3a25fa&&null!==_0x3a25fa?_0x324eb2(_0x3a25fa):_0x3a25fa):'object'!=typeof _0x15b9b5||null===_0x15b9b5?_0x15b9b5:Object['fromEntries'](Object['entries'](_0x15b9b5)['map'](([_0x2f6c52,t])=>{let _0x1c6e2b=_0x542843(_0x2f6c52);return'object'==typeof t&&null!==t?[_0x1c6e2b,_0x324eb2(t)]:[_0x1c6e2b,t];}));}function _0x18f747(_0x2bcbd5){return{'ok':!0x0,'value':_0x2bcbd5};}function _0x1b24af(_0x14233b){return{'ok':!0x1,'error':_0x14233b};}var _0x50e347='https://tlm.uploadcare.com/api/',_0xf0a5ed=class{constructor(_0x3bfc2b=_0x50e347){this['baseUrl']=_0x3bfc2b;}async['base'](_0x562bc0,t={}){let _0x4967bb=''+this['baseUrl']+_0x562bc0;try{let _0x222f03=await fetch(_0x4967bb,t);if(!_0x222f03['ok'])return _0x1b24af(new Error('Got\x20non-200\x20response\x20from\x20\x22'+_0x4967bb+'\x22.\x20Status:\x20'+_0x222f03['status']['toString']()));try{return _0x18f747(await _0x222f03['json']());}catch(_0x4d8c6a){return _0x1b24af(new Error('Error\x20parsing\x20JSON\x20from\x20\x22'+_0x4967bb+'\x22.\x20Error:\x20'+_0x4d8c6a));}}catch(_0x2017cc){return _0x1b24af(new Error('Error\x20fetching\x20data\x20from\x20\x22'+_0x4967bb+'\x22.\x20Error:\x20'+_0x2017cc));}}async['post'](_0x56f807,t,_0x5ba019={}){return await this['base'](_0x56f807,{..._0x5ba019,'method':'POST','body':JSON['stringify'](_0x324eb2(t)),'headers':{'Content-Type':'application/json',..._0x5ba019['headers']||{}}});}async['get'](_0x1b8f60,t={}){return await this['base'](_0x1b8f60,{'method':'GET',...t});}},_0x1d9186=async(_0x38586c,_0x39b41c)=>({'success':!0x0,'data':_0x39b41c}),_0x408b68=async _0x4b5de0=>_0x1d9186(void 0x0,_0x4b5de0),_0x2f165e=class extends _0xf0a5ed{constructor(){super();}async['sendEvent'](_0x40dec3,t){let _0x4be76f=await _0x408b68(_0x40dec3);if(!_0x4be76f['success'])throw console['error']('TelemetryAPIService:\x20events:\x20body\x20is\x20invalid',_0x4be76f['error']),new Error('TelemetryAPIService:\x20events:\x20body\x20is\x20invalid');return this['post']('v1/events',_0x40dec3,t);}},_0x526273=0x14,_0x382b44=Object['freeze']({'INIT_SOLUTION':'init-solution','CHANGE_CONFIG':'change-config','ACTION_EVENT':'action-event','ERROR_EVENT':'error-event'}),_0x36f858=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'}),_0x13b0e2=class extends _0x29af01{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,_0x4a13d5){let _0x426c8d=this['te']['get'](t);return _0x426c8d||(_0x426c8d=new Set(),this['te']['set'](t,_0x426c8d)),_0x426c8d['add'](_0x4a13d5),()=>this['te']['get'](t)?.['delete'](_0x4a13d5);}['hn'](t,_0x4739e4){for(let _0x4ca8b3 of this['ji'])_0x4ca8b3['dispatchEvent'](new CustomEvent(t,{'detail':_0x4739e4}));let _0x30181f=this['te']['get'](t);if(_0x30181f){for(let _0x3414a2 of _0x30181f)_0x3414a2(_0x4739e4);}this['w']?.(()=>{let _0x5b1146=_0x4739e4&&'object'==typeof _0x4739e4?{..._0x4739e4}:_0x4739e4;return['event\x20\x22'+t+'\x22',_0x5b1146];});}['emit'](t,_0x1b68fb,_0x5460e2={}){let {debounce:_0x3c97d7}=_0x5460e2;if('number'!=typeof _0x3c97d7&&!_0x3c97d7)return void this['hn'](t,'function'==typeof _0x1b68fb?_0x1b68fb():_0x1b68fb);this['Qt']['has'](t)&&window['clearTimeout'](this['Qt']['get'](t));let _0x1c3fdc='number'==typeof _0x3c97d7?_0x3c97d7:_0x526273,_0x3e0fab=window['setTimeout'](()=>{try{let _0x4332e9='function'==typeof _0x1b68fb?_0x1b68fb():_0x1b68fb;this['hn'](t,_0x4332e9),this['Qt']['delete'](t);}catch(_0x161d32){this['w']?.(()=>'Error\x20while\x20getting\x20payload\x20for\x20event\x20\x22'+t+'\x22',_0x161d32);}},_0x1c3fdc);this['Qt']['set'](t,_0x3e0fab);}['destroy'](){for(let t of this['Qt']['values']())window['clearTimeout'](t);this['ji']['clear'](),this['te']['clear']();}},_0x1222ef='1.29.0',Ut='blocks',Rt=_0x1222ef,_0x43d714=class extends _0x29af01{constructor(t){super(t),this['jc']=ft['generateRandomUUID'](),this['Ct']=structuredClone(_0x3eb17e),this['po']=!0x1,this['ho']=null,this['Oe']=!0x1,this['mn']=new _0x2f165e(),this['St']=new _0x4d209d(0xa),this['addSub'](this['e']['sub'](_0x1c668c('qualityInsights'),_0x473684=>{this['Oe']=!!_0x473684;}));for(let _0x1dfc01 of Object['keys'](this['Ct']))this['addSub'](this['e']['sub'](_0x1c668c(_0x1dfc01),_0x4b8834=>{this['Oe']&&(this['po']&&this['Ct'][_0x1dfc01]!==_0x4b8834&&this['sendEvent']({'eventType':_0x382b44['CHANGE_CONFIG']}),this['Gc'](_0x1dfc01,_0x4b8834));}));}['qc'](t){t===_0x382b44['INIT_SOLUTION']&&!this['po']&&(this['po']=!0x0);}['Gc'](t,_0x16842c){this['Ct'][t]!==_0x16842c&&(this['Ct'][t]=_0x16842c);}['Wc'](t){let _0x54bdd6=t['payload']?{...t['payload']}:{};_0x54bdd6['activity']&&(_0x54bdd6['activity']=void 0x0);let _0x51ca2e={...t};return(t['eventType']===_0x382b44['INIT_SOLUTION']||t['eventType']===_0x382b44['CHANGE_CONFIG'])&&(_0x51ca2e['config']=this['Ct']),{..._0x51ca2e,'appVersion':Rt,'appName':Ut,'sessionId':this['jc'],'component':this['Zc'],'activity':this['Yc'],'projectPubkey':this['Ct']['pubkey'],'userAgent':navigator['userAgent'],'eventType':_0x51ca2e['eventType']??'','eventTimestamp':this['Xc'],'payload':{'location':this['Qc'],..._0x54bdd6}};}['Jc'](t){return!(!t||![_0x36f858['CHANGE'],_0x36f858['COMMON_UPLOAD_PROGRESS'],_0x36f858['FILE_ADDED'],_0x36f858['FILE_REMOVED'],_0x36f858['FILE_UPLOAD_START'],_0x36f858['FILE_UPLOAD_PROGRESS'],_0x36f858['FILE_UPLOAD_SUCCESS'],_0x36f858['FILE_UPLOAD_FAILED']]['includes'](t));}['sendEvent'](t){if(!this['Oe'])return;let _0x298e1=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'],_0x298e1))&&this['St']['add'](async()=>{this['ho']=_0x298e1,await this['mn']['sendEvent'](_0x298e1);});}['sendEventError'](t,_0x5a2c0c='unknown'){this['sendEvent']({'eventType':_0x382b44['ERROR_EVENT'],'payload':{'metadata':{'event':'error','text':'Error\x20in\x20'+_0x5a2c0c,'error':t['message']}}});}['sendEventCloudImageEditor'](t,_0x5b5e3e,_0x514bb7={}){this['sendEvent']({'eventType':_0x382b44['ACTION_EVENT'],'payload':{'metadata':{'tabId':_0x5b5e3e,'node':t['currentTarget']?.['tagName'],'event':t['type'],..._0x514bb7}}});}['gn'](t,_0x496d5d){if(JSON['stringify'](t)===JSON['stringify'](_0x496d5d))return!0x0;if('object'!=typeof t||'object'!=typeof _0x496d5d||null==t||null==_0x496d5d)return!0x1;let _0x215e49=Object['keys'](t),_0x544a0e=Object['keys'](_0x496d5d);if(_0x215e49['length']!==_0x544a0e['length'])return!0x1;for(let _0x27768f of _0x215e49)if(!Object['hasOwn'](_0x496d5d,_0x27768f)||!this['gn'](t[_0x27768f],_0x496d5d[_0x27768f]))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'];}},_0x51e4a4=_0xff1972=>{let _0x17eb48=new Intl['Locale'](_0xff1972),t='ltr',_0x4c53aa=_0x17eb48['getTextInfo']?.()['direction'];return _0x4c53aa?t=_0x4c53aa:_0x17eb48['textInfo']?.['direction']&&(t=_0x17eb48['textInfo']['direction']),t;},_0x4a8ee4=_0x4cff38=>_0x4cff38,_0x58d344='plural:';function _0xd41e61(_0x162cc8,_0x34fd55={},t={}){let {openToken:_0x3aac78='{{',closeToken:_0x13f76c='}}',transform:_0x5830b7=_0x4a8ee4}=t;for(let _0x10e3db in _0x34fd55){let _0x372443=_0x34fd55[_0x10e3db],_0x531413=_0x372443?.['toString'](),_0x1d8dd4='string'==typeof _0x531413?_0x5830b7(_0x531413):String(_0x531413);_0x162cc8=_0x162cc8['replaceAll'](_0x3aac78+_0x10e3db+_0x13f76c,_0x1d8dd4);}return _0x162cc8;}function _0x9c23fb(_0x253409){let _0x141d32=[],t=_0x253409['indexOf']('{{');for(;-0x1!==t;){let _0x11fac1=_0x253409['indexOf']('}}',t);if(-0x1===_0x11fac1)break;let _0x342239=_0x253409['substring'](t+0x2,_0x11fac1);if(_0x342239['startsWith'](_0x58d344)){let _0x230ef9=_0x253409['substring'](t+0x2,_0x11fac1)['replace'](_0x58d344,''),_0x42b8e4=_0x230ef9['substring'](0x0,_0x230ef9['indexOf']('(')),_0x1e2d58=_0x230ef9['substring'](_0x230ef9['indexOf']('(')+0x1,_0x230ef9['indexOf'](')'));_0x141d32['push']({'variable':_0x342239,'pluralKey':_0x42b8e4,'countVariable':_0x1e2d58});}t=_0x253409['indexOf']('{{',_0x11fac1);}return _0x141d32;}var _0x4781bc='--uploadcare-blocks-window-height',_0x3dbf68=class _0x5e464f{static{this['clientsRegistry']=new Set();}static{this['flush']=_0x1e9cf3(()=>{document['documentElement']['style']['setProperty'](_0x4781bc,window['innerHeight']+'px');},0x64);}static['registerClient'](_0x2a0239){0x0===_0x5e464f['clientsRegistry']['size']&&_0x5e464f['attachTracker'](),_0x5e464f['clientsRegistry']['add'](_0x2a0239);}static['unregisterClient'](_0x476abd){_0x5e464f['clientsRegistry']['delete'](_0x476abd),0x0===_0x5e464f['clientsRegistry']['size']&&_0x5e464f['detachTracker']();}static['attachTracker'](){window['addEventListener']('resize',_0x5e464f['flush'],{'passive':!0x0,'capture':!0x0}),_0x5e464f['flush']();}static['detachTracker'](){window['removeEventListener']('resize',_0x5e464f['flush'],{'capture':!0x0}),document['documentElement']['style']['removeProperty'](_0x4781bc);}},_0x251e83=(_0x5a58cb,_0x351509)=>new Intl['PluralRules'](_0x5a58cb)['select'](_0x351509),_0x17e079=_0x409b2c=>(_0x56537e,t)=>{let _0x2196f7=_0x409b2c(),_0x4d406f=_0x2196f7('locale-id')||'en';return _0x2196f7(_0x56537e+'__'+_0x251e83(_0x4d406f,t));},_0x5817ca=_0x51b6e6=>{let _0x280e9c=_0x17e079(()=>t),t=(_0x4a029f,_0x544bb9={})=>{if(!_0x4a029f)return'';let _0x4a763c=_0x51b6e6()['read'](Wt(_0x4a029f))||_0x4a029f,_0x1fa0fe=_0x9c23fb(_0x4a763c);for(let _0x1c285d of _0x1fa0fe)_0x544bb9[_0x1c285d['variable']]=_0x280e9c(_0x1c285d['pluralKey'],Number(_0x544bb9[_0x1c285d['countVariable']]));return _0xd41e61(_0x4a763c,_0x544bb9);};return t;},_0x1cd9a3=_0xf5b8ee=>_0xf5b8ee['tagName']?.['includes']('-')??!0x1,_0x989ebd=class{constructor(_0x30ef94){this['Ge']=new Set(),this['Gi']=new Map(),this['vn']=!0x1,this['qe']=_0x30ef94,this['qe']['addController'](this);}['hostDisconnected'](){this['qi']?.(),this['qi']=void 0x0,this['Ge']['clear'](),this['Gi']['clear']();}['hostUpdated'](){if(!this['qi']&&this['qe']['has'](_0x1c668c('testMode'))){let _0x53f759=this['qe']['subConfigValue']('testMode',t=>{this['vn']=!!t,this['yn']();});this['qi']=_0x53f759;}this['eu'](),this['yn']();}['eu'](){let _0x5dcc79=this['qe'],t=_0x5dcc79['renderRoot']??_0x5dcc79;if(!t)return;let _0x25dc2e=this['qe'],_0x1bcc03=_0x25dc2e['tagName']?.['toLowerCase'](),_0x11c42c=Array['from'](t['querySelectorAll']('[data-testid]'))['filter'](_0x4829be=>!_0x1cd9a3(_0x4829be));for(let _0x59acd6 of _0x11c42c)if(!(_0x1bcc03&&_0x59acd6['closest'](_0x1bcc03)!==_0x25dc2e||this['Ge']['has'](_0x59acd6))){let _0x53b171=_0x59acd6['getAttribute']('data-testid');if(!_0x53b171)continue;this['Ge']['add'](_0x59acd6),this['Gi']['set'](_0x59acd6,_0x53b171);}for(let _0x56b84d of Array['from'](this['Ge']))(!_0x56b84d['isConnected']||_0x1bcc03&&_0x56b84d['closest'](_0x1bcc03)!==_0x25dc2e)&&(this['Ge']['delete'](_0x56b84d),this['Gi']['delete'](_0x56b84d));}['yn'](){if(!this['Ge']['size'])return;let _0x3b1dc7=this['qe']['testId']||'';for(let t of this['Ge']){let _0x260e4c=this['Gi']['get'](t);_0x260e4c&&(this['vn']?t['setAttribute']('data-testid',_0x3b1dc7+'--'+_0x260e4c):t['removeAttribute']('data-testid'));}}},_0x38be76=_0x139361(_0x336c4c()(_0x473a43(_0x55fd9c(Tt)))),_0x1e5f32=class extends _0x38be76{constructor(){super(),this['init$']=_0x5b11d2(),this['l10n']=_0x5817ca(()=>this['sharedCtx']),this['debugPrint']=_0x3ee310(()=>this['sharedCtx'],this['constructor']['name']),this['i']=_0x11ed38(()=>this['sharedCtx']),new _0x989ebd(this);}static{this['styleAttrs']=[];}['emit'](t,_0x3ea3ff,_0x19ebb6){let _0x5ab3b0=this['has']('*eventEmitter')?this['$']['*eventEmitter']:void 0x0;if(!_0x5ab3b0)return;_0x5ab3b0['emit'](t,_0x3ea3ff,_0x19ebb6);let _0x1e0707='function'==typeof _0x3ea3ff?_0x3ea3ff():_0x3ea3ff;this['telemetryManager']['sendEvent']({'eventType':t,'payload':_0x1e0707??void 0x0});}['hasBlockInCtx'](t){for(let _0xa9f231 of this['blocksRegistry'])if(t(_0xa9f231))return!0x0;return!0x1;}['connectedCallback'](){this['constructor']['styleAttrs']['forEach'](_0x1ba6fe=>{this['setAttribute'](_0x1ba6fe,'');}),super['connectedCallback'](),_0x3dbf68['registerClient'](this);}['initCallback'](){this['Z']('*blocksRegistry',()=>new Set()),this['Z']('*pluginManager',t=>new _0x33c4fe(t)),this['Z']('*eventEmitter',t=>new _0x13b0e2(t)),this['Z']('*localeManager',t=>new _0x36f18b(t)),this['Z']('*modalManager',t=>new _0x5a7e15(t)),this['Z']('*a11y',()=>new _0x1cd432()),this['Z']('*clipboard',t=>new _0x197848(t)),this['Z']('*telemetryManager',t=>new _0x43d714(t)),this['sub'](Wt('locale-id'),t=>{let _0x2c1fb7=_0x51e4a4(t);this['style']['direction']='ltr'===_0x2c1fb7?'':_0x2c1fb7,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'](),_0x3dbf68['unregisterClient'](this);let t=this['blocksRegistry'];t?.['delete'](this),0x0===t?.['size']&&setTimeout(()=>{this['isConnected']||t?.['size']>0x0||this['destroyCtxCallback']();},0x0);}['destroyCtxCallback'](){this['tu'](),_0x304b64['deleteCtx'](this['ctxName']);}['bn'](){let t='*sharedContextInstances';if(!this['has'](t)||!this['$'][t]){let _0x5eb149=new Map();this['add'](t,_0x5eb149,!0x0);}return this['$'][t];}['Z'](t,_0x2fd140){let _0x4c8ada=this['bn']();if(!(_0x4c8ada['has'](t)||this['has'](t)&&this['$'][t])){let _0x3c1334=_0x2fd140(this['i']);return this['add'](t,_0x3c1334,!0x0),void _0x4c8ada['set'](t,_0x3c1334);}}['tu'](){let t=this['bn']();for(let [_0x57fa3c,_0x486929]of t['entries']())_0x486929?.['destroy']?.(),this['pub'](_0x57fa3c,null);t['clear']();}['ie'](t,_0x4a3065=!0x0){if(this['has'](t)&&this['$'][t])return this['$'][t];if(!_0x4a3065)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':_0x36ed58(t),'cdnUrlModifiers':_0x489480(t),'fileName':_0x3af14d(t)});}catch(_0x4d91af){return console['error']('Failed\x20to\x20resolve\x20secure\x20delivery\x20proxy\x20URL.\x20Falling\x20back\x20to\x20the\x20default\x20URL.',_0x4d91af),this['telemetryManager']['sendEventError'](_0x4d91af,'secureDeliveryProxyUrlResolver.\x20Failed\x20to\x20resolve\x20secure\x20delivery\x20proxy\x20URL.\x20Falling\x20back\x20to\x20the\x20default\x20URL.'),t;}return this['cfg']['secureDeliveryProxy']?_0xd41e61(this['cfg']['secureDeliveryProxy'],{'previewUrl':t},{'transform':_0x1b7867=>window['encodeURIComponent'](_0x1b7867)}):t;}get['cfg'](){if(!this['Be']){let t={};this['Be']=new Proxy(t,{'set':(_0x1435ca,_0x3063b1,_0x24800e)=>{if('string'!=typeof _0x3063b1||!(_0x3063b1 in _0x3eb17e))return!0x1;let _0x2763dd=_0x3063b1,_0x31d086=_0x1c668c(_0x2763dd);return this['has'](_0x31d086)||this['add'](_0x31d086,_0x3eb17e[_0x2763dd]),this['$'][_0x31d086]=_0x24800e,!0x0;},'get':(_0x20eed0,_0x14c4f3)=>{let _0xecffba=_0x1c668c(_0x14c4f3);return this['has'](_0xecffba)||this['add'](_0xecffba,_0x3eb17e[_0x14c4f3]),this['$'][_0xecffba];}});}return this['Be'];}['subConfigValue'](t,_0x2b5058){let _0x34b92c=_0x1c668c(t);return this['has'](_0x34b92c)||this['add'](_0x34b92c,_0x3eb17e[t]),this['sub'](_0x34b92c,_0x2b5058);}},$t={'ATTRIBUTE':0x1,'CHILD':0x2},gt=_0x5e2676=>(..._0x4c5923)=>({'qr':_0x5e2676,'values':_0x4c5923}),Et=class{constructor(_0x5d21c2){}get['W'](){return this['f']['W'];}['Wr'](_0xbef577,t,_0x191324){this['Wi']=_0xbef577,this['f']=t,this['iu']=_0x191324;}['Lc'](_0x2ceaaf,t){return this['update'](_0x2ceaaf,t);}['update'](_0x44d5bc,t){return this['render'](...t);}},_0x5ab553=class extends Et{constructor(_0x360d8e){if(super(_0x360d8e),this['it']=_0xf98a9a,_0x360d8e['type']!==$t['CHILD'])throw Error(this['constructor']['directiveName']+'()\x20can\x20only\x20be\x20used\x20in\x20child\x20bindings');}['render'](_0x469a37){if(_0x469a37===_0xf98a9a||null==_0x469a37)return this['wn']=void 0x0,this['it']=_0x469a37;if(_0x469a37===it)return _0x469a37;if('string'!=typeof _0x469a37)throw Error(this['constructor']['directiveName']+'()\x20called\x20with\x20a\x20non-string\x20value');if(_0x469a37===this['it'])return this['wn'];this['it']=_0x469a37;let t=[_0x469a37];return t['raw']=t,this['wn']={'Ne':this['constructor']['resultType'],'strings':t,'values':[]};}};_0x5ab553['directiveName']='unsafeHTML',_0x5ab553['resultType']=0x1;var _0x16a30c=class extends _0x5ab553{};_0x16a30c['directiveName']='unsafeSVG',_0x16a30c['resultType']=0x2;var _0x403cbc=gt(_0x16a30c),_0x59a54c='<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>',Zt=class extends _0x1e5f32{constructor(){super(...arguments),this['init$']=_0x5c8ea3(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 _0x44abcf`${_0x403cbc(_0x59a54c)}`;}},_0x7a421f=_0x72abdd=>'number'!=typeof _0x72abdd?0x0:Math['floor'](_0x72abdd/0x3e8),_0xa99fa8=(_0x24aadb,{threshold:_0x42002d})=>{let {secureExpire:t}=_0x24aadb,_0x3896e1=_0x7a421f(Date['now']()),_0x2dca02=Number(t);return _0x3896e1+_0x7a421f(_0x42002d)>=_0x2dca02;},_0x495211=class extends _0x29af01{constructor(){super(...arguments),this['We']=null;}async['getSecureToken'](){let {secureSignature:t,secureExpire:_0x1f327d,secureUploadsSignatureResolver:_0x21cc35,secureUploadsExpireThreshold:_0x3b8a35}=this['ze'];if((t||_0x1f327d)&&_0x21cc35&&console['warn']('Both\x20secureSignature/secureExpire\x20and\x20secureUploadsSignatureResolver\x20are\x20set.\x20secureUploadsSignatureResolver\x20will\x20be\x20used.'),_0x21cc35){if(!this['We']||_0xa99fa8(this['We'],{'threshold':_0x3b8a35})){this['We']?this['w']('Secure\x20signature\x20is\x20expired.\x20Resolving\x20a\x20new\x20one...'):this['w']('Secure\x20signature\x20is\x20not\x20set\x20yet.');try{let _0x24c227=await _0x21cc35();_0x24c227?_0x24c227['secureSignature']&&_0x24c227['secureExpire']?(this['w']('Secure\x20signature\x20resolved:',_0x24c227),this['w']('Secure\x20signature\x20will\x20expire\x20in',new Date(0x3e8*Number(_0x24c227['secureExpire']))['toISOString']()),this['We']=_0x24c227):console['error']('Secure\x20signature\x20resolver\x20returned\x20an\x20invalid\x20result:',_0x24c227):(this['w']('Secure\x20signature\x20resolver\x20returned\x20nothing.'),this['We']=null);}catch(_0x49cf91){console['error']('Secure\x20signature\x20resolving\x20failed.\x20Falling\x20back\x20to\x20the\x20previous\x20one.',_0x49cf91),this['i']['telemetryManager']['sendEventError'](_0x49cf91,'secureUploadsSignatureResolver.\x20Secure\x20signature\x20resolving\x20failed.\x20Falling\x20back\x20to\x20the\x20previous\x20one.');}}return this['We'];}return t&&_0x1f327d?(this['w']('Secure\x20signature\x20and\x20expire\x20are\x20set.\x20Using\x20them...',{'secureSignature':t,'secureExpire':_0x1f327d}),{'secureSignature':t,'secureExpire':_0x1f327d}):null;}['destroy'](){super['destroy'](),this['We']=null;}},_0x23b3ff=(_0x2300e9,_0x437c72)=>{if(_0x2300e9['failedCount']>0x0)return{'type':'SOME_FILES_HAS_ERRORS','message':_0x437c72['l10n']('some-files-were-not-uploaded')};},_0x344d6e=(_0x476c3d,_0x554da2)=>{let t=_0x476c3d['totalCount'],_0x7cdc47=_0x554da2['cfg']['multiple']?_0x554da2['cfg']['multipleMin']:0x0,_0x5ca18c=_0x554da2['cfg']['multiple']?_0x554da2['cfg']['multipleMax']:0x1;return _0x7cdc47&&t<_0x7cdc47?{'type':'TOO_FEW_FILES','message':_0x554da2['l10n']('files-count-limit-error-too-few',{'min':_0x7cdc47,'max':_0x5ca18c,'total':t}),'payload':{'total':t,'min':_0x7cdc47,'max':_0x5ca18c}}:_0x5ca18c&&t>_0x5ca18c?{'type':'TOO_MANY_FILES','message':_0x554da2['l10n']('files-count-limit-error-too-many',{'min':_0x7cdc47,'max':_0x5ca18c,'total':t}),'payload':{'total':t,'min':_0x7cdc47,'max':_0x5ca18c}}:void 0x0;},ts=(_0x3486d0,_0x55862f)=>{let t=_0x55862f['cfg']['imgOnly'],_0x5359b5=_0x55862f['cfg']['accept'],_0x318c77=_0x2f393e([...t?_0x266d69:[],_0x5359b5]);if(!_0x318c77['length'])return;let _0x179214=_0x3486d0['mimeType'],_0x5de07b=_0x3486d0['name'];if(!_0x179214||!_0x5de07b)return;let _0x3743e6=_0xd9a4c7(_0x179214,_0x318c77),_0x5c1eb2=_0x5dc6a2(_0x5de07b,_0x318c77);return _0x3743e6||_0x5c1eb2?void 0x0:{'type':'FORBIDDEN_FILE_TYPE','message':_0x55862f['l10n']('file-type-not-allowed'),'payload':{'entry':_0x3486d0}};},_0x2fd2ad=(_0x46b254,_0xa4dacd)=>{let t=_0xa4dacd['cfg']['imgOnly'],_0x3ed4aa=_0x46b254['isImage'];if(t&&!_0x3ed4aa&&(_0x46b254['fileInfo']||!_0x46b254['externalUrl'])&&(_0x46b254['fileInfo']||_0x46b254['mimeType']))return{'type':'NOT_AN_IMAGE','message':_0xa4dacd['l10n']('images-only-accepted'),'payload':{'entry':_0x46b254}};},Dt=0x3e8,_0x59c301=Object['freeze']({'AUTO':'auto','BYTE':'byte','KB':'kb','MB':'mb','GB':'gb','TB':'tb','PB':'pb'}),_0x4c2719=_0x176c95=>Math['ceil'](0x64*_0x176c95)/0x64,_0x4484eb=(_0x1d1bd1,_0x51fce5=_0x59c301['AUTO'])=>{let t=_0x51fce5===_0x59c301['AUTO'];if(_0x51fce5===_0x59c301['BYTE']||t&&_0x1d1bd1<Dt**0x1)return _0x1d1bd1+'\x20'+('one'===_0x251e83('en-US',_0x1d1bd1)?'byte':'bytes');return _0x51fce5===_0x59c301['KB']||t&&_0x1d1bd1<Dt**0x2?_0x4c2719(_0x1d1bd1/Dt**0x1)+'\x20KB':_0x51fce5===_0x59c301['MB']||t&&_0x1d1bd1<Dt**0x3?_0x4c2719(_0x1d1bd1/Dt**0x2)+'\x20MB':_0x51fce5===_0x59c301['GB']||t&&_0x1d1bd1<Dt**0x4?_0x4c2719(_0x1d1bd1/Dt**0x3)+'\x20GB':_0x51fce5===_0x59c301['TB']||t&&_0x1d1bd1<Dt**0x5?_0x4c2719(_0x1d1bd1/Dt**0x4)+'\x20TB':_0x4c2719(_0x1d1bd1/Dt**0x5)+'\x20PB';},_0x5a4e3b=(_0x57f6bc,_0x19d684)=>{let t=_0x19d684['cfg']['maxLocalFileSizeBytes'],_0xc202d2=_0x57f6bc['size'];if(t&&_0xc202d2&&_0xc202d2>t)return{'type':'FILE_SIZE_EXCEEDED','message':_0x19d684['l10n']('files-max-size-limit-error',{'maxFileSize':_0x4484eb(t)}),'payload':{'entry':_0x57f6bc}};},_0x15ed65=(_0x3abb90,_0x42cf53)=>{let {internalId:t}=_0x3abb90;if(!_0x42cf53['v']['hasItem'](t))return;let _0x16b70a=_0x42cf53['v']['read'](t)?.['getValue']('uploadError');if(!_0x16b70a)return;if(_0x16b70a instanceof st)return{'type':'UPLOAD_ERROR','message':_0x16b70a['message'],'payload':{'entry':_0x3abb90,'error':_0x16b70a}};if(_0x16b70a instanceof _0x172e67)return{'type':'NETWORK_ERROR','message':_0x16b70a['message'],'payload':{'entry':_0x3abb90,'error':_0x16b70a}};let _0x3e6841=_0x16b70a instanceof Error?_0x16b70a:new Error('Unknown\x20error',{'cause':_0x16b70a});return{'type':'UNKNOWN_ERROR','message':_0x3e6841['message'],'payload':{'entry':_0x3abb90,'error':_0x3e6841}};},_0x481270={'FILE_VALIDATION_FAILED':'File\x20validator\x20execution\x20has\x20failed','FILE_VALIDATION_TIMEOUT':'File\x20validator\x20execution\x20has\x20timed\x20out','COLLECTION_VALIDATION_FAILED':'Collection\x20validator\x20execution\x20has\x20failed','MISSING_ERROR_MESSAGE':'Missing\x20message.\x20We\x20recommend\x20adding\x20message:\x20value.'},_0x35e907=_0xb4e590=>'function'==typeof _0xb4e590?{'runOn':'change','validator':_0xb4e590}:_0xb4e590,_0x2227ea=class extends _0x29af01{constructor(t){super(t),this['ru']=[_0x2fd2ad,ts,_0x5a4e3b,_0x15ed65],this['ou']=[_0x344d6e,_0x23b3ff],this['St']=new _0x4d209d(0x14),this['Tn']=_0x1e9cf3(()=>{this['St']['run']();},0x1f4),this['Ie']=!0x1,this['At']=new Map();let _0x5884ee=_0x1e9cf3(()=>{this['runFileValidators']('change'),this['runCollectionValidators']();},0x0);this['addSub'](this['e']['sub'](_0x1c668c('maxLocalFileSizeBytes'),_0x5884ee)),this['addSub'](this['e']['sub'](_0x1c668c('multipleMin'),_0x5884ee)),this['addSub'](this['e']['sub'](_0x1c668c('multipleMax'),_0x5884ee)),this['addSub'](this['e']['sub'](_0x1c668c('multiple'),_0x5884ee)),this['addSub'](this['e']['sub'](_0x1c668c('imgOnly'),_0x5884ee)),this['addSub'](this['e']['sub'](_0x1c668c('accept'),_0x5884ee)),this['addSub'](this['e']['sub'](_0x1c668c('validationConcurrency'),_0x3de7e2=>{this['St']['concurrency']=_0x3de7e2;}));}get['v'](){return this['i']['uploadCollection'];}['runFileValidators'](t,_0x472263){if(this['Ie'])return;let _0x5bc423=_0x472263??this['v']['items']();for(let _0x595e4b of _0x5bc423){let _0x2d2c33=this['v']['read'](_0x595e4b);_0x2d2c33&&this['su'](_0x2d2c33,t);}}['runCollectionValidators'](){if(this['Ie'])return;let t=this['i']['api'],_0x442020=t['getOutputCollectionState'](),_0x335792=[],_0x5a0295=this['ze']['collectionValidators'];for(let _0x16d2c0 of[...this['ou'],..._0x5a0295])try{let _0x948237=_0x16d2c0(_0x442020,t);if(!_0x948237)continue;_0x948237&&(_0x335792['push'](this['En'](_0x948237)),_0x948237['message']||console['warn'](_0x481270['MISSING_ERROR_MESSAGE']));}catch(_0x51d5c1){console['warn'](_0x481270['COLLECTION_VALIDATION_FAILED'],_0x51d5c1);}this['e']['pub']('*collectionErrors',_0x335792),_0x335792['length']>0x0&&this['i']['eventEmitter']['emit'](_0x36f858['COMMON_UPLOAD_FAILED'],()=>t['getOutputCollectionState'](),{'debounce':!0x0});}['cleanupValidationForEntry'](t){let _0x23f058=this['At']['get'](t['uid']);_0x23f058&&(_0x23f058['abortController']?.['abort'](),this['At']['delete'](t['uid']));}async['su'](t,_0x2f505b){if(this['Ie'])return;let _0x428245=this['i']['api'],_0x2b6271=this['xn'](t),_0x46de23=_0x2b6271['promise']??Promise['resolve'](),_0x1bf5ba=((async()=>{if(this['Ie']||(await _0x46de23,this['Ie']))return;let _0x1a0d51=this['nu'](t,_0x2f505b);if(0x0===_0x1a0d51['length']||!this['v']['hasItem'](t['uid']))return;t['setMultipleValues']({'isQueuedForValidation':!0x0,'isValidationPending':!0x0});let _0x7d9459=_0x428245['getOutputItem'](t['uid']),_0x11c3f6=new AbortController();_0x2b6271['abortController']=_0x11c3f6;let _0x1fd108=this['ze']['validationTimeout'],_0x486be8=this['Cn'](),_0x23b377=new Set(_0x1a0d51['map'](_0x3d7a9c=>_0x3d7a9c['validator'])),_0xc1bddc=[];for(let _0x4da2ad of _0x486be8)if(!_0x23b377['has'](_0x4da2ad['validator'])){let _0x21d4bd=_0x2b6271['lastErrorThrownByValidator']['get'](_0x4da2ad['validator']);_0x21d4bd&&_0xc1bddc['push'](_0x21d4bd);}let _0x5903af=_0x1a0d51['map'](_0x515a45=>async()=>{if(this['Ie'])return;let _0x8cf3b5=setTimeout(()=>{_0x2b6271['skippedValidators']['add'](_0x515a45['validator']),_0x11c3f6['abort'](),console['warn'](_0x481270['FILE_VALIDATION_TIMEOUT']);},_0x1fd108);try{let _0x14d2c6=await _0x515a45['validator'](_0x7d9459,_0x428245,{'signal':_0x11c3f6['signal']});if(!_0x14d2c6||_0x11c3f6['signal']['aborted'])return void _0x2b6271['lastErrorThrownByValidator']['set'](_0x515a45['validator'],void 0x0);let _0x7ba6c2=this['En'](_0x14d2c6);_0x2b6271['lastErrorThrownByValidator']['set'](_0x515a45['validator'],_0x7ba6c2),_0xc1bddc['push'](_0x7ba6c2),_0x14d2c6['message']||console['warn'](_0x481270['MISSING_ERROR_MESSAGE']);}catch(_0x3fd068){_0x11c3f6['signal']['aborted']||(_0x2b6271['skippedValidators']['add'](_0x515a45['validator']),console['warn'](_0x481270['FILE_VALIDATION_FAILED'],_0x3fd068),this['i']['telemetryManager']['sendEventError'](_0x3fd068,'file\x20validator.\x20'+_0x481270['FILE_VALIDATION_FAILED']));}finally{clearTimeout(_0x8cf3b5),'change'!==_0x515a45['runOn']&&_0x2b6271['skippedValidators']['add'](_0x515a45['validator']);}});this['Tn'](),await this['St']['add'](async()=>{this['Ie']||(t['setValue']('isQueuedForValidation',!0x1),await Promise['all'](_0x5903af['map'](_0x28782a=>_0x28782a()))['catch'](()=>{}));},{'autoRun':!0x1}),_0x11c3f6['signal']['aborted']?t['setMultipleValues']({'isQueuedForValidation':!0x1,'isValidationPending':!0x1}):t['setMultipleValues']({'isValidationPending':!0x1,'isQueuedForValidation':!0x1,'errors':_0xc1bddc});})());_0x2b6271['promise']=_0x1bf5ba;try{await _0x1bf5ba;}finally{_0x2b6271['promise']===_0x1bf5ba&&(_0x2b6271['promise']=void 0x0);}}['En'](t){return{...t,'type':t['type']??'CUSTOM_ERROR'};}['xn'](t){let _0x5773a3=this['At']['get'](t['uid']);if(_0x5773a3)return _0x5773a3;let _0x254947={'abortController':void 0x0,'skippedValidators':new WeakSet(),'promise':void 0x0,'lastErrorThrownByValidator':new WeakMap()};return this['At']['set'](t['uid'],_0x254947),_0x254947;}['Cn'](){let t=this['ze']['fileValidators'];return[...this['ru'],...t]['map'](_0x35e907);}['nu'](t,_0x44d67b){let _0x4eebfd=this['xn'](t);return this['Cn']()['filter'](_0x3e731a=>!_0x4eebfd['skippedValidators']['has'](_0x3e731a['validator']))['filter'](_0x54a803=>_0x54a803['runOn']===_0x44d67b);}['destroy'](){this['Ie']=!0x0,this['Tn']['cancel']();for(let t of this['At']['values']())t['abortController']?.['abort'](),t['promise']=void 0x0;this['At']['clear']();}},_0x20ceba='[Typed\x20State]\x20Wrong\x20property\x20name:\x20',_0x3838ee=class{constructor(_0x87d39b){this['J']=ft['generateFastUid'](),this['Y']=_0x304b64['registerCtx'](_0x87d39b,this['J']);}get['uid'](){return this['J'];}['setValue'](_0x51dc97,t){this['Y']['has'](_0x51dc97)?this['Y']['read'](_0x51dc97)!==t&&this['Y']['pub'](_0x51dc97,t):console['warn'](''+_0x20ceba+String(_0x51dc97));}['setMultipleValues'](_0x4af0e8){for(let [t,_0x498098]of Object['entries'](_0x4af0e8))this['setValue'](t,_0x498098);}['getValue'](_0x83e3c8){return this['Y']['has'](_0x83e3c8)||console['warn'](''+_0x20ceba+String(_0x83e3c8)),this['Y']['read'](_0x83e3c8);}['subscribe'](_0x5c49b5,t){return this['Y']['sub'](_0x5c49b5,t);}['destroy'](){_0x304b64['deleteCtx'](this['J']);}},_0xbe1663=class _0x480fee{constructor(_0x2946b7){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']=_0x2946b7['initialValue'],this['J']=ft['generateFastUid'](),this['Y']=_0x304b64['registerCtx']({},this['J']),this['Sn']=_0x2946b7['watchList']||[];let t=Object['create'](null);this['An']=(_0x5d5f88,_0x5c8ed4)=>{this['Jt']&&window['clearTimeout'](this['Jt']),t[_0x5d5f88]||(t[_0x5d5f88]=new Set()),t[_0x5d5f88]['add'](_0x5c8ed4),this['Jt']=window['setTimeout'](()=>{0x0!==Object['keys'](t)['length']&&(this['Zi']['forEach'](_0x4c0af4=>{_0x4c0af4({...t});}),t=Object['create'](null));}),this['Mn']();},_0x2946b7['handler']&&this['observeCollection'](_0x2946b7['handler']);}static{this['au']=0x2710;}['q'](){this['ei']&&window['clearTimeout'](this['ei']),this['ei']=window['setTimeout'](()=>{let _0x23d8d3=new Set(this['mo']),t=new Set(this['fo']);this['mo']['clear'](),this['fo']['clear']();for(let _0x1711e0 of this['Yi'])_0x1711e0?.([...this['ye']],_0x23d8d3,t);this['Mn']();});}['Mn'](){0x0!==this['kt']['size']&&(this['ti']&&window['clearTimeout'](this['ti']),this['ti']=window['setTimeout'](()=>{let _0xf8276d=[...this['kt']];this['kt']['clear']();for(let t of _0xf8276d)t['destroy']();},_0x480fee['au']));}['observeCollection'](_0xd71c22){return this['Yi']['add'](_0xd71c22),this['ye']['size']>0x0&&this['q'](),()=>{this['unobserveCollection'](_0xd71c22);};}['unobserveCollection'](_0x261440){this['Yi']['delete'](_0x261440);}['add'](_0x588aad){let t=new _0x3838ee(this['kn']);for(let [_0x35a1f0,_0x526dfc]of Object['entries'](_0x588aad))t['setValue'](_0x35a1f0,_0x526dfc);return this['ye']['add'](t['uid']),this['q'](),this['Y']['add'](t['uid'],t),this['mo']['add'](t),this['Sn']['forEach'](_0x30bf07=>{this['Pe'][t['uid']]||(this['Pe'][t['uid']]=[]),this['Pe'][t['uid']]?.['push'](t['subscribe'](_0x30bf07,()=>{this['An'](_0x30bf07,t['uid']);}));}),t['uid'];}['hasItem'](_0x29ba61){return this['ye']['has'](_0x29ba61);}['read'](_0x16369e){return this['Y']['read'](_0x16369e)??null;}['readProp'](_0x26050c,t){let _0xe9c23d=this['read'](_0x26050c);if(!_0xe9c23d)throw new Error('TypedCollection#readProp:\x20Item\x20with\x20id\x20'+_0x26050c+'\x20not\x20found');return _0xe9c23d['getValue'](t);}['publishProp'](_0x4f6d37,t,_0x40b2cd){let _0x4714dd=this['read'](_0x4f6d37);if(!_0x4714dd)throw new Error('TypedCollection#publishProp:\x20Item\x20with\x20id\x20'+_0x4f6d37+'\x20not\x20found');_0x4714dd['setValue'](t,_0x40b2cd);}['remove'](_0x7820c){let t=this['read'](_0x7820c);t&&(this['fo']['add'](t),this['kt']['add'](t)),this['ye']['delete'](_0x7820c),this['q'](),this['Y']['pub'](_0x7820c,void 0x0),this['Pe'][_0x7820c]?.['forEach'](_0x3252dc=>{_0x3252dc();}),delete this['Pe'][_0x7820c];}['clearAll'](){this['ye']['forEach'](_0x58222e=>{this['remove'](_0x58222e);});}['observeProperties'](_0x1a8864){return this['Zi']['add'](_0x1a8864),()=>{this['unobserveProperties'](_0x1a8864);};}['unobserveProperties'](_0x2e2f26){this['Zi']['delete'](_0x2e2f26);}['findItems'](_0x44eed0){let t=[];return this['ye']['forEach'](_0x5b7954=>{let _0xa236b8=this['read'](_0x5b7954);_0xa236b8&&_0x44eed0(_0xa236b8)&&t['push'](_0x5b7954);}),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 _0x2eb97a of this['kt'])_0x2eb97a['destroy']();this['kt']['clear'](),_0x304b64['deleteCtx'](this['J']),this['Zi']=new Set(),this['Yi']=new Set();for(let _0xfc003c of Object['keys'](this['Pe']))this['Pe'][_0xfc003c]?.['forEach'](t=>{t();}),delete this['Pe'][_0xfc003c];}},_0x2456f2=Object['freeze']({'PHOTO':'photo','VIDEO':'video'}),Ct=Object['freeze']({'IDLE':'idle','SHOT':'shot','PLAY':'play','PAUSE':'pause','RESUME':'resume','STOP':'stop','RETAKE':'retake','ACCEPT':'accept'}),_0x5d6f82=_0x18b3c0=>({'isVideoRecordingEnabled':_0x4fa8be(_0x18b3c0['cameraModes'])['includes'](_0x2456f2['VIDEO']),'isPhotoEnabled':_0x4fa8be(_0x18b3c0['cameraModes'])['includes'](_0x2456f2['PHOTO'])}),ta=(_0x4e6a40,_0x3f89af)=>{for(let t of _0x4e6a40)if(_0x3f89af(t))return t;},_0x15bc59=(_0x55861a,_0x345a7d,{timeout:t=0x3e8,onTimeout:_0x127a2f}={})=>new Promise(_0x57fb30=>{let _0x2bf53b,_0x615d86=setTimeout(()=>{cancelAnimationFrame(_0x2bf53b),_0x127a2f?.();},t),_0x560456=()=>{for(let _0x16ec36 of _0x55861a)if(_0x345a7d(_0x16ec36))return clearTimeout(_0x615d86),void _0x57fb30(_0x16ec36);_0x2bf53b=requestAnimationFrame(_0x560456);};_0x560456();});function _0x3d4bfa(_0xea8b22,_0x3e2111){for(let t in _0x3e2111)t['includes']('-')?_0xea8b22['style']['setProperty'](t,String(_0x3e2111[t])):_0xea8b22['style'][t]=String(_0x3e2111[t]);}var _0x478c95=/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/i,_0x32c44b=new RegExp('^/?('+_0x478c95['source']+')(?:/(-/(?:[^/]+/)+)?([^/]*))?$','i'),_0x538501=({url:_0x4cdf4c,cdnBase:_0x3d81a9})=>{let t=new URL(_0x3d81a9),_0x2eae0a=new URL(_0x413bf1),_0x1ba072=new URL(_0x4cdf4c);if(t['host']!==_0x1ba072['host']&&_0x2eae0a['host']!==_0x1ba072['host'])return null;let _0x2b74c3=_0x32c44b['exec'](_0x1ba072['pathname']);if(!_0x2b74c3)return null;let [,_0x536b25,_0x4ff5dd,_0x206fbe]=_0x2b74c3;return _0x536b25?{'uuid':_0x536b25,'cdnUrlModifiers':_0x4ff5dd||'','filename':_0x206fbe||null}:null;},ut=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'}),_0x5eafc6=Object['freeze']({'MOBILE_VIDEO_CAMERA':'mobile-video-camera','MOBILE_PHOTO_CAMERA':'mobile-photo-camera'}),_0x298b3b=Object['freeze']({'LOCAL':'local','DROP_AREA':'drop-area','CAMERA':'camera','EXTERNAL':'external','API':'js-api','URL':'url',..._0x5eafc6,...ut}),_0x47ca16={[ut['DROPBOX_CHOOSER']]:ut['DROPBOX']},_0x40cfdc=_0x327187=>_0x47ca16[_0x327187]??_0x327187,_0x4e0167=_0x45597f=>_0x45597f['uploadCollection']['items']()['map'](_0x1761dd=>_0x45597f['api']['getOutputItem'](_0x1761dd));function _0x418f47(_0x13509c){let _0x1cdc09=new Map();return(..._0x56c686)=>{let _0x2ee528=JSON['stringify'](_0x56c686);if(_0x1cdc09['has'](_0x2ee528))return _0x1cdc09['get'](_0x2ee528);let _0x197b6b=_0x13509c(..._0x56c686);return _0x1cdc09['set'](_0x2ee528,_0x197b6b),_0x197b6b;};}var _0x204e89=new Set();function _0x15793b(_0x22af60){_0x204e89['has'](_0x22af60)||(_0x204e89['add'](_0x22af60),console['warn'](_0x22af60));}function _0x58a77e(_0x313925){let _0x26ba82=!0x1;return setTimeout(()=>{_0x26ba82=!0x0;},0x0),_0x301137=>(..._0x3e743f)=>(_0x26ba82&&_0x15793b(_0x313925),_0x301137(..._0x3e743f));}function _0x3f6c2d(_0x35e814){let _0x27d1dd={},t=_0x35e814['ctx'],_0x449776={'progress':()=>t['read']('*commonProgress'),'errors':()=>t['read']('*collectionErrors'),'group':()=>t['read']('*groupInfo'),'totalCount':()=>_0x35e814['uploadCollection']['size'],'failedCount':()=>_0x27d1dd['failedEntries']['length'],'successCount':()=>_0x27d1dd['successEntries']['length'],'uploadingCount':()=>_0x27d1dd['uploadingEntries']['length'],'status':()=>_0x27d1dd['isFailed']?'failed':_0x27d1dd['isUploading']?'uploading':_0x27d1dd['isSuccess']?'success':'idle','isSuccess':()=>_0x27d1dd['allEntries']['length']>0x0&&0x0===_0x27d1dd['errors']['length']&&_0x27d1dd['successEntries']['length']===_0x27d1dd['allEntries']['length'],'isUploading':()=>_0x27d1dd['allEntries']['some'](_0xd5ec0d=>'uploading'===_0xd5ec0d['status']),'isFailed':()=>_0x27d1dd['errors']['length']>0x0||_0x27d1dd['failedEntries']['length']>0x0,'allEntries':()=>_0x4e0167(_0x35e814),'successEntries':()=>_0x27d1dd['allEntries']['filter'](_0x4582c5=>'success'===_0x4582c5['status']),'failedEntries':()=>_0x27d1dd['allEntries']['filter'](_0xa0c8cf=>'failed'===_0xa0c8cf['status']),'uploadingEntries':()=>_0x27d1dd['allEntries']['filter'](_0x3dab47=>'uploading'===_0x3dab47['status']),'idleEntries':()=>_0x27d1dd['allEntries']['filter'](_0x3e36f2=>'idle'===_0x3e36f2['status'])},_0x358433=_0x58a77e('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 [_0xdb2559,_0x1f97f5]of Object['entries'](_0x449776)){let _0x128a6a=_0xdb2559,_0x1c3ec9=_0x418f47(_0x358433(_0x1f97f5));Object['defineProperty'](_0x27d1dd,_0x128a6a,{'get':_0x1c3ec9,'enumerable':!0x0});}return _0x27d1dd;}var _0x20e2da=class extends _0x29af01{constructor(){super(...arguments),this['Et']=_0x5817ca(()=>this['e']),this['addFileFromUrl']=(t,{silent:_0x585e00,fileName:_0x312d6f,source:_0x38ed29}={})=>{let _0x1b198d=this['v']['add']({'externalUrl':t,'fileName':_0x312d6f??null,'silent':_0x585e00??!0x1,'source':_0x38ed29??_0x298b3b['API']});return this['getOutputItem'](_0x1b198d);},this['addFileFromUuid']=(t,{silent:_0x467c52,fileName:_0x242ce6,source:_0x290ece}={})=>{let _0x3c5c58=this['v']['add']({'uuid':t,'fileName':_0x242ce6??null,'silent':_0x467c52??!0x1,'source':_0x290ece??_0x298b3b['API']});return this['getOutputItem'](_0x3c5c58);},this['addFileFromCdnUrl']=(t,{silent:_0x3903de,fileName:_0x16174a,source:_0x2c3c7d}={})=>{let _0x37e759=_0x538501({'url':t,'cdnBase':this['cfg']['cdnCname']});if(!_0x37e759)throw new Error('Invalid\x20CDN\x20URL');let _0xe6a62e=this['v']['add']({'uuid':_0x37e759['uuid'],'cdnUrl':t,'cdnUrlModifiers':_0x37e759['cdnUrlModifiers'],'fileName':_0x16174a??_0x37e759['filename']??null,'silent':_0x3903de??!0x1,'source':_0x2c3c7d??_0x298b3b['API']});return this['getOutputItem'](_0xe6a62e);},this['addFileFromObject']=(t,{silent:_0x43f53b,fileName:_0x5bd385,source:_0x34c96d,fullPath:_0x424481}={})=>{let _0x2a225c=this['v']['add']({'file':t,'isImage':_0x35c319(t),'mimeType':t['type']||null,'fileName':_0x5bd385??t['name'],'fileSize':t['size'],'silent':_0x43f53b??!0x1,'source':_0x34c96d??_0x298b3b['API'],'fullPath':_0x424481??null});return this['getOutputItem'](_0x2a225c);},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'](_0x4246c2=>{let _0x105304=this['v']['read'](_0x4246c2);return!!_0x105304&&!(_0x105304['getValue']('isRemoved')||_0x105304['getValue']('isUploading')||_0x105304['getValue']('fileInfo')||0x0!==_0x105304['getValue']('errors')['length']||_0x105304['getValue']('isValidationPending')||_0x105304['getValue']('isQueuedForValidation'));});0x0!==t['length']&&(this['e']['pub']('*uploadTrigger',new Set(t)),this['i']['eventEmitter']['emit'](_0x36f858['COMMON_UPLOAD_START'],this['getOutputCollectionState']()));},this['openSystemDialog']=(t={})=>{let _0x9e304=Ht(_0x2f393e([this['cfg']['accept']??'',...this['cfg']['imgOnly']?_0x266d69:[]])),_0x35f5b0='uploadcare-file-input',_0x29b289=document['createElement']('input');if(_0x29b289['setAttribute'](_0x35f5b0,''),_0x3d4bfa(_0x29b289,{'opacity':0x0,'height':0x0,'width':0x0,'visibility':'hidden','position':'absolute','top':0x0,'left':0x0}),_0x29b289['type']='file',_0x29b289['multiple']=this['cfg']['multiple'],t['captureCamera']){_0x29b289['capture']=this['cfg']['cameraCapture'];let {isPhotoEnabled:_0x357bcf,isVideoRecordingEnabled:_0x36a7aa}=_0x5d6f82(this['cfg']);t['modeCamera']===_0x2456f2['PHOTO']&&_0x357bcf?_0x29b289['accept']=_0x4c4fe1:t['modeCamera']===_0x2456f2['VIDEO']&&_0x36a7aa?_0x29b289['accept']=_0x5dffa0:_0x29b289['accept']=[_0x4c4fe1,_0x36a7aa&&_0x5dffa0]['filter'](Boolean)['join'](',');}else _0x29b289['accept']=_0x9e304;_0x29b289['addEventListener']('change',()=>{_0x29b289['files']&&([..._0x29b289['files']]['forEach'](_0x4abea0=>{this['addFileFromObject'](_0x4abea0,{'source':t['captureCamera']?_0x298b3b['CAMERA']:_0x298b3b['LOCAL']});}),this['e']['pub']('*currentActivity',_0x59623d['UPLOAD_LIST']),this['i']['modalManager']?.['open'](_0x59623d['UPLOAD_LIST']),_0x29b289['remove']());},{'once':!0x0}),document['querySelectorAll']('['+_0x35f5b0+']')['forEach'](_0x272272=>{_0x272272['remove']();}),document['body']['appendChild'](_0x29b289),_0x29b289['dispatchEvent'](new MouseEvent('click'));},this['initFlow']=(t=!0x1)=>{if(this['v']['size']>0x0&&!t)this['e']['pub']('*currentActivity',_0x59623d['UPLOAD_LIST']),this['i']['modalManager']?.['open'](_0x59623d['UPLOAD_LIST']);else{if(0x1===this['On']?.['length']){let _0x455a1f=this['On'][0x0];this['go']()['then'](()=>{let _0x554526=this['i']['pluginManager']['snapshot']()['sources'],_0x2d9f50=_0x554526['find'](_0x2d36f9=>_0x2d36f9['id']===_0x455a1f);if(_0x2d9f50){let _0x3acc43=_0x2d9f50['expand']?.()??[_0x455a1f];return void(0x1===_0x3acc43['length']?(_0x554526['find'](_0x4a74fd=>_0x4a74fd['id']===_0x3acc43[0x0])??_0x2d9f50)['onSelect']():(this['e']['pub']('*currentActivity',_0x59623d['START_FROM']),this['i']['modalManager']?.['open'](_0x59623d['START_FROM'])));}this['e']['read']('*currentActivity')&&this['i']['modalManager']?.['open'](this['e']['read']('*currentActivity'));});}else this['e']['pub']('*currentActivity',_0x59623d['START_FROM']),this['i']['modalManager']?.['open'](_0x59623d['START_FROM']);}},this['doneFlow']=()=>{let t=ta(this['i']['blocksRegistry'],_0x15d5da=>'doneActivity'in _0x15d5da);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,..._0x1e7dda)=>{this['go']()['then'](()=>{this['e']['pub']('*currentActivityParams',_0x1e7dda[0x0]??{}),this['e']['pub']('*currentActivity',t),_0x15bc59(this['i']['blocksRegistry'],_0x4205bb=>_0x4205bb['activityType']===t,{'onTimeout':()=>console['warn']('Activity\x20type\x20\x22'+t+'\x22\x20not\x20found\x20in\x20the\x20context'),'timeout':0x64});});},this['on']=(t,_0x1bfe68)=>this['i']['eventEmitter']['on'](t,_0x1bfe68),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 _0x3643c4=this['e']['read']('*currentActivity');if(_0x3643c4)return _0x15bc59(this['i']['blocksRegistry'],_0x361a76=>_0x361a76['activityType']===_0x3643c4,{'onTimeout':()=>console['warn']('Activity\x20block\x20\x22'+_0x3643c4+'\x22\x20not\x20found\x20in\x20the\x20context')})['then'](()=>{this['i']['modalManager']?.['open'](_0x3643c4);});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 _0x4795e4=_0x304b64['getCtx'](t);if(!_0x4795e4)throw new Error('UploaderPublicApi#getOutputItem:\x20Entry\x20with\x20ID\x20\x22'+t+'\x22\x20not\x20found\x20in\x20the\x20upload\x20collection');let _0x1f86b5=_0x4795e4['store'],_0x1918c3=_0x1f86b5['fileInfo'],_0x33375e=_0x1f86b5['isRemoved']?'removed':_0x1f86b5['errors']['length']>0x0?'failed':_0x1f86b5['fileInfo']?'success':_0x1f86b5['isUploading']?'uploading':'idle';return{'uuid':_0x1918c3?.['uuid']??_0x1f86b5['uuid']??null,'internalId':t,'name':_0x1918c3?.['originalFilename']??_0x1f86b5['fileName'],'size':_0x1918c3?.['size']??_0x1f86b5['fileSize'],'isImage':_0x1918c3?.['isImage']??_0x1f86b5['isImage'],'mimeType':_0x1918c3?.['mimeType']??_0x1f86b5['mimeType'],'file':_0x1f86b5['file'],'externalUrl':_0x1f86b5['externalUrl'],'cdnUrlModifiers':_0x1f86b5['cdnUrlModifiers'],'cdnUrl':_0x1f86b5['cdnUrl']??_0x1918c3?.['cdnUrl']??null,'fullPath':_0x1f86b5['fullPath'],'uploadProgress':_0x1f86b5['uploadProgress'],'fileInfo':_0x1918c3??null,'metadata':_0x1f86b5['metadata']??_0x1918c3?.['metadata']??null,'isSuccess':'success'===_0x33375e,'isUploading':'uploading'===_0x33375e,'isFailed':'failed'===_0x33375e,'isRemoved':'removed'===_0x33375e,'isValidationPending':_0x1f86b5['isValidationPending'],'errors':_0x1f86b5['errors'],'status':_0x33375e,'source':_0x1f86b5?.['source']};}['getOutputCollectionState'](){return _0x3f6c2d(this['i']);}async['go'](){return(await this['i']['wait']('pluginManager'))['pluginsReady']();}get['On'](){let t=[];return this['cfg']['sourceList']&&(t=_0x36e153(this['cfg']['sourceList'])),t;}},_0x133805={'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},_0x5a65b3=33.333333333333336,_0x297a94=0x1,_0x4c6626=0x18,_0x35d29c=0x6;function _0x2449ef(_0x3943aa,_0x1cbf53){for(let [t,_0x2de552]of Object['entries'](_0x1cbf53))_0x3943aa['setAttributeNS'](null,t,_0x2de552['toString']());}function vt(_0x56edaf,_0x309fcd={}){let t=document['createElementNS']('http://www.w3.org/2000/svg',_0x56edaf);return _0x2449ef(t,_0x309fcd),t;}function _0x15238d(_0x3c2850,_0x261d7d,t){let {x:_0x213802,y:_0x4d9ab5,width:_0x3a2da7,height:_0x59d8a9}=_0x3c2850,_0x3e224c=_0x261d7d['includes']('w')?0x0:0x1,_0x3db56f=_0x261d7d['includes']('n')?0x0:0x1,_0x2097d8=0x0===_0x3e224c?-0x1:0x1,_0x1d39c3=0x0===_0x3db56f?-0x1:0x1,_0x1d1a61=[_0x213802+_0x3e224c*_0x3a2da7+1.5*_0x2097d8,_0x4d9ab5+_0x3db56f*_0x59d8a9+1.5*_0x1d39c3-0x18*t*_0x1d39c3],_0x1c48b8=[_0x213802+_0x3e224c*_0x3a2da7+1.5*_0x2097d8,_0x4d9ab5+_0x3db56f*_0x59d8a9+1.5*_0x1d39c3],_0xdfc697=[_0x213802+_0x3e224c*_0x3a2da7-0x18*t*_0x2097d8+1.5*_0x2097d8,_0x4d9ab5+_0x3db56f*_0x59d8a9+1.5*_0x1d39c3];return{'d':'M\x20'+_0x1d1a61[0x0]+'\x20'+_0x1d1a61[0x1]+'\x20L\x20'+_0x1c48b8[0x0]+'\x20'+_0x1c48b8[0x1]+'\x20L\x20'+_0xdfc697[0x0]+'\x20'+_0xdfc697[0x1],'center':[_0x1c48b8[0x0],_0x1c48b8[0x1]]};}function _0x2c9fa(_0x36dae9,_0x336b6e,t){let _0x11aad9,_0x15b177,{x:_0x133237,y:_0x444e60,width:_0x35d4b4,height:_0x55fc5c}=_0x36dae9,_0x4f0c61='n'===_0x336b6e||'s'===_0x336b6e,_0x6810d7=_0x4f0c61?0.5:'w'===_0x336b6e?0x0:0x1,_0x4f27f0='w'===_0x336b6e||'e'===_0x336b6e?0.5:'n'===_0x336b6e?0x0:0x1,_0xd2cc28='w'===_0x336b6e?-0x1:'e'===_0x336b6e?0x1:0x0,_0x2c554c='n'===_0x336b6e?-0x1:'s'===_0x336b6e?0x1:0x0;return _0x4f0c61?(_0x11aad9=[_0x133237+_0x6810d7*_0x35d4b4-0x22*t/0x2,_0x444e60+_0x4f27f0*_0x55fc5c+1.5*_0x2c554c],_0x15b177=[_0x133237+_0x6810d7*_0x35d4b4+0x22*t/0x2,_0x444e60+_0x4f27f0*_0x55fc5c+1.5*_0x2c554c]):(_0x11aad9=[_0x133237+_0x6810d7*_0x35d4b4+1.5*_0xd2cc28,_0x444e60+_0x4f27f0*_0x55fc5c-0x22*t/0x2],_0x15b177=[_0x133237+_0x6810d7*_0x35d4b4+1.5*_0xd2cc28,_0x444e60+_0x4f27f0*_0x55fc5c+0x22*t/0x2]),{'d':'M\x20'+_0x11aad9[0x0]+'\x20'+_0x11aad9[0x1]+'\x20L\x20'+_0x15b177[0x0]+'\x20'+_0x15b177[0x1],'center':[(_0x11aad9[0x0]+_0x15b177[0x0])/0x2,(_0x11aad9[0x1]+_0x15b177[0x1])/0x2]};}function _0x387635(_0x4b2041){return''===_0x4b2041?'move':['e','w']['includes'](_0x4b2041)?'ew-resize':['n','s']['includes'](_0x4b2041)?'ns-resize':['nw','se']['includes'](_0x4b2041)?'nwse-resize':'nesw-resize';}function _0x51a215({rect:_0x3c790e,delta:[_0x383744,t],imageBox:_0x37e722}){return _0x4d3c62({..._0x3c790e,'x':_0x3c790e['x']+_0x383744,'y':_0x3c790e['y']+t},_0x37e722);}function _0x4d3c62(_0x55acdb,_0x54d729){let {x:t}=_0x55acdb,{y:_0x18f670}=_0x55acdb;return _0x55acdb['x']<_0x54d729['x']?t=_0x54d729['x']:_0x55acdb['x']+_0x55acdb['width']>_0x54d729['x']+_0x54d729['width']&&(t=_0x54d729['x']+_0x54d729['width']-_0x55acdb['width']),_0x55acdb['y']<_0x54d729['y']?_0x18f670=_0x54d729['y']:_0x55acdb['y']+_0x55acdb['height']>_0x54d729['y']+_0x54d729['height']&&(_0x18f670=_0x54d729['y']+_0x54d729['height']-_0x55acdb['height']),{..._0x55acdb,'x':t,'y':_0x18f670};}function _0x2d4e35({rect:_0x4d9ace,delta:_0x4e32e9,aspectRatio:t,imageBox:_0x30d5e2}){let [,_0x6cdf60]=_0x4e32e9,{y:_0x3a484e,width:_0x39e851,height:_0x143190}=_0x4d9ace;_0x3a484e+=_0x6cdf60,_0x143190-=_0x6cdf60,t&&(_0x39e851=_0x143190*t);let _0x218295=_0x4d9ace['x']+_0x4d9ace['width']/0x2-_0x39e851/0x2;return _0x3a484e<=_0x30d5e2['y']&&(_0x3a484e=_0x30d5e2['y'],_0x143190=_0x4d9ace['y']+_0x4d9ace['height']-_0x3a484e,t&&(_0x39e851=_0x143190*t,_0x218295=_0x4d9ace['x']+_0x4d9ace['width']/0x2-_0x39e851/0x2)),_0x218295<=_0x30d5e2['x']&&(_0x218295=_0x30d5e2['x'],_0x3a484e=_0x4d9ace['y']+_0x4d9ace['height']-_0x143190),_0x218295+_0x39e851>=_0x30d5e2['x']+_0x30d5e2['width']&&(_0x218295=Math['max'](_0x30d5e2['x'],_0x30d5e2['x']+_0x30d5e2['width']-_0x39e851),_0x39e851=_0x30d5e2['x']+_0x30d5e2['width']-_0x218295,t&&(_0x143190=_0x39e851/t),_0x3a484e=_0x4d9ace['y']+_0x4d9ace['height']-_0x143190),_0x143190<_0x297a94&&(_0x143190=_0x297a94,t&&(_0x39e851=_0x143190*t,_0x218295=_0x4d9ace['x']+_0x4d9ace['width']/0x2-_0x39e851/0x2),_0x3a484e=_0x4d9ace['y']+_0x4d9ace['height']-_0x143190),_0x39e851<_0x297a94&&(_0x39e851=_0x297a94,t&&(_0x143190=_0x39e851/t,_0x218295=_0x4d9ace['x']+_0x4d9ace['width']/0x2-_0x39e851/0x2),_0x3a484e=_0x4d9ace['y']+_0x4d9ace['height']-_0x143190),{'x':_0x218295,'y':_0x3a484e,'width':_0x39e851,'height':_0x143190};}function _0x23461a({rect:_0x11d5aa,delta:_0x3c56c1,aspectRatio:t,imageBox:_0xf47697}){let [_0x249e78]=_0x3c56c1,{x:_0x315e76,width:_0x2a7cf3,height:_0x167906}=_0x11d5aa;_0x315e76+=_0x249e78,_0x2a7cf3-=_0x249e78,t&&(_0x167906=_0x2a7cf3/t);let _0x1f6f5b=_0x11d5aa['y']+_0x11d5aa['height']/0x2-_0x167906/0x2;return _0x315e76<=_0xf47697['x']&&(_0x315e76=_0xf47697['x'],_0x2a7cf3=_0x11d5aa['x']+_0x11d5aa['width']-_0x315e76,t&&(_0x167906=_0x2a7cf3/t,_0x1f6f5b=_0x11d5aa['y']+_0x11d5aa['height']/0x2-_0x167906/0x2)),_0x1f6f5b<=_0xf47697['y']&&(_0x1f6f5b=_0xf47697['y'],_0x315e76=_0x11d5aa['x']+_0x11d5aa['width']-_0x2a7cf3),_0x1f6f5b+_0x167906>=_0xf47697['y']+_0xf47697['height']&&(_0x1f6f5b=Math['max'](_0xf47697['y'],_0xf47697['y']+_0xf47697['height']-_0x167906),_0x167906=_0xf47697['y']+_0xf47697['height']-_0x1f6f5b,t&&(_0x2a7cf3=_0x167906*t),_0x315e76=_0x11d5aa['x']+_0x11d5aa['width']-_0x2a7cf3),_0x167906<_0x297a94&&(_0x167906=_0x297a94,t&&(_0x2a7cf3=_0x167906*t),_0x1f6f5b=_0x11d5aa['y']+_0x11d5aa['height']/0x2-_0x167906/0x2,_0x315e76=_0x11d5aa['x']+_0x11d5aa['width']-_0x2a7cf3),_0x2a7cf3<_0x297a94&&(_0x2a7cf3=_0x297a94,t&&(_0x167906=_0x2a7cf3/t),_0x1f6f5b=_0x11d5aa['y']+_0x11d5aa['height']/0x2-_0x167906/0x2,_0x315e76=_0x11d5aa['x']+_0x11d5aa['width']-_0x2a7cf3),{'x':_0x315e76,'y':_0x1f6f5b,'width':_0x2a7cf3,'height':_0x167906};}function _0xe7e324({rect:_0x118065,delta:_0x210ca7,aspectRatio:t,imageBox:_0x1b2373}){let [,_0x1e7a5d]=_0x210ca7,{y:_0x463571,width:_0x52fe6d,height:_0x5ae25f}=_0x118065;_0x5ae25f+=_0x1e7a5d,t&&(_0x52fe6d=_0x5ae25f*t);let _0xb12003=_0x118065['x']+_0x118065['width']/0x2-_0x52fe6d/0x2;return _0x463571+_0x5ae25f>=_0x1b2373['y']+_0x1b2373['height']&&(_0x5ae25f=_0x1b2373['y']+_0x1b2373['height']-_0x463571,t&&(_0x52fe6d=_0x5ae25f*t),_0xb12003=_0x118065['x']+_0x118065['width']/0x2-_0x52fe6d/0x2),_0xb12003<=_0x1b2373['x']&&(_0xb12003=_0x1b2373['x'],_0x463571=_0x118065['y']),_0xb12003+_0x52fe6d>=_0x1b2373['x']+_0x1b2373['width']&&(_0xb12003=Math['max'](_0x1b2373['x'],_0x1b2373['x']+_0x1b2373['width']-_0x52fe6d),_0x52fe6d=_0x1b2373['x']+_0x1b2373['width']-_0xb12003,t&&(_0x5ae25f=_0x52fe6d/t),_0x463571=_0x118065['y']),_0x5ae25f<_0x297a94&&(_0x5ae25f=_0x297a94,t&&(_0x52fe6d=_0x5ae25f*t),_0xb12003=_0x118065['x']+_0x118065['width']/0x2-_0x52fe6d/0x2),_0x52fe6d<_0x297a94&&(_0x52fe6d=_0x297a94,t&&(_0x5ae25f=_0x52fe6d/t),_0xb12003=_0x118065['x']+_0x118065['width']/0x2-_0x52fe6d/0x2),{'x':_0xb12003,'y':_0x463571,'width':_0x52fe6d,'height':_0x5ae25f};}function _0x506684({rect:_0x41ef95,delta:_0x2fda73,aspectRatio:t,imageBox:_0x11c05c}){let [_0x13e93d]=_0x2fda73,{x:_0x14c9bb,width:_0x477830,height:_0x55e2ed}=_0x41ef95;_0x477830+=_0x13e93d,t&&(_0x55e2ed=_0x477830/t);let _0x55d7cc=_0x41ef95['y']+_0x41ef95['height']/0x2-_0x55e2ed/0x2;return _0x14c9bb+_0x477830>=_0x11c05c['x']+_0x11c05c['width']&&(_0x477830=_0x11c05c['x']+_0x11c05c['width']-_0x14c9bb,t&&(_0x55e2ed=_0x477830/t),_0x55d7cc=_0x41ef95['y']+_0x41ef95['height']/0x2-_0x55e2ed/0x2),_0x55d7cc<=_0x11c05c['y']&&(_0x55d7cc=_0x11c05c['y'],_0x14c9bb=_0x41ef95['x']),_0x55d7cc+_0x55e2ed>=_0x11c05c['y']+_0x11c05c['height']&&(_0x55d7cc=Math['max'](_0x11c05c['y'],_0x11c05c['y']+_0x11c05c['height']-_0x55e2ed),_0x55e2ed=_0x11c05c['y']+_0x11c05c['height']-_0x55d7cc,t&&(_0x477830=_0x55e2ed*t),_0x14c9bb=_0x41ef95['x']),_0x55e2ed<_0x297a94&&(_0x55e2ed=_0x297a94,t&&(_0x477830=_0x55e2ed*t),_0x55d7cc=_0x41ef95['y']+_0x41ef95['height']/0x2-_0x55e2ed/0x2),_0x477830<_0x297a94&&(_0x477830=_0x297a94,t&&(_0x55e2ed=_0x477830/t),_0x55d7cc=_0x41ef95['y']+_0x41ef95['height']/0x2-_0x55e2ed/0x2),{'x':_0x14c9bb,'y':_0x55d7cc,'width':_0x477830,'height':_0x55e2ed};}function _0x37a230({rect:_0x5bcbcd,delta:_0x1d3988,aspectRatio:t,imageBox:_0x5f337c}){let [_0x548184,_0x2a4cfc]=_0x1d3988,{x:_0x30d72e,y:_0x563b26,width:_0x55cef1,height:_0x4c625f}=_0x5bcbcd;return _0x30d72e+_0x548184<_0x5f337c['x']&&(_0x548184=_0x5f337c['x']-_0x30d72e),_0x563b26+_0x2a4cfc<_0x5f337c['y']&&(_0x2a4cfc=_0x5f337c['y']-_0x563b26),_0x30d72e+=_0x548184,_0x55cef1-=_0x548184,_0x563b26+=_0x2a4cfc,_0x4c625f-=_0x2a4cfc,t&&Math['abs'](_0x55cef1/_0x4c625f)>t?(_0x2a4cfc=_0x55cef1/t-_0x4c625f,_0x4c625f+=_0x2a4cfc,_0x563b26-=_0x2a4cfc,_0x563b26<=_0x5f337c['y']&&(_0x4c625f-=_0x5f337c['y']-_0x563b26,_0x55cef1=_0x4c625f*t,_0x30d72e=_0x5bcbcd['x']+_0x5bcbcd['width']-_0x55cef1,_0x563b26=_0x5f337c['y'])):t&&(_0x548184=_0x4c625f*t-_0x55cef1,_0x55cef1+=_0x548184,_0x30d72e-=_0x548184,_0x30d72e<=_0x5f337c['x']&&(_0x55cef1-=_0x5f337c['x']-_0x30d72e,_0x4c625f=_0x55cef1/t,_0x30d72e=_0x5f337c['x'],_0x563b26=_0x5bcbcd['y']+_0x5bcbcd['height']-_0x4c625f)),_0x4c625f<_0x297a94&&(_0x4c625f=_0x297a94,t&&(_0x55cef1=_0x4c625f*t),_0x30d72e=_0x5bcbcd['x']+_0x5bcbcd['width']-_0x55cef1,_0x563b26=_0x5bcbcd['y']+_0x5bcbcd['height']-_0x4c625f),_0x55cef1<_0x297a94&&(_0x55cef1=_0x297a94,t&&(_0x4c625f=_0x55cef1/t),_0x30d72e=_0x5bcbcd['x']+_0x5bcbcd['width']-_0x55cef1,_0x563b26=_0x5bcbcd['y']+_0x5bcbcd['height']-_0x4c625f),{'x':_0x30d72e,'y':_0x563b26,'width':_0x55cef1,'height':_0x4c625f};}function _0x5d4a23({rect:_0x37a868,delta:_0x30a128,aspectRatio:t,imageBox:_0x18b465}){let [_0x2163c9,_0x260467]=_0x30a128,{x:_0x4e991d,y:_0x6fbd2d,width:_0x479dfc,height:_0x4a59be}=_0x37a868;return _0x4e991d+_0x479dfc+_0x2163c9>_0x18b465['x']+_0x18b465['width']&&(_0x2163c9=_0x18b465['x']+_0x18b465['width']-_0x4e991d-_0x479dfc),_0x6fbd2d+_0x260467<_0x18b465['y']&&(_0x260467=_0x18b465['y']-_0x6fbd2d),_0x479dfc+=_0x2163c9,_0x6fbd2d+=_0x260467,_0x4a59be-=_0x260467,t&&Math['abs'](_0x479dfc/_0x4a59be)>t?(_0x260467=_0x479dfc/t-_0x4a59be,_0x4a59be+=_0x260467,_0x6fbd2d-=_0x260467,_0x6fbd2d<=_0x18b465['y']&&(_0x4a59be-=_0x18b465['y']-_0x6fbd2d,_0x479dfc=_0x4a59be*t,_0x4e991d=_0x37a868['x'],_0x6fbd2d=_0x18b465['y'])):t&&(_0x2163c9=_0x4a59be*t-_0x479dfc,_0x479dfc+=_0x2163c9,_0x4e991d+_0x479dfc>=_0x18b465['x']+_0x18b465['width']&&(_0x479dfc=_0x18b465['x']+_0x18b465['width']-_0x4e991d,_0x4a59be=_0x479dfc/t,_0x4e991d=_0x18b465['x']+_0x18b465['width']-_0x479dfc,_0x6fbd2d=_0x37a868['y']+_0x37a868['height']-_0x4a59be)),_0x4a59be<_0x297a94&&(_0x4a59be=_0x297a94,t&&(_0x479dfc=_0x4a59be*t),_0x6fbd2d=_0x37a868['y']+_0x37a868['height']-_0x4a59be),_0x479dfc<_0x297a94&&(_0x479dfc=_0x297a94,t&&(_0x4a59be=_0x479dfc/t),_0x6fbd2d=_0x37a868['y']+_0x37a868['height']-_0x4a59be),{'x':_0x4e991d,'y':_0x6fbd2d,'width':_0x479dfc,'height':_0x4a59be};}function _0x271641({rect:_0x165e9d,delta:_0x877641,aspectRatio:t,imageBox:_0x314794}){let [_0x3ec2f5,_0x420acd]=_0x877641,{x:_0x274fff,y:_0x50452e,width:_0xf3b583,height:_0x17a6cf}=_0x165e9d;return _0x274fff+_0x3ec2f5<_0x314794['x']&&(_0x3ec2f5=_0x314794['x']-_0x274fff),_0x50452e+_0x17a6cf+_0x420acd>_0x314794['y']+_0x314794['height']&&(_0x420acd=_0x314794['y']+_0x314794['height']-_0x50452e-_0x17a6cf),_0x274fff+=_0x3ec2f5,_0xf3b583-=_0x3ec2f5,_0x17a6cf+=_0x420acd,t&&Math['abs'](_0xf3b583/_0x17a6cf)>t?(_0x420acd=_0xf3b583/t-_0x17a6cf,_0x17a6cf+=_0x420acd,_0x50452e+_0x17a6cf>=_0x314794['y']+_0x314794['height']&&(_0x17a6cf=_0x314794['y']+_0x314794['height']-_0x50452e,_0xf3b583=_0x17a6cf*t,_0x274fff=_0x165e9d['x']+_0x165e9d['width']-_0xf3b583,_0x50452e=_0x314794['y']+_0x314794['height']-_0x17a6cf)):t&&(_0x3ec2f5=_0x17a6cf*t-_0xf3b583,_0xf3b583+=_0x3ec2f5,_0x274fff-=_0x3ec2f5,_0x274fff<=_0x314794['x']&&(_0xf3b583-=_0x314794['x']-_0x274fff,_0x17a6cf=_0xf3b583/t,_0x274fff=_0x314794['x'],_0x50452e=_0x165e9d['y'])),_0x17a6cf<_0x297a94&&(_0x17a6cf=_0x297a94,t&&(_0xf3b583=_0x17a6cf*t),_0x274fff=_0x165e9d['x']+_0x165e9d['width']-_0xf3b583),_0xf3b583<_0x297a94&&(_0xf3b583=_0x297a94,t&&(_0x17a6cf=_0xf3b583/t),_0x274fff=_0x165e9d['x']+_0x165e9d['width']-_0xf3b583),{'x':_0x274fff,'y':_0x50452e,'width':_0xf3b583,'height':_0x17a6cf};}function _0xfc7c69({rect:_0x167114,delta:_0x486e36,aspectRatio:t,imageBox:_0x3d766c}){let [_0x26a663,_0xd2ee4e]=_0x486e36,{x:_0x18d6b5,y:_0x4a3ac2,width:_0x45e9d1,height:_0x458aa4}=_0x167114;return _0x18d6b5+_0x45e9d1+_0x26a663>_0x3d766c['x']+_0x3d766c['width']&&(_0x26a663=_0x3d766c['x']+_0x3d766c['width']-_0x18d6b5-_0x45e9d1),_0x4a3ac2+_0x458aa4+_0xd2ee4e>_0x3d766c['y']+_0x3d766c['height']&&(_0xd2ee4e=_0x3d766c['y']+_0x3d766c['height']-_0x4a3ac2-_0x458aa4),_0x45e9d1+=_0x26a663,_0x458aa4+=_0xd2ee4e,t&&Math['abs'](_0x45e9d1/_0x458aa4)>t?(_0xd2ee4e=_0x45e9d1/t-_0x458aa4,_0x458aa4+=_0xd2ee4e,_0x4a3ac2+_0x458aa4>=_0x3d766c['y']+_0x3d766c['height']&&(_0x458aa4=_0x3d766c['y']+_0x3d766c['height']-_0x4a3ac2,_0x45e9d1=_0x458aa4*t,_0x18d6b5=_0x167114['x'],_0x4a3ac2=_0x3d766c['y']+_0x3d766c['height']-_0x458aa4)):t&&(_0x26a663=_0x458aa4*t-_0x45e9d1,_0x45e9d1+=_0x26a663,_0x18d6b5+_0x45e9d1>=_0x3d766c['x']+_0x3d766c['width']&&(_0x45e9d1=_0x3d766c['x']+_0x3d766c['width']-_0x18d6b5,_0x458aa4=_0x45e9d1/t,_0x18d6b5=_0x3d766c['x']+_0x3d766c['width']-_0x45e9d1,_0x4a3ac2=_0x167114['y'])),_0x458aa4<_0x297a94&&(_0x458aa4=_0x297a94,t&&(_0x45e9d1=_0x458aa4*t)),_0x45e9d1<_0x297a94&&(_0x45e9d1=_0x297a94,t&&(_0x458aa4=_0x45e9d1/t)),{'x':_0x18d6b5,'y':_0x4a3ac2,'width':_0x45e9d1,'height':_0x458aa4};}function _0x483690({direction:_0x861f67,..._0x36ec54}){switch(_0x861f67){case'n':return _0x2d4e35(_0x36ec54);case'w':return _0x23461a(_0x36ec54);case's':return _0xe7e324(_0x36ec54);case'e':return _0x506684(_0x36ec54);case'nw':return _0x37a230(_0x36ec54);case'ne':return _0x5d4a23(_0x36ec54);case'sw':return _0x271641(_0x36ec54);case'se':return _0xfc7c69(_0x36ec54);default:return _0x36ec54['rect'];}}function _0x47bc00(_0xf997df,[_0x403022,t]){return _0xf997df['x']<=_0x403022&&_0x403022<=_0xf997df['x']+_0xf997df['width']&&_0xf997df['y']<=t&&t<=_0xf997df['y']+_0xf997df['height'];}function _0x4b55cf(_0x183e34,_0x5638ab){return _0x183e34['x']>=_0x5638ab['x']&&_0x183e34['y']>=_0x5638ab['y']&&_0x183e34['x']+_0x183e34['width']<=_0x5638ab['x']+_0x5638ab['width']&&_0x183e34['y']+_0x183e34['height']<=_0x5638ab['y']+_0x5638ab['height'];}function _0x380513(_0x9cc7b7,_0x29f4a8){return Math['abs'](_0x9cc7b7['width']/_0x9cc7b7['height']-_0x29f4a8)<0.1;}function _0x2e0f17({width:_0x5c4853,height:_0x45e810},t){let _0x1467b8=t/0x5a%0x2!=0x0;return{'width':_0x1467b8?_0x45e810:_0x5c4853,'height':_0x1467b8?_0x5c4853:_0x45e810};}function _0x3baf60(_0x407d6e,_0x4f9943,t){let _0x17d245,_0x4f9d90;_0x407d6e/_0x4f9943>t?(_0x17d245=Math['round'](_0x4f9943*t),_0x4f9d90=_0x4f9943):(_0x17d245=_0x407d6e,_0x4f9d90=Math['round'](_0x407d6e/t));let _0x2c6013=Math['round']((_0x407d6e-_0x17d245)/0x2),_0x48df25=Math['round']((_0x4f9943-_0x4f9d90)/0x2);return _0x2c6013+_0x17d245>_0x407d6e&&(_0x17d245=_0x407d6e-_0x2c6013),_0x48df25+_0x4f9d90>_0x4f9943&&(_0x4f9d90=_0x4f9943-_0x48df25),{'x':_0x2c6013,'y':_0x48df25,'width':_0x17d245,'height':_0x4f9d90};}function _0x369bf4(_0x4529ff){return{'x':Math['round'](_0x4529ff['x']),'y':Math['round'](_0x4529ff['y']),'width':Math['round'](_0x4529ff['width']),'height':Math['round'](_0x4529ff['height'])};}function _0xa94ece(_0x4dbb84,_0x44df0c,t){return Math['min'](Math['max'](_0x4dbb84,_0x44df0c),t);}var _0x3cc701=['free'],_0x243f76=_0x2bff2b=>{let _0x2bb9c3=_0x36e153(_0x2bff2b);if(!_0x2bb9c3||0x0===_0x2bb9c3['length'])return[];let t=[];for(let _0x579985 of _0x2bb9c3){let _0x127b70=_0x579985['trim']();if(!_0x127b70)continue;let _0x5f1339=_0x127b70['indexOf'](':');if(-0x1===_0x5f1339&&!_0x3cc701['includes'](_0x127b70)){console['warn']('Invalid\x20crop\x20preset:\x20'+_0x127b70);continue;}let _0x3ad905=Number(_0x127b70['slice'](0x0,_0x5f1339)),_0x56af48=Number(_0x127b70['slice'](_0x5f1339+0x1));!(!Number['isFinite'](_0x3ad905)||!Number['isFinite'](_0x56af48)||_0x3ad905<=0x0||_0x56af48<=0x0)||_0x3cc701['includes'](_0x127b70)?t['push']({'id':ft['generateFastUid'](),'type':'aspect-ratio','width':_0x3cc701['includes'](_0x127b70)?0x0:_0x3ad905,'height':_0x3cc701['includes'](_0x127b70)?0x0:_0x56af48,'hasFreeform':_0x3cc701['includes'](_0x127b70)}):console['warn']('Invalid\x20crop\x20preset:\x20'+_0x127b70);}return t;},_0x3bd00d=(_0x52b490,_0x4d72af,t,_0x2da05f=0.1)=>{let _0x20fd95=_0x52b490/_0x4d72af,_0x38cf68=null,_0x2d57bf=0x1/0x0;for(let _0x119ad6 of t){let [_0x11cc62,_0x3d60bd]=[_0x119ad6['width'],_0x119ad6['height']],_0x23e7ae=_0x11cc62/_0x3d60bd,_0x255db2=Math['abs'](_0x20fd95-_0x23e7ae);_0x255db2<_0x2d57bf&&(_0x2d57bf=_0x255db2,_0x38cf68=_0x119ad6);}if(_0x38cf68){let [_0x298692,_0xce9826]=[_0x38cf68['width'],_0x38cf68['height']],_0x4de1f4=_0x298692/_0xce9826;if(Math['abs'](_0x20fd95-_0x4de1f4)/_0x4de1f4>_0x2da05f)return null;}return _0x38cf68;};function _0x534621(_0x3b064b){return _0x2119b7({..._0x3b064b,'libraryName':Ut,'libraryVersion':Rt});}var _0x23bd73='active',_0x2d3912='___ACTIVITY_IS_ACTIVE___',_0x13b6ea,_0x25f837=class _0x27ed0f extends(_0x13b6ea=_0x1e5f32,_0x13b6ea){constructor(){super(...arguments),this['historyTracked']=!0x1,this['activityType']=null,this['init$']=_0x2292fa(this),this['lu']=_0x1e9cf3(this['cu']['bind'](this),0xa);}['In'](){let t=_0x27ed0f['ii']['get'](this);this[_0x2d3912]=!0x1,this['removeAttribute'](_0x23bd73),t?.['deactivateCallback']?.();}['uu'](){let t=_0x27ed0f['ii']['get'](this);this['$']['*historyBack']=this['historyBack']['bind'](this),this[_0x2d3912]=!0x0,this['setAttribute'](_0x23bd73,''),t?.['activateCallback']?.(),this['lu'](),this['emit'](_0x36f858['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[_0x2d3912]?this['In']():this['activityType']===t&&!this[_0x2d3912]&&this['uu']();}catch(_0x142a99){this['telemetryManager']['sendEventError'](_0x142a99,'activity\x20\x22'+this['activityType']+'\x22'),console['error']('Error\x20in\x20activity\x20\x22'+this['activityType']+'\x22.\x20',_0x142a99);let _0x48b9ac=this['$']['*history'][this['$']['*history']['length']-0x1];this['$']['*currentActivity']=_0x48b9ac??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']&&_0x27ed0f['ii']['has'](this);}static{this['ii']=new Map();}get['isActivityActive'](){return!!this[_0x2d3912];}get['couldOpenActivity'](){return!0x0;}['registerActivity'](t,_0x54f41b={}){let {onActivate:_0x3483f1,onDeactivate:_0x574af4}=_0x54f41b;_0x27ed0f['ii']['set'](this,{'activateCallback':_0x3483f1,'deactivateCallback':_0x574af4});}['du'](){this['isActivityActive']&&this['In'](),_0x27ed0f['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 _0x140798=t['pop']();for(;_0x140798===this['activityType'];)_0x140798=t['pop']();let _0x298e80=!!_0x140798;_0x140798&&(_0x298e80=[...this['blocksRegistry']]['find'](_0x187b77=>_0x187b77['activityType']===_0x140798)?.['couldOpenActivity']??!0x1),_0x140798=_0x298e80?_0x140798:null,this['$']['*currentActivity']=_0x140798??null,_0x140798&&this['modalManager']?.['open'](_0x140798),this['$']['*history']=t,_0x140798||this['modalManager']?.['closeAll']();}}};_0x25f837['activities']=_0x59623d;var _0x5178a7=class _0x1aef4b extends _0x25f837{constructor(){super(...arguments),this['couldBeCtxOwner']=!0x1,this['Xi']=!0x1,this['init$']=_0x5ee7ca(this),this['bo']=_0x1e9cf3(async()=>{if(this['getOutputData']()['length']!==this['uploadCollection']['size'])return;let _0x15a261=this['api']['getOutputCollectionState']();this['$']['*collectionState']=_0x15a261,this['emit'](_0x36f858['CHANGE'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}),this['cfg']['groupOutput']&&_0x15a261['totalCount']>0x0&&'success'===_0x15a261['status']&&this['gu'](_0x15a261);},0x12c),this['fu']=(t,_0x4f6c9c,_0x451d78)=>{if(this['isConnected']){(_0x4f6c9c['size']||_0x451d78['size'])&&(this['$']['*groupInfo']=null),this['validationManager']['runFileValidators']('add',[..._0x4f6c9c]['map'](_0x1a532f=>_0x1a532f['uid']));for(let _0x1fa13e of _0x4f6c9c)_0x1fa13e['getValue']('silent')||this['emit'](_0x36f858['FILE_ADDED'],this['api']['getOutputItem'](_0x1fa13e['uid'])),this['i']['wait']('pluginManager')['then'](_0xd3dee9=>_0xd3dee9['runOnAddHooks'](_0x1fa13e));this['validationManager']['runCollectionValidators']();for(let _0x2f62f9 of _0x451d78){this['$']['*uploadTrigger']['delete'](_0x2f62f9['uid']),this['validationManager']['cleanupValidationForEntry'](_0x2f62f9),_0x2f62f9['getValue']('abortController')?.['abort'](),_0x2f62f9['setMultipleValues']({'isRemoved':!0x0,'abortController':null,'isUploading':!0x1,'uploadProgress':0x0});let _0x552d7d=_0x2f62f9?.['getValue']('thumbUrl');_0x552d7d&&URL['revokeObjectURL'](_0x552d7d),this['emit'](_0x36f858['FILE_REMOVED'],this['api']['getOutputItem'](_0x2f62f9['uid']));}this['$']['*uploadList']=t['map'](_0x153abe=>({'uid':_0x153abe})),this['Un'](),this['bo']();}},this['mu']=t=>{if(!this['isConnected'])return;this['bo']();let _0x5e6ec8=this['uploadCollection'],_0x2569c5=[...new Set(Object['entries'](t)['filter'](([_0x5da249])=>['file','uploadError','fileInfo','cdnUrl','cdnUrlModifiers']['includes'](_0x5da249))['flatMap'](([,_0x54a21e])=>[..._0x54a21e]))];if(_0x2569c5['length']>0x0&&setTimeout(()=>{if(!this['isConnected'])return;let _0x4713ea=_0x2569c5['filter'](_0x373a7d=>t['fileInfo']?.['has'](_0x373a7d)&&!!_0x304b64['getCtx'](_0x373a7d)?.['store']['fileInfo']);_0x4713ea['length']>0x0&&this['validationManager']['runFileValidators']('upload',_0x4713ea),this['validationManager']['runFileValidators']('change',_0x2569c5);}),t['uploadProgress']){for(let _0x12c91b of t['uploadProgress']){let _0x2b3946=_0x304b64['getCtx'](_0x12c91b);if(!_0x2b3946)continue;let {isUploading:_0x41409f,silent:_0x9b4e91}=_0x2b3946['store'];_0x41409f&&!_0x9b4e91&&this['emit'](_0x36f858['FILE_UPLOAD_PROGRESS'],this['api']['getOutputItem'](_0x12c91b));}this['Un']();}if(t['isUploading'])for(let _0x24c7a3 of t['isUploading']){let _0x52657d=_0x304b64['getCtx'](_0x24c7a3);if(!_0x52657d)continue;let {isUploading:_0x10f2e9,silent:_0x2013b0}=_0x52657d['store'];_0x10f2e9&&!_0x2013b0&&this['emit'](_0x36f858['FILE_UPLOAD_START'],this['api']['getOutputItem'](_0x24c7a3));}if(t['fileInfo']){for(let _0x1267fb of t['fileInfo']){let _0x3dfd2c=_0x304b64['getCtx'](_0x1267fb);if(!_0x3dfd2c)continue;let {fileInfo:_0x811fba,silent:_0x4ef220}=_0x3dfd2c['store'];_0x811fba&&!_0x4ef220&&this['emit'](_0x36f858['FILE_UPLOAD_SUCCESS'],this['api']['getOutputItem'](_0x1267fb));}this['cfg']['cropPreset']&&this['vu']();}if(t['errors']){this['validationManager']['runCollectionValidators']();for(let _0x38f941 of t['errors']){let _0x13b542=_0x304b64['getCtx'](_0x38f941);if(!_0x13b542)continue;let {errors:_0x159df4}=_0x13b542['store'];_0x159df4['length']>0x0&&(this['emit'](_0x36f858['FILE_UPLOAD_FAILED'],this['api']['getOutputItem'](_0x38f941)),this['emit'](_0x36f858['COMMON_UPLOAD_FAILED'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}));}let _0x523f81=_0x5e6ec8['findItems'](_0x1ea8af=>!!_0x1ea8af['getValue']('fileInfo')),_0x2ea4ec=_0x5e6ec8['findItems'](_0x5cf74b=>_0x5cf74b['getValue']('errors')['length']>0x0);_0x5e6ec8['size']>0x0&&0x0===_0x2ea4ec['length']&&_0x5e6ec8['size']===_0x523f81['length']&&0x0===this['$']['*collectionErrors']['length']&&this['emit'](_0x36f858['COMMON_UPLOAD_SUCCESS'],this['api']['getOutputCollectionState']());}t['cdnUrl']&&([...t['cdnUrl']]['filter'](_0x19504a=>!!this['uploadCollection']['read'](_0x19504a)?.['getValue']('cdnUrl'))['forEach'](_0x58db1e=>{this['emit'](_0x36f858['FILE_URL_CHANGED'],this['api']['getOutputItem'](_0x58db1e));}),this['$']['*groupInfo']=null);},this['Un']=()=>{let t=0x0,_0x3b9a37=[...this['$']['*uploadTrigger']]['filter'](_0x5b3d56=>!!this['uploadCollection']['read'](_0x5b3d56));_0x3b9a37['forEach'](_0x2a63be=>{let _0x5b2f96=this['uploadCollection']['readProp'](_0x2a63be,'uploadProgress');'number'==typeof _0x5b2f96&&(t+=_0x5b2f96);});let _0x44b82a=_0x3b9a37['length']?Math['round'](t/_0x3b9a37['length']):0x0;this['$']['*commonProgress']!==_0x44b82a&&(this['$']['*commonProgress']=_0x44b82a,this['emit'](_0x36f858['COMMON_UPLOAD_PROGRESS'],this['api']['getOutputCollectionState']()));};}get['pu'](){return this['hasBlockInCtx'](t=>t instanceof _0x1aef4b&&(t['Xi']&&t['isConnected']&&t!==this));}['initCallback'](){super['initCallback'](),this['Z']('*uploadCollection',()=>new _0xbe1663({'initialValue':_0x133805,'watchList':['file','uploadProgress','uploadError','fileInfo','errors','cdnUrl','isUploading','isValidationPending']})),this['Z']('*secureUploadsManager',t=>new _0x495211(t)),this['Z']('*validationManager',t=>new _0x2227ea(t)),this['Z']('*publicApi',t=>new _0x20e2da(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 _0x5251ac=await this['getUploadClientOptions'](),_0x2b6d0e=t['allEntries']['map'](_0x1f17de=>_0x1f17de['uuid']+(_0x1f17de['cdnUrlModifiers']?'/'+_0x1f17de['cdnUrlModifiers']:'')),_0xb89a60=new AbortController(),_0x38935f=await _0x3bb54a(_0x2b6d0e,{..._0x5251ac,'signal':_0xb89a60['signal']});if(this['$']['*collectionState']!==t)return void _0xb89a60['abort']();this['$']['*groupInfo']=_0x38935f;let _0x3b7f41=this['api']['getOutputCollectionState']();this['emit'](_0x36f858['GROUP_CREATED'],_0x3b7f41),this['emit'](_0x36f858['CHANGE'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}),this['$']['*collectionState']=_0x3b7f41;}['vu'](){let t=_0x243f76(this['cfg']['cropPreset']);if(!t)return;let [_0x440391]=t,_0x1382bb=this['uploadCollection']['findItems'](_0x2e9bf2=>!!_0x2e9bf2['getValue']('fileInfo')&&_0x2e9bf2['getValue']('isImage')&&!_0x2e9bf2['getValue']('cdnUrlModifiers')?.['includes']('/crop/'))['map'](_0x107c7e=>this['uploadCollection']['read'](_0x107c7e))['filter'](Boolean);for(let _0x26017f of _0x1382bb){let _0x1d023a=_0x26017f['getValue']('fileInfo');if(!_0x1d023a||!_0x1d023a['imageInfo']){console['warn']('Failed\x20to\x20get\x20image\x20info\x20for\x20entry',_0x26017f['uid']);continue;}let {width:_0x2b20e8,height:_0x900e3d}=_0x1d023a['imageInfo'],_0x6119ef=_0x3baf60(_0x2b20e8,_0x900e3d,'number'==typeof _0x440391?.['width']&&'number'==typeof _0x440391?.['height']&&_0x440391['width']>0x0&&_0x440391['height']>0x0?_0x440391['width']/_0x440391['height']:0x1),_0x3ea09b=rt('crop/'+_0x6119ef['width']+'x'+_0x6119ef['height']+'/'+_0x6119ef['x']+','+_0x6119ef['y'],'preview'),_0x4d6a35=_0x26017f['getValue']('cdnUrl');_0x4d6a35?_0x26017f['setMultipleValues']({'cdnUrlModifiers':_0x3ea09b,'cdnUrl':_0x490615(_0x4d6a35,_0x3ea09b)}):console['warn']('Failed\x20to\x20get\x20cdnUrl\x20for\x20entry',_0x26017f['uid']);}}async['getMetadataFor'](t){let _0x3a0fea=this['cfg']['metadata']||void 0x0;if('function'==typeof _0x3a0fea){let _0x4a5740=this['api']['getOutputItem'](t);return await _0x3a0fea(_0x4a5740);}return _0x3a0fea;}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':_0x534621,'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 _0x4e0167(this['i']);}};_0x5178a7['extSrcList']=Object['freeze']({...ut}),_0x5178a7['sourceTypes']=Object['freeze']({..._0x298b3b});var _0x27d9fe=class extends _0x1e5f32{constructor(){super(...arguments),this['name']='',this['Qi']='',this['ri']=null,this['$n']=null;}['initCallback'](){super['initCallback'](),this['setAttribute']('aria-hidden','true'),this['subConfigValue']('iconHrefResolver',_0x1dd682=>{this['$n']=_0x1dd682,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 _0x181464=this['i']['pluginManager']?.['snapshot']()['icons']['find'](_0x443608=>_0x443608['name']===this['name']);if(_0x181464)return this['ri']=_0x181464['svg'],void(this['Qi']='');this['ri']=null;let _0x7351f4='#uc-icon-'+this['name'],_0x1f53c4=this['$n']?.(this['name']);this['Qi']=_0x1f53c4??_0x7351f4;}['render'](){return this['ri']?_0x44abcf`${this['yield']('',_0x44abcf`${_0x403cbc(this['ri'])}`)}`:_0x44abcf` ${this['yield']('',_0x44abcf`<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']();}};_0x4a98e4([_0x5a17bd({'type':String})],_0x27d9fe['prototype'],'name',0x2),_0x4a98e4([_0x12c3df()],_0x27d9fe['prototype'],'Qi',0x2),_0x4a98e4([_0x12c3df()],_0x27d9fe['prototype'],'ri',0x2);var _0x5410ae=_0x39738a=>[...new Set(_0x39738a)],_0x1c9641='--uc-img-',_0x1f617d='unresolved',_0x1e363b=!window['location']['host']['trim']()||window['location']['host']['includes'](':')||window['location']['hostname']['includes']('localhost'),_0x295d5d=0xbb8,_0x3fe30b=0x1388,_0x3d28ff=Object['freeze']({'PREVIEW':'PREVIEW','MAIN':'MAIN'}),_0x166fa4='https://ucarecdn.com',_0x1c2737=Object['freeze']({'dev-mode':{},'pubkey':{},'uuid':{},'src':{},'lazy':{'default':0x1},'intersection':{},'breakpoints':{},'cdn-cname':{'default':_0x166fa4},'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}}),_0x3c564c=class extends _0x473a43(_0x139361(Tt)){constructor(){super(),this['Mt']={},this['c']=new Map(),this['Ot']=null,this['Ji']=null;for(let t in _0x1c2737){let _0x454a99=_0x1c2737[t];this['Mt'][_0x1c9641+t]=_0x454a99?.['default']||'';}}['createRenderRoot'](){return this;}['$$'](t){return this['Mt'][_0x1c9641+t];}['set$$'](t){for(let _0x2f5d7b in t){let _0x1a4260=_0x1c9641+_0x2f5d7b,_0x42ed9e=t[_0x2f5d7b];this['Mt'][_0x1a4260]=_0x42ed9e,this['q'](_0x1a4260,_0x42ed9e);}}['sub$$'](t,_0x574b85){let _0x1397b9=_0x1c9641+t;this['c']['has'](_0x1397b9)||this['c']['set'](_0x1397b9,new Set()),this['c']['get'](_0x1397b9)?.['add'](_0x574b85);let _0x1fe0c4=this['Mt'][_0x1397b9];null!==_0x1fe0c4&&''!==_0x1fe0c4&&_0x574b85(_0x1fe0c4);}['q'](t,_0x34221b){this['c']['has'](t)&&this['c']['get'](t)?.['forEach'](_0x1caafa=>{null===_0x34221b||''===_0x34221b||_0x1caafa(_0x34221b);});}['analyticsParams'](){return'-/@clib/'+Ut+'/'+Rt+'/uc-img/';}['initAttributes'](t){Array['from'](this['attributes'])['forEach'](_0x4fd679=>{let _0xbca6f1=_0x4fd679;_0x1c2737[_0xbca6f1['name']]||t['setAttribute'](_0xbca6f1['name'],_0xbca6f1['value']);});}['initIntersection'](t,_0x5203f0){this['Ot']=new IntersectionObserver(_0x157568=>{_0x157568['forEach'](_0x4412a9=>{_0x4412a9['isIntersecting']&&(_0x5203f0(),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 _0x1c2737){let _0x139fd5=_0x1c9641+t,_0x2657f2=this['getCssData'](_0x139fd5,!0x0);null!=_0x2657f2&&(this['Mt'][_0x139fd5]=_0x2657f2);}}['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'](_0x1c2737);}['attributeChangedCallback'](t,_0x3301b4,_0x1528be){window['setTimeout'](()=>{let _0x3eca7c=_0x1c9641+t;this['Mt'][_0x3eca7c]=_0x1528be,this['q'](_0x3eca7c,_0x1528be);});}},_0x26cbc3=_0x23343f=>Object['entries'](_0x23343f)['filter'](([_0x406a4d,t])=>void 0x0!==t&&''!==t)['map'](([_0x108585,t])=>'cdn-operations'===_0x108585||'analytics'===_0x108585?t:_0x108585+'/'+t),_0x37a62c=class extends _0x3c564c{constructor(){super(...arguments),this['be']=new Image(),this['pe']=new Image();}['Dn'](t){return!t['includes']('//')&&!_0x1e363b&&(t=new URL(t,document['baseURI'])['href']),t;}['er'](t){if(!t)return;let _0x4ad715=t,_0x3076e8=_0x4ad715['match'](/\d+/)?.[0x0],_0xd19567=_0x4ad715['match'](/[a-zA-Z]+/)?.[0x0];if(!_0x3076e8||!_0xd19567)return;let _0x5b4485=parseInt(_0x3076e8,0xa);return Number(_0x5b4485)>_0x3fe30b&&this['Fn']?_0x3fe30b+_0xd19567:Number(_0x5b4485)>_0x295d5d&&!this['Fn']?_0x295d5d+_0xd19567:t;}['bu'](t,_0x2d22a0){let _0x36455f={'format':this['To']('format'),'quality':this['To']('quality'),'resize':this['er'](t),'blur':_0x2d22a0,'cdn-operations':this['To']('cdn-operations')??void 0x0,'analytics':this['analyticsParams']()};return rt(..._0x26cbc3(_0x36455f));}['To'](t){let _0x486328=this['$$'](t);if(null==_0x486328||'string'==typeof _0x486328||'number'==typeof _0x486328||'boolean'==typeof _0x486328)return _0x486328;}['re'](t='',_0x480558=''){let _0x37f083=this['$$']('src');if(_0x37f083['startsWith']('data:')||_0x37f083['startsWith']('blob:'))return _0x37f083;if(_0x1e363b&&_0x37f083&&!_0x37f083['includes']('//'))return this['oi'](_0x37f083);let _0x161e53=this['bu'](t,_0x480558),_0x1585d9=this['$$']('cdn-cname'),_0x2ec25a=_0x1585d9;if(_0x37f083['startsWith'](String(_0x1585d9)))return _0x490615(_0x37f083,_0x161e53);let _0x1f0fb9=this['$$']('uuid');if(_0x2ec25a&&_0x1f0fb9)return this['oi'](_0x490615(Jt(_0x2ec25a,_0x1f0fb9),_0x161e53));if(_0x1f0fb9)return this['oi'](_0x490615(Jt(_0x2ec25a,_0x1f0fb9),_0x161e53));let _0x39ce67=this['$$']('proxy-cname');if(_0x39ce67)return this['oi'](_0x490615(_0x39ce67,_0x161e53,this['Dn'](_0x37f083)));let _0xfe396=this['$$']('pubkey');return _0xfe396?this['oi'](_0x490615('https://'+_0xfe396+'.ucr.io/',_0x161e53,this['Dn'](_0x37f083))):void 0x0;}['oi'](t){let _0x330272=this['$$']('secure-delivery-proxy');return _0x330272?_0xd41e61(_0x330272,{'previewUrl':t},{'transform':_0x395528=>window['encodeURIComponent'](_0x395528)}):t;}['It'](t,_0x130539=0x1,_0x3926c2=!0x0){let _0xb7150a=t['getBoundingClientRect'](),_0xb11ad5=_0x130539*Math['round'](_0xb7150a['width']),_0x4eb623=_0x3926c2?'':_0x130539*Math['round'](_0xb7150a['height']);return _0xb11ad5||_0x4eb623?(_0xb11ad5||'')+'x'+(_0x4eb623||''):null;}['wu'](t){let _0xb0a51e=_0x422549=>{_0x422549['stopPropagation']();let _0x4851ec=new Event(_0x422549['type'],_0x422549);this['dispatchEvent'](_0x4851ec);},_0x1d60bc=['load','error'];for(let _0x2dee60 of _0x1d60bc)t['addEventListener'](_0x2dee60,_0xb0a51e);}get['img'](){return this['we']||(this['Eo']({'elNode':this['be']}),this['appendChild'](this['be'])),this['be'];}get['tr'](){return this['we']?{'type':_0x3d28ff['PREVIEW'],'img':this['pe']}:{'type':_0x3d28ff['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){let _0x41a8ce=_0x36e153(t);return _0x5410ae(_0x41a8ce['map'](_0x198eb1=>parseInt(_0x198eb1,0xa)));}return null;}get['Fn'](){return'jpeg'===this['$$']('format')['toLowerCase']();}['_n'](t){let _0x49e7c3=new Set();_0x49e7c3['add']('url(\x22'+this['re'](this['It'](t))+'\x22)\x201x'),this['$$']('hi-res-support')&&_0x49e7c3['add']('url(\x22'+this['re'](this['It'](t,0x2))+'\x22)\x202x'),this['$$']('ultra-res-support')&&_0x49e7c3['add']('url(\x22'+this['re'](this['It'](t,0x3))+'\x22)\x203x');let _0x270554='image-set('+[..._0x49e7c3]['join'](',\x20')+')';t['style']['setProperty']('background-image',_0x270554),t['style']['setProperty']('background-image','-webkit-'+_0x270554);}['Bn'](){let t=new Set();return this['Vn']?this['Vn']['forEach'](_0x3cb653=>{t['add'](this['re'](_0x3cb653+'x')+'\x20'+this['er'](_0x3cb653+'w')),this['$$']('hi-res-support')&&t['add'](this['re'](0x2*_0x3cb653+'x')+'\x20'+this['er'](0x2*_0x3cb653+'w')),this['$$']('ultra-res-support')&&t['add'](this['re'](0x3*_0x3cb653+'x')+'\x20'+this['er'](0x3*_0x3cb653+'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'](_0x515700=>{this['$$']('intersection')?this['initIntersection'](_0x515700,()=>{this['_n'](_0x515700);}):this['_n'](_0x515700);});}['Eu']({elNode:t,src:_0x3d7c2e,srcset:_0x378013}){_0x3d7c2e&&(t['src']=_0x3d7c2e),_0x378013&&(t['srcset']=_0x378013);}['Eo']({elNode:t}){this['wu'](t),this['initAttributes'](t);}['xo']({src:t,srcset:_0x56c308,elNode:_0x86eacc}){return new Promise((_0x6bd73c,_0x169456)=>{this['Eo']({'elNode':_0x86eacc}),_0x86eacc['setAttribute'](_0x1f617d,''),_0x86eacc['addEventListener']('load',()=>{_0x86eacc['removeAttribute'](_0x1f617d),_0x6bd73c(_0x86eacc);}),_0x86eacc['addEventListener']('error',()=>{_0x169456(!0x1);}),this['Eu']({'elNode':_0x86eacc,'src':t,'srcset':_0x56c308});});}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']();}},_0x345f18=class extends _0x37a62c{['connectedCallback'](){super['connectedCallback'](),this['sub$$']('src',()=>{this['init']();}),this['sub$$']('uuid',()=>{this['init']();}),this['sub$$']('lazy',_0x579136=>{!this['$$']('is-background-for')&&!this['$$']('is-preview-blur')&&(this['img']['loading']=_0x579136?'lazy':'eager');});}},{I:_0x22221a}=_0x8e78f8,_0xa38ca3=_0x10f520=>_0x10f520,_0x39a6ef=_0x412eab=>void 0x0===_0x412eab['strings'],_0x4ddb0a=()=>document['createComment'](''),_0x1358ea=(_0x330169,_0x3afa4b,t)=>{let _0x17348a=_0x330169['ve']['parentNode'],_0xbfa102=void 0x0===_0x3afa4b?_0x330169['yt']:_0x3afa4b['ve'];if(void 0x0===t){let _0x5c548a=_0x17348a['insertBefore'](_0x4ddb0a(),_0xbfa102),_0x709b98=_0x17348a['insertBefore'](_0x4ddb0a(),_0xbfa102);t=new _0x22221a(_0x5c548a,_0x709b98,_0x330169,_0x330169['options']);}else{let _0x34c2ff=t['yt']['nextSibling'],_0x4e08c0=t['f'],_0x3dad15=_0x4e08c0!==_0x330169;if(_0x3dad15){let _0x5a2c52;t['Cu']?.(_0x330169),t['f']=_0x330169,void 0x0!==t['Ui']&&(_0x5a2c52=_0x330169['W'])!==_0x4e08c0['W']&&t['Ui'](_0x5a2c52);}if(_0x34c2ff!==_0xbfa102||_0x3dad15){let _0x5c3fa1=t['ve'];for(;_0x5c3fa1!==_0x34c2ff;){let _0x280dc8=_0xa38ca3(_0x5c3fa1)['nextSibling'];_0xa38ca3(_0x17348a)['insertBefore'](_0x5c3fa1,_0xbfa102),_0x5c3fa1=_0x280dc8;}}}return t;},_0xe67130=(_0x17d00f,_0x51d631,t=_0x17d00f)=>(_0x17d00f['ce'](_0x51d631,t),_0x17d00f),_0x4a721e={},_0x51fd6b=(_0x55e8cc,_0x4ceb76=_0x4a721e)=>_0x55e8cc['r']=_0x4ceb76,_0x4ad114=_0x39b53b=>_0x39b53b['r'],_0x256f1a=_0x18d6bc=>{_0x18d6bc['bt'](),_0x18d6bc['ve']['remove']();},_0x50951f=(_0x16725c,_0x4bf76a)=>{let t=_0x16725c['le'];if(void 0x0===t)return!0x1;for(let _0x534754 of t)_0x534754['qs']?.(_0x4bf76a,!0x1),_0x50951f(_0x534754,_0x4bf76a);return!0x0;},_0x9ea77b=_0x54b74e=>{let _0xb90df3,t;do{if(void 0x0===(_0xb90df3=_0x54b74e['f']))break;t=_0xb90df3['le'],t['delete'](_0x54b74e),_0x54b74e=_0xb90df3;}while(0x0===t?.['size']);},_0x2a526d=_0x69f1bd=>{for(let _0x4b823c;_0x4b823c=_0x69f1bd['f'];_0x69f1bd=_0x4b823c){let t=_0x4b823c['le'];if(void 0x0===t)_0x4b823c['le']=t=new Set();else{if(t['has'](_0x69f1bd))break;}t['add'](_0x69f1bd),_0x165dc4(_0x4b823c);}};function _0x51cc04(_0x53074f){void 0x0!==this['le']?(_0x9ea77b(this),this['f']=_0x53074f,_0x2a526d(this)):this['f']=_0x53074f;}function _0x1ff30f(_0xae09e2,_0x41a97f=!0x1,t=0x0){let _0x29521e=this['r'],_0x52a877=this['le'];if(void 0x0!==_0x52a877&&0x0!==_0x52a877['size']){if(_0x41a97f){if(Array['isArray'](_0x29521e)){for(let _0x3860a2=t;_0x3860a2<_0x29521e['length'];_0x3860a2++)_0x50951f(_0x29521e[_0x3860a2],!0x1),_0x9ea77b(_0x29521e[_0x3860a2]);}else null!=_0x29521e&&(_0x50951f(_0x29521e,!0x1),_0x9ea77b(_0x29521e));}else _0x50951f(this,_0xae09e2);}}var _0x165dc4=_0x102c1d=>{_0x102c1d['type']==$t['CHILD']&&(_0x102c1d['Ui']??=_0x1ff30f,_0x102c1d['Cu']??=_0x51cc04);},_0x258e82=class extends Et{constructor(){super(...arguments),this['le']=void 0x0;}['Wr'](_0x5f48fc,t,_0x28c15c){super['Wr'](_0x5f48fc,t,_0x28c15c),_0x2a526d(this),this['isConnected']=_0x5f48fc['W'];}['qs'](_0x263fc6,t=!0x0){_0x263fc6!==this['isConnected']&&(this['isConnected']=_0x263fc6,_0x263fc6?this['reconnected']?.():this['disconnected']?.()),t&&(_0x50951f(this,_0x263fc6),_0x9ea77b(this));}['setValue'](_0x18fea3){if(_0x39a6ef(this['Wi']))this['Wi']['ce'](_0x18fea3,this);else{let t=[...this['Wi']['r']];t[this['iu']]=_0x18fea3,this['Wi']['ce'](t,this,0x0);}}['disconnected'](){}['reconnected'](){}},_0x673a48=()=>new _0x62b817(),_0x62b817=class{},_0x39b3f5=new WeakMap(),_0x141829=gt(class extends _0x258e82{['render'](_0x4139fe){return _0xf98a9a;}['update'](_0x5cdda2,[_0x1d2969]){let t=_0x1d2969!==this['G'];return t&&void 0x0!==this['G']&&this['rt'](void 0x0),(t||this['lt']!==this['ct'])&&(this['G']=_0x1d2969,this['ht']=_0x5cdda2['options']?.['host'],this['rt'](this['ct']=_0x5cdda2['element'])),_0xf98a9a;}['rt'](_0xee79cb){if(this['isConnected']||(_0xee79cb=void 0x0),'function'==typeof this['G']){let _0x74f2ac=this['ht']??globalThis,t=_0x39b3f5['get'](_0x74f2ac);void 0x0===t&&(t=new WeakMap(),_0x39b3f5['set'](_0x74f2ac,t)),void 0x0!==t['get'](this['G'])&&this['G']['call'](this['ht'],void 0x0),t['set'](this['G'],_0xee79cb),void 0x0!==_0xee79cb&&this['G']['call'](this['ht'],_0xee79cb);}else this['G']['value']=_0xee79cb;}get['lt'](){return'function'==typeof this['G']?_0x39b3f5['get'](this['ht']??globalThis)?.['get'](this['G']):this['G']?.['value'];}['disconnected'](){this['lt']===this['ct']&&this['rt'](void 0x0);}['reconnected'](){this['rt'](this['ct']);}}),_0xf23ccd=null,_0x1ad366=class extends _0x1e5f32{constructor(){super(...arguments),this['dialogEl']=_0x673a48(),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 _0x540f7e=t['target'];_0x540f7e===this['dialogEl']['value']&&_0x540f7e===this['Co']&&this['closeDialog']();},this['si']=({id:t})=>{t===this['id']?(_0xf23ccd=t,this['show'](),this['emit'](_0x36f858['MODAL_OPEN'],{'modalId':t},{'debounce':!0x0})):this['hide']();},this['ni']=({id:t})=>{t===this['id']&&(this['hide'](),this['emit'](_0x36f858['MODAL_CLOSE'],{'modalId':t,'hasActiveModals':this['modalManager']?.['hasActiveModals']},{'debounce':!0x0}));},this['Kn']=t=>{this['hide'](),_0xf23ccd===this['id']&&this['emit'](_0x36f858['MODAL_CLOSE'],{'modalId':_0xf23ccd,'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'](_0xeff0ad['OPEN'],this['si']),this['modalManager']?.['subscribe'](_0xeff0ad['CLOSE'],this['ni']),this['modalManager']?.['subscribe'](_0xeff0ad['CLOSE_ALL'],this['Kn']);}['disconnectedCallback'](){super['disconnectedCallback'](),document['body']['style']['overflow']='',this['Co']=void 0x0,this['modalManager']?.['unsubscribe'](_0xeff0ad['OPEN'],this['si']),this['modalManager']?.['unsubscribe'](_0xeff0ad['CLOSE'],this['ni']),this['modalManager']?.['unsubscribe'](_0xeff0ad['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 _0x44abcf`<dialog ${_0x141829(this['Mu'])}>${this['yield']('')}</dialog>`;}};_0x4a98e4([_0x5a17bd({'type':Boolean,'noAccessor':!0x0})],_0x1ad366['prototype'],'strokes',0x2),_0x4a98e4([_0x5a17bd({'type':Boolean,'attribute':'block-body-scrolling','noAccessor':!0x0})],_0x1ad366['prototype'],'blockBodyScrolling',0x2);var _0x27709e=class extends _0x5178a7{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,_0x3d4bfa(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 _0x2680cc=document['createElement']('div');this['appendChild'](_0x2680cc),this['ir']=_0x2680cc;}if(!this['z']){let _0x5e76f3=this['Gn']();this['appendChild'](_0x5e76f3),this['z']=_0x5e76f3;}if(this['ir']['innerHTML']='','uploading'===t['status']||'idle'===t['status'])return this['z']['value']='',void this['z']['setCustomValidity']('');if('failed'===t['status']){let _0x57ad20=t['errors'][0x0]?.['message'];return this['z']['value']='',void this['z']['setCustomValidity'](_0x57ad20??'');}let _0x3d46cb=t['group']?t['group']:null;if(_0x3d46cb)return this['z']['value']=_0x3d46cb['cdnUrl']??'',void this['z']['setCustomValidity']('');let _0x1928b0=t['allEntries']['map'](_0x45dc8=>_0x45dc8['cdnUrl'])['filter'](_0x3ee120=>'string'==typeof _0x3ee120);if(!this['cfg']['multiple']&&0x1===_0x1928b0['length']&&_0x1928b0[0x0])return this['z']['value']=_0x1928b0[0x0],void this['z']['setCustomValidity']('');this['z']['remove'](),this['z']=null;let _0xc6efc2=new DocumentFragment();for(let _0x2c5f00 of _0x1928b0){let _0x1cdb58=document['createElement']('input');_0x1cdb58['type']='hidden',_0x1cdb58['name']=this['jn']+'[]',_0x1cdb58['value']=_0x2c5f00,_0xc6efc2['appendChild'](_0x1cdb58);}this['ir']['replaceChildren'](_0xc6efc2);},!0x1);}};_0x4a98e4([_0x5a17bd({'type':String,'noAccessor':!0x0,'attribute':'name'})],_0x27709e['prototype'],'nameAttrValue',0x2);var _0x25d45d=class extends _0x1e5f32{['initCallback'](){super['initCallback'](),this['subConfigValue']('removeCopyright',_0x4774d1=>{this['toggleAttribute']('hidden',!!_0x4774d1);});}['render'](){return _0x44abcf`<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 >`;}},_0x239d96=class extends _0x1e5f32{constructor(){super(...arguments),this['hasFileName']=!0x1,this['value']=0x0,this['visible']=!0x0,this['oe']=0x0,this['rr']=_0x673a48(),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 _0x2899b6=this['So'](this['value']);if(this['visible']){let _0x99cdb4=Math['max'](this['oe'],_0x2899b6);_0x99cdb4!==this['oe']&&(this['oe']=_0x99cdb4,this['Ao']());}else this['oe']=_0x2899b6;}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 _0x44abcf`<div ${_0x141829(this['rr'])} class="uc-fake-progress"></div><div class="uc-progress"></div>`;}};_0x4a98e4([_0x5a17bd({'type':Boolean,'noAccessor':!0x0})],_0x239d96['prototype'],'hasFileName',0x2),_0x4a98e4([_0x5a17bd({'type':Number})],_0x239d96['prototype'],'value',0x2),_0x4a98e4([_0x5a17bd({'type':Boolean,'reflect':!0x0})],_0x239d96['prototype'],'visible',0x2);var _0x5e7a19=class extends _0x5178a7{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'](_0xb8860=>this['uploadCollection']['read'](_0xb8860)?.['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 _0x44abcf`<uc-progress-bar .value=${this['Pt']} .visible=${this['he']}></uc-progress-bar>`;}};_0x4a98e4([_0x12c3df()],_0x5e7a19['prototype'],'he',0x2),_0x4a98e4([_0x12c3df()],_0x5e7a19['prototype'],'Pt',0x2);var _0xbc643f=class extends _0x1e5f32{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 _0x316f7c=t['currentTarget'];_0x316f7c&&(this['value']=_0x316f7c['value'],this['dispatchEvent'](new Event('change')));};}['render'](){return _0x44abcf`<select @change=${this['Ou']} .value=${this['value']} ?disabled=${this['disabled']}>${this['options']['map'](t=>_0x44abcf`<option value=${t['value']}>${t['text']}</option>`)}</select>`;}};_0x4a98e4([_0x5a17bd({'type':String,'attribute':!0x1})],_0xbc643f['prototype'],'value',0x2),_0x4a98e4([_0x5a17bd({'type':Boolean,'reflect':!0x0})],_0xbc643f['prototype'],'disabled',0x2),_0x4a98e4([_0x5a17bd({'type':Array,'attribute':!0x1})],_0xbc643f['prototype'],'options',0x2);var _0x1f9976=class extends _0x5178a7{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:_0xfece45,icon:_0x24bc85,id:_0x24ae32}=t;this['Oo']=_0xfece45,this['Mo']=_0x24bc85??_0x24ae32??'default';}['activate'](){this['source']&&this['source']['onClick']();}['render'](){return _0x44abcf`<button type="button" @click=${this['activate']}><uc-icon name=${this['Mo']}></uc-icon><div class="uc-txt">${this['l10n'](this['Oo'])}</div></button>`;}};_0x4a98e4([_0x5a17bd({'attribute':!0x1})],_0x1f9976['prototype'],'source',0x2),_0x4a98e4([_0x12c3df()],_0x1f9976['prototype'],'Mo',0x2),_0x4a98e4([_0x12c3df()],_0x1f9976['prototype'],'Oo',0x2);var _0x436533=class extends _0x5178a7{constructor(){super(...arguments),this['Wn']=[],this['Me']=[],this['wrap']=!0x1;}['initCallback'](){super['initCallback'](),this['subConfigValue']('sourceList',_0x1b05a4=>{this['Wn']=_0x36e153(_0x1b05a4),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 _0x416cc8=this['i']['pluginManager']?.['snapshot']()['sources']??[],_0x578448=new Map(_0x416cc8['map'](_0x98ba72=>[_0x98ba72['id'],_0x98ba72])),_0x340065=[];this['Wn']['forEach'](_0x4a70c5=>{let _0x42ced2=this['Pu'](_0x4a70c5,_0x578448);if(0x1!==_0x42ced2['length']||_0x42ced2[0x0]!==_0x4a70c5){for(let _0xa3dc99 of _0x42ced2){let _0x3be419=_0x578448['get'](_0xa3dc99);_0x3be419&&_0x340065['push'](this['Yn'](_0x3be419));}return;}let _0x2bb1db=_0x578448['get'](_0x4a70c5);_0x2bb1db&&_0x340065['push'](this['Yn'](_0x2bb1db));}),this['Me']=_0x340065;}['Pu'](t,_0x3830c7){let _0x140265=_0x3830c7['get'](t);return _0x140265?.['expand']?_0x140265['expand']():[t];}['Yn'](t){return{'id':t['id'],'label':t['label'],'icon':t['icon'],'onClick':()=>t['onSelect']()};}['render'](){return _0x44abcf`${this['Me']['map'](t=>_0x44abcf`<uc-source-btn role="listitem" .source=${t} data-source-id=${t['id']}></uc-source-btn>`)}`;}['disconnectedCallback'](){this['E']?.(),this['E']=void 0x0,super['disconnectedCallback']();}};_0x4a98e4([_0x12c3df()],_0x436533['prototype'],'Me',0x2),_0x4a98e4([_0x5a17bd({'type':Boolean,'attribute':'wrap','noAccessor':!0x0})],_0x436533['prototype'],'wrap',0x2);var _0x3c2fa5=class extends _0x1e5f32{['render'](){return _0x44abcf`<div class="uc-spinner"></div>`;}},It='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=';function _0x574547(_0x14a2a4){let _0x2ac1ca=new Image();return{'promise':new Promise((_0xaae30d,_0x506692)=>{_0x2ac1ca['src']=_0x14a2a4,_0x2ac1ca['onload']=()=>_0xaae30d(),_0x2ac1ca['onerror']=_0x5db479=>_0x506692(_0x5db479);}),'image':_0x2ac1ca,'cancel':()=>{0x0===_0x2ac1ca['naturalWidth']&&(_0x2ac1ca['src']=It);}};}function _0x50a4ef(_0xc01f29){let _0x44e71e=[];for(let _0x50b912 of _0xc01f29){let _0x3d5b60=_0x574547(_0x50b912);_0x44e71e['push'](_0x3d5b60);}let t=_0x44e71e['map'](_0x3c54bd=>_0x3c54bd['image']);return{'promise':Promise['allSettled'](_0x44e71e['map'](_0x3e8e6=>_0x3e8e6['promise'])),'images':t,'cancel':()=>{_0x44e71e['forEach'](_0x39db1f=>{_0x39db1f['cancel']();});}};}function _0x184054(_0x5ed635,_0x1f27d6=0x28){if('image/svg+xml'===_0x5ed635['type'])return URL['createObjectURL'](_0x5ed635);let t=document['createElement']('canvas'),_0x28d71c=t['getContext']('2d');if(!_0x28d71c)return Promise['reject'](new Error('Canvas\x20context\x20not\x20supported'));let _0x4dd0bc=new Image(),_0x269193=new Promise((_0x59a938,_0x124ca5)=>{_0x4dd0bc['onload']=()=>{let _0x45a240=_0x4dd0bc['height']/_0x4dd0bc['width'];_0x45a240>0x1?(t['width']=_0x1f27d6,t['height']=_0x1f27d6*_0x45a240):(t['height']=_0x1f27d6,t['width']=_0x1f27d6/_0x45a240),_0x28d71c['fillStyle']='rgb(240,\x20240,\x20240)',_0x28d71c['fillRect'](0x0,0x0,t['width'],t['height']),_0x28d71c['drawImage'](_0x4dd0bc,0x0,0x0,t['width'],t['height']),t['toBlob'](_0x5491ec=>{if(!_0x5491ec)return void _0x124ca5();let _0x6bf6e3=URL['createObjectURL'](_0x5491ec);_0x59a938(_0x6bf6e3);});},_0x4dd0bc['onerror']=_0x45bfb4=>{_0x124ca5(_0x45bfb4);};});return _0x4dd0bc['src']=URL['createObjectURL'](_0x5ed635),_0x269193;}var _0x21aa75=class extends _0x5178a7{constructor(){super(...arguments),this['or']=new Set(),this['entry']=null;}['withEntry'](t){return(..._0x40d86f)=>{let _0x169e65=this['entry'];if(_0x169e65)return t(_0x169e65,..._0x40d86f);console['warn']('No\x20entry\x20found');};}['subEntry'](t,_0x73bf60){this['withEntry']((_0x2a76e0,_0x1a0ae0,_0x57c484)=>{let _0x4391e0=_0x2a76e0['subscribe'](_0x1a0ae0,_0x4e05da=>{this['isConnected']&&_0x57c484(_0x4e05da);});this['or']['add'](_0x4391e0);})(t,_0x73bf60);}['reset'](){for(let t of this['or'])t();this['or']=new Set(),this['entry']=null;}['disconnectedCallback'](){super['disconnectedCallback'](),this['or']=new Set();}};function _0x20b7fc(_0x36d4ad){let _0x40343e=new Blob([_0x36d4ad],{'type':'image/svg+xml'});return URL['createObjectURL'](_0x40343e);}function _0x4e4a02(_0x59f83a='hsl(209,\x2021%,\x2065%)',_0xcc76d=0x20,t=0x20){return _0x20b7fc('<svg\x20width=\x22'+_0xcc76d+'\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'+_0x59f83a+'\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 _0x3968f7=0xbb8,_0x32b892=class extends _0x21aa75{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,_0x2621e9=!0x1)=>{let _0x12dc25=t['getValue']('fileInfo'),_0x2f3f5f=t['getValue']('isImage'),_0x394fe3=t['getValue']('uuid'),_0x1815b4=t['getValue']('thumbUrl'),_0x590f04=this['Ru'](_0x2621e9);if(_0x12dc25&&_0x2f3f5f&&_0x394fe3){let _0x450f69=await this['proxyUrl'](_0x490615(Jt(this['cfg']['cdnCname'],_0x394fe3),rt(t['getValue']('cdnUrlModifiers'),'stretch/off','scale_crop/'+_0x590f04+'x'+_0x590f04+'/center')));if(_0x1815b4===_0x450f69)return;let {promise:_0x509dc7}=_0x574547(_0x450f69);return void _0x509dc7['then'](()=>{t['setValue']('thumbUrl',_0x450f69),_0x1815b4?.['startsWith']('blob:')&&URL['revokeObjectURL'](_0x1815b4);})['catch'](async()=>{if(!_0x1815b4?.['startsWith']('blob:'))try{let _0x1bee16=t['getValue']('file');if(!_0x1bee16)return;let _0x52f226=await _0x184054(_0x1bee16,_0x590f04);t['setValue']('thumbUrl',_0x52f226);}catch(_0x48153f){this['telemetryManager']['sendEventError'](_0x48153f,'thumbnail\x20generation.\x20Failed\x20to\x20generate\x20thumb\x20from\x20file');let _0x377a6f=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');t['setValue']('thumbUrl',_0x4e4a02(_0x377a6f));}});}if(t['getValue']('thumbUrl'))return;let _0x52536a=t['getValue']('file');if(_0x52536a?.['type']['includes']('image'))try{let _0x5d897b=await _0x184054(_0x52536a,_0x590f04);t['setValue']('thumbUrl',_0x5d897b);}catch(_0x3e498a){this['telemetryManager']['sendEventError'](_0x3e498a,'thumbnail\x20generation.\x20Failed\x20to\x20generate\x20thumb\x20from\x20file');let _0x209a6b=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');t['setValue']('thumbUrl',_0x4e4a02(_0x209a6b));}else{let _0x3c254d=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');t['setValue']('thumbUrl',_0x4e4a02(_0x3c254d));}}),this['nr']=_0x1e9cf3(this['Jn']['bind'](this),0x64);}['Ru'](t=!0x1){t&&(this['sr']=this['getBoundingClientRect']());let _0x1e8cfc=Math['max'](parseInt(String(this?.['sr']?.['height']||0x0),0xa),parseInt(String(this?.['sr']?.['width']||0x0),0xa),this['cfg']['thumbSize']);return window['devicePixelRatio']>0x1&&(_0x1e8cfc*=window['devicePixelRatio']),Math['min'](_0x1e8cfc,_0x3968f7);}['Uu'](t,_0x5ec505){return new Promise((_0x3ba62a,_0x3835b5)=>{let _0x24e7a5=new Image();_0x24e7a5['decoding']='async';let _0x531563=()=>{_0x24e7a5&&(_0x24e7a5['onload']=null,_0x24e7a5['onerror']=null,_0x24e7a5['src']=It,_0x5ec505?.['removeEventListener']('abort',_0x467ac8),_0x24e7a5=null);},_0x467ac8=()=>{_0x531563(),_0x3835b5(new DOMException('Aborted','AbortError'));};if(_0x5ec505){if(_0x5ec505['aborted'])return void _0x467ac8();_0x5ec505['addEventListener']('abort',_0x467ac8,{'once':!0x0});}let _0x4bb20e=()=>{_0x531563(),_0x3ba62a();},_0x365ef2=_0x4bf601=>{_0x531563(),_0x3835b5(_0x4bf601);};if('function'==typeof _0x24e7a5['decode'])return _0x24e7a5['src']=t,void _0x24e7a5['decode']()['then'](_0x4bb20e)['catch'](_0x365ef2);_0x24e7a5['onload']=_0x4bb20e,_0x24e7a5['onerror']=_0x365ef2,_0x24e7a5['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 _0x4e8993=new AbortController(),_0x2c2d16={'controller':_0x4e8993,'cancel':()=>{_0x4e8993['abort'](),void 0x0!==_0x2c2d16['rafId']&&window['cancelAnimationFrame'](_0x2c2d16['rafId']);}};this['Io']=_0x2c2d16,this['Uu'](t,_0x4e8993['signal'])['then'](()=>{_0x4e8993['signal']['aborted']||(_0x2c2d16['rafId']=window['requestAnimationFrame'](()=>{_0x4e8993['signal']['aborted']||(this['Le']=t);}));})['catch'](_0x51f0c2=>{_0x4e8993['signal']['aborted']||_0x51f0c2 instanceof DOMException&&'AbortError'===_0x51f0c2['name']||console['warn']('[Thumb]\x20Failed\x20to\x20decode\x20thumbnail\x20image',_0x51f0c2);});}['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 [_0x1c4382]=t;_0x1c4382&&(this['Qn']=_0x1c4382['isIntersecting'],_0x1c4382['isIntersecting']&&(this['sr']=_0x1c4382['boundingClientRect'],this['ar'](),this['s']?.['disconnect']()),0x0===_0x1c4382['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 _0x16bbd7=this['uploadCollection']?.['read'](t);if(!_0x16bbd7||_0x16bbd7===this['entry'])return;this['reset'](),this['entry']=_0x16bbd7;let _0x527f62=()=>{this['ar']();};this['subEntry']('fileInfo',_0x50b2f1=>{_0x50b2f1?.['isImage']&&_0x527f62();}),this['subEntry']('thumbUrl',_0x22b5cf=>{this['$u'](_0x22b5cf??void 0x0);}),this['subEntry']('cdnUrlModifiers',_0x527f62),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 _0x44abcf`<div class="uc-thumb"><img class="uc-thumb__img" src=${this['Le']||It} 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>`;}};_0x4a98e4([_0x5a17bd({'type':String})],_0x32b892['prototype'],'badgeIcon',0x2),_0x4a98e4([_0x5a17bd({'attribute':!0x1})],_0x32b892['prototype'],'uid',0x2),_0x4a98e4([_0x12c3df()],_0x32b892['prototype'],'Le',0x2);var _0x554039=class extends _0x25f837{},_0x1df3a0=class extends _0x25f837{constructor(){super(...arguments),this['historyTracked']=!0x0,this['activityType']=_0x25f837['activities']['START_FROM'];}['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType']??'');}['render'](){return _0x44abcf`<div class="uc-content">${this['yield']('')}</div>`;}},_0x246a54=class extends _0x5178a7{constructor(){super(...arguments),this['ta']=null;}static{this['styleAttrs']=['uc-wgt-common'];}static{this['EventType']=_0x36f858;}['initCallback'](){super['initCallback'](),this['ta']=this['eventEmitter']['bindTarget'](this);}['disconnectedCallback'](){super['disconnectedCallback'](),this['ta']?.();}},_0x23e4dc=(_0x78af1f,_0x46a204)=>{let _0x56a172,t=!0x1,_0x1cdf61=0x0,_0x4b2238=(..._0x289212)=>{t?(_0x56a172&&clearTimeout(_0x56a172),_0x56a172=setTimeout(()=>{Date['now']()-_0x1cdf61>=_0x46a204&&(_0x78af1f(..._0x289212),_0x1cdf61=Date['now']());},Math['max'](_0x46a204-(Date['now']()-_0x1cdf61),0x0))):(_0x78af1f(..._0x289212),_0x1cdf61=Date['now'](),t=!0x0);};return Object['defineProperty'](_0x4b2238,'cancel',{'configurable':!0x1,'writable':!0x1,'enumerable':!0x1,'value':()=>{_0x56a172&&clearTimeout(_0x56a172);}}),_0x4b2238;},_0x24ef8c=(_0x2e0e7a,_0x318470,t)=>{let _0x39d095=new Map();for(let _0x1fa1ad=_0x318470;_0x1fa1ad<=t;_0x1fa1ad++)_0x39d095['set'](_0x2e0e7a[_0x1fa1ad],_0x1fa1ad);return _0x39d095;},_0x3c130a=gt(class extends Et{constructor(_0x5c48e1){if(super(_0x5c48e1),_0x5c48e1['type']!==$t['CHILD'])throw Error('repeat()\x20can\x20only\x20be\x20used\x20in\x20text\x20expressions');}['dt'](_0x113b52,_0x3c3c96,t){let _0x37c9c8;void 0x0===t?t=_0x3c3c96:void 0x0!==_0x3c3c96&&(_0x37c9c8=_0x3c3c96);let _0x8bead1=[],_0x52282d=[],_0x1c4b8a=0x0;for(let _0x2b55fd of _0x113b52)_0x8bead1[_0x1c4b8a]=_0x37c9c8?_0x37c9c8(_0x2b55fd,_0x1c4b8a):_0x1c4b8a,_0x52282d[_0x1c4b8a]=t(_0x2b55fd,_0x1c4b8a),_0x1c4b8a++;return{'values':_0x52282d,'keys':_0x8bead1};}['render'](_0x4a52c3,_0x3ea79b,t){return this['dt'](_0x4a52c3,_0x3ea79b,t)['values'];}['update'](_0x583be2,[_0x237a51,t,_0x19fda8]){let _0x4bcb80=_0x4ad114(_0x583be2),{values:_0x2447fb,keys:_0x5931fb}=this['dt'](_0x237a51,t,_0x19fda8);if(!Array['isArray'](_0x4bcb80))return this['ut']=_0x5931fb,_0x2447fb;let _0x241d0f,_0x7fa6f,_0x1c9962=this['ut']??=[],_0x399396=[],_0x2ff6e5=0x0,_0x7db7db=_0x4bcb80['length']-0x1,_0x477859=0x0,_0x2eec78=_0x2447fb['length']-0x1;for(;_0x2ff6e5<=_0x7db7db&&_0x477859<=_0x2eec78;)if(null===_0x4bcb80[_0x2ff6e5])_0x2ff6e5++;else{if(null===_0x4bcb80[_0x7db7db])_0x7db7db--;else{if(_0x1c9962[_0x2ff6e5]===_0x5931fb[_0x477859])_0x399396[_0x477859]=_0xe67130(_0x4bcb80[_0x2ff6e5],_0x2447fb[_0x477859]),_0x2ff6e5++,_0x477859++;else{if(_0x1c9962[_0x7db7db]===_0x5931fb[_0x2eec78])_0x399396[_0x2eec78]=_0xe67130(_0x4bcb80[_0x7db7db],_0x2447fb[_0x2eec78]),_0x7db7db--,_0x2eec78--;else{if(_0x1c9962[_0x2ff6e5]===_0x5931fb[_0x2eec78])_0x399396[_0x2eec78]=_0xe67130(_0x4bcb80[_0x2ff6e5],_0x2447fb[_0x2eec78]),_0x1358ea(_0x583be2,_0x399396[_0x2eec78+0x1],_0x4bcb80[_0x2ff6e5]),_0x2ff6e5++,_0x2eec78--;else{if(_0x1c9962[_0x7db7db]===_0x5931fb[_0x477859])_0x399396[_0x477859]=_0xe67130(_0x4bcb80[_0x7db7db],_0x2447fb[_0x477859]),_0x1358ea(_0x583be2,_0x4bcb80[_0x2ff6e5],_0x4bcb80[_0x7db7db]),_0x7db7db--,_0x477859++;else{if(void 0x0===_0x241d0f&&(_0x241d0f=_0x24ef8c(_0x5931fb,_0x477859,_0x2eec78),_0x7fa6f=_0x24ef8c(_0x1c9962,_0x2ff6e5,_0x7db7db)),_0x241d0f['has'](_0x1c9962[_0x2ff6e5])){if(_0x241d0f['has'](_0x1c9962[_0x7db7db])){let _0xff906=_0x7fa6f['get'](_0x5931fb[_0x477859]),_0x2277c7=void 0x0!==_0xff906?_0x4bcb80[_0xff906]:null;if(null===_0x2277c7){let _0x2d11ce=_0x1358ea(_0x583be2,_0x4bcb80[_0x2ff6e5]);_0xe67130(_0x2d11ce,_0x2447fb[_0x477859]),_0x399396[_0x477859]=_0x2d11ce;}else _0x399396[_0x477859]=_0xe67130(_0x2277c7,_0x2447fb[_0x477859]),_0x1358ea(_0x583be2,_0x4bcb80[_0x2ff6e5],_0x2277c7),_0x4bcb80[_0xff906]=null;_0x477859++;}else _0x256f1a(_0x4bcb80[_0x7db7db]),_0x7db7db--;}else _0x256f1a(_0x4bcb80[_0x2ff6e5]),_0x2ff6e5++;}}}}}}for(;_0x477859<=_0x2eec78;){let _0x23f907=_0x1358ea(_0x583be2,_0x399396[_0x2eec78+0x1]);_0xe67130(_0x23f907,_0x2447fb[_0x477859]),_0x399396[_0x477859++]=_0x23f907;}for(;_0x2ff6e5<=_0x7db7db;){let _0x35349b=_0x4bcb80[_0x2ff6e5++];null!==_0x35349b&&_0x256f1a(_0x35349b);}return this['ut']=_0x5931fb,_0x51fd6b(_0x583be2,_0x399396),it;}}),_0x1be62d=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')}),_0xdbdb7d=class _0x191a9c extends _0x21aa75{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']=_0x1e9cf3(()=>this['da'](),0x64),this['Vu']=this['withEntry'](_0x23e4dc((t,_0xe2aec6)=>{let _0xe90b3d=t['getValue']('errors')?.[0x0]?.['message']??'',_0x550d46=t['getValue']('source'),_0xd8c690=t['getValue']('externalUrl'),_0x3cfab3=_0xe2aec6===_0x1be62d['FINISHED'],_0x5ad0d8=_0xe2aec6===_0x1be62d['UPLOADING'],_0x327b20=_0xe2aec6===_0x1be62d['QUEUED_UPLOADING'],_0x538871=_0xe2aec6===_0x1be62d['QUEUED_VALIDATION'],_0x37eb7a=_0xe2aec6===_0x1be62d['VALIDATION'],_0xd51a0=t['getValue']('fileName'),_0x3bc397='';_0xe90b3d?_0x3bc397='':!_0x3cfab3&&_0xd8c690&&_0x550d46&&Object['values'](ut)['includes'](_0x550d46)&&(_0x3bc397=this['l10n']('waiting-for',{'source':this['l10n']('src-type-'+_0x40cfdc(_0x550d46))})),this['Uo']=_0x3bc397,this['Ro']=_0xe90b3d,this['ra']=_0x5ad0d8||_0x327b20||_0x538871||_0x37eb7a,this['oe']=_0x538871||_0x37eb7a?0x0:t['getValue']('uploadProgress'),this['la']=_0xd51a0?this['l10n']('a11y-file-item-status',{'fileName':_0xd51a0,'status':this['l10n'](_0xe2aec6?.['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 _0xc870a9=this['cfg']['multiple']?this['cfg']['multipleMax']:0x1;if(!(_0xc870a9&&this['uploadCollection']['size']>_0xc870a9)){t['setMultipleValues']({'isUploading':!0x0,'errors':[],'isQueuedForUploading':!0x0}),this['S']();try{let _0x462b75=new AbortController();t['setValue']('abortController',_0x462b75);let _0x4d90ae=async()=>{t['setValue']('isQueuedForUploading',!0x1);let _0x1bb151=t['getValue']('file');if(_0x1bb151 instanceof File||_0x1bb151 instanceof Blob){let _0x1a5adc=(this['i']['pluginManager']?.['snapshot']()['fileHooks']??[])['filter'](_0x4bfad1=>'beforeUpload'===_0x4bfad1['type']);for(let _0x17b701 of _0x1a5adc)try{let _0x2729fd=_0x17b701['handler']({'file':_0x1bb151,'signal':_0x462b75['signal']}),_0x1f89d0=new Promise((_0x5dbf05,_0x3d5fa8)=>setTimeout(()=>_0x3d5fa8(new Error('beforeUpload\x20hook\x20timed\x20out')),_0x17b701['timeout'])),{file:_0x3397d0}=await Promise['race']([_0x2729fd,_0x1f89d0]);_0x3397d0!==_0x1bb151&&(_0x1bb151=_0x3397d0,t['setValue']('mimeType',_0x1bb151['type']||null),t['setValue']('isImage',_0x35c319(_0x1bb151)),t['setValue']('fileSize',_0x1bb151['size']),_0x1bb151 instanceof File&&t['setValue']('fileName',_0x1bb151['name']));}catch(_0x427918){console['warn']('File\x20hook\x20\x22beforeUpload\x22\x20from\x20plugin\x20\x22'+_0x17b701['pluginId']+'\x22\x20failed',_0x427918);}}let _0x55662b=_0x1bb151||t['getValue']('externalUrl')||t['getValue']('uuid');if(!_0x55662b)throw new Error('No\x20file\x20input');let _0x3525ba={...await this['getUploadClientOptions'](),'fileName':t['getValue']('fileName')??void 0x0,'source':t['getValue']('source')??void 0x0,'onProgress':_0x50bda0=>{if(_0x50bda0['isComputable']){let _0x165991=0x64*_0x50bda0['value'];t['setValue']('uploadProgress',_0x165991);}},'signal':_0x462b75['signal'],'metadata':await this['getMetadataFor'](t['uid'])};return this['debugPrint']('upload\x20options',_0x55662b,_0x3525ba),_0x3179e9(_0x55662b,_0x3525ba);},_0x4a185e=await this['$']['*uploadQueue']['add'](_0x4d90ae);t['setMultipleValues']({'fileInfo':_0x4a185e,'isQueuedForUploading':!0x1,'isUploading':!0x1,'fileName':_0x4a185e['originalFilename'],'fileSize':_0x4a185e['size'],'isImage':_0x4a185e['isImage']??!0x1,'mimeType':_0x4a185e['contentInfo']?.['mime']?.['mime']??_0x4a185e['mimeType'],'uuid':_0x4a185e['uuid'],'cdnUrl':t['getValue']('cdnUrl')??_0x4a185e['cdnUrl'],'cdnUrlModifiers':t['getValue']('cdnUrlModifiers')??'','uploadProgress':0x64,'source':t['getValue']('source')??null}),t===this['entry']&&this['S']();}catch(_0x4f1c50){let _0x407add=_0x4f1c50 instanceof _0x46e264&&_0x4f1c50['isCancel'];_0x407add?t['setMultipleValues']({'isUploading':!0x1,'uploadProgress':0x0}):_0x4f1c50 instanceof _0x3037dc?t['setMultipleValues']({'isUploading':!0x1,'uploadProgress':0x0,'uploadError':_0x4f1c50}):(console['error']('Unknown\x20upload\x20error',_0x4f1c50),t['setMultipleValues']({'isUploading':!0x1,'uploadProgress':0x0,'uploadError':new Error('Something\x20went\x20wrong',{'cause':_0x4f1c50})})),t===this['entry']&&this['S'](),this['isConnected']&&!_0x407add&&this['telemetryManager']['sendEventError'](_0x4f1c50,'file\x20upload.\x20Failed\x20to\x20upload\x20file');}}});}['da'](){let t=this['entry'];if(!t)return;let _0x39be01=_0x1be62d['IDLE'];t['getValue']('errors')['length']>0x0?_0x39be01=_0x1be62d['FAILED']:t['getValue']('isQueuedForUploading')?_0x39be01=_0x1be62d['QUEUED_UPLOADING']:t['getValue']('isQueuedForValidation')?_0x39be01=_0x1be62d['QUEUED_VALIDATION']:t['getValue']('isValidationPending')?_0x39be01=_0x1be62d['VALIDATION']:t['getValue']('isUploading')?_0x39be01=_0x1be62d['UPLOADING']:t['getValue']('fileInfo')&&(_0x39be01=_0x1be62d['FINISHED']),this['Nu'](t,_0x39be01);}['Nu'](t,_0x232744){_0x232744===_0x1be62d['FAILED']?this['$o']='badge-error':_0x232744===_0x1be62d['FINISHED']&&(this['$o']='badge-success'),_0x232744===_0x1be62d['UPLOADING']&&(this['aa']=!0x1,this['removeAttribute']('focused')),this['sa']=_0x232744===_0x1be62d['FAILED'],this['na']=_0x232744===_0x1be62d['UPLOADING'],this['oa']=_0x232744===_0x1be62d['FINISHED'],this['Vu'](_0x232744);}['reset'](){super['reset'](),this['S']['cancel']();}['ai'](t){let [_0x4c8d02]=t;_0x4c8d02&&_0x4c8d02['isIntersecting']&&!this['ca']&&(this['ia']=!0x1,this['ca']=!0x0);}['pa'](t){this['reset']();let _0x336861=this['uploadCollection']?.['read'](t);this['entry']=_0x336861,_0x336861?(this['subEntry']('isQueuedForValidation',()=>{this['S']();}),this['subEntry']('isValidationPending',()=>{this['S']();}),this['subEntry']('uploadProgress',()=>{this['S']();}),this['subEntry']('isQueuedForUploading',()=>{this['S']();}),this['subEntry']('fileName',_0x31f052=>{this['Lo']=_0x31f052||_0x336861['getValue']('externalUrl')||this['l10n']('file-no-name'),this['S']();}),this['subEntry']('externalUrl',_0x525aec=>{this['Lo']=_0x336861['getValue']('fileName')||_0x525aec||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 _0x241cc7=t['snapshot']()['fileActions'],_0xe9cf6a=this['api']['getOutputItem'](this['uid']);this['cr']=_0xe9cf6a?_0x241cc7['filter'](_0x3c0a34=>{try{return _0x3c0a34['shouldRender'](_0xe9cf6a);}catch(_0x1dd8d5){return console['error']('Error\x20in\x20plugin\x20file\x20action\x20shouldRender\x20('+_0x3c0a34['id']+'):',_0x1dd8d5),!0x1;}}):[];}['_u'](t){if(!this['uid'])return;let _0x5a95fd=this['api']['getOutputItem'](this['uid']);if(_0x5a95fd){this['telemetryManager']['sendEvent']({'payload':{'metadata':{'event':t['id'],'node':this['tagName'],'pluginId':t['pluginId']}}});try{t['onClick'](_0x5a95fd);}catch(_0x1a51a0){console['error']('Error\x20in\x20plugin\x20file\x20action\x20onClick\x20('+t['id']+'):',_0x1a51a0);}}}['initCallback'](){super['initCallback'](),this['pa'](this['uid']),this['subConfigValue']('filesViewMode',_0x568768=>{this['ha'](this['cfg']['gridShowFileNames']),this['setAttribute']('mode',_0x568768);}),this['subConfigValue']('gridShowFileNames',_0x2094a1=>{this['ha'](_0x2094a1);}),this['onclick']=()=>{_0x191a9c['activeInstances']['forEach'](_0xa711ec=>{_0xa711ec===this?_0xa711ec['setAttribute']('focused',''):_0xa711ec['removeAttribute']('focused');});},this['sub']('*uploadTrigger',_0x1306b6=>{this['entry']&&!_0x1306b6['has'](this['entry']['uid'])||setTimeout(()=>this['isConnected']&&this['ua']());});let t=this['i']['pluginManager'];t?.['onPluginsChange']&&(this['E']=t['onPluginsChange'](()=>this['Ze']())),this['Ze'](),_0x191a9c['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'](),_0x191a9c['activeInstances']['delete'](this),this['reset']();}static{this['activeInstances']=new Set();}['shouldUpdate'](t){return!this['ia']&&super['shouldUpdate'](t);}['render'](){return _0x44abcf`<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=>_0x44abcf`<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>`;}};_0x4a98e4([_0x12c3df()],_0xdbdb7d['prototype'],'ia',0x2),_0x4a98e4([_0x5a17bd({'attribute':!0x1})],_0xdbdb7d['prototype'],'uid',0x2),_0x4a98e4([_0x12c3df()],_0xdbdb7d['prototype'],'Lo',0x2),_0x4a98e4([_0x12c3df()],_0xdbdb7d['prototype'],'Ro',0x2),_0x4a98e4([_0x12c3df()],_0xdbdb7d['prototype'],'Uo',0x2),_0x4a98e4([_0x12c3df()],_0xdbdb7d['prototype'],'oe',0x2),_0x4a98e4([_0x12c3df()],_0xdbdb7d['prototype'],'ra',0x2),_0x4a98e4([_0x12c3df()],_0xdbdb7d['prototype'],'$o',0x2),_0x4a98e4([_0x12c3df()],_0xdbdb7d['prototype'],'oa',0x2),_0x4a98e4([_0x12c3df()],_0xdbdb7d['prototype'],'sa',0x2),_0x4a98e4([_0x12c3df()],_0xdbdb7d['prototype'],'na',0x2),_0x4a98e4([_0x12c3df()],_0xdbdb7d['prototype'],'aa',0x2),_0x4a98e4([_0x12c3df()],_0xdbdb7d['prototype'],'lr',0x2),_0x4a98e4([_0x12c3df()],_0xdbdb7d['prototype'],'la',0x2),_0x4a98e4([_0x12c3df()],_0xdbdb7d['prototype'],'cr',0x2);var _0x4f5d11=_0xdbdb7d;function _0xfa1baa(_0x4f6eef){return new Promise(_0x2a7900=>{'function'!=typeof window['FileReader']&&_0x2a7900(!0x1);try{let t=new FileReader();t['onerror']=()=>{_0x2a7900(!0x0);};let _0x1c73ab=_0x2a1ac9=>{'loadend'!==_0x2a1ac9['type']&&t['abort'](),_0x2a7900(!0x1);};t['onloadend']=_0x1c73ab,t['onprogress']=_0x1c73ab,t['readAsDataURL'](_0x4f6eef);}catch{_0x2a7900(!0x1);}});}function _0x2aec46(_0x4669a6,_0x47bbe4){return new Promise(t=>{let _0x41944e=0x0,_0x51aedb=[],_0x2dedc4=_0x57d0d6=>{if(!_0x57d0d6)return console['warn']('Unexpectedly\x20received\x20empty\x20content\x20entry',{'scope':'drag-and-drop'}),void t(null);_0x57d0d6['isFile']?(_0x41944e++,_0x57d0d6['file'](_0x565a7b=>{_0x41944e--;let _0x3b0a48=new File([_0x565a7b],_0x565a7b['name'],{'type':_0x565a7b['type']||_0x47bbe4});_0x51aedb['push']({'type':'file','file':_0x3b0a48,'fullPath':_0x57d0d6['fullPath']}),0x0===_0x41944e&&t(_0x51aedb);})):_0x57d0d6['isDirectory']&&_0x3b2e9d(_0x57d0d6['createReader']());},_0x3b2e9d=_0x5c5712=>{_0x41944e++,_0x5c5712['readEntries'](_0x3adaf5=>{_0x41944e--;for(let _0x5a1896 of _0x3adaf5)_0x2dedc4(_0x5a1896);0x0===_0x41944e&&t(_0x51aedb);});};_0x2dedc4(_0x4669a6);});}function _0x2e866f(_0x112b03){let _0x5af2fb=[],t=[];for(let _0x435de3=0x0;_0x435de3<_0x112b03['items']['length'];_0x435de3++){let _0x54341f=_0x112b03['items'][_0x435de3];if(_0x54341f){if('file'===_0x54341f['kind']){let _0x3484bd=_0x54341f['type'],_0x472273=_0x54341f;if('function'==typeof _0x472273['webkitGetAsEntry']||'function'==typeof _0x472273['getAsEntry']){let _0x49a161='function'==typeof _0x472273['webkitGetAsEntry']?_0x472273['webkitGetAsEntry']():_0x472273['getAsEntry']?.();_0x49a161&&t['push'](_0x2aec46(_0x49a161,_0x3484bd)['then'](_0x3935c1=>{_0x3935c1&&_0x5af2fb['push'](..._0x3935c1);}));continue;}let _0x1b395a=_0x54341f['getAsFile']();_0x1b395a&&t['push'](_0xfa1baa(_0x1b395a)['then'](_0x1914c7=>{_0x1914c7||_0x5af2fb['push']({'type':'file','file':_0x1b395a});}));}else'string'===_0x54341f['kind']&&/^text\/uri-list/['test'](_0x54341f['type'])&&t['push'](new Promise(_0x5e583c=>{_0x54341f['getAsString'](_0x4e3f44=>{_0x5af2fb['push']({'type':'url','url':_0x4e3f44}),_0x5e583c();});}));}}return Promise['all'](t)['then'](()=>_0x5af2fb);}var nt=Object['freeze']({'ACTIVE':0x0,'INACTIVE':0x1,'NEAR':0x2,'OVER':0x3}),_0x5e176=['focus'],_0x21b4a5=0x64,_0x2d1297=new Map();function _0x2eda60(_0x50d8c1,_0x171251){let t=Math['max'](Math['min'](_0x50d8c1[0x0],_0x171251['x']+_0x171251['width']),_0x171251['x']),_0x785b86=Math['max'](Math['min'](_0x50d8c1[0x1],_0x171251['y']+_0x171251['height']),_0x171251['y']);return Math['sqrt']((_0x50d8c1[0x0]-t)*(_0x50d8c1[0x0]-t)+(_0x50d8c1[0x1]-_0x785b86)*(_0x50d8c1[0x1]-_0x785b86));}function _0x1b0d31(_0x2a757e){let _0x4dc860=0x0,t=document['body'],_0x39e75c=new Set(),_0x140100=nt['INACTIVE'],_0x89850e=_0x3f8926=>{_0x2a757e['shouldIgnore']()&&_0x3f8926!==nt['INACTIVE']||(_0x140100!==_0x3f8926&&_0x39e75c['forEach'](_0x1ac826=>{_0x1ac826(_0x3f8926);}),_0x140100=_0x3f8926);},_0x45963f=()=>_0x4dc860>0x0;var _0x24c364;_0x24c364=_0x5e8c1b=>_0x2a757e['onChange'](_0x5e8c1b),_0x39e75c['add'](_0x24c364);let _0x20a3c1=()=>{_0x4dc860=0x0,_0x89850e(nt['INACTIVE']);},_0x5b97d0=()=>{_0x4dc860+=0x1,_0x140100===nt['INACTIVE']&&_0x89850e(nt['ACTIVE']);},_0x1c5c3c=()=>{_0x4dc860-=0x1,_0x45963f()||_0x89850e(nt['INACTIVE']);},_0x2f4461=_0x53186c=>{_0x53186c['preventDefault'](),_0x4dc860=0x0,_0x89850e(nt['INACTIVE']);},_0x2cb809=_0x1ee137=>{if(_0x2a757e['shouldIgnore']())return;_0x45963f()||(_0x4dc860+=0x1);let _0x2a5b35=[_0x1ee137['x'],_0x1ee137['y']],_0x4044b9=_0x2a757e['element']['getBoundingClientRect'](),_0x383b95=Math['floor'](_0x2eda60(_0x2a5b35,_0x4044b9)),_0x4c1ca1=_0x383b95<_0x21b4a5,_0x2ed0ba=_0x1ee137['composedPath']()['includes'](_0x2a757e['element']);_0x2d1297['set'](_0x2a757e['element'],_0x383b95);let _0x3faa0a=Math['min'](..._0x2d1297['values']())===_0x383b95;_0x2ed0ba&&_0x3faa0a?(_0x1ee137['preventDefault'](),_0x89850e(nt['OVER'])):_0x89850e(_0x4c1ca1&&_0x3faa0a?nt['NEAR']:nt['ACTIVE']);},_0x35b81a=async _0x2d834d=>{if(_0x2a757e['shouldIgnore']())return;_0x2d834d['preventDefault']();let {dataTransfer:_0x44428e}=_0x2d834d;if(!_0x44428e)return;let _0xae45fd=await _0x2e866f(_0x44428e);_0x2a757e['onItems'](_0xae45fd),_0x89850e(nt['INACTIVE']);};return t['addEventListener']('drop',_0x2f4461),t['addEventListener']('dragleave',_0x1c5c3c),t['addEventListener']('dragenter',_0x5b97d0),t['addEventListener']('dragover',_0x2cb809),_0x2a757e['element']['addEventListener']('drop',_0x35b81a),_0x5e176['forEach'](_0xc6cd7e=>{window['addEventListener'](_0xc6cd7e,_0x20a3c1);}),()=>{_0x2d1297['delete'](_0x2a757e['element']),t['removeEventListener']('drop',_0x2f4461),t['removeEventListener']('dragleave',_0x1c5c3c),t['removeEventListener']('dragenter',_0x5b97d0),t['removeEventListener']('dragover',_0x2cb809),_0x2a757e['element']['removeEventListener']('drop',_0x35b81a),_0x5e176['forEach'](_0x12b759=>{window['removeEventListener'](_0x12b759,_0x20a3c1);});};}var _0x2226c3=new Set(),dt=class extends _0x5178a7{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']=_0x673a48(),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'](),_0x48bf68=t['width']>0x0&&t['height']>0x0,_0x5cd590=t['top']>=0x0&&t['left']>=0x0&&t['bottom']<=(window['innerHeight']||document['documentElement']['clientHeight'])&&t['right']<=(window['innerWidth']||document['documentElement']['clientWidth']),_0x16fed0=window['getComputedStyle'](this),_0x425d08='hidden'!==_0x16fed0['visibility']&&'none'!==_0x16fed0['display'];return _0x48bf68&&_0x425d08&&_0x5cd590;}['initCallback'](){super['initCallback'](),_0x2226c3['add'](this),this['No'](),this['Vo'](),this['wa'](),this['Ta'](nt['INACTIVE']),this['va']=_0x1b0d31({'element':this,'shouldIgnore':()=>this['Ea'](),'onChange':t=>{this['Ta'](t);},'onItems':t=>{t['length']&&(t['forEach'](_0x1076fa=>{'url'===_0x1076fa['type']?this['api']['addFileFromUrl'](_0x1076fa['url'],{'source':_0x298b3b['DROP_AREA']}):'file'===_0x1076fa['type']&&this['api']['addFileFromObject'](_0x1076fa['file'],{'source':_0x298b3b['DROP_AREA'],'fullPath':_0x1076fa['fullPath']});}),this['uploadCollection']['size']&&(this['set$']({'*currentActivity':_0x25f837['activities']['UPLOAD_LIST']}),this['modalManager']?.['open'](_0x25f837['activities']['UPLOAD_LIST'])));}}),this['updateComplete']['then'](()=>this['Bu']()),this['subConfigValue']('sourceList',t=>{let _0x33b90e=_0x36e153(t);this['ba']=_0x33b90e['includes'](_0x298b3b['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=_0x2226c3;return 0x0!==t['size']&&[...t]['filter'](_0x1fec9c=>_0x1fec9c!==this)['filter'](_0x2ce9c8=>_0x2ce9c8['isActive']())['length']>0x0;}['zu'](){let t=this['cfg']['multiple'],_0x20ac38=this['cfg']['multipleMax'],_0x30b624=this['uploadCollection']['size'];return!(t&&_0x20ac38&&_0x30b624>=_0x20ac38||!t&&_0x30b624>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 _0x1ee2b7=Object['entries'](nt)['find'](([,_0xbdd9d6])=>_0xbdd9d6===t)?.[0x0]['toLowerCase']();_0x1ee2b7&&this['setAttribute']('drag-state',_0x1ee2b7);}['Bu'](){if(this['Fo'])return;let t=this['ya']['value'];t&&(this['Fo']=_0x1b0d31({'element':t,'onChange':_0x4e0926=>{let _0x28ab15=Object['entries'](nt)['find'](([,_0x4d08ca])=>_0x4d08ca===_0x4e0926)?.[0x0]['toLowerCase']();_0x28ab15&&t['setAttribute']('drag-state',_0x28ab15);},'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'](),_0x2226c3['delete'](this),this['va']?.(),this['Fo']?.(),this['Rt']&&(this['removeEventListener']('keydown',this['Lt']),this['removeEventListener']('click',this['Lt']),this['Rt']=!0x1);}['render'](){return _0x44abcf` ${this['yield']('',_0x44abcf`<div data-default-slot hidden></div><div ${_0x141829(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>`)} `;}};_0x4a98e4([_0x5a17bd({'type':Boolean,'noAccessor':!0x0})],dt['prototype'],'single',0x2),_0x4a98e4([_0x5a17bd({'type':Boolean,'noAccessor':!0x0})],dt['prototype'],'ghost',0x2),_0x4a98e4([_0x5a17bd({'type':Boolean,'reflect':!0x0})],dt['prototype'],'disabled',0x2),_0x4a98e4([_0x5a17bd({'type':Boolean,'reflect':!0x0})],dt['prototype'],'clickable',0x2),_0x4a98e4([_0x5a17bd({'type':Boolean,'attribute':'with-icon','reflect':!0x0})],dt['prototype'],'withIcon',0x2),_0x4a98e4([_0x5a17bd({'type':Boolean,'reflect':!0x0})],dt['prototype'],'fullscreen',0x2),_0x4a98e4([_0x5a17bd({'type':Boolean,'reflect':!0x0})],dt['prototype'],'initflow',0x2),_0x4a98e4([_0x5a17bd({'type':String})],dt['prototype'],'text',0x2),_0x4a98e4([_0x12c3df()],dt['prototype'],'Oe',0x2),_0x4a98e4([_0x12c3df()],dt['prototype'],'fa',0x2),_0x4a98e4([_0x12c3df()],dt['prototype'],'Do',0x2);var Ot=class extends _0x5178a7{constructor(){super(...arguments),this['couldBeCtxOwner']=!0x0,this['historyTracked']=!0x0,this['activityType']=_0x25f837['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':_0x382b44['ACTION_EVENT'],'payload':{'metadata':{'event':'add-more','node':this['tagName']}}}),this['api']['initFlow'](!0x0);},this['Ho']=()=>{this['emit'](_0x36f858['UPLOAD_CLICK']),this['api']['uploadAll'](),this['Te']();},this['Ko']=()=>{this['emit'](_0x36f858['DONE_CLICK'],this['api']['getOutputCollectionState']()),this['api']['doneFlow']();},this['Ee']=()=>{this['telemetryManager']['sendEvent']({'eventType':_0x382b44['ACTION_EVENT'],'payload':{'metadata':{'event':'clear-all','node':this['tagName']}}}),this['uploadCollection']['clearAll']();},this['Te']=_0x23e4dc(()=>{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'](),_0x6cc568={'total':t['totalCount'],'succeed':t['successCount'],'uploading':t['uploadingCount'],'failed':t['failedCount'],'validatingBeforeUploading':t['idleEntries']['filter'](_0x53e3c8=>_0x53e3c8['isValidationPending'])['length']},_0x27c584=!t['errors']['some'](_0x15a2a9=>'TOO_MANY_FILES'===_0x15a2a9['type']||'TOO_FEW_FILES'===_0x15a2a9['type']),_0x3edbe9=t['errors']['some'](_0x475238=>'TOO_MANY_FILES'===_0x475238['type']),_0x2a19a3=t['totalCount']===(this['cfg']['multiple']?this['cfg']['multipleMax']:0x1),_0x339381=t['allEntries']['some'](_0x57d53c=>_0x57d53c['isValidationPending']),_0x361100=0x0===_0x6cc568['failed']&&0x0===t['errors']['length']&&!_0x339381,_0x477c35=!0x1,_0x31e1d8=!0x1,_0x527036=!0x1;if(_0x6cc568['total']-_0x6cc568['succeed']-_0x6cc568['uploading']-_0x6cc568['failed']>0x0&&_0x27c584&&_0x361100&&this['cfg']['confirmUpload'])_0x477c35=!0x0;else{_0x31e1d8=!0x0;let _0x2af8a0=!this['cfg']['groupOutput']||!!t['group'];_0x527036=_0x6cc568['total']===_0x6cc568['succeed']&&_0x27c584&&_0x361100&&_0x2af8a0;}this['xa']=_0x31e1d8,this['Ca']=_0x527036,this['Sa']=_0x477c35,this['Bo']=0x0===_0x6cc568['total']||!_0x3edbe9&&!_0x2a19a3,this['_o']=!_0x2a19a3||this['cfg']['multiple'],this['Aa']=_0x6cc568['total']>0x0,this['zo']=_0x6cc568;}['Ku'](t){let _0x93d200=_0x37da05=>{let _0x57be14=t[_0x37da05];return'uploading'===_0x37da05&&(_0x57be14+=t['validatingBeforeUploading']),this['l10n']('header-'+_0x37da05,{'count':_0x57be14});};return t['uploading']>0x0||t['validatingBeforeUploading']>0x0?_0x93d200('uploading'):t['failed']>0x0?_0x93d200('failed'):t['succeed']>0x0?_0x93d200('succeed'):_0x93d200('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 _0x214bcb=t['filter'](_0x427353=>'SOME_FILES_HAS_ERRORS'!==_0x427353['type'])[0x0];this['ur']=_0x214bcb?_0x214bcb['message']:null;});}['disconnectedCallback'](){super['disconnectedCallback'](),this['has']('*uploadCollection')&&(this['uploadCollection']['unobserveProperties'](this['Te']),this['uploadCollection']['unobserveCollection'](this['Te']));}['render'](){return _0x44abcf`<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',_0x44abcf`<span>${this['l10n']('no-files')}</span>`)}</div><div class="uc-files"><div class="uc-files-wrapper">${_0x3c130a(this['$']['*uploadList']??[],({uid:t})=>t,({uid:t})=>_0x44abcf`<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>`;}};_0x4a98e4([_0x12c3df()],Ot['prototype'],'xa',0x2),_0x4a98e4([_0x12c3df()],Ot['prototype'],'Ca',0x2),_0x4a98e4([_0x12c3df()],Ot['prototype'],'Sa',0x2),_0x4a98e4([_0x12c3df()],Ot['prototype'],'_o',0x2),_0x4a98e4([_0x12c3df()],Ot['prototype'],'Bo',0x2),_0x4a98e4([_0x12c3df()],Ot['prototype'],'ur',0x2),_0x4a98e4([_0x12c3df()],Ot['prototype'],'Aa',0x2),_0x4a98e4([_0x12c3df()],Ot['prototype'],'zo',0x2);var _0xc37f02=[{'test':_0x33a36a=>!!_0x33a36a['accept']&&!!_0x33a36a['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':_0x1fe537=>null!==_0x1fe537['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':_0x206d0e=>null!==_0x206d0e['defaultCameraMode'],'message':'The\x20`defaultCameraMode`\x20parameter\x20is\x20deprecated\x20and\x20will\x20be\x20removed\x20in\x20the\x20next\x20major\x20release.\x0aPlease\x20use\x20the\x20`cameraModes`\x20parameter\x20instead.'}],_0x460fba=_0x1e9cf3(_0x40c771=>{for(let {test:_0x394566,message:t}of _0xc37f02)_0x394566(_0x40c771)&&_0x15793b(t);},0x0),_0x280781=(_0x4ff7f1,_0x4076c5)=>{let t=new URL(_0x4076c5);return t['hostname']=_0x4ff7f1+'.'+t['hostname'],t['toString']()['replace'](/\/$/,'');},td='0123456789abcdefghijklmnopqrstuvwxyz',_0x144248=_0x1a57ed=>{if(_0x1a57ed<=0x0n)return'0';let _0x1c1e93='';for(;_0x1a57ed>0x0n;){_0x1c1e93=td[Number(_0x1a57ed%0x24n)]+_0x1c1e93,_0x1a57ed/=0x24n;}return _0x1c1e93;},_0x2089e2=(_0x2edb14,_0x282184)=>{try{let t=new URL(_0x2edb14),_0x2fc333=new URL(_0x282184);return t['hostname']['endsWith'](_0x2fc333['hostname']);}catch{return!0x1;}},_0x4b5c91=async _0x283104=>{let _0x4b148e=new TextEncoder()['encode'](_0x283104),t=await window['crypto']['subtle']['digest']('SHA-256',_0x4b148e),_0x25bcc8=Array['from'](new Uint8Array(t))['map'](_0x1afb11=>_0x1afb11['toString'](0x10)['padStart'](0x2,'0'))['join']('');return BigInt('0x'+_0x25bcc8);},_0x51d886=0xa,_0xb3e04e=async _0x1f379a=>{let _0x12caa8=await _0x4b5c91(_0x1f379a);return _0x144248(_0x12caa8)['slice'](0x0,_0x51d886);},_0x1fe2a6=async(_0x2c50f0,_0x401172)=>{let t=await _0xb3e04e(_0x2c50f0);return _0x280781(t,_0x401172);},_0xd3b361=_0x2212ec=>_0x2212ec instanceof Promise||!(!_0x2212ec||'object'!=typeof _0x2212ec||!('then'in _0x2212ec)||'function'!=typeof _0x2212ec['then']),_0x393559=_0x19ae3d=>_0x19ae3d,_0x2a5018=[_0x393559({'key':'cameraModes','deps':['enableVideoRecording'],'fn':({cameraModes:_0x3ecb4f,enableVideoRecording:_0x92f0b3})=>{let t=_0x92f0b3();if(null===t)return _0x3ecb4f();let _0x22e900=_0x4fa8be(_0x3ecb4f());return t&&!_0x22e900['includes']('video')?_0x22e900=_0x22e900['concat']('video'):t||(_0x22e900=_0x22e900['filter'](_0x2c7f4f=>'video'!==_0x2c7f4f)),Ht(_0x22e900);}}),_0x393559({'key':'cameraModes','deps':['defaultCameraMode'],'fn':({cameraModes:_0x3f5d0d,defaultCameraMode:_0x3a0c03})=>{let t=_0x3a0c03();if(null===t)return _0x3f5d0d();let _0x35e81b=_0x4fa8be(_0x3f5d0d());return _0x35e81b=_0x35e81b['sort']((_0x209d9b,_0xa5a9e1)=>_0x209d9b===t?-0x1:_0xa5a9e1===t?0x1:0x0),Ht(_0x35e81b);}}),_0x393559({'key':'cdnCname','deps':['pubkey','cdnCnamePrefixed'],'fn':({pubkey:_0x1d166c,cdnCname:_0x1dac4c,cdnCnamePrefixed:t})=>{let _0x3ec4ba=_0x1d166c(),_0x54422a=_0x1dac4c(),_0x2c05e1=t();return _0x3ec4ba&&(_0x54422a===_0x413bf1||_0x2089e2(_0x54422a,_0x2c05e1))?_0x1fe2a6(_0x3ec4ba,_0x2c05e1):_0x54422a;}})],_0x242778=({key:_0x112410,setValue:_0xbfb283,getValue:t,computationControllers:_0x2cd513})=>{for(let _0x36f70b of _0x2a5018){if(!_0x36f70b['deps']['includes'](_0x112410))continue;let _0x146085={[_0x36f70b['key']]:()=>t(_0x36f70b['key'])};for(let _0x502560 of _0x36f70b['deps'])_0x146085[_0x502560]=()=>t(_0x502560);let _0x8f668d,_0x24a8b3=new AbortController();_0x2cd513['get'](_0x36f70b['fn'])?.['abort'](),_0x2cd513['set'](_0x36f70b['fn'],_0x24a8b3);try{_0x8f668d=_0x36f70b['fn'](_0x146085,{'signal':_0x24a8b3['signal']});}catch(_0x389580){return _0x2cd513['get'](_0x36f70b['fn'])===_0x24a8b3&&_0x2cd513['delete'](_0x36f70b['fn']),void console['error']('Failed\x20to\x20compute\x20value\x20for\x20\x22'+_0x36f70b['key']+'\x22',_0x389580);}_0xd3b361(_0x8f668d)?_0x8f668d['then'](_0x11b5d1=>{_0x24a8b3['signal']['aborted']||_0xbfb283(_0x36f70b['key'],_0x11b5d1);})['catch'](_0x445979=>{_0x24a8b3['signal']['aborted']||console['error']('Failed\x20to\x20compute\x20value\x20for\x20\x22'+_0x36f70b['key']+'\x22',_0x445979);})['finally'](()=>{_0x2cd513['get'](_0x36f70b['fn'])===_0x24a8b3&&_0x2cd513['delete'](_0x36f70b['fn']);}):_0xbfb283(_0x36f70b['key'],_0x8f668d);}},_0x30908f=_0x3553be=>String(_0x3553be),tt=_0x1a72ec=>{let _0x48c957=Number(_0x1a72ec);if(Number['isNaN'](_0x48c957))throw new Error('Invalid\x20number:\x20\x22'+_0x1a72ec+'\x22');return _0x48c957;},_0x55818e=_0x57aef8=>{if(typeof _0x57aef8>'u'||null===_0x57aef8)return!0x1;if('boolean'==typeof _0x57aef8)return _0x57aef8;if('true'===_0x57aef8||''===_0x57aef8)return!0x0;if('false'===_0x57aef8)return!0x1;throw new Error('Invalid\x20boolean:\x20\x22'+_0x57aef8+'\x22');},_0x57c8ff=_0x1cae94=>'auto'===_0x1cae94?_0x1cae94:_0x55818e(_0x1cae94),_0x175dce=_0x5a36a9=>{let _0x207d3d=_0x30908f(_0x5a36a9);if('user'!==_0x207d3d&&'environment'!==_0x207d3d&&''!==_0x207d3d)throw new Error('Invalid\x20value:\x20\x22'+_0x207d3d+'\x22');return _0x207d3d;},_0x3e6221=_0x1e8fea=>{let _0x198c25=_0x30908f(_0x1e8fea);if(!Object['values'](_0x2456f2)['includes'](_0x198c25))throw new Error('Invalid\x20value:\x20\x22'+_0x198c25+'\x22');return _0x198c25;},_0x6db730=_0x490f00=>{let _0x40f512=_0x30908f(_0x490f00),t=_0x4fa8be(_0x40f512);if(t['some'](_0x100497=>!Object['values'](_0x2456f2)['includes'](_0x100497)))throw new Error('Invalid\x20value:\x20\x22'+JSON['stringify'](t)+'\x22');return _0x40f512;},_0x9f5210=_0x12d00e=>{let _0x453800=_0x30908f(_0x12d00e);if('local'===_0x453800||'global'===_0x453800)return _0x453800;if(!0x1===_0x55818e(_0x12d00e))return!0x1;throw new Error('Invalid\x20value:\x20\x22'+_0x453800+'\x22');},_0x397a24=_0x5952e3=>{if('object'==typeof _0x5952e3&&!Array['isArray'](_0x5952e3)||'function'==typeof _0x5952e3)return _0x5952e3;throw new Error('Invalid\x20metadata\x20value.\x20Must\x20be\x20an\x20object\x20or\x20function.');},_0x1d3646=_0x528ef6=>{if('object'==typeof _0x528ef6)return _0x528ef6;throw new Error('Invalid\x20value.\x20Must\x20be\x20an\x20object.');},_0x271a2c=_0x405e6f=>{if('function'==typeof _0x405e6f)return _0x405e6f;throw new Error('Invalid\x20value.\x20Must\x20be\x20a\x20function.');},_0x1b2e83=_0x55a90c=>{if(Array['isArray'](_0x55a90c))return _0x55a90c;throw new Error('Must\x20be\x20an\x20array.');},_0x184fbb=_0x43d6f1=>{let _0x5b6477=_0x30908f(_0x43d6f1);if(['grid','list']['includes'](_0x5b6477))return _0x5b6477;throw new Error('Invalid\x20value:\x20\x22'+_0x5b6477+'\x22');},_0x1eb1b7={'pubkey':_0x30908f,'multiple':_0x55818e,'multipleMin':tt,'multipleMax':tt,'confirmUpload':_0x55818e,'imgOnly':_0x55818e,'accept':_0x30908f,'externalSourcesPreferredTypes':_0x30908f,'externalSourcesEmbedCss':_0x30908f,'store':_0x57c8ff,'cameraMirror':_0x55818e,'cameraCapture':_0x175dce,'sourceList':_0x30908f,'topLevelOrigin':_0x30908f,'maxLocalFileSizeBytes':tt,'thumbSize':tt,'showEmptyList':_0x55818e,'useLocalImageEditor':_0x55818e,'useCloudImageEditor':_0x55818e,'cloudImageEditorTabs':_0x30908f,'removeCopyright':_0x55818e,'cropPreset':_0x30908f,'imageShrink':_0x30908f,'modalScrollLock':_0x55818e,'modalBackdropStrokes':_0x55818e,'sourceListWrap':_0x55818e,'remoteTabSessionKey':_0x30908f,'cdnCname':_0x30908f,'cdnCnamePrefixed':_0x30908f,'baseUrl':_0x30908f,'socialBaseUrl':_0x30908f,'secureSignature':_0x30908f,'secureExpire':_0x30908f,'secureDeliveryProxy':_0x30908f,'retryThrottledRequestMaxTimes':tt,'retryNetworkErrorMaxTimes':tt,'multipartMinFileSize':tt,'multipartChunkSize':tt,'maxConcurrentRequests':tt,'multipartMaxConcurrentRequests':tt,'multipartMaxAttempts':tt,'checkForUrlDuplicates':_0x55818e,'saveUrlForRecurrentUploads':_0x55818e,'groupOutput':_0x55818e,'userAgentIntegration':_0x30908f,'debug':_0x55818e,'localeName':_0x30908f,'metadata':_0x397a24,'secureUploadsExpireThreshold':tt,'localeDefinitionOverride':_0x57c376=>_0x1d3646(_0x57c376),'secureUploadsSignatureResolver':_0x361e60=>_0x271a2c(_0x361e60),'secureDeliveryProxyUrlResolver':_0x51dadf=>_0x271a2c(_0x51dadf),'iconHrefResolver':_0x5b834f=>_0x271a2c(_0x5b834f),'plugins':_0x2cdd90=>_0x1b2e83(_0x2cdd90),'fileValidators':_0x1b2e83,'collectionValidators':_0x1b2e83,'validationTimeout':tt,'validationConcurrency':tt,'cameraModes':_0x6db730,'defaultCameraMode':_0x3e6221,'enableAudioRecording':_0x55818e,'enableVideoRecording':_0x55818e,'mediaRecorderOptions':_0x1d3646,'maxVideoRecordingDuration':tt,'filesViewMode':_0x184fbb,'gridShowFileNames':_0x55818e,'cloudImageEditorAutoOpen':_0x55818e,'cloudImageEditorMaskHref':_0x30908f,'testMode':_0x55818e,'qualityInsights':_0x55818e,'pasteScope':_0x9f5210},_0x43c863=(_0x30cc71,_0x47c48e)=>{if(!(typeof _0x47c48e>'u'||null===_0x47c48e))try{return _0x1eb1b7[_0x30cc71](_0x47c48e);}catch(_0x385c31){return console['error']('Invalid\x20value\x20for\x20config\x20key\x20\x22'+_0x30cc71+'\x22.',_0x385c31),_0x3eb17e[_0x30cc71];}},_0x19b754=[...new Set(['debug',...Object['keys'](_0x3eb17e)])],_0x595f7b=['metadata','plugins','localeDefinitionOverride','secureUploadsSignatureResolver','secureDeliveryProxyUrlResolver','iconHrefResolver','fileValidators','collectionValidators','mediaRecorderOptions'],_0xf97a0d=_0x57197a=>_0x595f7b['includes'](_0x57197a),_0x285f9c=_0x19b754['filter'](_0x395004=>!_0xf97a0d(_0x395004)),_0x933c38={...Object['fromEntries'](_0x285f9c['map'](_0x256dd1=>[_0x214ed2(_0x256dd1),_0x256dd1])),...Object['fromEntries'](_0x285f9c['map'](_0x10bc0d=>[_0x10bc0d['toLowerCase'](),_0x10bc0d]))},_0x359c2c=_0x53faf9=>'__'+_0x53faf9,_0x23aef3=class extends _0x1e5f32{constructor(){super(...arguments),this['init$']={...this['init$'],...Object['fromEntries'](Object['entries'](_0x3eb17e)['map'](([t,_0x214fe0])=>[_0x1c668c(t),_0x214fe0]))},this['Gu']=new Map(),this['ci']={},this['Ma']=new Set(),this['Ut']=new Map();}['jo'](t){return this['Ma']['has'](t);}['Go'](t){let _0x53ff7b=this['i']['pluginManager'];if(_0x53ff7b)return _0x53ff7b['configRegistry']['get'](t);}['Oa'](t){return[...new Set([_0x214ed2(t),t['toLowerCase']()])];}['qu'](t,_0x566113){if(_0xf97a0d(t)||this['jo'](t)&&!0x1===this['Go'](t)?.['attribute'])return;let _0x138ea4=this['Oa'](t);for(let _0x2dd132 of _0x138ea4)typeof _0x566113>'u'||null===_0x566113?this['removeAttribute'](_0x2dd132):this['getAttribute'](_0x2dd132)!==_0x566113['toString']()&&this['setAttribute'](_0x2dd132,_0x566113['toString']());}['Wu'](t,_0x509ef8){let _0x44f7ad=_0x1c668c(t);if(this['$'][_0x44f7ad]!==_0x509ef8){if(typeof _0x509ef8>'u'||null===_0x509ef8){let _0x1fd5d9=_0x3eb17e[t];this['$'][_0x44f7ad]=void 0x0!==_0x1fd5d9?_0x1fd5d9:_0x509ef8;}else this['$'][_0x44f7ad]=_0x509ef8;}}['Ye'](t,_0x25957d){let _0x333a0d;if(this['jo'](t)){let _0x22c33c=this['Go'](t);try{_0x333a0d=_0x22c33c?.['normalize']?.(_0x25957d)??_0x25957d;}catch(_0xf62a36){return void console['warn']('[uc-config]\x20normalize()\x20for\x20\x22'+t+'\x22\x20threw\x20an\x20error,\x20keeping\x20previous\x20value',_0xf62a36);}}else _0x333a0d=_0x43c863(t,_0x25957d);let _0x427050=this,_0xfb51a8=_0x359c2c(t);_0x427050[_0xfb51a8]!==_0x333a0d&&(this['Zu'](t,_0x427050[_0xfb51a8],_0x333a0d),_0x427050[_0xfb51a8]=_0x333a0d,this['qu'](t,_0x333a0d),this['Wu'](t,_0x333a0d),this['debugPrint']('\x22'+t+'\x22',_0x333a0d),this['jo'](t)||_0x460fba(this['cfg']));}['pr'](t){return this[_0x359c2c(t)]??this['$'][_0x1c668c(t)];}['Zu'](t,_0x456362,_0x208094){this['cfg']['debug']&&_0x208094!==_0x456362&&'object'==typeof _0x208094&&'object'==typeof _0x456362&&JSON['stringify'](_0x208094)===JSON['stringify'](_0x456362)&&(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:',_0x456362),console['warn']('[uc-config]\x20\x22'+t+'\x22\x20new\x20value:',_0x208094));}['Ia'](t){let _0x17fd36=t['configRegistry']['getAll']();this['ci']={},this['Ma']=new Set(_0x17fd36['keys']());for(let [_0x203b7a,_0x3c635a]of this['Ut'])_0x17fd36['has'](_0x203b7a)||(_0x3c635a(),this['Ut']['delete'](_0x203b7a));for(let [_0x10e98f,_0x519b8c]of _0x17fd36){let _0x16a6e1=_0x1c668c(_0x10e98f);if(_0x519b8c['attribute']){let _0x467ad4=this['Oa'](_0x10e98f);for(let _0x20fdce of _0x467ad4)this['ci'][_0x20fdce]=_0x10e98f;}this['sharedCtx']['has'](_0x16a6e1)||this['sharedCtx']['add'](_0x16a6e1,_0x519b8c['defaultValue']);let _0x16ef5e=Object['getOwnPropertyDescriptor'](this,_0x10e98f);if((!_0x16ef5e||!_0x16ef5e['set']||!_0x16ef5e['get'])&&Object['defineProperty'](this,_0x10e98f,{'set':_0x936a2e=>{this['Ye'](_0x10e98f,_0x936a2e);},'get':()=>this['pr'](_0x10e98f),'enumerable':!0x0,'configurable':!0x0}),!this['Ut']['has'](_0x10e98f)){let _0x4bc190=this['sub'](_0x16a6e1,_0xdd5a4=>{this['Ye'](_0x10e98f,_0xdd5a4);},!0x1);this['Ut']['set'](_0x10e98f,_0x4bc190);}}}['Yu'](){this['i']['when']('pluginManager',t=>{this['Ia'](t),this['dr']=t['onPluginsChange'](()=>{this['Ia'](t);});});}['Xu'](){this['li']=new MutationObserver(t=>{for(let _0x115fbe of t)if('attributes'===_0x115fbe['type']&&_0x115fbe['attributeName']){let _0x5a4bf7=_0x115fbe['attributeName'],_0xd97695=_0x115fbe['oldValue'],_0x3b6e36=this['getAttribute'](_0x5a4bf7);if(_0xd97695===_0x3b6e36||_0x5a4bf7 in _0x933c38)continue;if(_0x5a4bf7 in this['ci']){let _0x544109=this['ci'][_0x5a4bf7],_0x3a6257=this['Go'](_0x544109);this['attributeChangedCallback'](_0x5a4bf7,_0xd97695??'',_0x3b6e36??_0x3a6257?.['defaultValue']??'');}}}),this['li']['observe'](this,{'attributes':!0x0,'attributeOldValue':!0x0});}['initCallback'](){super['initCallback']();let t=this;this['Yu'](),this['Xu']();for(let _0x16eec5 of _0x285f9c)this['sub'](_0x1c668c(_0x16eec5),_0x18cc58=>{this['Ye'](_0x16eec5,_0x18cc58);},!0x1);for(let _0x13fcc6 of _0x19b754){let _0x18a3db=t[_0x13fcc6]??this['$'][_0x1c668c(_0x13fcc6)];_0x18a3db!==_0x3eb17e[_0x13fcc6]&&this['Ye'](_0x13fcc6,_0x18a3db);let _0x4c5f60=Object['getOwnPropertyDescriptor'](this,_0x13fcc6);(!_0x4c5f60||!_0x4c5f60['set']||!_0x4c5f60['get'])&&Object['defineProperty'](this,_0x13fcc6,{'set':_0x16b2c4=>{this['Ye'](_0x13fcc6,_0x16b2c4);},'get':()=>this['pr'](_0x13fcc6)});}let _0x44319e=_0x4abdbb=>{_0x242778({'key':_0x4abdbb,'setValue':this['Ye']['bind'](this),'getValue':this['pr']['bind'](this),'computationControllers':this['Gu']});};for(let _0x200251 of _0x19b754)this['sub'](_0x1c668c(_0x200251),()=>_0x44319e(_0x200251));}['attributeChangedCallback'](t,_0x4a8b2f,_0x5f4ef6){if(super['attributeChangedCallback'](t,_0x4a8b2f,_0x5f4ef6),_0x4a8b2f===_0x5f4ef6)return;let _0x2355e0=_0x933c38[t];_0x2355e0?this[_0x2355e0]=_0x5f4ef6:this['i']['when']('pluginManager',_0xd79be5=>{let _0x59e7c5=this['getAttribute'](t);if(_0x59e7c5&&_0x59e7c5!==_0x5f4ef6)return;let _0x1c79f8=this['ci'][t],_0x5d3a50=_0x1c79f8?_0xd79be5['configRegistry']['get'](_0x1c79f8):void 0x0;if(_0x1c79f8&&_0x5d3a50){let _0x391f11=_0x5d3a50['fromAttribute']?_0x5d3a50['fromAttribute'](_0x5f4ef6):_0x5f4ef6;if(this['pr'](_0x1c79f8)===_0x391f11)return;this['Ye'](_0x1c79f8,_0x391f11);}});}['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'](_0x933c38)];}};for(let _0x13e966 of _0x19b754)_0x23aef3['prototype'][_0x13e966]=void 0x0;var _0x509633=class extends _0x5178a7{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 _0x44abcf`<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>`;}};_0x4a98e4([_0x5a17bd({'attribute':'dropzone','type':Boolean})],_0x509633['prototype'],'dropzone',0x2),_0x4a98e4([_0x12c3df()],_0x509633['prototype'],'ui',0x2);var _0x419e65=class extends _0x25f837{constructor(){super(...arguments),this['Wo']=_0x673a48();}['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 _0x412019=this['$']['*currentActivityParams'];try{this['qo']=this['registration']['render'](t,_0x412019)??void 0x0;}catch(_0x3b2c52){console['error']('[Plugin\x20\x22'+this['registration']['pluginId']+'\x22]\x20Activity\x20render()\x20threw\x20an\x20error',_0x3b2c52);}}['hr'](){let t=this['Wo']['value'];if(t){try{this['qo']?.();}catch(_0x16d244){console['error']('[Plugin\x20\x22'+this['registration']?.['pluginId']+'\x22]\x20Activity\x20dispose\x20threw\x20an\x20error',_0x16d244);}this['qo']=void 0x0,t['replaceChildren']();}}['disconnectedCallback'](){this['hr'](),super['disconnectedCallback']();}['render'](){return _0x44abcf`<div style="display: contents;" ${_0x141829(this['Wo'])}></div>`;}};_0x4a98e4([_0x5a17bd({'attribute':!0x1})],_0x419e65['prototype'],'registration',0x2);var _0x2ab82d=class extends _0x1e5f32{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']?_0x44abcf`${_0x3c130a(this['de'],t=>t['id'],t=>_0x44abcf`<uc-plugin-activity-host .registration=${t}></uc-plugin-activity-host>`)}`:_0x44abcf`${_0x3c130a(this['de'],t=>t['id'],t=>_0x44abcf`<uc-modal id=${t['id']} strokes block-body-scrolling><uc-plugin-activity-host .registration=${t}></uc-plugin-activity-host></uc-modal>`)}`;}};function _0x25b9a4(_0x316f97,_0x4f013b,t){return _0x316f97?_0x4f013b(_0x316f97):t?.(_0x316f97);}function _0x78ae00(..._0x5f062a){return _0x5f062a['reduce']((_0x233645,t)=>{if('string'==typeof t)return _0x233645[t]=!0x0,_0x233645;for(let _0x542aa1 of Object['keys'](t))_0x233645[_0x542aa1]=t[_0x542aa1];return _0x233645;},{});}function yt(..._0x57c319){let _0x566e50=_0x78ae00(..._0x57c319);return Object['keys'](_0x566e50)['reduce']((t,_0x16e7f2)=>(_0x566e50[_0x16e7f2]&&t['push'](_0x16e7f2),t),[])['join']('\x20');}function _0x1c2a58(_0x384e1d,..._0x254e31){let t=_0x78ae00(..._0x254e31);for(let _0x58c5b6 of Object['keys'](t))_0x384e1d['classList']['toggle'](_0x58c5b6,!!t[_0x58c5b6]);}_0x4a98e4([_0x5a17bd({'type':String})],_0x2ab82d['prototype'],'mode',0x2),_0x4a98e4([_0x12c3df()],_0x2ab82d['prototype'],'de',0x2);var _0xaa8998=_0x4f34a9=>ot['includes'](_0x4f34a9),_0x334bf3=_0x57c452=>{if(!_0x57c452)return ot;let _0x41399d=_0x4fa8be(_0x57c452)['filter'](_0xaa8998);return 0x0===_0x41399d['length']?ot:_0x41399d;};function _0x43b7e2(_0xc25e8d){return{'*originalUrl':null,'*loadingOperations':new Map(),'*faderEl':null,'*cropperEl':null,'*imgEl':null,'*imgContainerEl':null,'*networkProblems':!0x1,'*imageSize':null,'*editorTransformations':{},'*cropPresetList':[],'*currentAspectRatio':null,'*tabList':ot,'*tabId':_0x27a6a4['CROP'],'*on.retryNetwork':()=>{let _0x540180=_0xc25e8d['querySelectorAll']('img');for(let t of _0x540180){let _0x1bf432=t['src'];t['src']=It,t['src']=_0x1bf432;}_0xc25e8d['$']['*networkProblems']=!0x1;},'*on.apply':_0x4ffc8d=>{if(!_0x4ffc8d)return;let t=_0xc25e8d['$']['*originalUrl'];if(!t)return void console['warn']('Original\x20URL\x20is\x20null,\x20cannot\x20apply\x20transformations');let _0x400ee5=rt(te(_0x4ffc8d),'preview'),_0x5c672f={'originalUrl':t,'cdnUrlModifiers':_0x400ee5,'cdnUrl':_0x490615(t,_0x400ee5),'transformations':_0x4ffc8d};_0xc25e8d['dispatchEvent'](new CustomEvent('apply',{'detail':_0x5c672f,'bubbles':!0x0,'composed':!0x0})),_0xc25e8d['remove']();},'*on.cancel':()=>{_0xc25e8d['remove'](),_0xc25e8d['dispatchEvent'](new CustomEvent('cancel',{'bubbles':!0x0,'composed':!0x0}));}};}var _0x5033b5='<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>',_0x37c340={'transition':'uc-transition','visible':'uc-visible','hidden':'uc-hidden'},_0x31da8e=class extends _0x1e5f32{constructor(){super(...arguments),this['he']=!0x1,this['Ua']=_0x37c340,this['$a']=_0x37c340['visible'],this['Da']=_0x37c340['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']??_0x37c340['visible'],this['Da']=t['hidden']??_0x37c340['hidden'];}get['styles'](){return this['Ua'];}['Na'](){this['style']['visibility']=this['he']?'inherit':'hidden',_0x1c2a58(this,{[_0x37c340['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'](_0x37c340['transition']),this['Na'](),setTimeout(()=>{this['classList']['toggle']('uc-initial',!0x1),this['Ju']();},0x0);}};_0x4a98e4([_0x5a17bd({'type':Boolean})],_0x31da8e['prototype'],'visible',0x1),_0x4a98e4([_0x5a17bd({'attribute':!0x1})],_0x31da8e['prototype'],'styles',0x1);var _0x8c9071=class extends _0x1e5f32{constructor(){super(...arguments),this['active']=!0x1,this['Xe']=_0x673a48(),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:_0x5987c0}=this['getBoundingClientRect']();t['removeEventListener']('transitionend',this['Xo']),t['style']['transition']='transform\x201s',t['style']['opacity']='1',t['style']['transform']='translateX('+_0x5987c0+'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 _0x44abcf`<div class="uc-inner"><div class="uc-line" ${_0x141829(this['Xe'])}></div></div>`;}};_0x4a98e4([_0x5a17bd({'type':Boolean,'reflect':!0x0})],_0x8c9071['prototype'],'active',0x2);var Pt=gt(class extends Et{constructor(_0x526dff){if(super(_0x526dff),_0x526dff['type']!==$t['ATTRIBUTE']||'class'!==_0x526dff['name']||_0x526dff['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'](_0x26b0e4){return'\x20'+Object['keys'](_0x26b0e4)['filter'](_0x1dd2d3=>_0x26b0e4[_0x1dd2d3])['join']('\x20')+'\x20';}['update'](_0x57bf50,[_0x27fbf2]){if(void 0x0===this['st']){this['st']=new Set(),void 0x0!==_0x57bf50['strings']&&(this['nt']=new Set(_0x57bf50['strings']['join']('\x20')['split'](/\s/)['filter'](_0xcdfb5=>''!==_0xcdfb5)));for(let _0x1811c7 in _0x27fbf2)_0x27fbf2[_0x1811c7]&&!this['nt']?.['has'](_0x1811c7)&&this['st']['add'](_0x1811c7);return this['render'](_0x27fbf2);}let t=_0x57bf50['element']['classList'];for(let _0x12eac7 of this['st'])_0x12eac7 in _0x27fbf2||(t['remove'](_0x12eac7),this['st']['delete'](_0x12eac7));for(let _0x54c050 in _0x27fbf2){let _0x2254f8=!!_0x27fbf2[_0x54c050];_0x2254f8===this['st']['has'](_0x54c050)||this['nt']?.['has'](_0x54c050)||(_0x2254f8?(t['add'](_0x54c050),this['st']['add'](_0x54c050)):(t['remove'](_0x54c050),this['st']['delete'](_0x54c050)));}return it;}}),_0x5cc617=_0x4155db=>_0x4155db??_0xf98a9a,xt=class extends _0x1e5f32{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 _0x44abcf`<button type="button" role=${_0x5cc617(this['ariaRole']||void 0x0)} aria-controls=${_0x5cc617(this['ariaControls']||void 0x0)} aria-label=${_0x5cc617(this['l10n'](this['titleProp']))} title=${_0x5cc617(this['l10n'](this['titleProp']))} ><uc-icon class=${Pt(this['td'])} name=${_0x5cc617(this['icon']||void 0x0)} ?hidden=${this['Jo']} ></uc-icon><div class="uc-text">${this['text']}</div></button>`;}};function _0x1a8231(_0x38d902,_0x562217){let t={};for(let _0x33be12 of _0x562217){let _0x144206=_0x38d902[_0x33be12];(Object['hasOwn'](_0x38d902,_0x33be12)||void 0x0!==_0x144206)&&(t[_0x33be12]=_0x144206);}return t;}function ti(_0x300297,_0x292e7f,t){let _0x7d70d8=window['devicePixelRatio'],_0x3853a9=Math['min'](Math['ceil'](_0x292e7f*_0x7d70d8),0xbb8),_0x2922d4=_0x7d70d8>=0x2?'lightest':'normal';return _0x490615(_0x300297,rt(_0x5b8cfa,te(t),'quality/'+_0x2922d4,'stretch/off/-/resize/'+_0x3853a9+'x','@clib/'+Ut+'/'+Rt+'/uc-cloud-image-editor/'));}_0x4a98e4([_0x5a17bd({'type':String})],xt['prototype'],'text',0x2),_0x4a98e4([_0x5a17bd({'type':String})],xt['prototype'],'icon',0x2),_0x4a98e4([_0x5a17bd({'type':Boolean,'reflect':!0x0})],xt['prototype'],'reverse',0x2),_0x4a98e4([_0x5a17bd({'type':String,'reflect':!0x0})],xt['prototype'],'theme',0x2),_0x4a98e4([_0x5a17bd({'attribute':'aria-role'})],xt['prototype'],'ariaRole',0x2),_0x4a98e4([_0x5a17bd({'attribute':'aria-controls'})],xt['prototype'],'ariaControls',0x2),_0x4a98e4([_0x5a17bd({'attribute':'title-prop'})],xt['prototype'],'titleProp',0x2),_0x4a98e4([_0x5a17bd({'type':Boolean,'noAccessor':!0x0})],xt['prototype'],'active',0x2);var _0x6b3a67=class extends _0x1e5f32{constructor(){super(...arguments),this['za']='uc-backdrop-mask-'+ft['generateFastUid'](),this['mr']=!0x1,this['fi']=!0x1,this['ja']=_0x673a48(),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 _0x2b48b1=this['Re'];if(!_0x2b48b1)return;let {x:_0x407c77,y:_0x526927}=_0x2b48b1['getBoundingClientRect'](),_0x2d4862=t['x']-_0x407c77,_0x69b3d4=t['y']-_0x526927,_0x189b9f=_0x2d4862-this['fr'][0x0],_0x5d1613=_0x69b3d4-this['fr'][0x1],{direction:_0x4e70eb}=this['ts'],_0x2907bb=this['pd'](_0x4e70eb,[_0x189b9f,_0x5d1613]);_0x2907bb&&(this['$']['*cropBox']=_0x2907bb);},this['Ya']=t=>{if(!this['xe'])return;let _0x1b7889=Object['values'](this['xe'])['find'](_0x246c4e=>{if(!_0x246c4e||this['os'](_0x246c4e['direction']))return!0x1;let _0x6826cb=_0x246c4e['interactionNode']['getBoundingClientRect']();return _0x47bc00({'x':_0x6826cb['x'],'y':_0x6826cb['y'],'width':_0x6826cb['width'],'height':_0x6826cb['height']},[t['x'],t['y']]);});this['Ha']=_0x1b7889,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',yt({'uc-guides--hidden':this['mr'],'uc-guides--visible':!this['mr']&&this['fi'],'uc-guides--semi-hidden':!this['mr']&&!this['fi']}));}['os'](t){let _0x4c01de=this['$']['*imageBox'];if(!_0x4c01de)return!0x1;if(''===t&&_0x4c01de['height']<=_0x297a94&&_0x4c01de['width']<=_0x297a94)return!0x0;let _0x986831=_0x4c01de['height']<=_0x297a94&&(t['includes']('n')||t['includes']('s')),_0x3aa22f=_0x4c01de['width']<=_0x297a94&&(t['includes']('e')||t['includes']('w'));return _0x986831||_0x3aa22f;}['od'](){let t=this['$']['*cropBox'];if(!t)return;let {x:_0x2fb915,y:_0x4de36c,width:_0x57e9ec,height:_0x57554f}=t,_0x221d0b=this['Re'];if(!_0x221d0b)return;let _0x5825b5=vt('mask',{'id':this['za']}),_0xcee56d=vt('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'white'}),_0x133ac5=vt('rect',{'x':_0x2fb915,'y':_0x4de36c,'width':_0x57e9ec,'height':_0x57554f,'fill':'black'});_0x5825b5['appendChild'](_0xcee56d),_0x5825b5['appendChild'](_0x133ac5);let _0x39d946=vt('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'var(--color-image-background)','fill-opacity':0.85,'mask':'url(#'+this['za']+')'});_0x221d0b['appendChild'](_0x39d946),_0x221d0b['appendChild'](_0x5825b5),this['di']=_0x5825b5,this['es']=_0x133ac5;}['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:_0x5a1ba3,y:_0x2de387,width:_0x274d1d,height:_0x3d5451}=t;this['es']&&_0x2449ef(this['es'],{'x':_0x5a1ba3,'y':_0x2de387,'width':_0x274d1d,'height':_0x3d5451});}['ad'](){let t=this['$']['*cropBox'];if(t&&this['pi']&&this['xe']){for(let _0x535def of Object['values'](this['xe'])){if(!_0x535def)continue;let {direction:_0x699750,pathNode:_0x112203,interactionNode:_0x4f2cb9,groupNode:_0x4b0a2b}=_0x535def,_0x237c33=''===_0x699750,_0xdb264e=0x2===_0x699750['length'],{x:_0x3f2eba,y:_0x332819,width:_0x22f2ae,height:_0x521d74}=t;if(_0x237c33)_0x2449ef(_0x4f2cb9,{'x':_0x3f2eba,'y':_0x332819,'width':_0x22f2ae,'height':_0x521d74});else{let _0x328769=_0xa94ece(Math['min'](_0x22f2ae,_0x521d74)/0x52/0x2,0x0,0x1),_0x18799c=_0xdb264e?_0x15238d(t,_0x699750,_0x328769):_0x2c9fa(t,_0x699750,_0x328769),_0x4928c8=_0x18799c['center'];if(!_0x4928c8)continue;let _0x5b8479=Math['max'](_0x4c6626*_0xa94ece(Math['min'](_0x22f2ae,_0x521d74)/_0x4c6626/0x3,0x0,0x1),_0x35d29c);_0x2449ef(_0x4f2cb9,{'x':_0x4928c8[0x0]-_0x5b8479,'y':_0x4928c8[0x1]-_0x5b8479,'width':0x2*_0x5b8479,'height':0x2*_0x5b8479}),_0x2449ef(_0x112203,{'d':_0x18799c['d']});}let _0x5335cc=this['os'](_0x699750);_0x4b0a2b['setAttribute']('class',yt('uc-thumb',{'uc-thumb--hidden':_0x5335cc,'uc-thumb--visible':!_0x5335cc}));}_0x2449ef(this['pi'],{'x':t['x']-0.5,'y':t['y']-0.5,'width':t['width']+0x1,'height':t['height']+0x1});}}['Ga'](t,_0x5ca8d4){let _0x4259f1=vt('g');_0x4259f1['classList']['add']('uc-thumb'),_0x4259f1['setAttribute']('with-effects','');let _0x2d9ba9=vt('rect',{'fill':'transparent'}),_0x43efe4=vt('path',{'stroke':'currentColor','fill':'none','stroke-width':0x3});_0x4259f1['appendChild'](_0x43efe4),_0x4259f1['appendChild'](_0x2d9ba9),t[_0x5ca8d4]={'direction':_0x5ca8d4,'pathNode':_0x43efe4,'interactionNode':_0x2d9ba9,'groupNode':_0x4259f1},''===_0x5ca8d4&&(_0x4259f1['style']['cursor']='move'),_0x2d9ba9['addEventListener']('pointerdown',this['ld']['bind'](this,_0x5ca8d4));}['cd'](){let t={};for(let _0x1df4b6=0x0;_0x1df4b6<0x3;_0x1df4b6++)for(let _0x595ba8=0x0;_0x595ba8<0x3;_0x595ba8++){let _0x298dcb=''+['n','','s'][_0x1df4b6]+['w','','e'][_0x595ba8];''!==_0x298dcb&&this['Ga'](t,_0x298dcb);}return this['Ga'](t,''),t;}['ud'](){let t=vt('svg'),_0xa24bf1=vt('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'none','stroke':'currentColor','stroke-width':0x1,'stroke-opacity':0.5});t['appendChild'](_0xa24bf1);for(let _0xd62ce8=0x1;_0xd62ce8<=0x2;_0xd62ce8++){let _0x797834=vt('line',{'x1':_0x5a65b3*_0xd62ce8+'%','y1':'0%','x2':_0x5a65b3*_0xd62ce8+'%','y2':'100%','stroke':'currentColor','stroke-width':0x1,'stroke-opacity':0.3});t['appendChild'](_0x797834);}for(let _0x492bdd=0x1;_0x492bdd<=0x2;_0x492bdd++){let _0x3a0393=vt('line',{'x1':'0%','y1':_0x5a65b3*_0x492bdd+'%','x2':'100%','y2':_0x5a65b3*_0x492bdd+'%','stroke':'currentColor','stroke-width':0x1,'stroke-opacity':0.3});t['appendChild'](_0x3a0393);}return t['classList']['add']('uc-guides','uc-guides--semi-hidden'),t;}['dd'](){let t=this['Re'];if(!t)return;let _0x3f6688=document['createDocumentFragment'](),_0x68bbe=this['ud']();_0x3f6688['appendChild'](_0x68bbe);let _0x5166d0=this['cd']();for(let {groupNode:_0x3627ba}of Object['values'](_0x5166d0))_0x3f6688['appendChild'](_0x3627ba);t['appendChild'](_0x3f6688),this['xe']=_0x5166d0,this['pi']=_0x68bbe,this['rs']();}['ld'](t,_0x5087a6){if(!this['xe'])return;let _0x58d7fd=this['xe'][t];if(!_0x58d7fd||this['os'](t))return;let _0x446daf=this['$']['*cropBox'],_0x1231fa=this['Re'];if(!_0x1231fa)return;let {x:_0x28ffb4,y:_0x4a13ba}=_0x1231fa['getBoundingClientRect'](),_0x1a00e8=_0x5087a6['x']-_0x28ffb4,_0x495912=_0x5087a6['y']-_0x4a13ba;this['vi']=!0x0,this['ts']=_0x58d7fd,this['fr']=[_0x1a00e8,_0x495912],this['Ka']={..._0x446daf};}['pd'](t,_0x2b6997){let [_0x27e4eb,_0x441e15]=_0x2b6997,_0x1369bc=this['$']['*imageBox'],_0x45b251=this['Ka']??this['$']['*cropBox'],_0x20b3f4=this['$']['*currentAspectRatio'],_0x56f4fe=_0x20b3f4?_0x20b3f4['width']/_0x20b3f4['height']:void 0x0;if(_0x45b251=''===t?_0x51a215({'rect':_0x45b251,'delta':[_0x27e4eb,_0x441e15],'imageBox':_0x1369bc}):_0x483690({'rect':_0x45b251,'delta':[_0x27e4eb,_0x441e15],'direction':t,'aspectRatio':_0x56f4fe,'imageBox':_0x1369bc}),Object['values'](_0x45b251)['every'](_0x13827e=>Number['isFinite'](_0x13827e)&&_0x13827e>=0x0))return _0x4d3c62(_0x369bf4(_0x45b251),_0x1369bc);console['error']('CropFrame\x20is\x20trying\x20to\x20create\x20invalid\x20rectangle',{'payload':_0x45b251});}['Wa'](){let t=this['Ha'],_0x2c4c8b=this['Re'];_0x2c4c8b&&(_0x2c4c8b['style']['cursor']=t?_0x387635(t['direction']):'initial');}['Xa'](t){if(this['hi'])return void this['hi']['setAttribute']('href',t);let _0xbabc5=this['Re'];if(!_0xbabc5)return void(this['gi']=t);this['gi']=null;let _0x3a196a=document['createDocumentFragment'](),_0x56fcfb=vt('image',{'href':t});_0x56fcfb['setAttribute']('class','uc-cloud-mask'),_0x3a196a['appendChild'](_0x56fcfb),_0xbabc5['appendChild'](_0x3a196a),this['hi']=_0x56fcfb;}['hd'](){let t=this['$']['*cropBox'];if(!t||!this['hi'])return;let {x:_0x4c919c,y:_0x18e5b5,width:_0x21fa5b,height:_0x5b72a9}=t;_0x2449ef(this['hi'],{'x':_0x4c919c,'y':_0x18e5b5,'height':_0x5b72a9,'width':_0x21fa5b});}['ss'](){this['mi']&&(this['nd'](),this['ad'](),this['hd']());}['toggleThumbs'](t){if(this['xe'])for(let _0x4ca22d of Object['values'](this['xe'])){if(!_0x4ca22d)continue;let {groupNode:_0x4aa01d}=_0x4ca22d;_0x4aa01d['setAttribute']('class',yt('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']<=_0x297a94||t['width']<=_0x297a94,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 _0x3e1fc4=this['gi'];this['gi']=null,this['Xa'](_0x3e1fc4);}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 _0x44abcf`<svg class="uc-svg" xmlns="http://www.w3.org/2000/svg" ${_0x141829(this['ja'])}></svg>`;}};function _0x567b88(_0x8e83d1){return!_0x8e83d1||[({dimensions:t,coords:_0x2113b8})=>[...t,..._0x2113b8]['every'](_0x5a5c22=>Number['isInteger'](_0x5a5c22)&&Number['isFinite'](_0x5a5c22)),({dimensions:t,coords:_0x34c496})=>t['every'](_0x5cf6f3=>_0x5cf6f3>0x0)&&_0x34c496['every'](_0x520aab=>_0x520aab>=0x0)]['every'](t=>t(_0x8e83d1));}_0x4a98e4([_0x12c3df()],_0x6b3a67['prototype'],'fi',0x2);var _0x47e0e7=class extends _0x1e5f32{constructor(){super(),this['ctxOwner']=!0x0,this['Qe']={'width':0x0,'height':0x0},this['e']=null,this['_']=!0x1,this['se']=null,this['Ja']=_0x673a48(),this['as']=_0x673a48(),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']=_0x1e9cf3(this['tl']['bind'](this),0x12c),this['ns']=_0x23e4dc(()=>{!this['isConnected']||!this['_']||(this['ls'](),this['il'](),this['rl'](),this['cs'](),this['us']());},0x64);}['firstUpdated'](t){super['firstUpdated'](t),this['ls']();}['il'](){let _0x31e182=_0x1a8231(this['$']['*editorTransformations'],Object['keys'](this['$']['*operations'])),_0x53ff1a={...this['$']['*operations'],..._0x31e182};this['$']['*operations']=_0x53ff1a;}['ls'](){let t=this['Ja']['value'];if(!t)return;let _0xce56d6=t['getContext']('2d'),_0x25fd8d=this['offsetWidth'],_0x2fdfd2=this['offsetHeight'],_0x596020=window['devicePixelRatio'];t['style']['width']=_0x25fd8d+'px',t['style']['height']=_0x2fdfd2+'px',t['width']=_0x25fd8d*_0x596020,t['height']=_0x2fdfd2*_0x596020,_0xce56d6?.['scale'](_0x596020,_0x596020),this['fe']=t,this['e']=_0xce56d6;}['rl'](){if(!this['_']||!this['se'])return;let _0x18cacb,t=this['se'],_0x22ff0a=this['$']['*padding'],_0x4a5a30=this['$']['*operations'],{rotate:_0x474dea}=_0x4a5a30,_0x442c75=this['offsetWidth'],_0x1cf412=this['offsetHeight'],_0x350366=_0x2e0f17({'width':t['naturalWidth'],'height':t['naturalHeight']},_0x474dea);if(_0x350366['width']>_0x442c75-0x2*_0x22ff0a||_0x350366['height']>_0x1cf412-0x2*_0x22ff0a){let _0x3f9d93=_0x350366['width']/_0x350366['height'];if(_0x3f9d93>_0x442c75/_0x1cf412){let _0x5471a5=_0x442c75-0x2*_0x22ff0a,_0x30798d=_0x5471a5/_0x3f9d93;_0x18cacb={'x':0x0+_0x22ff0a,'y':_0x22ff0a+(_0x1cf412-0x2*_0x22ff0a)/0x2-_0x30798d/0x2,'width':_0x5471a5,'height':_0x30798d};}else{let _0x8c4660=_0x1cf412-0x2*_0x22ff0a,_0x3a6b3c=_0x8c4660*_0x3f9d93;_0x18cacb={'x':_0x22ff0a+(_0x442c75-0x2*_0x22ff0a)/0x2-_0x3a6b3c/0x2,'y':0x0+_0x22ff0a,'width':_0x3a6b3c,'height':_0x8c4660};}}else{let {width:_0x114a9b,height:_0x37cd84}=_0x350366;_0x18cacb={'x':_0x22ff0a+(_0x442c75-0x2*_0x22ff0a)/0x2-_0x114a9b/0x2,'y':_0x22ff0a+(_0x1cf412-0x2*_0x22ff0a)/0x2-_0x37cd84/0x2,'width':_0x114a9b,'height':_0x37cd84};}this['$']['*imageBox']=_0x369bf4(_0x18cacb);}['cs'](){let t=this['$']['*cropBox'],_0x5de43c=this['$']['*imageBox'],_0x405293=this['$']['*operations'],{rotate:_0x1b9946}=_0x405293,_0x2e09cd=this['$']['*editorTransformations']['crop'],{width:_0x232a97,x:_0x160081,y:_0x3dec9a}=_0x5de43c;if(_0x2e09cd){let {dimensions:[_0x3581d6,_0xb7414b],coords:[_0x3a27b8,_0x4b7921]}=_0x2e09cd,{width:_0xc3911c}=_0x2e0f17(this['Qe'],_0x1b9946),_0x20b6fe=_0x232a97/_0xc3911c;t=_0x4d3c62(_0x369bf4({'x':_0x160081+_0x3a27b8*_0x20b6fe,'y':_0x3dec9a+_0x4b7921*_0x20b6fe,'width':_0x3581d6*_0x20b6fe,'height':_0xb7414b*_0x20b6fe}),_0x5de43c);}let _0x52dbd2=this['$']['*currentAspectRatio'],_0x1f58ab=_0x52dbd2?_0x52dbd2['width']/_0x52dbd2['height']:void 0x0;if(!_0x4b55cf(t,_0x5de43c)||_0x1f58ab&&!_0x380513(t,_0x1f58ab)){let _0x22efc6=_0x5de43c['width']/_0x5de43c['height'],_0x3a1676=_0x5de43c['width'],_0x35d182=_0x5de43c['height'];_0x1f58ab&&(_0x22efc6>_0x1f58ab?_0x3a1676=Math['min'](_0x5de43c['height']*_0x1f58ab,_0x5de43c['width']):_0x35d182=Math['min'](_0x5de43c['width']/_0x1f58ab,_0x5de43c['height'])),t={'x':_0x5de43c['x']+_0x5de43c['width']/0x2-_0x3a1676/0x2,'y':_0x5de43c['y']+_0x5de43c['height']/0x2-_0x35d182/0x2,'width':_0x3a1676,'height':_0x35d182};}this['$']['*cropBox']=_0x4d3c62(_0x369bf4(t),_0x5de43c);}['md'](){let t=this['e'];if(!t)return;let _0x5dcb8a=this['se'];if(!_0x5dcb8a)return;let _0x4734cb=this['$']['*imageBox'],_0x2632dc=this['$']['*operations'],{mirror:_0x1188d9,flip:_0x45e7ce,rotate:_0x30175c}=_0x2632dc,_0x5d510c=_0x2e0f17({'width':_0x4734cb['width'],'height':_0x4734cb['height']},_0x30175c);t['save'](),t['translate'](_0x4734cb['x']+_0x4734cb['width']/0x2,_0x4734cb['y']+_0x4734cb['height']/0x2),t['rotate'](_0x30175c*Math['PI']*-0x1/0xb4),t['scale'](_0x1188d9?-0x1:0x1,_0x45e7ce?-0x1:0x1),t['drawImage'](_0x5dcb8a,-_0x5d510c['width']/0x2,-_0x5d510c['height']/0x2,_0x5d510c['width'],_0x5d510c['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']=yt({'uc-active_from_viewer':t,'uc-active_from_editor':!t,'uc-inactive_to_editor':!0x1});}));}['ol'](){let t=this['$']['*cropBox'],_0x4cce30=this['$']['*imageBox'],_0x4de982=this['$']['*operations'],{rotate:_0x4bacd4}=_0x4de982,{width:_0x36ef2f,height:_0x449d13}=_0x4cce30,{width:_0x216c35,height:_0x8c1a93}=_0x2e0f17(this['Qe'],_0x4bacd4),{width:_0x5cdcca,height:_0x1b6d5d}=t,_0x46c6b5=_0x36ef2f/_0x216c35,_0x1b8e02=_0x449d13/_0x8c1a93;return[_0xa94ece(Math['round'](_0x5cdcca/_0x46c6b5),0x1,_0x216c35),_0xa94ece(Math['round'](_0x1b6d5d/_0x1b8e02),0x1,_0x8c1a93)];}['yd'](){let t=this['$']['*cropBox'],_0x588e6e=this['$']['*imageBox'],_0x46c635=this['$']['*operations'],{rotate:_0x3ab4b9}=_0x46c635,{width:_0x1e7afc,height:_0x10bf35,x:_0x279b53,y:_0x275482}=_0x588e6e,{width:_0x24a88d,height:_0x216571}=_0x2e0f17(this['Qe'],_0x3ab4b9),{x:_0xbb0f47,y:_0xe0c5a1}=t,_0x152d40=_0x1e7afc/_0x24a88d,_0x55f73d=_0x10bf35/_0x216571,_0x482960=this['ol'](),_0x48e9bc={'dimensions':_0x482960,'coords':[_0xa94ece(Math['round']((_0xbb0f47-_0x279b53)/_0x152d40),0x0,_0x24a88d-_0x482960[0x0]),_0xa94ece(Math['round']((_0xe0c5a1-_0x275482)/_0x55f73d),0x0,_0x216571-_0x482960[0x1])]};if(_0x567b88(_0x48e9bc))return _0x482960[0x0]!==_0x24a88d||_0x482960[0x1]!==_0x216571?_0x48e9bc:void 0x0;console['error']('Cropper\x20is\x20trying\x20to\x20create\x20invalid\x20crop\x20object',{'payload':_0x48e9bc});}['tl'](){if(!this['isConnected']||!this['Qe'])return;let t=this['$']['*operations'],{rotate:_0x3cf281,mirror:_0x2bcece,flip:_0x2160ff}=t,_0x3155d3=this['yd'](),_0x33f567={...this['$']['*editorTransformations'],'crop':_0x3155d3,'rotate':_0x3cf281,'mirror':_0x2bcece,'flip':_0x2160ff};this['$']['*editorTransformations']=_0x33f567;}['setValue'](t,_0x507374){this['$']['*operations']={...this['$']['*operations'],[t]:_0x507374},this['_']&&(this['rl'](),this['cs'](),this['us']());}['getValue'](t){return this['$']['*operations'][t];}async['activate'](t,{fromViewer:_0x521559}={}){if(!this['_']){this['_']=!0x0,await this['updateComplete'],this['ls'](),this['Qe']=t,this['removeEventListener']('transitionend',this['sl']);try{let _0x44d509=this['$']['*originalUrl'],_0x38f524=this['$']['*editorTransformations'];this['se']=await this['bd'](_0x44d509,_0x38f524),this['il'](),this['ns'](),this['gd']({'fromViewer':_0x521559});}catch(_0x26b441){console['error']('Failed\x20to\x20activate\x20cropper',{'error':_0x26b441}),this['telemetryManager']['sendEventError'](_0x26b441,'cloud\x20editor\x20image.\x20Failed\x20to\x20activate\x20cropper');}this['s']=new ResizeObserver(_0x4428c4=>{let [_0x43b990]=_0x4428c4;_0x43b990&&_0x43b990['contentRect']['width']>0x0&&_0x43b990['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']=yt({'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'](),_0x3ac8c2=this['$']['*cropBox'],_0x33a925=Math['min'](this['offsetWidth'],t[0x0])/_0x3ac8c2['width'],_0x38d02e=Math['min'](this['offsetHeight'],t[0x1])/_0x3ac8c2['height'],_0x321a80=Math['min'](_0x33a925,_0x38d02e),_0x806c2e=_0x3ac8c2['x']+_0x3ac8c2['width']/0x2,_0x5c0ab6=_0x3ac8c2['y']+_0x3ac8c2['height']/0x2;this['style']['transform']='scale('+_0x321a80+')\x20translate('+(this['offsetWidth']/0x2-_0x806c2e)/_0x321a80+'px,\x20'+(this['offsetHeight']/0x2-_0x5c0ab6)/_0x321a80+'px)',this['style']['transformOrigin']=_0x806c2e+'px\x20'+_0x5c0ab6+'px';}['vd'](){let t=this['$']['*cropBox'],_0x3c0092=t['x']+t['width']/0x2,_0x1871e0=t['y']+t['height']/0x2;this['style']['transform']='scale(1)',this['style']['transformOrigin']=_0x3c0092+'px\x20'+_0x1871e0+'px';}['sl'](){this['_']||(this['se']=null);}async['bd'](t,_0x4eb5b0){let _0x3e68fe=this['offsetWidth'];_0x4eb5b0={..._0x4eb5b0,'crop':void 0x0,'rotate':void 0x0,'flip':void 0x0,'mirror':void 0x0};let _0x20ff8c=await this['proxyUrl'](ti(t,_0x3e68fe,_0x4eb5b0)),{promise:_0x48c7e8,cancel:_0x1f0568,image:_0x4cee98}=_0x574547(_0x20ff8c),_0x519669=this['$t'](_0x20ff8c);return _0x4cee98['addEventListener']('load',_0x519669,{'once':!0x0}),_0x4cee98['addEventListener']('error',_0x519669,{'once':!0x0}),this['b']?.(),this['b']=_0x1f0568,_0x48c7e8['then'](()=>_0x4cee98)['catch'](_0x4dc71a=>(console['error']('Failed\x20to\x20load\x20image',{'error':_0x4dc71a}),this['$']['*networkProblems']=!0x0,_0x4cee98));}['$t'](t){let _0x199e73='crop',_0x57929f=this['$']['*loadingOperations'],_0x5d3b73=_0x57929f['get'](_0x199e73);return _0x5d3b73||(_0x5d3b73=new Map(),_0x57929f['set'](_0x199e73,_0x5d3b73)),_0x5d3b73['get'](t)||(_0x5d3b73['set'](t,!0x0),this['$']['*loadingOperations']=_0x57929f),()=>{let _0x552a2c=_0x57929f['get'](_0x199e73);_0x552a2c?.['has'](t)&&(_0x552a2c['delete'](t),this['$']['*loadingOperations']=_0x57929f);};}['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 _0x44abcf`<canvas class="uc-canvas" ${_0x141829(this['Ja'])}></canvas><uc-crop-frame ${_0x141829(this['as'])}></uc-crop-frame>`;}};function _0x1bebdb(_0x797f35,_0x5323c8,t){let _0x52fa03=t-0x1,_0x3f1121=new Array(t);for(let _0x4e0010=_0x52fa03;_0x4e0010>=0x0;_0x4e0010-=0x1)_0x3f1121[_0x4e0010]=Math['ceil']((_0x4e0010*_0x5323c8+(_0x52fa03-_0x4e0010)*_0x797f35)/_0x52fa03);return _0x3f1121;}function _0x6c0d44(_0x5ae1dd){return'string'==typeof _0x5ae1dd&&_0x5ae1dd in kt;}function _0x272e7d(_0x304d0c){let _0x4fa36a=[];for(let t=0x0;t<_0x304d0c['length']-0x1;t+=0x1){let _0xd8be4e=_0x304d0c[t],_0x1598e3=_0x304d0c[t+0x1];'number'==typeof _0xd8be4e&&'number'==typeof _0x1598e3&&_0x4fa36a['push']([_0xd8be4e,_0x1598e3]);}return _0x4fa36a;}function _0xf87c29(_0x33d36b,_0x5357ef,t){let _0x15a797=_0x272e7d(_0x33d36b)['find'](([_0x1a66a8,_0xb9ea71])=>_0x1a66a8<=_0x5357ef&&_0x5357ef<=_0xb9ea71);if(!_0x15a797)return _0x33d36b['map'](()=>0x0);let [_0x41f592,_0x3d2e50]=_0x15a797;return _0x33d36b['map'](_0x960b22=>{let _0x505e8a=Math['abs'](_0x41f592-_0x3d2e50)||0x1,_0x117f46=Math['abs'](_0x5357ef-_0x41f592)/_0x505e8a;return _0x41f592===_0x960b22?_0x5357ef>t?0x1:0x1-_0x117f46:_0x3d2e50===_0x960b22?_0x5357ef>=t?_0x117f46:0x1:0x0;});}function _0x24b1d1(_0x26dd2e,_0x235d57){return _0x26dd2e['map']((t,_0xacf880)=>t<_0x235d57?_0x26dd2e['length']-_0xacf880:_0xacf880);}function tl(_0x8494a8,_0x36b82e){let t=kt[_0x8494a8]['keypointsNumber'],{range:_0x1781ef,zero:_0x36d24b}=kt[_0x8494a8];return[...new Set([..._0x1bebdb(_0x1781ef[0x0],_0x36d24b,t+0x1),..._0x1bebdb(_0x36d24b,_0x1781ef[0x1],t+0x1),_0x36d24b,_0x36b82e])]['sort']((_0x492f51,_0x4e6098)=>_0x492f51-_0x4e6098);}_0x4a98e4([_0x12c3df()],_0x47e0e7['prototype'],'se',0x2);var _0x3b1e26=class extends _0x1e5f32{constructor(){super(),this['_']=!0x1,this['ds']=!0x0,this['n']='initial',this['nl']={},this['Ue']=[],this['al']=0x0,this['cl']=_0x673a48(),this['gr']=_0x673a48(),this['classList']['add']('uc-inactive_to_cropper'),this['ll']=_0x1e9cf3(async(t,_0x1b5324,_0x1399c5)=>{let _0x24c95f=()=>!this['ul'](t,_0x1b5324)||this['Pt']!==_0x1399c5||!!this['Ue']['find'](_0x2f8141=>_0x2f8141['value']===_0x1399c5);if(_0x24c95f())return;let _0x185b28=await this['dl'](t,_0x1399c5),_0x342a8d=new Image();_0x342a8d['src']=_0x185b28['src'];let _0xb8395a=this['$t'](_0x185b28['src']);_0x342a8d['addEventListener']('load',_0xb8395a,{'once':!0x0}),_0x342a8d['addEventListener']('error',_0xb8395a,{'once':!0x0}),_0x185b28['image']=_0x342a8d,_0x342a8d['classList']['add']('uc-fader-image'),_0x342a8d['addEventListener']('load',()=>{if(_0x24c95f())return;let _0x44a307=this['Ue'],_0x13b6f2=_0x44a307['findIndex'](_0x4f8e46=>_0x4f8e46['value']>_0x1399c5);-0x1===_0x13b6f2&&(_0x13b6f2=_0x44a307['length']);let _0xb9e3ed=_0x44a307[_0x13b6f2]?.['image'],_0x2a43ef=this['gr']['value'];!_0x2a43ef||_0xb9e3ed&&!_0x2a43ef['contains'](_0xb9e3ed)||(_0x44a307['splice'](_0x13b6f2,0x0,_0x185b28),_0xb9e3ed?_0x2a43ef['insertBefore'](_0x342a8d,_0xb9e3ed):_0x2a43ef['appendChild'](_0x342a8d),this['fs'](t,_0x1399c5));},{'once':!0x0}),_0x342a8d['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});},0x258);}['$t'](t){let _0x3f2082=this['n'],_0x3d8072=this['$']['*loadingOperations'];_0x3d8072['has'](_0x3f2082)||_0x3d8072['set'](_0x3f2082,new Map());let _0x2fa5d3=_0x3d8072['get'](_0x3f2082);return _0x2fa5d3&&!_0x2fa5d3['get'](t)&&(_0x2fa5d3['set'](t,!0x0),this['$']['*loadingOperations']=_0x3d8072),()=>{let _0xf9669b=_0x3d8072['get'](_0x3f2082);_0xf9669b?.['has'](t)&&(_0xf9669b['delete'](t),this['$']['*loadingOperations']=_0x3d8072);};}['pl'](){window['cancelAnimationFrame'](this['al']),this['al']=window['requestAnimationFrame'](()=>{for(let t of this['Ue']){let {image:_0x57c1d0}=t;_0x57c1d0&&(_0x57c1d0['style']['opacity']=t['opacity']['toString'](),_0x57c1d0['style']['zIndex']=t['zIndex']['toString']());}});}['Je']({url:t=this['Dt'],filter:_0x1b1f96=this['m']??void 0x0,operation:_0x530c9a,value:_0x22bc63}={}){if(!t)throw new Error('URL\x20is\x20not\x20defined');let _0x18b5cc={...this['nl']};_0x530c9a&&('filter'===_0x530c9a?_0x1b1f96&&'number'==typeof _0x22bc63&&(_0x18b5cc['filter']={'name':_0x1b1f96,'amount':_0x22bc63}):'number'==typeof _0x22bc63&&(_0x18b5cc[_0x530c9a]=_0x22bc63));let _0x151f06=this['offsetWidth'];return this['proxyUrl'](ti(t,_0x151f06,_0x18b5cc));}async['dl'](t,_0x3cd477){return{'src':await this['Je']({'operation':t,'value':_0x3cd477}),'image':void 0x0,'opacity':0x0,'zIndex':0x0,'value':_0x3cd477};}['ul'](t,_0x5ef131){return this['n']===t&&this['m']===_0x5ef131;}['set'](t){let _0x601721='string'==typeof t?parseInt(t,0xa):t;!_0x6c0d44(this['n'])||!Number['isFinite'](_0x601721)||(this['fs'](this['n'],_0x601721),this['ll'](this['n'],this['m'],_0x601721));}['fs'](t,_0x5b80f7){this['n']=t,this['Pt']=_0x5b80f7;let {zero:_0x3adfcf}=kt[t],_0x217046=this['Ue']['map'](_0x96f969=>_0x96f969['value']),_0x51067a=_0xf87c29(_0x217046,_0x5b80f7,_0x3adfcf),_0x131ff8=_0x24b1d1(_0x217046,_0x3adfcf);this['Ue']['forEach']((_0x126322,_0x3c6523)=>{let _0x5cee5a=_0x51067a[_0x3c6523],_0x3834f6=_0x131ff8[_0x3c6523];'number'==typeof _0x5cee5a&&(_0x126322['opacity']=_0x5cee5a),'number'==typeof _0x3834f6&&(_0x126322['zIndex']=_0x3834f6);}),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 _0x1ba91f=this['Ue']['map'](_0x344b80=>_0x344b80['src']),{images:_0x4b12db,promise:_0x2f734f,cancel:_0x322984}=_0x50a4ef(_0x1ba91f);_0x4b12db['forEach'](_0x117339=>{let _0x151f77=this['$t'](_0x117339['src']);_0x117339['addEventListener']('load',_0x151f77),_0x117339['addEventListener']('error',_0x151f77);}),this['ps']=()=>{_0x322984(),this['ps']=void 0x0;};let _0x2c96cf=this['n'],_0x5bd9dd=this['m'];if(await _0x2f734f,this['_']&&this['ul'](_0x2c96cf,_0x5bd9dd)){let _0x27022c=this['gr']['value'];if(!_0x27022c)return;_0x27022c['replaceChildren'](),this['Ue']['forEach']((_0x7bf634,_0x144fc0)=>{let _0x15a5e4=_0x4b12db[_0x144fc0];_0x15a5e4&&(_0x15a5e4['classList']['add']('uc-fader-image'),_0x7bf634['image']=_0x15a5e4,_0x27022c['appendChild'](_0x15a5e4));}),this['pl']();}}async['setTransformations'](t){if(this['nl']=t,this['a']){let _0x44fccd=await this['Je'](),_0x3ae101=this['$t'](_0x44fccd);this['a']['src']=_0x44fccd,this['a']['addEventListener']('load',_0x3ae101,{'once':!0x0}),this['a']['addEventListener']('error',_0x3ae101,{'once':!0x0}),this['a']['style']['opacity']='1',this['a']['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}}async['preload']({url:t,filter:_0x11d8aa,operation:_0xc10d9e,value:_0x283a9a}){if(!_0xc10d9e||'number'!=typeof _0x283a9a)return;this['hs']?.();let _0x2cb573=tl(_0xc10d9e,_0x283a9a),_0x50ed03=await Promise['all'](_0x2cb573['map'](_0x1a4101=>this['Je']({'url':t,'filter':_0x11d8aa,'operation':_0xc10d9e,'value':_0x1a4101}))),{cancel:_0x24fc02}=_0x50a4ef(_0x50ed03);this['hs']=_0x24fc02;}['Ed'](t){let _0x41d806=this['a']||this['hl']();if(this['fl'](_0x41d806),this['a']=_0x41d806,_0x41d806['src']===t)return _0x41d806['style']['opacity']='1',_0x41d806['style']['transform']='scale(1)',void(this['className']=yt({'uc-active_from_viewer':this['yi'],'uc-active_from_cropper':!this['yi'],'uc-inactive_to_cropper':!0x1}));_0x41d806['style']['opacity']='0';let _0x3a0fd1=this['$t'](t);_0x41d806['addEventListener']('error',_0x3a0fd1,{'once':!0x0}),_0x41d806['src']=t,_0x41d806['addEventListener']('load',()=>{_0x3a0fd1(),_0x41d806&&(_0x41d806['style']['opacity']='1',_0x41d806['style']['transform']='scale(1)',this['className']=yt({'uc-active_from_viewer':this['yi'],'uc-active_from_cropper':!this['yi'],'uc-inactive_to_cropper':!0x1}));},{'once':!0x0}),_0x41d806['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}async['activate']({url:t,operation:_0x57b0b1,value:_0x44bec6,filter:_0x20afd6,fromViewer:_0x263fd2}){if(this['_']=!0x0,this['ds']=!0x1,await this['updateComplete'],this['Dt']=t,this['n']=_0x57b0b1??'initial',this['Pt']=_0x44bec6,this['m']=_0x20afd6,this['yi']=_0x263fd2,'number'!=typeof _0x44bec6&&!_0x20afd6){let _0x2afb31=await this['Je']({'operation':_0x57b0b1,'value':_0x44bec6});return this['Ed'](_0x2afb31),void this['ms']();}!_0x57b0b1||'number'!=typeof _0x44bec6||(this['Ue']=await Promise['all'](tl(_0x57b0b1,_0x44bec6)['map'](_0x12ba5c=>this['dl'](_0x57b0b1,_0x12ba5c))),this['fs'](_0x57b0b1,_0x44bec6),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']=yt({'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 _0x33d81f=this['cl']['value'];_0x33d81f&&(_0x33d81f['contains'](t)||_0x33d81f['appendChild'](t));}['ms'](){this['gr']['value']?.['replaceChildren']();}['render'](){return _0x44abcf`<div class="uc-fader-preview-host" ${_0x141829(this['cl'])}></div><div class="uc-fader-layers-host" ${_0x141829(this['gr'])}></div>`;}},_0x5da0ca='important',_0x2ee8b8='\x20!'+_0x5da0ca,_0x36e2fa=gt(class extends Et{constructor(_0x301a60){if(super(_0x301a60),_0x301a60['type']!==$t['ATTRIBUTE']||'style'!==_0x301a60['name']||_0x301a60['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'](_0x1b1b3c){return Object['keys'](_0x1b1b3c)['reduce']((_0x40ce12,t)=>{let _0x36f0e1=_0x1b1b3c[t];return null==_0x36f0e1?_0x40ce12:_0x40ce12+((t=t['includes']('-')?t:t['replace'](/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,'-$&')['toLowerCase']())+':'+_0x36f0e1+';');},'');}['update'](_0x3e7a06,[_0x3a3716]){let {style:t}=_0x3e7a06['element'];if(void 0x0===this['ft'])return this['ft']=new Set(Object['keys'](_0x3a3716)),this['render'](_0x3a3716);for(let _0x5c3d64 of this['ft'])null==_0x3a3716[_0x5c3d64]&&(this['ft']['delete'](_0x5c3d64),_0x5c3d64['includes']('-')?t['removeProperty'](_0x5c3d64):t[_0x5c3d64]=null);for(let _0x1ed2e9 in _0x3a3716){let _0x1f0d84=_0x3a3716[_0x1ed2e9];if(null!=_0x1f0d84){this['ft']['add'](_0x1ed2e9);let _0xbd9e96='string'==typeof _0x1f0d84&&_0x1f0d84['endsWith'](_0x2ee8b8);_0x1ed2e9['includes']('-')||_0xbd9e96?t['setProperty'](_0x1ed2e9,_0xbd9e96?_0x1f0d84['slice'](0x0,-0xb):_0x1f0d84,_0xbd9e96?_0x5da0ca:''):t[_0x1ed2e9]=_0x1f0d84;}}return it;}}),Vt=class extends _0x1e5f32{constructor(){super(),this['gs']=0x0,this['vr']=_0x673a48(),this['gl']=_0x673a48(),this['vl']=_0x673a48(),this['disabled']=!0x1,this['min']=0x0,this['max']=0x64,this['defaultValue']=0x0,this['zero']=0x0,this['$e']=0x0,this['Cd']=t=>{t['stopPropagation']();let _0x5e1837=this['yl'](t);null!==_0x5e1837&&(this['vs'](_0x5e1837),this['xd']('slider-input',_0x5e1837));},this['Sd']=t=>{t['stopPropagation']();let _0x2a268a=this['yl'](t);null!==_0x2a268a&&this['vs'](_0x2a268a);},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,_0x15f073){this['dispatchEvent'](new CustomEvent(t,{'detail':{'value':_0x15f073},'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 _0x2644c7=this['vr']['value'];_0x2644c7?.['addEventListener']('focus',this['bl']),_0x2644c7?.['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 _0xc2e79a=this['max']-this['min'];if(0x0===_0xc2e79a)return;let {width:_0x12cbc3}=this['getBoundingClientRect'](),_0x423de6=0x64/_0xc2e79a*(t-this['min'])*(_0x12cbc3-this['gs'])/0x64;window['requestAnimationFrame'](()=>{let _0x2af531=this['gl']['value'];_0x2af531&&(_0x2af531['style']['transform']='translateX('+_0x423de6+'px)');});}['El'](t){if(!this['bi'])return;let _0x5b8f56=this['max']-this['min'];if(0x0===_0x5b8f56)return;this['bi']['style']['opacity']=t===this['zero']?'0':'1';let {width:_0x31661d}=this['getBoundingClientRect'](),_0x4a4d6c=0x64/_0x5b8f56*(this['zero']-this['min'])*(_0x31661d-this['gs'])/0x64;window['requestAnimationFrame'](()=>{this['bi']&&(this['bi']['style']['transform']='translateX('+_0x4a4d6c+'px)');});}['ys'](){let _0x645e61=this['vl']['value'];if(!_0x645e61)return;let {width:_0x398310}=_0x645e61['getBoundingClientRect'](),_0x5e5471=Math['ceil'](_0x398310/0x2),_0x526f6d=Math['ceil'](_0x5e5471/0xf)-0x2;if(this['ml']===_0x526f6d)return;let _0x4ce936=document['createDocumentFragment'](),_0x14a9d0=document['createElement']('div'),_0x5e2f8f=document['createElement']('div');_0x14a9d0['className']='uc-minor-step',_0x5e2f8f['className']='uc-border-step',_0x4ce936['appendChild'](_0x5e2f8f);for(let _0x263d55=0x0;_0x263d55<_0x526f6d;_0x263d55+=0x1)_0x4ce936['appendChild'](_0x14a9d0['cloneNode']());_0x4ce936['appendChild'](_0x5e2f8f['cloneNode']());for(let _0x8fb35c=0x0;_0x8fb35c<_0x526f6d;_0x8fb35c+=0x1)_0x4ce936['appendChild'](_0x14a9d0['cloneNode']());_0x4ce936['appendChild'](_0x5e2f8f['cloneNode']());let _0x44da9d=document['createElement']('div');_0x44da9d['className']='uc-zero-dot',_0x4ce936['appendChild'](_0x44da9d),this['bi']=_0x44da9d,_0x645e61['innerHTML']='',_0x645e61['appendChild'](_0x4ce936),this['ml']=_0x526f6d;}['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 _0x5105f9=this['vr']['value'];_0x5105f9&&(_0x5105f9['value']=String(t));}['yl'](t){let _0x1ae43d=t['currentTarget'];if(!_0x1ae43d)return null;let _0x45a6cf=Number['parseInt'](_0x1ae43d['value'],0xa);return Number['isFinite'](_0x45a6cf)?_0x45a6cf:null;}['render'](){return _0x44abcf`<div class="uc-steps" ${_0x141829(this['vl'])}></div><div class="uc-thumb" ${_0x141829(this['gl'])}></div><input class="uc-input" type="range" ${_0x141829(this['vr'])} .min=${String(this['min'])} .max=${String(this['max'])} .value=${String(this['$e'])} ?disabled=${this['disabled']} @input=${this['Cd']} @change=${this['Sd']} />`;}};_0x4a98e4([_0x5a17bd({'type':Boolean,'reflect':!0x0})],Vt['prototype'],'disabled',0x2),_0x4a98e4([_0x5a17bd({'type':Number})],Vt['prototype'],'min',0x2),_0x4a98e4([_0x5a17bd({'type':Number})],Vt['prototype'],'max',0x2),_0x4a98e4([_0x5a17bd({'type':Number,'attribute':!0x1})],Vt['prototype'],'defaultValue',0x2),_0x4a98e4([_0x5a17bd({'type':Number})],Vt['prototype'],'zero',0x2),_0x4a98e4([_0x12c3df()],Vt['prototype'],'$e',0x2);var Nt='original',_0x370fcd=class extends _0x1e5f32{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:_0x653de3}=t['detail'];this['$']['*faderEl']?.['set'](_0x653de3),this['state']={...this['state'],'value':_0x653de3};};}['setOperation'](t,_0x5d1828){this['state']={...this['state'],'operation':t,'filter':_0x5d1828},this['Ad']();let _0x5fff8e=this['$']['*faderEl'],_0x4abd97=this['state']['originalUrl']||this['$']['*originalUrl'];_0x5fff8e&&_0x4abd97&&_0x5fff8e['activate']({'url':_0x4abd97,'operation':this['state']['operation'],'value':this['state']['filter']===Nt?void 0x0:this['state']['value'],'filter':this['state']['filter']===Nt?void 0x0:this['state']['filter'],'fromViewer':!0x1});}['Ad'](){let t=this['state']['operation'],{range:_0x37c34e,zero:_0x579ca1}=kt[t],[_0x1ed887,_0xd8db7a]=_0x37c34e;this['state']={...this['state'],'min':_0x1ed887,'max':_0xd8db7a,'zero':_0x579ca1};let _0x49a764=this['$']['*editorTransformations'][t];if('filter'===t){let _0x3b6015=Number(_0xd8db7a),_0x1d2b26=_0x49a764;if(_0x1d2b26){let {name:_0x1bad67,amount:_0x2e534a}=_0x1d2b26;_0x3b6015=_0x1bad67===this['state']['filter']?_0x2e534a:_0xd8db7a;}return void(this['state']={...this['state'],'value':_0x3b6015,'defaultValue':_0x3b6015});}let _0xa34b40=typeof _0x49a764<'u'?_0x49a764:_0x579ca1;this['state']={...this['state'],'value':_0xa34b40,'defaultValue':_0xa34b40};}['apply'](){let _0x3671c7={...this['$']['*editorTransformations']};'filter'===this['state']['operation']?this['state']['filter']&&this['state']['filter']!==Nt?_0x3671c7['filter']={'name':this['state']['filter'],'amount':this['state']['value']}:delete _0x3671c7['filter']:_0x3671c7[this['state']['operation']]=this['state']['value'],this['$']['*editorTransformations']=_0x3671c7;}['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 _0x442d24=(this['state']['filter']??this['state']['operation'])+'\x20'+this['state']['value'];this['$']['*operationTooltip']=_0x442d24;}}['render'](){return _0x44abcf`<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 _0x3bf759(_0x3bc665){if(!_0x3bc665)return null;let _0x1022eb=_0x3bc665['match'](/^([A-Za-z]+)\s+(\d+)$/);if(!_0x1022eb)return null;let [,t,_0x24131b]=_0x1022eb;return!t||typeof _0x24131b>'u'?null:{'filter':t,'value':Number(_0x24131b)};}_0x4a98e4([_0x12c3df()],_0x370fcd['prototype'],'state',0x2);var at=class extends _0x1e5f32{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 [_0xe8bd4,_0x2a65ba]of Object['entries'](t))this['classList']['toggle'](_0xe8bd4,_0x2a65ba);}['onClick'](t){}['connectedCallback'](){super['connectedCallback'](),this['xl']();}['updated'](t){super['updated'](t),t['has']('active')&&this['xl']();}['render'](){let t=this['onClick'],_0x3c1d29=this['title'];return _0x44abcf`<button role="option" type="button" aria-label=${_0x5cc617(this['titleProp'])} title=${_0x5cc617(this['titleProp'])} @click=${t} ><uc-icon name=${this['icon']}></uc-icon><div class="uc-title" ?hidden=${!_0x3c1d29}>${_0x3c1d29}</div></button>`;}};_0x4a98e4([_0x12c3df()],at['prototype'],'active',0x2),_0x4a98e4([_0x12c3df()],at['prototype'],'title',0x2),_0x4a98e4([_0x12c3df()],at['prototype'],'icon',0x2),_0x4a98e4([_0x12c3df()],at['prototype'],'titleProp',0x2);var _0x46561c=0xc,to=0x10,_0x30ef85=_0x122902=>{let _0x45914f=0xc,t=0xc;return _0x122902['width']/_0x122902['height']>=0x1?(_0x45914f=_0x46561c,t=Math['round'](_0x46561c*_0x122902['height']/_0x122902['width'])):(t=_0x46561c,_0x45914f=Math['round'](_0x46561c*_0x122902['width']/_0x122902['height'])),{'width':_0x45914f,'height':t};},_0xf72b2=class extends at{['initCallback'](){super['initCallback'](),this['icon']='arrow-dropdown',this['sub']('*currentAspectRatio',_0xc23552=>{let t=this['kd'](_0xc23552);this['title']=t,this['titleProp']=t;});}['onClick'](){this['$']['*showListAspectRatio']=!0x0;}['kd'](_0x4a18bf){return _0x4a18bf?_0x4a18bf['hasFreeform']?this['l10n']('freeform-crop'):this['l10n']('crop-to-shape',{'value':_0x4a18bf['width']+':'+_0x4a18bf['height']}):'';}['render'](){let _0x1dd731=this['onClick'],t=this['title'];return _0x44abcf`<button role="option" type="button" class=${Pt(this['buttonClasses'])} aria-label=${_0x5cc617(this['titleProp'])} title=${_0x5cc617(this['titleProp'])} @click=${_0x1dd731} ><div class="uc-title" ?hidden=${!t}>${t}</div><uc-icon name=${this['icon']}></uc-icon></button>`;}},_0x2e0950=class extends at{constructor(){super(...arguments),this['X']=null;}get['aspectRatio'](){return this['X'];}set['aspectRatio'](t){if(this['X']===t)return;let _0x585fea=this['X'];this['X']=t,this['requestUpdate']('aspectRatio',_0x585fea),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 _0x110a87=!!t['hasFreeform'];this['toggleAttribute']('uc-aspect-ratio-freeform',_0x110a87),(((()=>{let _0x3ea76d=_0x110a87?this['l10n']('custom'):t['width']+':'+t['height'];this['title']=_0x3ea76d;})()),((()=>{let _0x3dfa00=this['l10n']('a11y-cloud-editor-apply-aspect-ratio',{'name':_0x110a87?this['l10n']('custom')['toLowerCase']():this['l10n']('crop-to-shape',{'value':t['width']+':'+t['height']})['toLowerCase'](),'value':''});this['titleProp']=_0x3dfa00;})()),_0x110a87||this['requestUpdate']());}['Md'](){let t=this['X'];if(!t||t['hasFreeform'])return _0x44abcf`<uc-icon name=${this['icon']}></uc-icon>`;let {width:_0x43de7f,height:_0x204444}=_0x30ef85(t);return _0x44abcf`<uc-icon><svg viewBox="0 0 ${to} ${to}" aria-hidden="true" focusable="false" ><rect x=${(to-_0x43de7f)/0x2} y=${(to-_0x204444)/0x2} width=${_0x43de7f} height=${_0x204444} rx="2" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linejoin="round" ></rect></svg></uc-icon>`;}['render'](){let t=this['onClick'],_0x3daefa=this['title'];return _0x44abcf`<button role="option" type="button" class=${Pt(this['buttonClasses'])} aria-label=${_0x5cc617(this['titleProp'])} title=${_0x5cc617(this['titleProp'])} @click=${t} >${this['Md']()}<div class="uc-title" ?hidden=${!_0x3daefa}>${_0x3daefa}</div></button>`;}};function _0x5c534a(_0x203ded){let _0x29e38f=_0x203ded+0x5a;return _0x29e38f=_0x29e38f>=0x168?0x0:_0x29e38f,_0x29e38f;}function _0x549260(_0x3c013e,_0x30091f){if('rotate'===_0x3c013e)return _0x5c534a('number'==typeof _0x30091f?_0x30091f:0x0);if('mirror'===_0x3c013e||'flip'===_0x3c013e)return!_0x30091f;throw new Error('Unsupported\x20operation:\x20'+_0x3c013e);}_0x4a98e4([_0x5a17bd({'attribute':!0x1})],_0x2e0950['prototype'],'aspectRatio',0x1);var _0x2cc976=class extends at{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 _0x5d99ce=this['$']['*cropperEl'],_0xd7f273=_0x5d99ce['getValue'](this['operation']),_0x2e0878=_0x549260(this['operation'],_0xd7f273);this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'operation':this['operation'],'next':_0x2e0878,'prev':_0xd7f273}),_0x5d99ce['setValue'](this['operation'],_0x2e0878);}};_0x4a98e4([_0x5a17bd({'type':String})],_0x2cc976['prototype'],'operation',0x2);var Yt=class extends at{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 _0x36af19=t??'';if(this['m']===_0x36af19)return;let _0x288d93=this['m'];this['m']=_0x36af19,this['n']='filter',this['isOriginal']=_0x36af19===Nt,this['icon']=this['isOriginal']?'original':'slider',this['Sl']=this['isOriginal']?0x28:0x14,this['requestUpdate']('filter',_0x288d93),this['isConnected']&&this['Al'](_0x36af19);}['onClick'](t){if(this['active'])this['isOriginal']||(this['$']['*sliderEl']['setOperation'](this['n'],this['m']),this['$']['*showSlider']=!0x0);else{let _0x14fef3=this['$']['*sliderEl'];_0x14fef3['setOperation'](this['n'],this['m']),_0x14fef3['apply']();}this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'operation':_0x3bf759(this['$']['*operationTooltip'])}),this['$']['*currentFilter']=this['m'];}['Od'](){let t=parseInt(window['getComputedStyle'](this)['getPropertyValue']('--l-base-min-width'),0xa),_0x351e8a=Number['isFinite'](t)&&t>0x0?t:this['Sl']||0x20,_0x1b4ba6=window['devicePixelRatio'],_0xf02697=Math['ceil'](_0x1b4ba6*_0x351e8a),_0x51bab6=_0x1b4ba6>=0x2?'lightest':'normal',_0x14bf6b={...this['$']['*editorTransformations']};return _0x14bf6b[this['n']]=this['m']!==Nt?{'name':this['m'],'amount':0x64}:void 0x0,_0x490615(this['wi'],rt(_0x5b8cfa,te(_0x14bf6b),'quality/'+_0x51bab6,'scale_crop/'+_0xf02697+'x'+_0xf02697+'/center','@clib/'+Ut+'/'+Rt+'/uc-cloud-image-editor/'));}async['ai'](t,_0x1c955a){t[0x0]?.['isIntersecting']?await this['Ts'](_0x1c955a):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',_0x2821a7=>{this['wi']=_0x2821a7??'',!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',_0x9384e6=>{this['active']=!(!_0x9384e6||_0x9384e6!==this['m']);}),this['sub']('*networkProblems',async _0x48ea2f=>{_0x48ea2f||(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 _0x335b9d=this['l10n']('a11y-cloud-editor-apply-filter',{'name':t['toLowerCase']()});this['titleProp']=_0x335b9d;}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 _0x2d9bb5=++this['br'],_0xf2b810='';try{_0xf2b810=await this['proxyUrl'](this['Od']());}catch(_0x337318){return this['$']['*networkProblems']=!0x0,void console['error']('Failed\x20to\x20resolve\x20preview\x20URL',{'error':_0x337318});}this['Nt']=!0x1,this['b']?.();let {promise:_0x2e1159,cancel:_0x1fa30e}=_0x574547(_0xf2b810);this['b']=()=>{_0x1fa30e(),this['br']===_0x2d9bb5&&(this['b']=void 0x0);};try{if(await _0x2e1159,this['br']!==_0x2d9bb5||!this['isConnected'])return;this['a']=_0xf2b810,this['Nt']=!0x0,this['wr'](),(t??this['s'])?.['unobserve'](this);}catch(_0x274363){this['$']['*networkProblems']=!0x0,console['error']('Failed\x20to\x20load\x20image',{'error':_0x274363}),this['et']();}finally{this['br']===_0x2d9bb5&&(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'](),_0x30e28f=t['width']>0x0&&t['height']>0x0,_0x290b09=window['innerWidth']||document['documentElement']['clientWidth'],_0x1b6438=window['innerHeight']||document['documentElement']['clientHeight'];_0x30e28f&&t['bottom']>0x0&&t['right']>0x0&&t['top']<_0x1b6438&&t['left']<_0x290b09?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'],_0x2aaff1={'opacity':this['Id']?'1':'0'};this['a']&&(_0x2aaff1['backgroundImage']='url('+this['a']+')');let _0x3533d1={'opacity':this['active']||this['isOriginal']?'1':'0'};return _0x44abcf`<button role="option" type="button" class=${Pt(this['buttonClasses'])} aria-label=${_0x5cc617(this['titleProp'])} title=${_0x5cc617(this['titleProp'])} @click=${t} ><div class="uc-preview" ?data-loaded=${this['Nt']} style=${_0x36e2fa(_0x2aaff1)}></div><uc-icon class=${Pt({'uc-original-icon':this['isOriginal']})} name=${this['icon']} style=${_0x36e2fa(_0x3533d1)} ></uc-icon></button>`;}};_0x4a98e4([_0x12c3df()],Yt['prototype'],'a',0x2),_0x4a98e4([_0x12c3df()],Yt['prototype'],'Nt',0x2),_0x4a98e4([_0x12c3df()],Yt['prototype'],'isOriginal',0x2),_0x4a98e4([_0x12c3df()],Yt['prototype'],'Sl',0x2),_0x4a98e4([_0x5a17bd({'type':String})],Yt['prototype'],'filter',0x1);var _0x190631=class extends at{constructor(){super(...arguments),this['n']='';}get['operation'](){return this['n'];}set['operation'](t){let _0x2520f5=t??'';if(this['n']===_0x2520f5)return;let _0x1fdb50=this['n'];this['n']=_0x2520f5,this['requestUpdate']('operation',_0x1fdb50),this['isConnected']&&_0x2520f5&&this['kl'](_0x2520f5);}['kl'](t){this['icon']=t,(((()=>{let _0x49b454=this['l10n']('a11y-cloud-editor-apply-tuning',{'name':this['l10n'](t)['toLowerCase']()});this['titleProp']=_0x49b454;})()),((()=>{let _0x34ba53=this['l10n'](t);this['title']=_0x34ba53;})()));}['initCallback'](){super['initCallback'](),this['n']&&this['kl'](this['n']),this['sub']('*editorTransformations',t=>{if(!this['n'])return;let {zero:_0xe69aa4}=kt[this['n']],_0x584500=t[this['n']],_0x122eaf=typeof _0x584500<'u'&&_0x584500!==_0xe69aa4;this['active']=_0x122eaf;});}['onClick'](t){this['$']['*sliderEl']?.['setOperation'](this['n']),this['$']['*showSlider']=!0x0,this['$']['*currentOperation']=this['n'],this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'operation':_0x3bf759(this['$']['*operationTooltip'])});}};_0x4a98e4([_0x5a17bd({'type':String})],_0x190631['prototype'],'operation',0x1);var _0x58eaea=0x1,_0x38bdd2=()=>{},_0xb38481=class extends _0x1e5f32{constructor(){super(...arguments),this['hiddenScrollbar']=!0x1,this['Ml']=t=>{t['preventDefault']();let {deltaY:_0x4d0978,deltaX:_0x25d36a}=t;Math['abs'](_0x25d36a)>_0x58eaea?this['scrollLeft']+=_0x25d36a:this['scrollLeft']+=_0x4d0978;};}['connectedCallback'](){super['connectedCallback'](),this['addEventListener']('wheel',this['Ml'],{'passive':!0x1}),this['addEventListener']('scroll',_0x38bdd2,{'passive':!0x0});}['disconnectedCallback'](){this['removeEventListener']('wheel',this['Ml']),this['removeEventListener']('scroll',_0x38bdd2),super['disconnectedCallback']();}};_0x4a98e4([_0x5a17bd({'type':Boolean,'noAccessor':!0x0,'attribute':'hidden-scrollbar'})],_0xb38481['prototype'],'hiddenScrollbar',0x2);var pt=class extends _0x1e5f32{constructor(){super(...arguments),this['Ti']=!0x1,this['showMainToolbar']=!0x0,this['showSubToolbar']=!0x1,this['Ol']=!0x0,this['tabList']=[...ot],this['activeTab']=_0x27a6a4['CROP'],this['Tr']=!0x0,this['Es']=!0x1,this['Il']=null,this['Pl']=0x0,this['Ll']=0x0,this['Er']=_0x673a48(),this['Rl']=_0x673a48(),this['tabToggleRefs']={[_0x27a6a4['CROP']]:_0x673a48(),[_0x27a6a4['TUNING']]:_0x673a48(),[_0x27a6a4['FILTERS']]:_0x673a48()},this['Ul']=()=>{this['tt']();},this['Ei']=[],this['xr']=_0x1e9cf3(t=>{this['Ti']=t;},0x1f4),this['Cr']=_0x1e9cf3(()=>{let t=this['$']['*editorTransformations'],_0x1af1cd=this['$']['*currentOperation'],_0x2ccdba='',_0x1d72da=!0x1;if(this['$']['*tabId']===_0x27a6a4['FILTERS']){if(_0x1d72da=!0x0,this['$']['*currentFilter']&&t?.['filter']?.['name']===this['$']['*currentFilter']){let _0xe99c5=t?.['filter']?.['amount']||0x64;_0x2ccdba=this['$']['*currentFilter']+'\x20'+_0xe99c5;}else _0x2ccdba=this['l10n'](Nt);}else{if(this['showSubToolbar']&&this['$']['*tabId']===_0x27a6a4['TUNING']&&_0x1af1cd){_0x1d72da=!0x0;let _0x23f765=t?.[_0x1af1cd]||kt[_0x1af1cd]['zero'];_0x2ccdba=this['l10n'](_0x1af1cd)+'\x20'+_0x23f765;}}_0x1d72da&&(this['$']['*operationTooltip']=_0x2ccdba),this['Es']=_0x1d72da;},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':Nt,'*currentOperation':null,'*operationTooltip':null},this['Ee']=t=>{this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'action':'cancel'}),this['b']?.();let _0x22b0d3=this['$']['*on.cancel'];_0x22b0d3?.();},this['As']=t=>{this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'action':'apply'});let _0x157085=this['$']['*on.apply'];_0x157085?.(this['$']['*editorTransformations']);},this['jd']=t=>{this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'action':'apply-slider','operation':_0x3bf759(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 _0x484b4e=t['currentTarget']?.['getAttribute']('data-id');_0x484b4e&&(this['telemetryManager']['sendEventCloudImageEditor'](t,_0x484b4e),this['xs'](_0x484b4e,{'fromViewer':!0x1}));};}['$l'](){this['$']['*showSlider']=!0x1,this['$']['*tabId']===_0x27a6a4['CROP']&&(this['$']['*showListAspectRatio']=!0x1),this['$']['*tabId']===_0x27a6a4['TUNING']&&(this['Es']=!0x1);}['xs'](t,{fromViewer:_0x3def84=!0x1,force:_0x609e26=!0x1}={}){this['$']['*tabId']!==t&&(this['$']['*tabId']=t),this['Dl'](t,{'fromViewer':_0x3def84,'force':_0x609e26});}['Dl'](t,{fromViewer:_0x4cbd6c,force:_0x4773ba=!0x1}){if(!_0x4773ba&&this['activeTab']===t)return void this['tt']();this['activeTab']=t;let _0x1a961d=this['$']['*faderEl'],_0xdb94f8=this['$']['*cropperEl'];t===_0x27a6a4['CROP']?(_0x1a961d?.['deactivate'](),this['$']['*imageSize']&&_0xdb94f8?.['activate'](this['$']['*imageSize'],{'fromViewer':_0x4cbd6c})):(_0x1a961d?.['activate']({'url':this['$']['*originalUrl'],'fromViewer':_0x4cbd6c}),_0xdb94f8?.['deactivate']());for(let _0x915884 of ot){let _0x5690f1=_0x915884===t,_0x184efc=this['tabToggleRefs'][_0x915884]?.['value'];_0x184efc&&(_0x184efc['active']=_0x5690f1),_0x5690f1&&this['tt']();}}['tt'](){let _0x46241f=this['tabToggleRefs'][this['activeTab']]?.['value'],_0x52d0a1=this['Rl']['value'];if(!_0x46241f||!_0x52d0a1)return;let _0x2ff558=_0x46241f['offsetLeft'],_0x3e852a=_0x46241f['offsetWidth']||Number(getComputedStyle(_0x46241f)['width']['replace']('px',''));(this['Pl']!==_0x2ff558||this['Ll']!==_0x3e852a)&&(this['Pl']=_0x2ff558,this['Ll']=_0x3e852a,_0x52d0a1['style']['transform']='translateX('+_0x2ff558+'px)',_0x52d0a1['style']['width']=_0x3e852a+'px');}get['Cs'](){return this['Ei']['length']>=0x3;}['$d'](t){switch(t){case _0x27a6a4['CROP']:return this['Dd']();case _0x27a6a4['FILTERS']:return this['Fd']();case _0x27a6a4['TUNING']:return this['Nd']();default:return[];}}['Dd'](){let t=[];if(this['Cs'])t['push'](()=>this['Vd']());else{for(let _0x4cd0e9 of this['Ei'])t['push'](()=>this['Fl'](_0x4cd0e9));}for(let _0xb6ced7 of _0x5c24e3)t['push'](()=>this['_d'](_0xb6ced7));return this['Ss'](t);}['Fd'](){let _0xa7a729=[Nt,..._0x1862b7]['map'](_0x732f13=>()=>this['Bd'](_0x732f13));return this['Ss'](_0xa7a729);}['Nd'](){let t=_0x9fa232['map'](_0x395334=>()=>this['zd'](_0x395334));return this['Ss'](t);}['Ss'](t){return t['length']?t['map'](_0x7d59a=>_0x7d59a()):[];}['Vd'](){return _0x44abcf`<uc-editor-freeform-button-control></uc-editor-freeform-button-control>`;}['Fl'](t){return _0x44abcf`<uc-editor-aspect-ratio-button-control .aspectRatio=${t}></uc-editor-aspect-ratio-button-control>`;}['_d'](t){return _0x44abcf`<uc-editor-crop-button-control .operation=${t}></uc-editor-crop-button-control>`;}['Bd'](t){return _0x44abcf`<uc-editor-filter-control .filter=${t}></uc-editor-filter-control>`;}['zd'](t){return _0x44abcf`<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'],_0x3e1997=await this['proxyUrl'](ti(this['$']['*originalUrl'],t,this['$']['*editorTransformations']));this['b']?.();let {cancel:_0x3bbd00}=_0x50a4ef([_0x3e1997]);this['b']=()=>{_0x3bbd00(),this['b']=void 0x0;};}}['initCallback'](){super['initCallback']();let t=this['$']['*cropPresetList']??[];this['Ei']=[...t],this['sub']('*cropPresetList',_0x460470=>{this['Ei']=[..._0x460470??[]];}),this['sub']('*imageSize',_0x2868e2=>{_0x2868e2&&setTimeout(()=>{this['xs'](this['$']['*tabId'],{'fromViewer':!0x0});},0x0);}),this['sub']('*editorTransformations',_0xa9e018=>{let _0xac7461=_0xa9e018?.['filter']?.['name'];this['$']['*currentFilter']!==_0xac7461&&(this['$']['*currentFilter']=_0xac7461??'');}),this['sub']('*currentFilter',()=>{this['Cr']();}),this['sub']('*currentOperation',()=>{this['Cr']();}),this['sub']('*tabId',_0xdf018c=>{this['Dl'](_0xdf018c,{'fromViewer':!0x1,'force':!0x0}),this['Cr']();}),this['sub']('*originalUrl',()=>{this['$']['*faderEl']?.['deactivate']();}),this['sub']('*editorTransformations',_0x5a500e=>{this['Kd'](),this['$']['*faderEl']?.['setTransformations'](_0x5a500e);}),this['sub']('*loadingOperations',_0x29a1d0=>{let _0x1f41d3=!0x1;for(let [,_0x2810e4]of _0x29a1d0['entries']()){if(_0x1f41d3)break;for(let [,_0x4d8534]of _0x2810e4['entries']())if(_0x4d8534){_0x1f41d3=!0x0;break;}}this['xr'](_0x1f41d3);}),this['sub']('*showSlider',_0x5389b1=>{_0x5389b1?(this['showSubToolbar']=!0x0,this['showMainToolbar']=!0x1,this['Tr']=!0x0):this['$']['*showListAspectRatio']||(this['showSubToolbar']=!0x1,this['showMainToolbar']=!0x0);}),this['sub']('*showListAspectRatio',_0x215627=>{_0x215627?(this['showSubToolbar']=!0x0,this['showMainToolbar']=!0x1,this['Tr']=!0x1):this['$']['*showSlider']||(this['showSubToolbar']=!0x1,this['showMainToolbar']=!0x0);}),this['sub']('*tabList',_0x50ff04=>{if(this['tabList']=_0x50ff04,this['Ol']=_0x50ff04['length']>0x1,!_0x50ff04['includes'](this['$']['*tabId'])&&_0x50ff04['length']>0x0){let [_0x3f776e]=_0x50ff04;return void(_0x3f776e&&this['xs'](_0x3f776e,{'fromViewer':!0x1}));}this['tt']();}),this['sub']('*operationTooltip',_0x35eeef=>{this['Il']=_0x35eeef;}),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 _0x51fad0=this['tabList']['includes'](t),_0x418e3a=this['activeTab']===t,_0x4c8603=this['tabList']['indexOf'](t),_0x1e3ab3=_0x4c8603>=0x0?_0x36e2fa({'gridColumn':''+(_0x4c8603+0x1)}):_0xf98a9a;return _0x44abcf`<uc-presence-toggle class="uc-tab-toggle" .visible=${_0x51fad0} .styles=${this['Rd']}><uc-btn-ui theme="tab" data-id=${t} icon=${t} role="tab" aria-controls=${'tab_'+t} aria-selected=${_0x418e3a?'true':'false'} title-prop=${'a11y-editor-tab-'+t} .active=${_0x418e3a} style=${_0x1e3ab3} @click=${this['qd']} ${_0x141829(this['tabToggleRefs'][t])} ></uc-btn-ui></uc-presence-toggle>`;}['Zd'](t){let _0x3325c7=this['$d'](t);return _0x44abcf`<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">${_0x3325c7['length']?_0x3325c7:_0xf98a9a}</div></div></uc-editor-scroller></div>`;}['render'](){let t=['uc-info-tooltip',this['Es']?'uc-info-tooltip_visible':'uc-info-tooltip_hidden']['join']('\x20'),_0x12d6c6=this['Cs'];return _0x44abcf`<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">${ot['map'](_0x51c5c3=>_0x25b9a4(this['activeTab']===_0x51c5c3,()=>this['Zd'](_0x51c5c3)))}</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" ${_0x141829(this['Rl'])} ></div>${ot['map'](_0x2a6ae6=>this['Wd'](_0x2a6ae6))}</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 ${_0x141829(this['Er'])}></uc-editor-slider></div><div class="uc-list-aspect-ratio-container" ?hidden=${this['Tr']||!_0x12d6c6}>${_0x12d6c6?_0x44abcf`<div class="uc-list-aspect-ratio">${this['Hd']()}</div>`:_0xf98a9a}</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>`;}};_0x4a98e4([_0x12c3df()],pt['prototype'],'Ti',0x2),_0x4a98e4([_0x12c3df()],pt['prototype'],'showMainToolbar',0x2),_0x4a98e4([_0x12c3df()],pt['prototype'],'showSubToolbar',0x2),_0x4a98e4([_0x12c3df()],pt['prototype'],'Ol',0x2),_0x4a98e4([_0x12c3df()],pt['prototype'],'tabList',0x2),_0x4a98e4([_0x12c3df()],pt['prototype'],'activeTab',0x2),_0x4a98e4([_0x12c3df()],pt['prototype'],'Tr',0x2),_0x4a98e4([_0x12c3df()],pt['prototype'],'Es',0x2),_0x4a98e4([_0x12c3df()],pt['prototype'],'Il',0x2),_0x4a98e4([_0x12c3df()],pt['prototype'],'Ei',0x2);var _0x10ae27=Ht([...ot]),et=class extends _0x1e5f32{constructor(){super(...arguments),this['ctxOwner']=!0x0,this['Yd']='',this['Je']=It,this['Xd']='',this['Ti']=!0x1,this['uuid']=null,this['cdnUrl']=null,this['cropPreset']='',this['tabs']=_0x10ae27,this['Nl']=!0x1,this['ke']=!0x1,this['ks']=null,this['xi']=null,this['xr']=_0x1e9cf3(t=>{this['Ti']=t;},0x12c),this['Ar']=_0x673a48(),this['Vl']=_0x673a48(),this['_l']=_0x673a48(),this['Bl']=_0x673a48(),this['zl']=()=>{this['xr'](!0x1),this['Je']!==It&&(this['$']['*networkProblems']=!0x1);},this['Hl']=()=>{this['xr'](!0x1),this['$']['*networkProblems']=!0x0;},this['Qd']=()=>{let t=this['$']['*on.retryNetwork'];t?.();},this['init$']={...this['init$'],..._0x43b7e2(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 _0x1bfd6e=this['Vl']['value'];_0x1bfd6e&&(this['$']['*cropperEl']=_0x1bfd6e);let _0x5e53db=this['Bl']['value'];_0x5e53db&&(this['$']['*imgContainerEl']=_0x5e53db);let _0xf8f17b=this['Ar']['value'];_0xf8f17b&&(this['$']['*imgEl']=_0xf8f17b);}['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 yt('uc-image',{'uc-image_hidden_to_cropper':t===_0x27a6a4['CROP'],'uc-image_hidden_effects':t!==_0x27a6a4['CROP']});}['Gl'](){if(this['xi'])return this['xi'];return this['xi']=new Promise((_0x3efb03,_0x56bcaf)=>{let _0x4fddaf=()=>{window['clearTimeout'](_0x5ee65d),_0x8f4efd['disconnect'](),this['xi']=null;},_0x41d2fd=()=>{_0x4fddaf(),window['setTimeout'](()=>_0x3efb03(),0x0);},_0x327bf3=()=>{let _0x26be5b=new Error('[cloud-image-editor]\x20timeout\x20waiting\x20for\x20non-zero\x20container\x20size');_0x4fddaf(),this['isConnected']&&console['error'](_0x26be5b['message']),_0x56bcaf(_0x26be5b);},_0x8f4efd=new ResizeObserver(_0x3c114c=>{let [_0x40ace1]=_0x3c114c;_0x40ace1&&_0x40ace1['contentRect']['width']>0x0&&_0x40ace1['contentRect']['height']>0x0&&_0x41d2fd();}),_0x5ee65d=window['setTimeout'](()=>{_0x327bf3();},0xbb8);((()=>{let {width:_0x125c77,height:_0x32bfb3}=this['getBoundingClientRect']();return _0x125c77>0x0&&_0x32bfb3>0x0;})())?_0x41d2fd():_0x8f4efd['observe'](this);}),this['xi'];}['firstUpdated'](t){super['firstUpdated'](t),this['Sr'](),this['ep'](),this['initEditor']();let _0xa373c4=!(!this['uuid']&&!this['cdnUrl']),_0x2aab3d=t['has']('uuid')||t['has']('cdnUrl');_0xa373c4&&!_0x2aab3d&&this['updateImage']();}['disconnectedCallback'](){this['tp'](),super['disconnectedCallback']();}['render'](){let t=this['Xd']??'',_0x43742f=this['Yd']??'',_0x557d29=this['Je']||It,_0x3c8988=this['Ti'],_0x4d1527=this['Nl'];return _0x44abcf` ${_0x403cbc(_0x5033b5)}<div class="uc-wrapper uc-wrapper_desktop"><uc-presence-toggle class="uc-network_problems_splash" .visible=${_0x4d1527}><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" ${_0x141829(this['Bl'])}><img src=${_0x557d29} class=${this['ip']} ${_0x141829(this['Ar'])} />${_0x25b9a4(this['ke'],()=>_0x44abcf`<uc-editor-image-cropper ${_0x141829(this['Vl'])}></uc-editor-image-cropper>`)}<uc-editor-image-fader ${_0x141829(this['_l'])}></uc-editor-image-fader></div><div class="uc-info_pan">${_0x43742f}</div></div><div class="uc-toolbar"><uc-line-loader-ui .active=${_0x3c8988}></uc-line-loader-ui><div class="uc-toolbar_content uc-toolbar_content__editor">${_0x25b9a4(this['ke'],()=>_0x44abcf`<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']||_0x10ae27;this['$']['*tabList']=_0x334bf3(t);}['jl'](){let t=_0x243f76(this['cropPreset']??''),_0x1f03cb=null;if(this['cdnUrl']){let _0x595850=_0x348b5d(_0x3685c9(this['cdnUrl']));if(Array['isArray'](_0x595850?.['crop']?.['dimensions'])){let [_0x184af1,_0x230f0d]=_0x595850['crop']['dimensions'];_0x1f03cb=_0x3bd00d(_0x184af1,_0x230f0d,t,0.1);}}this['$']['*cropPresetList']=t,this['$']['*currentAspectRatio']=_0x1f03cb??t?.[0x0]??null;}async['updateImage'](){if(this['isConnected']){try{await this['Gl']();}catch{return;}if(this['isConnected']){if(this['cdnUrl']){let t=this['cdnUrl'],_0x425d3d=_0x36ed58(t),_0x5b0d59=Jt(t,_0x425d3d);if(_0x5b0d59===this['$']['*originalUrl'])return;this['$']['*originalUrl']=_0x5b0d59;let _0x11af22=_0x348b5d(_0x3685c9(t));this['$']['*editorTransformations']=_0x11af22;}else{if(!this['uuid'])throw new Error('No\x20UUID\x20nor\x20CDN\x20URL\x20provided');{let t=Jt(this['cfg']['cdnCname'],this['uuid']);if(t===this['$']['*originalUrl'])return;this['$']['*originalUrl']=t,Object['keys'](this['$']['*editorTransformations'])['length']>0x0&&(this['$']['*editorTransformations']={});}}this['$']['*tabId']===_0x27a6a4['CROP']?this['$']['*cropperEl']?.['deactivate']({'reset':!0x0}):this['$']['*faderEl']?.['deactivate']();try{let t=this['$']['*originalUrl'],_0x47df6a=await this['proxyUrl'](_0x490615(t,rt('json'))),_0x22180f=await fetch(_0x47df6a)['then'](_0x1cd3cb=>_0x1cd3cb['json']()),{width:_0x41dd5e,height:_0x567b49}=_0x22180f;this['$']['*imageSize']={'width':_0x41dd5e,'height':_0x567b49},this['$']['*tabId']===_0x27a6a4['CROP']?this['$']['*cropperEl']?.['activate'](this['$']['*imageSize']):this['$']['*faderEl']?.['activate']({'url':t});}catch(_0x1bb40c){_0x1bb40c&&(this['telemetryManager']['sendEventError'](_0x1bb40c,'cloud\x20editor\x20image.\x20Failed\x20to\x20load\x20image\x20info'),console['error']('Failed\x20to\x20load\x20image\x20info',_0x1bb40c));}this['Jd']();}}}async['initEditor'](){try{await this['Gl']();}catch{return;}this['classList']['add']('uc-editor_ON'),this['sub']('*networkProblems',t=>{let _0x24f09a=!!t;this['Nl']=_0x24f09a;}),this['sub']('*editorTransformations',t=>{if(0x0===Object['keys'](t)['length'])return;let _0x40ff2d=this['$']['*originalUrl'],_0x47d59a=rt(te(t),'preview'),_0x1bd530={'originalUrl':_0x40ff2d,'cdnUrlModifiers':_0x47d59a,'cdnUrl':_0x490615(_0x40ff2d,_0x47d59a),'transformations':t};this['dispatchEvent'](new CustomEvent('change',{'detail':_0x1bd530,'bubbles':!0x0,'composed':!0x0}));},!0x1);}};_0x4a98e4([_0x12c3df()],et['prototype'],'Yd',0x2),_0x4a98e4([_0x12c3df()],et['prototype'],'Je',0x2),_0x4a98e4([_0x12c3df()],et['prototype'],'Xd',0x2),_0x4a98e4([_0x12c3df()],et['prototype'],'Ti',0x2),_0x4a98e4([_0x5a17bd({'type':String,'reflect':!0x0})],et['prototype'],'uuid',0x2),_0x4a98e4([_0x5a17bd({'type':String,'attribute':'cdn-url','reflect':!0x0})],et['prototype'],'cdnUrl',0x2),_0x4a98e4([_0x5a17bd({'type':String,'attribute':'crop-preset','reflect':!0x0})],et['prototype'],'cropPreset',0x2),_0x4a98e4([_0x5a17bd({'type':String,'reflect':!0x0})],et['prototype'],'tabs',0x2),_0x4a98e4([_0x12c3df()],et['prototype'],'Nl',0x2),_0x4a98e4([_0x12c3df()],et['prototype'],'ke',0x2);var _0x4581b1={};_0x453f17(_0x4581b1,{'CloudImageEditorActivity':()=>_0x375189});var _0x56ea6c=class extends et{static{this['styleAttrs']=[...super['styleAttrs'],'uc-wgt-common'];}constructor(){super(),this['init$']={...this['init$'],'*solution':this['tagName']};}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':_0x382b44['INIT_SOLUTION']}),this['a11y']?.['registerBlock'](this);}},_0x375189=class extends _0x5178a7{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 _0x555ef5=t['detail'];this['Ci']['setMultipleValues']({'cdnUrl':_0x555ef5['cdnUrl'],'cdnUrlModifiers':_0x555ef5['cdnUrlModifiers']}),this['modalManager']?.['close'](_0x25f837['activities']['CLOUD_IMG_EDIT']),this['historyBack']();}['Ee'](t){let _0x1e4d6a=t instanceof CustomEvent?t['detail']:void 0x0;this['debugPrint']('editor\x20event\x20\x22cancel\x22',_0x1e4d6a),this['modalManager']?.['close'](_0x25f837['activities']['CLOUD_IMG_EDIT']),this['historyBack']();}['handleChange'](t){this['debugPrint']('editor\x20event\x20\x22change\x22',t['detail']);}['rp'](){let {internalId:t}=this['activityParams'],_0x1dd4c7=this['uploadCollection']['read'](t);if(!_0x1dd4c7)throw new Error('Entry\x20with\x20internalId\x20\x22'+t+'\x22\x20not\x20found');this['Ci']=_0x1dd4c7;let _0x240400=this['Ci']['getValue']('cdnUrl');if(!_0x240400)throw new Error('Entry\x20with\x20internalId\x20\x22'+t+'\x22\x20hasn\x27t\x20uploaded\x20yet');this['Q']=this['sp'](_0x240400);}['op'](){this['Ci']=void 0x0,this['Q']=null;}['render'](){if(!this['Q'])return _0xf98a9a;let {cdnUrl:t,cropPreset:_0x18fbfb,tabs:_0x79efbc}=this['Q'];return _0x44abcf`<uc-cloud-image-editor cdn-url=${t} crop-preset=${_0x5cc617(_0x18fbfb)} tabs=${_0x5cc617(_0x79efbc)} @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']};}};_0x4a98e4([_0x12c3df()],_0x375189['prototype'],'Q',0x2);var _0x523aae=class extends _0x5178a7{constructor(){super(...arguments),this['Dt']='',this['bs']=t=>{this['Dt']=t['target']?.['value']??'';},this['Ho']=t=>{t['preventDefault'](),this['telemetryManager']['sendEvent']({'eventType':_0x382b44['ACTION_EVENT'],'payload':{'metadata':{'event':'upload-from-url','node':this['tagName']}}});let _0x2598ba=this['Dt']['trim']();_0x2598ba&&(this['api']['addFileFromUrl'](_0x2598ba,{'source':_0x298b3b['URL']}),this['$']['*currentActivity']=_0x25f837['activities']['UPLOAD_LIST'],this['modalManager']?.['open'](_0x25f837['activities']['UPLOAD_LIST']));};}['render'](){return _0x44abcf`<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>`;}};_0x4a98e4([_0x12c3df()],_0x523aae['prototype'],'Dt',0x2);var _0x5359e4=()=>{let _0x4c6c6a=globalThis['top']??globalThis['parent']??globalThis['self'];try{return _0x4c6c6a['location']['origin'];}catch(_0x30f7d1){return console['warn']('Unable\x20to\x20access\x20top-level\x20window\x20location:',_0x30f7d1),globalThis['location']['origin'];}},_0x4cc846=_0x5573e=>_0x5573e['replace'](/[\\-\\[]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,'\x5c$&'),_0x52bef9=(_0x2059f6,_0x24179e='i')=>{let t=_0x2059f6['split']('*')['map'](_0x4cc846);return new RegExp('^'+t['join']('.+')+'$',_0x24179e);},_0x4e0537=['--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'],_0x4f76fa=(_0x27105b,_0x1ab9c2)=>window['getComputedStyle'](_0x27105b)['getPropertyValue'](_0x1ab9c2)['trim'](),_0x564b99=_0x384595=>{let _0x182d9e={};for(let t of _0x4e0537){let _0x2be5c2=_0x4f76fa(_0x384595,t);_0x2be5c2&&(_0x182d9e[t]=_0x2be5c2);}return _0x182d9e;},_0x3f2b5c=['selected-files-change','toolbar-state-change'],_0x5cbd17=_0x35cc37=>{if(!_0x35cc37||'object'!=typeof _0x35cc37||!('type'in _0x35cc37))return!0x1;let _0x3c3bbe=_0x35cc37['type'];return!('string'!=typeof _0x3c3bbe||!_0x3f2b5c['includes'](_0x3c3bbe));},_0x3e94f2=class{constructor(_0x3222db,t){this['kr']=new Map(),this['Wl']=_0x4e9ac4=>{if(_0x4e9ac4['source']!==this['Ms'])return;let t=_0x4e9ac4['data'];if(!_0x5cbd17(t))return;let _0x297f51=this['kr']['get'](t['type']);if(_0x297f51){for(let _0x362a45 of _0x297f51)_0x362a45(t);}},this['Ms']=_0x3222db,this['ql']=t,window['addEventListener']('message',this['Wl']);}['on'](_0x56c5f4,t){let _0x42a0ad=this['kr']['get'](_0x56c5f4)??new Set();this['kr']['has'](_0x56c5f4)||this['kr']['set'](_0x56c5f4,_0x42a0ad),_0x42a0ad['add'](t);}['send'](_0x308aa4){let t=this['ql']();this['Ms']['postMessage'](_0x308aa4,t);}['destroy'](){window['removeEventListener']('message',this['Wl']);}};function _0x24a02d(_0x4912cc){let _0x4e0be4=[];for(let [t,_0x4c3f9e]of Object['entries'](_0x4912cc))null==_0x4c3f9e||'string'==typeof _0x4c3f9e&&0x0===_0x4c3f9e['length']||_0x4e0be4['push'](t+'='+encodeURIComponent(_0x4c3f9e));return _0x4e0be4['join']('&');}var _0x13534c={[ut['GDRIVE']]:'ngdrive'},ht=class extends _0x5178a7{constructor(){super(...arguments),this['couldBeCtxOwner']=!0x0,this['Vt']=_0x673a48(),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 _0x46438d=this['ap'](t),{filename:_0x23a1db}=t,{externalSourceType:_0x1c3bc1}=this['activityParams'];this['api']['addFileFromUrl'](_0x46438d,{'fileName':_0x23a1db,'source':_0x1c3bc1});}this['$']['*currentActivity']=_0x25f837['activities']['UPLOAD_LIST'],this['modalManager']?.['open'](_0x25f837['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:_0x434fb9}=this['Mr'];return this['l10n']('selected-count',{'count':t,'total':_0x434fb9});}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',_0x2a2646=>{this['Or']=_0x2a2646;}),this['subConfigValue']('localeName',()=>{this['Ql']();}),this['subConfigValue']('externalSourcesEmbedCss',_0x45afbe=>{this['Jl'](_0x45afbe);});}['ap'](t){if(t['alternatives']){let _0x1597ee=_0x36e153(this['cfg']['externalSourcesPreferredTypes']);for(let _0x3482af of _0x1597ee){let _0x5153ee=_0x52bef9(_0x3482af);for(let [_0x3275e6,_0x4caec0]of Object['entries'](t['alternatives']))if(_0x5153ee['test'](_0x3275e6))return _0x4caec0;}}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':_0x564b99(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:_0x47a06,socialBaseUrl:_0x159aaa,multiple:_0x3108b6}=this['cfg'],{externalSourceType:_0x3953c5}=this['activityParams'],_0x1325ca=_0x13534c[_0x3953c5]??_0x3953c5,_0x3f1c0b={'lang':this['l10n']('social-source-lang')?.['split']('-')?.[0x0]||'en','public_key':t,'images_only':'false','session_key':_0x47a06,'wait_for_theme':!0x0,'multiple':_0x3108b6['toString'](),'origin':this['cfg']['topLevelOrigin']||_0x5359e4(),'debug':this['cfg']['debug']},_0x2c239e=new URL('/window4/'+_0x1325ca,_0x159aaa);return _0x2c239e['search']=_0x24a02d(_0x3f1c0b),_0x2c239e['toString']();}['up'](t,_0x16a94a){this['Mr']={'selectedCount':t,'total':_0x16a94a};}['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 _0x3e94f2(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 _0x44abcf`<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 ${_0x141829(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>`;}};_0x4a98e4([_0x12c3df()],ht['prototype'],'Os',0x2),_0x4a98e4([_0x12c3df()],ht['prototype'],'Is',0x2),_0x4a98e4([_0x12c3df()],ht['prototype'],'Ps',0x2),_0x4a98e4([_0x12c3df()],ht['prototype'],'Ls',0x2),_0x4a98e4([_0x12c3df()],ht['prototype'],'Rs',0x2),_0x4a98e4([_0x12c3df()],ht['prototype'],'Or',0x2),_0x4a98e4([_0x12c3df()],ht['prototype'],'Us',0x2),_0x4a98e4([_0x12c3df()],ht['prototype'],'$s',0x2),_0x4a98e4([_0x12c3df()],ht['prototype'],'Zl',0x2);var _0x45d666=()=>typeof navigator['permissions']<'u',_0x487033={'width':{'ideal':0x780},'height':{'ideal':0x438},'frameRate':{'ideal':0x1e}},_0x2217c1=['camera','microphone'];function _0x170aca(_0x59e065){return Math['floor'](_0x59e065/0x3c)['toString']()['padStart'](0x2,'0')+':'+Math['floor'](_0x59e065%0x3c)['toString']()['padStart'](0x2,'0');}var _0x426c14='image/jpeg',_0x39ef62='video/webm',_0x5443a4=class extends _0x5178a7{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']=_0x673a48(),this['Xe']=_0x673a48(),this['K']=_0x673a48(),this['sc']=0x0,this['nc']=0x0,this['ac']=null,this['$r']=!0x0,this['Dr']=!0x0,this['vp']=_0x45d666(),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':_0x382b44['ACTION_EVENT'],'payload':{'metadata':{'event':'start-camera','node':this['tagName'],'tabId':this['g']}}}),this['g']===_0x2456f2['PHOTO']&&this['bp'](),this['g']===_0x2456f2['VIDEO']){if('recording'===this['me']?.['state'])return void this['pc']();this['wp']();}},this['Tp']=t=>{let _0x4b171c=t['target'];_0x4b171c&&(this['Lr']=_0x4b171c['value'],this['jt']());},this['Ep']=t=>{let _0x21f49b=t['target'];_0x21f49b&&(this['Pr']=_0x21f49b['value'],this['jt']());},this['xp']=()=>{this['jt']();},this['Cp']=()=>{this['telemetryManager']['sendEvent']({'eventType':_0x382b44['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':_0x382b44['ACTION_EVENT'],'payload':{'metadata':{'event':'retake-camera','node':this['tagName'],'tabId':this['g']}}}),this['Ip']();},this['Pp']=()=>{this['telemetryManager']['sendEvent']({'eventType':_0x382b44['ACTION_EVENT'],'payload':{'metadata':{'event':'accept-camera','node':this['tagName'],'tabId':this['g']}}}),this['Lp']();},this['hc']=t=>{let _0x7c896=t['currentTarget']?.['getAttribute']('data-id');_0x7c896&&this['fc'](_0x7c896);},this['mc']=()=>{let t=Math['floor']((performance['now']()-this['sc']+this['nc'])/0x3e8);if('number'==typeof this['cfg']['maxVideoRecordingDuration']&&this['cfg']['maxVideoRecordingDuration']>0x0){let _0x42be4c=this['cfg']['maxVideoRecordingDuration']-t;if(_0x42be4c<=0x0){let _0x5432d9=this['Mi']['value'];return _0x5432d9&&(_0x5432d9['textContent']=_0x170aca(_0x42be4c)),void this['pc']();}let _0x3b0147=this['Mi']['value'];_0x3b0147&&(_0x3b0147['textContent']=_0x170aca(_0x42be4c));}else{let _0x176f3c=this['Mi']['value'];_0x176f3c&&(_0x176f3c['textContent']=_0x170aca(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 _0x15c75e=t['currentTime'],_0x4b9eb2=t['duration']||0x1,_0x38afda=this['Xe']['value'];_0x38afda&&(_0x38afda['style']['transform']='scaleX('+_0x15c75e/_0x4b9eb2+')');let _0x4d9565=this['Mi']['value'];_0x4d9565&&(_0x4d9565['textContent']=_0x170aca(_0x15c75e)),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'](_0x39ef62)?this['Ai']['mimeType']=_0x39ef62:this['Ai']['mimeType']='video/mp4',this['ge']&&(this['me']=new MediaRecorder(this['ge'],this['Ai']),this['me']['start'](),this['me']['addEventListener']('dataavailable',_0x3e75c9=>{this['Si']['push'](_0x3e75c9['data']);}),this['Rp'](),this['classList']['add']('uc-recording'),this['Oi'](Ct['PLAY']));}catch(_0x14deb2){console['error']('Failed\x20to\x20start\x20recording',_0x14deb2),this['telemetryManager']['sendEventError'](_0x14deb2,'camera\x20recording.\x20Failed\x20to\x20start\x20recording');}},this['pc']=()=>{this['me']?.['addEventListener']('stop',()=>{this['Up'](),this['gc'](),this['Oi'](Ct['STOP']);}),this['me']?.['stop'](),this['classList']['remove']('uc-recording'),this['telemetryManager']['sendEvent']({'eventType':_0x382b44['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']}),_0x5aa88a=URL['createObjectURL'](t),_0x510221=this['K']['value'];if(!_0x510221)return;_0x510221['muted']=!0x1,_0x510221['volume']=0x1,this['Ii'](null),_0x510221['src']=_0x5aa88a,this['$p'](_0x510221);}catch(_0x452466){console['error']('Failed\x20to\x20preview\x20video',_0x452466),this['telemetryManager']['sendEventError'](_0x452466,'camera\x20previewing.\x20Failed\x20to\x20preview\x20video');}},this['Ip']=()=>{if(this['Oi'](Ct['RETAKE']),this['g']===_0x2456f2['VIDEO']){this['Ii'](this['ge']);let t=this['K']['value'];t&&(t['muted']=!0x0);}this['K']['value']?.['play']?.();},this['Lp']=()=>{if(this['Oi'](Ct['ACCEPT']),this['g']===_0x2456f2['PHOTO'])return void this['fe']?.['toBlob'](_0x37adb7=>{if(!_0x37adb7)return;let _0xae09e9=this['vc']('camera','jpeg',_0x426c14,_0x37adb7);this['yc'](_0xae09e9);},_0x426c14);let t=new Blob(this['Si'],{'type':this['me']?.['mimeType']}),_0x5b9c0b=this['Dp'](this['me']?.['mimeType']),_0x5c1f2d=this['vc']('video',_0x5b9c0b,'video/'+_0x5b9c0b,t);this['yc'](_0x5c1f2d),this['Si']=[];},this['Fp']=t=>{t===Ct['SHOT']&&(this['gt']=!0x0,this['at']=!0x0,this['Ce']=!0x0,this['Ht']=!0x1,this['ot']=!0x0),(t===Ct['RETAKE']||t===Ct['ACCEPT'])&&(this['gt']=!this['Se']['includes'](_0x2456f2['VIDEO']),this['Ce']=!this['Se']['includes'](_0x2456f2['PHOTO']),this['at']=!0x1,this['Ht']=!0x0,this['ot']=this['_t']['length']<=0x1);},this['Np']=t=>{t===Ct['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===Ct['STOP']&&(this['zt']=!0x1,this['at']=!0x0,this['mt']=!0x0,this['Ht']=!0x1),(t===Ct['RETAKE']||t===Ct['ACCEPT'])&&(this['zt']=!0x0,this['gt']=!this['Se']['includes'](_0x2456f2['VIDEO']),this['Ce']=!this['Se']['includes'](_0x2456f2['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']===_0x2456f2['PHOTO']&&('shot'===t||'retake'===t||'accept'===t)&&this['Fp'](t),this['g']===_0x2456f2['VIDEO']&&('play'===t||'stop'===t||'retake'===t||'accept'===t||'pause'===t||'resume'===t)&&this['Np'](t);},this['fc']=t=>{t===_0x2456f2['PHOTO']&&(this['Kt']='camera-full',this['pt']=!0x0,this['mt']=!0x0),t===_0x2456f2['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':_0x382b44['ACTION_EVENT'],'payload':{'metadata':{'event':'camera-tab-switch','node':this['tagName'],'tabId':t}}}),this['g']=t;},this['vc']=(t,_0x11997f,_0x1823e6,_0x20e376)=>{let _0x2b1cca=Date['now']();return new File([_0x20e376],t+'-'+_0x2b1cca+'.'+_0x11997f,{'lastModified':_0x2b1cca,'type':_0x1823e6});},this['yc']=t=>{this['api']['addFileFromObject'](t,{'source':_0x298b3b['CAMERA']}),this['set$']({'*currentActivity':_0x25f837['activities']['UPLOAD_LIST']}),this['modalManager']?.['open'](_0x25f837['activities']['UPLOAD_LIST']);},this['Pi']=_0x1e9cf3(t=>{this['classList']['toggle']('uc-initialized','granted'===t);let _0x2955c8=this['g']===_0x2456f2['VIDEO']&&this['cfg']['enableAudioRecording'],_0x3baf85=this['g']===_0x2456f2['PHOTO']?'camera-full':'video-camera-full';'granted'===t?(this['$r']=!0x1,this['at']=!0x1,this['Ce']=!this['Se']['includes'](_0x2456f2['PHOTO']),this['gt']=!this['Se']['includes'](_0x2456f2['VIDEO']),this['Dr']=!0x0,this['zt']=!0x0,this['Kt']=_0x3baf85,this['mt']=!_0x2955c8,this['pt']=!_0x2955c8):'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'](_0x2456f2['PHOTO']),this['gt']=!this['Se']['includes'](_0x2456f2['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'](),_0x599c12=this['ge']?.['getVideoTracks']();return t['forEach'](_0x378c18=>{_0x378c18['stop']();}),_0x599c12['forEach'](_0x1151b4=>{_0x1151b4['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':{..._0x487033},'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(_0x548d45){this['Pi']('denied'),console['log']('Failed\x20to\x20capture\x20camera',_0x548d45),this['telemetryManager']['sendEventError'](_0x548d45,'camera\x20capturing.\x20Failed\x20to\x20capture\x20camera');}},this['bc']=()=>{this['jt']();},this['_p']=async()=>{try{this['Nr']();for(let t of _0x2217c1){let _0x1b063f=await navigator['permissions']['query']({'name':t});this['mp'][t]=_0x1b063f,_0x1b063f['addEventListener']('change',this['bc']),this['Rr']['push'](()=>{_0x1b063f['removeEventListener']('change',this['bc']);});}this['Ir']=()=>{this['Nr']();};}catch(_0x7a84b0){this['Nr'](),console['log']('Failed\x20to\x20use\x20permissions\x20API.\x20Fallback\x20to\x20manual\x20request\x20mode.',_0x7a84b0),this['telemetryManager']['sendEventError'](_0x7a84b0,'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(_0x3fbac6){this['telemetryManager']['sendEventError'](_0x3fbac6,'camera\x20devices.\x20Failed\x20to\x20get\x20user\x20media'),console['log']('Failed\x20to\x20get\x20user\x20media',_0x3fbac6);}},this['zs']=async()=>{try{let t=await navigator['mediaDevices']['enumerateDevices']();this['_t']=t['filter'](_0x106c03=>'videoinput'===_0x106c03['kind'])['map']((_0x12092c,_0x57ceb7)=>({'text':_0x12092c['label']['trim']()||this['l10n']('caption-camera')+'\x20'+(_0x57ceb7+0x1),'value':_0x12092c['deviceId']})),this['Bt']=this['cfg']['enableAudioRecording']?t['filter'](_0x37754e=>'audioinput'===_0x37754e['kind'])['map'](_0x1d83cc=>({'text':_0x1d83cc['label']['trim'](),'value':_0x1d83cc['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(_0x248068){this['telemetryManager']['sendEventError'](_0x248068,'camera\x20devices.\x20Failed\x20to\x20get\x20devices'),console['log']('Failed\x20to\x20get\x20devices',_0x248068);}},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'](_0x2456f2['VIDEO']),this['Ce']=!t['includes'](_0x2456f2['PHOTO']);let _0x65b792=t[0x0];_0x65b792&&(!this['g']||!t['includes'](this['g']))&&this['fc'](_0x65b792);};}['$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 _0xed9280=this['Ur']??null;t['srcObject']!==_0xed9280&&(t['srcObject']=_0xed9280);}['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 _0x1fef7b={'mp4':'mp4','ogg':'ogg','webm':'webm','quicktime':'mov','x-matroska':'mkv'};if(''===t)return'webm';if(t){let _0x101b59=t['split']('/');if('video'===_0x101b59?.[0x0]){let _0x89dd7=_0x101b59['slice'](0x1)['join']('/')?.['split'](';')[0x0];if(_0x89dd7&&_0x1fef7b[_0x89dd7])return _0x1fef7b[_0x89dd7];}}return'avi';}get['Se'](){return _0x36e153(this['cfg']['cameraModes'])['filter'](t=>t===_0x2456f2['PHOTO']||t===_0x2456f2['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 _0x4ae839=_0x4fa8be(t);this['wc'](_0x4ae839['filter'](_0x57043a=>_0x57043a===_0x2456f2['PHOTO']||_0x57043a===_0x2456f2['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 _0x44abcf`<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=${_0x36e2fa({'transform':this['ac']})} ?hidden=${this['$r']} ${_0x141829(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=${Pt({'uc-switch':!0x0,'uc-mini-btn':!0x0,'uc-active':this['g']===_0x2456f2['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=${Pt({'uc-switch':!0x0,'uc-mini-btn':!0x0,'uc-active':this['g']===_0x2456f2['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 ${_0x141829(this['Mi'])}> 00:00 </span><span ${_0x141829(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>`;}};_0x4a98e4([_0x12c3df()],_0x5443a4['prototype'],'ac',0x2),_0x4a98e4([_0x12c3df()],_0x5443a4['prototype'],'$r',0x2),_0x4a98e4([_0x12c3df()],_0x5443a4['prototype'],'Dr',0x2),_0x4a98e4([_0x12c3df()],_0x5443a4['prototype'],'vp',0x2),_0x4a98e4([_0x12c3df()],_0x5443a4['prototype'],'cc',0x2),_0x4a98e4([_0x12c3df()],_0x5443a4['prototype'],'ot',0x2),_0x4a98e4([_0x12c3df()],_0x5443a4['prototype'],'Fs',0x2),_0x4a98e4([_0x12c3df()],_0x5443a4['prototype'],'zt',0x2),_0x4a98e4([_0x12c3df()],_0x5443a4['prototype'],'at',0x2),_0x4a98e4([_0x12c3df()],_0x5443a4['prototype'],'Ht',0x2),_0x4a98e4([_0x12c3df()],_0x5443a4['prototype'],'uc',0x2),_0x4a98e4([_0x12c3df()],_0x5443a4['prototype'],'pt',0x2),_0x4a98e4([_0x12c3df()],_0x5443a4['prototype'],'Ns',0x2),_0x4a98e4([_0x12c3df()],_0x5443a4['prototype'],'mt',0x2),_0x4a98e4([_0x12c3df()],_0x5443a4['prototype'],'Ce',0x2),_0x4a98e4([_0x12c3df()],_0x5443a4['prototype'],'gt',0x2),_0x4a98e4([_0x12c3df()],_0x5443a4['prototype'],'Kt',0x2),_0x4a98e4([_0x12c3df()],_0x5443a4['prototype'],'ki',0x2),_0x4a98e4([_0x12c3df()],_0x5443a4['prototype'],'dc',0x2),_0x4a98e4([_0x12c3df()],_0x5443a4['prototype'],'Fr',0x2);var _0xbc47cf={'id':'camera','setup':async({pluginApi:_0x3894e6,uploaderApi:_0x321bfe})=>{mt({'CameraSource':_0x5443a4}),_0x3894e6['registry']['registerSource']({'id':'camera','label':'src-type-camera','icon':'camera','expand':()=>{if(!_0x34d83d['htmlMediaCapture'])return['camera'];let t=_0x4fa8be(_0x3894e6['config']['get']('cameraModes'));return t['length']?t['map'](_0x5c23fb=>'mobile-'+_0x5c23fb+'-camera'):['mobile-photo-camera'];},'onSelect':()=>{_0x321bfe['setCurrentActivity'](_0x59623d['CAMERA']),_0x321bfe['setModalState'](!0x0);}}),_0x3894e6['registry']['registerSource']({'id':'mobile-photo-camera','label':'src-type-mobile-photo-camera','icon':'camera','onSelect':()=>{_0x321bfe['openSystemDialog']({'captureCamera':!0x0,'modeCamera':'photo'});}}),_0x3894e6['registry']['registerSource']({'id':'mobile-video-camera','label':'src-type-mobile-video-camera','icon':'camera','onSelect':()=>{_0x321bfe['openSystemDialog']({'captureCamera':!0x0,'modeCamera':'video'});}}),_0x3894e6['registry']['registerActivity']({'id':_0x59623d['CAMERA'],'render':t=>{let _0x3e274f=document['createElement']('uc-camera-source');return t['append'](_0x3e274f),()=>{t['replaceChildren']();};}});}},_0x1c1417={};_0x453f17(_0x1c1417,{'BtnUi':()=>xt,'CloudImageEditor':()=>_0x56ea6c,'CloudImageEditorBlock':()=>et,'Config':()=>_0x23aef3,'CropFrame':()=>_0x6b3a67,'EditorAspectRatioButtonControl':()=>_0x2e0950,'EditorCropButtonControl':()=>_0x2cc976,'EditorFilterControl':()=>Yt,'EditorFreeformButtonControl':()=>_0xf72b2,'EditorImageCropper':()=>_0x47e0e7,'EditorImageFader':()=>_0x3b1e26,'EditorOperationControl':()=>_0x190631,'EditorScroller':()=>_0xb38481,'EditorSlider':()=>_0x370fcd,'EditorToolbar':()=>pt,'Icon':()=>_0x27d9fe,'LineLoaderUi':()=>_0x8c9071,'PresenceToggle':()=>_0x31da8e,'SliderUi':()=>Vt,'defineComponents':()=>mt});var _0x4bb840='cloud-image-editor',_0x5e30ad='<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>',_0x17773c={'id':_0x4bb840,'setup':async({pluginApi:_0x6707be,uploaderApi:_0x170ad1})=>(mt({..._0x1c1417,..._0x4581b1}),_0x6707be['registry']['registerIcon']({'name':'edit-file','svg':_0x5e30ad}),_0x6707be['registry']['registerFileAction']({'id':'edit-file','icon':'edit-file','label':'file-item-edit-button','shouldRender':_0xdbcfd3=>!(!_0xdbcfd3['isImage']||!_0xdbcfd3['cdnUrl']),'onClick':_0x52ce64=>{_0x170ad1['setCurrentActivity']?.(_0x59623d['CLOUD_IMG_EDIT'],{'internalId':_0x52ce64['internalId']}),_0x170ad1['setModalState']?.(!0x0);}}),_0x6707be['registry']['registerActivity']({'id':_0x59623d['CLOUD_IMG_EDIT'],'render':_0x4da333=>{let _0x266929=document['createElement']('uc-cloud-image-editor-activity');return _0x4da333['append'](_0x266929),()=>{_0x4da333['replaceChildren']();};}}),_0x170ad1['on'](_0x36f858['FILE_UPLOAD_SUCCESS'],_0x1cf4dc=>{if(!_0x1cf4dc['isImage'])return;let _0x32738f=_0x6707be['config']['get']('cropPreset'),_0x51dcdb=_0x6707be['config']['get']('useCloudImageEditor'),_0x4c1df2=_0x6707be['config']['get']('cloudImageEditorAutoOpen'),_0x2669dd=_0x170ad1['v']['size'];_0x51dcdb&&0x1===_0x2669dd&&(_0x32738f||_0x4c1df2)&&(_0x170ad1['setCurrentActivity']?.(_0x59623d['CLOUD_IMG_EDIT'],{'internalId':_0x1cf4dc['internalId']}),_0x170ad1['setModalState']?.(!0x0));}))},_0x2325b6={'id':'external-sources','setup':async({pluginApi:_0x3710d4,uploaderApi:_0x4b6034})=>{mt({'ExternalSource':ht}),_0x3710d4['registry']['registerActivity']({'id':_0x59623d['EXTERNAL'],'render':t=>{let _0x151cd9=document['createElement']('uc-external-source');return t['append'](_0x151cd9),()=>{t['replaceChildren']();};}});for(let t of Object['values'](ut))_0x3710d4['registry']['registerSource']({'id':t,'label':'src-type-'+t,'icon':t,'onSelect':()=>{_0x4b6034['setCurrentActivity'](_0x59623d['EXTERNAL'],{'externalSourceType':t}),_0x4b6034['setModalState'](!0x0);}});}},_0x3cd06a=()=>{let _0x22fe81=[];return{'stack':_0x22fe81,'promiseReadJpegChunks':t=>new Promise((_0x29e231,_0x3802ec)=>{let _0x554175=0x2,_0x216e87=(_0x2da641,_0x1f7282)=>{let _0x5794e5=new FileReader();_0x5794e5['addEventListener']('load',()=>{_0x1f7282(new DataView(_0x5794e5['result']));}),_0x5794e5['addEventListener']('error',_0x14c738=>{_0x3802ec('Reader\x20error:\x20'+_0x14c738);}),_0x5794e5['readAsArrayBuffer'](_0x2da641);},_0x514e14=()=>_0x216e87(t['slice'](_0x554175,_0x554175+0x80),_0x29fee9=>{let _0x3e1d4c,_0x2ac983,_0x301416;for(_0x3e1d4c=_0x2ac983=0x0,_0x301416=_0x29fee9['byteLength'];_0x301416>=0x0?_0x2ac983<_0x301416:_0x2ac983>_0x301416;_0x3e1d4c=_0x301416>=0x0?++_0x2ac983:--_0x2ac983)if(0xff===_0x29fee9['getUint8'](_0x3e1d4c)){_0x554175+=_0x3e1d4c;break;}_0x139bee();}),_0x139bee=()=>{let _0x717305=_0x554175;return _0x216e87(t['slice'](_0x554175,_0x554175+=0x4),_0x5a3b2a=>{if(0x4!==_0x5a3b2a['byteLength']||0xff!==_0x5a3b2a['getUint8'](0x0))return void _0x3802ec('Corrupted');let _0x58864f=_0x5a3b2a['getUint8'](0x1);if(0xda===_0x58864f)return void _0x29e231(!0x0);let _0x1bde3c=_0x5a3b2a['getUint16'](0x2)-0x2;return _0x216e87(t['slice'](_0x554175,_0x554175+=_0x1bde3c),_0x3cc9ac=>{_0x3cc9ac['byteLength']===_0x1bde3c?(_0x22fe81['push']({'startPos':_0x717305,'length':_0x1bde3c,'marker':_0x58864f,'view':_0x3cc9ac}),_0x514e14()):_0x3802ec('Corrupted');});});};FileReader&&DataView||_0x3802ec('Not\x20Support'),_0x216e87(t['slice'](0x0,0x2),_0x152690=>{0xffd8!==_0x152690['getUint16'](0x0)&&_0x3802ec('Not\x20jpeg'),_0x514e14();});})};},_0x4d69b4=async _0x2de948=>{let _0xb1282f=[],{promiseReadJpegChunks:t,stack:_0x2a653f}=_0x3cd06a();return await t(_0x2de948),_0x2a653f['forEach'](({marker:_0x4e4afd,view:_0xf71987})=>{0xe2===_0x4e4afd&&0x4943435f===_0xf71987['getUint32'](0x0)&&0x50524f46===_0xf71987['getUint32'](0x4)&&0x494c4500===_0xf71987['getUint32'](0x8)&&_0xb1282f['push'](_0xf71987);}),_0xb1282f;},_0x6eb432=async(_0x98b7ec,_0x5323b2,t)=>{{let _0x230645=[],_0x413536=[],{promiseReadJpegChunks:_0x271471,stack:_0x4999b3}=_0x3cd06a();await _0x271471(_0x98b7ec),_0x4999b3['forEach'](_0x2994b9=>{if(_0x2994b9['marker']===_0x5323b2)return _0x230645['push'](_0x2994b9['startPos']),_0x413536['push'](_0x2994b9['length']);});let _0x58adf0=[_0x98b7ec['slice'](0x0,0x2)];for(let _0x213095 of t){let _0x4b4589=new DataView(new ArrayBuffer(0x4));_0x4b4589['setUint16'](0x0,0xff00+_0x5323b2),_0x4b4589['setUint16'](0x2,_0x213095['byteLength']+0x2),_0x58adf0['push'](_0x4b4589['buffer']),_0x58adf0['push'](_0x213095);}let _0xf95d48=0x2;for(let _0x5bb149=0x0;_0x5bb149<_0x230645['length'];_0x5bb149++)_0x230645[_0x5bb149]>_0xf95d48&&_0x58adf0['push'](_0x98b7ec['slice'](_0xf95d48,_0x230645[_0x5bb149])),_0xf95d48=_0x230645[_0x5bb149]+_0x413536[_0x5bb149]+0x4;return _0x58adf0['push'](_0x98b7ec['slice'](_0xf95d48,_0x98b7ec['size'])),new Blob(_0x58adf0,{'type':_0x98b7ec['type']});}},_0x447a32=(_0x2538ca,_0x25184d)=>_0x6eb432(_0x2538ca,0xe2,_0x25184d['map'](t=>t['buffer'])),_0x1bdeca=async _0x3d6185=>{try{return await _0x447a32(_0x3d6185,[]);}catch(_0x1ee607){throw new Error('Failed\x20to\x20strip\x20ICC\x20profile:\x20'+_0x1ee607);}},_0x349eac=(_0x5de44f,_0x2cdf2f,t)=>new Promise((_0x3381a3,_0x3f42c4)=>{_0x5de44f['toBlob'](_0x2238ad=>{_0x2238ad?_0x3381a3(_0x2238ad):_0x3f42c4('Failed\x20to\x20convert\x20canvas\x20to\x20blob');},_0x2cdf2f,t),_0x5de44f['width']=_0x5de44f['height']=0x1;}),_0x3bbea9=()=>{let _0x1a1e00=document['createElement']('canvas'),_0x38b2f1=_0x1a1e00['getContext']('2d');return{'canvas':_0x1a1e00,'ctx':_0x38b2f1};},_0x3f4c4f=_0x9e943d=>{let {ctx:t,canvas:_0x5e6373}=_0x3bbea9();_0x5e6373['width']=_0x5e6373['height']=0x32,t['drawImage'](_0x9e943d,0x0,0x0,0x32,0x32);let _0x5cc178=t['getImageData'](0x0,0x0,0x32,0x32)['data'];_0x5e6373['width']=_0x5e6373['height']=0x1;for(let _0x182e9e=0x3;_0x182e9e<_0x5cc178['length'];_0x182e9e+=0x4)if(_0x5cc178[_0x182e9e]<0xfe)return!0x0;return!0x1;},_0x52861c=async _0x3bc6e7=>{let _0x203cdc=null,{promiseReadJpegChunks:t,stack:_0x47fa5f}=_0x3cd06a();return await t(_0x3bc6e7),_0x47fa5f['forEach'](({marker:_0x39c28a,view:_0xa2e28a})=>{!_0x203cdc&&0xe1===_0x39c28a&&_0xa2e28a['byteLength']>=0xe&&0x45786966===_0xa2e28a['getUint32'](0x0)&&0x0===_0xa2e28a['getUint16'](0x4)&&(_0x203cdc=_0xa2e28a);}),_0x203cdc;},_0x29750b='data:image/jpg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4QA6RXhpZgAATU0AKgAAAAgAAwESAAMAAAABAAYAAAEoAAMAAAABAAIAAAITAAMAAAABAAEAAAAAAAD/2wBDAP//////////////////////////////////////////////////////////////////////////////////////wAALCAABAAIBASIA/8QAJgABAAAAAAAAAAAAAAAAAAAAAxABAAAAAAAAAAAAAAAAAAAAAP/aAAgBAQAAPwBH/9k=',_0x53a62c,_0x6af9dc=()=>new Promise(_0x1d2c7d=>{if(void 0x0!==_0x53a62c)_0x1d2c7d(_0x53a62c);else{let _0x239ef7=new Image();_0x239ef7['addEventListener']('load',()=>{_0x53a62c=_0x239ef7['naturalWidth']<_0x239ef7['naturalHeight'],_0x239ef7['src']='//:0',_0x1d2c7d(_0x53a62c);}),_0x239ef7['src']=_0x29750b;}}),_0x49d925=(_0x43be9d,_0x2f1038)=>{let t,_0x1cc162,_0x434dd0,_0x51b0f0;if(_0x43be9d&&!(_0x43be9d['byteLength']<0xe)&&0x45786966===_0x43be9d['getUint32'](0x0)&&0x0===_0x43be9d['getUint16'](0x4)){if(0x4949===_0x43be9d['getUint16'](0x6))_0x1cc162=!0x0;else{if(0x4d4d!==_0x43be9d['getUint16'](0x6))return;_0x1cc162=!0x1;}if(0x2a===_0x43be9d['getUint16'](0x8,_0x1cc162))for(_0x434dd0=0x8+_0x43be9d['getUint32'](0xa,_0x1cc162),t=0x0,_0x51b0f0=_0x43be9d['getUint16'](_0x434dd0-0x2,_0x1cc162);_0x51b0f0>=0x0?t<_0x51b0f0:t>_0x51b0f0;_0x51b0f0>=0x0?++t:--t){if(_0x43be9d['byteLength']<_0x434dd0+0xa)return;0x112===_0x43be9d['getUint16'](_0x434dd0,_0x1cc162)&&_0x2f1038(_0x434dd0+0x8,_0x1cc162),_0x434dd0+=0xc;}}},_0x38d4a7=(_0x3187d9,_0x61778d)=>{_0x49d925(_0x3187d9,(t,_0x387ec8)=>_0x3187d9['setUint16'](t,_0x61778d,_0x387ec8));},_0x556188=async(_0x547d80,_0x28fb7d,t)=>(t&&_0x38d4a7(_0x28fb7d,0x1),_0x6eb432(_0x547d80,0xe1,[_0x28fb7d['buffer']])),_0x6f5cfd=(_0x2e9e8b,_0x32b1ee)=>new Promise((t,_0x1d5ec1)=>{_0x32b1ee&&(_0x2e9e8b['src']=_0x32b1ee),_0x2e9e8b['complete']?t(_0x2e9e8b):(_0x2e9e8b['addEventListener']('load',()=>{t(_0x2e9e8b);}),_0x2e9e8b['addEventListener']('error',()=>{_0x1d5ec1(new Error('Failed\x20to\x20load\x20image.\x20Probably\x20not\x20an\x20image.'));}));}),_0x5451ee=_0x298916=>_0x6f5cfd(new Image(),_0x298916),_0x10b07b=[0x1,0x3],_0x367366=[0xc0,0xc1,0xc2,0xc3,0xc5,0xc6,0xc7,0xc9,0xca,0xcb,0xcd,0xce,0xcf],_0x2001cf={'squareSide':[Math['floor'](Math['sqrt'](0x4c4b40)),0x1000,0x2000,0x2bac,0x2a54,0x2c8a,0x376c,0x4000],'dimension':[0x1000,0x2000,0x4000,0x7fff,0xffff]},_0x8f8a0e=async _0x5f3ac8=>{let _0x5e6ac1=!0x1,{promiseReadJpegChunks:t,stack:_0x144cab}=_0x3cd06a();return await t(_0x5f3ac8)['then'](()=>(_0x144cab['forEach'](({marker:_0xdda177,view:_0x563ee0})=>{if(!_0x5e6ac1&&_0x367366['indexOf'](_0xdda177)>=0x0){let _0x64e795=_0x563ee0['getUint8'](0x5);_0x10b07b['indexOf'](_0x64e795)<0x0&&(_0x5e6ac1=!0x0);}}),_0x5e6ac1))['catch'](()=>_0x5e6ac1);},_0x3b8d36=(_0x3b05ee,_0x5b6980)=>{let t={};return(..._0x35085d)=>{let _0x3a205a=_0x5b6980(_0x35085d,t);return _0x3a205a in t?t[_0x3a205a]:t[_0x3a205a]=_0x3b05ee(..._0x35085d);};},_0x568928=(_0x3be2e8,_0x1b6ec7)=>{let [t]=_0x3be2e8,_0x22aae9=Object['keys'](_0x1b6ec7)['map'](_0x96723d=>parseInt(_0x96723d,0xa))['sort']((_0x43b90b,_0x9f991d)=>_0x43b90b-_0x9f991d);for(let _0x3fde98=0x0;_0x3fde98<_0x22aae9['length'];_0x3fde98++){let _0x3e6bfc=_0x22aae9[_0x3fde98],_0x22b8df=!!_0x1b6ec7[_0x3e6bfc];if(_0x3e6bfc>t&&_0x22b8df||_0x3e6bfc<t&&!_0x22b8df)return _0x3e6bfc;}return t;},_0x2b79b9={'R':0x37,'G':0x6e,'B':0xa5,'A':0xff},_0x1a390a='rgba('+_0x2b79b9['R']+',\x20'+_0x2b79b9['G']+',\x20'+_0x2b79b9['B']+',\x20'+_0x2b79b9['A']/0xff+')',_0x76e09d=(_0x11e2ca,_0x339d87)=>{try{let t=[_0x11e2ca-0x1,_0x339d87-0x1,0x1,0x1],{canvas:_0x5193aa,ctx:_0x88bf90}=_0x3bbea9();_0x5193aa['width']=0x1,_0x5193aa['height']=0x1;let {canvas:_0x88d59b,ctx:_0x378e76}=_0x3bbea9();_0x88d59b['width']=_0x11e2ca,_0x88d59b['height']=_0x339d87,_0x378e76&&(_0x378e76['fillStyle']=_0x1a390a,_0x378e76['fillRect'](...t),_0x88bf90['drawImage'](_0x88d59b,_0x11e2ca-0x1,_0x339d87-0x1,0x1,0x1,0x0,0x0,0x1,0x1));let _0xdcb386=_0x88bf90&&_0x88bf90['getImageData'](0x0,0x0,0x1,0x1)['data'],_0x595c2e=!0x1;return _0xdcb386&&(_0x595c2e=_0xdcb386[0x0]===_0x2b79b9['R']&&_0xdcb386[0x1]===_0x2b79b9['G']&&_0xdcb386[0x2]===_0x2b79b9['B']&&_0xdcb386[0x3]===_0x2b79b9['A']),_0x88d59b['width']=_0x88d59b['height']=0x1,_0x595c2e;}catch{return console['error']('Failed\x20to\x20test\x20for\x20max\x20canvas\x20size\x20of\x20'+_0x11e2ca+'x'+_0x339d87+'.'),!0x1;}};function _0x2d3387(_0x3e4326){return(..._0x579989)=>new Promise(t=>{setTimeout(()=>{let _0x2150cd=_0x3e4326(..._0x579989);t(_0x2150cd);},0x0);});}var _0x5e3e06=_0x2d3387(_0x3b8d36(_0x76e09d,_0x568928)),_0x43c727=_0x2d3387(_0x3b8d36(_0x76e09d,_0x568928)),_0x390c3e=async(_0x3c34cf,_0x62f682)=>{let t=_0x2001cf['squareSide']['find'](_0x417a3c=>_0x417a3c*_0x417a3c>=_0x3c34cf*_0x62f682),_0x574958=_0x2001cf['dimension']['find'](_0x2fade2=>_0x2fade2>=_0x3c34cf&&_0x2fade2>=_0x62f682);if(!t||!_0x574958)throw new Error('Not\x20supported');let [_0x4ef6df,_0x1636a1]=await Promise['all']([_0x5e3e06(t,t),_0x43c727(_0x574958,0x1)]);if(_0x4ef6df&&_0x1636a1)return!0x0;throw new Error('Not\x20supported');},_0x3ea0df=async(_0x528dbb,_0x11c3ba,t)=>{try{let {ctx:_0x16fe87,canvas:_0x1f0da9}=_0x3bbea9();return _0x1f0da9['width']=_0x11c3ba,_0x1f0da9['height']=t,_0x16fe87['imageSmoothingQuality']='high',_0x16fe87['drawImage'](_0x528dbb,0x0,0x0,_0x11c3ba,t),_0x528dbb instanceof HTMLImageElement&&(_0x528dbb['src']='//:0'),_0x528dbb instanceof HTMLCanvasElement&&(_0x528dbb['width']=_0x528dbb['height']=0x1),_0x1f0da9;}catch(_0x4415c7){throw new Error('Canvas\x20resize\x20error',{'cause':_0x4415c7});}},_0xde4a73=({img:_0x1382fd,targetW:_0x365df7,targetH:t})=>_0x3ea0df(_0x1382fd,_0x365df7,t),_0xce8251=function({sourceW:_0xdc2279,targetW:_0x354b34,targetH:t,step:_0xf46c39}){let _0x46c992=[],_0x4c5b8c=_0x354b34,_0x17af0=t;do{_0x46c992['push']([_0x4c5b8c,_0x17af0]),_0x4c5b8c=Math['round'](_0x4c5b8c/_0xf46c39),_0x17af0=Math['round'](_0x17af0/_0xf46c39);}while(_0x4c5b8c<_0xdc2279*_0xf46c39);return _0x46c992['reverse']();},_0x51939a=({img:_0x4c4b5d,sourceW:_0x3e0559,targetW:t,targetH:_0xe002b3,step:_0x215ac9})=>{let _0x476795=_0xce8251({'sourceW':_0x3e0559,'targetW':t,'targetH':_0xe002b3,'step':_0x215ac9});return _0x476795['reduce']((_0xe8289d,[_0x255e09,_0x24d4b8],_0x315f0b)=>_0xe8289d['then'](_0x28c043=>_0x390c3e(_0x255e09,_0x24d4b8)['then'](()=>_0x3ea0df(_0x28c043,_0x255e09,_0x24d4b8))['catch'](()=>{if(_0x315f0b===_0x476795['length']-0x1)throw new Error('Not\x20supported');return _0x28c043;})),Promise['resolve'](_0x4c4b5d));},_0x492f30=()=>!!/iPad|iPhone|iPod/['test'](navigator['platform'])||navigator['maxTouchPoints']&&navigator['maxTouchPoints']>0x2&&/MacIntel/['test'](navigator['platform']),_0x3efb8e=navigator['maxTouchPoints']&&navigator['maxTouchPoints']>0x2&&/MacIntel/['test'](navigator['platform']),_0x19759b=0.71,_0x13c1dc=(_0x25135b,_0x47a327)=>{if(_0x25135b['width']*_0x19759b*_0x25135b['height']*_0x19759b<_0x47a327['size'])throw new Error('Not\x20required');let t=_0x25135b['width'],_0x2fc83=_0x25135b['height'],_0x44ed41=t/_0x2fc83,_0x10e498=Math['floor'](Math['sqrt'](_0x47a327['size']*_0x44ed41)),_0x580cc9=Math['floor'](_0x47a327['size']/Math['sqrt'](_0x47a327['size']*_0x44ed41));return _0x390c3e(_0x10e498,_0x580cc9)['then'](()=>{let {ctx:_0xf47e44}=_0x3bbea9();return!('imageSmoothingQuality'in _0xf47e44)||_0x492f30()||_0x3efb8e?_0x51939a({'img':_0x25135b,'sourceW':t,'targetW':_0x10e498,'targetH':_0x580cc9,'step':_0x19759b}):_0xde4a73({'img':_0x25135b,'targetW':_0x10e498,'targetH':_0x580cc9});})['catch'](()=>Promise['reject']('Not\x20supported'));},_0x48fc5c=async(_0x3586c6,_0x5cbdbe)=>{try{if(await _0x8f8a0e(_0x3586c6))throw new Error('Should\x20skipped');let _0x5a79fb=await Promise['allSettled']([_0x52861c(_0x3586c6),_0x6af9dc(),_0x4d69b4(_0x3586c6)]),_0x387b4b=!_0x5a79fb['some'](_0x3b89ef=>'rejected'===_0x3b89ef['status']),[_0x5bc0a2,_0x1f69d3,_0x1c4080]=_0x5a79fb,_0x486092=await _0x1bdeca(_0x3586c6)['catch'](()=>_0x3586c6),_0x2a043b=await _0x5451ee(URL['createObjectURL'](_0x486092));URL['revokeObjectURL'](_0x2a043b['src']);let _0x7b3392=await _0x13c1dc(_0x2a043b,_0x5cbdbe),_0x1d10f2='image/jpeg',_0x194f13=_0x5cbdbe?.['quality']||0.8;!_0x387b4b&&_0x3f4c4f(_0x7b3392)&&(_0x1d10f2='image/png',_0x194f13=void 0x0);let _0x241f3f=await _0x349eac(_0x7b3392,_0x1d10f2,_0x194f13);if(_0x387b4b&&'fulfilled'===_0x5bc0a2['status']&&_0x5bc0a2['value']){let _0x5614c0=_0x5bc0a2['value'],_0x4eeef8='fulfilled'===_0x1f69d3['status']&&_0x1f69d3['value'];_0x241f3f=await _0x556188(_0x241f3f,_0x5614c0,_0x4eeef8);}return _0x387b4b&&'fulfilled'===_0x1c4080['status']&&_0x1c4080['value']['length']>0x0&&(_0x241f3f=await _0x447a32(_0x241f3f,_0x1c4080['value'])),_0x241f3f;}catch(_0x113c17){let _0x523545;throw _0x113c17 instanceof Error&&(_0x523545=_0x113c17['message']),'string'==typeof _0x113c17&&(_0x523545=_0x113c17),new Error('Failed\x20to\x20shrink\x20image.\x20'+(_0x523545?'Message:\x20\x22'+_0x523545+'\x22.':''),{'cause':_0x113c17});}},_0x4238c3=/^([0-9]+)x([0-9]+)(?:\s+(\d{1,2}|100)%)?$/i,_0x1a7579=_0x2bf121=>{if('string'!=typeof _0x2bf121)return!0x1;let _0x15d1b7=_0x4238c3['exec'](_0x2bf121['toLocaleLowerCase']())??[];if(0x0===_0x15d1b7['length'])return!0x1;let t=Number(_0x15d1b7[0x1])*Number(_0x15d1b7[0x2]),_0x1daf8a=0x10000000;return t>_0x1daf8a?(console['warn']('Shrinked\x20size\x20can\x20not\x20be\x20larger\x20than\x20'+Math['floor'](268.435456)+'MP.\x20You\x20have\x20set\x20'+_0x15d1b7[0x1]+'x'+_0x15d1b7[0x2]+'\x20('+Math['ceil'](t/0x3e8/0x64)/0xa+'MP).'),!0x1):{'quality':_0x15d1b7[0x3]?Number(_0x15d1b7[0x3])/0x64:void 0x0,'size':t};},_0x33ecd1={'id':'image-shrink','setup'({pluginApi:_0xd0d620}){_0xd0d620['registry']['registerFileHook']({'type':'beforeUpload','handler':async({file:_0x27dc2a})=>{let t=_0xd0d620['config']['get']('imageShrink');if(!t)return{'file':_0x27dc2a};let _0x16f48a=_0x1a7579(t);if(!_0x16f48a)return console['warn']('[ImageShrinkPlugin]\x20Image\x20shrink\x20settings\x20are\x20invalid,\x20skipping\x20shrinking'),{'file':_0x27dc2a};try{return{'file':await _0x48fc5c(_0x27dc2a,_0x16f48a)};}catch{return{'file':_0x27dc2a};}}});}},_0x5c3bc2={'id':'instagram','setup'({pluginApi:_0x9e393b}){_0x9e393b['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':()=>{}});}},_0x5a736a={'id':_0x298b3b['LOCAL'],'setup':({pluginApi:_0x466dea,uploaderApi:_0x29b915})=>{_0x466dea['registry']['registerSource']({'id':_0x298b3b['LOCAL'],'label':'src-type-local','icon':'local','onSelect':()=>{_0x29b915['openSystemDialog']();}});}},_0x1247da={'id':'url-source','setup':async({pluginApi:_0x104829,uploaderApi:_0x50c0cf})=>{mt({'UrlSource':_0x523aae}),_0x104829['registry']['registerActivity']({'id':_0x59623d['URL'],'render':t=>{let _0x54d7ef=document['createElement']('uc-url-source');return t['append'](_0x54d7ef),()=>{t['replaceChildren']();};}}),_0x104829['registry']['registerSource']({'id':'url','label':'src-type-from-url','icon':'url','onSelect':()=>{_0x50c0cf['setCurrentActivity'](_0x59623d['URL']),_0x50c0cf['setModalState'](!0x0);}});}},_0xa6e133=[{'configDeps':['useCloudImageEditor'],'isEnabled':_0x5833cc=>!!_0x5833cc('useCloudImageEditor'),'load':()=>_0x17773c},{'configDeps':['imageShrink'],'isEnabled':_0x37a67b=>!!_0x37a67b('imageShrink'),'load':()=>_0x33ecd1},{'configDeps':['sourceList'],'isEnabled':_0x54d5c4=>_0x4fa8be(_0x54d5c4('sourceList'))['includes'](_0x298b3b['LOCAL']),'load':()=>_0x5a736a},{'configDeps':['sourceList'],'isEnabled':_0x8cfaa5=>_0x4fa8be(_0x8cfaa5('sourceList'))['includes'](_0x298b3b['CAMERA']),'load':()=>_0xbc47cf},{'configDeps':['sourceList'],'isEnabled':_0x5a764d=>_0x4fa8be(_0x5a764d('sourceList'))['includes']('instagram'),'load':()=>_0x5c3bc2},{'configDeps':['sourceList'],'isEnabled':_0x45b080=>Object['values'](ut)['some'](_0x281f75=>_0x4fa8be(_0x45b080('sourceList'))['includes'](_0x281f75)),'load':()=>_0x2325b6},{'configDeps':['sourceList'],'isEnabled':_0x5d47d8=>_0x4fa8be(_0x5d47d8('sourceList'))['includes'](_0x298b3b['URL']),'load':()=>_0x1247da}],_0x2091c4=class extends Zt{constructor(){super(),this['headless']=!0x1,this['init$']={...this['init$']};}static{this['lazyPlugins']=_0xa6e133;}static{this['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-regular'];}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':_0x382b44['INIT_SOLUTION']});}['render'](){return _0x44abcf` ${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>`;}};_0x4a98e4([_0x5a17bd({'type':Boolean})],_0x2091c4['prototype'],'headless',0x2);var _0x17e391=class extends Zt{constructor(){super(),this['Tc']=!0x1,this['Ee']=()=>{if(this['Ec']){let t=this['$']['*historyBack'];return void t?.();}this['xc']&&(this['$']['*currentActivity']=_0x25f837['activities']['UPLOAD_LIST']);},this['init$']={...this['init$']};}static{this['lazyPlugins']=_0xa6e133;}static{this['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-inline'];}get['Ec'](){let t=this['$']['*history'];return!(!t||t['length']<=0x1)&&t[t['length']-0x1]!==_0x25f837['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')||_0x25f837['activities']['START_FROM'];}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':_0x382b44['INIT_SOLUTION']});let t=this['Hs']();this['sub']('*currentActivity',_0x47d233=>{_0x47d233||(this['$']['*currentActivity']=t);}),this['sub']('*uploadList',_0x47896e=>{Array['isArray'](_0x47896e)&&_0x47896e['length']>0x0&&this['$']['*currentActivity']===t&&(this['$']['*currentActivity']=_0x25f837['activities']['UPLOAD_LIST']);}),this['sub']('*history',()=>{this['Tc']=this['Ec']||this['xc'];});}['render'](){return _0x44abcf` ${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>`;}};_0x4a98e4([_0x12c3df()],_0x17e391['prototype'],'Tc',0x2);var _0x430e06='active',_0x360e32='',_0x4b98db=class extends Zt{constructor(){super(),this['Ks']=!0x1,this['Vr']=!0x1,this['_r']=_0x360e32,this['js']=_0x360e32,this['ui']='choose-file',this['si']=t=>{t['id']===_0x25f837['activities']['CLOUD_IMG_EDIT']&&(this['_r']=_0x430e06),this['$']['*currentActivity']===_0x25f837['activities']['UPLOAD_LIST']&&(this['_r']=_0x430e06,this['Vr']=!0x0);let _0x4881f4=this['$']['*uploadList'];(!_0x4881f4||_0x4881f4['length']<=0x0)&&(this['js']=_0x430e06);},this['ni']=t=>{t['id']===this['$']['*currentActivity']&&(this['$']['*currentActivity']=_0x25f837['activities']['UPLOAD_LIST'],this['Vr']=!0x1),t['id']===_0x25f837['activities']['CLOUD_IMG_EDIT']&&(this['$']['*currentActivity']=_0x25f837['activities']['UPLOAD_LIST']);},this['init$']={...this['init$']};}static{this['lazyPlugins']=_0xa6e133;}static{this['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-minimal'];}['Hs'](){return this['getCssData']('--cfg-init-activity')||_0x25f837['activities']['START_FROM'];}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':_0x382b44['INIT_SOLUTION']});let t=this['Hs']();this['sub']('*currentActivity',_0x171565=>{_0x171565===_0x25f837['activities']['UPLOAD_LIST']&&this['modalManager']?.['closeAll'](),_0x171565||(this['$']['*currentActivity']=t);}),this['sub']('*uploadList',_0x2b7ca6=>{Array['isArray'](_0x2b7ca6)&&_0x2b7ca6['length']>0x0?(this['$']['*currentActivity']=_0x25f837['activities']['UPLOAD_LIST'],this['js']=_0x360e32):(this['_r']=_0x360e32,this['Vr']=!0x1,this['$']['*currentActivity']=t);}),this['subConfigValue']('confirmUpload',_0x5d30c9=>{!0x1!==_0x5d30c9&&(this['cfg']['confirmUpload']=!0x1);}),this['subConfigValue']('filesViewMode',_0x2cc87c=>{this['setAttribute']('mode',_0x2cc87c),this['subConfigValue']('multiple',_0x4b6eca=>{'grid'===_0x2cc87c?(_0x4b6eca?this['style']['removeProperty']('--uc-grid-col'):this['style']['setProperty']('--uc-grid-col','1'),this['Ks']=!_0x4b6eca):(this['style']['removeProperty']('--uc-grid-col'),this['Ks']=!0x1);});}),this['subConfigValue']('multiple',_0xe0eba1=>{this['ui']=_0xe0eba1?'choose-files':'choose-file';}),this['modalManager']?.['subscribe'](_0xeff0ad['OPEN'],this['si']),this['modalManager']?.['subscribe'](_0xeff0ad['CLOSE'],this['ni']);}['disconnectedCallback'](){super['disconnectedCallback'](),this['modalManager']?.['unsubscribe'](_0xeff0ad['OPEN'],this['si']),this['modalManager']?.['unsubscribe'](_0xeff0ad['CLOSE'],this['ni']);}['render'](){return _0x44abcf` ${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>`;}};_0x4a98e4([_0x12c3df()],_0x4b98db['prototype'],'Ks',0x2),_0x4a98e4([_0x12c3df()],_0x4b98db['prototype'],'Vr',0x2),_0x4a98e4([_0x12c3df()],_0x4b98db['prototype'],'_r',0x2),_0x4a98e4([_0x12c3df()],_0x4b98db['prototype'],'js',0x2),_0x4a98e4([_0x12c3df()],_0x4b98db['prototype'],'ui',0x2);var _0xbebd55=Object['freeze']({'__proto__':null,'ActivityBlock':_0x25f837,'ActivityHeader':_0x554039,'BaseComponent':_0x340fa0,'Block':_0x1e5f32,'BtnUi':xt,'CameraSource':_0x5443a4,'CloudImageEditor':_0x56ea6c,'CloudImageEditorActivity':_0x375189,'CloudImageEditorBlock':et,'Config':_0x23aef3,'Copyright':_0x25d45d,'CropFrame':_0x6b3a67,'Data':_0x304b64,'DropArea':dt,'EditorAspectRatioButtonControl':_0x2e0950,'EditorCropButtonControl':_0x2cc976,'EditorFilterControl':Yt,'EditorFreeformButtonControl':_0xf72b2,'EditorImageCropper':_0x47e0e7,'EditorImageFader':_0x3b1e26,'EditorOperationControl':_0x190631,'EditorScroller':_0xb38481,'EditorSlider':_0x370fcd,'EditorToolbar':pt,'ExternalSource':ht,'ExternalUploadSource':ut,'FileItem':_0x4f5d11,'FileUploaderInline':_0x17e391,'FileUploaderMinimal':_0x4b98db,'FileUploaderRegular':_0x2091c4,'FormInput':_0x27709e,'Icon':_0x27d9fe,'Img':_0x345f18,'LineLoaderUi':_0x8c9071,'Modal':_0x1ad366,'ModalEvents':_0xeff0ad,'PACKAGE_NAME':Ut,'PACKAGE_VERSION':Rt,'PluginActivityHost':_0x419e65,'PluginActivityRenderer':_0x2ab82d,'PresenceToggle':_0x31da8e,'ProgressBar':_0x239d96,'ProgressBarCommon':_0x5e7a19,'Select':_0xbc643f,'SimpleBtn':_0x509633,'SliderUi':Vt,'SolutionBlock':Zt,'SourceBtn':_0x1f9976,'SourceList':_0x436533,'Spinner':_0x3c2fa5,'StartFrom':_0x1df3a0,'Thumb':_0x32b892,'UID':ft,'UploadCtxProvider':_0x246a54,'UploadList':Ot,'UploadSource':_0x298b3b,'UploaderBlock':_0x5178a7,'UrlSource':_0x523aae,'defineComponents':mt,'defineLocale':_0x9d6cb1,'loadFileUploaderFrom':_0x5b1201,'toKebabCase':_0x214ed2});class _0x36d56c extends ckeditor5['Plugin']{static get['requires'](){return[UploadcareEditing,_0x113682];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x23a032){super(_0x23a032),_0x23a032['config']['define']('uploadcare.uploader.sourceList',['local','url']),mt(_0xbebd55),this['_defineLocale']();}['_defineLocale'](){const _0x581c37=this['editor']['config']['get']('uploadcare.locale'),_0x5e4ad8=this['editor']['locale']['contentLanguage'];_0x581c37&&_0x9d6cb1(_0x5e4ad8,_0x581c37);}}class UploadcareImageEditFormLoadingView extends ckeditor5['View']{constructor(_0x363f81){super(_0x363f81);const t=_0x363f81['t'],_0x4e4e1d=this['bindTemplate'],_0x1dff19=new ckeditor5['SpinnerView']();_0x1dff19['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':[_0x1dff19,{'text':_0x4e4e1d['to']('imageUploadProgress',_0x7c703a=>t('Loading\x20image...')+'\x20('+(_0x7c703a||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 ckeditor5['View']{constructor(_0x5ac7ba){super(_0x5ac7ba);const t=_0x5ac7ba['t'];this['set']('errorType',null);const _0x25073e=new ckeditor5['ButtonView'](_0x5ac7ba);_0x25073e['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x25073e['withText']=!0x0,_0x25073e['class']='ck-button-action',_0x25073e['on']('execute',()=>{this['fire']('retry');}),_0x25073e['bind']('isVisible')['to'](this,'errorType',_0x301dcb=>'NotFound'!==_0x301dcb);const _0x1e6981=new ckeditor5['IconView']();_0x1e6981['content']=ckeditor5['IconError'],_0x1e6981['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x141d4c=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':[_0x1e6981,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x141d4c['to']('errorType',_0x38de13=>t('NotFound'!==_0x38de13?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x25073e]},{'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 ckeditor5['View']{constructor(_0x119754,_0x40cac2){super(_0x119754);const _0x76f713=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x40cac2,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x76f713['to']('imageSrc')}});}}class UploadcareImageEditFormView extends _0x4cd120{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0xedf13c,_0x37da26,_0x46ff4a){super(_0xedf13c),this['_items']=this['createCollection'](),this['_loadingView']=new UploadcareImageEditFormLoadingView(_0xedf13c),this['_errorView']=new UploadcareImageEditFormErrorView(_0xedf13c),this['_editingView']=new UploadcareImageEditFormEditingView(_0xedf13c,_0x46ff4a),this['_focusableView']=new ckeditor5['View'](_0xedf13c),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x37da26),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'],_0x25e3ca=>{this['_addUploadcareImageEditorListeners'](_0x25e3ca);});}),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'](_0xc4063a,_0xf28b21){const _0x423bd3='uc-cloud-image-editor',_0x22a960=_0xc4063a['querySelector'](_0x423bd3);if(_0x22a960)return _0xf28b21(_0x22a960);const _0xa6ceb0=new MutationObserver(_0xdfd6c6=>{const _0x5c7096=_0xdfd6c6['filter'](_0x3d32d5=>_0x3d32d5['target']===_0xc4063a&&_0x3d32d5['addedNodes']['length']>0x0&&_0x3d32d5['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x423bd3);_0x5c7096['length']&&(_0xa6ceb0['disconnect'](),_0xf28b21(_0x5c7096[0x0]['addedNodes'][0x0]));});_0xa6ceb0['observe'](_0xc4063a,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x339c72){_0x339c72['addEventListener']('apply',_0x1ab757=>{this['fire']('apply',{'imageSrc':_0x1ab757['detail']['cdnUrl']});}),_0x339c72['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x35d001,_0x214414,_0x44d371){super(),this['_editor']=_0x35d001,this['_dialog']=_0x214414,this['_imageElement']=_0x44d371,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 _0x161c63=this['_imageElement'],_0x399333=_0x161c63['getAttribute']('uploadcareImageId'),_0x3e456e=_0x161c63['getAttribute']('src');if(_0x399333)await this['_loadImageInfo'](_0x399333,_0x3e456e);else{if(this['_imageCache']['has'](_0x3e456e)){const _0x593022=this['_imageCache']['get'](_0x3e456e);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x593022['url'],this['imageDimension']=_0x593022['dimension'],this['imageId']=_0x593022['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x42e4cf}=this['_editor'],t=_0x42e4cf['t'],_0x2bdb70=new UploadcareImageEditFormView(_0x42e4cf,this['imageStatus'],this['_attributes']);_0x2bdb70['bind']('status')['to'](this,'imageStatus'),_0x2bdb70['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2bdb70['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2bdb70['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2bdb70,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':ckeditor5['IconUploadcareImageEdit'],'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2bdb70,'position':ckeditor5['DialogViewPosition']['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2bdb70['focus']();},'onHide':()=>{_0x2bdb70['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3f7f44=>!isAncestor(_0x3f7f44,_0x2bdb70['element'])}});}['_loadImageInfo'](_0x428628,_0xa2ea52){return UploadUtils['getInfo'](_0x428628,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x14d1ef=>{const {width:_0x3b1a79,height:_0x28b7c3}=_0x14d1ef['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xa2ea52,this['imageDimension']={'width':_0x3b1a79,'height':_0x28b7c3},this['imageId']=_0x428628;})['catch'](_0x3ed5a7=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3ed5a7['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0xfd1313,_0x537a20){return this['_getImageAsFile'](_0xfd1313)['then'](_0x17fc2c=>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':_0x537a20['signal'],'file':_0x17fc2c,'onProgress':_0x409fc1=>{_0x409fc1&&_0x409fc1['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x409fc1['value']));}}))['then'](_0x1e99b6=>{const {width:_0x35ff9f,height:_0x5af4d7}=_0x1e99b6['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1e99b6['cdnUrl'],this['imageDimension']={'width':_0x35ff9f,'height':_0x5af4d7},this['imageId']=_0x1e99b6['uuid'],this['imageUploadProgress']=null;const _0x389894=_0xfd1313['getAttribute']('src');this['_imageCache']['set'](_0x389894,{'id':_0x1e99b6['uuid'],'url':_0x1e99b6['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0xddc22a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xddc22a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x306a49,_0x3bf7e3){_0x306a49['on']('apply',(_0x50352f,_0xe18080)=>{this['_replaceImage'](_0x3bf7e3,_0xe18080['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x306a49['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x306a49['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2336f7,_0x34c0ad,_0x106723){const _0x4e6a83=this['_editor'],{width:_0x2b5eff,height:_0x112c2d}=getImageDimension(_0x34c0ad,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3ab08b,imageSources:_0x27ab89}=getImageUrls(_0x34c0ad,_0x2b5eff);_0x4e6a83['model']['change'](_0x33f9e2=>{if('$graveyard'===_0x2336f7['root']['rootName']){_0x4e6a83['execute']('insertImage',{'imageType':_0x2336f7['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2336f7['getAttributes']()),'uploadcareImageId':_0x106723,'src':_0x3ab08b,'sources':_0x27ab89,'width':_0x2b5eff,'height':_0x112c2d}});const _0x16f920=_0x2336f7['getChildren']();_0x2336f7=_0x4e6a83['model']['document']['selection']['getSelectedElement']();for(const _0x4c3fd3 of _0x16f920)_0x33f9e2['append'](_0x33f9e2['cloneElement'](_0x4c3fd3),_0x2336f7);}else _0x33f9e2['setSelection'](_0x2336f7,'on'),_0x4e6a83['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2336f7['getAttributes']()),'uploadcareImageId':_0x106723,'src':_0x3ab08b,'sources':_0x27ab89,'width':_0x2b5eff,'height':_0x112c2d},_0x2336f7);_0x33f9e2['setSelection'](_0x2336f7,'on');});}async['_getImageAsFile'](_0x4b2b90){const _0x49f82a=ckeditor5['global']['window'],_0x31e9e5=ckeditor5['global']['document']['location']['href'],_0x34b152=new _0x49f82a['URL'](_0x4b2b90['getAttribute']('src'),_0x31e9e5);if('data:'===_0x34b152['protocol']){const _0x1bc3f9=_0x34b152['href']['split'](','),_0x38179a=_0x1bc3f9[0x0]['match'](/:(.*?);/)[0x1],_0x4db854=_0x38179a['split']('/')[0x1],_0x417591=_0x49f82a['atob'](_0x1bc3f9[_0x1bc3f9['length']-0x1]);let _0xfcb94=_0x417591['length'];const _0xd537d4=new _0x49f82a['Uint8Array'](_0xfcb94);for(;_0xfcb94--;)_0xd537d4[_0xfcb94]=_0x417591['charCodeAt'](_0xfcb94);return new _0x49f82a['File']([_0xd537d4],'image.'+_0x4db854,{'type':_0x38179a});}const _0x54396a=_0x34b152['href']['split']('/'),_0x561a16=_0x54396a[_0x54396a['length']-0x1],_0xae489e=_0x561a16['split']('.')[0x1];return _0x49f82a['fetch'](_0x34b152['href'])['then'](_0x3c31c6=>_0x3c31c6['clone']()['blob']())['then'](_0x312f1c=>new _0x49f82a['File']([_0x312f1c],_0x561a16,{'type':'image/'+_0xae489e}));}}class UploadcareImageEditCommand extends ckeditor5['Command']{['imageEditController'];static get['requires'](){return[ckeditor5['Dialog']];}['_isEditable'];constructor(_0x41011e){super(_0x41011e),this['imageEditController']=void 0x0,this['_isEditable']=createEditabilityChecker(_0x41011e['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x5b9cc7=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x5b9cc7);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x2534da=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2534da&&(_0x2534da['is']('element','imageBlock')||_0x2534da['is']('element','imageInline'))&&(this['imageEditController']=new UploadcareImageEditController(this['editor'],this['editor']['plugins']['get'](ckeditor5['Dialog']),_0x2534da),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class _0x32767e extends ckeditor5['Command']{['refresh'](){const _0x3103c4=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x3103c4&&(_0x3103c4['is']('element','imageBlock')||_0x3103c4['is']('element','imageInline')));}['execute'](_0x1d85a3){const _0x1ddff5=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x49b52=>{_0x49b52['setAttributes'](_0x1d85a3,_0x1ddff5),_0x49b52['removeAttribute']('srcset',_0x1ddff5),_0x49b52['removeAttribute']('sizes',_0x1ddff5);});}}class UploadcareImageEditEditing extends ckeditor5['Plugin']{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[UploadcareEditing,ckeditor5['Notification'],ckeditor5['ImageUtils'],ckeditor5['ImageEditing']];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4e8018}=this;_0x4e8018['commands']['add']('uploadcareImageEdit',new UploadcareImageEditCommand(_0x4e8018)),_0x4e8018['commands']['add']('uploadcareImageReplace',new _0x32767e(_0x4e8018));}}class UploadcareImageEditUI extends ckeditor5['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 _0xa847d6=this['editor'];_0xa847d6['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4973fd=>{const _0x677929=_0xa847d6['commands']['get']('uploadcareImageEdit'),_0x4290d4=new ckeditor5['ButtonView'](_0x4973fd),t=_0x4973fd['t'];return _0x4290d4['set']({'icon':ckeditor5['IconUploadcareImageEdit'],'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4290d4['bind']('isEnabled')['to'](_0x677929),_0x4290d4['bind']('isOn')['to'](_0x677929,'isActive'),this['listenTo'](_0x4290d4,'execute',()=>{_0xa847d6['execute']('uploadcareImageEdit'),_0xa847d6['editing']['view']['focus']();}),_0x4290d4;}),this['_initConfig']();}['_initConfig'](){const _0x19d6bb=ckeditor5['createElement'](document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x19d6bb),this['listenTo'](this['editor'],'destroy',()=>{_0x19d6bb['remove']();});}}class UploadcareImageEdit extends ckeditor5['Plugin']{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[UploadcareImageEditEditing,UploadcareImageEditUI];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}exports['AIActions']=AIActions,exports['AIAdapter']=AIAdapter,exports['AIAssistant']=AIAssistant,exports['AIAssistantUI']=AIAssistantUI,exports['AIBalloon']=_0x17d9d3,exports['AIChat']=AIChat,exports['AIChatController']=AIChatController,exports['AIChatFeedCustomElementView']=AIChatFeedCustomElementView,exports['AIChatHistory']=AIChatHistory,exports['AIChatHistoryController']=AIChatHistoryController,exports['AIChatHistoryUI']=AIChatHistoryUI,exports['AIChatInteraction']=AIChatInteraction,exports['AIChatShortcuts']=AIChatShortcuts,exports['AIChatUI']=AIChatUI,exports['AIConnector']=AIConnector,exports['AIEditing']=AIEditing,exports['AIEditorIntegration']=AIEditorIntegration,exports['AIInteraction']=AIInteraction,exports['AIQuickActions']=AIQuickActions,exports['AIQuickActionsUI']=AIQuickActionsUI,exports['AIReply']=_0x4684d4,exports['AIRequestError']=AIRequestError,exports['AIReviewCheck']=_0x2a85dc,exports['AIReviewCheckResult']=AIReviewCheckResult,exports['AIReviewCheckResultChange']=AIReviewCheckResultChange,exports['AIReviewCheckRun']=_0x505ead,exports['AIReviewMode']=_0x1db250,exports['AIReviewModeController']=AIReviewCoreController,exports['AIReviewModeEditing']=AIReviewCoreEditing,exports['AIReviewModeUI']=_0x431c5a,exports['AITabs']=_0x13bfd3,exports['AITabsMainView']=_0x52c000,exports['AITabsView']=_0x403f66,exports['AITextAdapter']=AITextAdapter,exports['AIToggleButtonUI']=AIToggleButtonUI,exports['AITranslate']=AITranslate,exports['AITranslateController']=AITranslateController,exports['AITranslateUI']=AITranslateUI,exports['AWSTextAdapter']=AWSTextAdapter,exports['AcceptSuggestionCommand']=AcceptSuggestionCommand,exports['AddCommentThreadCommand']=AddCommentThreadCommand,exports['Annotation']=Annotation$1,exports['AnnotationCollection']=AnnotationCollection,exports['AnnotationCounterButtonView']=AnnotationCounterButtonView,exports['AnnotationView']=AnnotationView,exports['Annotations']=Annotations,exports['AnnotationsSidebarItemView']=AnnotationsSidebarItemView,exports['AnnotationsSidebarView']=AnnotationsSidebarView,exports['AnnotationsUIs']=AnnotationsUIs,exports['AriaDescriptionView']=AriaDescriptionView,exports['BaseCommentThreadView']=BaseCommentThreadView,exports['BaseCommentView']=BaseCommentView,exports['BaseSuggestionThreadView']=BaseSuggestionThreadView,exports['CaseChange']=_0x3ad733,exports['CaseChangeCommand']=_0xa8213c,exports['CaseChangeEditing']=CaseChangeEditing,exports['CaseChangeUI']=_0x342919,exports['CloudServicesCommentsAdapter']=CloudServicesCommentsAdapter,exports['CloudServicesRevisionHistoryAdapter']=CloudServicesRevisionHistoryAdapter,exports['CloudServicesTrackChangesAdapter']=CloudServicesTrackChangesAdapter,exports['CollaborationUserColor']=CollaborationUserColor,exports['Comment']=Comment$1,exports['CommentThread']=CommentThread,exports['CommentThreadController']=CommentThreadController,exports['CommentThreadInputView']=CommentThreadInputView,exports['CommentThreadView']=CommentThreadView,exports['CommentView']=CommentView,exports['Comments']=Comments,exports['CommentsArchive']=CommentsArchive,exports['CommentsArchiveUI']=CommentsArchiveUI,exports['CommentsEditing']=CommentsEditing,exports['CommentsListView']=CommentsListView,exports['CommentsOnly']=CommentsOnly,exports['CommentsRepository']=CommentsRepository,exports['CommentsUI']=CommentsUI,exports['ConfirmMixin']=_0x3102e5,exports['CopyFormatCommand']=CopyFormatCommand,exports['DATA_ID_MODEL_ATTRIBUTE']=_0x4b93c3,exports['DATA_ID_VIEW_ATTRIBUTE']=_0x269a48,exports['DiscardSuggestionCommand']=DiscardSuggestionCommand,exports['DocumentCompare']=DocumentCompare,exports['DocumentDiff']=DocumentDiff,exports['DocumentOutline']=DocumentOutline,exports['DocumentOutlineUI']=DocumentOutlineUI,exports['DocumentOutlineUtils']=DocumentOutlineUtils,exports['EditSourceCommand']=EditSourceCommand,exports['EditorAnnotations']=EditorAnnotations,exports['EmailConfigurationHelper']=EmailConfigurationHelper,exports['EmailConfigurationLogger']=EmailConfigurationLogger,exports['EmptyBlockEmailIntegration']=EmptyBlockEmailIntegration,exports['ExecuteOnAllSuggestionsCommand']=ExecuteOnAllSuggestionsCommand,exports['ExecuteOnSelectedSuggestionsCommand']=ExecuteOnSelectedSuggestionsCommand,exports['ExportInlineStyles']=ExportInlineStyles,exports['ExportInlineStylesCommand']=ExportInlineStylesCommand,exports['ExportInlineStylesEditing']=ExportInlineStylesEditing,exports['ExportInlineStylesEmailIntegration']=ExportInlineStylesEmailIntegration,exports['ExportPdf']=ExportPdf,exports['ExportPdfCommand']=ExportPdfCommand,exports['ExportWord']=ExportWord,exports['ExportWordCommand']=ExportWordCommand,exports['FOCUS_ANNOTATION_KEYSTROKE']=_0x10eeb2,exports['FontEmailIntegration']=FontEmailIntegration,exports['Footnotes']=Footnotes,exports['FootnotesClipboard']=FootnotesClipboard,exports['FootnotesEditing']=FootnotesEditing,exports['FootnotesProperties']=FootnotesProperties,exports['FootnotesPropertiesEditing']=FootnotesPropertiesEditing,exports['FootnotesPropertiesUI']=FootnotesPropertiesUI,exports['FootnotesStartCommand']=FootnotesStartCommand,exports['FootnotesStyleCommand']=FootnotesStyleCommand,exports['FootnotesTracker']=FootnotesTracker,exports['FootnotesUI']=FootnotesUI,exports['FormatPainter']=FormatPainter,exports['FormatPainterEditing']=FormatPainterEditing,exports['FormatPainterUI']=FormatPainterUI,exports['GeneralHtmlIntegrationSupport']=GeneralHtmlIntegrationSupport,exports['HeadingId']=_0x513067,exports['HighlightEmailIntegration']=HighlightEmailIntegration,exports['ImageEmailIntegration']=ImageEmailIntegration,exports['ImportWord']=ImportWord,exports['ImportWordCommand']=ImportWordCommand,exports['ImportWordEditing']=ImportWordEditing,exports['ImportWordUI']=ImportWordUI,exports['InlineAnnotations']=InlineAnnotations,exports['InsertFootnoteCommand']=InsertFootnoteCommand,exports['InsertMergeFieldBlockCommand']=InsertMergeFieldBlockCommand,exports['InsertMergeFieldCommand']=InsertMergeFieldCommand,exports['InsertMergeFieldImageCommand']=InsertMergeFieldImageCommand,exports['LateFocusButtonView']=LateFocusButtonView,exports['LateFocusDropdownButtonView']=LateFocusDropdownButtonView,exports['LineHeight']=LineHeight,exports['LineHeightCommand']=LineHeightCommand,exports['LineHeightEditing']=LineHeightEditing,exports['LineHeightTodoListIntegration']=LineHeightTodoListIntegration,exports['LineHeightUI']=LineHeightUI,exports['LinkEmailIntegration']=LinkEmailIntegration,exports['ListEmailIntegration']=ListEmailIntegration,exports['MarkdownEmailIntegration']=MarkdownEmailIntegration,exports['MathTypeEmailIntegration']=MathTypeEmailIntegration,exports['MediaEmbedEmailIntegration']=MediaEmbedEmailIntegration,exports['MergeFields']=_0x5b4cb7,exports['MergeFieldsEditing']=MergeFieldsEditing,exports['MergeFieldsEmailIntegration']=MergeFieldsEmailIntegration,exports['MergeFieldsUI']=_0x120fbc,exports['MultiLevelList']=MultiLevelList,exports['MultiLevelListCommand']=MultiLevelListCommand,exports['MultiLevelListEditing']=MultiLevelListEditing,exports['MultiLevelListEmailIntegration']=MultiLevelListEmailIntegration,exports['MultiLevelListUI']=MultiLevelListUI,exports['NarrowSidebar']=_0x59f9c6,exports['OpenAITextAdapter']=OpenAITextAdapter,exports['Pagination']=Pagination,exports['PaginationRenderer']=PaginationRenderer,exports['PasteFormatCommand']=PasteFormatCommand,exports['PasteFromOfficeEnhanced']=PasteFromOfficeEnhanced,exports['Permissions']=_0x1beff7,exports['PresenceList']=PresenceList,exports['PresenceListUI']=PresenceListUI,exports['PreviewFinalContentCommand']=PreviewFinalContentCommand,exports['PreviewMergeFieldsCommand']=_0x291c7e,exports['RealTimeCollaborationClient']=RealTimeCollaborationClient,exports['RealTimeCollaborativeComments']=RealTimeCollaborativeComments,exports['RealTimeCollaborativeEditing']=RealTimeCollaborativeEditing,exports['RealTimeCollaborativeRevisionHistory']=RealTimeCollaborativeRevisionHistory,exports['RealTimeCollaborativeTrackChanges']=RealTimeCollaborativeTrackChanges,exports['ReplaceSourceCommand']=_0x336e90,exports['RestoreRevisionCommand']=RestoreRevisionCommand,exports['Revision']=_0x5a34c1,exports['RevisionHistory']=RevisionHistory,exports['RevisionHistoryUI']=RevisionHistoryUI,exports['RevisionHistoryUtils']=RevisionHistoryUtils,exports['RevisionTracker']=_0x940f6b,exports['RevisionViewer']=_0x23f74e,exports['RevisionViewerEditor']=RevisionViewerEditor,exports['RevisionViewerIntegration']=RevisionViewerIntegration,exports['RevisionViewerLoadingOverlay']=_0x20532a,exports['RevisionViewerUI']=_0x37a5e7,exports['RevisionsRepository']=RevisionsRepository,exports['RevisionsSidebar']=_0x50e2fa,exports['Sessions']=_0xb9e36d,exports['ShowAIAssistantCommand']=ShowAIAssistantCommand,exports['ShowChangeCommand']=_0x4965ec,exports['Sidebar']=_0xf16a25,exports['SlashCommand']=_0x230753,exports['SlashCommandConfig']=_0x30f339,exports['SlashCommandEditing']=SlashCommandEditing,exports['SlashCommandUI']=_0x15c7ff,exports['SourceEditingEmailIntegration']=SourceEditingEmailIntegration,exports['SourceEditingEnhanced']=SourceEditingEnhanced,exports['Suggestion']=Suggestion,exports['SuggestionDescriptionFactory']=SuggestionDescriptionFactory,exports['SuggestionThreadView']=SuggestionThreadView,exports['SuggestionView']=SuggestionView,exports['SuggestionsConversion']=SuggestionsConversion,exports['TableEmailIntegration']=TableEmailIntegration,exports['TableOfContents']=TableOfContents,exports['TableOfContentsCommand']=TableOfContentsCommand,exports['TableOfContentsEditing']=TableOfContentsEditing,exports['TableOfContentsUI']=TableOfContentsUI,exports['Template']=Template,exports['TemplateCommand']=TemplateCommand,exports['TemplateEditing']=TemplateEditing,exports['TemplateEmailIntegration']=TemplateEmailIntegration,exports['TemplateUI']=TemplateUI,exports['TodoListEmailIntegration']=TodoListEmailIntegration,exports['ToggleAICommand']=_0x17ebb0,exports['TrackChanges']=_0x58dafd,exports['TrackChangesCommand']=_0x434369,exports['TrackChangesData']=TrackChangesData,exports['TrackChangesDataGetter']=TrackChangesDataGetter,exports['TrackChangesEditing']=TrackChangesEditing,exports['TrackChangesPreview']=_0x599caf,exports['TrackChangesUI']=_0x2e2268,exports['UploadEmailIntegration']=UploadEmailIntegration,exports['Uploadcare']=_0x36d56c,exports['UploadcareCommand']=_0x2a296c,exports['UploadcareEditing']=UploadcareEditing,exports['UploadcareImageEdit']=UploadcareImageEdit,exports['UploadcareImageEditCommand']=UploadcareImageEditCommand,exports['UploadcareImageEditEditing']=UploadcareImageEditEditing,exports['UploadcareImageEditUI']=UploadcareImageEditUI,exports['UploadcareUI']=_0x113682,exports['UploadcareUploadAdapter']=UploadcareUploadAdapter,exports['User']=_0x1045d1,exports['UserView']=_0xcb4734,exports['Users']=_0x4a3f8f,exports['WebSocketGateway']=WebSocketGateway,exports['WideSidebar']=_0x3c7563,exports['bindAnnotationCollections']=bindAnnotationCollections,exports['createResizeButton']=createResizeButton,exports['dropImportantStyleSuffix']=dropImportantStyleSuffix,exports['fixElementSuggestionRange']=fixElementSuggestionRange,exports['getAllMarkersDomElementsSorted']=getAllMarkersDomElementsSorted,exports['getDateTimeFormatter']=getDateTimeFormatter,exports['getDefaultAICommands']=getDefaultAICommands,exports['getEmailInlineStylesTransformations']=getEmailInlineStylesTransformations,exports['getMarkerDomElement']=getMarkerDomElement,exports['hashObject']=hashObject,exports['isUnsupportedEmailColorFormat']=isUnsupportedEmailColorFormat,exports['isUnsupportedEmailColorValue']=isUnsupportedEmailColorValue,exports['sanitizeEditorConfig']=sanitizeEditorConfig,exports['setupThreadKeyboardNavigation']=setupThreadKeyboardNavigation,exports['splitSuggestionMarkerName']=splitSuggestionMarkerName,exports['surroundingMarkersDetector']=surroundingMarkersDetector,exports['transformEmailAlignToAttribute']=transformEmailAlignToAttribute,exports['transformEmailFigcaptionToDiv']=transformEmailFigcaptionToDiv,exports['transformEmailFigureToTable']=transformEmailFigureToTable,exports['transformEmailFloatToAlign']=transformEmailFloatToAlign,exports['transformEmailImageWidthAttributes']=transformEmailImageWidthAttributes,exports['transformEmailMarginToAlign']=transformEmailMarginToAlign,exports['trimHtml']=trimHtml;});